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.ResourceNotFoundExceptionTextract.Client.exceptions.InvalidParameterExceptionTextract.Client.exceptions.ServiceQuotaExceededExceptionTextract.Client.exceptions.AccessDeniedExceptionTextract.Client.exceptions.ProvisionedThroughputExceededExceptionTextract.Client.exceptions.InternalServerErrorTextract.Client.exceptions.ThrottlingExceptionTextract.Client.exceptions.ValidationException