Struct aws_sdk_sagemaker::types::MonitoringAlertSummary
source · #[non_exhaustive]pub struct MonitoringAlertSummary {
pub monitoring_alert_name: Option<String>,
pub creation_time: Option<DateTime>,
pub last_modified_time: Option<DateTime>,
pub alert_status: Option<MonitoringAlertStatus>,
pub datapoints_to_alert: Option<i32>,
pub evaluation_period: Option<i32>,
pub actions: Option<MonitoringAlertActions>,
}
Expand description
Provides summary information about a monitor alert.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.monitoring_alert_name: Option<String>
The name of a monitoring alert.
creation_time: Option<DateTime>
A timestamp that indicates when a monitor alert was created.
last_modified_time: Option<DateTime>
A timestamp that indicates when a monitor alert was last updated.
alert_status: Option<MonitoringAlertStatus>
The current status of an alert.
datapoints_to_alert: Option<i32>
Within EvaluationPeriod
, how many execution failures will raise an alert.
evaluation_period: Option<i32>
The number of most recent monitoring executions to consider when evaluating alert status.
actions: Option<MonitoringAlertActions>
A list of alert actions taken in response to an alert going into InAlert
status.
Implementations§
source§impl MonitoringAlertSummary
impl MonitoringAlertSummary
sourcepub fn monitoring_alert_name(&self) -> Option<&str>
pub fn monitoring_alert_name(&self) -> Option<&str>
The name of a monitoring alert.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
A timestamp that indicates when a monitor alert was created.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
A timestamp that indicates when a monitor alert was last updated.
sourcepub fn alert_status(&self) -> Option<&MonitoringAlertStatus>
pub fn alert_status(&self) -> Option<&MonitoringAlertStatus>
The current status of an alert.
sourcepub fn datapoints_to_alert(&self) -> Option<i32>
pub fn datapoints_to_alert(&self) -> Option<i32>
Within EvaluationPeriod
, how many execution failures will raise an alert.
sourcepub fn evaluation_period(&self) -> Option<i32>
pub fn evaluation_period(&self) -> Option<i32>
The number of most recent monitoring executions to consider when evaluating alert status.
sourcepub fn actions(&self) -> Option<&MonitoringAlertActions>
pub fn actions(&self) -> Option<&MonitoringAlertActions>
A list of alert actions taken in response to an alert going into InAlert
status.
source§impl MonitoringAlertSummary
impl MonitoringAlertSummary
sourcepub fn builder() -> MonitoringAlertSummaryBuilder
pub fn builder() -> MonitoringAlertSummaryBuilder
Creates a new builder-style object to manufacture MonitoringAlertSummary
.
Trait Implementations§
source§impl Clone for MonitoringAlertSummary
impl Clone for MonitoringAlertSummary
source§fn clone(&self) -> MonitoringAlertSummary
fn clone(&self) -> MonitoringAlertSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MonitoringAlertSummary
impl Debug for MonitoringAlertSummary
source§impl PartialEq for MonitoringAlertSummary
impl PartialEq for MonitoringAlertSummary
source§fn eq(&self, other: &MonitoringAlertSummary) -> bool
fn eq(&self, other: &MonitoringAlertSummary) -> bool
self
and other
values to be equal, and is used
by ==
.