Module Values.BatchDeleteDocumentResponseFailedDocumentSource

Provides information about documents that could not be removed from an index by the BatchDeleteDocument API.

Sourcetype nonrec t = {
  1. id : DocumentId.t option;
    (*

    The identifier of the document that couldn't be removed from the index.

    *)
  2. dataSourceId : DataSourceId.t option;
    (*

    The identifier of the data source connector that the document belongs to.

    *)
  3. errorCode : ErrorCode.t option;
    (*

    The error code for why the document couldn't be removed from the index.

    *)
  4. errorMessage : ErrorMessage.t option;
    (*

    An explanation for why the document couldn't be removed from the index.

    *)
}
Sourceval make : ?id:??? -> ?dataSourceId:??? -> ?errorCode:??? -> ?errorMessage:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of DocumentId.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