Publishing a message
Publishing a message will publish the message to a topic and then push the message to subscribers. A topic's subscribers can be on different protocols and SNS knows the format to deliver messages as per the endpoint's protocol. So from the publisher side, it will publish the data in a unified way (subject and message) which SNS understands and SNS then delivers messages as per the endpoint's format.
Note
We can also publish messages to specific mobile devices by passing EndpointArn in the TargetArn parameters.
AWS Management Console
Go to AWS SNS Management Console at https://console.aws.amazon.com/sns/v2/home and perform the following steps:
- Click
Topicsin the navigation pane on the left. - Click on the
aws-bootcampARN displayed on the topic listing screen:

Figure 8.9: Topic details
- Click
Publish to topic:

Figure 8.10: Publishing to topic
Provide details as follows:
Subject: Type inAWS Bootcamp Notification.Message format: Choose theRawoption.Message: Type in the text that you...