def iter_list_batch_job_executions(
self,
application_id: "capo_m2.types.identifier.Identifier",
*,
config_overrides: Optional[m2ClientConfig] = None,
next_token: Optional["capo_m2.types.next_token.NextToken"] = None,
max_results: Optional["capo_m2.types.max_results.MaxResults"] = None,
execution_ids: Optional["capo_m2.types.identifier_list.IdentifierList"] = None,
job_name: Optional["capo_m2.types.string100.String100"] = None,
status: Optional[
"capo_m2.types.batch_job_execution_status.BatchJobExecutionStatus"
] = None,
started_after: Optional["capo_m2.types.timestamp.Timestamp"] = None,
started_before: Optional["capo_m2.types.timestamp.Timestamp"] = None,
) -> "Iterator[capo_m2.types.batch_job_execution_summary.BatchJobExecutionSummary]":
_token = next_token
while True:
_response = self.list_batch_job_executions(
application_id,
config_overrides=config_overrides,
next_token=_token,
max_results=max_results,
execution_ids=execution_ids,
job_name=job_name,
status=status,
started_after=started_after,
started_before=started_before,
)
_page = _resolve_path(_response, ("batch_job_executions",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break