Skip to content

iter_describe_configuration_aggregator_sources_status async

iter_describe_configuration_aggregator_sources_status(
    configuration_aggregator_name: ConfigurationAggregatorName,
    *,
    config_overrides: Optional[AsyncConfigServiceClientConfig] = None,
    update_status: Optional[AggregatedSourceStatusTypeList] = None,
    next_token: Optional[String] = None,
    limit: Optional[Limit] = None,
) -> AsyncIterator[AggregatedSourceStatus]
Source code in docs_src/capo_config_service/_services/async_config_service.py
async def iter_describe_configuration_aggregator_sources_status(
    self,
    configuration_aggregator_name: "capo_config_service.types.configuration_aggregator_name.ConfigurationAggregatorName",
    *,
    config_overrides: Optional[AsyncConfigServiceClientConfig] = None,
    update_status: Optional[
        "capo_config_service.types.aggregated_source_status_type_list.AggregatedSourceStatusTypeList"
    ] = None,
    next_token: Optional["capo_config_service.types.string.String"] = None,
    limit: Optional["capo_config_service.types.limit.Limit"] = None,
) -> "AsyncIterator[capo_config_service.types.aggregated_source_status.AggregatedSourceStatus]":
    _token = next_token
    while True:
        _response = await self.describe_configuration_aggregator_sources_status(
            configuration_aggregator_name,
            config_overrides=config_overrides,
            update_status=update_status,
            next_token=_token,
            limit=limit,
        )
        _page = _resolve_path(_response, ("aggregated_source_status_list",))
        for _item in _page or []:
            yield _item
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break