| 1 | import * as athena from "@distilled.cloud/aws/athena"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeDataCatalogScopedHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { ListDatabases } from "./ListDatabases.ts"; |
| 5 | |
| 6 | export const ListDatabasesHttp = Layer.effect( |
| 7 | ListDatabases, |
| 8 | makeDataCatalogScopedHttpBinding({ |
| 9 | tag: "AWS.Athena.ListDatabases", |
| 10 | operation: athena.listDatabases, |
| 11 | actions: ["athena:ListDatabases"], |
| 12 | }), |
| 13 | ); |