Glue / Client / tag_resource
tag_resource#
- Glue.Client.tag_resource(**kwargs)#
Adds tags to a resource. A tag is a label you can assign to an Amazon Web Services resource. In Glue, you can tag only certain resources. For information about what resources you can tag, see Amazon Web Services Tags in Glue.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource( ResourceArn='string', TagsToAdd={ 'string': 'string' } )
- Parameters:
ResourceArn (string) –
[REQUIRED]
The ARN of the Glue resource to which to add the tags. For more information about Glue resource ARNs, see the Glue ARN string pattern.
TagsToAdd (dict) –
[REQUIRED]
Tags to add to this resource.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
Glue.Client.exceptions.InvalidInputException
Glue.Client.exceptions.InternalServiceException
Glue.Client.exceptions.OperationTimeoutException
Glue.Client.exceptions.EntityNotFoundException