def iter_list_fhir_import_jobs(
self,
datastore_id: "capo_healthlake.types.datastore_id.DatastoreId",
*,
config_overrides: Optional[HealthLakeClientConfig] = None,
next_token: Optional["capo_healthlake.types.next_token.NextToken"] = None,
max_results: Optional[
"capo_healthlake.types.max_results_integer.MaxResultsInteger"
] = None,
job_name: Optional["capo_healthlake.types.job_name.JobName"] = None,
job_status: Optional["capo_healthlake.types.job_status.JobStatus"] = None,
submitted_before: Optional[
"capo_healthlake.types.health_lake_timestamp.HealthLakeTimestamp"
] = None,
submitted_after: Optional[
"capo_healthlake.types.health_lake_timestamp.HealthLakeTimestamp"
] = None,
) -> "Iterator[capo_healthlake.types.list_fhir_import_jobs_response.ListFHIRImportJobsResponse]":
_token = next_token
while True:
_response = self.list_fhir_import_jobs(
datastore_id,
config_overrides=config_overrides,
next_token=_token,
max_results=max_results,
job_name=job_name,
job_status=job_status,
submitted_before=submitted_before,
submitted_after=submitted_after,
)
yield _response
_token = _resolve_path(_response, ("next_token",))
if not _token:
break