Context / Client / untag_resource

untag_resource

Context.Client.untag_resource(**kwargs)

Removes tags from an agent context, connection, curation policy, customer-owned ontology, or ontology induction.

See also: AWS API Documentation

Request Syntax

response = client.untag_resource(
    resourceArn='string',
    tagKeys=[
        'string',
    ]
)
Parameters:
  • resourceArn (string) –

    [REQUIRED]

    The ARN of the resource to untag.

  • tagKeys (list) –

    [REQUIRED]

    The keys of the tags to remove, 1–200 per request.

    • (string) –

      A tag key. Leading and trailing whitespace is trimmed. Keys starting with aws: are reserved for AWS.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Context.Client.exceptions.ThrottlingException

  • Context.Client.exceptions.ConflictException

  • Context.Client.exceptions.ValidationException

  • Context.Client.exceptions.InternalServerException

  • Context.Client.exceptions.ResourceNotFoundException

  • Context.Client.exceptions.AccessDeniedException