Learn R Programming

paws.compute (version 0.1.0)

ecs_describe_tasks: Describes a specified task or tasks

Description

Describes a specified task or tasks.

Usage

ecs_describe_tasks(cluster, tasks, include)

Arguments

cluster

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to describe. If you do not specify a cluster, the default cluster is assumed.

tasks

[required] A list of up to 100 task IDs or full ARN entries.

include

Specifies whether you want to see the resource tags for the task. If TAGS is specified, the tags are included in the response. If this field is omitted, tags are not included in the response.

Request syntax

svc$describe_tasks(
  cluster = "string",
  tasks = list(
    "string"
  ),
  include = list(
    "TAGS"
  )
)

Examples

Run this code
# NOT RUN {
# This example provides a description of the specified task, using the
# task UUID as an identifier.
# }
# NOT RUN {
svc$describe_tasks(
  tasks = list(
    "c5cba4eb-5dad-405e-96db-71ef8eefe6a8"
  )
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab