untag_resource

XRay.Client.untag_resource(**kwargs)

Removes tags from an Amazon Web Services X-Ray group or sampling rule. You cannot edit or delete system tags (those with an aws: prefix).

See also: AWS API Documentation

Request Syntax

response = client.untag_resource(
    ResourceARN='string',
    TagKeys=[
        'string',
    ]
)
Parameters
  • ResourceARN (string) --

    [REQUIRED]

    The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.

  • TagKeys (list) --

    [REQUIRED]

    Keys for one or more tags that you want to remove from an X-Ray group or sampling rule.

    • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • XRay.Client.exceptions.InvalidRequestException
  • XRay.Client.exceptions.ThrottledException
  • XRay.Client.exceptions.ResourceNotFoundException