SendEvent - AWS Code Sample