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

********************
delete_firewall_rule
********************



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

  

  Deletes a DNS firewall rule. This operation cannot be undone.

  

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


  **Request Syntax**
  ::

    response = client.delete_firewall_rule(
        firewallRuleId='string'
    )
    
  :type firewallRuleId: string
  :param firewallRuleId: **[REQUIRED]** 

    The unique identifier of the firewall rule to delete.

    

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

    
    ::

      {
          '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)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The action that was configured for the deleted firewall rule.

        
      

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

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

        
      

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

        The custom domain that was configured for the deleted firewall rule's BLOCK response.

        
      

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

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

        
      

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

        The block response type that was configured for the deleted firewall rule.

        
      

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

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

        
      

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

        The date and time when the firewall rule was originally created.

        
      

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

        The description of the deleted firewall rule.

        
      

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

        Whether advanced DNS threat protection was enabled for the deleted firewall rule.

        
      

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

        The ID of the firewall domain list that was associated with the deleted firewall rule.

        
      

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

        The unique identifier of the deleted firewall rule.

        
      

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

        The name of the deleted firewall rule.

        
      

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

        The priority that was configured for the deleted firewall rule.

        
      

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

        The ID of the DNS view that was associated with the deleted firewall rule.

        
      

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

        The DNS query type that the deleted firewall rule was configured to match.

        
      

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

        The final status of the deleted firewall rule.

        
      

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

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

        
  
  **Exceptions**
  
  *   :py:class:`Route53GlobalResolver.Client.exceptions.InternalServerException`

  
  *   :py:class:`Route53GlobalResolver.Client.exceptions.ValidationException`

  
  *   :py:class:`Route53GlobalResolver.Client.exceptions.ConflictException`

  
  *   :py:class:`Route53GlobalResolver.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Route53GlobalResolver.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Route53GlobalResolver.Client.exceptions.ResourceNotFoundException`

  