Struct aws_sdk_elasticbeanstalk::operation::describe_environment_health::DescribeEnvironmentHealthOutput
source · #[non_exhaustive]pub struct DescribeEnvironmentHealthOutput {
pub environment_name: Option<String>,
pub health_status: Option<String>,
pub status: Option<EnvironmentHealth>,
pub color: Option<String>,
pub causes: Option<Vec<String>>,
pub application_metrics: Option<ApplicationMetrics>,
pub instances_health: Option<InstanceHealthSummary>,
pub refreshed_at: Option<DateTime>,
/* private fields */
}
Expand description
Health details for an AWS Elastic Beanstalk environment.
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.environment_name: Option<String>
The environment's name.
health_status: Option<String>
The health status of the environment. For example, Ok
.
status: Option<EnvironmentHealth>
The environment's operational status. Ready
, Launching
, Updating
, Terminating
, or Terminated
.
color: Option<String>
The health color of the environment.
causes: Option<Vec<String>>
Descriptions of the data that contributed to the environment's current health status.
application_metrics: Option<ApplicationMetrics>
Application request metrics for the environment.
instances_health: Option<InstanceHealthSummary>
Summary health information for the instances in the environment.
refreshed_at: Option<DateTime>
The date and time that the health information was retrieved.
Implementations§
source§impl DescribeEnvironmentHealthOutput
impl DescribeEnvironmentHealthOutput
sourcepub fn environment_name(&self) -> Option<&str>
pub fn environment_name(&self) -> Option<&str>
The environment's name.
sourcepub fn health_status(&self) -> Option<&str>
pub fn health_status(&self) -> Option<&str>
The health status of the environment. For example, Ok
.
sourcepub fn status(&self) -> Option<&EnvironmentHealth>
pub fn status(&self) -> Option<&EnvironmentHealth>
The environment's operational status. Ready
, Launching
, Updating
, Terminating
, or Terminated
.
sourcepub fn color(&self) -> Option<&str>
pub fn color(&self) -> Option<&str>
The health color of the environment.
sourcepub fn causes(&self) -> &[String]
pub fn causes(&self) -> &[String]
Descriptions of the data that contributed to the environment's current health status.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .causes.is_none()
.
sourcepub fn application_metrics(&self) -> Option<&ApplicationMetrics>
pub fn application_metrics(&self) -> Option<&ApplicationMetrics>
Application request metrics for the environment.
sourcepub fn instances_health(&self) -> Option<&InstanceHealthSummary>
pub fn instances_health(&self) -> Option<&InstanceHealthSummary>
Summary health information for the instances in the environment.
sourcepub fn refreshed_at(&self) -> Option<&DateTime>
pub fn refreshed_at(&self) -> Option<&DateTime>
The date and time that the health information was retrieved.
source§impl DescribeEnvironmentHealthOutput
impl DescribeEnvironmentHealthOutput
sourcepub fn builder() -> DescribeEnvironmentHealthOutputBuilder
pub fn builder() -> DescribeEnvironmentHealthOutputBuilder
Creates a new builder-style object to manufacture DescribeEnvironmentHealthOutput
.
Trait Implementations§
source§impl Clone for DescribeEnvironmentHealthOutput
impl Clone for DescribeEnvironmentHealthOutput
source§fn clone(&self) -> DescribeEnvironmentHealthOutput
fn clone(&self) -> DescribeEnvironmentHealthOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DescribeEnvironmentHealthOutput
impl PartialEq for DescribeEnvironmentHealthOutput
source§fn eq(&self, other: &DescribeEnvironmentHealthOutput) -> bool
fn eq(&self, other: &DescribeEnvironmentHealthOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeEnvironmentHealthOutput
impl RequestId for DescribeEnvironmentHealthOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for DescribeEnvironmentHealthOutput
Auto Trait Implementations§
impl Freeze for DescribeEnvironmentHealthOutput
impl RefUnwindSafe for DescribeEnvironmentHealthOutput
impl Send for DescribeEnvironmentHealthOutput
impl Sync for DescribeEnvironmentHealthOutput
impl Unpin for DescribeEnvironmentHealthOutput
impl UnwindSafe for DescribeEnvironmentHealthOutput
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