Module Values.GetCaseAttachmentUploadUrlRequestSource

Uploads an attachment to a case.

Sourcetype nonrec t = {
  1. caseId : CaseId.t;
    (*

    Required element for GetCaseAttachmentUploadUrl to identify the case ID for uploading an attachment.

    *)
  2. fileName : FileName.t;
    (*

    Required element for GetCaseAttachmentUploadUrl to identify the file name of the attachment to upload.

    *)
  3. contentLength : ContentLength.t;
    (*

    Required element for GetCaseAttachmentUploadUrl to identify the size of the file attachment.

    *)
  4. clientToken : GetCaseAttachmentUploadUrlRequestClientTokenString.t option;
    (*

    The clientToken field is an idempotency key used to ensure that repeated attempts for a single action will be ignored by the server during retries. A caller supplied unique ID (typically a UUID) should be provided.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> caseId:CaseId.t -> fileName:FileName.t -> contentLength:ContentLength.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of ContentLength.t | `String of CaseId.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