async def iter_list_aggregate_log_group_summaries(
self,
group_by: "capo_cloudwatch_logs.types.list_aggregate_log_group_summaries_group_by.ListAggregateLogGroupSummariesGroupBy",
*,
config_overrides: Optional[AsyncCloudWatchLogsClientConfig] = None,
account_identifiers: Optional[
"capo_cloudwatch_logs.types.account_ids.AccountIds"
] = None,
include_linked_accounts: Optional[
"capo_cloudwatch_logs.types.include_linked_accounts.IncludeLinkedAccounts"
] = None,
log_group_class: Optional[
"capo_cloudwatch_logs.types.log_group_class.LogGroupClass"
] = None,
log_group_name_pattern: Optional[
"capo_cloudwatch_logs.types.log_group_name_regex_pattern.LogGroupNameRegexPattern"
] = None,
data_sources: Optional[
"capo_cloudwatch_logs.types.data_source_filters.DataSourceFilters"
] = None,
next_token: Optional["capo_cloudwatch_logs.types.next_token.NextToken"] = None,
limit: Optional[
"capo_cloudwatch_logs.types.list_log_groups_request_limit.ListLogGroupsRequestLimit"
] = None,
) -> "AsyncIterator[capo_cloudwatch_logs.types.aggregate_log_group_summary.AggregateLogGroupSummary]":
_token = next_token
while True:
_response = await self.list_aggregate_log_group_summaries(
group_by,
config_overrides=config_overrides,
account_identifiers=account_identifiers,
include_linked_accounts=include_linked_accounts,
log_group_class=log_group_class,
log_group_name_pattern=log_group_name_pattern,
data_sources=data_sources,
next_token=_token,
limit=limit,
)
_page = _resolve_path(_response, ("aggregate_log_group_summaries",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break