Last active
October 30, 2018 07:52
-
-
Save onema/0373c098fa72beab57861f5b32c75659 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.amazonaws.services.lambda.runtime.Context | |
import io.onema.userverless.configuration.lambda.NoopLambdaConfiguration | |
import io.onema.userverless.function.SnsHandler | |
case class Foo(bar: String) | |
class Function extends SnsHandler[Foo] with NoopLambdaConfiguration { | |
//--- Methods --- | |
def execute(event: Foo, context: Context): Unit = { | |
println(event.bar) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment