Module Values.UploadDocumentsRequestSource

Container for the parameters to the UploadDocuments request.

Sourcetype nonrec t = {
  1. documents : Blob.t;
    (*

    A batch of documents formatted in JSON or HTML.

    *)
  2. contentType : ContentType.t;
    (*

    The format of the batch you are uploading. Amazon CloudSearch supports two document batch formats: application/json application/xml

    *)
}
Sourceval context_ : string
Sourceval make : documents:Blob.t -> contentType:ContentType.t -> unit -> t
Sourceval of_header_and_body : ((string, string) Awso.Import.List.Assoc.t * Blob.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of Blob.t | `Enum of string ]) 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