Replies: 2 comments 1 reply
-
This question should probably be asked in the DynamoDB triggered lambdas should use struct LamdaHandler: EventLoopLambdaHandler {
typealias In = DynamoDBEvent
typealias Out = Void
func handle(context: Lambda.Context, event: APIGateway.Request) -> EventLoopFuture<APIGateway.Response> {
guard let handler = Handler.current else {
return context.eventLoop.makeSucceededVoidFuture())
}
}
} If that doesn't work then there is most likely an error in the |
Beta Was this translation helpful? Give feedback.
-
I think I'm getting confused about the difference between Thank you! |
Beta Was this translation helpful? Give feedback.
-
Does anyone know how to receive a DynamoDB trigger?
The example below works fine with the APIGateway but I can't get it to process DDB Triggers.
I've verified data is being sent to this Lambda when I write to a table that has a stream setup but I am getting an error saying it can't decode the data because the
resource
coding key is missing.I've tried changing the
event
and theIn
values to various things but nothing is working.Thanks
Beta Was this translation helpful? Give feedback.
All reactions