PartnerCentralRevenueMeasurementAPI / Client / list_tags_for_resource

list_tags_for_resource

PartnerCentralRevenueMeasurementAPI.Client.list_tags_for_resource(**kwargs)

Returns the tags associated with the specified resource.

See also: AWS API Documentation

Request Syntax

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

resourceArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the resource to list tags for.

Return type:

dict

Returns:

Response Syntax

{
    'tags': [
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • tags (list) –

      The tags associated with the resource.

      • (dict) –

        A key-value pair used for organizing and managing resources through metadata tags.

        • Key (string) –

          The key portion of the tag.

        • Value (string) –

          The value portion of the tag.

Exceptions