Copyright | (c) 2013-2018 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
- The token for the next set of results, or 'null'
if there are no additional results.lsdMaxResults
- The maximum number of results to be returned per request.
data ListSubscriptionDefinitions Source #
See: listSubscriptionDefinitions
smart constructor.
Request Lenses
lsdNextToken :: Lens' ListSubscriptionDefinitions (Maybe Text) Source #
The token for the next set of results, or 'null'
if there are no additional results.
lsdMaxResults :: Lens' ListSubscriptionDefinitions (Maybe Text) Source #
The maximum number of results to be returned per request.
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
- Information about a definition.lsdrsResponseStatus
- -- | 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 #
Information about a definition.
lsdrsResponseStatus :: Lens' ListSubscriptionDefinitionsResponse Int Source #
- - | The response status code.