Module Values.BatchGetDocumentStatusResponseErrorSource

Provides a response when the status of a document could not be retrieved.

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

    The identifier of the document whose status could not be retrieved.

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

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

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

    Indicates the source of the error.

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

    States that the API could not get the status of a document. This could be because the request is not valid or there is a system error.

    *)
}
Sourceval make : ?documentId:??? -> ?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