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 core definitions.
This operation returns paginated results.
Synopsis
- data ListCoreDefinitions = ListCoreDefinitions' {}
- newListCoreDefinitions :: ListCoreDefinitions
- listCoreDefinitions_nextToken :: Lens' ListCoreDefinitions (Maybe Text)
- listCoreDefinitions_maxResults :: Lens' ListCoreDefinitions (Maybe Text)
- data ListCoreDefinitionsResponse = ListCoreDefinitionsResponse' {}
- newListCoreDefinitionsResponse :: Int -> ListCoreDefinitionsResponse
- listCoreDefinitionsResponse_nextToken :: Lens' ListCoreDefinitionsResponse (Maybe Text)
- listCoreDefinitionsResponse_definitions :: Lens' ListCoreDefinitionsResponse (Maybe [DefinitionInformation])
- listCoreDefinitionsResponse_httpStatus :: Lens' ListCoreDefinitionsResponse Int
Creating a Request
data ListCoreDefinitions Source #
See: newListCoreDefinitions
smart constructor.
Instances
newListCoreDefinitions :: ListCoreDefinitions Source #
Create a value of ListCoreDefinitions
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:ListCoreDefinitions'
, listCoreDefinitions_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:maxResults:ListCoreDefinitions'
, listCoreDefinitions_maxResults
- The maximum number of results to be returned per request.
Request Lenses
listCoreDefinitions_nextToken :: Lens' ListCoreDefinitions (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listCoreDefinitions_maxResults :: Lens' ListCoreDefinitions (Maybe Text) Source #
The maximum number of results to be returned per request.
Destructuring the Response
data ListCoreDefinitionsResponse Source #
See: newListCoreDefinitionsResponse
smart constructor.
ListCoreDefinitionsResponse' | |
|
Instances
newListCoreDefinitionsResponse Source #
Create a value of ListCoreDefinitionsResponse
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:ListCoreDefinitions'
, listCoreDefinitionsResponse_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:definitions:ListCoreDefinitionsResponse'
, listCoreDefinitionsResponse_definitions
- Information about a definition.
$sel:httpStatus:ListCoreDefinitionsResponse'
, listCoreDefinitionsResponse_httpStatus
- The response's http status code.
Response Lenses
listCoreDefinitionsResponse_nextToken :: Lens' ListCoreDefinitionsResponse (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listCoreDefinitionsResponse_definitions :: Lens' ListCoreDefinitionsResponse (Maybe [DefinitionInformation]) Source #
Information about a definition.
listCoreDefinitionsResponse_httpStatus :: Lens' ListCoreDefinitionsResponse Int Source #
The response's http status code.