async def iter_list_sync_jobs(
self,
workspace_id: "capo_iottwinmaker.types.id.Id",
*,
config_overrides: Optional[AsyncIoTTwinMakerClientConfig] = None,
max_results: Optional["capo_iottwinmaker.types.max_results.MaxResults"] = None,
next_token: Optional["capo_iottwinmaker.types.next_token.NextToken"] = None,
) -> "AsyncIterator[capo_iottwinmaker.types.list_sync_jobs_response.ListSyncJobsResponse]":
_token = next_token
while True:
_response = await self.list_sync_jobs(
workspace_id,
config_overrides=config_overrides,
max_results=max_results,
next_token=_token,
)
yield _response
_token = _resolve_path(_response, ("next_token",))
if not _token:
break