Class: Aws::Glacier::Types::CompleteMultipartUploadInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::Glacier::Types::CompleteMultipartUploadInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-glacier/types.rb
Overview
When making an API call, you may pass CompleteMultipartUploadInput data as a hash:
{
account_id: "string", # required
vault_name: "string", # required
upload_id: "string", # required
archive_size: 1,
checksum: "string",
}
Provides options to complete a multipart upload operation. This informs Amazon Glacier that all the archive parts have been uploaded and Amazon Glacier can now assemble the archive from the uploaded parts. After assembling and saving the archive to the vault, Amazon Glacier returns the URI path of the newly created archive resource.
Instance Attribute Summary collapse
-
#account_id ⇒ String
The ‘AccountId` value is the AWS account ID of the account that owns the vault.
-
#archive_size ⇒ Integer
The total size, in bytes, of the entire archive.
-
#checksum ⇒ String
The SHA256 tree hash of the entire archive.
-
#upload_id ⇒ String
The upload ID of the multipart upload.
-
#vault_name ⇒ String
The name of the vault.
Instance Attribute Details
#account_id ⇒ String
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.
304 305 306 307 308 309 310 311 |
# File 'lib/aws-sdk-glacier/types.rb', line 304 class CompleteMultipartUploadInput < Struct.new( :account_id, :vault_name, :upload_id, :archive_size, :checksum) include Aws::Structure end |
#archive_size ⇒ Integer
The total size, in bytes, of the entire archive. This value should be the sum of all the sizes of the individual parts that you uploaded.
304 305 306 307 308 309 310 311 |
# File 'lib/aws-sdk-glacier/types.rb', line 304 class CompleteMultipartUploadInput < Struct.new( :account_id, :vault_name, :upload_id, :archive_size, :checksum) include Aws::Structure end |
#checksum ⇒ String
The SHA256 tree hash of the entire archive. It is the tree hash of SHA256 tree hash of the individual parts. If the value you specify in the request does not match the SHA256 tree hash of the final assembled archive as computed by Amazon Glacier, Amazon Glacier returns an error and the request fails.
304 305 306 307 308 309 310 311 |
# File 'lib/aws-sdk-glacier/types.rb', line 304 class CompleteMultipartUploadInput < Struct.new( :account_id, :vault_name, :upload_id, :archive_size, :checksum) include Aws::Structure end |
#upload_id ⇒ String
The upload ID of the multipart upload.
304 305 306 307 308 309 310 311 |
# File 'lib/aws-sdk-glacier/types.rb', line 304 class CompleteMultipartUploadInput < Struct.new( :account_id, :vault_name, :upload_id, :archive_size, :checksum) include Aws::Structure end |
#vault_name ⇒ String
The name of the vault.
304 305 306 307 308 309 310 311 |
# File 'lib/aws-sdk-glacier/types.rb', line 304 class CompleteMultipartUploadInput < Struct.new( :account_id, :vault_name, :upload_id, :archive_size, :checksum) include Aws::Structure end |