title: Does the AWS Golang SDK include support for a Cognito Provider?
body: <p>I have been using the AWS mobile SDK previously with AWS Cognito.
  So I have an AWS Cognito Identity Pool configured with 2 AWS IAM roles (authenticated and unauthenticated). 
  Via that I am currently calling some AWS Lambda functions. (btw I am aware of the AWS API Gateway)</p>
  
  <p>I'm trying to do something similar with a Go/Golang client now, i.e. call an AWS Lambda (unauthenticated role) from client side Go, but I can't find an example.</p>
  
  <p>I found this info, but it just seems to be for calling the service functions (ie with environment configured secrets etc. similar to CLI)</p>
  
  <p><a href="https://docs.aws.amazon.com/sdk-for-go/api/service/cognitoidentity/#New" rel="nofollow noreferrer">https://docs.aws.amazon.com/sdk-for-go/api/service/cognitoidentity/#New</a></p>
  
  <p>I also looked through the Go AWS SDK source (credentials) and it is almost like the Cognito Provider option has been excluded from the SDK?  and I cant find anything that seems to mention 'identityPoolId'.</p>
  
  <p>If that is the case, could I somehow hook into the Javascript exposed interface in Go without using the SDK?</p>
  
  <p><a href="https://docs.aws.amazon.com/cognito/latest/developerguide/getting-credentials.html#getting-credentials-1.javascript" rel="nofollow noreferrer">https://docs.aws.amazon.com/cognito/latest/developerguide/getting-credentials.html#getting-credentials-1.javascript</a></p>
  
  <p>Although I'm thinking I will need to do this without the Javascript SDK too...  </p>
  
  <p>ie A direct HTTPS call to AWS backend?  Is the AWS Cognito service exposed in this way?</p>