code: @Deprecated
      public static <T> T build(Class<T> interfaceClass, AWSLambda awsLambda, LambdaInvokerFactoryConfig config) {
          final Object proxy = Proxy.newProxyInstance(interfaceClass.getClassLoader(),
                                                      new Class<?>[]{interfaceClass},
                                                      new LambdaInvocationHandler(interfaceClass, awsLambda, config));
  
          return interfaceClass.cast(proxy);
      }
docs: Creates a new Lambda invoker implementing the given interface and wrapping the given {@code AWSLambda} client.
  
  @param interfaceClass the interface to implement
  @param awsLambda      the lambda client to use for making remote calls
  @param config         configuration for the LambdaInvokerFactory
  @deprecated Use {@link LambdaInvokerFactory#builder()} to configure invoker factory.