listDaemons

abstract suspend fun listDaemons(input: ListDaemonsRequest = ListDaemonsRequest { }): ListDaemonsResponse

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

Samples

// This example lists all daemons in the specified cluster.
val resp = ecsClient.listDaemons {
    clusterArn = "arn:aws:ecs:us-east-1:123456789012:cluster/my-cluster"
}