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