Guest User

Untitled

a guest
Aug 17th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. final SomeService someService = LambdaInvokerFactory.builder()
  2. .lambdaClient(AWSLambdaClientBuilder.defaultClient())
  3. .lambdaFunctionNameResolver((method, annotation, config) -> <YOUR_FUNCTION_NAME>)
  4. .build(SomeService.class);
  5.  
  6.  
  7.  
  8.  
  9. public interface SomeService {
  10. @LambdaFunction
  11. SomeResponse someResponse(InputRequest inputRequest);
  12.  
  13. }
  14.  
  15.  
  16. @Getter
  17. @Setter
  18. @EqualsAndHashCode
  19. @ToString
  20. public class SomeResponse {
  21. private String name;
  22. }
Add Comment
Please, Sign In to add comment