| 1 | import * as glue from "@distilled.cloud/aws/glue"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeGlueTableHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetTable } from "./GetTable.ts"; |
| 5 | |
| 6 | export const GetTableHttp = Layer.effect( |
| 7 | GetTable, |
| 8 | makeGlueTableHttpBinding({ |
| 9 | tag: "AWS.Glue.GetTable", |
| 10 | operation: glue.getTable, |
| 11 | actions: ["glue:GetTable"], |
| 12 | tableNameKey: "Name", |
| 13 | }), |
| 14 | ); |