Amazon.CodeDeploy.AmazonCodeDeployClient.GetDeploymentInstanceAsync C# (CSharp) Method

GetDeploymentInstanceAsync() public method

Initiates the asynchronous execution of the GetDeploymentInstance operation.
public GetDeploymentInstanceAsync ( GetDeploymentInstanceRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeDeploy.Model.GetDeploymentInstanceRequest Container for the necessary parameters to execute the GetDeploymentInstance operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<GetDeploymentInstanceResponse> GetDeploymentInstanceAsync(GetDeploymentInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new GetDeploymentInstanceRequestMarshaller();
            var unmarshaller = GetDeploymentInstanceResponseUnmarshaller.Instance;

            return InvokeAsync<GetDeploymentInstanceRequest,GetDeploymentInstanceResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCodeDeployClient