Textract / Client / tag_resource
tag_resource#
- Textract.Client.tag_resource(**kwargs)#
Adds one or more tags to the specified resource.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource( ResourceARN='string', Tags={ 'string': 'string' } )
- Parameters:
ResourceARN (string) –
[REQUIRED]
The Amazon Resource Name (ARN) that specifies the resource to be tagged.
Tags (dict) –
[REQUIRED]
A set of tags (key-value pairs) that you want to assign to the resource.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
Textract.Client.exceptions.ResourceNotFoundException
Textract.Client.exceptions.InvalidParameterException
Textract.Client.exceptions.ServiceQuotaExceededException
Textract.Client.exceptions.AccessDeniedException
Textract.Client.exceptions.ProvisionedThroughputExceededException
Textract.Client.exceptions.InternalServerError
Textract.Client.exceptions.ThrottlingException
Textract.Client.exceptions.ValidationException