Returns a list of tasks for a specified cluster. You can filter the results by family name, by a particular container instance, or by the desired status of the task with the
family
,
containerInstance
, and
desiredStatus
parameters.
Recently-stopped tasks might appear in the returned results. Currently, stopped tasks appear in the returned results for at least one hour.
/// These errors are usually caused by a client action, such as using an action or resource
/// on behalf of a user that doesn't have permission to use the action or resource, or
/// specifying an identifier that is not valid.
///
/// The specified cluster could not be found. You can view your available clusters with
///
ListClusters. Amazon ECS clusters are region-specific.
///
/// The specified parameter is invalid. Review the available parameters for the API request.
///
/// These errors are usually caused by a server issue.
///
/// The specified service could not be found. You can view your available services with
///
ListServices. Amazon ECS services are cluster-specific and region-specific.
///