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

**************
list_dns_views
**************



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

  

  Lists all DNS views for a Route 53 Global Resolver with pagination support.

  

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


  **Request Syntax**
  ::

    response = client.list_dns_views(
        maxResults=123,
        nextToken='string',
        globalResolverId='string'
    )
    
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to retrieve in a single call.

    

  
  :type nextToken: string
  :param nextToken: 

    A pagination token used for large sets of results that can't be returned in a single response.

    

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

    The Global Resolver ID.

    

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

    
    ::

      {
          'nextToken': 'string',
          'dnsViews': [
              {
                  'id': 'string',
                  'arn': 'string',
                  'clientToken': 'string',
                  'dnssecValidation': 'ENABLED'|'DISABLED',
                  'ednsClientSubnet': 'ENABLED'|'DISABLED',
                  'firewallRulesFailOpen': 'ENABLED'|'DISABLED',
                  'name': 'string',
                  'description': 'string',
                  'globalResolverId': 'string',
                  'createdAt': datetime(2015, 1, 1),
                  'updatedAt': datetime(2015, 1, 1),
                  'status': 'CREATING'|'OPERATIONAL'|'UPDATING'|'ENABLING'|'DISABLING'|'DISABLED'|'DELETING'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **nextToken** *(string) --* 

        A pagination token used for large sets of results that can't be returned in a single response. Provide this token in the next call to get the results not returned in this call.

        
      

      - **dnsViews** *(list) --* 

        An array of information about the DNS views, such as whether DNSSEC is enabled, creation time, etc.

        
        

        - *(dict) --* 

          Summary information about a DNS view.

          
          

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

            The unique identifier of the DNS view.

            
          

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

            The Amazon Resource Name (ARN) of the DNS view.

            
          

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

            The unique string that identifies the request and ensures idempotency.

            
          

          - **dnssecValidation** *(string) --* 

            Whether DNSSEC validation is enabled for the DNS view.

            
          

          - **ednsClientSubnet** *(string) --* 

            Whether EDNS Client Subnet injection is enabled for the DNS view.

            
          

          - **firewallRulesFailOpen** *(string) --* 

            Whether firewall rules fail open when they cannot be evaluated.

            
          

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

            The name of the DNS view.

            
          

          - **description** *(string) --* 

            A description of the DNS view.

            
          

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

            The ID of the global resolver that the DNS view is associated with.

            
          

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

            The date and time when the DNS view was created.

            
          

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

            The date and time when the DNS view was last updated.

            
          

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

            The current status of the DNS view.

            
      
    
  
  **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`

  