LookoutforVision.Client.
tag_resource
(**kwargs)¶Adds one or more key-value tags to an Amazon Lookout for Vision model. For more information, see Tagging a model in the Amazon Lookout for Vision Developer Guide .
This operation requires permissions to perform the lookoutvision:TagResource
operation.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
ResourceArn='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The Amazon Resource Name (ARN) of the model to assign the tags.
[REQUIRED]
The key-value tags to assign to the model.
A key and value pair that is attached to the specified Amazon Lookout for Vision model.
The key of the tag that is attached to the specified model.
The value of the tag that is attached to the specified model.
dict
Response Syntax
{}
Response Structure
Exceptions
LookoutforVision.Client.exceptions.AccessDeniedException
LookoutforVision.Client.exceptions.InternalServerException
LookoutforVision.Client.exceptions.ValidationException
LookoutforVision.Client.exceptions.ConflictException
LookoutforVision.Client.exceptions.ResourceNotFoundException
LookoutforVision.Client.exceptions.ThrottlingException
LookoutforVision.Client.exceptions.ServiceQuotaExceededException