def iter_list_data_integration_flow_executions(
self,
instance_id: "capo_supplychain.types.uuid.UUID",
flow_name: "capo_supplychain.types.data_integration_flow_name.DataIntegrationFlowName",
*,
config_overrides: Optional[SupplyChainClientConfig] = None,
next_token: Optional[
"capo_supplychain.types.data_integration_flow_execution_next_token.DataIntegrationFlowExecutionNextToken"
] = None,
max_results: Optional[
"capo_supplychain.types.data_integration_flow_execution_max_results.DataIntegrationFlowExecutionMaxResults"
] = None,
) -> "Iterator[capo_supplychain.types.data_integration_flow_execution.DataIntegrationFlowExecution]":
_token = next_token
while True:
_response = self.list_data_integration_flow_executions(
instance_id,
flow_name,
config_overrides=config_overrides,
next_token=_token,
max_results=max_results,
)
_page = _resolve_path(_response, ("flow_executions",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break