list_firewall_configs
¶
list_firewall_configs(
*,
config_overrides: Optional[Route53ResolverClientConfig] = None,
max_results: Optional[ListFirewallConfigsMaxResult] = None,
next_token: Optional[NextToken] = None,
) -> ListFirewallConfigsResponse
Retrieves the firewall configurations that you have defined. DNS Firewall uses the configurations to manage firewall behavior for your VPCs.
A single call might return only a partial list of the configurations. For information, see MaxResults.
Parameters:
-
max_results(Optional[ListFirewallConfigsMaxResult], 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.
-
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.