[][src]Struct rusoto_iot::SnsAction

pub struct SnsAction {
    pub message_format: Option<String>,
    pub role_arn: String,
    pub target_arn: String,

Describes an action to publish to an Amazon SNS topic.


message_format: Option<String>

(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.

role_arn: String

The ARN of the IAM role that grants access.

target_arn: String

The ARN of the SNS topic.

Trait Implementations

impl PartialEq<SnsAction> for SnsAction[src]

impl Clone for SnsAction[src]

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Default for SnsAction[src]

impl Debug for SnsAction[src]

impl<'de> Deserialize<'de> for SnsAction[src]

impl Serialize for SnsAction[src]

Auto Trait Implementations

impl Send for SnsAction

impl Sync for SnsAction

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> BorrowMut for T where
    T: ?Sized

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self