Route53GlobalResolver / Client / import_firewall_domains
import_firewall_domains¶
- Route53GlobalResolver.Client.import_firewall_domains(**kwargs)¶
Imports a list of domains from an Amazon S3 file into a firewall domain list. The file should contain one domain per line.
Warning
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-2on Amazon Web Services CLI commands.See also: AWS API Documentation
Request Syntax
response = client.import_firewall_domains( domainFileUrl='string', firewallDomainListId='string', operation='string' )
- Parameters:
domainFileUrl (string) –
[REQUIRED]
The fully qualified URL of the file in Amazon S3 that contains the list of domains to import. The file should contain one domain per line.
firewallDomainListId (string) –
[REQUIRED]
ID of the DNS Firewall domain list that you want to import the domain list to.
operation (string) –
[REQUIRED]
This value is
REPLACE, and it updates the domain list to match the list of domains in the imported file.
- Return type:
dict
- Returns:
Response Syntax
{ 'id': 'string', 'name': 'string', 'status': 'CREATING'|'OPERATIONAL'|'UPDATING'|'DELETING' }
Response Structure
(dict) –
id (string) –
ID of the DNS Firewall domain list that you imported the domain list to.
name (string) –
Name of the DNS Firewall domain list.
status (string) –
Operational status of the DNS Firewall domain list.
Exceptions