async def iter_list_configuration_history(
self,
*,
config_overrides: Optional[AsyncApplicationInsightsClientConfig] = None,
resource_group_name: Optional[
"capo_application_insights.types.resource_group_name.ResourceGroupName"
] = None,
start_time: Optional[
"capo_application_insights.types.start_time.StartTime"
] = None,
end_time: Optional["capo_application_insights.types.end_time.EndTime"] = None,
event_status: Optional[
"capo_application_insights.types.configuration_event_status.ConfigurationEventStatus"
] = None,
max_results: Optional[
"capo_application_insights.types.max_entities.MaxEntities"
] = None,
next_token: Optional[
"capo_application_insights.types.pagination_token.PaginationToken"
] = None,
account_id: Optional[
"capo_application_insights.types.account_id.AccountId"
] = None,
) -> "AsyncIterator[capo_application_insights.types.list_configuration_history_response.ListConfigurationHistoryResponse]":
_token = next_token
while True:
_response = await self.list_configuration_history(
config_overrides=config_overrides,
resource_group_name=resource_group_name,
start_time=start_time,
end_time=end_time,
event_status=event_status,
max_results=max_results,
next_token=_token,
account_id=account_id,
)
yield _response
_token = _resolve_path(_response, ("next_token",))
if not _token:
break