The Gson config you have added only seems to support a small subset of the events defined in lambda-java-events.
For example I am trying to use com.amazonaws.services.lambda.runtime.events.IamPolicyResponseV1 and that isn't being serialized properly.
I would once again suggest you go with Jackson to avoid having to deal with every lambda event on a case by case basis.