Comprehend / Client / untag_resource

untag_resource#

Comprehend.Client.untag_resource(**kwargs)#

Removes a specific tag associated with an Amazon Comprehend 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 given Amazon Comprehend resource from which you want to remove the tags.

  • TagKeys (list) –

    [REQUIRED]

    The initial part of a key-value pair that forms a tag being removed from a given resource. For example, a tag with “Sales” as the key might be added to a resource to indicate its use by the sales department. Keys must be unique and cannot be duplicated for a particular resource.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Comprehend.Client.exceptions.TooManyTagKeysException

  • Comprehend.Client.exceptions.InvalidRequestException

  • Comprehend.Client.exceptions.ConcurrentModificationException

  • Comprehend.Client.exceptions.ResourceNotFoundException

  • Comprehend.Client.exceptions.InternalServerException