async def iter_describe_aggregation_authorizations(
self,
*,
config_overrides: Optional[AsyncConfigServiceClientConfig] = None,
limit: Optional["capo_config_service.types.limit.Limit"] = None,
next_token: Optional["capo_config_service.types.string.String"] = None,
) -> "AsyncIterator[capo_config_service.types.aggregation_authorization.AggregationAuthorization]":
_token = next_token
while True:
_response = await 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