bucket/create_multipart_upload

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

Types

pub type CreateMultipartUploadResult {
  CreateMultipartUploadResult(
    bucket: String,
    key: String,
    upload_id: String,
  )
}

Constructors

  • CreateMultipartUploadResult(
      bucket: String,
      key: String,
      upload_id: String,
    )

The parameters for the API request

pub type RequestBuilder {
  RequestBuilder(bucket: String, key: String)
}

Constructors

  • RequestBuilder(bucket: String, key: String)

Functions

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