Greengrass / Client / list_tags_for_resource

list_tags_for_resource#

Greengrass.Client.list_tags_for_resource(**kwargs)#

Retrieves a list of resource tags for a resource arn.

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.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) – HTTP Status Code 200: OK.

    • tags (dict) – The key-value pair for the resource tag.

      • (string) –

        • (string) –

Exceptions