Copyright | (c) 2013-2021 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 |
Amazonka.CognitoIdentityProvider.AdminForgetDevice
Description
Forgets the device, as an administrator.
Calling this action requires developer credentials.
Synopsis
- data AdminForgetDevice = AdminForgetDevice' {}
- newAdminForgetDevice :: Text -> Text -> Text -> AdminForgetDevice
- adminForgetDevice_userPoolId :: Lens' AdminForgetDevice Text
- adminForgetDevice_username :: Lens' AdminForgetDevice Text
- adminForgetDevice_deviceKey :: Lens' AdminForgetDevice Text
- data AdminForgetDeviceResponse = AdminForgetDeviceResponse' {
- newAdminForgetDeviceResponse :: AdminForgetDeviceResponse
Creating a Request
data AdminForgetDevice Source #
Sends the forgot device request, as an administrator.
See: newAdminForgetDevice
smart constructor.
Constructors
AdminForgetDevice' | |
Instances
Arguments
:: Text | |
-> Text | |
-> Text | |
-> AdminForgetDevice |
Create a value of AdminForgetDevice
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:userPoolId:AdminForgetDevice'
, adminForgetDevice_userPoolId
- The user pool ID.
$sel:username:AdminForgetDevice'
, adminForgetDevice_username
- The user name.
$sel:deviceKey:AdminForgetDevice'
, adminForgetDevice_deviceKey
- The device key.
Request Lenses
adminForgetDevice_userPoolId :: Lens' AdminForgetDevice Text Source #
The user pool ID.
adminForgetDevice_username :: Lens' AdminForgetDevice Text Source #
The user name.
adminForgetDevice_deviceKey :: Lens' AdminForgetDevice Text Source #
The device key.
Destructuring the Response
data AdminForgetDeviceResponse Source #
See: newAdminForgetDeviceResponse
smart constructor.
Constructors
AdminForgetDeviceResponse' | |
Instances
newAdminForgetDeviceResponse :: AdminForgetDeviceResponse Source #
Create a value of AdminForgetDeviceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.