Amazon.ElasticMapReduce.AmazonElasticMapReduceClient.PutAutoScalingPolicyAsync C# (CSharp) Method

PutAutoScalingPolicyAsync() public method

Initiates the asynchronous execution of the PutAutoScalingPolicy operation.
public PutAutoScalingPolicyAsync ( PutAutoScalingPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticMapReduce.Model.PutAutoScalingPolicyRequest Container for the necessary parameters to execute the PutAutoScalingPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<PutAutoScalingPolicyResponse> PutAutoScalingPolicyAsync(PutAutoScalingPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new PutAutoScalingPolicyRequestMarshaller();
            var unmarshaller = PutAutoScalingPolicyResponseUnmarshaller.Instance;

            return InvokeAsync<PutAutoScalingPolicyRequest,PutAutoScalingPolicyResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonElasticMapReduceClient