Class: Aws::Glacier::Types::UploadArchiveInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::Glacier::Types::UploadArchiveInput
- Defined in:
- gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb
Overview
Provides options to add an archive to a vault.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#account_id ⇒ String
The
AccountIdvalue is the AWS account ID of the account that owns the vault. -
#archive_description ⇒ String
The optional description of the archive you are uploading.
-
#body ⇒ IO
The data to upload.
-
#checksum ⇒ String
The SHA256 tree hash of the data being uploaded.
-
#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.
2242 2243 2244 2245 2246 2247 2248 2249 2250 |
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2242 class UploadArchiveInput < Struct.new( :vault_name, :account_id, :archive_description, :checksum, :body) SENSITIVE = [] include Aws::Structure end |
#archive_description ⇒ String
The optional description of the archive you are uploading.
2242 2243 2244 2245 2246 2247 2248 2249 2250 |
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2242 class UploadArchiveInput < Struct.new( :vault_name, :account_id, :archive_description, :checksum, :body) SENSITIVE = [] include Aws::Structure end |
#body ⇒ IO
The data to upload.
2242 2243 2244 2245 2246 2247 2248 2249 2250 |
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2242 class UploadArchiveInput < Struct.new( :vault_name, :account_id, :archive_description, :checksum, :body) SENSITIVE = [] include Aws::Structure end |
#checksum ⇒ String
The SHA256 tree hash of the data being uploaded.
2242 2243 2244 2245 2246 2247 2248 2249 2250 |
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2242 class UploadArchiveInput < Struct.new( :vault_name, :account_id, :archive_description, :checksum, :body) SENSITIVE = [] include Aws::Structure end |
#vault_name ⇒ String
The name of the vault.
2242 2243 2244 2245 2246 2247 2248 2249 2250 |
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2242 class UploadArchiveInput < Struct.new( :vault_name, :account_id, :archive_description, :checksum, :body) SENSITIVE = [] include Aws::Structure end |