Values.BatchGetDocumentStatusRequestSourceReturns the indexing status for one or more documents submitted with the BatchPutDocument API. When you use the BatchPutDocument API, documents are indexed asynchronously. You can use the BatchGetDocumentStatus API to get the current status of a list of documents so that you can determine if they have been successfully indexed. You can also use the BatchGetDocumentStatus API to check the status of the BatchDeleteDocument API. When a document is deleted from the index, Amazon Kendra returns NOT_FOUND as the status.
type nonrec t = {indexId : IndexId.t;The identifier of the index to add documents to. The index ID is returned by the CreateIndex API.
*)documentInfoList : DocumentInfoList.t;A list of DocumentInfo objects that identify the documents for which to get the status. You identify the documents by their document ID and optional attributes.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of DocumentAttributeKey.t
| `Structure of
(string
* [> `List of
[> `String of String_.t ] list
| `Long of Long.t
| `String of
DocumentAttributeStringValue.t
| `Timestamp of Timestamp.t ])
list ])
list ]
list
| `String of DocumentId.t ])
list ]
list
| `String of IndexId.t ])
list ]