Skip to content

ECS  >  Operations  >  list_daemon_deployments

list_daemon_deployments

Operation

list_daemon_deployments async

list_daemon_deployments(input: ListDaemonDeploymentsInput, plugins: list[Plugin] | None = None) -> ListDaemonDeploymentsOutput

Returns a list of daemon deployments for a specified daemon. You can filter the results by status or creation time.

Parameters:

Name Type Description Default
input ListDaemonDeploymentsInput

An instance of ListDaemonDeploymentsInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
ListDaemonDeploymentsOutput

An instance of ListDaemonDeploymentsOutput.

Input

ListDaemonDeploymentsInput dataclass

Bases: _SerdeShape

Dataclass for ListDaemonDeploymentsInput structure.

Attributes

created_at class-attribute instance-attribute
created_at: CreatedAt | None = ...

An optional filter to narrow the ListDaemonDeployments results by creation time. If you don't specify a time range, all deployments are returned.

daemon_arn class-attribute instance-attribute
daemon_arn: str | None = ...

The Amazon Resource Name (ARN) of the daemon to list deployments for.

max_results class-attribute instance-attribute
max_results: int | None = ...

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

next_token class-attribute instance-attribute
next_token: str | None = ...

The nextToken value returned from a ListDaemonDeployments 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.

Note

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.

status class-attribute instance-attribute
status: list[str] | None = ...

An optional filter to narrow the ListDaemonDeployments results by deployment status. If you don't specify a status, all deployments are returned.

Output

ListDaemonDeploymentsOutput dataclass

Bases: _SerdeShape

Dataclass for ListDaemonDeploymentsOutput structure.

Attributes

daemon_deployments class-attribute instance-attribute
daemon_deployments: list[DaemonDeploymentSummary] | None = ...

The list of daemon deployment summaries.

next_token class-attribute instance-attribute
next_token: str | None = ...

The nextToken value to include in a future ListDaemonDeployments request. When the results of a ListDaemonDeployments request exceed maxResults, this value can be used to retrieve the next page of results.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.