bucket/complete_multipart_upload

https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html

CompleteMultipartUpload operation creates a new object by combining the specified parts. You may omit any number of parts, but they must be specified in ascending order.

Types

pub type CompleteMultipartUploadResult {
  CompleteMultipartUploadResult(
    location: String,
    bucket: String,
    key: String,
    etag: String,
  )
}

Constructors

  • CompleteMultipartUploadResult(
      location: String,
      bucket: String,
      key: String,
      etag: String,
    )
pub type Part {
  Part(part_number: Int, etag: String)
}

Constructors

  • Part(part_number: Int, etag: String)

The parameters for the API request

pub type RequestBuilder {
  RequestBuilder(
    bucket: String,
    key: String,
    upload_id: String,
    parts: List(Part),
  )
}

Constructors

  • RequestBuilder(
      bucket: String,
      key: String,
      upload_id: String,
      parts: List(Part),
    )

Functions

pub fn build(
  builder: RequestBuilder,
  creds: Credentials,
) -> Request(BitArray)
pub fn request(
  bucket bucket: String,
  key key: String,
  upload_id upload_id: String,
  parts parts: List(Part),
) -> RequestBuilder
pub fn response(
  response: Response(BitArray),
) -> Result(CompleteMultipartUploadResult, BucketError)
Search Document