Junie
Junie

Reputation: 437

How can I view the sms text sent using AWS SNS?

Is there any way in AWS SNS to check what SMS text was sent through a particular region using messageId?

Upvotes: 2

Views: 1756

Answers (1)

Shawn
Shawn

Reputation: 9402

AWS doesn't log the body content of the messages that are sent.

If you want to see the body content of the SMS messages you could add logging in whatever code/process is invoking the SNS send action or otherwise add some code to store that detail. But otherwise, you won't be able to get the SMS message body details through a built-in AWS feature. This answer has some info on storing every message.

Logging and Monitoring in Amazon SNS has info on what gets logged for some API calls, but notice that it does not log the Publish action to CloudTrail--just other actions that are related to the setup of SNS. And CloudWatch logs give metrics about the process, but not individual message content.

Upvotes: 5

Related Questions