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

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

Network.AWS.ECS.DescribeTaskDefinition

Contents

Description

Describes a task definition. You can specify a family and revision to find information about a specific task definition, or you can simply specify the family to find the latest ACTIVE revision in that family.

Synopsis

Creating a Request

describeTaskDefinition Source #

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

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

  • dtdTaskDefinition - The family for the latest ACTIVE revision, family and revision (family:revision ) for a specific revision in the family, or full Amazon Resource Name (ARN) of the task definition to describe.

data DescribeTaskDefinition Source #

See: describeTaskDefinition smart constructor.

Instances

Eq DescribeTaskDefinition Source # 
Data DescribeTaskDefinition Source # 

Methods

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

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

toConstr :: DescribeTaskDefinition -> Constr #

dataTypeOf :: DescribeTaskDefinition -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeTaskDefinition Source # 
Show DescribeTaskDefinition Source # 
Generic DescribeTaskDefinition Source # 
Hashable DescribeTaskDefinition Source # 
ToJSON DescribeTaskDefinition Source # 
NFData DescribeTaskDefinition Source # 

Methods

rnf :: DescribeTaskDefinition -> () #

AWSRequest DescribeTaskDefinition Source # 
ToHeaders DescribeTaskDefinition Source # 
ToPath DescribeTaskDefinition Source # 
ToQuery DescribeTaskDefinition Source # 
type Rep DescribeTaskDefinition Source # 
type Rep DescribeTaskDefinition = D1 * (MetaData "DescribeTaskDefinition" "Network.AWS.ECS.DescribeTaskDefinition" "amazonka-ecs-1.6.0-7CQHGOTku8B1VmTRp9KDXq" True) (C1 * (MetaCons "DescribeTaskDefinition'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dtdTaskDefinition") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DescribeTaskDefinition Source # 

Request Lenses

dtdTaskDefinition :: Lens' DescribeTaskDefinition Text Source #

The family for the latest ACTIVE revision, family and revision (family:revision ) for a specific revision in the family, or full Amazon Resource Name (ARN) of the task definition to describe.

Destructuring the Response

describeTaskDefinitionResponse Source #

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

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

data DescribeTaskDefinitionResponse Source #

See: describeTaskDefinitionResponse smart constructor.

Instances

Eq DescribeTaskDefinitionResponse Source # 
Data DescribeTaskDefinitionResponse Source # 

Methods

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

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

toConstr :: DescribeTaskDefinitionResponse -> Constr #

dataTypeOf :: DescribeTaskDefinitionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeTaskDefinitionResponse Source # 
Show DescribeTaskDefinitionResponse Source # 
Generic DescribeTaskDefinitionResponse Source # 
NFData DescribeTaskDefinitionResponse Source # 
type Rep DescribeTaskDefinitionResponse Source # 
type Rep DescribeTaskDefinitionResponse = D1 * (MetaData "DescribeTaskDefinitionResponse" "Network.AWS.ECS.DescribeTaskDefinition" "amazonka-ecs-1.6.0-7CQHGOTku8B1VmTRp9KDXq" False) (C1 * (MetaCons "DescribeTaskDefinitionResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_desrsTaskDefinition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe TaskDefinition))) (S1 * (MetaSel (Just Symbol "_desrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses