SNS / Client / delete_topic
delete_topic#
- SNS.Client.delete_topic(**kwargs)#
Deletes a topic and all its subscriptions. Deleting a topic might prevent some messages previously sent to the topic from being delivered to subscribers. This action is idempotent, so deleting a topic that does not exist does not result in an error.
See also: AWS API Documentation
Request Syntax
response = client.delete_topic( TopicArn='string' )
- Parameters:
TopicArn (string) –
[REQUIRED]
The ARN of the topic you want to delete.
- Returns:
None
Exceptions