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.ConfirmDevice

Description

Confirms tracking of the device. This API call is the call that begins device tracking.

Synopsis

Creating a Request

data ConfirmDevice Source #

Confirms the device request.

See: newConfirmDevice smart constructor.

Constructors

ConfirmDevice' 

Fields

Instances

Instances details
ToJSON ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

ToHeaders ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

ToPath ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

ToQuery ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

AWSRequest ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

Associated Types

type AWSResponse ConfirmDevice #

Generic ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

Associated Types

type Rep ConfirmDevice :: Type -> Type #

Show ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

NFData ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

Methods

rnf :: ConfirmDevice -> () #

Eq ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

Hashable ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

type AWSResponse ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

type Rep ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

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

newConfirmDevice Source #

Create a value of ConfirmDevice 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:

ConfirmDevice, confirmDevice_deviceName - The device name.

$sel:deviceSecretVerifierConfig:ConfirmDevice', confirmDevice_deviceSecretVerifierConfig - The configuration of the device secret verifier.

ConfirmDevice, confirmDevice_accessToken - A valid access token that Amazon Cognito issued to the user whose device you want to confirm.

ConfirmDevice, confirmDevice_deviceKey - The device key.

Request Lenses

confirmDevice_accessToken :: Lens' ConfirmDevice Text Source #

A valid access token that Amazon Cognito issued to the user whose device you want to confirm.

Destructuring the Response

data ConfirmDeviceResponse Source #

Confirms the device response.

See: newConfirmDeviceResponse smart constructor.

Constructors

ConfirmDeviceResponse' 

Fields

Instances

Instances details
Generic ConfirmDeviceResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

Associated Types

type Rep ConfirmDeviceResponse :: Type -> Type #

Read ConfirmDeviceResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

Show ConfirmDeviceResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

NFData ConfirmDeviceResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

Methods

rnf :: ConfirmDeviceResponse -> () #

Eq ConfirmDeviceResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

type Rep ConfirmDeviceResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

type Rep ConfirmDeviceResponse = D1 ('MetaData "ConfirmDeviceResponse" "Amazonka.CognitoIdentityProvider.ConfirmDevice" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" 'False) (C1 ('MetaCons "ConfirmDeviceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userConfirmationNecessary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newConfirmDeviceResponse Source #

Create a value of ConfirmDeviceResponse 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:userConfirmationNecessary:ConfirmDeviceResponse', confirmDeviceResponse_userConfirmationNecessary - Indicates whether the user confirmation must confirm the device response.

$sel:httpStatus:ConfirmDeviceResponse', confirmDeviceResponse_httpStatus - The response's http status code.

Response Lenses

confirmDeviceResponse_userConfirmationNecessary :: Lens' ConfirmDeviceResponse (Maybe Bool) Source #

Indicates whether the user confirmation must confirm the device response.