Rekognition / Client / list_tags_for_resource
list_tags_for_resource¶
- Rekognition.Client.list_tags_for_resource(**kwargs)¶
Returns a list of tags in an Amazon Rekognition collection, stream processor, or Custom Labels model.
This operation requires permissions to perform the
rekognition:ListTagsForResourceaction.See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource( ResourceArn='string' )
- Parameters:
ResourceArn (string) –
[REQUIRED]
Amazon Resource Name (ARN) of the model, collection, or stream processor that contains the tags that you want a list of.
- Return type:
dict
- Returns:
Response Syntax
{ 'Tags': { 'string': 'string' } }
Response Structure
(dict) –
Tags (dict) –
A list of key-value tags assigned to the resource.
(string) –
(string) –
Exceptions
Rekognition.Client.exceptions.ResourceNotFoundExceptionRekognition.Client.exceptions.InvalidParameterExceptionRekognition.Client.exceptions.AccessDeniedExceptionRekognition.Client.exceptions.InternalServerErrorRekognition.Client.exceptions.ThrottlingExceptionRekognition.Client.exceptions.ProvisionedThroughputExceededException