I'm trying to update my project in order to use SDK v2 by using bom configuration.
I have updated my pom file but now RequestHandler and Context can't be found.
Here is my maven config file
<dependencyManagement>
<dependencies>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bom</artifactId>
<version>2.1.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>lambda</artifactId>
</dependency>
</dependencies>
And my config before which was working
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-lambda-java-core</artifactId>
<version>1.2.0</version>
</dependency>
Can't seems to find what I should import to have the missing classes. Or in the V2, there is a different signature ?
This is my class:
public class Cron implements RequestHandler<Object, Object> {
public Object handleRequest(final Object input, final Context context) {
Thanks for any pointer.
C.C.