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

RemoveAutoScalingPolicyAsync() public method

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

            return InvokeAsync<RemoveAutoScalingPolicyRequest,RemoveAutoScalingPolicyResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonElasticMapReduceClient