WellArchitected / Client / list_tags_for_resource

list_tags_for_resource#

WellArchitected.Client.list_tags_for_resource(**kwargs)#

List the tags for a resource.

Note

The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template ARN.

See also: AWS API Documentation

Request Syntax

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

WorkloadArn (string) –

[REQUIRED]

The ARN for the workload.

Return type:

dict

Returns:

Response Syntax

{
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • Tags (dict) –

      The tags for the resource.

      • (string) –

        • (string) –

Exceptions