#[non_exhaustive]pub struct GetMonitorOutput {
pub monitor_arn: String,
pub monitor_name: String,
pub state: MonitorState,
pub aggregation_period: i64,
pub tags: Option<HashMap<String, String>>,
pub probes: Option<Vec<Probe>>,
pub created_at: DateTime,
pub modified_at: DateTime,
/* private fields */
}
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: String
The ARN of the selected monitor.
monitor_name: String
The name of the monitor.
state: MonitorState
Lists the status of the state
of each monitor.
aggregation_period: i64
The aggregation period for the specified monitor.
The list of key-value pairs assigned to the monitor.
probes: Option<Vec<Probe>>
The details about each probe associated with that monitor.
created_at: DateTime
The time and date when the monitor was created.
modified_at: DateTime
The time and date when the monitor was last modified.
Implementations§
source§impl GetMonitorOutput
impl GetMonitorOutput
sourcepub fn monitor_arn(&self) -> &str
pub fn monitor_arn(&self) -> &str
The ARN of the selected monitor.
sourcepub fn monitor_name(&self) -> &str
pub fn monitor_name(&self) -> &str
The name of the monitor.
sourcepub fn state(&self) -> &MonitorState
pub fn state(&self) -> &MonitorState
Lists the status of the state
of each monitor.
sourcepub fn aggregation_period(&self) -> i64
pub fn aggregation_period(&self) -> i64
The aggregation period for the specified monitor.
The list of key-value pairs assigned to the monitor.
sourcepub fn probes(&self) -> &[Probe]
pub fn probes(&self) -> &[Probe]
The details about each probe associated with that monitor.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .probes.is_none()
.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The time and date when the monitor was created.
sourcepub fn modified_at(&self) -> &DateTime
pub fn modified_at(&self) -> &DateTime
The time and date when the monitor was last modified.
source§impl GetMonitorOutput
impl GetMonitorOutput
sourcepub fn builder() -> GetMonitorOutputBuilder
pub fn builder() -> GetMonitorOutputBuilder
Creates a new builder-style object to manufacture GetMonitorOutput
.
Trait Implementations§
source§impl Clone for GetMonitorOutput
impl Clone for GetMonitorOutput
source§fn clone(&self) -> GetMonitorOutput
fn clone(&self) -> GetMonitorOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetMonitorOutput
impl Debug for GetMonitorOutput
source§impl PartialEq for GetMonitorOutput
impl PartialEq for GetMonitorOutput
source§fn eq(&self, other: &GetMonitorOutput) -> bool
fn eq(&self, other: &GetMonitorOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetMonitorOutput
impl RequestId for GetMonitorOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetMonitorOutput
Auto Trait Implementations§
impl Freeze for GetMonitorOutput
impl RefUnwindSafe for GetMonitorOutput
impl Send for GetMonitorOutput
impl Sync for GetMonitorOutput
impl Unpin for GetMonitorOutput
impl UnwindSafe for GetMonitorOutput
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