Struct aws_sdk_codedeploy::model::InstanceSummary
source · #[non_exhaustive]pub struct InstanceSummary { /* private fields */ }
Expand description
Information about an instance in a deployment.
Implementations§
source§impl 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.
source§impl InstanceSummary
impl InstanceSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InstanceSummary
.
Trait Implementations§
source§impl Clone for InstanceSummary
impl Clone for InstanceSummary
source§fn clone(&self) -> InstanceSummary
fn clone(&self) -> InstanceSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceSummary
impl Debug for InstanceSummary
source§impl PartialEq<InstanceSummary> for InstanceSummary
impl PartialEq<InstanceSummary> for InstanceSummary
source§fn eq(&self, other: &InstanceSummary) -> bool
fn eq(&self, other: &InstanceSummary) -> bool
self
and other
values to be equal, and is used
by ==
.