Changes the password for the specified IAM user.
For information about the parameters that are common to all actions, see Common Parameters.
The new password for the specified IAM user.
The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D). However, the format can be further restricted by the account administrator by setting a password policy on the AWS account. For more information, see UpdateAccountPasswordPolicy.
Length Constraints: Minimum length of 1. Maximum length of 128.
Allows this new password to be used only once by requiring the specified IAM user to set a new password on next sign-in.
The name of the user whose password you want to update.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
Length Constraints: Minimum length of 1. Maximum length of 64.
For information about the errors that are common to all actions, see Common Errors.
The request was rejected because it referenced an entity that is temporarily unmodifiable, such as a user name that was deleted and then recreated. The error indicates that the request is likely to succeed if you try again after waiting several minutes. The error message describes the entity.
HTTP Status Code: 409
The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.
HTTP Status Code: 409
The request was rejected because it referenced an entity that does not exist. The error message describes the entity.
HTTP Status Code: 404
The request was rejected because the provided password did not meet the requirements imposed by the account password policy.
HTTP Status Code: 400
The request processing has failed because of an unknown error, exception or failure.
HTTP Status Code: 500
https://iam.amazonaws.com/?Action=UpdateLoginProfile &UserName=Bob &Password=^L[p*#Z*8o)K &Version=2010-05-08 &AUTHPARAMS
<UpdateLoginProfileResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/"> <ResponseMetadata> <RequestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</RequestId> </ResponseMetadata> </UpdateLoginProfileResponse>
For more information about using this API in one of the language-specific AWS SDKs, see the following: