libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

Show ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

Generic ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

Associated Types

type Rep ConfirmDevice :: Type -> Type #

NFData ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

Methods

rnf :: ConfirmDevice -> () #

Hashable ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

ToJSON ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

AWSRequest ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

Associated Types

type AWSResponse 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

type Rep ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

type Rep ConfirmDevice = D1 ('MetaData "ConfirmDevice" "Amazonka.CognitoIdentityProvider.ConfirmDevice" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "ConfirmDevice'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deviceSecretVerifierConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeviceSecretVerifierConfigType)) :*: S1 ('MetaSel ('Just "deviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "deviceKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ConfirmDevice Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

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:

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

$sel:deviceName:ConfirmDevice', confirmDevice_deviceName - The device name.

$sel:accessToken:ConfirmDevice', confirmDevice_accessToken - The access token.

$sel:deviceKey:ConfirmDevice', confirmDevice_deviceKey - The device key.

Request Lenses

Destructuring the Response

data ConfirmDeviceResponse Source #

Confirms the device response.

See: newConfirmDeviceResponse smart constructor.

Constructors

ConfirmDeviceResponse' 

Fields

Instances

Instances details
Eq ConfirmDeviceResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

Read ConfirmDeviceResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

Show ConfirmDeviceResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

Generic ConfirmDeviceResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

Associated Types

type Rep ConfirmDeviceResponse :: Type -> Type #

NFData ConfirmDeviceResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

Methods

rnf :: ConfirmDeviceResponse -> () #

type Rep ConfirmDeviceResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ConfirmDevice

type Rep ConfirmDeviceResponse = D1 ('MetaData "ConfirmDeviceResponse" "Amazonka.CognitoIdentityProvider.ConfirmDevice" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" '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 is necessary to 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 is necessary to confirm the device response.