def iter_list_data_integration_flows(
self,
instance_id: "capo_supplychain.types.uuid.UUID",
*,
config_overrides: Optional[SupplyChainClientConfig] = None,
next_token: Optional[
"capo_supplychain.types.data_integration_flow_next_token.DataIntegrationFlowNextToken"
] = None,
max_results: Optional[
"capo_supplychain.types.data_integration_flow_max_results.DataIntegrationFlowMaxResults"
] = None,
) -> "Iterator[capo_supplychain.types.data_integration_flow.DataIntegrationFlow]":
_token = next_token
while True:
_response = self.list_data_integration_flows(
instance_id,
config_overrides=config_overrides,
next_token=_token,
max_results=max_results,
)
_page = _resolve_path(_response, ("flows",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break