| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.SNS.ListTopics
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.
See: AWS API Reference for ListTopics.
This operation returns paginated results.
- listTopics :: ListTopics
- data ListTopics
- ltNextToken :: Lens' ListTopics (Maybe Text)
- listTopicsResponse :: Int -> ListTopicsResponse
- data ListTopicsResponse
- ltrsTopics :: Lens' ListTopicsResponse [Topic]
- ltrsNextToken :: Lens' ListTopicsResponse (Maybe Text)
- ltrsResponseStatus :: Lens' ListTopicsResponse Int
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.
Request Lenses
ltNextToken :: Lens' ListTopics (Maybe Text) Source
Token returned by the previous ListTopics request.
Destructuring the Response
Arguments
| :: Int | |
| -> ListTopicsResponse |
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.
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.
ltrsResponseStatus :: Lens' ListTopicsResponse Int Source
The response status code.