aws-lambda-haskell-runtime icon indicating copy to clipboard operation
aws-lambda-haskell-runtime copied to clipboard

⚡Haskell runtime for AWS Lambda

Results 28 aws-lambda-haskell-runtime issues
Sort by recently updated
recently updated
newest added

fixes #120. Following the advice in https://github.com/haskell/aeson/issues/881#issuecomment-944920664. It compiles, did not do any more checks.

I’m trying to upgrade a project of mine to a newer set of dependencies, and I am encountering this build error: ``` Building library for aws-lambda-haskell-runtime-4.1.1.. [ 1 of 17]...

I've been trying to use aws-lambda-haskell-runtime with the AWS SAM CLI. I've run into multiple problems. I'll describe them in this issue. I'm new to AWS Lambda and AWS SAM,...

This PR makes some of the fields in the `APIGatewayRequest` type optional. The reason this fix is needed is described in: - https://github.com/theam/aws-lambda-haskell-runtime/issues/118#issue-1228590272 - https://github.com/theam/aws-lambda-haskell-runtime/issues/118#issuecomment-1120193215 Unfortunately I couldn't find an...

I can add multiple handlers like this ```haskell runLambdaHaskellRuntime defaultDispatcherOptions (pure ()) id $ do addAPIGatewayHandler "api-gateway" gatewayHandler addALBHandler "alb" albHandler addStandaloneLambdaHandler "standalone" regularHandler gatewayHandler :: ApiGatewayRequest request -> Context...

Lambda doesn't log the error automatically when it's reported. This makes it very hard to debug when integrating with other service such as API gateway. Although users of this library...

- Use Amazon Linux 2 - cache dependencies by separating it to a different step and utilising docker layer caching - add comments on where we can install native dependencies

Lambda proxy integrations in API Gateway Payload version 2.0 has a slightly different format. https://medium.com/@lancers/amazon-api-gateway-explaining-lambda-payload-version-2-0-in-http-api-24b0b4db5d36 https://aws.amazon.com/blogs/compute/building-better-apis-http-apis-now-generally-available/

before ``` { "errorMessage": "RequestId: c2560dea-0377-4357-9a9d-56eb97387f97 Error: Runtime exited with error: exit status 1", "errorType": "Runtime.ExitError" } ``` after ``` { "errorType": "Runtime.HandlerNotFound", "errorMessage": "Could not find handler 'handler2'." }...