| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Greengrass.ListCoreDefinitions
Description
Retrieves a list of core definitions.
This operation returns paginated results.
Synopsis
- data ListCoreDefinitions = ListCoreDefinitions' {}
- newListCoreDefinitions :: ListCoreDefinitions
- listCoreDefinitions_maxResults :: Lens' ListCoreDefinitions (Maybe Text)
- listCoreDefinitions_nextToken :: Lens' ListCoreDefinitions (Maybe Text)
- data ListCoreDefinitionsResponse = ListCoreDefinitionsResponse' {}
- newListCoreDefinitionsResponse :: Int -> ListCoreDefinitionsResponse
- listCoreDefinitionsResponse_definitions :: Lens' ListCoreDefinitionsResponse (Maybe [DefinitionInformation])
- listCoreDefinitionsResponse_nextToken :: Lens' ListCoreDefinitionsResponse (Maybe Text)
- listCoreDefinitionsResponse_httpStatus :: Lens' ListCoreDefinitionsResponse Int
Creating a Request
data ListCoreDefinitions Source #
See: newListCoreDefinitions smart constructor.
Constructors
| ListCoreDefinitions' | |
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:maxResults:ListCoreDefinitions', listCoreDefinitions_maxResults - The maximum number of results to be returned per request.
ListCoreDefinitions, listCoreDefinitions_nextToken - The token for the next set of results, or ''null'' if there are no
additional results.
Request Lenses
listCoreDefinitions_maxResults :: Lens' ListCoreDefinitions (Maybe Text) Source #
The maximum number of results to be returned per request.
listCoreDefinitions_nextToken :: Lens' ListCoreDefinitions (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
Destructuring the Response
data ListCoreDefinitionsResponse Source #
See: newListCoreDefinitionsResponse smart constructor.
Constructors
| ListCoreDefinitionsResponse' | |
Fields
| |
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:definitions:ListCoreDefinitionsResponse', listCoreDefinitionsResponse_definitions - Information about a definition.
ListCoreDefinitions, listCoreDefinitionsResponse_nextToken - The token for the next set of results, or ''null'' if there are no
additional results.
$sel:httpStatus:ListCoreDefinitionsResponse', listCoreDefinitionsResponse_httpStatus - The response's http status code.
Response Lenses
listCoreDefinitionsResponse_definitions :: Lens' ListCoreDefinitionsResponse (Maybe [DefinitionInformation]) Source #
Information about a definition.
listCoreDefinitionsResponse_nextToken :: Lens' ListCoreDefinitionsResponse (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listCoreDefinitionsResponse_httpStatus :: Lens' ListCoreDefinitionsResponse Int Source #
The response's http status code.