v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1463250283.1 KB

Imports domain names from a file into a domain list, for use in a DNS firewall rule group.

Each domain specification in your domain list must satisfy the following requirements:

  • It can optionally start with * (asterisk).

  • With the exception of the optional starting asterisk, it must only contain the following characters: A-Z, a-z, 0-9, - (hyphen).

  • It must be from 1-255 characters in length.

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

Headers

X-Amz-Target'Route53Resolver.ImportFirewallDomains' required

Request body

FirewallDomainListIdstring required

The ID of the domain list that you want to modify with the import operation.

Operation'REPLACE' required

What you want DNS Firewall to do with the domains that are listed in the file. This must be set to <code>REPLACE</code>, which updates the domain list to exactly match the list in the file.

DomainFileUrlstring required
<p>The fully qualified URL or URI of the file stored in Amazon Simple Storage Service (Amazon S3) that contains the list of domains to import.</p> <p>The file must be in an S3 bucket that's in the same Region as your DNS Firewall. The file must be a text file and must contain a single domain per line.</p>

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 import request.

StatusMessagestring

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