Skip to content

iter_list_metadata_transfer_jobs async

iter_list_metadata_transfer_jobs(
    source_type: SourceType,
    destination_type: DestinationType,
    *,
    config_overrides: Optional[AsyncIoTTwinMakerClientConfig] = None,
    filters: Optional[ListMetadataTransferJobsFilters] = None,
    next_token: Optional[NextToken] = None,
    max_results: Optional[MaxResults] = None,
) -> AsyncIterator[ListMetadataTransferJobsResponse]
Source code in docs_src/capo_iottwinmaker/_services/async_io_t_twin_maker.py
async 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[AsyncIoTTwinMakerClientConfig] = 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,
) -> "AsyncIterator[capo_iottwinmaker.types.list_metadata_transfer_jobs_response.ListMetadataTransferJobsResponse]":
    _token = next_token
    while True:
        _response = await 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