WorkSpacesWeb / Client / list_tags_for_resource
list_tags_for_resource#
- WorkSpacesWeb.Client.list_tags_for_resource(**kwargs)#
Retrieves a list of tags for a resource.
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': [ { 'Key': 'string', 'Value': 'string' }, ] }
Response Structure
(dict) –
tags (list) –
The tags of the resource.
(dict) –
The tag.
Key (string) –
The key of the tag.
Value (string) –
The value of the tag
Exceptions