1# language: en
2@cloudwatch @monitoring @client
3Feature: Amazon CloudWatch
4
5  Scenario: Making a request
6    When I call the "ListMetrics" API with:
7      | Namespace | AWS/EC2 |
8    Then the value at "Metrics" should be a list
9
10  Scenario: Handling errors
11    When I attempt to call the "SetAlarmState" API with:
12      | AlarmName   | abc |
13      | StateValue  | mno |
14      | StateReason | xyz |
15    Then I expect the response error code to be "ValidationError"
16    And I expect the response error message to include:
17    """
18    failed to satisfy constraint
19    """
20