put_backup_vault_notifications
¶
put_backup_vault_notifications(
backup_vault_name: BackupVaultName,
sns_topic_arn: ARN,
backup_vault_events: BackupVaultEvents,
*,
config_overrides: Optional[BackupClientConfig] = None,
) -> None
Turns on notifications on a backup vault for the specified topic and events.
Parameters:
-
backup_vault_name(BackupVaultName) –The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created.
-
sns_topic_arn(ARN) –The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events; for example,
arn:aws:sns:us-west-2:111122223333:MyVaultTopic. -
backup_vault_events(BackupVaultEvents) –An array of events that indicate the status of jobs to back up resources to the backup vault. For the list of supported events, common use cases, and code samples, see Notification options with Backup.
Raises:
-
InvalidParameterValueException–Indicates that something is wrong with a parameter's value. For example, the value is out of range.
-
MissingParameterValueException–Indicates that a required parameter is missing.
-
ResourceNotFoundException–A resource that is required for the action doesn't exist.
-
ServiceUnavailableException–The request failed due to a temporary failure of the server.
-
UnknownServiceError–The service returned an error code this client does not model.