ListTables
Source:
src/AWS/S3Tables/ListTables.ts
Runtime binding for the ListTables operation (IAM action
s3tables:ListTables on the table bucket ARN).
Lists the tables in the bound TableBucket, optionally filtered to
a namespace or name prefix. Useful for compute that enumerates the
catalog at runtime. Provide the implementation with
Effect.provide(AWS.S3Tables.ListTablesHttp).
Discovering Namespaces and Tables
Section titled “Discovering Namespaces and Tables”const listTables = yield* AWS.S3Tables.ListTables(bucket);
const { tables } = yield* listTables({ namespace: "events" });for (const table of tables) { yield* Effect.log(`table: ${table.name}`);}