Struct aws_sdk_backup::input::PutBackupVaultNotificationsInput [−][src]
#[non_exhaustive]pub struct PutBackupVaultNotificationsInput {
pub backup_vault_name: Option<String>,
pub sns_topic_arn: Option<String>,
pub backup_vault_events: Option<Vec<BackupVaultEvent>>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.backup_vault_name: Option<String>
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.
sns_topic_arn: Option<String>
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: Option<Vec<BackupVaultEvent>>
An array of events that indicate the status of jobs to back up resources to the backup vault.
The following events are supported:
BACKUP_JOB_STARTED
, BACKUP_JOB_COMPLETED
,
COPY_JOB_STARTED
, COPY_JOB_SUCCESSFUL
,
COPY_JOB_FAILED
,
RESTORE_JOB_STARTED
, RESTORE_JOB_COMPLETED
, and
RECOVERY_POINT_MODIFIED
.
To find failed backup jobs, use BACKUP_JOB_COMPLETED
and filter using
event metadata.
Other events in the following list are deprecated.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutBackupVaultNotifications, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutBackupVaultNotifications, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutBackupVaultNotifications
>
Creates a new builder-style object to manufacture PutBackupVaultNotificationsInput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for PutBackupVaultNotificationsInput
impl Sync for PutBackupVaultNotificationsInput
impl Unpin for PutBackupVaultNotificationsInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more