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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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.

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:

  • dtTopicARN - The ARN of the topic you want to delete.

data DeleteTopic Source #

See: deleteTopic smart constructor.

Instances

Eq DeleteTopic Source # 
Data DeleteTopic Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteTopic -> c DeleteTopic #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteTopic #

toConstr :: DeleteTopic -> Constr #

dataTypeOf :: DeleteTopic -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteTopic) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteTopic) #

gmapT :: (forall b. Data b => b -> b) -> DeleteTopic -> DeleteTopic #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteTopic -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteTopic -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteTopic -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteTopic -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteTopic -> m DeleteTopic #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteTopic -> m DeleteTopic #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteTopic -> m DeleteTopic #

Read DeleteTopic Source # 
Show DeleteTopic Source # 
Generic DeleteTopic Source # 

Associated Types

type Rep DeleteTopic :: * -> * #

Hashable DeleteTopic Source # 
NFData DeleteTopic Source # 

Methods

rnf :: DeleteTopic -> () #

AWSRequest DeleteTopic Source # 
ToHeaders DeleteTopic Source # 

Methods

toHeaders :: DeleteTopic -> [Header] #

ToPath DeleteTopic Source # 
ToQuery DeleteTopic Source # 
type Rep DeleteTopic Source # 
type Rep DeleteTopic = D1 * (MetaData "DeleteTopic" "Network.AWS.SNS.DeleteTopic" "amazonka-sns-1.6.0-9aFI2fxVFLPtYIjs5ltfP" True) (C1 * (MetaCons "DeleteTopic'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dtTopicARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DeleteTopic Source # 

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.

Instances

Eq DeleteTopicResponse Source # 
Data DeleteTopicResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteTopicResponse -> c DeleteTopicResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteTopicResponse #

toConstr :: DeleteTopicResponse -> Constr #

dataTypeOf :: DeleteTopicResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteTopicResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteTopicResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeleteTopicResponse -> DeleteTopicResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteTopicResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteTopicResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteTopicResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteTopicResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteTopicResponse -> m DeleteTopicResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteTopicResponse -> m DeleteTopicResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteTopicResponse -> m DeleteTopicResponse #

Read DeleteTopicResponse Source # 
Show DeleteTopicResponse Source # 
Generic DeleteTopicResponse Source # 
NFData DeleteTopicResponse Source # 

Methods

rnf :: DeleteTopicResponse -> () #

type Rep DeleteTopicResponse Source # 
type Rep DeleteTopicResponse = D1 * (MetaData "DeleteTopicResponse" "Network.AWS.SNS.DeleteTopic" "amazonka-sns-1.6.0-9aFI2fxVFLPtYIjs5ltfP" False) (C1 * (MetaCons "DeleteTopicResponse'" PrefixI False) (U1 *))