All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.amazon.lambda.runtime.AmazonLambdaStaticRecorder Maven / Gradle / Ivy

There is a newer version: 3.17.0
Show newest version
package io.quarkus.amazon.lambda.runtime;

import java.util.Set;

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

import io.quarkus.runtime.annotations.Recorder;

@Recorder
public class AmazonLambdaStaticRecorder {
    public void setHandlerClass(Class> handler) {
        AmazonLambdaRecorder.initializeHandlerClass(handler);
    }

    public void setStreamHandlerClass(Class handler) {
        AmazonLambdaRecorder.streamHandlerClass = handler;
    }

    public void setExpectedExceptionClasses(Set> classes) {
        AmazonLambdaRecorder.expectedExceptionClasses = classes;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy