Skip to content

iter_list_event_integrations async

iter_list_event_integrations(
    *,
    config_overrides: Optional[AsyncAppIntegrationsClientConfig] = None,
    next_token: Optional[NextToken] = None,
    max_results: Optional[MaxResults] = None,
) -> AsyncIterator[EventIntegration]
Source code in docs_src/capo_appintegrations/_services/async_app_integrations.py
async def iter_list_event_integrations(
    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,
) -> "AsyncIterator[capo_appintegrations.types.event_integration.EventIntegration]":
    _token = next_token
    while True:
        _response = await self.list_event_integrations(
            config_overrides=config_overrides,
            next_token=_token,
            max_results=max_results,
        )
        _page = _resolve_path(_response, ("event_integrations",))
        for _item in _page or []:
            yield _item
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break