From d351853276c918f0350628bf53f46f9213a2d3dc Mon Sep 17 00:00:00 2001 From: Bert Blommers Date: Thu, 24 Aug 2023 18:08:17 +0000 Subject: [PATCH] Logs: get_log_events() should allow max 10.000 events --- moto/logs/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moto/logs/models.py b/moto/logs/models.py index 7f2ff7325..84ebc55e3 100644 --- a/moto/logs/models.py +++ b/moto/logs/models.py @@ -898,7 +898,7 @@ class LogsBackend(BaseBackend): ) -> Tuple[List[Dict[str, Any]], Optional[str], Optional[str]]: if log_group_name not in self.groups: raise ResourceNotFoundException() - if limit and limit > 1000: + if limit and limit > 10000: raise InvalidParameterException( constraint="Member must have value less than or equal to 10000", parameter="limit", @@ -926,7 +926,7 @@ class LogsBackend(BaseBackend): """ if log_group_name not in self.groups: raise ResourceNotFoundException() - if limit and limit > 1000: + if limit and limit > 10000: raise InvalidParameterException( constraint="Member must have value less than or equal to 10000", parameter="limit",