| 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.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:
AdminForgetDevice, adminForgetDevice_userPoolId - The user pool ID.
AdminForgetDevice, adminForgetDevice_username - The user name.
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.