Golang: AWS SDK, Cognito and API Gateway

The situation is as follows: Create an application with the serverless framework.  This uses API Gateway, Lambda, and all kinds of cool stuff. Authenticate on the application using Cognito. Write a client that can call the API created by API gateway in Go. Steps 1-2 are covered everywhere on the internet.  My favorite reference is…