def iter_list_schema_versions(
self,
registry_name: "capo_schemas.types.__string.__string",
schema_name: "capo_schemas.types.__string.__string",
*,
config_overrides: Optional[schemasClientConfig] = None,
limit: Optional["capo_schemas.types.__integer.__integer"] = None,
next_token: Optional["capo_schemas.types.__string.__string"] = None,
) -> "Iterator[capo_schemas.types.schema_version_summary.SchemaVersionSummary]":
_token = next_token
while True:
_response = self.list_schema_versions(
registry_name,
schema_name,
config_overrides=config_overrides,
limit=limit,
next_token=_token,
)
_page = _resolve_path(_response, ("schema_versions",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break