I\'m trying to develop a AWS Java lambda function by following the guidance described here. In it it describes the implementation of the RequestHandler interfac
However I am trying to use the latest SDK as recommended here but this is completely different and the
RequestHandlerinterface doesn't appear to exist anymore.
You're using wrong a dependency. This is an SDK for using AWS Services via its REST API, like:
I.e. this is an SDK for working with various AWS services. It consists of many libraries, like aws-java-sdk-s3, aws-java-sdk-dynamodb. aws-java-sdk-lambda is one of them, but it is for interacting with Lambda API and not for authoring Lambdas.
The libraries you need for authoring Lambdas are:
As you see, those are different. First provides Handler interfaces you're looking for and second contains various events Lambda can accept as input: SNS events, CloudWatch timers and so on.