ControlTower / Client / list_tags_for_resource
list_tags_for_resource#
- ControlTower.Client.list_tags_for_resource(**kwargs)#
Returns a list of tags associated with the resource. For usage examples, see the Controls Reference Guide.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource( resourceArn='string' )
- Parameters:
resourceArn (string) –
[REQUIRED]
The ARN of the resource.
- Return type:
dict
- Returns:
Response Syntax
{ 'tags': { 'string': 'string' } }
Response Structure
(dict) –
tags (dict) –
A list of tags, as
key:value
strings.(string) –
(string) –
Exceptions
ControlTower.Client.exceptions.ValidationException
ControlTower.Client.exceptions.InternalServerException
ControlTower.Client.exceptions.ResourceNotFoundException