Skip to content

List Daemons

ecs_list_daemons R Documentation

Returns a list of daemons

Description

Returns a list of daemons. You can filter the results by cluster or capacity provider.

Usage

ecs_list_daemons(clusterArn, capacityProviderArns, maxResults,
  nextToken)

Arguments

clusterArn

The Amazon Resource Name (ARN) of the cluster to filter daemons by. If not specified, daemons from all clusters are returned.

capacityProviderArns

The Amazon Resource Names (ARNs) of the capacity providers to filter daemons by. Only daemons associated with the specified capacity providers are returned.

maxResults

The maximum number of daemon results that list_daemons returned in paginated output. When this parameter is used, list_daemons 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 list_daemons request with the returned nextToken value. This value can be between 1 and 100. If this parameter isn't used, then list_daemons returns up to 100 results and a nextToken value if applicable.

nextToken

The nextToken value returned from a list_daemons request indicating that more results are available to fulfill the request and further calls will be needed. If maxResults was provided, it's possible for the number of results to be fewer than maxResults.

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.

Value

A list with the following syntax:

list(
  daemonSummariesList = list(
    list(
      daemonArn = "string",
      status = "ACTIVE"|"DELETE_IN_PROGRESS",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      updatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_daemons(
  clusterArn = "string",
  capacityProviderArns = list(
    "string"
  ),
  maxResults = 123,
  nextToken = "string"
)