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

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.

You can only describe INACTIVE task definitions while an active task or service references them.

# Creating a Request

Arguments

 :: Text dtdTaskDefinition -> DescribeTaskDefinition

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

See: describeTaskDefinition smart constructor.

Instances

# Request Lenses

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

Arguments

 :: Int desrsResponseStatus -> DescribeTaskDefinitionResponse

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:

• desrsTaskDefinition
• desrsResponseStatus

See: describeTaskDefinitionResponse smart constructor.

Instances