tag_resource
(**kwargs)¶Adds one or more key-value tags to an Amazon Rekognition collection, stream processor, or Custom Labels model. For more information, see Tagging AWS Resources.
This operation requires permissions to perform the rekognition:TagResource
action.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
ResourceArn='string',
Tags={
'string': 'string'
}
)
[REQUIRED]
Amazon Resource Name (ARN) of the model, collection, or stream processor that you want to assign the tags to.
[REQUIRED]
The key-value tags to assign to the resource.
dict
Response Syntax
{}
Response Structure
Exceptions
Rekognition.Client.exceptions.ResourceNotFoundException
Rekognition.Client.exceptions.InvalidParameterException
Rekognition.Client.exceptions.ServiceQuotaExceededException
Rekognition.Client.exceptions.AccessDeniedException
Rekognition.Client.exceptions.InternalServerError
Rekognition.Client.exceptions.ThrottlingException
Rekognition.Client.exceptions.ProvisionedThroughputExceededException