-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
APIGW NG: fix leftover REST issues #11518
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
Conversation
LocalStack Community integration with Pro 2 files ± 0 2 suites ±0 25m 8s ⏱️ - 1h 10m 47s Results for commit 3a85284. ± Comparison against base commit d121e5d. This pull request removes 2644 tests.
♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good fixes thanks for tackling these! 🙏
"params": integration_req["query_string_parameters"], | ||
"params": query_params, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! 👀
Motivation
Fixing leftover APIGW NextGen tasks. Realized special case for
execute-api
styleAWS
integrationuri
, where we don't need to pass an authorization header, as those requests aren't signed by default and would fail with a bad service name.Also fixed some error handling related to Lambda, seemingly the
AWS
Lambda integration follows specific rules (as it already does with theselectionPattern
specific behavior.Changes
AuthorizerConfigurationError
AWS
lambda integration that is very specific to this one integration, not returning theAccessDeniedError
unlike all other likedynamodb
,kinesis
andsns
asynchronous
logic forAWS_PROXY
, this is only possible forAWS
Lambda (logical, as headers are not used to create the lambda invocation)AWS_PROXY
which changes the status code raised if the error isAccessDenied
AWS
to properly add theAction
query string parameter