:doc:`Route53Domains <../../route53domains>` / Client / update_tags_for_domain

**********************
update_tags_for_domain
**********************



.. py:method:: Route53Domains.Client.update_tags_for_domain(**kwargs)

  

  This operation adds or updates tags for a specified domain.

   

  All tag operations are eventually consistent; subsequent operations might not immediately represent all issued operations.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateTagsForDomain>`_  


  **Request Syntax**
  ::

    response = client.update_tags_for_domain(
        DomainName='string',
        TagsToUpdate=[
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    )
    
  :type DomainName: string
  :param DomainName: **[REQUIRED]** 

    The domain for which you want to add or update tags.

    

  
  :type TagsToUpdate: list
  :param TagsToUpdate: 

    A list of the tag keys and values that you want to add or update. If you specify a key that already exists, the corresponding value will be replaced.

    

  
    - *(dict) --* 

      Each tag includes the following elements.

      

    
      - **Key** *(string) --* 

        The key (name) of a tag.

         

        Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@"

         

        Constraints: Each key can be 1-128 characters long.

        

      
      - **Value** *(string) --* 

        The value of a tag.

         

        Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@"

         

        Constraints: Each value can be 0-256 characters long.

        

      
    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Route53Domains.Client.exceptions.InvalidInput`

  
  *   :py:class:`Route53Domains.Client.exceptions.OperationLimitExceeded`

  
  *   :py:class:`Route53Domains.Client.exceptions.UnsupportedTLD`

  