Copyright | (c) 2013-2017 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.
- 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
- Specifies the pagination token used when iterating through a paginated requestlddMaxResults
- Specifies the maximum number of list results to be returned in this page
data ListDeviceDefinitions Source #
See: listDeviceDefinitions
smart constructor.
Request Lenses
lddNextToken :: Lens' ListDeviceDefinitions (Maybe Text) Source #
Specifies the pagination token used when iterating through a paginated request
lddMaxResults :: Lens' ListDeviceDefinitions (Maybe Text) Source #
Specifies the maximum number of list results to be returned in this page
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
- DefinitionslddrsResponseStatus
- -- | The response status code.
data ListDeviceDefinitionsResponse Source #
See: listDeviceDefinitionsResponse
smart constructor.
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 #
Definitions
lddrsResponseStatus :: Lens' ListDeviceDefinitionsResponse Int Source #
- - | The response status code.