async def iter_list_apps(
self,
simulation: "capo_simspaceweaver.types.sim_space_weaver_resource_name.SimSpaceWeaverResourceName",
*,
config_overrides: Optional[AsyncSimSpaceWeaverClientConfig] = None,
domain: Optional[
"capo_simspaceweaver.types.sim_space_weaver_resource_name.SimSpaceWeaverResourceName"
] = None,
max_results: Optional[
"capo_simspaceweaver.types.positive_integer.PositiveInteger"
] = None,
next_token: Optional[
"capo_simspaceweaver.types.optional_string.OptionalString"
] = None,
) -> "AsyncIterator[capo_simspaceweaver.types.list_apps_output.ListAppsOutput]":
_token = next_token
while True:
_response = await self.list_apps(
simulation,
config_overrides=config_overrides,
domain=domain,
max_results=max_results,
next_token=_token,
)
yield _response
_token = _resolve_path(_response, ("next_token",))
if not _token:
break