title: Validation error detected at 'identityPoolId' failed to satisfy constraint
body: <p>I am using aws-api-gateway-cli-test to test API gateway. API is authenticated via cognito user pool, i am getting the error:</p>
  
  <pre><code>1 validation error detected: Value 'eu-central-1_xxxxxxxx' at 'identityPoolId' failed to satisfy constraint: Member must satisfy regular expression pattern: [\w-]+:[0-9a-f-]+
  </code></pre>
  
  <p>I am not sure which value to use for identityPoolId. Where can i get this information. </p>
  
  <p>Trying the ARN like <code>arn:aws:cognito-idp:eu-central-1:xxxxxxxxxxx:userpool/eu-central-1_xxxxxxxxxx</code> failed. Pool Id in format <code>eu-central-1_xxxxxxxxxx</code> also failed.</p>
  
  <p>Example usage:</p>
  
  <pre><code>npx aws-api-gateway-cli-test \
  --username='user' \
  --password='password' \
  --user-pool-id='eu-central-1_xxxxxxx' \
  --app-client-id='xxxxxxxxxxxxxxxx' \
  --cognito-region='eu-central-1' \
  --identity-pool-id='eu-central-1_xxxxxxxx' \
  --invoke-url='https://xxxxxx.execute-api.eu-central-1.amazonaws.com/prod/' \
  --api-gateway-region='eu-central-1' \
  --path-template='/xxxx/xxxxx' \
  --method='POST' \
  --body='{"foo":"bar","lorem":"ipsum"}'
  </code></pre>
  
  <p>resulted in </p>
  
  <pre><code>1 validation error detected: Value 'eu-central-1_xxxxxxx' at 'identityPoolId' failed to satisfy constraint: Member must satisfy regular expression pattern: [\w-]+:[0-9a-f-]+
  </code></pre>
  
  <p>According to:
  <a href="https://github.com/AnomalyInnovations/aws-api-gateway-cli-test" rel="nofollow noreferrer">https://github.com/AnomalyInnovations/aws-api-gateway-cli-test</a></p>