Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data DeregisterContainerInstance
- deregisterContainerInstance :: Text -> DeregisterContainerInstance
- dci1Cluster :: Lens' DeregisterContainerInstance (Maybe Text)
- dci1ContainerInstance :: Lens' DeregisterContainerInstance Text
- dci1Force :: Lens' DeregisterContainerInstance (Maybe Bool)
- data DeregisterContainerInstanceResponse
- deregisterContainerInstanceResponse :: DeregisterContainerInstanceResponse
- dcirContainerInstance :: Lens' DeregisterContainerInstanceResponse (Maybe ContainerInstance)
Request
data DeregisterContainerInstance Source
Request constructor
deregisterContainerInstance Source
DeregisterContainerInstance
constructor.
The fields accessible through corresponding lenses are:
dci1Cluster
::
Maybe
Text
dci1ContainerInstance
::
Text
dci1Force
::
Maybe
Bool
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
deregisterContainerInstanceResponse :: DeregisterContainerInstanceResponse Source
DeregisterContainerInstanceResponse
constructor.
The fields accessible through corresponding lenses are: