1# language: en
2@kms
3Feature: Amazon Key Management Service
4
5  Scenario: Making a request
6    When I call the "ListAliases" API
7    Then the value at "Aliases" should be a list
8
9  Scenario: Handling errors
10    When I attempt to call the "GetKeyPolicy" API with:
11    | KeyId      | 12345678-1234-1234-1234-123456789012 |
12    | PolicyName | fake-policy                          |
13    Then I expect the response error code to be "NotFoundException"
14    And I expect the response error to contain a message
15