LocationService / Client / list_tags_for_resource
list_tags_for_resource#
- LocationService.Client.list_tags_for_resource(**kwargs)#
Returns a list of tags that are applied to the specified Amazon Location resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource( ResourceArn='string' )
- Parameters:
ResourceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.
Format example:
arn:aws:geo:region:account-id:resourcetype/ExampleResource
- Return type:
dict
- Returns:
Response Syntax
{ 'Tags': { 'string': 'string' } }
Response Structure
(dict) –
Tags (dict) –
Tags that have been applied to the specified resource. Tags are mapped from the tag key to the tag value:
"TagKey" : "TagValue"
.Format example:
{"tag1" : "value1", "tag2" : "value2"}
(string) –
(string) –
Exceptions
LocationService.Client.exceptions.InternalServerException
LocationService.Client.exceptions.ResourceNotFoundException
LocationService.Client.exceptions.AccessDeniedException
LocationService.Client.exceptions.ValidationException
LocationService.Client.exceptions.ThrottlingException