pub struct SnsAction {
pub message_format: Option<String>,
pub role_arn: String,
pub target_arn: String,
}Expand description
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: StringThe ARN of the IAM role that grants access.
target_arn: StringThe ARN of the SNS topic.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SnsAction
impl<'de> Deserialize<'de> for SnsAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for SnsAction
Auto Trait Implementations§
impl Freeze for SnsAction
impl RefUnwindSafe for SnsAction
impl Send for SnsAction
impl Sync for SnsAction
impl Unpin for SnsAction
impl UnwindSafe for SnsAction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more