:doc:`Route53GlobalResolver <../../route53globalresolver>` / Paginator / ListAccessTokens

****************
ListAccessTokens
****************



.. py:class:: Route53GlobalResolver.Paginator.ListAccessTokens

  ::

    
    paginator = client.get_paginator('list_access_tokens')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`Route53GlobalResolver.Client.list_access_tokens`.

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


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          dnsViewId='string',
          filters={
              'string': [
                  'string',
              ]
          },
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type dnsViewId: string
    :param dnsViewId: **[REQUIRED]** 

      The ID of the DNS view to list the tokens for.

      

    
    :type filters: dict
    :param filters: 

      Filtering parameters.

      

    
      - *(string) --* 

      
        - *(list) --* 

        
          - *(string) --* 

          
      
  

    :type PaginationConfig: dict
    :param PaginationConfig: 

      A dictionary that provides parameters to control pagination.

      

    
      - **MaxItems** *(integer) --* 

        The total number of items to return. If the total number of items available is more than the value specified in max-items then a ``NextToken`` will be provided in the output that you can use to resume pagination.

        

      
      - **PageSize** *(integer) --* 

        The size of each page.

        

      
      - **StartingToken** *(string) --* 

        A token to specify where to start paginating. This is the ``NextToken`` from a previous response.

        

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

      
      ::

        {
            'accessTokens': [
                {
                    'id': 'string',
                    'arn': '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)
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **accessTokens** *(list) --* 

          List of the tokens.

          
          

          - *(dict) --* 

            Summary information about a token.

            
            

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

              The unique identifier of the token.

              
            

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

              The Amazon Resource Name (ARN) of the token.

              
            

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

              The date and time when the token was created.

              
            

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

              The ID of the DNS view associated with the token.

              
            

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

              The date and time when the token expires.

              
            

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

              The ID of the global resolver associated with the token.

              
            

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

              The name of the token.

              
            

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

              The current status of the token.

              
            

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

              The date and time when the token was last updated.

              
        
      
        

        - **NextToken** *(string) --* 

          A token to resume pagination.

          
    