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

CreateDeploymentAsync() public method

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

            return InvokeAsync<CreateDeploymentRequest,CreateDeploymentResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCodeDeployClient