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 BatchDeletePartitionRequest extends Omit { } /** * Runtime binding for `glue:BatchDeletePartition`. * * Deletes up to 25 partitions of the bound {@link Table} in one call — the * bulk variant of `DeletePartition` for retention sweeps. Per-partition * failures come back in the response's `Errors` list. The database/table * names and catalog id are injected from the binding. Provide the * implementation with `Effect.provide(AWS.Glue.BatchDeletePartitionHttp)`. * ### Managing Partitions * **Example:** Expire Old Partitions * ```typescript * // init * const batchDeletePartition = yield* AWS.Glue.BatchDeletePartition(table); * * // runtime * const { Errors } = yield* batchDeletePartition({ * PartitionsToDelete: expired.map((dt) => ({ Values: [dt] })), * }); * ``` * * @binding */ export interface BatchDeletePartition extends Binding.Service Effect.Effect<(request: BatchDeletePartitionRequest) => Effect.Effect>> { } export declare const BatchDeletePartition: BatchDeletePartition; //# sourceMappingURL=BatchDeletePartition.d.ts.map