Skip to content

BatchDeleteDocument

Source: src/AWS/QBusiness/BatchDeleteDocument.ts

Runtime binding for the BatchDeleteDocument operation (IAM action qbusiness:BatchDeleteDocument), scoped to one Index.

Removes documents from the index by document id. Provide the implementation with Effect.provide(AWS.QBusiness.BatchDeleteDocumentHttp).

const deleteDocuments = yield* AWS.QBusiness.BatchDeleteDocument(index);
yield* deleteDocuments({ documents: [{ documentId: "welcome" }] });