v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1463250283.1 KB

Updates the firewall domain list from an array of domain specifications.

post/#X-Amz-Target=Route53Resolver.UpdateFirewallDomains

Headers

X-Amz-Target'Route53Resolver.UpdateFirewallDomains' required

Request body

FirewallDomainListIdstring required

The ID of the domain list whose domains you want to update.

Operation'ADD' | 'REMOVE' | 'REPLACE' required
<p>What you want DNS Firewall to do with the domains that you are providing: </p> <ul> <li> <p> <code>ADD</code> - Add the domains to the ones that are already in the domain list. </p> </li> <li> <p> <code>REMOVE</code> - Search the domain list for the domains and remove them from the list.</p> </li> <li> <p> <code>REPLACE</code> - Update the domain list to exactly match the list that you are providing. </p> </li> </ul>
DomainsFirewallDomainName[] required
<p>A list of domains to use in the update operation.</p> <important> <p>There is a limit of 1000 domains per request.</p> </important> <p>Each domain specification in your domain list must satisfy the following requirements: </p> <ul> <li> <p>It can optionally start with <code>*</code> (asterisk).</p> </li> <li> <p>With the exception of the optional starting asterisk, it must only contain the following characters: <code>A-Z</code>, <code>a-z</code>, <code>0-9</code>, <code>-</code> (hyphen).</p> </li> <li> <p>It must be from 1-255 characters in length. </p> </li> </ul>

Response

Success

Idstring

The ID of the firewall domain list that DNS Firewall just updated.

Namestring

The name of the domain list.

Status'COMPLETE' | 'COMPLETE_IMPORT_FAILED' | 'IMPORTING' | 'DELETING' | 'UPDATING'

Status of the <code>UpdateFirewallDomains</code> request.

StatusMessagestring

Additional information about the status of the list, if available.