Struct aws_sdk_forecast::types::MonitorSummary
source · #[non_exhaustive]pub struct MonitorSummary {
pub monitor_arn: Option<String>,
pub monitor_name: Option<String>,
pub resource_arn: Option<String>,
pub status: Option<String>,
pub creation_time: Option<DateTime>,
pub last_modification_time: Option<DateTime>,
}
Expand description
Provides a summary of the monitor properties used in the ListMonitors
operation. To get a complete set of properties, call the DescribeMonitor
operation, and provide the listed MonitorArn
.
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.monitor_arn: Option<String>
The Amazon Resource Name (ARN) of the monitor resource.
monitor_name: Option<String>
The name of the monitor resource.
resource_arn: Option<String>
The Amazon Resource Name (ARN) of the predictor being monitored.
status: Option<String>
The status of the monitor. States include:
-
ACTIVE
-
ACTIVE_STOPPING
,ACTIVE_STOPPED
-
UPDATE_IN_PROGRESS
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
creation_time: Option<DateTime>
When the monitor resource was created.
last_modification_time: Option<DateTime>
The last time the monitor resource was modified. The timestamp depends on the status of the job:
-
CREATE_PENDING
- TheCreationTime
. -
CREATE_IN_PROGRESS
- The current timestamp. -
STOPPED
- When the resource stopped. -
ACTIVE
orCREATE_FAILED
- When the monitor creation finished or failed.
Implementations§
source§impl MonitorSummary
impl MonitorSummary
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 monitor_name(&self) -> Option<&str>
pub fn monitor_name(&self) -> Option<&str>
The name of the monitor resource.
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the predictor being monitored.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the monitor. States include:
-
ACTIVE
-
ACTIVE_STOPPING
,ACTIVE_STOPPED
-
UPDATE_IN_PROGRESS
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
When the monitor resource was created.
sourcepub fn last_modification_time(&self) -> Option<&DateTime>
pub fn last_modification_time(&self) -> Option<&DateTime>
The last time the monitor resource was modified. The timestamp depends on the status of the job:
-
CREATE_PENDING
- TheCreationTime
. -
CREATE_IN_PROGRESS
- The current timestamp. -
STOPPED
- When the resource stopped. -
ACTIVE
orCREATE_FAILED
- When the monitor creation finished or failed.
source§impl MonitorSummary
impl MonitorSummary
sourcepub fn builder() -> MonitorSummaryBuilder
pub fn builder() -> MonitorSummaryBuilder
Creates a new builder-style object to manufacture MonitorSummary
.
Trait Implementations§
source§impl Clone for MonitorSummary
impl Clone for MonitorSummary
source§fn clone(&self) -> MonitorSummary
fn clone(&self) -> MonitorSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MonitorSummary
impl Debug for MonitorSummary
source§impl PartialEq for MonitorSummary
impl PartialEq for MonitorSummary
source§fn eq(&self, other: &MonitorSummary) -> bool
fn eq(&self, other: &MonitorSummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MonitorSummary
Auto Trait Implementations§
impl Freeze for MonitorSummary
impl RefUnwindSafe for MonitorSummary
impl Send for MonitorSummary
impl Sync for MonitorSummary
impl Unpin for MonitorSummary
impl UnwindSafe for MonitorSummary
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