Skip to content

iter_list_connection_functions async

iter_list_connection_functions(
    *,
    config_overrides: Optional[AsyncCloudFrontClientConfig] = None,
    marker: Optional[string] = None,
    max_items: Optional[integer] = None,
    stage: Optional[FunctionStage] = None,
) -> AsyncIterator[ConnectionFunctionSummary]
Source code in docs_src/capo_cloudfront/_services/async_cloud_front.py
async def iter_list_connection_functions(
    self,
    *,
    config_overrides: Optional[AsyncCloudFrontClientConfig] = None,
    marker: Optional["capo_cloudfront.types.string.string"] = None,
    max_items: Optional["capo_cloudfront.types.integer.integer"] = None,
    stage: Optional["capo_cloudfront.types.function_stage.FunctionStage"] = None,
) -> "AsyncIterator[capo_cloudfront.types.connection_function_summary.ConnectionFunctionSummary]":
    _token = marker
    while True:
        _response = await self.list_connection_functions(
            config_overrides=config_overrides,
            marker=_token,
            max_items=max_items,
            stage=stage,
        )
        _page = _resolve_path(_response, ("connection_functions",))
        for _item in _page or []:
            yield _item
        _token = _resolve_path(_response, ("next_marker",))
        if not _token:
            break