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 |
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.
See: AWS API Reference for DescribeTaskDefinition.
- describeTaskDefinition :: Text -> DescribeTaskDefinition
- data DescribeTaskDefinition
- dtdTaskDefinition :: Lens' DescribeTaskDefinition Text
- describeTaskDefinitionResponse :: Int -> DescribeTaskDefinitionResponse
- data DescribeTaskDefinitionResponse
- desrsTaskDefinition :: Lens' DescribeTaskDefinitionResponse (Maybe TaskDefinition)
- desrsResponseStatus :: Lens' DescribeTaskDefinitionResponse Int
Creating a Request
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:
data DescribeTaskDefinition Source
See: describeTaskDefinition
smart constructor.
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.
Response Lenses
desrsTaskDefinition :: Lens' DescribeTaskDefinitionResponse (Maybe TaskDefinition) Source
The full task definition description.
desrsResponseStatus :: Lens' DescribeTaskDefinitionResponse Int Source
The response status code.