LicenseManagerLinuxSubscriptions / Client / list_tags_for_resource

list_tags_for_resource#

LicenseManagerLinuxSubscriptions.Client.list_tags_for_resource(**kwargs)#

List the metadata tags that are assigned to the specified Amazon Web Services 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 for which to list metadata tags.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • tags (dict) –

      The metadata tags for the requested resource.

      • (string) –

        • (string) –

Exceptions

  • LicenseManagerLinuxSubscriptions.Client.exceptions.InternalServerException

  • LicenseManagerLinuxSubscriptions.Client.exceptions.ResourceNotFoundException

  • LicenseManagerLinuxSubscriptions.Client.exceptions.ValidationException