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 specified task or tasks.
See: AWS API Reference for DescribeTasks.
- describeTasks :: DescribeTasks
- data DescribeTasks
- dtCluster :: Lens' DescribeTasks (Maybe Text)
- dtTasks :: Lens' DescribeTasks [Text]
- describeTasksResponse :: Int -> DescribeTasksResponse
- data DescribeTasksResponse
- dtrsFailures :: Lens' DescribeTasksResponse [Failure]
- dtrsTasks :: Lens' DescribeTasksResponse [Task]
- dtrsResponseStatus :: Lens' DescribeTasksResponse Int
Creating a Request
describeTasks :: DescribeTasks Source
Creates a value of DescribeTasks
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeTasks Source
See: describeTasks
smart constructor.
Request Lenses
dtCluster :: Lens' DescribeTasks (Maybe Text) Source
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to describe. If you do not specify a cluster, the default cluster is assumed.
dtTasks :: Lens' DescribeTasks [Text] Source
A space-separated list of task IDs or full Amazon Resource Name (ARN) entries.
Destructuring the Response
Creates a value of DescribeTasksResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeTasksResponse Source
See: describeTasksResponse
smart constructor.
Response Lenses
dtrsFailures :: Lens' DescribeTasksResponse [Failure] Source
Any failures associated with the call.
dtrsTasks :: Lens' DescribeTasksResponse [Task] Source
The list of tasks.
dtrsResponseStatus :: Lens' DescribeTasksResponse Int Source
The response status code.