async def iter_list_participant_replicas(
self,
source_stage_arn: "capo_ivs_realtime.types.stage_arn.StageArn",
participant_id: "capo_ivs_realtime.types.participant_id.ParticipantId",
*,
config_overrides: Optional[AsyncIVSRealTimeClientConfig] = None,
next_token: Optional[
"capo_ivs_realtime.types.pagination_token.PaginationToken"
] = None,
max_results: Optional[
"capo_ivs_realtime.types.max_participant_replica_results.MaxParticipantReplicaResults"
] = None,
) -> (
"AsyncIterator[capo_ivs_realtime.types.participant_replica.ParticipantReplica]"
):
_token = next_token
while True:
_response = await self.list_participant_replicas(
source_stage_arn,
participant_id,
config_overrides=config_overrides,
next_token=_token,
max_results=max_results,
)
_page = _resolve_path(_response, ("replicas",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break