def iter_list_metadata_transfer_jobs(
self,
source_type: "capo_iottwinmaker.types.source_type.SourceType",
destination_type: "capo_iottwinmaker.types.destination_type.DestinationType",
*,
config_overrides: Optional[IoTTwinMakerClientConfig] = None,
filters: Optional[
"capo_iottwinmaker.types.list_metadata_transfer_jobs_filters.ListMetadataTransferJobsFilters"
] = None,
next_token: Optional["capo_iottwinmaker.types.next_token.NextToken"] = None,
max_results: Optional["capo_iottwinmaker.types.max_results.MaxResults"] = None,
) -> "Iterator[capo_iottwinmaker.types.list_metadata_transfer_jobs_response.ListMetadataTransferJobsResponse]":
_token = next_token
while True:
_response = self.list_metadata_transfer_jobs(
source_type,
destination_type,
config_overrides=config_overrides,
filters=filters,
next_token=_token,
max_results=max_results,
)
yield _response
_token = _resolve_path(_response, ("next_token",))
if not _token:
break