:doc:`IoTSecureTunneling <../../iotsecuretunneling>` / Client / tag_resource

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



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

  

  A resource tag.

  

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


  **Request Syntax**
  ::

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

    The ARN of the resource.

    

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

    The tags for the resource.

    

  
    - *(dict) --* 

      An arbitary key/value pair used to add searchable metadata to secure tunnel resources.

      

    
      - **key** *(string) --* **[REQUIRED]** 

        The key of the tag.

        

      
      - **value** *(string) --* **[REQUIRED]** 

        The value of the tag.

        

      
    

  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`IoTSecureTunneling.Client.exceptions.ResourceNotFoundException`

  