Struct aws_sdk_codedeploy::model::InstanceSummary [−][src]
#[non_exhaustive]pub struct InstanceSummary {
pub deployment_id: Option<String>,
pub instance_id: Option<String>,
pub status: Option<InstanceStatus>,
pub last_updated_at: Option<DateTime>,
pub lifecycle_events: Option<Vec<LifecycleEvent>>,
pub instance_type: Option<InstanceType>,
}
Expand description
Information about an instance in a deployment.
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.deployment_id: Option<String>
The unique ID of a deployment.
instance_id: Option<String>
The instance ID.
status: 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.
last_updated_at: Option<DateTime>
A timestamp that indicates when the instance information was last updated.
lifecycle_events: Option<Vec<LifecycleEvent>>
A list of lifecycle events for this instance.
instance_type: 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.
Implementations
The unique ID of a deployment.
The instance ID.
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.
A timestamp that indicates when the instance information was last updated.
A list of lifecycle events for this instance.
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.
Creates a new builder-style object to manufacture InstanceSummary
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more