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 |
Retrieves the password for the specified client ID or username.
- forgotPassword :: Text -> Text -> ForgotPassword
- data ForgotPassword
- fpSecretHash :: Lens' ForgotPassword (Maybe Text)
- fpClientId :: Lens' ForgotPassword Text
- fpUsername :: Lens' ForgotPassword Text
- forgotPasswordResponse :: Int -> ForgotPasswordResponse
- data ForgotPasswordResponse
- fprsCodeDeliveryDetails :: Lens' ForgotPasswordResponse (Maybe CodeDeliveryDetailsType)
- fprsResponseStatus :: Lens' ForgotPasswordResponse Int
Creating a Request
Creates a value of ForgotPassword
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ForgotPassword Source #
Represents the request to reset a user's password.
See: forgotPassword
smart constructor.
Request Lenses
fpSecretHash :: Lens' ForgotPassword (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.
fpClientId :: Lens' ForgotPassword Text Source #
The ID of the client associated with the user pool.
fpUsername :: Lens' ForgotPassword Text Source #
The user name of the user for whom you want to enter a code to retrieve a forgotten password.
Destructuring the Response
forgotPasswordResponse Source #
Creates a value of ForgotPasswordResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ForgotPasswordResponse Source #
Respresents the response from the server regarding the request to reset a password.
See: forgotPasswordResponse
smart constructor.
Response Lenses
fprsCodeDeliveryDetails :: Lens' ForgotPasswordResponse (Maybe CodeDeliveryDetailsType) Source #
Undocumented member.
fprsResponseStatus :: Lens' ForgotPasswordResponse Int Source #
The response status code.