AgentsforBedrock / Client / tag_resource
tag_resource#
- AgentsforBedrock.Client.tag_resource(**kwargs)#
Tag a resource
See also: AWS API Documentation
Request Syntax
response = client.tag_resource( resourceArn='string', tags={ 'string': 'string' } )
- Parameters:
resourceArn (string) –
[REQUIRED]
ARN of Taggable resources: [Agent, AgentAlias, Knowledge-Base]
tags (dict) –
[REQUIRED]
A map of tag keys and values
(string) –
Key of a tag
(string) –
Value of a tag
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
AgentsforBedrock.Client.exceptions.ThrottlingException
AgentsforBedrock.Client.exceptions.AccessDeniedException
AgentsforBedrock.Client.exceptions.ValidationException
AgentsforBedrock.Client.exceptions.InternalServerException
AgentsforBedrock.Client.exceptions.ResourceNotFoundException
AgentsforBedrock.Client.exceptions.ServiceQuotaExceededException