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

CreateDeploymentGroupAsync() public method

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

            return InvokeAsync<CreateDeploymentGroupRequest,CreateDeploymentGroupResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCodeDeployClient