Class: Aws::Glacier::Types::CompleteMultipartUploadInput

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

Overview

Provides options to complete a multipart upload operation. This informs Amazon Glacier that all the archive parts have been uploaded and Amazon S3 Glacier (Glacier) can now assemble the archive from the uploaded parts. After assembling and saving the archive to the vault, Glacier returns the URI path of the newly created archive resource.

Constant Summary collapse

SENSITIVE =
[]

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 S3 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)


250
251
252
253
254
255
256
257
258
# File 'lib/aws-sdk-glacier/types.rb', line 250

class CompleteMultipartUploadInput < Struct.new(
  :account_id,
  :vault_name,
  :upload_id,
  :archive_size,
  :checksum)
  SENSITIVE = []
  include Aws::Structure
end

#archive_sizeInteger

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.

Returns:

  • (Integer)


250
251
252
253
254
255
256
257
258
# File 'lib/aws-sdk-glacier/types.rb', line 250

class CompleteMultipartUploadInput < Struct.new(
  :account_id,
  :vault_name,
  :upload_id,
  :archive_size,
  :checksum)
  SENSITIVE = []
  include Aws::Structure
end

#checksumString

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 S3 Glacier (Glacier), Glacier returns an error and the request fails.

Returns:

  • (String)


250
251
252
253
254
255
256
257
258
# File 'lib/aws-sdk-glacier/types.rb', line 250

class CompleteMultipartUploadInput < Struct.new(
  :account_id,
  :vault_name,
  :upload_id,
  :archive_size,
  :checksum)
  SENSITIVE = []
  include Aws::Structure
end

#upload_idString

The upload ID of the multipart upload.

Returns:

  • (String)


250
251
252
253
254
255
256
257
258
# File 'lib/aws-sdk-glacier/types.rb', line 250

class CompleteMultipartUploadInput < Struct.new(
  :account_id,
  :vault_name,
  :upload_id,
  :archive_size,
  :checksum)
  SENSITIVE = []
  include Aws::Structure
end

#vault_nameString

The name of the vault.

Returns:

  • (String)


250
251
252
253
254
255
256
257
258
# File 'lib/aws-sdk-glacier/types.rb', line 250

class CompleteMultipartUploadInput < Struct.new(
  :account_id,
  :vault_name,
  :upload_id,
  :archive_size,
  :checksum)
  SENSITIVE = []
  include Aws::Structure
end