EventBridge / Client / list_tags_for_resource
list_tags_for_resource#
- EventBridge.Client.list_tags_for_resource(**kwargs)#
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' )
- Parameters:
ResourceARN (string) –
[REQUIRED]
The ARN of the EventBridge resource for which you want to view tags.
- Return type:
dict
- Returns:
Response Syntax
{ 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] }
Response Structure
(dict) –
Tags (list) –
The list of tag keys and values associated with the resource you specified
(dict) –
A key-value pair associated with an Amazon Web Services resource. In EventBridge, rules and event buses support tagging.
Key (string) –
A string you can use to assign a value. The combination of tag keys and values can help you organize and categorize your resources.
Value (string) –
The value for the specified tag key.
Exceptions