From 5bc41439feef6efd51cab27453ddbdb58822cb09 Mon Sep 17 00:00:00 2001 From: Adolfo Date: Thu, 9 Feb 2023 09:01:09 +0100 Subject: [PATCH] Change the SQS.Event to the valid SQSEvent type at the SimpleLambdaHandler example --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index dc3bedec..7aac6068 100644 --- a/readme.md +++ b/readme.md @@ -118,7 +118,7 @@ Next, create a `MyLambda.swift` and implement your Lambda. Note that the file ca @main struct MyLambda: SimpleLambdaHandler { // In this example we are receiving a SQS Event, with no response (Void). - func handle(_ event: SQS.Event, context: LambdaContext) async throws -> Void { + func handle(_ event: SQSEvent, context: LambdaContext) async throws { ... } }