/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the monitoring-2010-08-01.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.CloudWatch { /// /// Constants used for properties of type ActionsSuppressedBy. /// public class ActionsSuppressedBy : ConstantClass { /// /// Constant Alarm for ActionsSuppressedBy /// public static readonly ActionsSuppressedBy Alarm = new ActionsSuppressedBy("Alarm"); /// /// Constant ExtensionPeriod for ActionsSuppressedBy /// public static readonly ActionsSuppressedBy ExtensionPeriod = new ActionsSuppressedBy("ExtensionPeriod"); /// /// Constant WaitPeriod for ActionsSuppressedBy /// public static readonly ActionsSuppressedBy WaitPeriod = new ActionsSuppressedBy("WaitPeriod"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ActionsSuppressedBy(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ActionsSuppressedBy FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ActionsSuppressedBy(string value) { return FindValue(value); } } /// /// Constants used for properties of type AlarmType. /// public class AlarmType : ConstantClass { /// /// Constant CompositeAlarm for AlarmType /// public static readonly AlarmType CompositeAlarm = new AlarmType("CompositeAlarm"); /// /// Constant MetricAlarm for AlarmType /// public static readonly AlarmType MetricAlarm = new AlarmType("MetricAlarm"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public AlarmType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static AlarmType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator AlarmType(string value) { return FindValue(value); } } /// /// Constants used for properties of type AnomalyDetectorStateValue. /// public class AnomalyDetectorStateValue : ConstantClass { /// /// Constant PENDING_TRAINING for AnomalyDetectorStateValue /// public static readonly AnomalyDetectorStateValue PENDING_TRAINING = new AnomalyDetectorStateValue("PENDING_TRAINING"); /// /// Constant TRAINED for AnomalyDetectorStateValue /// public static readonly AnomalyDetectorStateValue TRAINED = new AnomalyDetectorStateValue("TRAINED"); /// /// Constant TRAINED_INSUFFICIENT_DATA for AnomalyDetectorStateValue /// public static readonly AnomalyDetectorStateValue TRAINED_INSUFFICIENT_DATA = new AnomalyDetectorStateValue("TRAINED_INSUFFICIENT_DATA"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public AnomalyDetectorStateValue(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static AnomalyDetectorStateValue FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator AnomalyDetectorStateValue(string value) { return FindValue(value); } } /// /// Constants used for properties of type AnomalyDetectorType. /// public class AnomalyDetectorType : ConstantClass { /// /// Constant METRIC_MATH for AnomalyDetectorType /// public static readonly AnomalyDetectorType METRIC_MATH = new AnomalyDetectorType("METRIC_MATH"); /// /// Constant SINGLE_METRIC for AnomalyDetectorType /// public static readonly AnomalyDetectorType SINGLE_METRIC = new AnomalyDetectorType("SINGLE_METRIC"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public AnomalyDetectorType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static AnomalyDetectorType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator AnomalyDetectorType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ComparisonOperator. /// public class ComparisonOperator : ConstantClass { /// /// Constant GreaterThanOrEqualToThreshold for ComparisonOperator /// public static readonly ComparisonOperator GreaterThanOrEqualToThreshold = new ComparisonOperator("GreaterThanOrEqualToThreshold"); /// /// Constant GreaterThanThreshold for ComparisonOperator /// public static readonly ComparisonOperator GreaterThanThreshold = new ComparisonOperator("GreaterThanThreshold"); /// /// Constant GreaterThanUpperThreshold for ComparisonOperator /// public static readonly ComparisonOperator GreaterThanUpperThreshold = new ComparisonOperator("GreaterThanUpperThreshold"); /// /// Constant LessThanLowerOrGreaterThanUpperThreshold for ComparisonOperator /// public static readonly ComparisonOperator LessThanLowerOrGreaterThanUpperThreshold = new ComparisonOperator("LessThanLowerOrGreaterThanUpperThreshold"); /// /// Constant LessThanLowerThreshold for ComparisonOperator /// public static readonly ComparisonOperator LessThanLowerThreshold = new ComparisonOperator("LessThanLowerThreshold"); /// /// Constant LessThanOrEqualToThreshold for ComparisonOperator /// public static readonly ComparisonOperator LessThanOrEqualToThreshold = new ComparisonOperator("LessThanOrEqualToThreshold"); /// /// Constant LessThanThreshold for ComparisonOperator /// public static readonly ComparisonOperator LessThanThreshold = new ComparisonOperator("LessThanThreshold"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ComparisonOperator(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ComparisonOperator FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ComparisonOperator(string value) { return FindValue(value); } } /// /// Constants used for properties of type EvaluationState. /// public class EvaluationState : ConstantClass { /// /// Constant PARTIAL_DATA for EvaluationState /// public static readonly EvaluationState PARTIAL_DATA = new EvaluationState("PARTIAL_DATA"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public EvaluationState(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static EvaluationState FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator EvaluationState(string value) { return FindValue(value); } } /// /// Constants used for properties of type HistoryItemType. /// public class HistoryItemType : ConstantClass { /// /// Constant Action for HistoryItemType /// public static readonly HistoryItemType Action = new HistoryItemType("Action"); /// /// Constant ConfigurationUpdate for HistoryItemType /// public static readonly HistoryItemType ConfigurationUpdate = new HistoryItemType("ConfigurationUpdate"); /// /// Constant StateUpdate for HistoryItemType /// public static readonly HistoryItemType StateUpdate = new HistoryItemType("StateUpdate"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public HistoryItemType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static HistoryItemType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator HistoryItemType(string value) { return FindValue(value); } } /// /// Constants used for properties of type MetricStreamOutputFormat. /// public class MetricStreamOutputFormat : ConstantClass { /// /// Constant Json for MetricStreamOutputFormat /// public static readonly MetricStreamOutputFormat Json = new MetricStreamOutputFormat("json"); /// /// Constant Opentelemetry07 for MetricStreamOutputFormat /// public static readonly MetricStreamOutputFormat Opentelemetry07 = new MetricStreamOutputFormat("opentelemetry0.7"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public MetricStreamOutputFormat(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static MetricStreamOutputFormat FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator MetricStreamOutputFormat(string value) { return FindValue(value); } } /// /// Constants used for properties of type RecentlyActive. /// public class RecentlyActive : ConstantClass { /// /// Constant PT3H for RecentlyActive /// public static readonly RecentlyActive PT3H = new RecentlyActive("PT3H"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public RecentlyActive(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static RecentlyActive FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator RecentlyActive(string value) { return FindValue(value); } } /// /// Constants used for properties of type ScanBy. /// public class ScanBy : ConstantClass { /// /// Constant TimestampAscending for ScanBy /// public static readonly ScanBy TimestampAscending = new ScanBy("TimestampAscending"); /// /// Constant TimestampDescending for ScanBy /// public static readonly ScanBy TimestampDescending = new ScanBy("TimestampDescending"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ScanBy(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ScanBy FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ScanBy(string value) { return FindValue(value); } } /// /// Constants used for properties of type StandardUnit. /// public class StandardUnit : ConstantClass { /// /// Constant Bits for StandardUnit /// public static readonly StandardUnit Bits = new StandardUnit("Bits"); /// /// Constant BitsSecond for StandardUnit /// public static readonly StandardUnit BitsSecond = new StandardUnit("Bits/Second"); /// /// Constant Bytes for StandardUnit /// public static readonly StandardUnit Bytes = new StandardUnit("Bytes"); /// /// Constant BytesSecond for StandardUnit /// public static readonly StandardUnit BytesSecond = new StandardUnit("Bytes/Second"); /// /// Constant Count for StandardUnit /// public static readonly StandardUnit Count = new StandardUnit("Count"); /// /// Constant CountSecond for StandardUnit /// public static readonly StandardUnit CountSecond = new StandardUnit("Count/Second"); /// /// Constant Gigabits for StandardUnit /// public static readonly StandardUnit Gigabits = new StandardUnit("Gigabits"); /// /// Constant GigabitsSecond for StandardUnit /// public static readonly StandardUnit GigabitsSecond = new StandardUnit("Gigabits/Second"); /// /// Constant Gigabytes for StandardUnit /// public static readonly StandardUnit Gigabytes = new StandardUnit("Gigabytes"); /// /// Constant GigabytesSecond for StandardUnit /// public static readonly StandardUnit GigabytesSecond = new StandardUnit("Gigabytes/Second"); /// /// Constant Kilobits for StandardUnit /// public static readonly StandardUnit Kilobits = new StandardUnit("Kilobits"); /// /// Constant KilobitsSecond for StandardUnit /// public static readonly StandardUnit KilobitsSecond = new StandardUnit("Kilobits/Second"); /// /// Constant Kilobytes for StandardUnit /// public static readonly StandardUnit Kilobytes = new StandardUnit("Kilobytes"); /// /// Constant KilobytesSecond for StandardUnit /// public static readonly StandardUnit KilobytesSecond = new StandardUnit("Kilobytes/Second"); /// /// Constant Megabits for StandardUnit /// public static readonly StandardUnit Megabits = new StandardUnit("Megabits"); /// /// Constant MegabitsSecond for StandardUnit /// public static readonly StandardUnit MegabitsSecond = new StandardUnit("Megabits/Second"); /// /// Constant Megabytes for StandardUnit /// public static readonly StandardUnit Megabytes = new StandardUnit("Megabytes"); /// /// Constant MegabytesSecond for StandardUnit /// public static readonly StandardUnit MegabytesSecond = new StandardUnit("Megabytes/Second"); /// /// Constant Microseconds for StandardUnit /// public static readonly StandardUnit Microseconds = new StandardUnit("Microseconds"); /// /// Constant Milliseconds for StandardUnit /// public static readonly StandardUnit Milliseconds = new StandardUnit("Milliseconds"); /// /// Constant None for StandardUnit /// public static readonly StandardUnit None = new StandardUnit("None"); /// /// Constant Percent for StandardUnit /// public static readonly StandardUnit Percent = new StandardUnit("Percent"); /// /// Constant Seconds for StandardUnit /// public static readonly StandardUnit Seconds = new StandardUnit("Seconds"); /// /// Constant Terabits for StandardUnit /// public static readonly StandardUnit Terabits = new StandardUnit("Terabits"); /// /// Constant TerabitsSecond for StandardUnit /// public static readonly StandardUnit TerabitsSecond = new StandardUnit("Terabits/Second"); /// /// Constant Terabytes for StandardUnit /// public static readonly StandardUnit Terabytes = new StandardUnit("Terabytes"); /// /// Constant TerabytesSecond for StandardUnit /// public static readonly StandardUnit TerabytesSecond = new StandardUnit("Terabytes/Second"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public StandardUnit(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static StandardUnit FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator StandardUnit(string value) { return FindValue(value); } } /// /// Constants used for properties of type StateValue. /// public class StateValue : ConstantClass { /// /// Constant ALARM for StateValue /// public static readonly StateValue ALARM = new StateValue("ALARM"); /// /// Constant INSUFFICIENT_DATA for StateValue /// public static readonly StateValue INSUFFICIENT_DATA = new StateValue("INSUFFICIENT_DATA"); /// /// Constant OK for StateValue /// public static readonly StateValue OK = new StateValue("OK"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public StateValue(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static StateValue FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator StateValue(string value) { return FindValue(value); } } /// /// Constants used for properties of type Statistic. /// public class Statistic : ConstantClass { /// /// Constant Average for Statistic /// public static readonly Statistic Average = new Statistic("Average"); /// /// Constant Maximum for Statistic /// public static readonly Statistic Maximum = new Statistic("Maximum"); /// /// Constant Minimum for Statistic /// public static readonly Statistic Minimum = new Statistic("Minimum"); /// /// Constant SampleCount for Statistic /// public static readonly Statistic SampleCount = new Statistic("SampleCount"); /// /// Constant Sum for Statistic /// public static readonly Statistic Sum = new Statistic("Sum"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public Statistic(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static Statistic FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator Statistic(string value) { return FindValue(value); } } /// /// Constants used for properties of type StatusCode. /// public class StatusCode : ConstantClass { /// /// Constant Complete for StatusCode /// public static readonly StatusCode Complete = new StatusCode("Complete"); /// /// Constant Forbidden for StatusCode /// public static readonly StatusCode Forbidden = new StatusCode("Forbidden"); /// /// Constant InternalError for StatusCode /// public static readonly StatusCode InternalError = new StatusCode("InternalError"); /// /// Constant PartialData for StatusCode /// public static readonly StatusCode PartialData = new StatusCode("PartialData"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public StatusCode(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static StatusCode FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator StatusCode(string value) { return FindValue(value); } } }