ManagedGrafana / Client / list_tags_for_resource

list_tags_for_resource#

ManagedGrafana.Client.list_tags_for_resource(**kwargs)#

The ListTagsForResource operation returns the tags that are associated with the Amazon Managed Service for Grafana resource specified by the resourceArn. Currently, the only resource that can be tagged is a workspace.

See also: AWS API Documentation

Request Syntax

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

resourceArn (string) –

[REQUIRED]

The ARN of the resource the list of tags are associated with.

Return type:

dict

Returns:

Response Syntax

{
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • tags (dict) –

      The list of tags that are associated with the resource.

      • (string) –

        • (string) –

Exceptions