Struct aws_sdk_iot::types::SnsAction
source · #[non_exhaustive]pub struct SnsAction { /* private fields */ }
Expand description
Describes an action to publish to an Amazon SNS topic.
Implementations§
source§impl SnsAction
impl SnsAction
sourcepub fn target_arn(&self) -> Option<&str>
pub fn target_arn(&self) -> Option<&str>
The ARN of the SNS topic.
sourcepub fn message_format(&self) -> Option<&MessageFormat>
pub fn message_format(&self) -> Option<&MessageFormat>
(Optional) The message format of the message to publish. Accepted values are "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. To read more about SNS message formats, see https://docs.aws.amazon.com/sns/latest/dg/json-formats.html refer to their official documentation.
Trait Implementations§
source§impl PartialEq<SnsAction> for SnsAction
impl PartialEq<SnsAction> for SnsAction
impl StructuralPartialEq for SnsAction
Auto Trait Implementations§
impl RefUnwindSafe for SnsAction
impl Send for SnsAction
impl Sync for SnsAction
impl Unpin for SnsAction
impl UnwindSafe for SnsAction
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