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