To delete an SNS topic, you first need to unsubscribe the subscribers, and then you can delete the SNS topic. The following steps explain how to unsubscribe subscribers and delete an SNS topic:
- Go to the Amazon SNS dashboard and click on Subscriptions, as shown in Figure 13.20:
- Before you can delete a topic, you need to unsubscribe all the subscribers from that topic. Select all the relevant subscribers for the topic and click on Delete from the menu, as shown in Figure 13.21:
- Before unsubscribing the selected subscribers, click on Delete in the confirmation dialog box, as shown in Figure 13.22: