create_firewall_domain_list
¶
create_firewall_domain_list(
creator_request_id: CreatorRequestId,
name: Name,
*,
config_overrides: Optional[Route53ResolverClientConfig] = None,
tags: Optional[TagList] = None,
) -> CreateFirewallDomainListResponse
Creates an empty firewall domain list for use in DNS Firewall rules. You can populate the domains for the new list with a file, using ImportFirewallDomains, or with domain strings, using UpdateFirewallDomains.
Parameters:
-
creator_request_id(CreatorRequestId) –A unique string that identifies the request and that allows you to retry failed requests without the risk of running the operation twice.
CreatorRequestIdcan be any unique string, for example, a date/time stamp. -
name(Name) –A name that lets you identify the domain list to manage and use it.
-
tags(Optional[TagList], default:None) –A list of the tag keys and values that you want to associate with the domain list.
Raises:
-
AccessDeniedException–The current account doesn't have the IAM permissions required to perform the specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
-
InternalServiceErrorException–We encountered an unknown error. Try again in a few minutes.
-
LimitExceededException–The request caused one or more limits to be exceeded.
-
ThrottlingException–The request was throttled. Try again in a few minutes.
-
ValidationException–You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa domain. -
UnknownServiceError–The service returned an error code this client does not model.