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

ChangePasswordAsync() public method

Initiates the asynchronous execution of the ChangePassword operation.
public ChangePasswordAsync ( ChangePasswordRequest request, System cancellationToken = default(CancellationToken) ) : Task
request ChangePasswordRequest Container for the necessary parameters to execute the ChangePassword operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<ChangePasswordResponse> ChangePasswordAsync(ChangePasswordRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new ChangePasswordRequestMarshaller();
            var unmarshaller = ChangePasswordResponseUnmarshaller.Instance;

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