list_resolver_configs
¶
list_resolver_configs(
*,
config_overrides: Optional[Route53ResolverClientConfig] = None,
max_results: Optional[ListResolverConfigsMaxResult] = None,
next_token: Optional[NextToken] = None,
) -> ListResolverConfigsResponse
Retrieves the Resolver configurations that you have defined. Route 53 Resolver uses the configurations to manage DNS resolution behavior for your VPCs.
Parameters:
-
max_results(Optional[ListResolverConfigsMaxResult], default:None) –The maximum number of Resolver configurations that you want to return in the response to a
ListResolverConfigsrequest. If you don't specify a value forMaxResults, up to 100 Resolver configurations are returned. -
next_token(Optional[NextToken], default:None) –(Optional) If the current Amazon Web Services account has more than
MaxResultsResolver configurations, useNextTokento get the second and subsequent pages of results.For the first
ListResolverConfigsrequest, omit this value.For the second and subsequent requests, get the value of
NextTokenfrom the previous response and specify that value forNextTokenin the 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.
-
InvalidNextTokenException–The value that you specified for
NextTokenin aListrequest isn't valid. -
InvalidParameterException–One or more parameters in this request are not valid.
-
InvalidRequestException–The request is invalid.
-
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.