:doc:`TimestreamInfluxDB <../../timestream-influxdb>` / Client / tag_resource

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



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

  

  Tags are composed of a Key/Value pairs. You can use tags to categorize and track your Timestream for InfluxDB resources.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/timestream-influxdb-2023-01-27/TagResource>`_  


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) of the tagged resource.

    

  
  :type tags: dict
  :param tags: **[REQUIRED]** 

    A list of tags used to categorize and track resources.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


  
  :returns: None
  **Exceptions**
  
  *   :py:class:`TimestreamInfluxDB.Client.exceptions.ServiceQuotaExceededException`

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

  