GetTables
Source:
src/AWS/Glue/GetTables.ts
Runtime binding for glue:GetTables.
Lists the table definitions of the bound Database (optionally
filtered by an Expression pattern, paginated via NextToken) — runtime
schema discovery over the Data Catalog. The database name and catalog id
are injected from the binding. Provide the implementation with
Effect.provide(AWS.Glue.GetTablesHttp).
Reading the Data Catalog
Section titled “Reading the Data Catalog”// initconst getTables = yield* AWS.Glue.GetTables(database);
// runtimeconst { TableList } = yield* getTables({ Expression: "events_*" });const names = (TableList ?? []).map((t) => t.Name);