async def iter_list_data_automation_library_ingestion_jobs(
self,
library_arn: "capo_bedrock_data_automation.types.data_automation_library_arn.DataAutomationLibraryArn",
*,
config_overrides: Optional[AsyncBedrockDataAutomationClientConfig] = None,
max_results: Optional[
"capo_bedrock_data_automation.types.max_results.MaxResults"
] = None,
next_token: Optional[
"capo_bedrock_data_automation.types.next_token.NextToken"
] = None,
) -> "AsyncIterator[capo_bedrock_data_automation.types.data_automation_library_ingestion_job_summary.DataAutomationLibraryIngestionJobSummary]":
_token = next_token
while True:
_response = await self.list_data_automation_library_ingestion_jobs(
library_arn,
config_overrides=config_overrides,
max_results=max_results,
next_token=_token,
)
_page = _resolve_path(_response, ("jobs",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break