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

main
ts 14 lines 517 Bytes
Raw
1 import * as glue from "@distilled.cloud/aws/glue";
2 import * as Layer from "effect/Layer";
3 import { BatchDeletePartition } from "./BatchDeletePartition.ts";
4 import { makeGlueTableHttpBinding } from "./BindingHttp.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 );