mirror of
https://github.com/ClaytonWWilson/Listify.git
synced 2025-12-16 02:38:47 +00:00
Prototype the User DELETE lambda. Amplify does not include this functionality, so putting it in a Lambda with the fine-grained API. This currently does not invalidate outstanding tokens nor does it clean up the database. @claytonwwilson You will want to add the clean up code instead of the deleted stuff in UserDeleter
11 lines
391 B
Java
11 lines
391 B
Java
import com.amazonaws.services.lambda.runtime.Context;
|
|
import com.amazonaws.services.lambda.runtime.RequestHandler;
|
|
|
|
import java.util.Map;
|
|
|
|
public class UserDELETE implements RequestHandler<Map<String,Object>, Object> {
|
|
|
|
public Object handleRequest(Map<String, Object> inputMap, Context unfilled) {
|
|
return BasicHandler.handleRequest(inputMap, unfilled, UserDeleter.class);
|
|
}
|
|
} |