list_tags_for_resource
(**kwargs)¶List the tags for a resource.
Note
The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
WorkloadArn='string'
)
[REQUIRED]
The ARN for the workload.
{
'Tags': {
'string': 'string'
}
}
Response Structure
The tags for the resource.
Exceptions
WellArchitected.Client.exceptions.InternalServerException
WellArchitected.Client.exceptions.ResourceNotFoundException