Struct aws_sdk_ec2::types::InstanceStatus
source · #[non_exhaustive]pub struct InstanceStatus {
pub availability_zone: Option<String>,
pub outpost_arn: Option<String>,
pub events: Option<Vec<InstanceStatusEvent>>,
pub instance_id: Option<String>,
pub instance_state: Option<InstanceState>,
pub instance_status: Option<InstanceStatusSummary>,
pub system_status: Option<InstanceStatusSummary>,
}
Expand description
Describes the status of an instance.
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.availability_zone: Option<String>
The Availability Zone of the instance.
outpost_arn: Option<String>
The Amazon Resource Name (ARN) of the Outpost.
events: Option<Vec<InstanceStatusEvent>>
Any scheduled events associated with the instance.
instance_id: Option<String>
The ID of the instance.
instance_state: Option<InstanceState>
The intended state of the instance. DescribeInstanceStatus
requires that an instance be in the running
state.
instance_status: Option<InstanceStatusSummary>
Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.
system_status: Option<InstanceStatusSummary>
Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems.
Implementations§
source§impl InstanceStatus
impl InstanceStatus
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone of the instance.
sourcepub fn outpost_arn(&self) -> Option<&str>
pub fn outpost_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Outpost.
sourcepub fn events(&self) -> Option<&[InstanceStatusEvent]>
pub fn events(&self) -> Option<&[InstanceStatusEvent]>
Any scheduled events associated with the instance.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the instance.
sourcepub fn instance_state(&self) -> Option<&InstanceState>
pub fn instance_state(&self) -> Option<&InstanceState>
The intended state of the instance. DescribeInstanceStatus
requires that an instance be in the running
state.
sourcepub fn instance_status(&self) -> Option<&InstanceStatusSummary>
pub fn instance_status(&self) -> Option<&InstanceStatusSummary>
Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.
sourcepub fn system_status(&self) -> Option<&InstanceStatusSummary>
pub fn system_status(&self) -> Option<&InstanceStatusSummary>
Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems.
source§impl InstanceStatus
impl InstanceStatus
sourcepub fn builder() -> InstanceStatusBuilder
pub fn builder() -> InstanceStatusBuilder
Creates a new builder-style object to manufacture InstanceStatus
.
Trait Implementations§
source§impl Clone for InstanceStatus
impl Clone for InstanceStatus
source§fn clone(&self) -> InstanceStatus
fn clone(&self) -> InstanceStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceStatus
impl Debug for InstanceStatus
source§impl PartialEq<InstanceStatus> for InstanceStatus
impl PartialEq<InstanceStatus> for InstanceStatus
source§fn eq(&self, other: &InstanceStatus) -> bool
fn eq(&self, other: &InstanceStatus) -> bool
self
and other
values to be equal, and is used
by ==
.