Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets information about unique device types.
This operation returns paginated results.
- listDevices :: ListDevices
- data ListDevices
- ldArn :: Lens' ListDevices (Maybe Text)
- ldNextToken :: Lens' ListDevices (Maybe Text)
- listDevicesResponse :: Int -> ListDevicesResponse
- data ListDevicesResponse
- ldrsNextToken :: Lens' ListDevicesResponse (Maybe Text)
- ldrsDevices :: Lens' ListDevicesResponse [Device]
- ldrsResponseStatus :: Lens' ListDevicesResponse Int
Creating a Request
listDevices :: ListDevices Source #
Creates a value of ListDevices
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListDevices Source #
Represents the result of a list devices request.
See: listDevices
smart constructor.
Request Lenses
ldNextToken :: Lens' ListDevices (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Destructuring the Response
Creates a value of ListDevicesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListDevicesResponse Source #
Represents the result of a list devices operation.
See: listDevicesResponse
smart constructor.
Response Lenses
ldrsNextToken :: Lens' ListDevicesResponse (Maybe Text) Source #
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
ldrsDevices :: Lens' ListDevicesResponse [Device] Source #
Information about the devices.
ldrsResponseStatus :: Lens' ListDevicesResponse Int Source #
The response status code.