sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ Athena/ GetDatabaseHttp.ts

import * as athena from "@distilled.cloud/aws/athena";
import * as Layer from "effect/Layer";
import { makeDataCatalogScopedHttpBinding } from "./BindingHttp.ts";
import { GetDatabase } from "./GetDatabase.ts";

export const GetDatabaseHttp = Layer.effect(
  GetDatabase,
  makeDataCatalogScopedHttpBinding({
    tag: "AWS.Athena.GetDatabase",
    operation: athena.getDatabase,
    actions: ["athena:GetDatabase"],
  }),
);