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

*****************
ListFirewallRules
*****************



.. py:class:: Route53GlobalResolver.Paginator.ListFirewallRules

  ::

    
    paginator = client.get_paginator('list_firewall_rules')

  
  

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

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

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


    **Request Syntax**
    ::

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

      ID of the DNS view.

      

    
    :type filters: dict
    :param filters: 

      Values to filter the results.

      

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

      
      ::

        {
            'firewallRules': [
                {
                    'action': 'ALLOW'|'ALERT'|'BLOCK',
                    'blockOverrideDnsType': 'CNAME',
                    'blockOverrideDomain': 'string',
                    'blockOverrideTtl': 123,
                    'blockResponse': 'NODATA'|'NXDOMAIN'|'OVERRIDE',
                    'confidenceThreshold': 'LOW'|'MEDIUM'|'HIGH',
                    'createdAt': datetime(2015, 1, 1),
                    'description': 'string',
                    'dnsAdvancedProtection': 'DGA'|'DNS_TUNNELING',
                    'firewallDomainListId': 'string',
                    'id': 'string',
                    'name': 'string',
                    'priority': 123,
                    'dnsViewId': 'string',
                    'queryType': 'string',
                    'status': 'CREATING'|'OPERATIONAL'|'UPDATING'|'DELETING',
                    'updatedAt': datetime(2015, 1, 1)
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **firewallRules** *(list) --* 

          List of the firewall rules and information about them.

          
          

          - *(dict) --* 

            Summary information about a firewall rule.

            
            

            - **action** *(string) --* 

              The action configured for the firewall rule.

              
            

            - **blockOverrideDnsType** *(string) --* 

              The DNS record type configured for the firewall rule's custom response.

              
            

            - **blockOverrideDomain** *(string) --* 

              The custom domain name configured for the firewall rule's BLOCK response.

              
            

            - **blockOverrideTtl** *(integer) --* 

              The TTL value configured for the firewall rule's custom response.

              
            

            - **blockResponse** *(string) --* 

              The type of block response configured for the firewall rule.

              
            

            - **confidenceThreshold** *(string) --* 

              The confidence threshold configured for the firewall rule's advanced threat detection.

              
            

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

              The date and time when the firewall rule was created.

              
            

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

              The description of the firewall rule.

              
            

            - **dnsAdvancedProtection** *(string) --* 

              Whether advanced DNS threat protection is enabled for the firewall rule.

              
            

            - **firewallDomainListId** *(string) --* 

              The ID of the firewall domain list associated with the firewall rule.

              
            

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

              The unique identifier of the firewall rule.

              
            

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

              The name of the firewall rule.

              
            

            - **priority** *(integer) --* 

              The priority of the firewall rule.

              
            

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

              The ID of the DNS view associated with the firewall rule.

              
            

            - **queryType** *(string) --* 

              The DNS query type that the firewall rule matches.

              
            

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

              The current status of the firewall rule.

              
            

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

              The date and time when the firewall rule was last updated.

              
        
      
        

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

          A token to resume pagination.

          
    