1# language: en 2@cloudfront @client 3Feature: Amazon CloudFront 4 5 Scenario: Making a basic request 6 When I call the "ListDistributions" API with: 7 | MaxItems | 1 | 8 Then the value at "DistributionList.Items" should be a list 9 10 Scenario: Making a basic request - 2 11 When I call the "ListCloudFrontOriginAccessIdentities" API with: 12 | MaxItems | 1 | 13 Then the value at "CloudFrontOriginAccessIdentityList.Items" should be a list 14 15 Scenario: Error handling 16 When I attempt to call the "GetDistribution" API with: 17 | Id | fake-id | 18 Then I expect the response error code to be "NoSuchDistribution" 19 And I expect the response error message to include: 20 """ 21 The specified distribution does not exist. 22 """ 23