mirror of
https://github.com/ClaytonWWilson/Listify.git
synced 2025-12-16 02:38:47 +00:00
23 lines
668 B
Java
23 lines
668 B
Java
import java.io.IOException;
|
|
import java.sql.SQLException;
|
|
import java.util.Map;
|
|
|
|
import com.amazonaws.services.lambda.runtime.Context;
|
|
import com.amazonaws.services.lambda.runtime.RequestHandler;
|
|
|
|
public class ListsPOST implements RequestHandler<Map<String,Object>, String>{
|
|
|
|
|
|
public String handleRequest(Map<String, Object> inputMap, Context unfilled) {
|
|
String cognitoID = InputUtils.getCognitoIDFromBody(inputMap);
|
|
try {
|
|
System.out.println(new DBConnector());
|
|
} catch (IOException e) {
|
|
e.printStackTrace();
|
|
} catch (SQLException e) {
|
|
e.printStackTrace();
|
|
}
|
|
return null;
|
|
}
|
|
}
|