async def iter_search_flow_executions(
self,
system_instance_id: "capo_iotthingsgraph.types.urn.Urn",
*,
config_overrides: Optional[AsyncIoTThingsGraphClientConfig] = None,
flow_execution_id: Optional[
"capo_iotthingsgraph.types.flow_execution_id.FlowExecutionId"
] = None,
start_time: Optional["capo_iotthingsgraph.types.timestamp.Timestamp"] = None,
end_time: Optional["capo_iotthingsgraph.types.timestamp.Timestamp"] = None,
next_token: Optional["capo_iotthingsgraph.types.next_token.NextToken"] = None,
max_results: Optional[
"capo_iotthingsgraph.types.max_results.MaxResults"
] = None,
) -> "AsyncIterator[capo_iotthingsgraph.types.flow_execution_summary.FlowExecutionSummary]":
_token = next_token
while True:
_response = await self.search_flow_executions(
system_instance_id,
config_overrides=config_overrides,
flow_execution_id=flow_execution_id,
start_time=start_time,
end_time=end_time,
next_token=_token,
max_results=max_results,
)
_page = _resolve_path(_response, ("summaries",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break