Struct aws_sdk_ecs::operation::update_container_instances_state::UpdateContainerInstancesStateInput
source · #[non_exhaustive]pub struct UpdateContainerInstancesStateInput { /* private fields */ }Implementations§
source§impl UpdateContainerInstancesStateInput
impl UpdateContainerInstancesStateInput
sourcepub fn cluster(&self) -> Option<&str>
pub fn cluster(&self) -> Option<&str>
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.
sourcepub fn container_instances(&self) -> Option<&[String]>
pub fn container_instances(&self) -> Option<&[String]>
A list of up to 10 container instance IDs or full ARN entries.
sourcepub fn status(&self) -> Option<&ContainerInstanceStatus>
pub fn status(&self) -> 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.
source§impl UpdateContainerInstancesStateInput
impl UpdateContainerInstancesStateInput
sourcepub fn builder() -> UpdateContainerInstancesStateInputBuilder
pub fn builder() -> UpdateContainerInstancesStateInputBuilder
Creates a new builder-style object to manufacture UpdateContainerInstancesStateInput.
source§impl UpdateContainerInstancesStateInput
impl UpdateContainerInstancesStateInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateContainerInstancesState, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<UpdateContainerInstancesState, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateContainerInstancesState>
Trait Implementations§
source§impl Clone for UpdateContainerInstancesStateInput
impl Clone for UpdateContainerInstancesStateInput
source§fn clone(&self) -> UpdateContainerInstancesStateInput
fn clone(&self) -> UpdateContainerInstancesStateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq<UpdateContainerInstancesStateInput> for UpdateContainerInstancesStateInput
impl PartialEq<UpdateContainerInstancesStateInput> for UpdateContainerInstancesStateInput
source§fn eq(&self, other: &UpdateContainerInstancesStateInput) -> bool
fn eq(&self, other: &UpdateContainerInstancesStateInput) -> bool
self and other values to be equal, and is used
by ==.