Class: Aws::Glacier::Types::InitiateMultipartUploadInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::Glacier::Types::InitiateMultipartUploadInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-glacier/types.rb
Overview
When making an API call, you may pass InitiateMultipartUploadInput data as a hash:
{
account_id: "string", # required
vault_name: "string", # required
archive_description: "string",
part_size: 1,
}
Provides options for initiating a multipart upload to an Amazon Glacier vault.
Instance Attribute Summary collapse
-
#account_id ⇒ String
The ‘AccountId` value is the AWS account ID of the account that owns the vault.
-
#archive_description ⇒ String
The archive description that you are uploading in parts.
-
#part_size ⇒ Integer
The size of each part except the last, in bytes.
-
#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.
1423 1424 1425 1426 1427 1428 1429 |
# File 'lib/aws-sdk-glacier/types.rb', line 1423 class InitiateMultipartUploadInput < Struct.new( :account_id, :vault_name, :archive_description, :part_size) include Aws::Structure end |
#archive_description ⇒ String
The archive description that you are uploading in parts.
The part size must be a megabyte (1024 KB) multiplied by a power of 2, for example 1048576 (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum allowable part size is 1 MB, and the maximum is 4 GB (4096 MB).
1423 1424 1425 1426 1427 1428 1429 |
# File 'lib/aws-sdk-glacier/types.rb', line 1423 class InitiateMultipartUploadInput < Struct.new( :account_id, :vault_name, :archive_description, :part_size) include Aws::Structure end |
#part_size ⇒ Integer
The size of each part except the last, in bytes. The last part can be smaller than this part size.
1423 1424 1425 1426 1427 1428 1429 |
# File 'lib/aws-sdk-glacier/types.rb', line 1423 class InitiateMultipartUploadInput < Struct.new( :account_id, :vault_name, :archive_description, :part_size) include Aws::Structure end |
#vault_name ⇒ String
The name of the vault.
1423 1424 1425 1426 1427 1428 1429 |
# File 'lib/aws-sdk-glacier/types.rb', line 1423 class InitiateMultipartUploadInput < Struct.new( :account_id, :vault_name, :archive_description, :part_size) include Aws::Structure end |