Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves a list of subscription definitions.
- listSubscriptionDefinitions :: ListSubscriptionDefinitions
- data ListSubscriptionDefinitions
- lsdNextToken :: Lens' ListSubscriptionDefinitions (Maybe Text)
- lsdMaxResults :: Lens' ListSubscriptionDefinitions (Maybe Text)
- listSubscriptionDefinitionsResponse :: Int -> ListSubscriptionDefinitionsResponse
- data ListSubscriptionDefinitionsResponse
- lsdrsNextToken :: Lens' ListSubscriptionDefinitionsResponse (Maybe Text)
- lsdrsDefinitions :: Lens' ListSubscriptionDefinitionsResponse [DefinitionInformation]
- lsdrsResponseStatus :: Lens' ListSubscriptionDefinitionsResponse Int
Creating a Request
listSubscriptionDefinitions :: ListSubscriptionDefinitions Source #
Creates a value of ListSubscriptionDefinitions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lsdNextToken
- Specifies the pagination token used when iterating through a paginated requestlsdMaxResults
- Specifies the maximum number of list results to be returned in this page
data ListSubscriptionDefinitions Source #
See: listSubscriptionDefinitions
smart constructor.
Request Lenses
lsdNextToken :: Lens' ListSubscriptionDefinitions (Maybe Text) Source #
Specifies the pagination token used when iterating through a paginated request
lsdMaxResults :: Lens' ListSubscriptionDefinitions (Maybe Text) Source #
Specifies the maximum number of list results to be returned in this page
Destructuring the Response
listSubscriptionDefinitionsResponse Source #
Creates a value of ListSubscriptionDefinitionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lsdrsNextToken
- The token for the next set of results, or 'null'
if there are no additional results.lsdrsDefinitions
- DefinitionslsdrsResponseStatus
- -- | The response status code.
data ListSubscriptionDefinitionsResponse Source #
See: listSubscriptionDefinitionsResponse
smart constructor.
Response Lenses
lsdrsNextToken :: Lens' ListSubscriptionDefinitionsResponse (Maybe Text) Source #
The token for the next set of results, or 'null'
if there are no additional results.
lsdrsDefinitions :: Lens' ListSubscriptionDefinitionsResponse [DefinitionInformation] Source #
Definitions
lsdrsResponseStatus :: Lens' ListSubscriptionDefinitionsResponse Int Source #
- - | The response status code.