Shield / Client / untag_resource

untag_resource#

Shield.Client.untag_resource(**kwargs)#

Removes tags from a resource in Shield.

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 you want to remove tags from.

  • TagKeys (list) –

    [REQUIRED]

    The tag key for each tag that you want to remove from the resource.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Shield.Client.exceptions.InternalErrorException

  • Shield.Client.exceptions.InvalidResourceException

  • Shield.Client.exceptions.InvalidParameterException

  • Shield.Client.exceptions.ResourceNotFoundException