| 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.AdminListDevices
Description
Lists devices, as an administrator.
- adminListDevices :: Text -> Text -> AdminListDevices
- data AdminListDevices
- aldPaginationToken :: Lens' AdminListDevices (Maybe Text)
- aldLimit :: Lens' AdminListDevices (Maybe Natural)
- aldUserPoolId :: Lens' AdminListDevices Text
- aldUsername :: Lens' AdminListDevices Text
- adminListDevicesResponse :: Int -> AdminListDevicesResponse
- data AdminListDevicesResponse
- aldrsPaginationToken :: Lens' AdminListDevicesResponse (Maybe Text)
- aldrsDevices :: Lens' AdminListDevicesResponse [DeviceType]
- aldrsResponseStatus :: Lens' AdminListDevicesResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> AdminListDevices |
Creates a value of AdminListDevices with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AdminListDevices Source #
Represents the request to list devices, as an administrator.
See: adminListDevices smart constructor.
Instances
Request Lenses
aldPaginationToken :: Lens' AdminListDevices (Maybe Text) Source #
The pagination token.
aldUserPoolId :: Lens' AdminListDevices Text Source #
The user pool ID.
aldUsername :: Lens' AdminListDevices Text Source #
The user name.
Destructuring the Response
adminListDevicesResponse Source #
Arguments
| :: Int | |
| -> AdminListDevicesResponse |
Creates a value of AdminListDevicesResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AdminListDevicesResponse Source #
Lists the device's response, as an administrator.
See: adminListDevicesResponse smart constructor.
Response Lenses
aldrsPaginationToken :: Lens' AdminListDevicesResponse (Maybe Text) Source #
The pagination token.
aldrsDevices :: Lens' AdminListDevicesResponse [DeviceType] Source #
The devices in the list of devices response.
aldrsResponseStatus :: Lens' AdminListDevicesResponse Int Source #
The response status code.