Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Retrieves a list of device definitions.
Synopsis
- listDeviceDefinitions :: ListDeviceDefinitions
- data ListDeviceDefinitions
- lddNextToken :: Lens' ListDeviceDefinitions (Maybe Text)
- lddMaxResults :: Lens' ListDeviceDefinitions (Maybe Text)
- listDeviceDefinitionsResponse :: Int -> ListDeviceDefinitionsResponse
- data ListDeviceDefinitionsResponse
- lddrsNextToken :: Lens' ListDeviceDefinitionsResponse (Maybe Text)
- lddrsDefinitions :: Lens' ListDeviceDefinitionsResponse [DefinitionInformation]
- lddrsResponseStatus :: Lens' ListDeviceDefinitionsResponse Int
Creating a Request
listDeviceDefinitions :: ListDeviceDefinitions Source #
Creates a value of ListDeviceDefinitions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lddNextToken
- The token for the next set of results, or 'null'
if there are no additional results.lddMaxResults
- The maximum number of results to be returned per request.
data ListDeviceDefinitions Source #
See: listDeviceDefinitions
smart constructor.
Instances
Request Lenses
lddNextToken :: Lens' ListDeviceDefinitions (Maybe Text) Source #
The token for the next set of results, or 'null'
if there are no additional results.
lddMaxResults :: Lens' ListDeviceDefinitions (Maybe Text) Source #
The maximum number of results to be returned per request.
Destructuring the Response
listDeviceDefinitionsResponse Source #
Creates a value of ListDeviceDefinitionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lddrsNextToken
- The token for the next set of results, or 'null'
if there are no additional results.lddrsDefinitions
- Information about a definition.lddrsResponseStatus
- -- | The response status code.
data ListDeviceDefinitionsResponse Source #
See: listDeviceDefinitionsResponse
smart constructor.
Instances
Response Lenses
lddrsNextToken :: Lens' ListDeviceDefinitionsResponse (Maybe Text) Source #
The token for the next set of results, or 'null'
if there are no additional results.
lddrsDefinitions :: Lens' ListDeviceDefinitionsResponse [DefinitionInformation] Source #
Information about a definition.
lddrsResponseStatus :: Lens' ListDeviceDefinitionsResponse Int Source #
- - | The response status code.