AuroraDSQL / Client / tag_resource

tag_resource#

AuroraDSQL.Client.tag_resource(**kwargs)#

Tags a resource with a map of key and value pairs.

See also: AWS API Documentation

Request Syntax

response = client.tag_resource(
    resourceArn='string',
    tags={
        'string': 'string'
    }
)
Parameters:
  • resourceArn (string) –

    [REQUIRED]

    The ARN of the resource that you want to tag.

  • tags (dict) –

    [REQUIRED]

    A map of key and value pairs to use to tag your resource.

    • (string) –

      Unique tag key, maximum 128 Unicode characters in UTF-8

      • (string) –

        Tag value, maximum 256 Unicode characters in UTF-8

Returns:

None

Exceptions

  • AuroraDSQL.Client.exceptions.ServiceQuotaExceededException

  • AuroraDSQL.Client.exceptions.ThrottlingException

  • AuroraDSQL.Client.exceptions.AccessDeniedException

  • AuroraDSQL.Client.exceptions.ValidationException

  • AuroraDSQL.Client.exceptions.InternalServerException

  • AuroraDSQL.Client.exceptions.ResourceNotFoundException