| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.SNS.DeleteTopic
Description
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.
http://docs.aws.amazon.com/sns/latest/api/API_DeleteTopic.html
- data DeleteTopic
- deleteTopic :: Text -> DeleteTopic
- dtTopicArn :: Lens' DeleteTopic Text
- data DeleteTopicResponse
- deleteTopicResponse :: DeleteTopicResponse
Request
data DeleteTopic Source
Instances
| Eq DeleteTopic | |
| Ord DeleteTopic | |
| Read DeleteTopic | |
| Show DeleteTopic | |
| IsString DeleteTopic | |
| Monoid DeleteTopic | |
| AWSRequest DeleteTopic | |
| ToQuery DeleteTopic | |
| ToPath DeleteTopic | |
| ToHeaders DeleteTopic | |
| type Sv DeleteTopic = SNS | |
| type Rs DeleteTopic = DeleteTopicResponse |
Request constructor
Arguments
| :: Text | |
| -> DeleteTopic |
Request lenses
dtTopicArn :: Lens' DeleteTopic Text Source
The ARN of the topic you want to delete.
Response
Response constructor
deleteTopicResponse :: DeleteTopicResponse Source
DeleteTopicResponse constructor.