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