Context / Client / tag_resource
tag_resource¶
- Context.Client.tag_resource(**kwargs)¶
Adds tags to an agent context, connection, curation policy, customer-owned ontology, or ontology induction.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource( resourceArn='string', tags={ 'string': 'string' } )
- Parameters:
resourceArn (string) –
[REQUIRED]
The ARN of the resource to tag.
tags (dict) –
[REQUIRED]
The tags to add, 1–200 per request. Keys must not start with
aws:.(string) –
A tag key. Leading and trailing whitespace is trimmed. Keys starting with
aws:are reserved for AWS.(string) –
A tag value. Leading and trailing whitespace is trimmed.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
Context.Client.exceptions.ThrottlingExceptionContext.Client.exceptions.ConflictExceptionContext.Client.exceptions.ValidationExceptionContext.Client.exceptions.ServiceQuotaExceededExceptionContext.Client.exceptions.InternalServerExceptionContext.Client.exceptions.ResourceNotFoundExceptionContext.Client.exceptions.AccessDeniedException