swift-aws-lambda-events icon indicating copy to clipboard operation
swift-aws-lambda-events copied to clipboard

Swift implementation of AWS Lambda Events

Results 16 swift-aws-lambda-events issues
Sort by recently updated
recently updated
newest added

### Expected behavior I'm trying to test a `LambdaHandler` ``` struct MyHandler: LambdaHandler { init(context: LambdaInitializationContext) async throws { } func handle(_ request: APIGatewayV2Request, context: LambdaContext) async throws -> APIGatewayV2Response...

enhancement

Use Swift HTTP types package for status and method ### Motivation: As mentioned in #46 there is some overlap between the definitions of http types in this library and in...

Add APIGateway WebSockets Event Type ### Motivation: What I propose is adding WebSockets support to AWS Lambda Events. Let me begin by stating outright that I am not sure this...

🆕 semver/minor

This is more of a question or thought than a bug... There's some HTTP implementation here: https://github.com/swift-server/swift-aws-lambda-events/blob/main/Sources/AWSLambdaEvents/Utils/HTTP.swift that has a lot of overlap with the recent https://github.com/apple/swift-http-types library. Would it...

It appears Swift 5.7 is required now. If so the 5.4 and 5.5 Package.swift should probably be removed. Similarly the [docker-compose.al2.56.yaml](https://github.com/swift-server/swift-aws-lambda-events/blob/main/docker/docker-compose.al2.56.yaml) file could be removed

### Expected behavior Correct parsing using `JSONDecoder().decode(SNS.Message.self, from: data)` ### Actual behavior `Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"SigningCertUrl\", intValue: nil) (\"SigningCertUrl\").", underlyingError: nil))` `SigningCertUrl` and `SubscribeUrl`...

### Expected behavior I would like to access the requestContext stored property in the APIGatewayLambdaAuthorizerRequest struct. ### Actual behavior The requestContext stored property is not marked as public and cannot...

This issue is a carry over from the Lambda runtime project https://github.com/swift-server/swift-aws-lambda-runtime/issues/53 --- 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...

kind/enhancement

### Expected behavior I am using swift as a appsync lambda resolver with the following GraphQL schema. ```GraphQL input TestInput { ids: [String] } testMutation(input: TestInput!): String ``` According to...

kind/bug

DynamoDBEvent.Decoder isn't currently handling the case where .binary attributes are base64encoded strings and throws an error ### Motivation: If you try to use DynamoDBEvent.Decoder on binary values, it throws an...

🆕 semver/minor