| 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.ListDeviceDefinitions
Description
Retrieves a list of device definitions.
This operation returns paginated results.
Synopsis
- data ListDeviceDefinitions = ListDeviceDefinitions' {}
- newListDeviceDefinitions :: ListDeviceDefinitions
- listDeviceDefinitions_maxResults :: Lens' ListDeviceDefinitions (Maybe Text)
- listDeviceDefinitions_nextToken :: Lens' ListDeviceDefinitions (Maybe Text)
- data ListDeviceDefinitionsResponse = ListDeviceDefinitionsResponse' {}
- newListDeviceDefinitionsResponse :: Int -> ListDeviceDefinitionsResponse
- listDeviceDefinitionsResponse_definitions :: Lens' ListDeviceDefinitionsResponse (Maybe [DefinitionInformation])
- listDeviceDefinitionsResponse_nextToken :: Lens' ListDeviceDefinitionsResponse (Maybe Text)
- listDeviceDefinitionsResponse_httpStatus :: Lens' ListDeviceDefinitionsResponse Int
Creating a Request
data ListDeviceDefinitions Source #
See: newListDeviceDefinitions smart constructor.
Constructors
| ListDeviceDefinitions' | |
Instances
newListDeviceDefinitions :: ListDeviceDefinitions Source #
Create a value of ListDeviceDefinitions 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:ListDeviceDefinitions', listDeviceDefinitions_maxResults - The maximum number of results to be returned per request.
ListDeviceDefinitions, listDeviceDefinitions_nextToken - The token for the next set of results, or ''null'' if there are no
additional results.
Request Lenses
listDeviceDefinitions_maxResults :: Lens' ListDeviceDefinitions (Maybe Text) Source #
The maximum number of results to be returned per request.
listDeviceDefinitions_nextToken :: Lens' ListDeviceDefinitions (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
Destructuring the Response
data ListDeviceDefinitionsResponse Source #
See: newListDeviceDefinitionsResponse smart constructor.
Constructors
| ListDeviceDefinitionsResponse' | |
Fields
| |
Instances
newListDeviceDefinitionsResponse Source #
Create a value of ListDeviceDefinitionsResponse 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:ListDeviceDefinitionsResponse', listDeviceDefinitionsResponse_definitions - Information about a definition.
ListDeviceDefinitions, listDeviceDefinitionsResponse_nextToken - The token for the next set of results, or ''null'' if there are no
additional results.
$sel:httpStatus:ListDeviceDefinitionsResponse', listDeviceDefinitionsResponse_httpStatus - The response's http status code.
Response Lenses
listDeviceDefinitionsResponse_definitions :: Lens' ListDeviceDefinitionsResponse (Maybe [DefinitionInformation]) Source #
Information about a definition.
listDeviceDefinitionsResponse_nextToken :: Lens' ListDeviceDefinitionsResponse (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listDeviceDefinitionsResponse_httpStatus :: Lens' ListDeviceDefinitionsResponse Int Source #
The response's http status code.