amazonka-iam-0.2.1: Amazon Identity and Access Management SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.ChangePassword

Contents

Description

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

Synopsis

Request

Request constructor

changePassword Source

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