CloudFront / Client / untag_resource

untag_resource#

CloudFront.Client.untag_resource(**kwargs)#

Remove tags from a CloudFront resource. For more information, see Tagging a distribution in the Amazon CloudFront Developer Guide.

See also: AWS API Documentation

Request Syntax

response = client.untag_resource(
    Resource='string',
    TagKeys={
        'Items': [
            'string',
        ]
    }
)
Parameters:
  • Resource (string) –

    [REQUIRED]

    An ARN of a CloudFront resource.

  • TagKeys (dict) –

    [REQUIRED]

    A complex type that contains zero or more Tag key elements.

    • Items (list) –

      A complex type that contains Tag key elements.

      • (string) –

        A string that contains Tag key.

        The string length should be between 1 and 128 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @.

Returns:

None

Exceptions

  • CloudFront.Client.exceptions.AccessDenied

  • CloudFront.Client.exceptions.InvalidArgument

  • CloudFront.Client.exceptions.InvalidTagging

  • CloudFront.Client.exceptions.NoSuchResource