Skip to content

Removes tags from an Amazon EMR resource, such as a cluster or Amazon EMR Studio

Description

Removes tags from an Amazon EMR resource, such as a cluster or Amazon EMR Studio. Tags make it easier to associate resources in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see Tag Clusters.

The following example removes the stack tag with value Prod from a cluster:

Usage

emr_remove_tags(ResourceId, TagKeys, ClusterId)

Arguments

  • ResourceId

    [required] The Amazon EMR resource identifier from which tags will be removed. For example, a cluster identifier or an Amazon EMR Studio ID.

  • TagKeys

    [required] A list of tag keys to remove from the resource.

  • ClusterId

    The ID of the cluster that scopes the tag operation. Required when the resource being untagged is a session-scoped resource.

Value

An empty list.

Request syntax

svc$remove_tags(
  ResourceId = "string",
  TagKeys = list(
    "string"
  ),
  ClusterId = "string"
)