amazonka-ecs-0.3.0: Amazon EC2 Container Service SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.ECS.DeregisterContainerInstance

Contents

Description

Deregisters an Amazon ECS container instance from the specified cluster. This instance will no longer be available to run tasks.

http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeregisterContainerInstance.html

Synopsis

Request

Request constructor

Request lenses

dci1Cluster :: Lens' DeregisterContainerInstance (Maybe Text) Source

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance you want to deregister. If you do not specify a cluster, the default cluster is assumed.

dci1ContainerInstance :: Lens' DeregisterContainerInstance Text Source

The container instance UUID or full Amazon Resource Name (ARN) of the container instance you want 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 UUID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_UUID.

dci1Force :: Lens' DeregisterContainerInstance (Maybe Bool) Source

Force the deregistration of the container instance. You can use the force parameter if you have several tasks running on a container instance and you don't want to run StopTask for each task before deregistering the container instance.

Response

Response constructor

Response lenses