Skip to content

/AWS1/CL_QQB=>BATCHDELETEDOCUMENT()

About BatchDeleteDocument

Asynchronously deletes one or more documents added using the BatchPutDocument API from an Amazon Q Business index.

You can see the progress of the deletion, and any error messages related to the process, by using CloudWatch.

Method Signature

IMPORTING

Required arguments:

IV_APPLICATIONID TYPE /AWS1/QQBAPPLICATIONID /AWS1/QQBAPPLICATIONID

The identifier of the Amazon Q Business application.

IV_INDEXID TYPE /AWS1/QQBINDEXID /AWS1/QQBINDEXID

The identifier of the Amazon Q Business index that contains the documents to delete.

IT_DOCUMENTS TYPE /AWS1/CL_QQBDELETEDOCUMENT=>TT_DELETEDOCUMENTS TT_DELETEDOCUMENTS

Documents deleted from the Amazon Q Business index.

Optional arguments:

IV_DATASOURCESYNCID TYPE /AWS1/QQBEXECUTIONID /AWS1/QQBEXECUTIONID

The identifier of the data source sync during which the documents were deleted.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_QQBBATCHDELETEDOCRSP /AWS1/CL_QQBBATCHDELETEDOCRSP