Class: Aws::IoTEvents::Types::SNSTopicPublishAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTEvents::Types::SNSTopicPublishAction
- Defined in:
- gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb
Overview
Note:
When making an API call, you may pass SNSTopicPublishAction data as a hash:
{
target_arn: "AmazonResourceName", # required
payload: {
content_expression: "ContentExpression", # required
type: "STRING", # required, accepts STRING, JSON
},
}
Information required to publish the Amazon SNS message.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#payload ⇒ Types::Payload
You can configure the action payload when you send a message as an Amazon SNS push notification.
-
#target_arn ⇒ String
The ARN of the Amazon SNS target where the message is sent.
Instance Attribute Details
#payload ⇒ Types::Payload
You can configure the action payload when you send a message as an Amazon SNS push notification.
5301 5302 5303 5304 5305 5306 |
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 5301 class SNSTopicPublishAction < Struct.new( :target_arn, :payload) SENSITIVE = [] include Aws::Structure end |
#target_arn ⇒ String
The ARN of the Amazon SNS target where the message is sent.
5301 5302 5303 5304 5305 5306 |
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 5301 class SNSTopicPublishAction < Struct.new( :target_arn, :payload) SENSITIVE = [] include Aws::Structure end |