title: Testing Cognito user pool auth with API gateway
body: <p>I would like my client application to insert records in my dynamoDb instance using API gateway secured with Cognito user pools.</p>
  
  <p>I have created my user pool and added it as an authorizer to my API gateway method call. Using AWS Cli I ran the following command which gave me my access token:</p>
  
  <p><code>aws cognito-idp initiate-auth ...</code></p>
  
  <p>My infrastructure seems to be working, now which direction do I need to go to pragmatically achieve signing-in as my user in the user pool, grabbing the token and calling my API method?</p>