1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutBackupVaultNotifications`](crate::operation::put_backup_vault_notifications::builders::PutBackupVaultNotificationsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`backup_vault_name(impl Into<String>)`](crate::operation::put_backup_vault_notifications::builders::PutBackupVaultNotificationsFluentBuilder::backup_vault_name) / [`set_backup_vault_name(Option<String>)`](crate::operation::put_backup_vault_notifications::builders::PutBackupVaultNotificationsFluentBuilder::set_backup_vault_name): <p>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. They consist of lowercase letters, numbers, and hyphens.</p>
    ///   - [`sns_topic_arn(impl Into<String>)`](crate::operation::put_backup_vault_notifications::builders::PutBackupVaultNotificationsFluentBuilder::sns_topic_arn) / [`set_sns_topic_arn(Option<String>)`](crate::operation::put_backup_vault_notifications::builders::PutBackupVaultNotificationsFluentBuilder::set_sns_topic_arn): <p>The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events; for example, <code>arn:aws:sns:us-west-2:111122223333:MyVaultTopic</code>.</p>
    ///   - [`backup_vault_events(Vec<BackupVaultEvent>)`](crate::operation::put_backup_vault_notifications::builders::PutBackupVaultNotificationsFluentBuilder::backup_vault_events) / [`set_backup_vault_events(Option<Vec<BackupVaultEvent>>)`](crate::operation::put_backup_vault_notifications::builders::PutBackupVaultNotificationsFluentBuilder::set_backup_vault_events): <p>An array of events that indicate the status of jobs to back up resources to the backup vault.</p>  <p>For common use cases and code samples, see <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/sns-notifications.html">Using Amazon SNS to track Backup events</a>.</p>  <p>The following events are supported:</p>  <ul>   <li> <p> <code>BACKUP_JOB_STARTED</code> | <code>BACKUP_JOB_COMPLETED</code> </p> </li>   <li> <p> <code>COPY_JOB_STARTED</code> | <code>COPY_JOB_SUCCESSFUL</code> | <code>COPY_JOB_FAILED</code> </p> </li>   <li> <p> <code>RESTORE_JOB_STARTED</code> | <code>RESTORE_JOB_COMPLETED</code> | <code>RECOVERY_POINT_MODIFIED</code> </p> </li>   <li> <p> <code>S3_BACKUP_OBJECT_FAILED</code> | <code>S3_RESTORE_OBJECT_FAILED</code> </p> </li>  </ul> <note>   <p>The list below shows items that are deprecated events (for reference) and are no longer in use. They are no longer supported and will not return statuses or notifications. Refer to the list above for current supported events.</p>  </note>
    /// - On success, responds with [`PutBackupVaultNotificationsOutput`](crate::operation::put_backup_vault_notifications::PutBackupVaultNotificationsOutput)
    /// - On failure, responds with [`SdkError<PutBackupVaultNotificationsError>`](crate::operation::put_backup_vault_notifications::PutBackupVaultNotificationsError)
    pub fn put_backup_vault_notifications(&self) -> crate::operation::put_backup_vault_notifications::builders::PutBackupVaultNotificationsFluentBuilder{
        crate::operation::put_backup_vault_notifications::builders::PutBackupVaultNotificationsFluentBuilder::new(self.handle.clone())
    }
}