#[non_exhaustive]pub struct InstanceHealthSummary {
pub no_data: Option<i32>,
pub unknown: Option<i32>,
pub pending: Option<i32>,
pub ok: Option<i32>,
pub info: Option<i32>,
pub warning: Option<i32>,
pub degraded: Option<i32>,
pub severe: Option<i32>,
}
Expand description
Represents summary information about the health of an instance. For more information, see Health Colors and Statuses.
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.no_data: Option<i32>
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
unknown: Option<i32>
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
pending: Option<i32>
Grey. An operation is in progress on an instance within the command timeout.
ok: Option<i32>
Green. An instance is passing health checks and the health agent is not reporting any problems.
info: Option<i32>
Green. An operation is in progress on an instance.
warning: Option<i32>
Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
degraded: Option<i32>
Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.
severe: Option<i32>
Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment.
Implementations§
source§impl InstanceHealthSummary
impl InstanceHealthSummary
sourcepub fn no_data(&self) -> Option<i32>
pub fn no_data(&self) -> Option<i32>
Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
sourcepub fn unknown(&self) -> Option<i32>
pub fn unknown(&self) -> Option<i32>
Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
sourcepub fn pending(&self) -> Option<i32>
pub fn pending(&self) -> Option<i32>
Grey. An operation is in progress on an instance within the command timeout.
sourcepub fn ok(&self) -> Option<i32>
pub fn ok(&self) -> Option<i32>
Green. An instance is passing health checks and the health agent is not reporting any problems.
sourcepub fn warning(&self) -> Option<i32>
pub fn warning(&self) -> Option<i32>
Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
source§impl InstanceHealthSummary
impl InstanceHealthSummary
sourcepub fn builder() -> InstanceHealthSummaryBuilder
pub fn builder() -> InstanceHealthSummaryBuilder
Creates a new builder-style object to manufacture InstanceHealthSummary
.
Trait Implementations§
source§impl Clone for InstanceHealthSummary
impl Clone for InstanceHealthSummary
source§fn clone(&self) -> InstanceHealthSummary
fn clone(&self) -> InstanceHealthSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceHealthSummary
impl Debug for InstanceHealthSummary
source§impl PartialEq for InstanceHealthSummary
impl PartialEq for InstanceHealthSummary
source§fn eq(&self, other: &InstanceHealthSummary) -> bool
fn eq(&self, other: &InstanceHealthSummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceHealthSummary
Auto Trait Implementations§
impl Freeze for InstanceHealthSummary
impl RefUnwindSafe for InstanceHealthSummary
impl Send for InstanceHealthSummary
impl Sync for InstanceHealthSummary
impl Unpin for InstanceHealthSummary
impl UnwindSafe for InstanceHealthSummary
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