def iter_list_registries(
self,
*,
config_overrides: Optional[schemasClientConfig] = None,
limit: Optional["capo_schemas.types.__integer.__integer"] = None,
next_token: Optional["capo_schemas.types.__string.__string"] = None,
registry_name_prefix: Optional["capo_schemas.types.__string.__string"] = None,
scope: Optional["capo_schemas.types.__string.__string"] = None,
) -> "Iterator[capo_schemas.types.registry_summary.RegistrySummary]":
_token = next_token
while True:
_response = self.list_registries(
config_overrides=config_overrides,
limit=limit,
next_token=_token,
registry_name_prefix=registry_name_prefix,
scope=scope,
)
_page = _resolve_path(_response, ("registries",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break