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