async def iter_list_contact_evaluations(
self,
instance_id: "capo_connect.types.instance_id.InstanceId",
contact_id: "capo_connect.types.contact_id.ContactId",
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
next_token: Optional["capo_connect.types.next_token.NextToken"] = None,
) -> "AsyncIterator[capo_connect.types.evaluation_summary.EvaluationSummary]":
_token = next_token
while True:
_response = await self.list_contact_evaluations(
instance_id,
contact_id,
config_overrides=config_overrides,
next_token=_token,
)
_page = _resolve_path(_response, ("evaluation_summary_list",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break