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 |
|
I think I'm getting confused about the difference between Thank you! |
Uh oh!
There was an error while loading. Please reload this page.
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
resourcecoding key is missing.I've tried changing the
eventand theInvalues to various things but nothing is working.Thanks
All reactions