Safe Haskell | None |
---|---|
Language | Haskell2010 |
Changes the password of the IAM user who is calling this action. The root account password is not affected by this action.
To change the password for a different user, see UpdateLoginProfile
. For
more information about modifying passwords, see Managing Passwords in the Using IAM guide.
http://docs.aws.amazon.com/IAM/latest/APIReference/API_ChangePassword.html
Request
data ChangePassword Source
Eq ChangePassword | |
Ord ChangePassword | |
Read ChangePassword | |
Show ChangePassword | |
AWSRequest ChangePassword | |
ToQuery ChangePassword | |
ToPath ChangePassword | |
ToHeaders ChangePassword | |
type Sv ChangePassword = IAM | |
type Rs ChangePassword = ChangePasswordResponse |
Request constructor
ChangePassword
constructor.
The fields accessible through corresponding lenses are:
Request lenses
cpNewPassword :: Lens' ChangePassword Text Source
The new password. The new password must conform to the AWS account's password policy, if one exists.
cpOldPassword :: Lens' ChangePassword Text Source
The IAM user's current password.
Response
Response constructor
changePasswordResponse :: ChangePasswordResponse Source
ChangePasswordResponse
constructor.