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.ForgetDevice
Description
Forgets the specified device.
Creating a Request
data ForgetDevice Source #
Represents the request to forget the device.
See: newForgetDevice
smart constructor.
Constructors
ForgetDevice' | |
Instances
Arguments
:: Text | |
-> ForgetDevice |
Create a value of ForgetDevice
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:
ForgetDevice
, forgetDevice_accessToken
- A valid access token that Amazon Cognito issued to the user whose
registered device you want to forget.
ForgetDevice
, forgetDevice_deviceKey
- The device key.
Request Lenses
forgetDevice_accessToken :: Lens' ForgetDevice (Maybe Text) Source #
A valid access token that Amazon Cognito issued to the user whose registered device you want to forget.
forgetDevice_deviceKey :: Lens' ForgetDevice Text Source #
The device key.
Destructuring the Response
data ForgetDeviceResponse Source #
See: newForgetDeviceResponse
smart constructor.
Constructors
ForgetDeviceResponse' | |
Instances
newForgetDeviceResponse :: ForgetDeviceResponse Source #
Create a value of ForgetDeviceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.