/** Ċ Ġ* ĠCopyright Ġ 2 0 1 8 Ġbusy busy , ĠInc . Ċ Ġ* Ċ Ġ* ĠLicensed Ġunder Ġthe ĠApache ĠLicense , ĠVersion Ġ 2 . 0 Ġ( the Ġ" License "); Ċ Ġ* Ġyou Ġmay Ġnot Ġuse Ġthis Ġfile Ġexcept Ġin Ġcompliance Ġwith Ġthe ĠLicense . Ċ Ġ* ĠYou Ġmay Ġobtain Ġa Ġcopy Ġof Ġthe ĠLicense Ġat Ċ Ġ* Ċ Ġ* ĠĠĠĠ Ġhttp :// www . apache . org / licenses / LICENSE - 2 . 0 Ċ Ġ* Ċ Ġ* ĠUnless Ġrequired Ġby Ġapplicable Ġlaw Ġor Ġagreed Ġto Ġin Ġwriting , Ġsoftware Ċ Ġ* Ġdistributed Ġunder Ġthe ĠLicense Ġis Ġdistributed Ġon Ġan Ġ" AS ĠIS " ĠBASIS , Ċ Ġ* ĠWITHOUT ĠWARRANTIES ĠOR ĠCONDITIONS ĠOF ĠANY ĠKIND , Ġeither Ġexpress Ġor Ġimplied . Ċ Ġ* ĠSee Ġthe ĠLicense Ġfor Ġthe Ġspecific Ġlanguage Ġgoverning Ġpermissions Ġand Ċ Ġ* Ġlimitations Ġunder Ġthe ĠLicense . Ċ Ġ*/ Ċ Ċ package Ġio . busy busy . lambda . mos hi . apigateway Ċ Ċ import Ġcom . amazonaws . services . lambda . runtime . events . API Gateway Proxy Request Event Ċ import Ġcom . amazonaws . services . lambda . runtime . events . API Gateway Proxy Response Event Ċ import Ġio . busy busy . lambda . mos hi . Lambda Stream Handler Ċ Ċ abstract Ġclass ĠApi Gateway Proxy Handler Ġ: ĠLambda Stream Handler < API Gateway Proxy Request Event , ĠAPI Gateway Proxy Response Event >() Ġ{ ĊĠĠĠ Ġfun Ġcreate Response ( statusCode : ĠInt , Ġbody : ĠString ? Ġ= Ġnull , Ġheaders : ĠMap < String , ĠString >? Ġ= Ġnull ) ĊĠĠĠĠĠĠĠ Ġ= ĠApi Gateway Response ( statusCode , Ġbody , Ġheaders ) Ċ }