Route53GlobalResolver / Client / tag_resource
tag_resource¶
- Route53GlobalResolver.Client.tag_resource(**kwargs)¶
Adds or updates tags for a Route 53 Global Resolver resource. Tags are key-value pairs that help you organize and identify your resources.
Warning
Route 53 Global Resolver is a global service that supports resolvers in multiple Amazon Web Services Regions but you must specify the US East (Ohio) Region to create, update, or otherwise work with Route 53 Global Resolver resources. That is, for example, specify
--region us-east-2on Amazon Web Services CLI commands.See also: AWS API Documentation
Request Syntax
response = client.tag_resource( resourceArn='string', tags={ 'string': 'string' } )
- Parameters:
resourceArn (string) –
[REQUIRED]
Amazon Resource Name (ARN) of the resource to be tagged.
tags (dict) –
[REQUIRED]
An array of user-defined keys and optional values. These tags can be used for categorization and organization.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
Route53GlobalResolver.Client.exceptions.ValidationExceptionRoute53GlobalResolver.Client.exceptions.ServiceQuotaExceededExceptionRoute53GlobalResolver.Client.exceptions.ResourceNotFoundException