pub struct UpdateContainerInstancesStateRequest {
pub cluster: Option<String>,
pub container_instances: Vec<String>,
pub status: String,
}
Fields§
§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: Vec<String>
A list of container instance IDs or full ARN entries.
status: String
The container instance state with which to update the container instance. 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 will be unable to update the container instance state.
Trait Implementations§
Source§impl Clone for UpdateContainerInstancesStateRequest
impl Clone for UpdateContainerInstancesStateRequest
Source§fn clone(&self) -> UpdateContainerInstancesStateRequest
fn clone(&self) -> UpdateContainerInstancesStateRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for UpdateContainerInstancesStateRequest
impl Default for UpdateContainerInstancesStateRequest
Source§fn default() -> UpdateContainerInstancesStateRequest
fn default() -> UpdateContainerInstancesStateRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateContainerInstancesStateRequest
impl PartialEq for UpdateContainerInstancesStateRequest
Source§fn eq(&self, other: &UpdateContainerInstancesStateRequest) -> bool
fn eq(&self, other: &UpdateContainerInstancesStateRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateContainerInstancesStateRequest
Auto Trait Implementations§
impl Freeze for UpdateContainerInstancesStateRequest
impl RefUnwindSafe for UpdateContainerInstancesStateRequest
impl Send for UpdateContainerInstancesStateRequest
impl Sync for UpdateContainerInstancesStateRequest
impl Unpin for UpdateContainerInstancesStateRequest
impl UnwindSafe for UpdateContainerInstancesStateRequest
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
Mutably borrows from an owned value. Read more