Skip to content

UpdatePartition

Source: src/AWS/Glue/UpdatePartition.ts

Runtime binding for glue:UpdatePartition.

Replaces the definition of one partition of the bound TablePartitionValueList addresses the existing partition and PartitionInput is its new definition (location, parameters, schema). The database/table names and catalog id are injected from the binding. Provide the implementation with Effect.provide(AWS.Glue.UpdatePartitionHttp).

// init
const updatePartition = yield* AWS.Glue.UpdatePartition(table);
// runtime
yield* updatePartition({
PartitionValueList: ["2026-01-01"],
PartitionInput: {
Values: ["2026-01-01"],
StorageDescriptor: { Location: "s3://my-data-lake/v2/dt=2026-01-01/" },
},
});