async def iter_describe_fleet_events(
self,
*,
config_overrides: Optional[AsyncGameLiftClientConfig] = None,
fleet_id: Optional["capo_gamelift.types.fleet_id_or_arn.FleetIdOrArn"] = None,
start_time: Optional["capo_gamelift.types.timestamp.Timestamp"] = None,
end_time: Optional["capo_gamelift.types.timestamp.Timestamp"] = None,
limit: Optional["capo_gamelift.types.positive_integer.PositiveInteger"] = None,
next_token: Optional[
"capo_gamelift.types.non_zero_and_max_string.NonZeroAndMaxString"
] = None,
) -> "AsyncIterator[capo_gamelift.types.event.Event]":
_token = next_token
while True:
_response = await self.describe_fleet_events(
config_overrides=config_overrides,
fleet_id=fleet_id,
start_time=start_time,
end_time=end_time,
limit=limit,
next_token=_token,
)
_page = _resolve_path(_response, ("events",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break