async def iter_list_entities(
self,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
connection_name: Optional["capo_glue.types.name_string.NameString"] = None,
catalog_id: Optional[
"capo_glue.types.catalog_id_string.CatalogIdString"
] = None,
parent_entity_name: Optional["capo_glue.types.entity_name.EntityName"] = None,
next_token: Optional["capo_glue.types.next_token.NextToken"] = None,
data_store_api_version: Optional[
"capo_glue.types.api_version.ApiVersion"
] = None,
) -> "AsyncIterator[capo_glue.types.entity.Entity]":
_token = next_token
while True:
_response = await self.list_entities(
config_overrides=config_overrides,
connection_name=connection_name,
catalog_id=catalog_id,
parent_entity_name=parent_entity_name,
next_token=_token,
data_store_api_version=data_store_api_version,
)
_page = _resolve_path(_response, ("entities",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break