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.

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.ValidationException

  • Route53GlobalResolver.Client.exceptions.ServiceQuotaExceededException

  • Route53GlobalResolver.Client.exceptions.ResourceNotFoundException