Struct aws_sdk_ec2::model::InstanceStatus
source · [−]#[non_exhaustive]pub struct InstanceStatus { /* private fields */ }
Expand description
Describes the status of an instance.
Implementations
sourceimpl 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.
sourceimpl InstanceStatus
impl InstanceStatus
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InstanceStatus
.
Trait Implementations
sourceimpl Clone for InstanceStatus
impl Clone for InstanceStatus
sourcefn clone(&self) -> InstanceStatus
fn clone(&self) -> InstanceStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InstanceStatus
impl Debug for InstanceStatus
sourceimpl PartialEq<InstanceStatus> for InstanceStatus
impl PartialEq<InstanceStatus> for InstanceStatus
sourcefn eq(&self, other: &InstanceStatus) -> bool
fn eq(&self, other: &InstanceStatus) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InstanceStatus) -> bool
fn ne(&self, other: &InstanceStatus) -> bool
This method tests for !=
.
impl StructuralPartialEq for InstanceStatus
Auto Trait Implementations
impl RefUnwindSafe for InstanceStatus
impl Send for InstanceStatus
impl Sync for InstanceStatus
impl Unpin for InstanceStatus
impl UnwindSafe for InstanceStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more