AWSSDKDocSamples.CloudWatch.CloudWatchSamples.CWEnableAlarmActions C# (CSharp) Méthode

CWEnableAlarmActions() public static méthode

public static CWEnableAlarmActions ( ) : void
Résultat 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
    }