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

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 beings 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 # 
Data ConfirmDevice Source # 

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 #

Read ConfirmDevice Source # 
Show ConfirmDevice Source # 
Generic ConfirmDevice Source # 

Associated Types

type Rep ConfirmDevice :: * -> * #

Hashable ConfirmDevice Source # 
NFData ConfirmDevice Source # 

Methods

rnf :: ConfirmDevice -> () #

AWSRequest ConfirmDevice Source # 
ToPath ConfirmDevice Source # 
ToHeaders ConfirmDevice Source # 
ToQuery ConfirmDevice Source # 
ToJSON ConfirmDevice Source # 

Methods

toJSON :: ConfirmDevice -> Value #

toEncoding :: ConfirmDevice -> Encoding #

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

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 # 
Data ConfirmDeviceResponse Source # 

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 # 
Show ConfirmDeviceResponse Source # 
Generic ConfirmDeviceResponse Source # 
NFData ConfirmDeviceResponse Source # 

Methods

rnf :: ConfirmDeviceResponse -> () #

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

Response Lenses

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

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