:doc:`SimSpaceWeaver <../../simspaceweaver>` / Client / tag_resource

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



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

  

  Adds tags to a SimSpace Weaver resource. For more information about tags, see `Tagging Amazon Web Services resources <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html>`__ in the *Amazon Web Services General Reference*.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/simspaceweaver-2022-10-28/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 resource that you want to add tags to. For more information about ARNs, see `Amazon Resource Names (ARNs) <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html>`__ in the *Amazon Web Services General Reference*.

    

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

    A list of tags to apply to the resource.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`SimSpaceWeaver.Client.exceptions.TooManyTagsException`

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

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

  