amazonka-cognito-idp-1.4.5: 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.ConfirmForgotPassword

Contents

Description

Allows a user to enter a code provided when they reset their password to update their password.

Synopsis

Creating a Request

confirmForgotPassword Source #

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

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

  • cfpSecretHash - A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.
  • cfpClientId - The ID of the client associated with the user pool.
  • cfpUsername - The user name of the user for whom you want to enter a code to retrieve a forgotten password.
  • cfpConfirmationCode - The confirmation code sent by a user's request to retrieve a forgotten password.
  • cfpPassword - The password sent by sent by a user's request to retrieve a forgotten password.

data ConfirmForgotPassword Source #

The request representing the confirmation for a password reset.

See: confirmForgotPassword smart constructor.

Instances

Eq ConfirmForgotPassword Source # 
Data ConfirmForgotPassword Source # 

Methods

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

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

toConstr :: ConfirmForgotPassword -> Constr #

dataTypeOf :: ConfirmForgotPassword -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ConfirmForgotPassword Source # 
Show ConfirmForgotPassword Source # 
Generic ConfirmForgotPassword Source # 
Hashable ConfirmForgotPassword Source # 
ToJSON ConfirmForgotPassword Source # 
NFData ConfirmForgotPassword Source # 

Methods

rnf :: ConfirmForgotPassword -> () #

AWSRequest ConfirmForgotPassword Source # 
ToPath ConfirmForgotPassword Source # 
ToHeaders ConfirmForgotPassword Source # 
ToQuery ConfirmForgotPassword Source # 
type Rep ConfirmForgotPassword Source # 
type Rep ConfirmForgotPassword = D1 (MetaData "ConfirmForgotPassword" "Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword" "amazonka-cognito-idp-1.4.5-GXmpY7qnFXp3lLWwYVX1Gb" False) (C1 (MetaCons "ConfirmForgotPassword'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cfpSecretHash") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) (S1 (MetaSel (Just Symbol "_cfpClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_cfpUsername") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cfpConfirmationCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cfpPassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text)))))))
type Rs ConfirmForgotPassword Source # 

Request Lenses

cfpSecretHash :: Lens' ConfirmForgotPassword (Maybe Text) Source #

A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.

cfpClientId :: Lens' ConfirmForgotPassword Text Source #

The ID of the client associated with the user pool.

cfpUsername :: Lens' ConfirmForgotPassword Text Source #

The user name of the user for whom you want to enter a code to retrieve a forgotten password.

cfpConfirmationCode :: Lens' ConfirmForgotPassword Text Source #

The confirmation code sent by a user's request to retrieve a forgotten password.

cfpPassword :: Lens' ConfirmForgotPassword Text Source #

The password sent by sent by a user's request to retrieve a forgotten password.

Destructuring the Response

confirmForgotPasswordResponse Source #

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

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

data ConfirmForgotPasswordResponse Source #

The response from the server that results from a user's request to retrieve a forgotten password.

See: confirmForgotPasswordResponse smart constructor.

Instances

Eq ConfirmForgotPasswordResponse Source # 
Data ConfirmForgotPasswordResponse Source # 

Methods

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

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

toConstr :: ConfirmForgotPasswordResponse -> Constr #

dataTypeOf :: ConfirmForgotPasswordResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ConfirmForgotPasswordResponse Source # 
Show ConfirmForgotPasswordResponse Source # 
Generic ConfirmForgotPasswordResponse Source # 
NFData ConfirmForgotPasswordResponse Source # 
type Rep ConfirmForgotPasswordResponse Source # 
type Rep ConfirmForgotPasswordResponse = D1 (MetaData "ConfirmForgotPasswordResponse" "Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword" "amazonka-cognito-idp-1.4.5-GXmpY7qnFXp3lLWwYVX1Gb" True) (C1 (MetaCons "ConfirmForgotPasswordResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_cfprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses