BatchDeletePartition
Source:
src/AWS/Glue/BatchDeletePartition.ts
Runtime binding for glue:BatchDeletePartition.
Deletes up to 25 partitions of the bound Table in one call — the
bulk variant of DeletePartition for retention sweeps. Per-partition
failures come back in the response’s Errors list. The database/table
names and catalog id are injected from the binding. Provide the
implementation with Effect.provide(AWS.Glue.BatchDeletePartitionHttp).
Managing Partitions
Section titled “Managing Partitions”// initconst batchDeletePartition = yield* AWS.Glue.BatchDeletePartition(table);
// runtimeconst { Errors } = yield* batchDeletePartition({ PartitionsToDelete: expired.map((dt) => ({ Values: [dt] })),});