Struct aws_sdk_codedeploy::model::InstanceSummary
source · [−]#[non_exhaustive]pub struct InstanceSummary { /* private fields */ }
InstanceSummary is deprecated, use DeploymentTarget instead.
Expand description
Information about an instance in a deployment.
Implementations
sourceimpl InstanceSummary
impl InstanceSummary
sourcepub fn deployment_id(&self) -> Option<&str>
pub fn deployment_id(&self) -> Option<&str>
The unique ID of a deployment.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The instance ID.
sourcepub fn status(&self) -> Option<&InstanceStatus>
pub fn status(&self) -> Option<&InstanceStatus>
The deployment status for this instance:
-
Pending
: The deployment is pending for this instance. -
In Progress
: The deployment is in progress for this instance. -
Succeeded
: The deployment has succeeded for this instance. -
Failed
: The deployment has failed for this instance. -
Skipped
: The deployment has been skipped for this instance. -
Unknown
: The deployment status is unknown for this instance.
sourcepub fn last_updated_at(&self) -> Option<&DateTime>
pub fn last_updated_at(&self) -> Option<&DateTime>
A timestamp that indicates when the instance information was last updated.
sourcepub fn lifecycle_events(&self) -> Option<&[LifecycleEvent]>
pub fn lifecycle_events(&self) -> Option<&[LifecycleEvent]>
A list of lifecycle events for this instance.
sourcepub fn instance_type(&self) -> Option<&InstanceType>
pub fn instance_type(&self) -> Option<&InstanceType>
Information about which environment an instance belongs to in a blue/green deployment.
-
BLUE: The instance is part of the original environment.
-
GREEN: The instance is part of the replacement environment.
sourceimpl InstanceSummary
impl InstanceSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InstanceSummary
.
Trait Implementations
sourceimpl Clone for InstanceSummary
impl Clone for InstanceSummary
sourcefn clone(&self) -> InstanceSummary
fn clone(&self) -> InstanceSummary
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 InstanceSummary
impl Debug for InstanceSummary
sourceimpl PartialEq<InstanceSummary> for InstanceSummary
impl PartialEq<InstanceSummary> for InstanceSummary
sourcefn eq(&self, other: &InstanceSummary) -> bool
fn eq(&self, other: &InstanceSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InstanceSummary) -> bool
fn ne(&self, other: &InstanceSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for InstanceSummary
Auto Trait Implementations
impl RefUnwindSafe for InstanceSummary
impl Send for InstanceSummary
impl Sync for InstanceSummary
impl Unpin for InstanceSummary
impl UnwindSafe for InstanceSummary
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