:doc:`Budgets <../../budgets>` / Client / tag_resource

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



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

  

  Creates tags for a budget or budget action resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/budgets-2016-10-20/TagResource>`_  


  **Request Syntax**
  ::

    response = client.tag_resource(
        ResourceARN='string',
        ResourceTags=[
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    )
    
  :type ResourceARN: string
  :param ResourceARN: **[REQUIRED]** 

    The unique identifier for the resource.

    

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

    The tags associated with the resource.

    

  
    - *(dict) --* 

      The tag structure that contains a tag key and value.

      

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

        The key that's associated with the tag.

        

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

        The value that's associated with the tag.

        

      
    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Budgets.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Budgets.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`Budgets.Client.exceptions.NotFoundException`

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

  
  *   :py:class:`Budgets.Client.exceptions.InternalErrorException`

  
  *   :py:class:`Budgets.Client.exceptions.InvalidParameterException`

  