ListDatabases
Source:
src/AWS/Athena/ListDatabases.ts
Runtime binding for athena:ListDatabases.
Lists the databases in the bound data catalog — the catalog name is
injected automatically. Provide the implementation with
Effect.provide(AWS.Athena.ListDatabasesHttp).
Browsing Catalog Metadata
Section titled “Browsing Catalog Metadata”// init — bind the operation to the data catalogconst listDatabases = yield* AWS.Athena.ListDatabases(catalog);
// runtimeconst res = yield* listDatabases({});console.log(res.DatabaseList?.map((db) => db.Name));