| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CognitoIdentityProvider.AdminListDevices
Description
Lists devices, as an administrator.
Calling this action requires developer credentials.
Synopsis
- data AdminListDevices = AdminListDevices' {}
- newAdminListDevices :: Text -> Text -> AdminListDevices
- adminListDevices_limit :: Lens' AdminListDevices (Maybe Natural)
- adminListDevices_paginationToken :: Lens' AdminListDevices (Maybe Text)
- adminListDevices_userPoolId :: Lens' AdminListDevices Text
- adminListDevices_username :: Lens' AdminListDevices Text
- data AdminListDevicesResponse = AdminListDevicesResponse' {
- devices :: Maybe [DeviceType]
- paginationToken :: Maybe Text
- httpStatus :: Int
- newAdminListDevicesResponse :: Int -> AdminListDevicesResponse
- adminListDevicesResponse_devices :: Lens' AdminListDevicesResponse (Maybe [DeviceType])
- adminListDevicesResponse_paginationToken :: Lens' AdminListDevicesResponse (Maybe Text)
- adminListDevicesResponse_httpStatus :: Lens' AdminListDevicesResponse Int
Creating a Request
data AdminListDevices Source #
Represents the request to list devices, as an administrator.
See: newAdminListDevices smart constructor.
Constructors
| AdminListDevices' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> AdminListDevices |
Create a value of AdminListDevices with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:limit:AdminListDevices', adminListDevices_limit - The limit of the devices request.
AdminListDevices, adminListDevices_paginationToken - The pagination token.
AdminListDevices, adminListDevices_userPoolId - The user pool ID.
AdminListDevices, adminListDevices_username - The user name.
Request Lenses
adminListDevices_limit :: Lens' AdminListDevices (Maybe Natural) Source #
The limit of the devices request.
adminListDevices_paginationToken :: Lens' AdminListDevices (Maybe Text) Source #
The pagination token.
adminListDevices_userPoolId :: Lens' AdminListDevices Text Source #
The user pool ID.
adminListDevices_username :: Lens' AdminListDevices Text Source #
The user name.
Destructuring the Response
data AdminListDevicesResponse Source #
Lists the device's response, as an administrator.
See: newAdminListDevicesResponse smart constructor.
Constructors
| AdminListDevicesResponse' | |
Fields
| |
Instances
newAdminListDevicesResponse Source #
Create a value of AdminListDevicesResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:devices:AdminListDevicesResponse', adminListDevicesResponse_devices - The devices in the list of devices response.
AdminListDevices, adminListDevicesResponse_paginationToken - The pagination token.
$sel:httpStatus:AdminListDevicesResponse', adminListDevicesResponse_httpStatus - The response's http status code.
Response Lenses
adminListDevicesResponse_devices :: Lens' AdminListDevicesResponse (Maybe [DeviceType]) Source #
The devices in the list of devices response.
adminListDevicesResponse_paginationToken :: Lens' AdminListDevicesResponse (Maybe Text) Source #
The pagination token.
adminListDevicesResponse_httpStatus :: Lens' AdminListDevicesResponse Int Source #
The response's http status code.