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 |
Lists devices, as an administrator.
Requires developer credentials.
- 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
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:
aldPaginationToken
- The pagination token.aldLimit
- The limit of the devices request.aldUserPoolId
- The user pool ID.aldUsername
- The user name.
data AdminListDevices Source #
Represents the request to list devices, as an administrator.
See: adminListDevices
smart constructor.
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 #
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:
aldrsPaginationToken
- The pagination token.aldrsDevices
- The devices in the list of devices response.aldrsResponseStatus
- -- | The response status code.
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.