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

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ECS.DeregisterTaskDefinition

Contents

Description

Deregisters the specified task definition by family and revision. Upon deregistration, the task definition is marked as INACTIVE. Existing tasks and services that reference an INACTIVE task definition continue to run without disruption. Existing services that reference an INACTIVE task definition can still scale up or down by modifying the service's desired count.

You cannot use an INACTIVE task definition to run new tasks or create new services, and you cannot update an existing service to reference an INACTIVE task definition (although there may be up to a 10 minute window following deregistration where these restrictions have not yet taken effect).

See: AWS API Reference for DeregisterTaskDefinition.

Synopsis

Creating a Request

deregisterTaskDefinition Source

Creates a value of DeregisterTaskDefinition with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

derTaskDefinition :: Lens' DeregisterTaskDefinition Text Source

The family and revision ('family:revision') or full Amazon Resource Name (ARN) of the task definition to deregister. You must specify a revision.

Destructuring the Response

deregisterTaskDefinitionResponse Source

Creates a value of DeregisterTaskDefinitionResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

dtdrsTaskDefinition :: Lens' DeregisterTaskDefinitionResponse (Maybe TaskDefinition) Source

The full description of the deregistered task.