amazonka-cognito-idp-1.6.1: Amazon Cognito Identity Provider SDK.

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

Network.AWS.CognitoIdentityProvider.ConfirmDevice

Contents

Description

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

Synopsis

Creating a Request

confirmDevice Source #

Creates a value of ConfirmDevice with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ConfirmDevice Source #

Confirms the device request.

See: confirmDevice smart constructor.

Instances
Eq ConfirmDevice Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmDevice

Data ConfirmDevice Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmDevice

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ConfirmDevice -> c ConfirmDevice #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ConfirmDevice #

toConstr :: ConfirmDevice -> Constr #

dataTypeOf :: ConfirmDevice -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ConfirmDevice) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ConfirmDevice) #

gmapT :: (forall b. Data b => b -> b) -> ConfirmDevice -> ConfirmDevice #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ConfirmDevice -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ConfirmDevice -> r #

gmapQ :: (forall d. Data d => d -> u) -> ConfirmDevice -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ConfirmDevice -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ConfirmDevice -> m ConfirmDevice #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ConfirmDevice -> m ConfirmDevice #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ConfirmDevice -> m ConfirmDevice #

Show ConfirmDevice Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmDevice

Generic ConfirmDevice Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmDevice

Associated Types

type Rep ConfirmDevice :: Type -> Type #

Hashable ConfirmDevice Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmDevice

ToJSON ConfirmDevice Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmDevice

AWSRequest ConfirmDevice Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmDevice

Associated Types

type Rs ConfirmDevice :: Type #

ToHeaders ConfirmDevice Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmDevice

ToPath ConfirmDevice Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmDevice

ToQuery ConfirmDevice Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmDevice

NFData ConfirmDevice Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmDevice

Methods

rnf :: ConfirmDevice -> () #

type Rep ConfirmDevice Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmDevice

type Rep ConfirmDevice = D1 (MetaData "ConfirmDevice" "Network.AWS.CognitoIdentityProvider.ConfirmDevice" "amazonka-cognito-idp-1.6.1-IATNKTGZSOc4TejpW4Ifw7" False) (C1 (MetaCons "ConfirmDevice'" PrefixI True) ((S1 (MetaSel (Just "_cdDeviceSecretVerifierConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeviceSecretVerifierConfigType)) :*: S1 (MetaSel (Just "_cdDeviceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 (MetaSel (Just "_cdDeviceKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ConfirmDevice Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmDevice

Request Lenses

cdDeviceSecretVerifierConfig :: Lens' ConfirmDevice (Maybe DeviceSecretVerifierConfigType) Source #

The configuration of the device secret verifier.

Destructuring the Response

confirmDeviceResponse Source #

Creates a value of ConfirmDeviceResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ConfirmDeviceResponse Source #

Confirms the device response.

See: confirmDeviceResponse smart constructor.

Instances
Eq ConfirmDeviceResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmDevice

Data ConfirmDeviceResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmDevice

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ConfirmDeviceResponse -> c ConfirmDeviceResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ConfirmDeviceResponse #

toConstr :: ConfirmDeviceResponse -> Constr #

dataTypeOf :: ConfirmDeviceResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ConfirmDeviceResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ConfirmDeviceResponse) #

gmapT :: (forall b. Data b => b -> b) -> ConfirmDeviceResponse -> ConfirmDeviceResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ConfirmDeviceResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ConfirmDeviceResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ConfirmDeviceResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ConfirmDeviceResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ConfirmDeviceResponse -> m ConfirmDeviceResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ConfirmDeviceResponse -> m ConfirmDeviceResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ConfirmDeviceResponse -> m ConfirmDeviceResponse #

Read ConfirmDeviceResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmDevice

Show ConfirmDeviceResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmDevice

Generic ConfirmDeviceResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmDevice

Associated Types

type Rep ConfirmDeviceResponse :: Type -> Type #

NFData ConfirmDeviceResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmDevice

Methods

rnf :: ConfirmDeviceResponse -> () #

type Rep ConfirmDeviceResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmDevice

type Rep ConfirmDeviceResponse = D1 (MetaData "ConfirmDeviceResponse" "Network.AWS.CognitoIdentityProvider.ConfirmDevice" "amazonka-cognito-idp-1.6.1-IATNKTGZSOc4TejpW4Ifw7" False) (C1 (MetaCons "ConfirmDeviceResponse'" PrefixI True) (S1 (MetaSel (Just "_cdrsUserConfirmationNecessary") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_cdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

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

Indicates whether the user confirmation is necessary to confirm the device response.

cdrsResponseStatus :: Lens' ConfirmDeviceResponse Int Source #

  • - | The response status code.