amazonka-sns-1.1.0: Amazon Simple Notification Service SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.SNS.DeleteTopic

Contents

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.

See: AWS API Reference for DeleteTopic.

Synopsis

Creating a Request

deleteTopic Source

Arguments

:: Text

dtTopicARN

-> DeleteTopic 

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:

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.