Skip to content

GetPartition

Source: src/AWS/Glue/GetPartition.ts

Runtime binding for glue:GetPartition.

Reads a single partition of the bound Table by its partition values. Fails with the typed EntityNotFoundException when the partition does not exist. The database/table names and catalog id are injected from the binding. Provide the implementation with Effect.provide(AWS.Glue.GetPartitionHttp).

// init
const getPartition = yield* AWS.Glue.GetPartition(table);
// runtime
const { Partition } = yield* getPartition({
PartitionValues: ["2026-01-01"],
});