[][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.

Fields

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 Clone for SnsAction[src]

impl Default for SnsAction[src]

impl PartialEq<SnsAction> for SnsAction[src]

impl Debug for SnsAction[src]

impl Serialize for SnsAction[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self