amazonka-cognito-idp-2.0: Amazon Cognito Identity Provider SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CognitoIdentityProvider.ForgetDevice

Description

Forgets the specified device.

Synopsis

Creating a Request

data ForgetDevice Source #

Represents the request to forget the device.

See: newForgetDevice smart constructor.

Constructors

ForgetDevice' 

Fields

Instances

Instances details
ToJSON ForgetDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ForgetDevice

ToHeaders ForgetDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ForgetDevice

ToPath ForgetDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ForgetDevice

ToQuery ForgetDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ForgetDevice

AWSRequest ForgetDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ForgetDevice

Associated Types

type AWSResponse ForgetDevice #

Generic ForgetDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ForgetDevice

Associated Types

type Rep ForgetDevice :: Type -> Type #

Show ForgetDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ForgetDevice

NFData ForgetDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ForgetDevice

Methods

rnf :: ForgetDevice -> () #

Eq ForgetDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ForgetDevice

Hashable ForgetDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ForgetDevice

type AWSResponse ForgetDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ForgetDevice

type Rep ForgetDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ForgetDevice

type Rep ForgetDevice = D1 ('MetaData "ForgetDevice" "Amazonka.CognitoIdentityProvider.ForgetDevice" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" 'False) (C1 ('MetaCons "ForgetDevice'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "deviceKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newForgetDevice Source #

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.

Destructuring the Response

data ForgetDeviceResponse Source #

See: newForgetDeviceResponse smart constructor.

Constructors

ForgetDeviceResponse' 

Instances

Instances details
Generic ForgetDeviceResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ForgetDevice

Associated Types

type Rep ForgetDeviceResponse :: Type -> Type #

Read ForgetDeviceResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ForgetDevice

Show ForgetDeviceResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ForgetDevice

NFData ForgetDeviceResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ForgetDevice

Methods

rnf :: ForgetDeviceResponse -> () #

Eq ForgetDeviceResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ForgetDevice

type Rep ForgetDeviceResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ForgetDevice

type Rep ForgetDeviceResponse = D1 ('MetaData "ForgetDeviceResponse" "Amazonka.CognitoIdentityProvider.ForgetDevice" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" 'False) (C1 ('MetaCons "ForgetDeviceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newForgetDeviceResponse :: ForgetDeviceResponse Source #

Create a value of ForgetDeviceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.