Short Notification Service (SNS) is Amazon's technology that allows you to be notified when actions are completed. glacier-cmd allows for whatever granularity of control as you desire.
If you run glacier-cmd sns sync without specifing anything in your configuration file, it will automatically subscribe all your vaults to aws-glacier-notifications topic.
You have to pass in at least one option. If you pass in only one option, all subscriptions matching that option will be unsubscribed. So if you would pass in --endpoint valid.email@address.com all subscriptions to that address would be unsubscribed.
Adds SNS support. Full feature set from README:
Short Notification Service (SNS) is Amazon's technology that allows you to be notified when actions are completed.
glacier-cmd
allows for whatever granularity of control as you desire.If you run
glacier-cmd sns sync
without specifing anything in your configuration file, it will automatically subscribe all your vaults toaws-glacier-notifications
topic.However, if you desire, you can put sections into your settings file to allow for finer control of your notifications.
Topic name is specified after
SNS:
. By default, if you don't specify any vaults, all your vault will be subscribed to that topic.If you pass in the method argument you will be automatically subscribed to that topic.
After any changes to your
.glacier-cmd
file you should runglacier-cmd sns sync
again.To get a list of all subscriptions you can run
glacier-cmd sns lssub
.To get a list of all topics (including non-glacier-related ones) run
glacier-cmd sns lstopic
.To subscribe to a specific topic, run
You can also pass in the
--vault
argument which will subscribe all specified vaults (separated by comma) to a specified topic.To unsubscribe, use unsubsribe, which you can limit with --protocol, --endpoint and --topic.
You have to pass in at least one option. If you pass in only one option, all subscriptions matching that option will be unsubscribed. So if you would pass in
--endpoint valid.email@address.com
all subscriptions to that address would be unsubscribed.