Skip to content

Commit 08df087

Browse files
authored
Merge pull request #1 from fitomad/readme-sqsevent-example
Change the SQS.Event to the valid SQSEvent type
2 parents 735c49f + 5bc4143 commit 08df087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Next, create a `MyLambda.swift` and implement your Lambda. Note that the file ca
118118
@main
119119
struct MyLambda: SimpleLambdaHandler {
120120
// In this example we are receiving a SQS Event, with no response (Void).
121-
func handle(_ event: SQS.Event, context: LambdaContext) async throws -> Void {
121+
func handle(_ event: SQSEvent, context: LambdaContext) async throws {
122122
...
123123
}
124124
}

0 commit comments

Comments
 (0)