Skip to content

iter_describe_flow_execution_records async

iter_describe_flow_execution_records(
    flow_name: FlowName,
    *,
    config_overrides: Optional[AsyncAppflowClientConfig] = None,
    max_results: Optional[MaxResults] = None,
    next_token: Optional[NextToken] = None,
) -> AsyncIterator[DescribeFlowExecutionRecordsResponse]
Source code in docs_src/capo_appflow/_services/async_appflow.py
async def iter_describe_flow_execution_records(
    self,
    flow_name: "capo_appflow.types.flow_name.FlowName",
    *,
    config_overrides: Optional[AsyncAppflowClientConfig] = None,
    max_results: Optional["capo_appflow.types.max_results.MaxResults"] = None,
    next_token: Optional["capo_appflow.types.next_token.NextToken"] = None,
) -> "AsyncIterator[capo_appflow.types.describe_flow_execution_records_response.DescribeFlowExecutionRecordsResponse]":
    _token = next_token
    while True:
        _response = await self.describe_flow_execution_records(
            flow_name,
            config_overrides=config_overrides,
            max_results=max_results,
            next_token=_token,
        )
        yield _response
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break