import type * as qbusiness from "@distilled.cloud/aws/qbusiness"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Index } from "./SearchIndex.ts"; /** * `BatchDeleteDocument` request with `applicationId` + `indexId` injected from the bound index. */ export interface BatchDeleteDocumentRequest extends Omit { } /** * Runtime binding for the `BatchDeleteDocument` operation (IAM action * `qbusiness:BatchDeleteDocument`), scoped to one {@link Index}. * * Removes documents from the index by document id. * Provide the implementation with * `Effect.provide(AWS.QBusiness.BatchDeleteDocumentHttp)`. * * ### Document Ingestion * **Example:** Delete Documents from an Index * ```typescript * const deleteDocuments = yield* AWS.QBusiness.BatchDeleteDocument(index); * * yield* deleteDocuments({ documents: [{ documentId: "welcome" }] }); * ``` * * @binding */ export interface BatchDeleteDocument extends Binding.Service Effect.Effect<(request: BatchDeleteDocumentRequest) => Effect.Effect>> { } export declare const BatchDeleteDocument: BatchDeleteDocument; //# sourceMappingURL=BatchDeleteDocument.d.ts.map