Skip to content

BatchUpdatePartition

Source: src/AWS/Glue/BatchUpdatePartition.ts

Runtime binding for glue:BatchUpdatePartition.

Rewrites up to 100 partitions of the bound Table in one call — the bulk variant of UpdatePartition. 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.BatchUpdatePartitionHttp).

// init
const batchUpdatePartition = yield* AWS.Glue.BatchUpdatePartition(table);
// runtime
const { Errors } = yield* batchUpdatePartition({
Entries: [
{
PartitionValueList: ["2026-01-01"],
PartitionInput: {
Values: ["2026-01-01"],
Parameters: { compacted: "true" },
},
},
],
});