Module Multipart.Upload_part

type options = {
  1. checksum : Object.Checksum.value option;
    (*

    Explicit checksum for this part body.

    *)
  2. customer_key : Encryption.Customer_key.t option;
    (*

    SSE-C customer key headers for this uploaded part.

    *)
  3. expected_bucket_owner : Account_id.t option;
    (*

    x-amz-expected-bucket-owner.

    *)
}

UploadPart request options.

type result = {
  1. part : Part.t;
    (*

    Completed part reference for CompleteMultipartUpload.

    *)
  2. checksum : Object.Checksum.response;
    (*

    Checksum response headers for the uploaded part.

    *)
  3. response : Awskit.Response.t;
    (*

    Raw response metadata.

    *)
}

UploadPart result metadata.

val default_options : options
val options : ?checksum:Object.Checksum.value -> ?customer_key:Encryption.Customer_key.t -> ?expected_bucket_owner:Account_id.t -> unit -> (options, Awskit.Error.t) Stdlib.result

Build UploadPart options.

val options_exn : ?checksum:Object.Checksum.value -> ?customer_key:Encryption.Customer_key.t -> ?expected_bucket_owner:Account_id.t -> unit -> options

Like options, but raises on validation failure.