Skip to content

iter_describe_aggregation_authorizations

iter_describe_aggregation_authorizations(
    *,
    config_overrides: Optional[ConfigServiceClientConfig] = None,
    limit: Optional[Limit] = None,
    next_token: Optional[String] = None,
) -> Iterator[AggregationAuthorization]
Source code in docs_src/capo_config_service/_services/config_service.py
def iter_describe_aggregation_authorizations(
    self,
    *,
    config_overrides: Optional[ConfigServiceClientConfig] = None,
    limit: Optional["capo_config_service.types.limit.Limit"] = None,
    next_token: Optional["capo_config_service.types.string.String"] = None,
) -> "Iterator[capo_config_service.types.aggregation_authorization.AggregationAuthorization]":
    _token = next_token
    while True:
        _response = self.describe_aggregation_authorizations(
            config_overrides=config_overrides,
            limit=limit,
            next_token=_token,
        )
        _page = _resolve_path(_response, ("aggregation_authorizations",))
        for _item in _page or []:
            yield _item
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break