Amazon.AutoScaling.AmazonAutoScalingClient.AttachLoadBalancerTargetGroupsAsync C# (CSharp) Method

AttachLoadBalancerTargetGroupsAsync() public method

Initiates the asynchronous execution of the AttachLoadBalancerTargetGroups operation.
public AttachLoadBalancerTargetGroupsAsync ( AttachLoadBalancerTargetGroupsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.AutoScaling.Model.AttachLoadBalancerTargetGroupsRequest Container for the necessary parameters to execute the AttachLoadBalancerTargetGroups operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<AttachLoadBalancerTargetGroupsResponse> AttachLoadBalancerTargetGroupsAsync(AttachLoadBalancerTargetGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new AttachLoadBalancerTargetGroupsRequestMarshaller();
            var unmarshaller = AttachLoadBalancerTargetGroupsResponseUnmarshaller.Instance;

            return InvokeAsync<AttachLoadBalancerTargetGroupsRequest,AttachLoadBalancerTargetGroupsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAutoScalingClient