def iter_list_query_logging_configs(
self,
*,
config_overrides: Optional[Route53ClientConfig] = None,
hosted_zone_id: Optional["capo_route_53.types.resource_id.ResourceId"] = None,
next_token: Optional[
"capo_route_53.types.pagination_token.PaginationToken"
] = None,
max_results: Optional[int] = None,
) -> "Iterator[capo_route_53.types.query_logging_config.QueryLoggingConfig]":
_token = next_token
while True:
_response = self.list_query_logging_configs(
config_overrides=config_overrides,
hosted_zone_id=hosted_zone_id,
next_token=_token,
max_results=max_results,
)
_page = _resolve_path(_response, ("query_logging_configs",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break