package com.kevinsimard.aws.lambda;

import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestHandler;

@SuppressWarnings("unused")
public class Function implements RequestHandler<Function.Request, Function.Response> {

    public Response handleRequest(Request request, Context context) {
        return new Response(request.message);
    }

    static class Request {
        public String message;
    }

    static class Response {
        public String message;

        Response(String message) {
            this.message = message;
        }
    }
}

@@ -150,36 +150,8 @@
 r;%0A%0A
-@SuppressWarnings(%22unused%22)%0A
 publ

Remove SuppressWarnings annotation