swift-aws-lambda-runtime
swift-aws-lambda-runtime copied to clipboard
Swift implementation of AWS Lambda Runtime
### Expected behavior The `ClientContext` is often of well known shape:  It should handle the typing more gracefully I think, see docs: https://docs.aws.amazon.com/lambda/latest/dg/nodejs-context.html See also: https://github.com/swift-server/swift-aws-lambda-runtime/pull/167#discussion_r489236665 for discussion on...
As per PR #150, which needs to be fixed in more places. Note that this is API semver major, so for 2.x.
Currently AWSLambdaEvents defines public symbols `HTTPHeaders`, `HTTPMethod` and `HTTPResponseStatus`. These clash with the symbols of the same name in NIOHTTP1. While you can differentiate between the two sets by prepending...
We currently don't respect the chosen handler and rely on the executable being named bootstrap. We should at least document that we don't care about the given handler name, or...
https://github.com/swift-server/swift-aws-lambda-runtime/pull/98#issuecomment-637513245
https://github.com/swift-server/swift-aws-lambda-runtime/pull/46/files#diff-46c15e7ad33f3c55f1eff630cb7c7d6aR30 https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html under "Message Attribute Data Types" > Number attributes can store positive or negative numerical values. A number can have up to 38 digits of precision, and it can...
This PR aims to improve developer ergonomics for simple `LambdaHandler` conformances when trying to quickly put together a local server to test against. ### Motivation: Swift 5.7 added primary associated...
### Expected behavior should build the lambdas ### Actual behavior ```swift ... .executableTarget( name: "HelloWorld", dependencies: [ .product(name: "AWSLambdaRuntime", package: "swift-aws-lambda-runtime"), ], plugins: [ .plugin(name: "AWSLambdaPackager", package: "swift-aws-lambda-runtime") ] ),...
Allow the changing of the local lambda server's invocation endpoint ### Motivation: _[Explain here the context, and why you're making that change. What is the problem you're trying to solve.]_...