CostandUsageReportService / Client / list_tags_for_resource



Lists the tags associated with the specified report definition.

See also: AWS API Documentation

Request Syntax

response = client.list_tags_for_resource(

ReportName (string) –


The report name of the report definition that tags are to be returned for.

Return type:



Response Syntax

    'Tags': [
            'Key': 'string',
            'Value': 'string'

Response Structure

  • (dict) –

    • Tags (list) –

      The tags assigned to the report definition resource.

      • (dict) –

        Describes a tag. A tag is a key-value pair. You can add up to 50 tags to a report definition.

        • Key (string) –

          The key of the tag. Tag keys are case sensitive. Each report definition can only have up to one tag with the same key. If you try to add an existing tag with the same key, the existing tag value will be updated to the new value.

        • Value (string) –

          The value of the tag. Tag values are case-sensitive. This can be an empty string.


  • CostandUsageReportService.Client.exceptions.ResourceNotFoundException

  • CostandUsageReportService.Client.exceptions.InternalErrorException

  • CostandUsageReportService.Client.exceptions.ValidationException