[−][src]Struct rusoto_cloudwatch::MetricAlarm
Represents an alarm.
Fields
actions_enabled: Option<bool>
Indicates whether actions should be executed during any changes to the alarm state.
alarm_actions: Option<Vec<String>>
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).
alarm_arn: Option<String>
The Amazon Resource Name (ARN) of the alarm.
alarm_configuration_updated_timestamp: Option<String>
The time stamp of the last update to the alarm configuration.
alarm_description: Option<String>
The description of the alarm.
alarm_name: Option<String>
The name of the alarm.
comparison_operator: Option<String>
The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
datapoints_to_alarm: Option<i64>
The number of datapoints that must be breaching to trigger the alarm.
dimensions: Option<Vec<Dimension>>
The dimensions for the metric associated with the alarm.
evaluate_low_sample_count_percentile: Option<String>
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.
evaluation_periods: Option<i64>
The number of periods over which data is compared to the specified threshold.
extended_statistic: Option<String>
The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.
insufficient_data_actions: Option<Vec<String>>
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).
metric_name: Option<String>
The name of the metric associated with the alarm.
metrics: Option<Vec<MetricDataQuery>>
namespace: Option<String>
The namespace of the metric associated with the alarm.
ok_actions: Option<Vec<String>>
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).
period: Option<i64>
The period, in seconds, over which the statistic is applied.
state_reason: Option<String>
An explanation for the alarm state, in text format.
state_reason_data: Option<String>
An explanation for the alarm state, in JSON format.
state_updated_timestamp: Option<String>
The time stamp of the last update to the alarm state.
state_value: Option<String>
The state value for the alarm.
statistic: Option<String>
The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ExtendedStatistic
.
threshold: Option<f64>
The value to compare with the specified statistic.
treat_missing_data: Option<String>
Sets how this alarm is to handle missing data points. If this parameter is omitted, the default behavior of missing
is used.
unit: Option<String>
The unit of the metric associated with the alarm.
Trait Implementations
impl PartialEq<MetricAlarm> for MetricAlarm
[src]
fn eq(&self, other: &MetricAlarm) -> bool
[src]
fn ne(&self, other: &MetricAlarm) -> bool
[src]
impl Default for MetricAlarm
[src]
fn default() -> MetricAlarm
[src]
impl Clone for MetricAlarm
[src]
fn clone(&self) -> MetricAlarm
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for MetricAlarm
[src]
Auto Trait Implementations
impl Send for MetricAlarm
impl Sync for MetricAlarm
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self