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'
)
[REQUIRED]
The ARN of the resource.
{
'tags': {
'string': 'string'
}
}
Response Structure
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 .
Exceptions
GreengrassV2.Client.exceptions.InternalServerException
GreengrassV2.Client.exceptions.ValidationException
GreengrassV2.Client.exceptions.ResourceNotFoundException