Returns a list of the tags that are assigned to a specified resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
resourceArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the resource that contains the tags to return.
{
'tags': {
'string': 'string'
}
}
Response Structure
The list of tags assigned to the specified resource. This is the list of tags returned in the response.
Exceptions
CodeGuruProfiler.Client.exceptions.InternalServerException
CodeGuruProfiler.Client.exceptions.ValidationException
CodeGuruProfiler.Client.exceptions.ResourceNotFoundException