LoginSignup
0
0

More than 5 years have passed since last update.

Amazon SNSのUnsubscribeのリンクを無効化する

Posted at

Amazon SNSのEmailの最後についてくるUnsubscribeのリンク
メーリングリスト宛に通知するなどの使い方をしている場合、誰かがUnsubscribeすると困っちゃう、それへの対応方法

--
If you wish to stop receiving notifications from this topic, 
please click or visit the link below to unsubscribe:
https://sns.ap-northeast-1.amazonaws.com/unsubscribe.html?SubscriptionArn=arn:aws:sns:ap-northeast-1:999999999999:xxxxxx:XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&Endpoint=user@example.com

Please do not reply directly to this email. 
If you have any questions or comments regarding this email, 
please contact us at https://aws.amazon.com/support

既に購読している場合は一旦解除し、再度購読要求を出す。
その時に発行されるTOKENを使い、次のAWSCLIで購読する。
--authenticate-on-unsubscribe trueとすると、topic所有者のみ購読解除が可能となる。

aws sns confirm-subscription --token token --topic-arn topic-arn --authenticate-on-unsubscribe true

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0