amazonka-sns-1.6.1: 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 # 
Instance details

Defined in Network.AWS.SNS.DeleteTopic

Data DeleteTopic Source # 
Instance details

Defined in Network.AWS.SNS.DeleteTopic

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 # 
Instance details

Defined in Network.AWS.SNS.DeleteTopic

Show DeleteTopic Source # 
Instance details

Defined in Network.AWS.SNS.DeleteTopic

Generic DeleteTopic Source # 
Instance details

Defined in Network.AWS.SNS.DeleteTopic

Associated Types

type Rep DeleteTopic :: Type -> Type #

Hashable DeleteTopic Source # 
Instance details

Defined in Network.AWS.SNS.DeleteTopic

AWSRequest DeleteTopic Source # 
Instance details

Defined in Network.AWS.SNS.DeleteTopic

Associated Types

type Rs DeleteTopic :: Type #

ToHeaders DeleteTopic Source # 
Instance details

Defined in Network.AWS.SNS.DeleteTopic

Methods

toHeaders :: DeleteTopic -> [Header] #

ToPath DeleteTopic Source # 
Instance details

Defined in Network.AWS.SNS.DeleteTopic

ToQuery DeleteTopic Source # 
Instance details

Defined in Network.AWS.SNS.DeleteTopic

NFData DeleteTopic Source # 
Instance details

Defined in Network.AWS.SNS.DeleteTopic

Methods

rnf :: DeleteTopic -> () #

type Rep DeleteTopic Source # 
Instance details

Defined in Network.AWS.SNS.DeleteTopic

type Rep DeleteTopic = D1 (MetaData "DeleteTopic" "Network.AWS.SNS.DeleteTopic" "amazonka-sns-1.6.1-7GBYpIO1P7AJWNWtL33amk" True) (C1 (MetaCons "DeleteTopic'" PrefixI True) (S1 (MetaSel (Just "_dtTopicARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteTopic Source # 
Instance details

Defined in Network.AWS.SNS.DeleteTopic

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 # 
Instance details

Defined in Network.AWS.SNS.DeleteTopic

Data DeleteTopicResponse Source # 
Instance details

Defined in Network.AWS.SNS.DeleteTopic

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 # 
Instance details

Defined in Network.AWS.SNS.DeleteTopic

Show DeleteTopicResponse Source # 
Instance details

Defined in Network.AWS.SNS.DeleteTopic

Generic DeleteTopicResponse Source # 
Instance details

Defined in Network.AWS.SNS.DeleteTopic

Associated Types

type Rep DeleteTopicResponse :: Type -> Type #

NFData DeleteTopicResponse Source # 
Instance details

Defined in Network.AWS.SNS.DeleteTopic

Methods

rnf :: DeleteTopicResponse -> () #

type Rep DeleteTopicResponse Source # 
Instance details

Defined in Network.AWS.SNS.DeleteTopic

type Rep DeleteTopicResponse = D1 (MetaData "DeleteTopicResponse" "Network.AWS.SNS.DeleteTopic" "amazonka-sns-1.6.1-7GBYpIO1P7AJWNWtL33amk" False) (C1 (MetaCons "DeleteTopicResponse'" PrefixI False) (U1 :: Type -> Type))