list_firewall_domains
¶
list_firewall_domains(
firewall_domain_list_id: ResourceId,
*,
config_overrides: Optional[Route53ResolverClientConfig] = None,
max_results: Optional[ListDomainMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListFirewallDomainsResponse
Retrieves the domains that you have defined for the specified firewall domain list.
A single call might return only a partial list of the domains. For information, see MaxResults.
Parameters:
-
firewall_domain_list_id(ResourceId) –The ID of the domain list whose domains you want to retrieve.
-
max_results(Optional[ListDomainMaxResults], default:None) –The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a
NextTokenvalue that you can use in a subsequent call to get the next batch of objects.If you don't specify a value for
MaxResults, Resolver returns up to 100 objects. -
next_token(Optional[NextToken], default:None) –For the first call to this list request, omit this value.
When you request a list of objects, Resolver returns at most the number of objects specified in
MaxResults. If more objects are available for retrieval, Resolver returns aNextTokenvalue in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.
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.
-
ResourceNotFoundException–The specified resource doesn't exist.
-
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.