AWS SDK for .NET Documentation
ChangePassword Method (request)
AmazonAmazon.IdentityManagementAmazonIdentityManagementServiceClientChangePassword(ChangePasswordRequest) Did this page help you?   Yes   No    Tell us about it...
Changes the password of the IAM user calling
CopyC#
ChangePassword
. The root account password is not affected by this action. For information about modifying passwords, see Managing Passwords.
Declaration Syntax
C#
public ChangePasswordResponse ChangePassword(
	ChangePasswordRequest request
)
Parameters
request (ChangePasswordRequest)
Container for the necessary parameters to execute the ChangePassword service method.
Return Value
The response from the ChangePassword service method, as returned by IdentityManagementService.
Exceptions
ExceptionCondition
EntityTemporarilyUnmodifiableException 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.
InvalidUserTypeException The request was rejected because the type of user for the transaction was incorrect.
LimitExceededException The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.
NoSuchEntityException The request was rejected because it referenced an entity that does not exist. The error message describes the entity.
PasswordPolicyViolationException The request was rejected because the provided password did not meet the requirements imposed by the account password policy.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)