Struct aws_sdk_iot::model::SnsAction [−][src]
#[non_exhaustive]pub struct SnsAction {
pub target_arn: Option<String>,
pub role_arn: Option<String>,
pub message_format: Option<MessageFormat>,
}
Expand description
Describes an action to publish to an Amazon SNS topic.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.target_arn: Option<String>
The ARN of the SNS topic.
role_arn: Option<String>
The ARN of the IAM role that grants access.
message_format: 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.
Implementations
The ARN of the SNS topic.
(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
Auto Trait Implementations
impl RefUnwindSafe for SnsAction
impl UnwindSafe for SnsAction
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more