Amazon.AutoScaling.AmazonAutoScalingClient.PutScalingPolicyAsync C# (CSharp) Метод

PutScalingPolicyAsync() публичный Метод

Initiates the asynchronous execution of the PutScalingPolicy operation.
public PutScalingPolicyAsync ( PutScalingPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request PutScalingPolicyRequest Container for the necessary parameters to execute the PutScalingPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<PutScalingPolicyResponse> PutScalingPolicyAsync(PutScalingPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new PutScalingPolicyRequestMarshaller();
            var unmarshaller = PutScalingPolicyResponseUnmarshaller.Instance;

            return InvokeAsync<PutScalingPolicyRequest,PutScalingPolicyResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAutoScalingClient