Module Values.BatchDeleteDocumentRequestSource

Removes one or more documents from an index. The documents must have been added with the BatchPutDocument API. The documents are deleted asynchronously. You can see the progress of the deletion by using Amazon Web Services CloudWatch. Any error messages related to the processing of the batch are sent to your Amazon Web Services CloudWatch log. You can also use the BatchGetDocumentStatus API to monitor the progress of deleting your documents. Deleting documents from an index using BatchDeleteDocument could take up to an hour or more, depending on the number of documents you want to delete.

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

    The identifier of the index that contains the documents to delete.

    *)
  2. documentIdList : DocumentIdList.t;
    (*

    One or more identifiers for documents to delete from the index.

    *)
  3. dataSourceSyncJobMetricTarget : DataSourceSyncJobMetricTarget.t option;
}
Sourceval context_ : string
Sourceval make : ?dataSourceSyncJobMetricTarget:??? -> indexId:IndexId.t -> documentIdList:DocumentIdList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of DocumentId.t ] list | `String of IndexId.t | `Structure of (string * [> `String of DataSourceId.t ]) list ]) 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