AWSSDKDocSamples.CloudWatch.CloudWatchSamples.CWEnableAlarmActions C# (CSharp) Method

CWEnableAlarmActions() public static method

public static CWEnableAlarmActions ( ) : void
return void
    public static void CWEnableAlarmActions()
    {
      #region CWEnableAlarmActions
      var client = new AmazonCloudWatchClient();

      var request = new EnableAlarmActionsRequest
      {
        AlarmNames = new List<string>() 
          { "awseb-e-kkbEXAMPLE-stack-CloudwatchAlarmLow-1WVXD9EXAMPLE" }
      };

      client.EnableAlarmActions(request);
      #endregion
    }