[−][src]Struct rusoto_cloudwatch::MetricAlarm
The details about a metric 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 data points 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, if this is an alarm based on a single metric.
metrics: Option<Vec<MetricDataQuery>>
An array of MetricDataQuery structures, used in an alarm based on a metric math expression. Each structure either retrieves a metric or performs a math expression. One item in the Metrics array is the math expression that the alarm watches. This expression by designated by having ReturnValue
set to true.
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.
threshold_metric_id: Option<String>
In an alarm based on an anomaly detection model, this is the ID of the ANOMALY_DETECTION_BAND
function used as the threshold for the alarm.
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 Clone for MetricAlarm
[src]
pub fn clone(&self) -> MetricAlarm
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MetricAlarm
[src]
impl Default for MetricAlarm
[src]
pub fn default() -> MetricAlarm
[src]
impl PartialEq<MetricAlarm> for MetricAlarm
[src]
pub fn eq(&self, other: &MetricAlarm) -> bool
[src]
pub fn ne(&self, other: &MetricAlarm) -> bool
[src]
impl StructuralPartialEq for MetricAlarm
[src]
Auto Trait Implementations
impl RefUnwindSafe for MetricAlarm
[src]
impl Send for MetricAlarm
[src]
impl Sync for MetricAlarm
[src]
impl Unpin for MetricAlarm
[src]
impl UnwindSafe for MetricAlarm
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,