v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1448186240.2 KB

Updates the configuration of a DNS firewall rule.

Route 53 Global Resolver is a global service that supports resolvers in multiple Amazon Web Services Regions but you must specify the US East (Ohio) Region to create, update, or otherwise work with Route 53 Global Resolver resources. That is, for example, specify --region us-east-2 on Amazon Web Services CLI commands.

patch/firewall-rules/{firewallRuleId}

Path parameters

firewallRuleIdstring required

The ID of the DNS Firewall rule.

Request body

action'ALLOW' | 'ALERT' | 'BLOCK'

The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule.

blockOverrideDnsType'CNAME'

The DNS record's type. This determines the format of the record value that you provided in <code>BlockOverrideDomain</code>. Used for the rule action <code>BLOCK</code> with a <code>BlockResponse</code> setting of <code>OVERRIDE</code>.

blockOverrideDomainstring

The custom DNS record to send back in response to the query. Used for the rule action <code>BLOCK</code> with a <code>BlockResponse</code> setting of <code>OVERRIDE</code>.

blockOverrideTtlinteger

The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action <code>BLOCK</code> with a <code>BlockResponse</code> setting of <code>OVERRIDE</code>.

blockResponse'NODATA' | 'NXDOMAIN' | 'OVERRIDE'

The way that you want DNS Firewall to block the request. Used for the rule action setting <code>BLOCK</code>.

clientTokenstring required

A unique, case-sensitive identifier to ensure idempotency. This means that making the same request multiple times with the same <code>clientToken</code> has the same result every time.

confidenceThreshold'LOW' | 'MEDIUM' | 'HIGH'

The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule.

descriptionstring

The description for the Firewall rule.

dnsAdvancedProtection'DGA' | 'DNS_TUNNELING' | 'DICTIONARY_DGA'

The type of the DNS Firewall Advanced rule. Valid values are DGA, DNS_TUNNELING, and DICTIONARY_DGA.

namestring

The name of the DNS Firewall rule.

priorityinteger

The setting that determines the processing order of the rule in the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.

Response

Success

action'ALLOW' | 'ALERT' | 'BLOCK' required

The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule.

blockOverrideDnsType'CNAME'

The DNS record's type. This determines the format of the record value that you provided in <code>BlockOverrideDomain</code>. Used for the rule action <code>BLOCK</code> with a <code>BlockResponse</code> setting of <code>OVERRIDE</code>.

blockOverrideDomainstring

The custom DNS record to send back in response to the query. Used for the rule action <code>BLOCK</code> with a <code>BlockResponse</code> setting of <code>OVERRIDE</code>.

blockOverrideTtlinteger

The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action <code>BLOCK</code> with a <code>BlockResponse</code> setting of <code>OVERRIDE</code>.

blockResponse'NODATA' | 'NXDOMAIN' | 'OVERRIDE'

The way that you want DNS Firewall to block the request. Used for the rule action setting <code>BLOCK</code>.

confidenceThreshold'LOW' | 'MEDIUM' | 'HIGH'

The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule.

createdAtstring date-time required

The time and date the Firewall rule was created.

descriptionstring

The description of the Firewall rule.

dnsAdvancedProtection'DGA' | 'DNS_TUNNELING' | 'DICTIONARY_DGA'

The type of the DNS Firewall Advanced rule. Valid values are DGA, DNS_TUNNELING, and DICTIONARY_DGA.

firewallDomainListIdstring

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

idstring required

The ID of the Firewall rule.

namestring required

The name of the Firewall rule.

priorityinteger required

The setting that determines the processing order of the rule in the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.

dnsViewIdstring required

The ID of the DNS view the Firewall rule is associated with.

queryTypestring

The DNS query type you want the rule to evaluate.

status'CREATING' | 'OPERATIONAL' | 'UPDATING' | 'DELETING' required

The operational status of the firewall rule.

updatedAtstring date-time required

The time and date the rule was updated.