GreengrassV2 / Client / list_tags_for_resource
list_tags_for_resource#
- GreengrassV2.Client.list_tags_for_resource(**kwargs)#
Retrieves the list of tags for an IoT Greengrass 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': { 'string': 'string' } }
Response Structure
(dict) –
tags (dict) –
A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.
(string) –
(string) –
Exceptions
GreengrassV2.Client.exceptions.InternalServerException
GreengrassV2.Client.exceptions.ValidationException
GreengrassV2.Client.exceptions.ResourceNotFoundException