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

*********************
list_firewall_domains
*********************



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

  

  Lists all the domains in DNS Firewall domain list you have created.

  

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


  **Request Syntax**
  ::

    response = client.list_firewall_domains(
        maxResults=123,
        nextToken='string',
        firewallDomainListId='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 firewallDomainListId: string
  :param firewallDomainListId: **[REQUIRED]** 

    ID of the DNS Firewall domain list.

    

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

    
    ::

      {
          'nextToken': 'string',
          'domains': [
              'string',
          ]
      }
      
    **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.

        
      

      - **domains** *(list) --* 

        List of domains in the specified domain list.

        
        

        - *(string) --* 
    
  
  **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`

  