aws_sdk_backup/client/get_backup_vault_notifications.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetBackupVaultNotifications`](crate::operation::get_backup_vault_notifications::builders::GetBackupVaultNotificationsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`backup_vault_name(impl Into<String>)`](crate::operation::get_backup_vault_notifications::builders::GetBackupVaultNotificationsFluentBuilder::backup_vault_name) / [`set_backup_vault_name(Option<String>)`](crate::operation::get_backup_vault_notifications::builders::GetBackupVaultNotificationsFluentBuilder::set_backup_vault_name):<br>required: **true**<br><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.</p><br>
7 /// - On success, responds with [`GetBackupVaultNotificationsOutput`](crate::operation::get_backup_vault_notifications::GetBackupVaultNotificationsOutput) with field(s):
8 /// - [`backup_vault_name(Option<String>)`](crate::operation::get_backup_vault_notifications::GetBackupVaultNotificationsOutput::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 Region where they are created.</p>
9 /// - [`backup_vault_arn(Option<String>)`](crate::operation::get_backup_vault_notifications::GetBackupVaultNotificationsOutput::backup_vault_arn): <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, <code>arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault</code>.</p>
10 /// - [`sns_topic_arn(Option<String>)`](crate::operation::get_backup_vault_notifications::GetBackupVaultNotificationsOutput::sns_topic_arn): <p>An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon SNS) topic; for example, <code>arn:aws:sns:us-west-2:111122223333:MyTopic</code>.</p>
11 /// - [`backup_vault_events(Option<Vec::<BackupVaultEvent>>)`](crate::operation::get_backup_vault_notifications::GetBackupVaultNotificationsOutput::backup_vault_events): <p>An array of events that indicate the status of jobs to back up resources to the backup vault.</p>
12 /// - On failure, responds with [`SdkError<GetBackupVaultNotificationsError>`](crate::operation::get_backup_vault_notifications::GetBackupVaultNotificationsError)
13 pub fn get_backup_vault_notifications(
14 &self,
15 ) -> crate::operation::get_backup_vault_notifications::builders::GetBackupVaultNotificationsFluentBuilder {
16 crate::operation::get_backup_vault_notifications::builders::GetBackupVaultNotificationsFluentBuilder::new(self.handle.clone())
17 }
18}