Module Values.BatchPutDocumentResponseFailedDocumentSource

Provides information about a document that could not be indexed.

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

    The identifier of the document.

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

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

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

    The type of error that caused the document to fail to be indexed.

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

    A description of the reason why the document could not be indexed.

    *)
}
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