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 ==
.impl StructuralPartialEq for MonitoringAlertSummary
Auto Trait Implementations§
impl Freeze for MonitoringAlertSummary
impl RefUnwindSafe for MonitoringAlertSummary
impl Send for MonitoringAlertSummary
impl Sync for MonitoringAlertSummary
impl Unpin for MonitoringAlertSummary
impl UnwindSafe for MonitoringAlertSummary
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more