I am working on a AWS lambda function in order to get dynamically a SNS Event or a Kinesis Event, to do so, in my lambda function I am getting an Object as parameter: Then, I am using Jackson in order to convert it to SNS or Kinesis dynamically: The problem is that, when I’m using the convertToKinesisEvent function I