Returns a list of daemon task definitions that are registered to your account¶
Description¶
Returns a list of daemon task definitions that are registered to your account. You can filter the results by family name, status, or both to find daemon task definitions that match your criteria.
Usage¶
ecs_list_daemon_task_definitions(familyPrefix, family, revision, status,
sort, nextToken, maxResults)
Arguments¶
-
familyPrefixThe full family name to filter the
list_daemon_task_definitionsresults with. Specifying afamilyPrefixlimits the listed daemon task definitions to daemon task definition families that start with thefamilyPrefixstring. -
familyThe exact name of the daemon task definition family to filter results with.
-
revisionThe revision filter to apply. Specify
LAST_REGISTEREDto return only the last registered revision for each daemon task definition family. -
statusThe daemon task definition status to filter the
list_daemon_task_definitionsresults with. By default, onlyACTIVEdaemon task definitions are listed. If you set this parameter toDELETE_IN_PROGRESS, only daemon task definitions that are in the process of being deleted are listed. If you set this parameter toALL, all daemon task definitions are listed regardless of status. -
sortThe order to sort the results. Valid values are
ASCandDESC. By default (ASC), daemon task definitions are listed in ascending order by family name and revision number. -
nextTokenThe
nextTokenvalue returned from alist_daemon_task_definitionsrequest indicating that more results are available to fulfill the request and further calls will be needed. IfmaxResultswas provided, it's possible for the number of results to be fewer thanmaxResults.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
-
maxResultsThe maximum number of daemon task definition results that
list_daemon_task_definitionsreturned in paginated output. When this parameter is used,list_daemon_task_definitionsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherlist_daemon_task_definitionsrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter isn't used, thenlist_daemon_task_definitionsreturns up to 100 results and anextTokenvalue if applicable.
Value¶
A list with the following syntax:
list(
daemonTaskDefinitions = list(
list(
arn = "string",
registeredAt = as.POSIXct(
"2015-01-01"
),
registeredBy = "string",
deleteRequestedAt = as.POSIXct(
"2015-01-01"
),
status = "ACTIVE"|"DELETE_IN_PROGRESS"|"DELETED"
)
),
nextToken = "string"
)