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

impl Default for SnsAction[src]

impl Clone for SnsAction[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SnsAction[src]

impl Serialize for SnsAction[src]

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

Auto Trait Implementations

impl Send for SnsAction

impl Sync for SnsAction

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self