Skip to content

Untag Resource

servicediscovery_untag_resource R Documentation

Removes one or more tags from the specified resource

Description

Removes one or more tags from the specified resource.

Usage

servicediscovery_untag_resource(ResourceARN, TagKeys)

Arguments

ResourceARN

[required] The Amazon Resource Name (ARN) of the resource that you want to retrieve tags for.

TagKeys

[required] The tag keys to remove from the specified resource.

Value

An empty list.

Request syntax

svc$untag_resource(
  ResourceARN = "string",
  TagKeys = list(
    "string"
  )
)

Examples

## Not run: 
# This example removes the "Department" and "Project" tags from a
# resource.
svc$untag_resource(
  ResourceARN = "arn:aws:servicediscovery:us-east-1:123456789012:namespace/...",
  TagKeys = list(
    "Project",
    "Department"
  )
)

## End(Not run)