Amazon.CloudWatch.AmazonCloudWatchClient.EnableAlarmActionsAsync C# (CSharp) Метод

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

Initiates the asynchronous execution of the EnableAlarmActions operation.
public EnableAlarmActionsAsync ( EnableAlarmActionsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CloudWatch.Model.EnableAlarmActionsRequest Container for the necessary parameters to execute the EnableAlarmActions operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<EnableAlarmActionsResponse> EnableAlarmActionsAsync(EnableAlarmActionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new EnableAlarmActionsRequestMarshaller();
            var unmarshaller = EnableAlarmActionsResponseUnmarshaller.Instance;

            return InvokeAsync<EnableAlarmActionsRequest,EnableAlarmActionsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }