cognitoidentity.feature 640 B

12345678910111213141516171819
  1. # language: en
  2. @cognitoidentity @client
  3. Feature: Amazon Cognito Idenity
  4. Scenario: Making a request
  5. When I call the "ListIdentityPools" API with JSON:
  6. """
  7. {"MaxResults": 10}
  8. """
  9. Then the value at "IdentityPools" should be a list
  10. Scenario: Handling errors
  11. When I attempt to call the "DescribeIdentityPool" API with:
  12. | IdentityPoolId | us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee |
  13. Then I expect the response error code to be "ResourceNotFoundException"
  14. And I expect the response error message to include:
  15. """
  16. IdentityPool 'us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee' not found
  17. """