AT&T interview question

write a code to aws lambda function and integrate them to apis