Skip to content

iter_list_app_bundles async

iter_list_app_bundles(
    *,
    config_overrides: Optional[AsyncAppFabricClientConfig] = None,
    max_results: Optional[MaxResults] = None,
    next_token: Optional[String2048] = None,
) -> AsyncIterator[AppBundleSummary]
Source code in docs_src/capo_appfabric/_services/async_app_fabric.py
async def iter_list_app_bundles(
    self,
    *,
    config_overrides: Optional[AsyncAppFabricClientConfig] = None,
    max_results: Optional["capo_appfabric.types.max_results.MaxResults"] = None,
    next_token: Optional["capo_appfabric.types.string2048.String2048"] = None,
) -> "AsyncIterator[capo_appfabric.types.app_bundle_summary.AppBundleSummary]":
    _token = next_token
    while True:
        _response = await self.list_app_bundles(
            config_overrides=config_overrides,
            max_results=max_results,
            next_token=_token,
        )
        _page = _resolve_path(_response, ("app_bundle_summary_list",))
        for _item in _page or []:
            yield _item
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break