:doc:`Route53GlobalResolver <../../route53globalresolver>` / Client / update_access_token

*******************
update_access_token
*******************



.. py:method:: Route53GlobalResolver.Client.update_access_token(**kwargs)

  

  Updates the configuration of an access token.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/route53globalresolver-2022-09-27/UpdateAccessToken>`_  


  **Request Syntax**
  ::

    response = client.update_access_token(
        accessTokenId='string',
        name='string'
    )
    
  :type accessTokenId: string
  :param accessTokenId: **[REQUIRED]** 

    The ID of the token.

    

  
  :type name: string
  :param name: **[REQUIRED]** 

    The new name of the token.

    

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

    
    ::

      {
          'id': 'string',
          'name': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **id** *(string) --* 

        The ID of the token.

        
      

      - **name** *(string) --* 

        The name of the token.

        
  
  **Exceptions**
  
  *   :py:class:`Route53GlobalResolver.Client.exceptions.InternalServerException`

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

  
  *   :py:class:`Route53GlobalResolver.Client.exceptions.ConflictException`

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

  
  *   :py:class:`Route53GlobalResolver.Client.exceptions.ThrottlingException`

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

  