<commit_before># language: en
@smoke @apigateway
Feature: API Gateway

  Scenario: Making a request
    When I call the "GetDomainNames" API
    Then the value at "items" should be a list

  Scenario: Handing errors
    When I attempt to call the "CreateDomainName" API with:
      | domainName            | example |
      | certificateName       | foo     |
      | certificateBody       | bar     |
      | certificatePrivateKey | fizz    |
      | certificateChain      | buzz    |
    Then I expect the response error code to be "BadRequestException"<commit_msg>Update smoke tests for APIGateway (#1340)<commit_after># language: en
@smoke @apigateway
Feature: API Gateway

  Scenario: Making a request
    When I call the "GetDomainNames" API
    Then the value at "items" should be a list

  Scenario: Handing errors
    When I attempt to call the "CreateUsagePlanKey" API with:
      | usagePlanId             | foo |
      | keyId                   | bar |
      | keyType                 | fixx |
    Then I expect the response error code to be "BadRequestException"
{'fraction_non_alphanumeric': 0.06046511627906977, 'fraction_numerical': 0.0037209302325581397, 'mean_word_length': 2.341614906832298, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2955642', 'n_tokens_mistral': 298, 'n_tokens_neox': 286, 'n_words': 118}