LookoutEquipment / Client / list_tags_for_resource
list_tags_for_resource#
- LookoutEquipment.Client.list_tags_for_resource(**kwargs)#
Lists all the tags for a specified resource, including key and value.
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 (such as the dataset or model) that is the focus of the
ListTagsForResource
operation.- Return type:
dict
- Returns:
Response Syntax
{ 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] }
Response Structure
(dict) –
Tags (list) –
Any tags associated with the resource.
(dict) –
A tag is a key-value pair that can be added to a resource as metadata.
Key (string) –
The key for the specified tag.
Value (string) –
The value for the specified tag.
Exceptions
LookoutEquipment.Client.exceptions.ValidationException
LookoutEquipment.Client.exceptions.ResourceNotFoundException
LookoutEquipment.Client.exceptions.ThrottlingException
LookoutEquipment.Client.exceptions.AccessDeniedException
LookoutEquipment.Client.exceptions.InternalServerException