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

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.

http://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html

Synopsis

Request

Request constructor

listTopics :: ListTopics Source

ListTopics constructor.

The fields accessible through corresponding lenses are:

Request lenses

ltNextToken :: Lens' ListTopics (Maybe Text) Source

Token returned by the previous ListTopics request.

Response

Response constructor

listTopicsResponse :: ListTopicsResponse Source

ListTopicsResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

ltrNextToken :: 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.

ltrTopics :: Lens' ListTopicsResponse [Topic] Source

A list of topic ARNs.