Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- final SomeService someService = LambdaInvokerFactory.builder()
- .lambdaClient(AWSLambdaClientBuilder.defaultClient())
- .lambdaFunctionNameResolver((method, annotation, config) -> <YOUR_FUNCTION_NAME>)
- .build(SomeService.class);
- public interface SomeService {
- @LambdaFunction
- SomeResponse someResponse(InputRequest inputRequest);
- }
- @Getter
- @Setter
- @EqualsAndHashCode
- @ToString
- public class SomeResponse {
- private String name;
- }
Add Comment
Please, Sign In to add comment