:doc:`WellArchitected <../../wellarchitected>` / Client / tag_resource

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



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

  

  Adds one or more tags to the specified resource.

   

  .. note::

    

    The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template ARN.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/TagResource>`_  


  **Request Syntax**
  ::

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

    The ARN for the workload.

    

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

    The tags for the resource.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`WellArchitected.Client.exceptions.InternalServerException`

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

  