Amazon.EC2.AmazonEC2Client.GetPasswordDataAsync C# (CSharp) Method

GetPasswordDataAsync() public method

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

            return InvokeAsync<GetPasswordDataRequest,GetPasswordDataResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client