#[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<InstanceHealthSummary> for InstanceHealthSummary
impl PartialEq<InstanceHealthSummary> 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 ==
.