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 |
Resets the specified user's password in a user pool as an administrator. Works on any user.
- adminResetUserPassword :: Text -> Text -> AdminResetUserPassword
- data AdminResetUserPassword
- arupUserPoolId :: Lens' AdminResetUserPassword Text
- arupUsername :: Lens' AdminResetUserPassword Text
- adminResetUserPasswordResponse :: Int -> AdminResetUserPasswordResponse
- data AdminResetUserPasswordResponse
- aruprsResponseStatus :: Lens' AdminResetUserPasswordResponse Int
Creating a Request
adminResetUserPassword Source #
Creates a value of AdminResetUserPassword
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AdminResetUserPassword Source #
Represents the request to reset a user's password as an administrator.
See: adminResetUserPassword
smart constructor.
Request Lenses
arupUserPoolId :: Lens' AdminResetUserPassword Text Source #
The user pool ID for the user pool where you want to reset the user's password.
arupUsername :: Lens' AdminResetUserPassword Text Source #
The user name of the user whose password you wish to reset.
Destructuring the Response
adminResetUserPasswordResponse Source #
Creates a value of AdminResetUserPasswordResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AdminResetUserPasswordResponse Source #
Represents the response from the server to reset a user password as an administrator.
See: adminResetUserPasswordResponse
smart constructor.
Response Lenses
aruprsResponseStatus :: Lens' AdminResetUserPasswordResponse Int Source #
The response status code.