The best way to control Claude Code, Codex and more from any computer or phone

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