untag_resource

DAX.Client.untag_resource(**kwargs)

Removes the association of tags from a DAX resource. You can call UntagResource up to 5 times per second, per account.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The name of the DAX resource from which the tags should be removed.

  • TagKeys (list) --

    [REQUIRED]

    A list of tag keys. If the DAX cluster has any tags with these keys, then the tags are removed from the cluster.

    • (string) --
Return type

dict

Returns

Response Syntax

{
    'Tags': [
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • Tags (list) --

      The tag keys that have been removed from the cluster.

      • (dict) --

        A description of a tag. Every tag is a key-value pair. You can add up to 50 tags to a single DAX cluster.

        AWS-assigned tag names and values are automatically assigned the aws: prefix, which the user cannot assign. AWS-assigned tag names do not count towards the tag limit of 50. User-assigned tag names have the prefix user: .

        You cannot backdate the application of a tag.

        • Key (string) --

          The key for the tag. Tag keys are case sensitive. Every DAX cluster can only have one tag with the same key. If you try to add an existing tag (same key), the existing tag value will be updated to the new value.

        • Value (string) --

          The value of the tag. Tag values are case-sensitive and can be null.

Exceptions

  • DAX.Client.exceptions.ClusterNotFoundFault
  • DAX.Client.exceptions.InvalidARNFault
  • DAX.Client.exceptions.TagNotFoundFault
  • DAX.Client.exceptions.InvalidClusterStateFault
  • DAX.Client.exceptions.ServiceLinkedRoleNotFoundFault
  • DAX.Client.exceptions.InvalidParameterValueException
  • DAX.Client.exceptions.InvalidParameterCombinationException