-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Invalid type for ApiGatewayAuthorizerRequestV2 parser model #5879
Comments
@anafalcao can you please fix this? |
Hey @leandrodamascena ! Sure, I'll work on it |
|
This is now released under 3.5.0 version! |
Expected Behaviour
Original issue: aws-powertools/powertools-lambda-typescript#3483
The
identitySource
field inApiGatewayAuthorizerRequestV2
can beNone
when the Lambda authorizer is not configured with an identity source.Current Behaviour
Its always considering a
List
with at least 1 record, but can beNone
.Code snippet
Possible Solution
Add Optional.
Steps to Reproduce
1 - Deploy the code below
2 - Invoke the Lambda with a valid payload from API GW HTTP Authorizer v2
Powertools for AWS Lambda (Python) version
latest
AWS Lambda function runtime
3.13
Packaging format used
Lambda Layers, Serverless Application Repository (SAR) App, PyPi
Debugging logs
The text was updated successfully, but these errors were encountered: