Budgets / Client / list_tags_for_resource

list_tags_for_resource#

Budgets.Client.list_tags_for_resource(**kwargs)#

Lists tags associated with a budget or budget action resource.

See also: AWS API Documentation

Request Syntax

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

ResourceARN (string) –

[REQUIRED]

The unique identifier for the resource.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • ResourceTags (list) –

      The tags associated with the resource.

      • (dict) –

        The tag structure that contains a tag key and value.

        • Key (string) –

          The key that’s associated with the tag.

        • Value (string) –

          The value that’s associated with the tag.

Exceptions

  • Budgets.Client.exceptions.ThrottlingException

  • Budgets.Client.exceptions.NotFoundException

  • Budgets.Client.exceptions.AccessDeniedException

  • Budgets.Client.exceptions.InternalErrorException

  • Budgets.Client.exceptions.InvalidParameterException