Skip to content

GetPartitions

Source: src/AWS/Glue/GetPartitions.ts

Runtime binding for glue:GetPartitions.

Lists the bound Table’s partitions, optionally filtered with a partition-predicate Expression (e.g. dt >= '2026-01-01') and paginated via NextToken. The database/table names and catalog id are injected from the binding. Provide the implementation with Effect.provide(AWS.Glue.GetPartitionsHttp).

// init
const getPartitions = yield* AWS.Glue.GetPartitions(table);
// runtime
const { Partitions } = yield* getPartitions({
Expression: "dt >= '2026-01-01'",
});