EventBridgeScheduler / Client / list_tags_for_resource

list_tags_for_resource#

EventBridgeScheduler.Client.list_tags_for_resource(**kwargs)#

Lists the tags associated with the Scheduler resource.

See also: AWS API Documentation

Request Syntax

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

ResourceArn (string) –

[REQUIRED]

The ARN of the EventBridge Scheduler 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 tags associated with the specified resource.

      • (dict) –

        Tag to associate with a schedule group.

        • Key (string) –

          The key for the tag.

        • Value (string) –

          The value for the tag.

Exceptions