Describe the bug
AwsLambdaEndpoint's main processing method is
public APIGatewayProxyResponseEvent delegate(
final APIGatewayProxyRequestEvent event,
final Context context) {
It should instead be called handleRequest() and the AwsLambdaEndpoint java class should be marked as implements RequestHandler<APIGatewayProxyRequestEvent, APIGatewayProxyResponseEvent>, so that
- anAwsLambdaEndpoint() can return
RequestHandler<APIGatewayProxyRequestEvent, APIGatewayProxyResponseEvent>, so that
- the user only has to
import the RequestHandler interface from the AWS SDK. This is important since QuantumMaid promises not to force devs to import quantummaid classes and interfaces.
Describe the bug
AwsLambdaEndpoint's main processing method is
It should instead be called
handleRequest()and theAwsLambdaEndpointjava class should be marked asimplements RequestHandler<APIGatewayProxyRequestEvent, APIGatewayProxyResponseEvent>, so thatRequestHandler<APIGatewayProxyRequestEvent, APIGatewayProxyResponseEvent>, so thatimportthe RequestHandler interface from the AWS SDK. This is important since QuantumMaid promises not to force devs to import quantummaid classes and interfaces.