Displays the tags associated with an EventBridge resource. In EventBridge, rules and event buses can be tagged.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
ResourceARN='string'
)
[REQUIRED]
The ARN of the EventBridge resource for which you want to view tags.
{
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
Response Structure
The list of tag keys and values associated with the resource you specified
A key-value pair associated with an Amazon Web Services resource. In EventBridge, rules and event buses support tagging.
A string you can use to assign a value. The combination of tag keys and values can help you organize and categorize your resources.
The value for the specified tag key.
Exceptions
EventBridge.Client.exceptions.ResourceNotFoundException
EventBridge.Client.exceptions.InternalException