We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8296945 commit af7f760Copy full SHA for af7f760
aws_lambda_powertools/utilities/parser/models/apigw.py
@@ -31,7 +31,9 @@ class APIGatewayEventIdentity(BaseModel):
31
cognitoIdentityId: Optional[str]
32
cognitoIdentityPoolId: Optional[str]
33
principalOrgId: Optional[str]
34
- sourceIp: IPvAnyNetwork
+ # see #1562, temp workaround until API Gateway fixes it the Test button payload
35
+ # removing it will not be considered a regression in the future
36
+ sourceIp: Union[IPvAnyNetwork, Literal["test-invoke-source-ip"]]
37
user: Optional[str]
38
userAgent: Optional[str]
39
userArn: Optional[str]
0 commit comments