list_resolver_rule_associations
¶
list_resolver_rule_associations(
*,
config_overrides: Optional[Route53ResolverClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
filters: Optional[Filters] = None,
) -> ListResolverRuleAssociationsResponse
Lists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account.
Parameters:
-
max_results(Optional[MaxResults], default:None) –The maximum number of rule associations that you want to return in the response to a
ListResolverRuleAssociationsrequest. If you don't specify a value forMaxResults, Resolver returns up to 100 rule associations. -
next_token(Optional[NextToken], default:None) –For the first
ListResolverRuleAssociationrequest, omit this value.If you have more than
MaxResultsrule associations, you can submit anotherListResolverRuleAssociationrequest to get the next group of rule associations. In the next request, specify the value ofNextTokenfrom the previous response. -
filters(Optional[Filters], default:None) –An optional specification to return a subset of Resolver rules, such as Resolver rules that are associated with the same VPC ID.
If you submit a second or subsequent
ListResolverRuleAssociationsrequest and specify theNextTokenparameter, you must use the same values forFilters, if any, as in the previous request.
Raises:
-
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.
-
UnknownServiceError–The service returned an error code this client does not model.