Safe Haskell | None |
---|---|
Language | Haskell2010 |
Returns a list of tasks for a specified cluster. You can filter the results
by family name or by a particular container instance with the family
and containerInstance
parameters.
http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListTasks.html
- data ListTasks
- listTasks :: ListTasks
- ltCluster :: Lens' ListTasks (Maybe Text)
- ltContainerInstance :: Lens' ListTasks (Maybe Text)
- ltFamily :: Lens' ListTasks (Maybe Text)
- ltMaxResults :: Lens' ListTasks (Maybe Int)
- ltNextToken :: Lens' ListTasks (Maybe Text)
- data ListTasksResponse
- listTasksResponse :: ListTasksResponse
- ltrNextToken :: Lens' ListTasksResponse (Maybe Text)
- ltrTaskArns :: Lens' ListTasksResponse [Text]
Request
Request constructor
Request lenses
ltCluster :: Lens' ListTasks (Maybe Text) Source
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the tasks you want to list. If you do not specify a cluster, the default cluster is assumed..
ltContainerInstance :: Lens' ListTasks (Maybe Text) Source
The container instance UUID or full Amazon Resource Name (ARN) of the
container instance that you want to filter the ListTasks
results with.
Specifying a containerInstance
will limit the results to tasks that belong to
that container instance.
ltFamily :: Lens' ListTasks (Maybe Text) Source
The name of the family that you want to filter the ListTasks
results with.
Specifying a family
will limit the results to tasks that belong to that
family.
ltMaxResults :: Lens' ListTasks (Maybe Int) Source
The maximum number of task results returned by ListTasks
in paginated output.
When this parameter is used, ListTasks
only returns maxResults
results in a
single page along with a nextToken
response element. The remaining results of
the initial request can be seen by sending another ListTasks
request with the
returned nextToken
value. This value can be between 1 and 100. If this
parameter is not used, then ListTasks
returns up to 100 results and a nextToken
value if applicable.
ltNextToken :: Lens' ListTasks (Maybe Text) Source
The nextToken
value returned from a previous paginated ListTasks
request
where maxResults
was used and the results exceeded the value of that
parameter. Pagination continues from the end of the previous results that
returned the nextToken
value. This value is null
when there are no more
results to return.
Response
data ListTasksResponse Source
Response constructor
listTasksResponse :: ListTasksResponse Source
ListTasksResponse
constructor.
The fields accessible through corresponding lenses are:
ltrNextToken
::
Maybe
Text
ltrTaskArns
::
[Text
]
Response lenses
ltrTaskArns :: Lens' ListTasksResponse [Text] Source
The list of task Amazon Resource Name (ARN) entries for the ListTasks
request.