Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- deregisterTaskDefinition :: Text -> DeregisterTaskDefinition
- data DeregisterTaskDefinition
- derTaskDefinition :: Lens' DeregisterTaskDefinition Text
- deregisterTaskDefinitionResponse :: Int -> DeregisterTaskDefinitionResponse
- data DeregisterTaskDefinitionResponse
- dtdrsTaskDefinition :: Lens' DeregisterTaskDefinitionResponse (Maybe TaskDefinition)
- dtdrsStatus :: Lens' DeregisterTaskDefinitionResponse Int
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:
data DeregisterTaskDefinition Source
See: deregisterTaskDefinition
smart constructor.
Request Lenses
derTaskDefinition :: Lens' DeregisterTaskDefinition Text Source
The family
and revision
('family:revision') or full Amazon Resource
Name (ARN) of the task definition that you want 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:
data DeregisterTaskDefinitionResponse Source
See: deregisterTaskDefinitionResponse
smart constructor.
Response Lenses
dtdrsTaskDefinition :: Lens' DeregisterTaskDefinitionResponse (Maybe TaskDefinition) Source
The full description of the deregistered task.
dtdrsStatus :: Lens' DeregisterTaskDefinitionResponse Int Source
The response status code.