Amazon.OpsWorks.AmazonOpsWorksClient.SetLoadBasedAutoScalingAsync C# (CSharp) Method

SetLoadBasedAutoScalingAsync() public method

Initiates the asynchronous execution of the SetLoadBasedAutoScaling operation.
public SetLoadBasedAutoScalingAsync ( SetLoadBasedAutoScalingRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.OpsWorks.Model.SetLoadBasedAutoScalingRequest Container for the necessary parameters to execute the SetLoadBasedAutoScaling operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<SetLoadBasedAutoScalingResponse> SetLoadBasedAutoScalingAsync(SetLoadBasedAutoScalingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new SetLoadBasedAutoScalingRequestMarshaller();
            var unmarshaller = SetLoadBasedAutoScalingResponseUnmarshaller.Instance;

            return InvokeAsync<SetLoadBasedAutoScalingRequest,SetLoadBasedAutoScalingResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonOpsWorksClient