Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get the latest message in an SNS Topic?

Using AWS CLI, how do I get the latest message in an SNS topic?

Specifically I would like to view this SNS topic, which is used by AWS to inform users of changes to IP ranges of their services:

arn:aws:sns:us-east-1:806199016981:AmazonIpSpaceChanged
like image 697
F_SO_K Avatar asked Dec 10 '25 07:12

F_SO_K


1 Answers

SNS does not support that. You can subscribe to a topic and get all future notifications pushed to you. There is no support for querying historical messages.

like image 66
Maurice Avatar answered Dec 12 '25 05:12

Maurice



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!