[−][src]Struct rusoto_ecs::DeregisterContainerInstanceRequest
Fields
cluster: Option<String>
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to deregister. If you do not specify a cluster, the default cluster is assumed.
container_instance: String
The container instance ID or full ARN of the container instance to deregister. The ARN contains the arn:aws:ecs
namespace, followed by the Region of the container instance, the AWS account ID of the container instance owner, the container-instance
namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID
.
force: Option<bool>
Forces the deregistration of the container instance. If you have tasks running on the container instance when you deregister it with the force
option, these tasks remain running until you terminate the instance or the tasks stop through some other means, but they are orphaned (no longer monitored or accounted for by Amazon ECS). If an orphaned task on your container instance is part of an Amazon ECS service, then the service scheduler starts another copy of that task, on a different container instance if possible.
Any containers in orphaned service tasks that are registered with a Classic Load Balancer or an Application Load Balancer target group are deregistered. They begin connection draining according to the settings on the load balancer or target group.
Trait Implementations
impl Clone for DeregisterContainerInstanceRequest
[src]
pub fn clone(&self) -> DeregisterContainerInstanceRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DeregisterContainerInstanceRequest
[src]
impl Default for DeregisterContainerInstanceRequest
[src]
pub fn default() -> DeregisterContainerInstanceRequest
[src]
impl PartialEq<DeregisterContainerInstanceRequest> for DeregisterContainerInstanceRequest
[src]
pub fn eq(&self, other: &DeregisterContainerInstanceRequest) -> bool
[src]
pub fn ne(&self, other: &DeregisterContainerInstanceRequest) -> bool
[src]
impl Serialize for DeregisterContainerInstanceRequest
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for DeregisterContainerInstanceRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for DeregisterContainerInstanceRequest
[src]
impl Send for DeregisterContainerInstanceRequest
[src]
impl Sync for DeregisterContainerInstanceRequest
[src]
impl Unpin for DeregisterContainerInstanceRequest
[src]
impl UnwindSafe for DeregisterContainerInstanceRequest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,