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