QApps / Client / list_tags_for_resource

list_tags_for_resource#

QApps.Client.list_tags_for_resource(**kwargs)#

Lists the tags associated with an Amazon Q Apps 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 whose tags should be listed.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • tags (dict) –

      The list of tags that are assigned to the resource.

      • (string) –

        • (string) –

Exceptions

  • QApps.Client.exceptions.ResourceNotFoundException

  • QApps.Client.exceptions.AccessDeniedException

  • QApps.Client.exceptions.ValidationException

  • QApps.Client.exceptions.InternalServerException

  • QApps.Client.exceptions.ThrottlingException