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

**************************
batch_delete_firewall_rule
**************************



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

  

  Deletes multiple DNS firewall rules in a single operation. This is more efficient than deleting rules individually.

  

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


  **Request Syntax**
  ::

    response = client.batch_delete_firewall_rule(
        firewallRules=[
            {
                'firewallRuleId': 'string'
            },
        ]
    )
    
  :type firewallRules: list
  :param firewallRules: **[REQUIRED]** 

    An array of the DNS Firewall IDs to be deleted.

    

  
    - *(dict) --* 

      Information about a DNS Firewall rule to delete in a batch operation.

      

    
      - **firewallRuleId** *(string) --* **[REQUIRED]** 

        The ID of the DNS Firewall rule to delete.

        

      
    

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

    
    ::

      {
          'failures': [
              {
                  'firewallRule': {
                      'clientToken': 'string',
                      'id': 'string',
                      'name': 'string',
                      'status': 'CREATING'|'OPERATIONAL'|'UPDATING'|'DELETING'
                  },
                  'code': 123,
                  'message': 'string'
              },
          ],
          'successes': [
              {
                  'firewallRule': {
                      'clientToken': 'string',
                      'id': 'string',
                      'name': 'string',
                      'status': 'CREATING'|'OPERATIONAL'|'UPDATING'|'DELETING'
                  },
                  'code': 123,
                  'message': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **failures** *(list) --* 

        High level information about the DNS Firewall rules that failed to delete.

        
        

        - *(dict) --* 

          The result of deleting a firewall rule in a batch operation.

          
          

          - **firewallRule** *(dict) --* 

            The firewall rule that was deleted in the batch operation.

            
            

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

              The unique string that identified the request and ensured idempotency.

              
            

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

              The unique identifier of the deleted firewall rule.

              
            

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

              The name of the deleted firewall rule.

              
            

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

              The final status of the deleted firewall rule.

              
        
          

          - **code** *(integer) --* 

            The response code for the delete operation.

            
          

          - **message** *(string) --* 

            The response message for the delete operation.

            
      
    
      

      - **successes** *(list) --* 

        High level information about the DNS Firewall rules that were deleted successfully.

        
        

        - *(dict) --* 

          The result of deleting a firewall rule in a batch operation.

          
          

          - **firewallRule** *(dict) --* 

            The firewall rule that was deleted in the batch operation.

            
            

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

              The unique string that identified the request and ensured idempotency.

              
            

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

              The unique identifier of the deleted firewall rule.

              
            

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

              The name of the deleted firewall rule.

              
            

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

              The final status of the deleted firewall rule.

              
        
          

          - **code** *(integer) --* 

            The response code for the delete operation.

            
          

          - **message** *(string) --* 

            The response message for the delete operation.

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

  