async def iter_describe_environment_managed_action_history(
self,
*,
config_overrides: Optional[AsyncElasticBeanstalkClientConfig] = None,
environment_id: Optional[
"capo_elastic_beanstalk.types.environment_id.EnvironmentId"
] = None,
environment_name: Optional[
"capo_elastic_beanstalk.types.environment_name.EnvironmentName"
] = None,
next_token: Optional["capo_elastic_beanstalk.types.string.String"] = None,
max_items: Optional[
"capo_elastic_beanstalk.types.managed_action_history_max_items.ManagedActionHistoryMaxItems"
] = None,
) -> "AsyncIterator[capo_elastic_beanstalk.types.managed_action_history_item.ManagedActionHistoryItem]":
_token = next_token
while True:
_response = await self.describe_environment_managed_action_history(
config_overrides=config_overrides,
environment_id=environment_id,
environment_name=environment_name,
next_token=_token,
max_items=max_items,
)
_page = _resolve_path(_response, ("managed_action_history_items",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break