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

****************
get_access_token
****************



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

  

  Retrieves information about an access token.

  

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


  **Request Syntax**
  ::

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

    ID of the token.

    

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

    
    ::

      {
          'id': 'string',
          'arn': 'string',
          'clientToken': 'string',
          'createdAt': datetime(2015, 1, 1),
          'dnsViewId': 'string',
          'expiresAt': datetime(2015, 1, 1),
          'globalResolverId': 'string',
          'name': 'string',
          'status': 'CREATING'|'OPERATIONAL'|'DELETING',
          'updatedAt': datetime(2015, 1, 1),
          'value': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        ID of the token.

        
      

      - **arn** *(string) --* 

        The Amazon Resource Name (ARN) of the token.

        
      

      - **clientToken** *(string) --* 

        A unique, case-sensitive identifier to ensure idempotency. This means that making the same request multiple times with the same ``clientToken`` has the same result every time.

        
      

      - **createdAt** *(datetime) --* 

        The time and date the token was created.

        
      

      - **dnsViewId** *(string) --* 

        ID of the DNS view the token is associated to.

        
      

      - **expiresAt** *(datetime) --* 

        The token's expiration time and date.

        
      

      - **globalResolverId** *(string) --* 

        ID of the Global Resolver.

        
      

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

        Name of the token.

        
      

      - **status** *(string) --* 

        The operational status of the token.

        
      

      - **updatedAt** *(datetime) --* 

        The time and date the token was created.

        
      

      - **value** *(string) --* 

        The value of the token.

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

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

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

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

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

  