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

Copyright(c) 2013-2016 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.ListTopics

Contents

Description

Returns a list of the requester's topics. Each call returns a limited list of topics, up to 100. If there are more topics, a NextToken is also returned. Use the NextToken parameter in a new ListTopics call to get further results.

This operation returns paginated results.

Synopsis

Creating a Request

listTopics :: ListTopics Source #

Creates a value of ListTopics with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ListTopics Source #

See: listTopics smart constructor.

Instances

Eq ListTopics Source # 
Data ListTopics Source # 

Methods

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

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

toConstr :: ListTopics -> Constr #

dataTypeOf :: ListTopics -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTopics Source # 
Show ListTopics Source # 
Generic ListTopics Source # 

Associated Types

type Rep ListTopics :: * -> * #

Hashable ListTopics Source # 
NFData ListTopics Source # 

Methods

rnf :: ListTopics -> () #

AWSPager ListTopics Source # 
AWSRequest ListTopics Source # 
ToPath ListTopics Source # 
ToHeaders ListTopics Source # 

Methods

toHeaders :: ListTopics -> [Header] #

ToQuery ListTopics Source # 
type Rep ListTopics Source # 
type Rep ListTopics = D1 (MetaData "ListTopics" "Network.AWS.SNS.ListTopics" "amazonka-sns-1.4.4-61mjRuWdOi3INrh89sztXd" True) (C1 (MetaCons "ListTopics'" PrefixI True) (S1 (MetaSel (Just Symbol "_ltNextToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs ListTopics Source # 

Request Lenses

ltNextToken :: Lens' ListTopics (Maybe Text) Source #

Token returned by the previous ListTopics request.

Destructuring the Response

listTopicsResponse Source #

Creates a value of ListTopicsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ListTopicsResponse Source #

Response for ListTopics action.

See: listTopicsResponse smart constructor.

Instances

Eq ListTopicsResponse Source # 
Data ListTopicsResponse Source # 

Methods

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

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

toConstr :: ListTopicsResponse -> Constr #

dataTypeOf :: ListTopicsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTopicsResponse Source # 
Show ListTopicsResponse Source # 
Generic ListTopicsResponse Source # 
NFData ListTopicsResponse Source # 

Methods

rnf :: ListTopicsResponse -> () #

type Rep ListTopicsResponse Source # 
type Rep ListTopicsResponse = D1 (MetaData "ListTopicsResponse" "Network.AWS.SNS.ListTopics" "amazonka-sns-1.4.4-61mjRuWdOi3INrh89sztXd" False) (C1 (MetaCons "ListTopicsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ltrsTopics") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Topic]))) ((:*:) (S1 (MetaSel (Just Symbol "_ltrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ltrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

ltrsTopics :: Lens' ListTopicsResponse [Topic] Source #

A list of topic ARNs.

ltrsNextToken :: Lens' ListTopicsResponse (Maybe Text) Source #

Token to pass along to the next ListTopics request. This element is returned if there are additional topics to retrieve.