Copyright | (c) 2013-2021 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 |
Retrieves a list of subscription definitions.
This operation returns paginated results.
Synopsis
- data ListSubscriptionDefinitions = ListSubscriptionDefinitions' {}
- newListSubscriptionDefinitions :: ListSubscriptionDefinitions
- listSubscriptionDefinitions_nextToken :: Lens' ListSubscriptionDefinitions (Maybe Text)
- listSubscriptionDefinitions_maxResults :: Lens' ListSubscriptionDefinitions (Maybe Text)
- data ListSubscriptionDefinitionsResponse = ListSubscriptionDefinitionsResponse' {}
- newListSubscriptionDefinitionsResponse :: Int -> ListSubscriptionDefinitionsResponse
- listSubscriptionDefinitionsResponse_nextToken :: Lens' ListSubscriptionDefinitionsResponse (Maybe Text)
- listSubscriptionDefinitionsResponse_definitions :: Lens' ListSubscriptionDefinitionsResponse (Maybe [DefinitionInformation])
- listSubscriptionDefinitionsResponse_httpStatus :: Lens' ListSubscriptionDefinitionsResponse Int
Creating a Request
data ListSubscriptionDefinitions Source #
See: newListSubscriptionDefinitions
smart constructor.
Instances
newListSubscriptionDefinitions :: ListSubscriptionDefinitions Source #
Create a value of ListSubscriptionDefinitions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListSubscriptionDefinitions'
, listSubscriptionDefinitions_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:maxResults:ListSubscriptionDefinitions'
, listSubscriptionDefinitions_maxResults
- The maximum number of results to be returned per request.
Request Lenses
listSubscriptionDefinitions_nextToken :: Lens' ListSubscriptionDefinitions (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listSubscriptionDefinitions_maxResults :: Lens' ListSubscriptionDefinitions (Maybe Text) Source #
The maximum number of results to be returned per request.
Destructuring the Response
data ListSubscriptionDefinitionsResponse Source #
See: newListSubscriptionDefinitionsResponse
smart constructor.
ListSubscriptionDefinitionsResponse' | |
|
Instances
newListSubscriptionDefinitionsResponse Source #
Create a value of ListSubscriptionDefinitionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListSubscriptionDefinitions'
, listSubscriptionDefinitionsResponse_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:definitions:ListSubscriptionDefinitionsResponse'
, listSubscriptionDefinitionsResponse_definitions
- Information about a definition.
$sel:httpStatus:ListSubscriptionDefinitionsResponse'
, listSubscriptionDefinitionsResponse_httpStatus
- The response's http status code.
Response Lenses
listSubscriptionDefinitionsResponse_nextToken :: Lens' ListSubscriptionDefinitionsResponse (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listSubscriptionDefinitionsResponse_definitions :: Lens' ListSubscriptionDefinitionsResponse (Maybe [DefinitionInformation]) Source #
Information about a definition.
listSubscriptionDefinitionsResponse_httpStatus :: Lens' ListSubscriptionDefinitionsResponse Int Source #
The response's http status code.