Class: Aws::Glacier::Types::SetVaultNotificationsInput

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

Overview

Note:

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.

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)


2829
2830
2831
2832
2833
2834
2835
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2829

class SetVaultNotificationsInput < Struct.new(
  :account_id,
  :vault_name,
  :vault_notification_config)
  SENSITIVE = []
  include Aws::Structure
end

#vault_nameString

The name of the vault.

Returns:

  • (String)


2829
2830
2831
2832
2833
2834
2835
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2829

class SetVaultNotificationsInput < Struct.new(
  :account_id,
  :vault_name,
  :vault_notification_config)
  SENSITIVE = []
  include Aws::Structure
end

#vault_notification_configTypes::VaultNotificationConfig

Provides options for specifying notification configuration.



2829
2830
2831
2832
2833
2834
2835
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2829

class SetVaultNotificationsInput < Struct.new(
  :account_id,
  :vault_name,
  :vault_notification_config)
  SENSITIVE = []
  include Aws::Structure
end