EMR / Client / remove_tags

remove_tags#

EMR.Client.remove_tags(**kwargs)#

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:

See also: AWS API Documentation

Request Syntax

response = client.remove_tags(
    ResourceId='string',
    TagKeys=[
        'string',
    ]
)
Parameters:
  • ResourceId (string) –

    [REQUIRED]

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

  • TagKeys (list) –

    [REQUIRED]

    A list of tag keys to remove from the resource.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

    This output indicates the result of removing tags from the resource.

Exceptions