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

Copyright (c) 2013-2016 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

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).

# Creating a Request

Arguments

 :: Text derTaskDefinition -> DeregisterTaskDefinition

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:

• derTaskDefinition

See: deregisterTaskDefinition smart constructor.

Instances

# Request Lenses

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

Arguments

 :: Int dtdrsResponseStatus -> DeregisterTaskDefinitionResponse

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:

• dtdrsTaskDefinition
• dtdrsResponseStatus

See: deregisterTaskDefinitionResponse smart constructor.

Instances