public final class LambdaInvokerFactory extends Object
 public class Request {
     // Standard POJO stuff here modeling the input your Lambda function
     // expects.
 }
 public class Result {
     // More standard POJO stuff here modeling the output your Lambda
     // function produces.
 }
 public interface LambdaFunctions {
     @LambdaFunction
     Result doSomeStuff(Request request);
 }
 LambdaFunctions functions = LambdaInvokerFactory.builder()
                             .lambdaClient(AWSLambdaSyncClientBuilder.standard()
                                  .withCredentials(new ProfileCredentialsProvider("myprofile"))
                                  .build())
                             .build(LambdaFunctions.class);
 Request request = new Request(...);
 Result result = functions.doSomeStuff(request);
 | Modifier and Type | Class and Description | 
|---|---|
| static class  | LambdaInvokerFactory.Builder | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> T | build(Class<T> interfaceClass,
     AWSLambda awsLambda)Deprecated. 
 Use  builder()to configure invoker factory. | 
| static <T> T | build(Class<T> interfaceClass,
     AWSLambda awsLambda,
     LambdaInvokerFactoryConfig config)Deprecated. 
 Use  builder()to configure invoker factory. | 
| static LambdaInvokerFactory.Builder | builder() | 
@Deprecated public static <T> T build(Class<T> interfaceClass, AWSLambda awsLambda)
builder() to configure invoker factory.AWSLambda client.interfaceClass - the interface to implementawsLambda - the lambda client to use for making remote calls@Deprecated public static <T> T build(Class<T> interfaceClass, AWSLambda awsLambda, LambdaInvokerFactoryConfig config)
builder() to configure invoker factory.AWSLambda client.interfaceClass - the interface to implementawsLambda - the lambda client to use for making remote callsconfig - configuration for the LambdaInvokerFactorypublic static LambdaInvokerFactory.Builder builder()
LambdaInvokerFactory.Builder to configure an invoker factory and build proxies for
 invoking remote lambda functions.Copyright © 2022. All rights reserved.