Struct rusoto_iot::SnsAction [−][src]
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>
The message format of the message to publish. Optional. 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 http://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 Default for SnsAction
[src]
impl Default for SnsAction
impl Debug for SnsAction
[src]
impl Debug for SnsAction
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for SnsAction
[src]
impl Clone for SnsAction
fn clone(&self) -> SnsAction
[src]
fn clone(&self) -> SnsAction
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for SnsAction
[src]
impl PartialEq for SnsAction