Route53GlobalResolver / Client / update_firewall_domains
update_firewall_domains¶
- Route53GlobalResolver.Client.update_firewall_domains(**kwargs)¶
Updates a DNS Firewall domain list from an array of specified domains.
See also: AWS API Documentation
Request Syntax
response = client.update_firewall_domains( domains=[ 'string', ], firewallDomainListId='string', operation='string' )
- Parameters:
domains (list) –
[REQUIRED]
A list of the domains. You can add up to 1000 domains per request.
(string) –
firewallDomainListId (string) –
[REQUIRED]
The ID of the DNS Firewall domain list to which you want to add the domains.
operation (string) –
[REQUIRED]
The operation for updating the domain list. The allowed values are ADD, REMOVE, and REPLACE.
- Return type:
dict
- Returns:
Response Syntax
{ 'id': 'string', 'name': 'string', 'status': 'CREATING'|'OPERATIONAL'|'UPDATING'|'DELETING' }
Response Structure
(dict) –
id (string) –
The ID of the DNS Firewall domain list.
name (string) –
The name of the domain list.
status (string) –
The operational status of the domain list.
Exceptions