MakeFunction - AWS Code Sample