Class: Aws::Glacier::Types::SetVaultNotificationsInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::Glacier::Types::SetVaultNotificationsInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-glacier/types.rb
Overview
When making an API call, you may pass SetVaultNotificationsInput data as a hash:
{
account_id: "string", # required
vault_name: "string", # required
vault_notification_config: {
sns_topic: "string",
events: ["string"],
},
}
Provides options to configure notifications that will be sent when specific events happen to a vault.
Instance Attribute Summary collapse
-
#account_id ⇒ String
The ‘AccountId` value is the AWS account ID of the account that owns the vault.
-
#vault_name ⇒ String
The name of the vault.
-
#vault_notification_config ⇒ Types::VaultNotificationConfig
Provides options for specifying notification configuration.
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.
2576 2577 2578 2579 2580 2581 |
# File 'lib/aws-sdk-glacier/types.rb', line 2576 class SetVaultNotificationsInput < Struct.new( :account_id, :vault_name, :vault_notification_config) include Aws::Structure end |
#vault_name ⇒ String
The name of the vault.
2576 2577 2578 2579 2580 2581 |
# File 'lib/aws-sdk-glacier/types.rb', line 2576 class SetVaultNotificationsInput < Struct.new( :account_id, :vault_name, :vault_notification_config) include Aws::Structure end |
#vault_notification_config ⇒ Types::VaultNotificationConfig
Provides options for specifying notification configuration.
2576 2577 2578 2579 2580 2581 |
# File 'lib/aws-sdk-glacier/types.rb', line 2576 class SetVaultNotificationsInput < Struct.new( :account_id, :vault_name, :vault_notification_config) include Aws::Structure end |