Returns a list of tags in an Amazon Rekognition collection, stream processor, or Custom Labels model.
This operation requires permissions to perform the rekognition:ListTagsForResource
action.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
ResourceArn='string'
)
[REQUIRED]
Amazon Resource Name (ARN) of the model, collection, or stream processor that contains the tags that you want a list of.
{
'Tags': {
'string': 'string'
}
}
Response Structure
A list of key-value tags assigned to the resource.
Exceptions
Rekognition.Client.exceptions.ResourceNotFoundException
Rekognition.Client.exceptions.InvalidParameterException
Rekognition.Client.exceptions.AccessDeniedException
Rekognition.Client.exceptions.InternalServerError
Rekognition.Client.exceptions.ThrottlingException
Rekognition.Client.exceptions.ProvisionedThroughputExceededException