Class: Aws::Glacier::Types::UploadArchiveInput

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

Overview

Provides options to add an archive to a 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)


2226
2227
2228
2229
2230
2231
2232
2233
2234
# File 'lib/aws-sdk-glacier/types.rb', line 2226

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

#archive_descriptionString

The optional description of the archive you are uploading.

Returns:

  • (String)


2226
2227
2228
2229
2230
2231
2232
2233
2234
# File 'lib/aws-sdk-glacier/types.rb', line 2226

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

#bodyIO

The data to upload.

Returns:

  • (IO)


2226
2227
2228
2229
2230
2231
2232
2233
2234
# File 'lib/aws-sdk-glacier/types.rb', line 2226

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

#checksumString

The SHA256 tree hash of the data being uploaded.

Returns:

  • (String)


2226
2227
2228
2229
2230
2231
2232
2233
2234
# File 'lib/aws-sdk-glacier/types.rb', line 2226

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

#vault_nameString

The name of the vault.

Returns:

  • (String)


2226
2227
2228
2229
2230
2231
2232
2233
2234
# File 'lib/aws-sdk-glacier/types.rb', line 2226

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