Returns a list of daemon deployments for a specified daemon¶
Description¶
Returns a list of daemon deployments for a specified daemon. You can filter the results by status or creation time.
Usage¶
Arguments¶
-
daemonArn[required] The Amazon Resource Name (ARN) of the daemon to list deployments for.
-
statusAn optional filter to narrow the
list_daemon_deploymentsresults by deployment status. If you don't specify a status, all deployments are returned. -
createdAtAn optional filter to narrow the
list_daemon_deploymentsresults by creation time. If you don't specify a time range, all deployments are returned. -
maxResultsThe maximum number of daemon deployment results that
list_daemon_deploymentsreturned in paginated output. When this parameter is used,list_daemon_deploymentsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherlist_daemon_deploymentsrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter isn't used, thenlist_daemon_deploymentsreturns up to 20 results and anextTokenvalue if applicable. -
nextTokenThe
nextTokenvalue returned from alist_daemon_deploymentsrequest 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.
Value¶
A list with the following syntax:
list(
nextToken = "string",
daemonDeployments = list(
list(
daemonDeploymentArn = "string",
daemonArn = "string",
clusterArn = "string",
status = "PENDING"|"SUCCESSFUL"|"STOPPED"|"STOP_REQUESTED"|"IN_PROGRESS"|"ROLLBACK_IN_PROGRESS"|"ROLLBACK_SUCCESSFUL"|"ROLLBACK_FAILED",
statusReason = "string",
targetDaemonRevisionArn = "string",
createdAt = as.POSIXct(
"2015-01-01"
),
startedAt = as.POSIXct(
"2015-01-01"
),
stoppedAt = as.POSIXct(
"2015-01-01"
),
finishedAt = as.POSIXct(
"2015-01-01"
)
)
)
)
Request syntax¶
svc$list_daemon_deployments(
daemonArn = "string",
status = list(
"PENDING"|"SUCCESSFUL"|"STOPPED"|"STOP_REQUESTED"|"IN_PROGRESS"|"ROLLBACK_IN_PROGRESS"|"ROLLBACK_SUCCESSFUL"|"ROLLBACK_FAILED"
),
createdAt = list(
before = as.POSIXct(
"2015-01-01"
),
after = as.POSIXct(
"2015-01-01"
)
),
maxResults = 123,
nextToken = "string"
)