Procedures
Automation procedures in the AWS SNS book.
Make sure to add the AWS SNS book to your agent before using these automation procedures.
to get a (topic)
Gets a specific SNS topic by its ARN.
Input Concepts
Concept
Description
Type
Required
Default Value
arn
The ARN of the SNS topic to retrieve
text
Yes
(no default)
Output Concepts
Concept
Description
Type
Examples
get a topic
the arn is "<your topic arn here>"
to list (topics)
Lists the SNS topics in the AWS account that match the filter (if any).
Output Concepts
Concept
Description
Type
Examples
list some topics
to publish a message to a topic
Publishes a message to an SNS topic.
Input Concepts
Concept
Description
Type
Required
Default Value
message
The message to publish
text
Yes
(no default)
subject
Optional subject for the message (for email subscriptions)
text
No
(no default)
message attributes
Optional message attributes
json
No
(no default)
Output Concepts
Concept
Description
Type
answer
the message id of the published message
text
Examples
list topics
use the first topic as the topic
the message is "Hello, world!"
publish the message to the topic
Last updated
Was this helpful?