Skip to content

DeletePartition

Source: src/AWS/Glue/DeletePartition.ts

Runtime binding for glue:DeletePartition.

Deregisters one partition of the bound Table by its partition values (the underlying data is untouched). Fails with the typed EntityNotFoundException when the partition is already gone. The database/table names and catalog id are injected from the binding. Provide the implementation with Effect.provide(AWS.Glue.DeletePartitionHttp).

// init
const deletePartition = yield* AWS.Glue.DeletePartition(table);
// runtime — idempotent removal
yield* deletePartition({ PartitionValues: ["2026-01-01"] }).pipe(
Effect.catchTag("EntityNotFoundException", () => Effect.void),
);