Learn R Programming

paws.compute (version 0.1.12)

ecs_untag_resource: Deletes specified tags from a resource

Description

Deletes specified tags from a resource.

Usage

ecs_untag_resource(resourceArn, tagKeys)

Value

An empty list.

Arguments

resourceArn

[required] The Amazon Resource Name (ARN) of the resource from which to delete tags. Currently, the supported resources are Amazon ECS capacity providers, tasks, services, task definitions, clusters, and container instances.

tagKeys

[required] The keys of the tags to be removed.

Request syntax

svc$untag_resource(
  resourceArn = "string",
  tagKeys = list(
    "string"
  )
)

Examples

Run this code
if (FALSE) {
# This example deletes the 'team' tag from the 'dev' cluster.
svc$untag_resource(
  resourceArn = "arn:aws:ecs:region:aws_account_id:cluster/dev",
  tagKeys = list(
    "team"
  )
)
}

Run the code above in your browser using DataLab