| Copyright | (c) 2013-2017 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ECS.DescribeTaskDefinition
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.
- 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
describeTaskDefinition Source #
Arguments
| :: Text | |
| -> 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- Thefamilyfor the latestACTIVErevision,familyandrevision(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
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 #
Arguments
| :: Int | |
| -> 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- The full task definition description.desrsResponseStatus- -- | The response status code.
data DescribeTaskDefinitionResponse Source #
See: describeTaskDefinitionResponse smart constructor.
Instances
Response Lenses
desrsTaskDefinition :: Lens' DescribeTaskDefinitionResponse (Maybe TaskDefinition) Source #
The full task definition description.
desrsResponseStatus :: Lens' DescribeTaskDefinitionResponse Int Source #
- - | The response status code.