#[non_exhaustive]pub struct UpdateContainerInstancesStateInput {
pub cluster: Option<String>,
pub container_instances: Option<Vec<String>>,
pub status: Option<ContainerInstanceStatus>,
}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.cluster: Option<String>The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to update. If you do not specify a cluster, the default cluster is assumed.
container_instances: Option<Vec<String>>A list of up to 10 container instance IDs or full ARN entries.
status: Option<ContainerInstanceStatus>The container instance state to update the container instance with. The only valid values for this action are ACTIVE and DRAINING. A container instance can only be updated to DRAINING status once it has reached an ACTIVE state. If a container instance is in REGISTERING, DEREGISTERING, or REGISTRATION_FAILED state you can describe the container instance but can't update the container instance state.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateContainerInstancesState, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateContainerInstancesState, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateContainerInstancesState>
Creates a new builder-style object to manufacture UpdateContainerInstancesStateInput
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to update. If you do not specify a cluster, the default cluster is assumed.
A list of up to 10 container instance IDs or full ARN entries.
The container instance state to update the container instance with. The only valid values for this action are ACTIVE and DRAINING. A container instance can only be updated to DRAINING status once it has reached an ACTIVE state. If a container instance is in REGISTERING, DEREGISTERING, or REGISTRATION_FAILED state you can describe the container instance but can't update the container instance state.
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 Send for UpdateContainerInstancesStateInput
impl Sync for UpdateContainerInstancesStateInput
impl Unpin for UpdateContainerInstancesStateInput
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