Safe Haskell | None |
---|---|
Language | Haskell2010 |
Returns a list of task definitions that are registered to your account. You
can filter the results by family name with the familyPrefix
parameter.
http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListTaskDefinitions.html
- data ListTaskDefinitions
- listTaskDefinitions :: ListTaskDefinitions
- ltdFamilyPrefix :: Lens' ListTaskDefinitions (Maybe Text)
- ltdMaxResults :: Lens' ListTaskDefinitions (Maybe Int)
- ltdNextToken :: Lens' ListTaskDefinitions (Maybe Text)
- data ListTaskDefinitionsResponse
- listTaskDefinitionsResponse :: ListTaskDefinitionsResponse
- ltdrNextToken :: Lens' ListTaskDefinitionsResponse (Maybe Text)
- ltdrTaskDefinitionArns :: Lens' ListTaskDefinitionsResponse [Text]
Request
data ListTaskDefinitions Source
Eq ListTaskDefinitions | |
Ord ListTaskDefinitions | |
Read ListTaskDefinitions | |
Show ListTaskDefinitions | |
AWSRequest ListTaskDefinitions | |
ToQuery ListTaskDefinitions | |
ToPath ListTaskDefinitions | |
ToHeaders ListTaskDefinitions | |
type Sv ListTaskDefinitions = ECS | |
type Rs ListTaskDefinitions = ListTaskDefinitionsResponse |
Request constructor
listTaskDefinitions :: ListTaskDefinitions Source
ListTaskDefinitions
constructor.
The fields accessible through corresponding lenses are:
Request lenses
ltdFamilyPrefix :: Lens' ListTaskDefinitions (Maybe Text) Source
The name of the family that you want to filter the ListTaskDefinitions
results with. Specifying a familyPrefix
will limit the listed task
definitions to definitions that belong to that family.
ltdMaxResults :: Lens' ListTaskDefinitions (Maybe Int) Source
The maximum number of task definition results returned by ListTaskDefinitions
in paginated output. When this parameter is used, ListTaskDefinitions
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 ListTaskDefinitions
request with the returned nextToken
value. This
value can be between 1 and 100. If this parameter is not used, then ListTaskDefinitions
returns up to 100 results and a nextToken
value if applicable.
ltdNextToken :: Lens' ListTaskDefinitions (Maybe Text) Source
The nextToken
value returned from a previous paginated ListTaskDefinitions
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
Response constructor
listTaskDefinitionsResponse :: ListTaskDefinitionsResponse Source
ListTaskDefinitionsResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
ltdrNextToken :: Lens' ListTaskDefinitionsResponse (Maybe Text) Source
The nextToken
value to include in a future ListTaskDefinitions
request. When
the results of a ListTaskDefinitions
request exceed maxResults
, this value
can be used to retrieve the next page of results. This value is null
when
there are no more results to return.
ltdrTaskDefinitionArns :: Lens' ListTaskDefinitionsResponse [Text] Source
The list of task definition Amazon Resource Name (ARN) entries for the ListTaskDefintions
request.