Route53GlobalResolver / Client / delete_firewall_rule

delete_firewall_rule

Route53GlobalResolver.Client.delete_firewall_rule(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.delete_firewall_rule(
    firewallRuleId='string'
)
Parameters:

firewallRuleId (string) –

[REQUIRED]

The unique identifier of the firewall rule to delete.

Return type:

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

  • Route53GlobalResolver.Client.exceptions.InternalServerException

  • Route53GlobalResolver.Client.exceptions.ValidationException

  • Route53GlobalResolver.Client.exceptions.ConflictException

  • Route53GlobalResolver.Client.exceptions.AccessDeniedException

  • Route53GlobalResolver.Client.exceptions.ThrottlingException

  • Route53GlobalResolver.Client.exceptions.ResourceNotFoundException