import type * as glue from "@distilled.cloud/aws/glue"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Table } from "./Table.ts"; export interface GetPartitionsRequest extends Omit { } /** * Runtime binding for `glue:GetPartitions`. * * Lists the bound {@link 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)`. * ### Managing Partitions * **Example:** List Recent Partitions * ```typescript * // init * const getPartitions = yield* AWS.Glue.GetPartitions(table); * * // runtime * const { Partitions } = yield* getPartitions({ * Expression: "dt >= '2026-01-01'", * }); * ``` * * @binding */ export interface GetPartitions extends Binding.Service Effect.Effect<(request?: GetPartitionsRequest) => Effect.Effect>> { } export declare const GetPartitions: GetPartitions; //# sourceMappingURL=GetPartitions.d.ts.map