Skip to content

iter_describe_export_tasks async

iter_describe_export_tasks(
    *,
    config_overrides: Optional[AsyncRDSClientConfig] = None,
    export_task_identifier: Optional[String] = None,
    source_arn: Optional[String] = None,
    filters: Optional[FilterList] = None,
    marker: Optional[String] = None,
    max_records: Optional[MaxRecords] = None,
    source_type: Optional[ExportSourceType] = None,
) -> AsyncIterator[ExportTask]
Source code in docs_src/capo_rds/_services/async_rds.py
async def iter_describe_export_tasks(
    self,
    *,
    config_overrides: Optional[AsyncRDSClientConfig] = None,
    export_task_identifier: Optional["capo_rds.types.string.String"] = None,
    source_arn: Optional["capo_rds.types.string.String"] = None,
    filters: Optional["capo_rds.types.filter_list.FilterList"] = None,
    marker: Optional["capo_rds.types.string.String"] = None,
    max_records: Optional["capo_rds.types.max_records.MaxRecords"] = None,
    source_type: Optional[
        "capo_rds.types.export_source_type.ExportSourceType"
    ] = None,
) -> "AsyncIterator[capo_rds.types.export_task.ExportTask]":
    _token = marker
    while True:
        _response = await self.describe_export_tasks(
            config_overrides=config_overrides,
            export_task_identifier=export_task_identifier,
            source_arn=source_arn,
            filters=filters,
            marker=_token,
            max_records=max_records,
            source_type=source_type,
        )
        _page = _resolve_path(_response, ("export_tasks",))
        for _item in _page or []:
            yield _item
        _token = _resolve_path(_response, ("marker",))
        if not _token:
            break