Amazon.CognitoIdentityProvider.AmazonCognitoIdentityProviderClient.ChangePassword C# (CSharp) Method

ChangePassword() public method

Changes the password for a specified user in a user pool.
/// This exception is thrown when Amazon Cognito encounters an internal error. /// /// This exception is thrown when the Amazon Cognito service encounters an invalid parameter. /// /// This exception is thrown when the Amazon Cognito service encounters an invalid password. /// /// This exception is thrown when a user exceeds the limit for a requested AWS resource. /// /// This exception gets thrown when a user is not authorized. /// /// This exception is thrown when a password reset is required. /// /// This exception is thrown when the Amazon Cognito service cannot find the requested /// resource. /// /// This exception gets thrown when the user has made too many requests for a given operation. /// /// This exception is thrown when a user is not confirmed successfully. /// /// This exception is thrown when a user is not found. ///
public ChangePassword ( ChangePasswordRequest request ) : ChangePasswordResponse
request ChangePasswordRequest Container for the necessary parameters to execute the ChangePassword service method.
return ChangePasswordResponse
        public ChangePasswordResponse ChangePassword(ChangePasswordRequest request)
        {
            var marshaller = new ChangePasswordRequestMarshaller();
            var unmarshaller = ChangePasswordResponseUnmarshaller.Instance;

            return Invoke<ChangePasswordRequest,ChangePasswordResponse>(request, marshaller, unmarshaller);
        }
AmazonCognitoIdentityProviderClient