You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Glacier::Types::UploadMultipartPartInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb

Overview

Note:

When making an API call, you may pass UploadMultipartPartInput data as a hash:

{
  account_id: "string", # required
  vault_name: "string", # required
  upload_id: "string", # required
  checksum: "string",
  range: "string",
  body: "data",
}

Provides options to upload a part of an archive in a multipart upload operation.

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

Returns:

  • (String)


2132
2133
2134
2135
2136
2137
2138
2139
2140
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2132

class UploadMultipartPartInput < Struct.new(
  :account_id,
  :vault_name,
  :upload_id,
  :checksum,
  :range,
  :body)
  include Aws::Structure
end

#bodyIO

The data to upload.

Returns:

  • (IO)


2132
2133
2134
2135
2136
2137
2138
2139
2140
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2132

class UploadMultipartPartInput < Struct.new(
  :account_id,
  :vault_name,
  :upload_id,
  :checksum,
  :range,
  :body)
  include Aws::Structure
end

#checksumString

The SHA256 tree hash of the data being uploaded.

Returns:

  • (String)


2132
2133
2134
2135
2136
2137
2138
2139
2140
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2132

class UploadMultipartPartInput < Struct.new(
  :account_id,
  :vault_name,
  :upload_id,
  :checksum,
  :range,
  :body)
  include Aws::Structure
end

#rangeString

Identifies the range of bytes in the assembled archive that will be uploaded in this part. Amazon Glacier uses this information to assemble the archive in the proper sequence. The format of this header follows RFC 2616. An example header is Content-Range:bytes 0-4194303/*.

Returns:

  • (String)


2132
2133
2134
2135
2136
2137
2138
2139
2140
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2132

class UploadMultipartPartInput < Struct.new(
  :account_id,
  :vault_name,
  :upload_id,
  :checksum,
  :range,
  :body)
  include Aws::Structure
end

#upload_idString

The upload ID of the multipart upload.

Returns:

  • (String)


2132
2133
2134
2135
2136
2137
2138
2139
2140
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2132

class UploadMultipartPartInput < Struct.new(
  :account_id,
  :vault_name,
  :upload_id,
  :checksum,
  :range,
  :body)
  include Aws::Structure
end

#vault_nameString

The name of the vault.

Returns:

  • (String)


2132
2133
2134
2135
2136
2137
2138
2139
2140
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2132

class UploadMultipartPartInput < Struct.new(
  :account_id,
  :vault_name,
  :upload_id,
  :checksum,
  :range,
  :body)
  include Aws::Structure
end