awsdocs / aws-lambda-developer-guide

Supplementary resources for the AWS Lambda Developer Guide
MIT No Attribution
2.49k stars 1.73k forks source link

sample-apps/java-events - deprecated `APIGatewayV2Proxy` classes #246

Open swpalmer opened 3 years ago

swpalmer commented 3 years ago

https://github.com/awsdocs/aws-lambda-developer-guide/blob/b6cd7d3c9f48411f6892f6d03c1b4186d60c55fa/sample-apps/java-events/src/main/java/example/Handler.java#L16

These are marked as deprecated: com.amazonaws.services.lambda.runtime.events.APIGatewayV2ProxyRequestEvent; com.amazonaws.services.lambda.runtime.events.APIGatewayV2ProxyResponseEvent;

What is the non-deprecated alternative?

devlinbd2 commented 3 years ago

The Java file for the deprecated event shows the alternatives to use. We need to update these Java samples.