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.

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