Struct rusoto_cloudwatch::MetricAlarm[][src]

pub struct MetricAlarm {
    pub actions_enabled: Option<bool>,
    pub alarm_actions: Option<Vec<String>>,
    pub alarm_arn: Option<String>,
    pub alarm_configuration_updated_timestamp: Option<String>,
    pub alarm_description: Option<String>,
    pub alarm_name: Option<String>,
    pub comparison_operator: Option<String>,
    pub datapoints_to_alarm: Option<i64>,
    pub dimensions: Option<Vec<Dimension>>,
    pub evaluate_low_sample_count_percentile: Option<String>,
    pub evaluation_periods: Option<i64>,
    pub extended_statistic: Option<String>,
    pub insufficient_data_actions: Option<Vec<String>>,
    pub metric_name: Option<String>,
    pub namespace: Option<String>,
    pub ok_actions: Option<Vec<String>>,
    pub period: Option<i64>,
    pub state_reason: Option<String>,
    pub state_reason_data: Option<String>,
    pub state_updated_timestamp: Option<String>,
    pub state_value: Option<String>,
    pub statistic: Option<String>,
    pub threshold: Option<f64>,
    pub treat_missing_data: Option<String>,
    pub unit: Option<String>,
}

Represents an alarm.

Fields

Indicates whether actions should be executed during any changes to the alarm state.

The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

The Amazon Resource Name (ARN) of the alarm.

The time stamp of the last update to the alarm configuration.

The description of the alarm.

The name of the alarm.

The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.

The number of datapoints that must be breaching to trigger the alarm.

The dimensions for the metric associated with the alarm.

Used only for alarms based on percentiles. If ignore, the alarm state does not change during periods with too few data points to be statistically significant. If evaluate or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available.

The number of periods over which data is compared to the specified threshold.

The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

The name of the metric associated with the alarm.

The namespace of the metric associated with the alarm.

The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

The period, in seconds, over which the statistic is applied.

An explanation for the alarm state, in text format.

An explanation for the alarm state, in JSON format.

The time stamp of the last update to the alarm state.

The state value for the alarm.

The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ExtendedStatistic.

The value to compare with the specified statistic.

Sets how this alarm is to handle missing data points. If this parameter is omitted, the default behavior of missing is used.

The unit of the metric associated with the alarm.

Trait Implementations

impl Default for MetricAlarm
[src]

Returns the "default value" for a type. Read more

impl Debug for MetricAlarm
[src]

Formats the value using the given formatter. Read more

impl Clone for MetricAlarm
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for MetricAlarm
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for MetricAlarm

impl Sync for MetricAlarm