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