:doc:`AuroraDSQL <../../dsql>` / Client / tag_resource

************
tag_resource
************



.. py:method:: AuroraDSQL.Client.tag_resource(**kwargs)

  

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

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/TagResource>`_  


  **Request Syntax**
  ::

    response = client.tag_resource(
        resourceArn='string',
        tags={
            'string': 'string'
        }
    )
    
  :type resourceArn: string
  :param resourceArn: **[REQUIRED]** 

    The ARN of the resource that you want to tag.

    

  
  :type tags: dict
  :param tags: **[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**
  
  *   :py:class:`AuroraDSQL.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`AuroraDSQL.Client.exceptions.ThrottlingException`

  
  *   :py:class:`AuroraDSQL.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`AuroraDSQL.Client.exceptions.ValidationException`

  
  *   :py:class:`AuroraDSQL.Client.exceptions.InternalServerException`

  
  *   :py:class:`AuroraDSQL.Client.exceptions.ResourceNotFoundException`

  