1# language: en
2@sts @client
3Feature: AWS STS
4
5  Scenario: Making a request
6    When I call the "GetSessionToken" API
7    Then the response should contain a "Credentials"
8
9  Scenario: Handling errors 1
10    When I attempt to call the "GetFederationToken" API with:
11      | Name   | temp |
12      | Policy |      |
13    Then I expect the response error code to be "ValidationError"
14
15  Scenario: Handling errors 2
16    When I attempt to call the "GetFederationToken" API with:
17      | Name   | temp            |
18      | Policy | {\"temp\":true} |
19    Then I expect the response error code to be "MalformedPolicyDocument"
20