#[non_exhaustive]pub struct PredictorMonitorEvaluation {
pub resource_arn: Option<String>,
pub monitor_arn: Option<String>,
pub evaluation_time: Option<DateTime>,
pub evaluation_state: Option<String>,
pub window_start_datetime: Option<DateTime>,
pub window_end_datetime: Option<DateTime>,
pub predictor_event: Option<PredictorEvent>,
pub monitor_data_source: Option<MonitorDataSource>,
pub metric_results: Option<Vec<MetricResult>>,
pub num_items_evaluated: Option<i64>,
pub message: Option<String>,
}
Expand description
Describes the results of a monitor evaluation.
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.resource_arn: Option<String>
The Amazon Resource Name (ARN) of the resource to monitor.
monitor_arn: Option<String>
The Amazon Resource Name (ARN) of the monitor resource.
evaluation_time: Option<DateTime>
The timestamp that indicates when the monitor evaluation was started.
evaluation_state: Option<String>
The status of the monitor evaluation. The state can be SUCCESS
or FAILURE
.
window_start_datetime: Option<DateTime>
The timestamp that indicates the start of the window that is used for monitor evaluation.
window_end_datetime: Option<DateTime>
The timestamp that indicates the end of the window that is used for monitor evaluation.
predictor_event: Option<PredictorEvent>
Provides details about a predictor event, such as a retraining.
monitor_data_source: Option<MonitorDataSource>
The source of the data the monitor resource used during the evaluation.
metric_results: Option<Vec<MetricResult>>
A list of metrics Forecast calculated when monitoring a predictor. You can compare the value for each metric in the list to the metric's value in the Baseline
to see how your predictor's performance is changing.
num_items_evaluated: Option<i64>
The number of items considered during the evaluation.
message: Option<String>
Information about any errors that may have occurred during the monitor evaluation.
Implementations§
source§impl PredictorMonitorEvaluation
impl PredictorMonitorEvaluation
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the resource to monitor.
sourcepub fn monitor_arn(&self) -> Option<&str>
pub fn monitor_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the monitor resource.
sourcepub fn evaluation_time(&self) -> Option<&DateTime>
pub fn evaluation_time(&self) -> Option<&DateTime>
The timestamp that indicates when the monitor evaluation was started.
sourcepub fn evaluation_state(&self) -> Option<&str>
pub fn evaluation_state(&self) -> Option<&str>
The status of the monitor evaluation. The state can be SUCCESS
or FAILURE
.
sourcepub fn window_start_datetime(&self) -> Option<&DateTime>
pub fn window_start_datetime(&self) -> Option<&DateTime>
The timestamp that indicates the start of the window that is used for monitor evaluation.
sourcepub fn window_end_datetime(&self) -> Option<&DateTime>
pub fn window_end_datetime(&self) -> Option<&DateTime>
The timestamp that indicates the end of the window that is used for monitor evaluation.
sourcepub fn predictor_event(&self) -> Option<&PredictorEvent>
pub fn predictor_event(&self) -> Option<&PredictorEvent>
Provides details about a predictor event, such as a retraining.
sourcepub fn monitor_data_source(&self) -> Option<&MonitorDataSource>
pub fn monitor_data_source(&self) -> Option<&MonitorDataSource>
The source of the data the monitor resource used during the evaluation.
sourcepub fn metric_results(&self) -> &[MetricResult]
pub fn metric_results(&self) -> &[MetricResult]
A list of metrics Forecast calculated when monitoring a predictor. You can compare the value for each metric in the list to the metric's value in the Baseline
to see how your predictor's performance is changing.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .metric_results.is_none()
.
sourcepub fn num_items_evaluated(&self) -> Option<i64>
pub fn num_items_evaluated(&self) -> Option<i64>
The number of items considered during the evaluation.
source§impl PredictorMonitorEvaluation
impl PredictorMonitorEvaluation
sourcepub fn builder() -> PredictorMonitorEvaluationBuilder
pub fn builder() -> PredictorMonitorEvaluationBuilder
Creates a new builder-style object to manufacture PredictorMonitorEvaluation
.
Trait Implementations§
source§impl Clone for PredictorMonitorEvaluation
impl Clone for PredictorMonitorEvaluation
source§fn clone(&self) -> PredictorMonitorEvaluation
fn clone(&self) -> PredictorMonitorEvaluation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PredictorMonitorEvaluation
impl Debug for PredictorMonitorEvaluation
source§impl PartialEq for PredictorMonitorEvaluation
impl PartialEq for PredictorMonitorEvaluation
source§fn eq(&self, other: &PredictorMonitorEvaluation) -> bool
fn eq(&self, other: &PredictorMonitorEvaluation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PredictorMonitorEvaluation
Auto Trait Implementations§
impl Freeze for PredictorMonitorEvaluation
impl RefUnwindSafe for PredictorMonitorEvaluation
impl Send for PredictorMonitorEvaluation
impl Sync for PredictorMonitorEvaluation
impl Unpin for PredictorMonitorEvaluation
impl UnwindSafe for PredictorMonitorEvaluation
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> 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