Skip to content

iter_list_applications async

iter_list_applications(
    *,
    config_overrides: Optional[AsyncAppIntegrationsClientConfig] = None,
    next_token: Optional[NextToken] = None,
    max_results: Optional[MaxResults] = None,
    application_type: Optional[ApplicationType] = None,
) -> AsyncIterator[ApplicationSummary]
Source code in docs_src/capo_appintegrations/_services/async_app_integrations.py
async def iter_list_applications(
    self,
    *,
    config_overrides: Optional[AsyncAppIntegrationsClientConfig] = None,
    next_token: Optional["capo_appintegrations.types.next_token.NextToken"] = None,
    max_results: Optional[
        "capo_appintegrations.types.max_results.MaxResults"
    ] = None,
    application_type: Optional[
        "capo_appintegrations.types.application_type.ApplicationType"
    ] = None,
) -> "AsyncIterator[capo_appintegrations.types.application_summary.ApplicationSummary]":
    _token = next_token
    while True:
        _response = await self.list_applications(
            config_overrides=config_overrides,
            next_token=_token,
            max_results=max_results,
            application_type=application_type,
        )
        _page = _resolve_path(_response, ("applications",))
        for _item in _page or []:
            yield _item
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break