list-tasks — AWS CLI 2.32.7 Command Reference
Use the AWS CLI 2.32.7 to run the ecs list-tasks command.