sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ Glue/ BatchDeletePartitionHttp.ts
import * as glue from "@distilled.cloud/aws/glue";
import * as Layer from "effect/Layer";
import { BatchDeletePartition } from "./BatchDeletePartition.ts";
import { makeGlueTableHttpBinding } from "./BindingHttp.ts";
export const BatchDeletePartitionHttp = Layer.effect(
BatchDeletePartition,
makeGlueTableHttpBinding({
tag: "AWS.Glue.BatchDeletePartition",
operation: glue.batchDeletePartition,
actions: ["glue:BatchDeletePartition", "glue:DeletePartition"],
tableNameKey: "TableName",
}),
);