EventBridgeV2 / Client / list_tags_for_resource

list_tags_for_resource

EventBridgeV2.Client.list_tags_for_resource(**kwargs)

Lists the tags on an event bus, subscriber, or event source.

See also: AWS API Documentation

Request Syntax

response = client.list_tags_for_resource(
    ResourceArn='string'
)
Parameters:

ResourceArn (string) –

[REQUIRED]

ARN for an EventBridge resource that supports tagging: event buses, subscribers, and event sources.

Return type:

dict

Returns:

Response Syntax

{
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • Tags (dict) –

      Tags attached to a resource, as key-value pairs.

      • (string) –

        • (string) –

Exceptions