git clone .......
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.5</version>
</dependency>
mvn clean package
or
mvn clean package shade:shade
Edit Runtime settings of the Handler in aws Lambda console : com.amazonaws.lambda.demo.LambdaFunctionHandler::handleRequest