Amazon.SimpleSystemsManagement.AmazonSimpleSystemsManagementClient.GetCommandInvocationAsync C# (CSharp) Method

GetCommandInvocationAsync() public method

Initiates the asynchronous execution of the GetCommandInvocation operation.
public GetCommandInvocationAsync ( GetCommandInvocationRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.SimpleSystemsManagement.Model.GetCommandInvocationRequest Container for the necessary parameters to execute the GetCommandInvocation operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<GetCommandInvocationResponse> GetCommandInvocationAsync(GetCommandInvocationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new GetCommandInvocationRequestMarshaller();
            var unmarshaller = GetCommandInvocationResponseUnmarshaller.Instance;

            return InvokeAsync<GetCommandInvocationRequest,GetCommandInvocationResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonSimpleSystemsManagementClient