list_tags_for_resource
(**kwargs)¶Lists all tags attached to a given resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
resourceArn='string'
)
[REQUIRED]
The Amazon resource number (ARN) of the resource to list tags of.
{
'tags': {
'string': 'string'
}
}
Response Structure
The tags associated with the resource.
Exceptions
Inspector2.Client.exceptions.ValidationException
Inspector2.Client.exceptions.ResourceNotFoundException
Inspector2.Client.exceptions.ThrottlingException
Inspector2.Client.exceptions.InternalServerException