Class: Aws::Glacier::Types::InitiateMultipartUploadInput

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

Overview

Provides options for initiating a multipart upload to an Amazon S3 Glacier vault.

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)


1150
1151
1152
1153
1154
1155
1156
1157
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1150

class InitiateMultipartUploadInput < Struct.new(
  :account_id,
  :vault_name,
  :archive_description,
  :part_size)
  SENSITIVE = []
  include Aws::Structure
end

#archive_descriptionString

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

Returns:

  • (String)


1150
1151
1152
1153
1154
1155
1156
1157
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1150

class InitiateMultipartUploadInput < Struct.new(
  :account_id,
  :vault_name,
  :archive_description,
  :part_size)
  SENSITIVE = []
  include Aws::Structure
end

#part_sizeInteger

The size of each part except the last, in bytes. The last part can be smaller than this part size.

Returns:

  • (Integer)


1150
1151
1152
1153
1154
1155
1156
1157
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1150

class InitiateMultipartUploadInput < Struct.new(
  :account_id,
  :vault_name,
  :archive_description,
  :part_size)
  SENSITIVE = []
  include Aws::Structure
end

#vault_nameString

The name of the vault.

Returns:

  • (String)


1150
1151
1152
1153
1154
1155
1156
1157
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1150

class InitiateMultipartUploadInput < Struct.new(
  :account_id,
  :vault_name,
  :archive_description,
  :part_size)
  SENSITIVE = []
  include Aws::Structure
end