![]() ![]() The token is a long series of numbers and letters in the middle of the URL after "Token=" and before "&Endpoint=". Copy the URL from the Confirm subscription link to your clipboard, paste the URL into a text editor, and then copy the token. The sender is usually Don't confirm the subscription using the link in the subscription confirmation email.ĥ. In your email, find the subscription confirmation message from AWS Notifications. Also, replace the value of notification-endpoint with the email address that you want to subscribe to your topic, and the region with your topic's AWS Region.Ĥ. Important: Make sure that you replace the value of topic-arn with the topic ARN that you copied. Run the following command: aws sns subscribe -topic-arn arn:aws:sns:us-east-1:0123456789012:my-topic -protocol email -notification-endpoint -region us-east-1 In the output, find the topic you want to subscribe to, and then copy its TopicArn value to your clipboard. Important: Make sure that you replace region us-east-1 with the correct AWS Region for your topic, if the topic is in another Region.Ģ. In the AWS CLI, run this command: aws sns list-topics -region us-east-1 ![]() Note: If you receive errors when running AWS Command Line Interface (AWS CLI) commands, make sure that you’re using the most recent AWS CLI version.ġ. Set up an email subscription that requires authentication to unsubscribe (AWS CLI) In the Confirm subscription dialog, paste the subscription confirmation URL that you copied.ħ. On the Subscriptions page, select the subscription that's "Pending confirmation," and then choose Confirm subscription.Ħ. ![]() In the Amazon SNS console, in the left navigation menu, choose Subscriptions.ĥ. Copy the URL from the Confirm subscription link to your clipboard.Ĥ. The sender is usually Don't confirm the subscription using the link in the subscription confirmation email.ģ. Open the Amazon SNS console and subscribe your email address to your topic.Ģ. ![]() Set up an email subscription that requires authentication to unsubscribe (Amazon SNS console)ġ. If you're subscribing a mailing list to your topic, add your own email address to the mailing list first so that you can confirm the subscription. Important: You need access to the subscription confirmation email message to confirm a new subscription and complete the setup. Then, use either of the following methods to set up the new subscription. To replace an existing subscription with one that requires authentication to unsubscribe, delete the existing subscription first. If you wish to unsubscribe but do not have AWS credentials, or have any other questions about Amazon SNS, please contact Amazon at Resolution Your subscription could not be removed because of an error. Then, anyone who chooses the link receives the following error: To prevent that unsubscribe action, create a subscription that requires authentication to unsubscribe, so that only the topic owner and subscription owner can unsubscribe. Note: Email spam filters can also unsubscribe the email address of the mailing list. Then, everyone on the mailing list gets an "Unsubscribe Confirmation" message. When a member of an Amazon SNS topic mailing list chooses the unsubscribe link, the email address of the mailing list is unsubscribed. When someone is subscribed to an Amazon SNS topic with their own email address, and they choose the unsubscribe link, only their email is unsubscribed. Above the link, it says, "If you wish to stop receiving notifications from this topic, please click or visit the link below to unsubscribe." When you publish messages to an Amazon SNS topic with email subscribers, the email message that those subscribers receive has a link to unsubscribe. ![]()
0 Comments
Leave a Reply. |