Def Lambda Handlerevent Context Api Implementation