Module Values.UploadDocumentsResponseSource

Contains the response to an UploadDocuments request.

Sourcetype nonrec t = {
  1. status : String_.t option;
    (*

    The status of an UploadDocumentsRequest.

    *)
  2. adds : Adds.t option;
    (*

    The number of documents that were added to the search domain.

    *)
  3. deletes : Deletes.t option;
    (*

    The number of documents that were deleted from the search domain.

    *)
  4. warnings : DocumentServiceWarnings.t option;
    (*

    Any warnings returned by the document service about the documents being uploaded.

    *)
}
Sourcetype nonrec error = [
  1. | `DocumentServiceException of DocumentServiceException.t
  2. | `Unknown_operation_error of string * string option
]
Sourceval make : ?status:??? -> ?adds:??? -> ?deletes:??? -> ?warnings:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `DocumentServiceException of DocumentServiceException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `DocumentServiceException of DocumentServiceException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `Long of Adds.t | `String of String_.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