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

GetDeploymentGroupAsync() public method

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

            return InvokeAsync<GetDeploymentGroupRequest,GetDeploymentGroupResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCodeDeployClient