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

Copyright(c) 2013-2016 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).

Synopsis

Creating a Request

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 - The family and revision (family:revision ) or full Amazon Resource Name (ARN) of the task definition to deregister. You must specify a revision .

data DeregisterTaskDefinition #

See: deregisterTaskDefinition smart constructor.

Instances

Eq DeregisterTaskDefinition # 
Data DeregisterTaskDefinition # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeregisterTaskDefinition -> c DeregisterTaskDefinition #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeregisterTaskDefinition #

toConstr :: DeregisterTaskDefinition -> Constr #

dataTypeOf :: DeregisterTaskDefinition -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeregisterTaskDefinition) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeregisterTaskDefinition) #

gmapT :: (forall b. Data b => b -> b) -> DeregisterTaskDefinition -> DeregisterTaskDefinition #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeregisterTaskDefinition -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeregisterTaskDefinition -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeregisterTaskDefinition -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeregisterTaskDefinition -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeregisterTaskDefinition -> m DeregisterTaskDefinition #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeregisterTaskDefinition -> m DeregisterTaskDefinition #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeregisterTaskDefinition -> m DeregisterTaskDefinition #

Read DeregisterTaskDefinition # 
Show DeregisterTaskDefinition # 
Generic DeregisterTaskDefinition # 
Hashable DeregisterTaskDefinition # 
ToJSON DeregisterTaskDefinition # 
NFData DeregisterTaskDefinition # 
AWSRequest DeregisterTaskDefinition # 
ToQuery DeregisterTaskDefinition # 
ToPath DeregisterTaskDefinition # 
ToHeaders DeregisterTaskDefinition # 
type Rep DeregisterTaskDefinition # 
type Rep DeregisterTaskDefinition = D1 (MetaData "DeregisterTaskDefinition" "Network.AWS.ECS.DeregisterTaskDefinition" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" True) (C1 (MetaCons "DeregisterTaskDefinition'" PrefixI True) (S1 (MetaSel (Just Symbol "_derTaskDefinition") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeregisterTaskDefinition # 

Request Lenses

derTaskDefinition :: Lens' DeregisterTaskDefinition Text #

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 #

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 #

See: deregisterTaskDefinitionResponse smart constructor.

Instances

Eq DeregisterTaskDefinitionResponse # 
Data DeregisterTaskDefinitionResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeregisterTaskDefinitionResponse -> c DeregisterTaskDefinitionResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeregisterTaskDefinitionResponse #

toConstr :: DeregisterTaskDefinitionResponse -> Constr #

dataTypeOf :: DeregisterTaskDefinitionResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeregisterTaskDefinitionResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeregisterTaskDefinitionResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeregisterTaskDefinitionResponse -> DeregisterTaskDefinitionResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeregisterTaskDefinitionResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeregisterTaskDefinitionResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeregisterTaskDefinitionResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeregisterTaskDefinitionResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeregisterTaskDefinitionResponse -> m DeregisterTaskDefinitionResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeregisterTaskDefinitionResponse -> m DeregisterTaskDefinitionResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeregisterTaskDefinitionResponse -> m DeregisterTaskDefinitionResponse #

Read DeregisterTaskDefinitionResponse # 
Show DeregisterTaskDefinitionResponse # 
Generic DeregisterTaskDefinitionResponse # 
NFData DeregisterTaskDefinitionResponse # 
type Rep DeregisterTaskDefinitionResponse # 
type Rep DeregisterTaskDefinitionResponse = D1 (MetaData "DeregisterTaskDefinitionResponse" "Network.AWS.ECS.DeregisterTaskDefinition" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "DeregisterTaskDefinitionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dtdrsTaskDefinition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TaskDefinition))) (S1 (MetaSel (Just Symbol "_dtdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

dtdrsTaskDefinition :: Lens' DeregisterTaskDefinitionResponse (Maybe TaskDefinition) #

The full description of the deregistered task.