Skip to content

Commit

Permalink
Correct typo in SQS example (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte authored Dec 29, 2020
1 parent f51eeb6 commit 15affaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ Next, create a `main.swift` and implement your Lambda.
import AWSLambdaRuntime
import AWSLambdaEvents

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

0 comments on commit 15affaf

Please sign in to comment.