Skip to content

Commit 15affaf

Browse files
Correct typo in SQS example (#181)
1 parent f51eeb6 commit 15affaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ Next, create a `main.swift` and implement your Lambda.
9393
import AWSLambdaRuntime
9494
import AWSLambdaEvents
9595

96-
// In this example we are receiving an SQS Message, with no response (Void).
97-
Lambda.run { (context, message: SQS.Message, callback: @escaping (Result<Void, Error>) -> Void) in
96+
// In this example we are receiving an SQS Event, with no response (Void).
97+
Lambda.run { (context, message: SQS.Event, callback: @escaping (Result<Void, Error>) -> Void) in
9898
...
9999
callback(.success(Void()))
100100
}

0 commit comments

Comments
 (0)