Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Allows a user to enter a code provided when they reset their password to update their password.
- confirmForgotPassword :: Text -> Text -> Text -> Text -> ConfirmForgotPassword
- data ConfirmForgotPassword
- cfpSecretHash :: Lens' ConfirmForgotPassword (Maybe Text)
- cfpClientId :: Lens' ConfirmForgotPassword Text
- cfpUsername :: Lens' ConfirmForgotPassword Text
- cfpConfirmationCode :: Lens' ConfirmForgotPassword Text
- cfpPassword :: Lens' ConfirmForgotPassword Text
- confirmForgotPasswordResponse :: Int -> ConfirmForgotPasswordResponse
- data ConfirmForgotPasswordResponse
- cfprsResponseStatus :: Lens' ConfirmForgotPasswordResponse Int
Creating a Request
confirmForgotPassword Source #
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> ConfirmForgotPassword |
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:
data ConfirmForgotPassword Source #
The request representing the confirmation for a password reset.
See: confirmForgotPassword
smart constructor.
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.
Response Lenses
cfprsResponseStatus :: Lens' ConfirmForgotPasswordResponse Int Source #
The response status code.