async def iter_describe_aggregate_compliance_by_config_rules(
self,
configuration_aggregator_name: "capo_config_service.types.configuration_aggregator_name.ConfigurationAggregatorName",
*,
config_overrides: Optional[AsyncConfigServiceClientConfig] = None,
filters: Optional[
"capo_config_service.types.config_rule_compliance_filters.ConfigRuleComplianceFilters"
] = None,
limit: Optional[
"capo_config_service.types.group_by_api_limit.GroupByAPILimit"
] = None,
next_token: Optional["capo_config_service.types.next_token.NextToken"] = None,
) -> "AsyncIterator[capo_config_service.types.describe_aggregate_compliance_by_config_rules_response.DescribeAggregateComplianceByConfigRulesResponse]":
_token = next_token
while True:
_response = await self.describe_aggregate_compliance_by_config_rules(
configuration_aggregator_name,
config_overrides=config_overrides,
filters=filters,
limit=limit,
next_token=_token,
)
yield _response
_token = _resolve_path(_response, ("next_token",))
if not _token:
break