Struct aws_sdk_iot::types::AlertTarget
source · #[non_exhaustive]pub struct AlertTarget {
pub alert_target_arn: Option<String>,
pub role_arn: Option<String>,
}
Expand description
A structure containing the alert target ARN and the role ARN.
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.alert_target_arn: Option<String>
The Amazon Resource Name (ARN) of the notification target to which alerts are sent.
role_arn: Option<String>
The ARN of the role that grants permission to send alerts to the notification target.
Implementations§
source§impl AlertTarget
impl AlertTarget
source§impl AlertTarget
impl AlertTarget
sourcepub fn builder() -> AlertTargetBuilder
pub fn builder() -> AlertTargetBuilder
Creates a new builder-style object to manufacture AlertTarget
.
Trait Implementations§
source§impl Clone for AlertTarget
impl Clone for AlertTarget
source§fn clone(&self) -> AlertTarget
fn clone(&self) -> AlertTarget
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 AlertTarget
impl Debug for AlertTarget
source§impl PartialEq for AlertTarget
impl PartialEq for AlertTarget
source§fn eq(&self, other: &AlertTarget) -> bool
fn eq(&self, other: &AlertTarget) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AlertTarget
Auto Trait Implementations§
impl RefUnwindSafe for AlertTarget
impl Send for AlertTarget
impl Sync for AlertTarget
impl Unpin for AlertTarget
impl UnwindSafe for AlertTarget
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