def iter_list_replication_backfills(
self,
*,
config_overrides: Optional[ECRClientConfig] = None,
registry_id: Optional["capo_ecr.types.registry_id.RegistryId"] = None,
max_results: Optional[
"capo_ecr.types.fifty_max_results.FiftyMaxResults"
] = None,
next_token: Optional["capo_ecr.types.next_token.NextToken"] = None,
) -> "Iterator[capo_ecr.types.replication_backfill_summary.ReplicationBackfillSummary]":
_token = next_token
while True:
_response = self.list_replication_backfills(
config_overrides=config_overrides,
registry_id=registry_id,
max_results=max_results,
next_token=_token,
)
_page = _resolve_path(_response, ("backfills",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break