untag_resource

WAFV2.Client.untag_resource(**kwargs)

Disassociates tags from an Amazon Web Services resource. Tags are key:value pairs that you can associate with Amazon Web Services resources. For example, the tag key might be "customer" and the tag value might be "companyA." You can specify one or more tags to add to each container. You can add up to 50 tags to each Amazon Web Services 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.

  • TagKeys (list) --

    [REQUIRED]

    An array of keys identifying the tags to disassociate from the resource.

    • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • WAFV2.Client.exceptions.WAFInternalErrorException
  • WAFV2.Client.exceptions.WAFInvalidParameterException
  • WAFV2.Client.exceptions.WAFNonexistentItemException
  • WAFV2.Client.exceptions.WAFTagOperationException
  • WAFV2.Client.exceptions.WAFTagOperationInternalErrorException
  • WAFV2.Client.exceptions.WAFInvalidOperationException