Struct aws_sdk_iot::types::AuditNotificationTarget
source · #[non_exhaustive]pub struct AuditNotificationTarget {
pub target_arn: Option<String>,
pub role_arn: Option<String>,
pub enabled: bool,
}
Expand description
Information about the targets to which audit notifications are sent.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.target_arn: Option<String>
The ARN of the target (SNS topic) to which audit notifications are sent.
role_arn: Option<String>
The ARN of the role that grants permission to send notifications to the target.
enabled: bool
True if notifications to the target are enabled.
Implementations§
source§impl AuditNotificationTarget
impl AuditNotificationTarget
source§impl AuditNotificationTarget
impl AuditNotificationTarget
sourcepub fn builder() -> AuditNotificationTargetBuilder
pub fn builder() -> AuditNotificationTargetBuilder
Creates a new builder-style object to manufacture AuditNotificationTarget
.
Trait Implementations§
source§impl Clone for AuditNotificationTarget
impl Clone for AuditNotificationTarget
source§fn clone(&self) -> AuditNotificationTarget
fn clone(&self) -> AuditNotificationTarget
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AuditNotificationTarget
impl Debug for AuditNotificationTarget
source§impl PartialEq<AuditNotificationTarget> for AuditNotificationTarget
impl PartialEq<AuditNotificationTarget> for AuditNotificationTarget
source§fn eq(&self, other: &AuditNotificationTarget) -> bool
fn eq(&self, other: &AuditNotificationTarget) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AuditNotificationTarget
Auto Trait Implementations§
impl RefUnwindSafe for AuditNotificationTarget
impl Send for AuditNotificationTarget
impl Sync for AuditNotificationTarget
impl Unpin for AuditNotificationTarget
impl UnwindSafe for AuditNotificationTarget
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
Mutably borrows from an owned value. Read more