You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Glacier::Types::AddTagsToVaultInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::Glacier::Types::AddTagsToVaultInput
- Defined in:
- (unknown)
Overview
When passing AddTagsToVaultInput as input to an Aws::Client method, you can use a vanilla Hash:
{
account_id: "string", # required
vault_name: "string", # required
tags: {
"TagKey" => "TagValue",
},
}
The input values for AddTagsToVault
.
Instance Attribute Summary collapse
-
#account_id ⇒ String
The
AccountId
value is the AWS account ID of the account that owns the vault. -
#tags ⇒ Hash<String,String>
The tags to add to the vault.
-
#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 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.
#tags ⇒ Hash<String,String>
The tags to add to the vault. Each tag is composed of a key and a value. The value can be an empty string.
#vault_name ⇒ String
The name of the vault.