Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Allows the administrator to reset the password for a user.
- resetPassword :: Text -> Text -> Text -> ResetPassword
- data ResetPassword
- rpOrganizationId :: Lens' ResetPassword Text
- rpUserId :: Lens' ResetPassword Text
- rpPassword :: Lens' ResetPassword Text
- resetPasswordResponse :: Int -> ResetPasswordResponse
- data ResetPasswordResponse
- rprsResponseStatus :: Lens' ResetPasswordResponse Int
Creating a Request
Creates a value of ResetPassword
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rpOrganizationId
- The identifier of the organization that contains the user for which the password is reset.rpUserId
- The identifier of the user for whom the password is reset.rpPassword
- The new password for the user.
data ResetPassword Source #
See: resetPassword
smart constructor.
Request Lenses
rpOrganizationId :: Lens' ResetPassword Text Source #
The identifier of the organization that contains the user for which the password is reset.
rpUserId :: Lens' ResetPassword Text Source #
The identifier of the user for whom the password is reset.
rpPassword :: Lens' ResetPassword Text Source #
The new password for the user.
Destructuring the Response
resetPasswordResponse Source #
Creates a value of ResetPasswordResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rprsResponseStatus
- -- | The response status code.
data ResetPasswordResponse Source #
See: resetPasswordResponse
smart constructor.
Response Lenses
rprsResponseStatus :: Lens' ResetPasswordResponse Int Source #
- - | The response status code.