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

Contents

Description

Allows a user to enter a confirmation code to reset a forgotten 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:

  • cfpAnalyticsMetadata - The Amazon Pinpoint analytics metadata for collecting metrics for ConfirmForgotPassword calls.
  • cfpUserContextData - Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
  • 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 app client ID of the app 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. For more information, see
  • cfpPassword - The password 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 # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

Data ConfirmForgotPassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

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 #

Show ConfirmForgotPassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

Generic ConfirmForgotPassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

Associated Types

type Rep ConfirmForgotPassword :: Type -> Type #

Hashable ConfirmForgotPassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

ToJSON ConfirmForgotPassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

AWSRequest ConfirmForgotPassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

Associated Types

type Rs ConfirmForgotPassword :: Type #

ToHeaders ConfirmForgotPassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

ToPath ConfirmForgotPassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

ToQuery ConfirmForgotPassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

NFData ConfirmForgotPassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

Methods

rnf :: ConfirmForgotPassword -> () #

type Rep ConfirmForgotPassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

type Rep ConfirmForgotPassword = D1 (MetaData "ConfirmForgotPassword" "Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword" "amazonka-cognito-idp-1.6.1-IATNKTGZSOc4TejpW4Ifw7" False) (C1 (MetaCons "ConfirmForgotPassword'" PrefixI True) ((S1 (MetaSel (Just "_cfpAnalyticsMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AnalyticsMetadataType)) :*: (S1 (MetaSel (Just "_cfpUserContextData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserContextDataType)) :*: S1 (MetaSel (Just "_cfpSecretHash") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text))))) :*: ((S1 (MetaSel (Just "_cfpClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 (MetaSel (Just "_cfpUsername") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text))) :*: (S1 (MetaSel (Just "_cfpConfirmationCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cfpPassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text))))))
type Rs ConfirmForgotPassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

Request Lenses

cfpAnalyticsMetadata :: Lens' ConfirmForgotPassword (Maybe AnalyticsMetadataType) Source #

The Amazon Pinpoint analytics metadata for collecting metrics for ConfirmForgotPassword calls.

cfpUserContextData :: Lens' ConfirmForgotPassword (Maybe UserContextDataType) Source #

Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

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 app client ID of the app 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. For more information, see

cfpPassword :: Lens' ConfirmForgotPassword Text Source #

The password 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 # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

Data ConfirmForgotPasswordResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

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 # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

Show ConfirmForgotPasswordResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

Generic ConfirmForgotPasswordResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

Associated Types

type Rep ConfirmForgotPasswordResponse :: Type -> Type #

NFData ConfirmForgotPasswordResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

type Rep ConfirmForgotPasswordResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword

type Rep ConfirmForgotPasswordResponse = D1 (MetaData "ConfirmForgotPasswordResponse" "Network.AWS.CognitoIdentityProvider.ConfirmForgotPassword" "amazonka-cognito-idp-1.6.1-IATNKTGZSOc4TejpW4Ifw7" True) (C1 (MetaCons "ConfirmForgotPasswordResponse'" PrefixI True) (S1 (MetaSel (Just "_cfprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses