Calling external Rest API from a Lambda function in java
I am trying to write a lambda function that takes information from lex input, and calls a rest api, passing that information as a parameter, returns a string, which i then want to send to lex as a response. It works as expected when run in eclipse, but when i upload the jar to amazon lambda, it is giving no error, but the output string is null. public class LambdaFunctionHandler implements RequestHandler<Map<String,Object>, Object> { @Override public Object handleRequest(Map<String,Object> input, Context context) { ValidationHook.LexRequest lexRequest= LexRequestFactory.createLexRequest(input)
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.