We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f8c52b commit 82b166cCopy full SHA for 82b166c
aws_lambda_powertools/utilities/parser/models/apigw.py
@@ -77,6 +77,7 @@ def check_message_id(cls, values):
77
raise ValueError("messageId is available only when the `eventType` is `MESSAGE`")
78
return values
79
80
+ # validator to normalize requestTimeEpoch
81
@validator("requestTimeEpoch", pre=True)
82
def normalize_timestamp(cls, value):
83
date_utc = datetime.fromtimestamp(int(value) / 1000, tz=timezone.utc)
0 commit comments