CodeGuruProfiler / Client / untag_resource

untag_resource#

CodeGuruProfiler.Client.untag_resource(**kwargs)#

Use to remove one or more tags from a resource.

See also: AWS API Documentation

Request Syntax

response = client.untag_resource(
    resourceArn='string',
    tagKeys=[
        'string',
    ]
)
Parameters:
  • resourceArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the resource that contains the tags to remove.

  • tagKeys (list) –

    [REQUIRED]

    A list of tag keys. Existing tags of resources with keys in this list are removed from the specified resource.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • CodeGuruProfiler.Client.exceptions.InternalServerException

  • CodeGuruProfiler.Client.exceptions.ValidationException

  • CodeGuruProfiler.Client.exceptions.ResourceNotFoundException