Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
Synopsis
Creating a Request
Creates a value of DeleteTopic
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtTopicARN
- The ARN of the topic you want to delete.
data DeleteTopic Source #
See: deleteTopic
smart constructor.
Instances
Request Lenses
dtTopicARN :: Lens' DeleteTopic Text Source #
The ARN of the topic you want to delete.
Destructuring the Response
deleteTopicResponse :: DeleteTopicResponse Source #
Creates a value of DeleteTopicResponse
with the minimum fields required to make a request.
data DeleteTopicResponse Source #
See: deleteTopicResponse
smart constructor.