The pair of Google Cloud Endpoints and Google Cloud Functions and AWS API Gateway and AWS lambda are not same.
Google Cloud Endpoints monitor your existing API analytics and limits its usage via API Credentials.
So to link your Google Cloud Endpoints and Google Cloud Functions, you have to use Google App Engine or Google Compute Engine to connect them.