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 BatchCreatePartitionRequest extends Omit { } /** * Runtime binding for `glue:BatchCreatePartition`. * * Registers up to 100 partitions on the bound {@link Table} in one call — * the bulk variant of `CreatePartition` for backfills. 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.BatchCreatePartitionHttp)`. * ### Managing Partitions * **Example:** Backfill Partitions * ```typescript * // init * const batchCreatePartition = yield* AWS.Glue.BatchCreatePartition(table); * * // runtime * const { Errors } = yield* batchCreatePartition({ * PartitionInputList: days.map((dt) => ({ Values: [dt] })), * }); * ``` * * @binding */ export interface BatchCreatePartition extends Binding.Service Effect.Effect<(request: BatchCreatePartitionRequest) => Effect.Effect>> { } export declare const BatchCreatePartition: BatchCreatePartition; //# sourceMappingURL=BatchCreatePartition.d.ts.map