Module Values.BatchGetDocumentStatusRequestSource

Returns 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.

Sourcetype nonrec t = {
  1. indexId : IndexId.t;
    (*

    The identifier of the index to add documents to. The index ID is returned by the CreateIndex API.

    *)
  2. 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.

    *)
}
Sourceval context_ : string
Sourceval make : indexId:IndexId.t -> documentInfoList:DocumentInfoList.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t