async def iter_list_resources(
self,
*,
config_overrides: Optional[AsyncLakeFormationClientConfig] = None,
filter_condition_list: Optional[
"capo_lakeformation.types.filter_condition_list.FilterConditionList"
] = None,
max_results: Optional["capo_lakeformation.types.page_size.PageSize"] = None,
next_token: Optional["capo_lakeformation.types.token.Token"] = None,
) -> "AsyncIterator[capo_lakeformation.types.list_resources_response.ListResourcesResponse]":
_token = next_token
while True:
_response = await self.list_resources(
config_overrides=config_overrides,
filter_condition_list=filter_condition_list,
max_results=max_results,
next_token=_token,
)
yield _response
_token = _resolve_path(_response, ("next_token",))
if not _token:
break