Reputation: 1
I've added SNS application attributes for Message Delivery Status as described here: http://docs.aws.amazon.com/sns/latest/dg/sns-msg-status.html
But I can't find any example of how to get log for sent notifications.
Upvotes: 0
Views: 1312
Reputation: 6505
SNS logs of message delivery status are sent to Cloudwatch Logs. You can see examples of the SNS messages in cloudwatch logs here.
If you'd like to use the SDK to access the logs, the Cloudwatch Logs API provides access, but the specific technique will depend on which SDK you're using, as the SDKs vary between different languages/technology platforms.
You probably want GetLogEvents or FilterLogEvents API calls, which are available in the SDKs, e.g.:
Links to the other SDKs are available from the Cloudwatch Logs API Page.
Upvotes: 1