Struct aws_sdk_backup::operation::get_backup_vault_notifications::GetBackupVaultNotificationsOutput
source · #[non_exhaustive]pub struct GetBackupVaultNotificationsOutput {
pub backup_vault_name: Option<String>,
pub backup_vault_arn: Option<String>,
pub sns_topic_arn: Option<String>,
pub backup_vault_events: Option<Vec<BackupVaultEvent>>,
/* private fields */
}
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 Region where they are created. They consist of lowercase letters, numbers, and hyphens.
backup_vault_arn: Option<String>
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
sns_topic_arn: Option<String>
An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon SNS) topic; for example, arn:aws:sns:us-west-2:111122223333:MyTopic
.
backup_vault_events: Option<Vec<BackupVaultEvent>>
An array of events that indicate the status of jobs to back up resources to the backup vault.
Implementations§
source§impl GetBackupVaultNotificationsOutput
impl GetBackupVaultNotificationsOutput
sourcepub fn backup_vault_name(&self) -> Option<&str>
pub fn backup_vault_name(&self) -> Option<&str>
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. They consist of lowercase letters, numbers, and hyphens.
sourcepub fn backup_vault_arn(&self) -> Option<&str>
pub fn backup_vault_arn(&self) -> Option<&str>
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
sourcepub fn sns_topic_arn(&self) -> Option<&str>
pub fn sns_topic_arn(&self) -> Option<&str>
An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon SNS) topic; for example, arn:aws:sns:us-west-2:111122223333:MyTopic
.
sourcepub fn backup_vault_events(&self) -> &[BackupVaultEvent]
pub fn backup_vault_events(&self) -> &[BackupVaultEvent]
An array of events that indicate the status of jobs to back up resources to the backup vault.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .backup_vault_events.is_none()
.
source§impl GetBackupVaultNotificationsOutput
impl GetBackupVaultNotificationsOutput
sourcepub fn builder() -> GetBackupVaultNotificationsOutputBuilder
pub fn builder() -> GetBackupVaultNotificationsOutputBuilder
Creates a new builder-style object to manufacture GetBackupVaultNotificationsOutput
.
Trait Implementations§
source§impl Clone for GetBackupVaultNotificationsOutput
impl Clone for GetBackupVaultNotificationsOutput
source§fn clone(&self) -> GetBackupVaultNotificationsOutput
fn clone(&self) -> GetBackupVaultNotificationsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GetBackupVaultNotificationsOutput
impl PartialEq for GetBackupVaultNotificationsOutput
source§fn eq(&self, other: &GetBackupVaultNotificationsOutput) -> bool
fn eq(&self, other: &GetBackupVaultNotificationsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetBackupVaultNotificationsOutput
impl RequestId for GetBackupVaultNotificationsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetBackupVaultNotificationsOutput
Auto Trait Implementations§
impl Freeze for GetBackupVaultNotificationsOutput
impl RefUnwindSafe for GetBackupVaultNotificationsOutput
impl Send for GetBackupVaultNotificationsOutput
impl Sync for GetBackupVaultNotificationsOutput
impl Unpin for GetBackupVaultNotificationsOutput
impl UnwindSafe for GetBackupVaultNotificationsOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more