| 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 |
Network.AWS.CognitoIdentityProvider.ListDevices
Description
Lists the devices.
- listDevices :: Text -> ListDevices
- data ListDevices
- ldPaginationToken :: Lens' ListDevices (Maybe Text)
- ldLimit :: Lens' ListDevices (Maybe Natural)
- ldAccessToken :: Lens' ListDevices Text
- listDevicesResponse :: Int -> ListDevicesResponse
- data ListDevicesResponse
- ldrsPaginationToken :: Lens' ListDevicesResponse (Maybe Text)
- ldrsDevices :: Lens' ListDevicesResponse [DeviceType]
- ldrsResponseStatus :: Lens' ListDevicesResponse Int
Creating a Request
Arguments
| :: Text | |
| -> ListDevices |
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 request to list the devices.
See: listDevices smart constructor.
Instances
Request Lenses
ldPaginationToken :: Lens' ListDevices (Maybe Text) Source #
The pagination token for the list request.
ldAccessToken :: Lens' ListDevices Text Source #
The access tokens for the request to list devices.
Destructuring the Response
Arguments
| :: Int | |
| -> ListDevicesResponse |
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 response to list devices.
See: listDevicesResponse smart constructor.
Response Lenses
ldrsPaginationToken :: Lens' ListDevicesResponse (Maybe Text) Source #
The pagination token for the list device response.
ldrsDevices :: Lens' ListDevicesResponse [DeviceType] Source #
The devices returned in the list devices response.
ldrsResponseStatus :: Lens' ListDevicesResponse Int Source #
The response status code.