Struct aws_sdk_codedeploy::operation::list_deployment_instances::ListDeploymentInstancesInput
source · #[non_exhaustive]pub struct ListDeploymentInstancesInput {
pub deployment_id: Option<String>,
pub next_token: Option<String>,
pub instance_status_filter: Option<Vec<InstanceStatus>>,
pub instance_type_filter: Option<Vec<InstanceType>>,
}
Expand description
Represents the input of a ListDeploymentInstances
operation.
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.
next_token: Option<String>
An identifier returned from the previous list deployment instances call. It can be used to return the next set of deployment instances in the list.
instance_status_filter: Option<Vec<InstanceStatus>>
A subset of instances to list by status:
-
Pending
: Include those instances with pending deployments. -
InProgress
: Include those instances where deployments are still in progress. -
Succeeded
: Include those instances with successful deployments. -
Failed
: Include those instances with failed deployments. -
Skipped
: Include those instances with skipped deployments. -
Unknown
: Include those instances with deployments in an unknown state.
instance_type_filter: Option<Vec<InstanceType>>
The set of instances in a blue/green deployment, either those in the original environment ("BLUE") or those in the replacement environment ("GREEN"), for which you want to view instance information.
Implementations§
source§impl ListDeploymentInstancesInput
impl ListDeploymentInstancesInput
sourcepub fn deployment_id(&self) -> Option<&str>
pub fn deployment_id(&self) -> Option<&str>
The unique ID of a deployment.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
An identifier returned from the previous list deployment instances call. It can be used to return the next set of deployment instances in the list.
sourcepub fn instance_status_filter(&self) -> &[InstanceStatus]
pub fn instance_status_filter(&self) -> &[InstanceStatus]
A subset of instances to list by status:
-
Pending
: Include those instances with pending deployments. -
InProgress
: Include those instances where deployments are still in progress. -
Succeeded
: Include those instances with successful deployments. -
Failed
: Include those instances with failed deployments. -
Skipped
: Include those instances with skipped deployments. -
Unknown
: Include those instances with deployments in an unknown state.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .instance_status_filter.is_none()
.
sourcepub fn instance_type_filter(&self) -> &[InstanceType]
pub fn instance_type_filter(&self) -> &[InstanceType]
The set of instances in a blue/green deployment, either those in the original environment ("BLUE") or those in the replacement environment ("GREEN"), for which you want to view instance information.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .instance_type_filter.is_none()
.
source§impl ListDeploymentInstancesInput
impl ListDeploymentInstancesInput
sourcepub fn builder() -> ListDeploymentInstancesInputBuilder
pub fn builder() -> ListDeploymentInstancesInputBuilder
Creates a new builder-style object to manufacture ListDeploymentInstancesInput
.
Trait Implementations§
source§impl Clone for ListDeploymentInstancesInput
impl Clone for ListDeploymentInstancesInput
source§fn clone(&self) -> ListDeploymentInstancesInput
fn clone(&self) -> ListDeploymentInstancesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListDeploymentInstancesInput
impl Debug for ListDeploymentInstancesInput
source§impl PartialEq for ListDeploymentInstancesInput
impl PartialEq for ListDeploymentInstancesInput
source§fn eq(&self, other: &ListDeploymentInstancesInput) -> bool
fn eq(&self, other: &ListDeploymentInstancesInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListDeploymentInstancesInput
Auto Trait Implementations§
impl Freeze for ListDeploymentInstancesInput
impl RefUnwindSafe for ListDeploymentInstancesInput
impl Send for ListDeploymentInstancesInput
impl Sync for ListDeploymentInstancesInput
impl Unpin for ListDeploymentInstancesInput
impl UnwindSafe for ListDeploymentInstancesInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more