I am trying to trigger an AWS lambda function written in Java, on dynamodb stream events. Amazon has a guide for the same, using NodeJS here http://docs.aws.amazon.com/lambd
Your code caused the following exception in CloudWatch log,
Class does not implement an appropriate handler interface....
Once I changed the code to the following, I can get the SNS message just fine.
public class RecomFunction implements RequestHandler {
public Void handleRequest(SNSEvent event, Context context) {
...
return null;
}
}