From c509638f8947367799476b14a3b54da807a50885 Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Mon, 2 Oct 2023 18:01:35 -0400 Subject: [PATCH 01/10] Smoke tests v2 --- apis/acm/2015-12-08/smoke-2.json | 39 ++++++ .../lib/aws-sdk-code-generator.rb | 1 - .../lib/aws-sdk-code-generator/gem_builder.rb | 5 - .../views/features/smoke.rb | 113 ++++++++++++++---- .../views/features/smoke_step_definitions.rb | 26 ---- .../views/features/step_definitions.rb | 5 +- .../templates/features/smoke.mustache | 26 ++-- .../features/smoke_step_definitions.mustache | 31 ----- .../features/step_definitions.mustache | 5 - build_tools/services.rb | 2 +- gems/aws-sdk-acm/features/smoke.feature | 49 +++++--- .../features/smoke_step_definitions.rb | 35 ------ gems/aws-sdk-core/features/features_helper.rb | 31 +++++ tasks/test.rake | 31 ++++- 14 files changed, 233 insertions(+), 166 deletions(-) create mode 100644 apis/acm/2015-12-08/smoke-2.json delete mode 100644 build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/features/smoke_step_definitions.rb delete mode 100644 build_tools/aws-sdk-code-generator/templates/features/smoke_step_definitions.mustache delete mode 100644 gems/aws-sdk-acm/features/smoke_step_definitions.rb diff --git a/apis/acm/2015-12-08/smoke-2.json b/apis/acm/2015-12-08/smoke-2.json new file mode 100644 index 00000000000..4864ed0fc95 --- /dev/null +++ b/apis/acm/2015-12-08/smoke-2.json @@ -0,0 +1,39 @@ +{ + "version": 2, + "testCases": [ + { + "id": "FailureExample", + "operationName": "TestOperation", + "input": { + "message": "foo" + }, + "expectation": {"failure": {}}, + "config": { + "region": "moon-dark-1" + }, + "tags": ["connection"] + }, + { + "id": "ErrorExample", + "operationName": "TestOperation", + "input": { + "message": "föö" + }, + "expectation": {"failure": {"errorId": "InvalidMessageError"}}, + "config": { + "region": "eu-central-1" + } + }, + { + "id": "SuccessExample", + "operationName": "TestOperation", + "input": { + "message": "bar" + }, + "expectation": {"success": {}}, + "config": { + "region": "eu-central-1" + } + } + ] +} \ No newline at end of file diff --git a/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator.rb b/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator.rb index eace9d5acb6..7bf9212add0 100644 --- a/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator.rb +++ b/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator.rb @@ -50,7 +50,6 @@ require_relative 'aws-sdk-code-generator/views/errors_module' require_relative 'aws-sdk-code-generator/views/features/env' require_relative 'aws-sdk-code-generator/views/features/step_definitions' -require_relative 'aws-sdk-code-generator/views/features/smoke_step_definitions' require_relative 'aws-sdk-code-generator/views/features/smoke' require_relative 'aws-sdk-code-generator/views/gemspec' require_relative 'aws-sdk-code-generator/views/resource_class' diff --git a/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/gem_builder.rb b/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/gem_builder.rb index 64b0b654f19..9a9177713b9 100644 --- a/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/gem_builder.rb +++ b/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/gem_builder.rb @@ -25,7 +25,6 @@ def each(&block) y.yield('features/step_definitions.rb', features_step_definitions_file) if @service.smoke_tests y.yield('features/smoke.feature', smoke_file) - y.yield('features/smoke_step_definitions.rb', smoke_step_definitions_file) end y.yield('VERSION', version_file) y.yield('LICENSE.txt', license_file) @@ -54,10 +53,6 @@ def smoke_file Views::Features::Smoke.new(options).render end - def smoke_step_definitions_file - Views::Features::SmokeStepDefinitions.new(options).render - end - def features_step_definitions_file Views::Features::StepDefinitions.new(options).render end diff --git a/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/features/smoke.rb b/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/features/smoke.rb index 56514c71a48..307d2733e22 100644 --- a/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/features/smoke.rb +++ b/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/features/smoke.rb @@ -10,35 +10,25 @@ class Smoke < View def initialize(options) service = options.fetch(:service) @custom = service.protocol == 'api-gateway' - @service = service.name + @service_name = service.name + @service_module = service.module_name # This will only be called if this is defined smoke_json = service.smoke_tests - @client_region = smoke_json["defaultRegion"] - @client_endpoint = smoke_json["defaultEndpoint"] - @smoke_tests = smoke_json["testCases"].map do |test| - h = { - operation: underscore(test["operationName"]), - smoke_test_tags: "@#{service.identifier} @smoke", - } - if test["errorExpectedFromService"] - h[:error_expectation] = "I expect an error was raised" - h[:scenario_string] = "Call Aws::#{service.module_name}::Client##{h[:operation]} and expect it to fail" - else - h[:error_expectation] = "I expect an error was not raised" - h[:scenario_string] = "Call #{service.module_name}::Client##{h[:operation]} and expect it to succeed" - end - h[:param_hash] = test["input"].inject({}) do |acc, kv| - raw_key, value = kv - key = underscore(raw_key) - acc[key] = value - acc - end.to_json - h + @smoke_tests = smoke_json['testCases'].map do |test| + SmokeTest.new( + service: service, + id: test['id'], + operation_name: test['operationName'], + input: test['input'], + expectation: test['expectation'], + config: test['config'], + tags: test['tags'] + ) end end - attr_reader :service, :client_region, :client_endpoint, :smoke_tests + attr_reader :service_name, :smoke_tests, :service_module # @return [String|nil] def generated_src_warning @@ -46,6 +36,83 @@ def generated_src_warning GENERATED_SRC_WARNING end + class SmokeTest < View + def initialize(options) + @service = options.fetch(:service) + @id = options.fetch(:id) + @operation_name = underscore(options.fetch(:operation_name)) + @input = options.fetch(:input) + @expectation = expectation_str(options.fetch(:expectation)) + @config = options.fetch(:config) + + tags = options.fetch(:tags) || [] + tags = tags.map { |t| "@#{t}" }.join(' ') + @tags = "@smoke @#{@service.identifier} #{tags}".chomp + end + + attr_reader :id, :operation_name, :expectation, :tags + + # TODO: this only assumes top level? but may be nested + def param_hash + @input.each_with_object({}) do |(raw_key, value), acc| + key = underscore(raw_key) + acc[key] = value + end.to_json + end + + def config_hash + @config.each_with_object({}) do |(raw_key, raw_value), acc| + key, value = config_map(raw_key, raw_value) + acc[key] = value unless key.nil? + end.to_json + end + + private + + def config_map(raw_key, raw_value) + case raw_key + # generic + when 'region' then ['region', raw_value] + when 'sigv4aRegionSet' then nil # TODO + when 'uri' then ['endpoint', raw_value] + when 'useFips' then ['use_fips_endpoint', raw_value] + when 'useDualStack' then ['use_dualstack_endpoint', raw_value] + # service specific + when 'useGlobalEndpoint' + value = raw_value == 'true' ? 'legacy' : 'regional' + if @service.name == 'S3' + ['s3_us_east_1_regional_endpoint', value] + elsif @service.name == 'STS' + ['sts_regional_endpoints', value] + end + # s3 specific + when 'useAccelerate' then ['use_accelerate_endpoint', raw_value] + when 'useArnRegion' then ['s3_use_arn_region', raw_value] + when 'useMultiRegionAccessPoints' + value = raw_value == 'true' ? 'false' : 'true' + ['s3_disable_multiregion_access_points', value] + when 'forcePathStyle' then ['force_path_style', raw_value] + when 'useAccountIdRouting' then nil # TODO + else + # catch all, possible code generated config options + [downcase(raw_key), raw_value] + end + end + + def expectation_str(expectation) + if expectation.key?('success') + 'I expect an error was not raised' + elsif expectation.key?('failure') + if (error_id = expectation['failure']['errorId']) + error_class = "#{@service.module_name}::Errors::#{error_id}" + "I expect a '#{error_class}' was raised" + else + 'I expect an error was raised' + end + end + end + end + end end end diff --git a/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/features/smoke_step_definitions.rb b/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/features/smoke_step_definitions.rb deleted file mode 100644 index 8d93bbd38ae..00000000000 --- a/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/features/smoke_step_definitions.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -module AwsSdkCodeGenerator - module Views - module Features - class SmokeStepDefinitions < View - - # @param [Hash] options - # @option options [required, Service] :service - def initialize(options) - service = options.fetch(:service) - @module_name = service.module_name - end - - attr_reader :module_name - - # @return [String|nil] - def generated_src_warning - return if @custom - GENERATED_SRC_WARNING - end - - end - end - end -end diff --git a/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/features/step_definitions.rb b/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/features/step_definitions.rb index d22c756ac88..ea8c3a0a32a 100644 --- a/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/features/step_definitions.rb +++ b/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/features/step_definitions.rb @@ -11,12 +11,9 @@ def initialize(options) service = options.fetch(:service) @var_name = service.identifier @module_name = service.module_name - if service.smoke_tests - @client_endpoint = service.smoke_tests['defaultEndpoint'] - end end - attr_reader :var_name, :module_name, :client_endpoint + attr_reader :var_name, :module_name end end diff --git a/build_tools/aws-sdk-code-generator/templates/features/smoke.mustache b/build_tools/aws-sdk-code-generator/templates/features/smoke.mustache index 976b6ddf2d6..8c7a53a02f4 100644 --- a/build_tools/aws-sdk-code-generator/templates/features/smoke.mustache +++ b/build_tools/aws-sdk-code-generator/templates/features/smoke.mustache @@ -1,22 +1,18 @@ {{#generated_src_warning}} {{generated_src_warning}} {{/generated_src_warning}} -Feature: Smoke tests for {{service}} - -Background: -{{#client_endpoint}} - Given I create a client with endpoint '{{client_endpoint}}' -{{/client_endpoint}} -{{^client_endpoint}} - Given I create a client in region '{{client_region}}' -{{/client_endpoint}} +Feature: Smoke tests for {{service_name}} {{#smoke_tests}} - {{smoke_test_tags}} - Scenario: {{scenario_string}} - When I call the operation '{{operation}}' with params: - """ + {{tags}} + Scenario: {{id}} + Given I create a '{{service_module}}' client with config: + """ +{{&config_hash}} + """ + When I call the operation '{{operation_name}}' with params: + """ {{¶m_hash}} - """ - Then {{error_expectation}} + """ + Then {{&expectation}} {{/smoke_tests}} diff --git a/build_tools/aws-sdk-code-generator/templates/features/smoke_step_definitions.mustache b/build_tools/aws-sdk-code-generator/templates/features/smoke_step_definitions.mustache deleted file mode 100644 index 6f1b9471b3b..00000000000 --- a/build_tools/aws-sdk-code-generator/templates/features/smoke_step_definitions.mustache +++ /dev/null @@ -1,31 +0,0 @@ -# frozen_string_literal: true - -{{#generated_src_warning}} -{{generated_src_warning}} -{{/generated_src_warning}} -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = {{module_name}}::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = {{module_name}}::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/build_tools/aws-sdk-code-generator/templates/features/step_definitions.mustache b/build_tools/aws-sdk-code-generator/templates/features/step_definitions.mustache index 27ead6a61fa..5b410413dff 100644 --- a/build_tools/aws-sdk-code-generator/templates/features/step_definitions.mustache +++ b/build_tools/aws-sdk-code-generator/templates/features/step_definitions.mustache @@ -1,10 +1,5 @@ Before("@{{var_name}}") do -{{#client_endpoint}} - @service = {{module_name}}::Resource.new(endpoint: '{{client_endpoint}}') -{{/client_endpoint}} -{{^client_endpoint}} @service = {{module_name}}::Resource.new -{{/client_endpoint}} @client = @service.client end diff --git a/build_tools/services.rb b/build_tools/services.rb index eee5795d1b1..81c18867631 100644 --- a/build_tools/services.rb +++ b/build_tools/services.rb @@ -100,7 +100,7 @@ def load_examples(svc_name, models_dir) end def load_smoke(svc_name, models_dir) - path = model_path('smoke.json', models_dir) + path = model_path('smoke-2.json', models_dir) if path smoke = JSON.load(File.read(path)) BuildTools::Customizations.apply_smoke_customizations(svc_name, smoke) diff --git a/gems/aws-sdk-acm/features/smoke.feature b/gems/aws-sdk-acm/features/smoke.feature index 11c7c7f7817..e1502a1f721 100644 --- a/gems/aws-sdk-acm/features/smoke.feature +++ b/gems/aws-sdk-acm/features/smoke.feature @@ -7,21 +7,38 @@ Feature: Smoke tests for ACM -Background: - Given I create a client in region 'us-west-2' + @smoke @acm @connection + Scenario: FailureExample + Given I create a 'Aws::ACM' client with config: + """ +{"region":"moon-dark-1"} + """ + When I call the operation 'test_operation' with params: + """ +{"message":"foo"} + """ + Then I expect an error was raised - @acm @smoke - Scenario: Call Aws::ACM::Client#list_certificates and expect it to succeed - When I call the operation 'list_certificates' with params: - """ -{} - """ - Then I expect an error was not raised + @smoke @acm + Scenario: ErrorExample + Given I create a 'Aws::ACM' client with config: + """ +{"region":"eu-central-1"} + """ + When I call the operation 'test_operation' with params: + """ +{"message":"föö"} + """ + Then I expect a 'Aws::ACM::Errors::InvalidMessageError' was raised - @acm @smoke - Scenario: Call Aws::Aws::ACM::Client#get_certificate and expect it to fail - When I call the operation 'get_certificate' with params: - """ -{"certificate_arn":"arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012"} - """ - Then I expect an error was raised + @smoke @acm + Scenario: SuccessExample + Given I create a 'Aws::ACM' client with config: + """ +{"region":"eu-central-1"} + """ + When I call the operation 'test_operation' with params: + """ +{"message":"bar"} + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-acm/features/smoke_step_definitions.rb b/gems/aws-sdk-acm/features/smoke_step_definitions.rb deleted file mode 100644 index 5118100c21a..00000000000 --- a/gems/aws-sdk-acm/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::ACM::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::ACM::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-core/features/features_helper.rb b/gems/aws-sdk-core/features/features_helper.rb index 1d509f45001..90f27c5c062 100644 --- a/gems/aws-sdk-core/features/features_helper.rb +++ b/gems/aws-sdk-core/features/features_helper.rb @@ -105,6 +105,37 @@ def cfg_value(*path) ## Shared step definitions ## +# Smoke Test Definitions +Given(/I create a '(.*?)' client with config:/) do |module_name, config| + namespace = Object.const_get(module_name) + opts = JSON.parse(config, symbolize_names: true) + opts[:region] = ENV['AWS_SMOKE_TEST_REGION'] || opts[:region] + @client = namespace::Client.new(opts) +end + +When(/I call the operation '(.*?)' with params:/) do |operation, params| + opts = JSON.parse(params, symbolize_names: true) + begin + @client.send(operation.to_sym, opts) + rescue Aws::Errors::ServiceError => e + @last_error = e + end +end + +Then(/I expect a '(.*?)' was raised/) do |error| + error_class = Object.const_get(error) + expect(@error).to be_a(error_class) +end + +Then(/I expect an error was raised/) do + expect(@last_error).to_not be_nil +end + +Then(/I expect an error was not raised/) do + expect(@last_error).to be_nil +end + +# Integration Test Definitions def eventually(options = {}, &block) seconds = options[:upto] || 15 delays = [1] diff --git a/tasks/test.rake b/tasks/test.rake index f18959741fd..722ca3258f4 100644 --- a/tasks/test.rake +++ b/tasks/test.rake @@ -45,18 +45,41 @@ end ## feature / integration tests ## +desc 'Executes smoke tests for a single gem' +rule /^test:smoke:.+$/ do |task| + dir = "gems/#{task.name.split(':').last}/features" + tags = "-t '@smoke'" + ENV.fetch('AWS_SMOKE_TEST_SKIP_TAGS', '').split(',').each do |tag| + tags += " -t 'not @#{tag}'" + end + sh("bundle exec cucumber --retry 3 #{tags} -r #{dir} #{dir} --publish-quiet") +end + +desc 'Executes all smoke tests' +rule 'test:smoke' do + failures = [] + Dir.glob('gems/*/features').each do |dir| + gem_name = dir.match(%r{gems/(.*)/features})[1] + sh("bundle exec rake test:smoke:#{gem_name}") do |ok, _| + failures << File.basename(File.dirname(dir)) unless ok + end + end + abort('one or more test suites failed: %s' % [failures.join(', ')]) unless failures.empty? +end + +desc 'Executes integration tests (except smoke tests) for a single gem' rule /^test:features:.+$/ do |task| dir = "gems/#{task.name.split(':').last}/features" - tags = "-t 'not @veryslow'" + tags = "-t 'not @smoke' -t 'not @veryslow'" sh("bundle exec cucumber --retry 3 #{tags} -r #{dir} #{dir} --publish-quiet") end -desc 'Executes integration tests.' +desc 'Executes all integration tests (except smoke tests)' task 'test:features' do failures = [] Dir.glob('gems/*/features').each do |dir| - tags = "-t 'not @veryslow'" - sh("bundle exec cucumber --retry 3 #{tags} -r #{dir} #{dir} --publish-quiet") do |ok, _| + gem_name = dir.match(%r{gems/(.*)/features})[1] + sh("bundle exec rake test:features:#{gem_name}") do |ok, _| failures << File.basename(File.dirname(dir)) unless ok end end From 3ff52e363e2960337803191f63c0ffa789cb5d11 Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Fri, 6 Oct 2023 13:12:08 -0400 Subject: [PATCH 02/10] Build and test real acm tests and update test rakefile --- apis/acm/2015-12-08/smoke-2.json | 36 +++++++++---------------- apis/acm/2015-12-08/smoke.json | 18 ------------- gems/aws-sdk-acm/features/smoke.feature | 32 +++++++--------------- tasks/test.rake | 27 ++++++++++++++++--- 4 files changed, 46 insertions(+), 67 deletions(-) delete mode 100644 apis/acm/2015-12-08/smoke.json diff --git a/apis/acm/2015-12-08/smoke-2.json b/apis/acm/2015-12-08/smoke-2.json index 4864ed0fc95..3c074d4c645 100644 --- a/apis/acm/2015-12-08/smoke-2.json +++ b/apis/acm/2015-12-08/smoke-2.json @@ -2,37 +2,27 @@ "version": 2, "testCases": [ { - "id": "FailureExample", - "operationName": "TestOperation", - "input": { - "message": "foo" - }, - "expectation": {"failure": {}}, - "config": { - "region": "moon-dark-1" - }, - "tags": ["connection"] - }, - { - "id": "ErrorExample", - "operationName": "TestOperation", - "input": { - "message": "föö" + "id": "ListCertificatesSuccess", + "operationName": "ListCertificates", + "input": {}, + "expectation": { + "success": {} }, - "expectation": {"failure": {"errorId": "InvalidMessageError"}}, "config": { - "region": "eu-central-1" + "region": "us-west-2" } }, { - "id": "SuccessExample", - "operationName": "TestOperation", + "id": "GetCertificateFailure", + "operationName": "GetCertificate", "input": { - "message": "bar" + "CertificateArn": "arn:aws:acm:region:123456789012:certificate\/12345678-1234-1234-1234-123456789012" + }, + "expectation": { + "failure": {} }, - "expectation": {"success": {}}, "config": { - "region": "eu-central-1" + "region": "us-west-2" } } ] diff --git a/apis/acm/2015-12-08/smoke.json b/apis/acm/2015-12-08/smoke.json deleted file mode 100644 index 12c425a62a1..00000000000 --- a/apis/acm/2015-12-08/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListCertificates", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "GetCertificate", - "input": { - "CertificateArn": "arn:aws:acm:region:123456789012:certificate\/12345678-1234-1234-1234-123456789012" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/gems/aws-sdk-acm/features/smoke.feature b/gems/aws-sdk-acm/features/smoke.feature index e1502a1f721..8c00e00a7a1 100644 --- a/gems/aws-sdk-acm/features/smoke.feature +++ b/gems/aws-sdk-acm/features/smoke.feature @@ -7,38 +7,26 @@ Feature: Smoke tests for ACM - @smoke @acm @connection - Scenario: FailureExample - Given I create a 'Aws::ACM' client with config: - """ -{"region":"moon-dark-1"} - """ - When I call the operation 'test_operation' with params: - """ -{"message":"foo"} - """ - Then I expect an error was raised - @smoke @acm - Scenario: ErrorExample + Scenario: ListCertificatesSuccess Given I create a 'Aws::ACM' client with config: """ -{"region":"eu-central-1"} +{"region":"us-west-2"} """ - When I call the operation 'test_operation' with params: + When I call the operation 'list_certificates' with params: """ -{"message":"föö"} +{} """ - Then I expect a 'Aws::ACM::Errors::InvalidMessageError' was raised + Then I expect an error was not raised @smoke @acm - Scenario: SuccessExample + Scenario: GetCertificateFailure Given I create a 'Aws::ACM' client with config: """ -{"region":"eu-central-1"} +{"region":"us-west-2"} """ - When I call the operation 'test_operation' with params: + When I call the operation 'get_certificate' with params: """ -{"message":"bar"} +{"certificate_arn":"arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012"} """ - Then I expect an error was not raised + Then I expect an error was raised diff --git a/tasks/test.rake b/tasks/test.rake index 722ca3258f4..2c670c92a14 100644 --- a/tasks/test.rake +++ b/tasks/test.rake @@ -42,7 +42,7 @@ task 'test:spec' do end ## -## feature / integration tests +## integration / smoke tests ## desc 'Executes smoke tests for a single gem' @@ -67,14 +67,33 @@ rule 'test:smoke' do abort('one or more test suites failed: %s' % [failures.join(', ')]) unless failures.empty? end -desc 'Executes integration tests (except smoke tests) for a single gem' -rule /^test:features:.+$/ do |task| +desc 'Executes integration tests for a single gem' +rule /^test:integration:.+$/ do |task| dir = "gems/#{task.name.split(':').last}/features" tags = "-t 'not @smoke' -t 'not @veryslow'" sh("bundle exec cucumber --retry 3 #{tags} -r #{dir} #{dir} --publish-quiet") end -desc 'Executes all integration tests (except smoke tests)' +desc 'Executes all integration tests' +task 'test:integration' do + failures = [] + Dir.glob('gems/*/features').each do |dir| + gem_name = dir.match(%r{gems/(.*)/features})[1] + sh("bundle exec rake test:integration:#{gem_name}") do |ok, _| + failures << File.basename(File.dirname(dir)) unless ok + end + end + abort('one or more test suites failed: %s' % [failures.join(', ')]) unless failures.empty? +end + +desc 'Executes feature tests for a single gem' +rule /^test:features:.+$/ do |task| + dir = "gems/#{task.name.split(':').last}/features" + tags = "-t 'not @veryslow'" + sh("bundle exec cucumber --retry 3 #{tags} -r #{dir} #{dir} --publish-quiet") +end + +desc 'Executes all feature tests' task 'test:features' do failures = [] Dir.glob('gems/*/features').each do |dir| From e4db3ddae3e1f2d51003625ab14f1fa3eb6411aa Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Fri, 13 Oct 2023 12:41:23 -0400 Subject: [PATCH 03/10] Set new minimum core version --- build_tools/services.rb | 4 ++-- gems/aws-sdk-core/CHANGELOG.md | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build_tools/services.rb b/build_tools/services.rb index 81c18867631..70e273f26aa 100644 --- a/build_tools/services.rb +++ b/build_tools/services.rb @@ -10,10 +10,10 @@ class ServiceEnumerator MANIFEST_PATH = File.expand_path('../../services.json', __FILE__) # Minimum `aws-sdk-core` version for new gem builds - MINIMUM_CORE_VERSION = "3.184.0" + MINIMUM_CORE_VERSION = "3.185.1" # Minimum `aws-sdk-core` version for new S3 gem builds - MINIMUM_CORE_VERSION_S3 = "3.181.0" + MINIMUM_CORE_VERSION_S3 = "3.185.1" EVENTSTREAM_PLUGIN = "Aws::Plugins::EventStreamConfiguration" diff --git a/gems/aws-sdk-core/CHANGELOG.md b/gems/aws-sdk-core/CHANGELOG.md index 6eb8ec46376..0c9de565a93 100644 --- a/gems/aws-sdk-core/CHANGELOG.md +++ b/gems/aws-sdk-core/CHANGELOG.md @@ -1,6 +1,8 @@ Unreleased Changes ------------------ +* Issue - Update shared smoke test steps across all gems. + 3.185.0 (2023-10-02) ------------------ From fbe8335d0ce2448b0f2f72a1dfdaf77aa30172bb Mon Sep 17 00:00:00 2001 From: Matt Muller <53055821+mullermp@users.noreply.github.com> Date: Fri, 13 Oct 2023 15:51:36 -0400 Subject: [PATCH 04/10] Smoke 2 sync + build all models (#2930) --- apis/acm/2015-12-08/smoke-2.json | 2 +- apis/acm/2015-12-08/smoke.json | 18 ++++++++++ apis/apigateway/2015-07-09/smoke-2.json | 31 ++++++++++++++++ .../2016-02-06/smoke-2.json | 18 ++++++++++ apis/appstream/2016-12-01/smoke-2.json | 16 +++++++++ apis/athena/2017-05-18/smoke-2.json | 16 +++++++++ apis/autoscaling/2011-01-01/smoke-2.json | 31 ++++++++++++++++ apis/batch/2016-08-10/smoke-2.json | 16 +++++++++ apis/cloudformation/2010-05-15/smoke-2.json | 30 ++++++++++++++++ apis/cloudhsmv2/2017-04-28/smoke-2.json | 29 +++++++++++++++ apis/cloudsearch/2013-01-01/smoke-2.json | 29 +++++++++++++++ apis/cloudtrail/2013-11-01/smoke-2.json | 29 +++++++++++++++ apis/codebuild/2016-10-06/smoke-2.json | 16 +++++++++ apis/codecommit/2015-04-13/smoke-2.json | 29 +++++++++++++++ apis/codedeploy/2014-10-06/smoke-2.json | 29 +++++++++++++++ apis/codepipeline/2015-07-09/smoke-2.json | 29 +++++++++++++++ apis/codestar/2017-04-19/smoke-2.json | 16 +++++++++ apis/cognito-identity/2014-06-30/smoke-2.json | 31 ++++++++++++++++ apis/cognito-idp/2016-04-18/smoke-2.json | 31 ++++++++++++++++ apis/cognito-sync/2014-06-30/smoke-2.json | 29 +++++++++++++++ apis/config/2014-11-12/smoke-2.json | 30 ++++++++++++++++ apis/cur/2017-01-06/smoke-2.json | 16 +++++++++ apis/devicefarm/2015-06-23/smoke-2.json | 29 +++++++++++++++ apis/directconnect/2012-10-25/smoke-2.json | 29 +++++++++++++++ apis/discovery/2015-11-01/smoke-2.json | 16 +++++++++ apis/dms/2016-01-01/smoke-2.json | 29 +++++++++++++++ apis/docdb/2014-10-31/smoke-2.json | 29 +++++++++++++++ apis/ds/2015-04-16/smoke-2.json | 31 ++++++++++++++++ apis/ec2/2016-11-15/smoke-2.json | 31 ++++++++++++++++ apis/ecr/2015-09-21/smoke-2.json | 29 +++++++++++++++ apis/ecs/2014-11-13/smoke-2.json | 29 +++++++++++++++ apis/elasticache/2015-02-02/smoke-2.json | 29 +++++++++++++++ apis/elasticbeanstalk/2010-12-01/smoke-2.json | 29 +++++++++++++++ .../elasticfilesystem/2015-02-01/smoke-2.json | 29 +++++++++++++++ .../2012-06-01/smoke-2.json | 31 ++++++++++++++++ .../2015-12-01/smoke-2.json | 31 ++++++++++++++++ apis/elasticmapreduce/2009-03-31/smoke-2.json | 29 +++++++++++++++ .../elastictranscoder/2012-09-25/smoke-2.json | 29 +++++++++++++++ apis/email/2010-12-01/smoke-2.json | 29 +++++++++++++++ apis/es/2015-01-01/smoke-2.json | 29 +++++++++++++++ apis/eventbridge/2015-10-07/smoke-2.json | 29 +++++++++++++++ apis/events/2015-10-07/smoke-2.json | 29 +++++++++++++++ apis/firehose/2015-08-04/smoke-2.json | 29 +++++++++++++++ apis/gamelift/2015-10-01/smoke-2.json | 29 +++++++++++++++ apis/glacier/2012-06-01/smoke-2.json | 29 +++++++++++++++ apis/glue/2017-03-31/smoke-2.json | 16 +++++++++ apis/iam/2010-05-08/smoke-2.json | 29 +++++++++++++++ apis/inspector/2016-02-16/smoke-2.json | 29 +++++++++++++++ apis/iot-data/2015-05-28/smoke-2.json | 19 ++++++++++ apis/iot/2015-05-28/smoke-2.json | 29 +++++++++++++++ apis/kinesis/2013-12-02/smoke-2.json | 29 +++++++++++++++ apis/kms/2014-11-01/smoke-2.json | 30 ++++++++++++++++ apis/lambda/2015-03-31/smoke-2.json | 29 +++++++++++++++ apis/lightsail/2016-11-28/smoke-2.json | 16 +++++++++ apis/logs/2014-03-28/smoke-2.json | 30 ++++++++++++++++ .../2015-07-01/smoke-2.json | 22 ++++++++++++ apis/monitoring/2010-08-01/smoke-2.json | 33 +++++++++++++++++ apis/mturk-requester/2017-01-17/smoke-2.json | 16 +++++++++ apis/neptune/2014-10-31/smoke-2.json | 29 +++++++++++++++ apis/opensearch/2021-01-01/smoke-2.json | 29 +++++++++++++++ apis/opsworks/2013-02-18/smoke-2.json | 29 +++++++++++++++ apis/polly/2016-06-10/smoke-2.json | 16 +++++++++ apis/redshift/2012-12-01/smoke-2.json | 29 +++++++++++++++ apis/rekognition/2016-06-27/smoke-2.json | 16 +++++++++ apis/route53/2013-04-01/smoke-2.json | 29 +++++++++++++++ apis/route53domains/2014-05-15/smoke-2.json | 29 +++++++++++++++ apis/route53resolver/2018-04-01/smoke-2.json | 29 +++++++++++++++ apis/s3/2006-03-01/smoke-2.json | 16 +++++++++ apis/secretsmanager/2017-10-17/smoke-2.json | 29 +++++++++++++++ apis/servicecatalog/2015-12-10/smoke-2.json | 16 +++++++++ apis/shield/2016-06-02/smoke-2.json | 16 +++++++++ apis/snowball/2016-06-30/smoke-2.json | 16 +++++++++ apis/sns/2010-03-31/smoke-2.json | 30 ++++++++++++++++ apis/sqs/2012-11-05/smoke-2.json | 29 +++++++++++++++ apis/ssm/2014-11-06/smoke-2.json | 29 +++++++++++++++ apis/states/2016-11-23/smoke-2.json | 16 +++++++++ apis/sts/2011-06-15/smoke-2.json | 30 ++++++++++++++++ apis/support/2013-04-15/smoke-2.json | 33 +++++++++++++++++ apis/swf/2012-01-25/smoke-2.json | 31 ++++++++++++++++ apis/waf-regional/2016-11-28/smoke-2.json | 32 +++++++++++++++++ apis/waf/2015-08-24/smoke-2.json | 32 +++++++++++++++++ apis/wafv2/2019-07-29/smoke-2.json | 36 +++++++++++++++++++ apis/workspaces/2015-04-08/smoke-2.json | 29 +++++++++++++++ .../views/features/smoke.rb | 21 +++++++---- gems/aws-sdk-acm/features/smoke.feature | 4 +-- .../features/smoke_step_definitions.rb | 35 ------------------ .../aws-sdk-apigateway/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 17 ++++----- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 17 ++++----- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-appstream/features/smoke.feature | 17 ++++----- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-athena/features/smoke.feature | 17 ++++----- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-batch/features/smoke.feature | 17 ++++----- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ .../aws-sdk-cloudhsmv2/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../aws-sdk-cloudtrail/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../aws-sdk-cloudwatch/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-codebuild/features/smoke.feature | 17 ++++----- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ .../aws-sdk-codecommit/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../aws-sdk-codedeploy/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-codestar/features/smoke.feature | 17 ++++----- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 17 ++++----- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ .../aws-sdk-devicefarm/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-docdb/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-ec2/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-ecr/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-ecs/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-efs/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-emr/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-firehose/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-gamelift/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-glacier/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-glue/features/smoke.feature | 17 ++++----- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 31 ---------------- gems/aws-sdk-iam/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-inspector/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-iot/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 17 ++++----- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-kinesis/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-kms/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-lambda/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-lightsail/features/smoke.feature | 17 ++++----- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 17 ++++----- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-mturk/features/smoke.feature | 3 -- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-neptune/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-opsworks/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-polly/features/smoke.feature | 17 ++++----- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-redshift/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 17 ++++----- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-route53/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-s3/features/smoke.feature | 17 ++++----- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 17 ++++----- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-ses/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-shield/features/smoke.feature | 17 ++++----- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-snowball/features/smoke.feature | 17 ++++----- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-sns/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-sqs/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-ssm/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-states/features/smoke.feature | 17 ++++----- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-support/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-swf/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-waf/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ .../features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ gems/aws-sdk-wafv2/features/smoke.feature | 33 +++++++++-------- .../features/smoke_step_definitions.rb | 35 ------------------ .../aws-sdk-workspaces/features/smoke.feature | 31 +++++++++------- .../features/smoke_step_definitions.rb | 35 ------------------ 270 files changed, 3433 insertions(+), 4616 deletions(-) create mode 100644 apis/acm/2015-12-08/smoke.json create mode 100644 apis/apigateway/2015-07-09/smoke-2.json create mode 100644 apis/application-autoscaling/2016-02-06/smoke-2.json create mode 100644 apis/appstream/2016-12-01/smoke-2.json create mode 100644 apis/athena/2017-05-18/smoke-2.json create mode 100644 apis/autoscaling/2011-01-01/smoke-2.json create mode 100644 apis/batch/2016-08-10/smoke-2.json create mode 100644 apis/cloudformation/2010-05-15/smoke-2.json create mode 100644 apis/cloudhsmv2/2017-04-28/smoke-2.json create mode 100644 apis/cloudsearch/2013-01-01/smoke-2.json create mode 100644 apis/cloudtrail/2013-11-01/smoke-2.json create mode 100644 apis/codebuild/2016-10-06/smoke-2.json create mode 100644 apis/codecommit/2015-04-13/smoke-2.json create mode 100644 apis/codedeploy/2014-10-06/smoke-2.json create mode 100644 apis/codepipeline/2015-07-09/smoke-2.json create mode 100644 apis/codestar/2017-04-19/smoke-2.json create mode 100644 apis/cognito-identity/2014-06-30/smoke-2.json create mode 100644 apis/cognito-idp/2016-04-18/smoke-2.json create mode 100644 apis/cognito-sync/2014-06-30/smoke-2.json create mode 100644 apis/config/2014-11-12/smoke-2.json create mode 100644 apis/cur/2017-01-06/smoke-2.json create mode 100644 apis/devicefarm/2015-06-23/smoke-2.json create mode 100644 apis/directconnect/2012-10-25/smoke-2.json create mode 100644 apis/discovery/2015-11-01/smoke-2.json create mode 100644 apis/dms/2016-01-01/smoke-2.json create mode 100644 apis/docdb/2014-10-31/smoke-2.json create mode 100644 apis/ds/2015-04-16/smoke-2.json create mode 100644 apis/ec2/2016-11-15/smoke-2.json create mode 100644 apis/ecr/2015-09-21/smoke-2.json create mode 100644 apis/ecs/2014-11-13/smoke-2.json create mode 100644 apis/elasticache/2015-02-02/smoke-2.json create mode 100644 apis/elasticbeanstalk/2010-12-01/smoke-2.json create mode 100644 apis/elasticfilesystem/2015-02-01/smoke-2.json create mode 100644 apis/elasticloadbalancing/2012-06-01/smoke-2.json create mode 100644 apis/elasticloadbalancingv2/2015-12-01/smoke-2.json create mode 100644 apis/elasticmapreduce/2009-03-31/smoke-2.json create mode 100644 apis/elastictranscoder/2012-09-25/smoke-2.json create mode 100644 apis/email/2010-12-01/smoke-2.json create mode 100644 apis/es/2015-01-01/smoke-2.json create mode 100644 apis/eventbridge/2015-10-07/smoke-2.json create mode 100644 apis/events/2015-10-07/smoke-2.json create mode 100644 apis/firehose/2015-08-04/smoke-2.json create mode 100644 apis/gamelift/2015-10-01/smoke-2.json create mode 100644 apis/glacier/2012-06-01/smoke-2.json create mode 100644 apis/glue/2017-03-31/smoke-2.json create mode 100644 apis/iam/2010-05-08/smoke-2.json create mode 100644 apis/inspector/2016-02-16/smoke-2.json create mode 100644 apis/iot-data/2015-05-28/smoke-2.json create mode 100644 apis/iot/2015-05-28/smoke-2.json create mode 100644 apis/kinesis/2013-12-02/smoke-2.json create mode 100644 apis/kms/2014-11-01/smoke-2.json create mode 100644 apis/lambda/2015-03-31/smoke-2.json create mode 100644 apis/lightsail/2016-11-28/smoke-2.json create mode 100644 apis/logs/2014-03-28/smoke-2.json create mode 100644 apis/marketplacecommerceanalytics/2015-07-01/smoke-2.json create mode 100644 apis/monitoring/2010-08-01/smoke-2.json create mode 100644 apis/mturk-requester/2017-01-17/smoke-2.json create mode 100644 apis/neptune/2014-10-31/smoke-2.json create mode 100644 apis/opensearch/2021-01-01/smoke-2.json create mode 100644 apis/opsworks/2013-02-18/smoke-2.json create mode 100644 apis/polly/2016-06-10/smoke-2.json create mode 100644 apis/redshift/2012-12-01/smoke-2.json create mode 100644 apis/rekognition/2016-06-27/smoke-2.json create mode 100644 apis/route53/2013-04-01/smoke-2.json create mode 100644 apis/route53domains/2014-05-15/smoke-2.json create mode 100644 apis/route53resolver/2018-04-01/smoke-2.json create mode 100644 apis/s3/2006-03-01/smoke-2.json create mode 100644 apis/secretsmanager/2017-10-17/smoke-2.json create mode 100644 apis/servicecatalog/2015-12-10/smoke-2.json create mode 100644 apis/shield/2016-06-02/smoke-2.json create mode 100644 apis/snowball/2016-06-30/smoke-2.json create mode 100644 apis/sns/2010-03-31/smoke-2.json create mode 100644 apis/sqs/2012-11-05/smoke-2.json create mode 100644 apis/ssm/2014-11-06/smoke-2.json create mode 100644 apis/states/2016-11-23/smoke-2.json create mode 100644 apis/sts/2011-06-15/smoke-2.json create mode 100644 apis/support/2013-04-15/smoke-2.json create mode 100644 apis/swf/2012-01-25/smoke-2.json create mode 100644 apis/waf-regional/2016-11-28/smoke-2.json create mode 100644 apis/waf/2015-08-24/smoke-2.json create mode 100644 apis/wafv2/2019-07-29/smoke-2.json create mode 100644 apis/workspaces/2015-04-08/smoke-2.json delete mode 100644 gems/aws-sdk-amplifyuibuilder/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-apigateway/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-appfabric/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-applicationautoscaling/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-applicationdiscoveryservice/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-appstream/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-athena/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-autoscaling/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-batch/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-bedrock/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-billingconductor/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-cleanrooms/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-cloudcontrolapi/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-cloudformation/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-cloudfront/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-cloudhsmv2/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-cloudsearch/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-cloudtrail/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-cloudwatch/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-cloudwatchevents/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-cloudwatchlogs/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-codebuild/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-codecatalyst/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-codecommit/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-codedeploy/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-codepipeline/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-codestar/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-cognitoidentity/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-cognitoidentityprovider/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-cognitosync/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-configservice/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-costandusagereportservice/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-databasemigrationservice/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-dataexchange/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-devicefarm/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-directconnect/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-directoryservice/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-docdb/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-dynamodb/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-ec2/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-ecr/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-ecs/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-efs/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-elasticache/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-elasticbeanstalk/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-elasticloadbalancing/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-elasticloadbalancingv2/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-elasticsearchservice/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-elastictranscoder/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-emr/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-eventbridge/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-firehose/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-gamelift/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-glacier/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-glue/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-health/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-iam/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-inspector/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-internetmonitor/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-iot/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-iotdataplane/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-iotfleetwise/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-iottwinmaker/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-keyspaces/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-kinesis/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-kms/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-lambda/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-lightsail/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-managedblockchainquery/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-marketplacecommerceanalytics/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-mediapackagev2/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-medicalimaging/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-migrationhuborchestrator/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-mturk/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-neptune/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-omics/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-opensearchservice/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-opsworks/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-pinpointsmsvoicev2/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-polly/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-pricing/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-rds/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-redshift/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-rekognition/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-route53/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-route53domains/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-route53resolver/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-s3/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-secretsmanager/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-servicecatalog/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-ses/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-shield/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-sms/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-snowball/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-sns/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-sqs/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-ssm/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-states/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-support/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-swf/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-verifiedpermissions/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-waf/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-wafregional/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-wafv2/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-workspaces/features/smoke_step_definitions.rb diff --git a/apis/acm/2015-12-08/smoke-2.json b/apis/acm/2015-12-08/smoke-2.json index 3c074d4c645..7fcfac29be4 100644 --- a/apis/acm/2015-12-08/smoke-2.json +++ b/apis/acm/2015-12-08/smoke-2.json @@ -26,4 +26,4 @@ } } ] -} \ No newline at end of file +} diff --git a/apis/acm/2015-12-08/smoke.json b/apis/acm/2015-12-08/smoke.json new file mode 100644 index 00000000000..12c425a62a1 --- /dev/null +++ b/apis/acm/2015-12-08/smoke.json @@ -0,0 +1,18 @@ +{ + "version": 1, + "defaultRegion": "us-west-2", + "testCases": [ + { + "operationName": "ListCertificates", + "input": {}, + "errorExpectedFromService": false + }, + { + "operationName": "GetCertificate", + "input": { + "CertificateArn": "arn:aws:acm:region:123456789012:certificate\/12345678-1234-1234-1234-123456789012" + }, + "errorExpectedFromService": true + } + ] +} diff --git a/apis/apigateway/2015-07-09/smoke-2.json b/apis/apigateway/2015-07-09/smoke-2.json new file mode 100644 index 00000000000..017484d576a --- /dev/null +++ b/apis/apigateway/2015-07-09/smoke-2.json @@ -0,0 +1,31 @@ +{ + "version": 2, + "testCases": [ + { + "id": "GetDomainNamesSuccess", + "operationName": "GetDomainNames", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "CreateUsagePlanKeyFailure", + "operationName": "CreateUsagePlanKey", + "input": { + "usagePlanId": "foo", + "keyId": "bar", + "keyType": "fixx" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/application-autoscaling/2016-02-06/smoke-2.json b/apis/application-autoscaling/2016-02-06/smoke-2.json new file mode 100644 index 00000000000..aee83d15c0a --- /dev/null +++ b/apis/application-autoscaling/2016-02-06/smoke-2.json @@ -0,0 +1,18 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeScalableTargetsSuccess", + "operationName": "DescribeScalableTargets", + "input": { + "ServiceNamespace": "ec2" + }, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/appstream/2016-12-01/smoke-2.json b/apis/appstream/2016-12-01/smoke-2.json new file mode 100644 index 00000000000..1c8475544b2 --- /dev/null +++ b/apis/appstream/2016-12-01/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeStacksSuccess", + "operationName": "DescribeStacks", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/athena/2017-05-18/smoke-2.json b/apis/athena/2017-05-18/smoke-2.json new file mode 100644 index 00000000000..d1a78bf148c --- /dev/null +++ b/apis/athena/2017-05-18/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListNamedQueriesSuccess", + "operationName": "ListNamedQueries", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/autoscaling/2011-01-01/smoke-2.json b/apis/autoscaling/2011-01-01/smoke-2.json new file mode 100644 index 00000000000..6d5587f898d --- /dev/null +++ b/apis/autoscaling/2011-01-01/smoke-2.json @@ -0,0 +1,31 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeScalingProcessTypesSuccess", + "operationName": "DescribeScalingProcessTypes", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "CreateLaunchConfigurationFailure", + "operationName": "CreateLaunchConfiguration", + "input": { + "LaunchConfigurationName": "hello, world", + "ImageId": "ami-12345678", + "InstanceType": "m1.small" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/batch/2016-08-10/smoke-2.json b/apis/batch/2016-08-10/smoke-2.json new file mode 100644 index 00000000000..3b0f5cc4787 --- /dev/null +++ b/apis/batch/2016-08-10/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeComputeEnvironmentsSuccess", + "operationName": "DescribeComputeEnvironments", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/cloudformation/2010-05-15/smoke-2.json b/apis/cloudformation/2010-05-15/smoke-2.json new file mode 100644 index 00000000000..f283775b7b0 --- /dev/null +++ b/apis/cloudformation/2010-05-15/smoke-2.json @@ -0,0 +1,30 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListStacksSuccess", + "operationName": "ListStacks", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "CreateStackFailure", + "operationName": "CreateStack", + "input": { + "StackName": "fakestack", + "TemplateURL": "http:\/\/s3.amazonaws.com\/foo\/bar" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/cloudhsmv2/2017-04-28/smoke-2.json b/apis/cloudhsmv2/2017-04-28/smoke-2.json new file mode 100644 index 00000000000..330e141f072 --- /dev/null +++ b/apis/cloudhsmv2/2017-04-28/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeClustersSuccess", + "operationName": "DescribeClusters", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "ListTagsFailure", + "operationName": "ListTags", + "input": { + "ResourceId": "bogus-arn" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/cloudsearch/2013-01-01/smoke-2.json b/apis/cloudsearch/2013-01-01/smoke-2.json new file mode 100644 index 00000000000..34edeab8e57 --- /dev/null +++ b/apis/cloudsearch/2013-01-01/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeDomainsSuccess", + "operationName": "DescribeDomains", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeIndexFieldsFailure", + "operationName": "DescribeIndexFields", + "input": { + "DomainName": "fakedomain" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/cloudtrail/2013-11-01/smoke-2.json b/apis/cloudtrail/2013-11-01/smoke-2.json new file mode 100644 index 00000000000..60889825d4a --- /dev/null +++ b/apis/cloudtrail/2013-11-01/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeTrailsSuccess", + "operationName": "DescribeTrails", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DeleteTrailFailure", + "operationName": "DeleteTrail", + "input": { + "Name": "faketrail" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/codebuild/2016-10-06/smoke-2.json b/apis/codebuild/2016-10-06/smoke-2.json new file mode 100644 index 00000000000..259d5b36c95 --- /dev/null +++ b/apis/codebuild/2016-10-06/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListBuildsSuccess", + "operationName": "ListBuilds", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/codecommit/2015-04-13/smoke-2.json b/apis/codecommit/2015-04-13/smoke-2.json new file mode 100644 index 00000000000..7e2a5b22947 --- /dev/null +++ b/apis/codecommit/2015-04-13/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListRepositoriesSuccess", + "operationName": "ListRepositories", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "ListBranchesFailure", + "operationName": "ListBranches", + "input": { + "repositoryName": "fake-repo" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/codedeploy/2014-10-06/smoke-2.json b/apis/codedeploy/2014-10-06/smoke-2.json new file mode 100644 index 00000000000..bb1c40b0111 --- /dev/null +++ b/apis/codedeploy/2014-10-06/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListApplicationsSuccess", + "operationName": "ListApplications", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "GetDeploymentFailure", + "operationName": "GetDeployment", + "input": { + "deploymentId": "d-USUAELQEX" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/codepipeline/2015-07-09/smoke-2.json b/apis/codepipeline/2015-07-09/smoke-2.json new file mode 100644 index 00000000000..02f0552fb58 --- /dev/null +++ b/apis/codepipeline/2015-07-09/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListPipelinesSuccess", + "operationName": "ListPipelines", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "GetPipelineFailure", + "operationName": "GetPipeline", + "input": { + "name": "fake-pipeline" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/codestar/2017-04-19/smoke-2.json b/apis/codestar/2017-04-19/smoke-2.json new file mode 100644 index 00000000000..fadaeebde66 --- /dev/null +++ b/apis/codestar/2017-04-19/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListProjectsSuccess", + "operationName": "ListProjects", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/cognito-identity/2014-06-30/smoke-2.json b/apis/cognito-identity/2014-06-30/smoke-2.json new file mode 100644 index 00000000000..564a49f55c9 --- /dev/null +++ b/apis/cognito-identity/2014-06-30/smoke-2.json @@ -0,0 +1,31 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListIdentityPoolsSuccess", + "operationName": "ListIdentityPools", + "input": { + "MaxResults": 10 + }, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeIdentityPoolFailure", + "operationName": "DescribeIdentityPool", + "input": { + "IdentityPoolId": "us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/cognito-idp/2016-04-18/smoke-2.json b/apis/cognito-idp/2016-04-18/smoke-2.json new file mode 100644 index 00000000000..50f0a942d88 --- /dev/null +++ b/apis/cognito-idp/2016-04-18/smoke-2.json @@ -0,0 +1,31 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListUserPoolsSuccess", + "operationName": "ListUserPools", + "input": { + "MaxResults": 10 + }, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeUserPoolFailure", + "operationName": "DescribeUserPool", + "input": { + "UserPoolId": "us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/cognito-sync/2014-06-30/smoke-2.json b/apis/cognito-sync/2014-06-30/smoke-2.json new file mode 100644 index 00000000000..16fc93e9622 --- /dev/null +++ b/apis/cognito-sync/2014-06-30/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListIdentityPoolUsageSuccess", + "operationName": "ListIdentityPoolUsage", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeIdentityPoolUsageFailure", + "operationName": "DescribeIdentityPoolUsage", + "input": { + "IdentityPoolId": "us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/config/2014-11-12/smoke-2.json b/apis/config/2014-11-12/smoke-2.json new file mode 100644 index 00000000000..9e2224a713b --- /dev/null +++ b/apis/config/2014-11-12/smoke-2.json @@ -0,0 +1,30 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeConfigurationRecordersSuccess", + "operationName": "DescribeConfigurationRecorders", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "GetResourceConfigHistoryFailure", + "operationName": "GetResourceConfigHistory", + "input": { + "resourceType": "fake-type", + "resourceId": "fake-id" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/cur/2017-01-06/smoke-2.json b/apis/cur/2017-01-06/smoke-2.json new file mode 100644 index 00000000000..6b594c455f8 --- /dev/null +++ b/apis/cur/2017-01-06/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeReportDefinitionsSuccess", + "operationName": "DescribeReportDefinitions", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-east-1" + } + } + ] +} diff --git a/apis/devicefarm/2015-06-23/smoke-2.json b/apis/devicefarm/2015-06-23/smoke-2.json new file mode 100644 index 00000000000..1747831ee02 --- /dev/null +++ b/apis/devicefarm/2015-06-23/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListDevicesSuccess", + "operationName": "ListDevices", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "GetDeviceFailure", + "operationName": "GetDevice", + "input": { + "arn": "arn:aws:devicefarm:us-west-2::device:000000000000000000000000fake-arn" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/directconnect/2012-10-25/smoke-2.json b/apis/directconnect/2012-10-25/smoke-2.json new file mode 100644 index 00000000000..506d2ae82aa --- /dev/null +++ b/apis/directconnect/2012-10-25/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeConnectionsSuccess", + "operationName": "DescribeConnections", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeConnectionsFailure", + "operationName": "DescribeConnections", + "input": { + "connectionId": "fake-connection" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/discovery/2015-11-01/smoke-2.json b/apis/discovery/2015-11-01/smoke-2.json new file mode 100644 index 00000000000..eb0d8b7772f --- /dev/null +++ b/apis/discovery/2015-11-01/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeAgentsSuccess", + "operationName": "DescribeAgents", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/dms/2016-01-01/smoke-2.json b/apis/dms/2016-01-01/smoke-2.json new file mode 100644 index 00000000000..b75101d97f9 --- /dev/null +++ b/apis/dms/2016-01-01/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeEndpointsSuccess", + "operationName": "DescribeEndpoints", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeTableStatisticsFailure", + "operationName": "DescribeTableStatistics", + "input": { + "ReplicationTaskArn": "arn:aws:acm:region:123456789012" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/docdb/2014-10-31/smoke-2.json b/apis/docdb/2014-10-31/smoke-2.json new file mode 100644 index 00000000000..bb5ae76e79d --- /dev/null +++ b/apis/docdb/2014-10-31/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeDBEngineVersionsSuccess", + "operationName": "DescribeDBEngineVersions", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeDBInstancesFailure", + "operationName": "DescribeDBInstances", + "input": { + "DBInstanceIdentifier": "fake-id" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/ds/2015-04-16/smoke-2.json b/apis/ds/2015-04-16/smoke-2.json new file mode 100644 index 00000000000..a6e83ef7d30 --- /dev/null +++ b/apis/ds/2015-04-16/smoke-2.json @@ -0,0 +1,31 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeDirectoriesSuccess", + "operationName": "DescribeDirectories", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "CreateDirectoryFailure", + "operationName": "CreateDirectory", + "input": { + "Name": "", + "Password": "", + "Size": "" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/ec2/2016-11-15/smoke-2.json b/apis/ec2/2016-11-15/smoke-2.json new file mode 100644 index 00000000000..5134f45f57f --- /dev/null +++ b/apis/ec2/2016-11-15/smoke-2.json @@ -0,0 +1,31 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeRegionsSuccess", + "operationName": "DescribeRegions", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeInstancesFailure", + "operationName": "DescribeInstances", + "input": { + "InstanceIds": [ + "i-12345678" + ] + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/ecr/2015-09-21/smoke-2.json b/apis/ecr/2015-09-21/smoke-2.json new file mode 100644 index 00000000000..5915b6f74e7 --- /dev/null +++ b/apis/ecr/2015-09-21/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeRepositoriesSuccess", + "operationName": "DescribeRepositories", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "ListImagesFailure", + "operationName": "ListImages", + "input": { + "repositoryName": "not-a-real-repository" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/ecs/2014-11-13/smoke-2.json b/apis/ecs/2014-11-13/smoke-2.json new file mode 100644 index 00000000000..4b37291c159 --- /dev/null +++ b/apis/ecs/2014-11-13/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListClustersSuccess", + "operationName": "ListClusters", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "StopTaskFailure", + "operationName": "StopTask", + "input": { + "task": "xxxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxx" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/elasticache/2015-02-02/smoke-2.json b/apis/elasticache/2015-02-02/smoke-2.json new file mode 100644 index 00000000000..410f304c490 --- /dev/null +++ b/apis/elasticache/2015-02-02/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeEventsSuccess", + "operationName": "DescribeEvents", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeCacheClustersFailure", + "operationName": "DescribeCacheClusters", + "input": { + "CacheClusterId": "fake_cluster" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/elasticbeanstalk/2010-12-01/smoke-2.json b/apis/elasticbeanstalk/2010-12-01/smoke-2.json new file mode 100644 index 00000000000..8276d135b93 --- /dev/null +++ b/apis/elasticbeanstalk/2010-12-01/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListAvailableSolutionStacksSuccess", + "operationName": "ListAvailableSolutionStacks", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeEnvironmentResourcesFailure", + "operationName": "DescribeEnvironmentResources", + "input": { + "EnvironmentId": "fake_environment" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/elasticfilesystem/2015-02-01/smoke-2.json b/apis/elasticfilesystem/2015-02-01/smoke-2.json new file mode 100644 index 00000000000..e937d85f99c --- /dev/null +++ b/apis/elasticfilesystem/2015-02-01/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeFileSystemsSuccess", + "operationName": "DescribeFileSystems", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DeleteFileSystemFailure", + "operationName": "DeleteFileSystem", + "input": { + "FileSystemId": "fs-c5a1446c" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/elasticloadbalancing/2012-06-01/smoke-2.json b/apis/elasticloadbalancing/2012-06-01/smoke-2.json new file mode 100644 index 00000000000..e339a8d8635 --- /dev/null +++ b/apis/elasticloadbalancing/2012-06-01/smoke-2.json @@ -0,0 +1,31 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeLoadBalancersSuccess", + "operationName": "DescribeLoadBalancers", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeLoadBalancersFailure", + "operationName": "DescribeLoadBalancers", + "input": { + "LoadBalancerNames": [ + "fake_load_balancer" + ] + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/elasticloadbalancingv2/2015-12-01/smoke-2.json b/apis/elasticloadbalancingv2/2015-12-01/smoke-2.json new file mode 100644 index 00000000000..66120108b15 --- /dev/null +++ b/apis/elasticloadbalancingv2/2015-12-01/smoke-2.json @@ -0,0 +1,31 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeLoadBalancersSuccess", + "operationName": "DescribeLoadBalancers", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeLoadBalancersFailure", + "operationName": "DescribeLoadBalancers", + "input": { + "LoadBalancerArns": [ + "fake_load_balancer" + ] + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/elasticmapreduce/2009-03-31/smoke-2.json b/apis/elasticmapreduce/2009-03-31/smoke-2.json new file mode 100644 index 00000000000..64c20d80588 --- /dev/null +++ b/apis/elasticmapreduce/2009-03-31/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListClustersSuccess", + "operationName": "ListClusters", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeClusterFailure", + "operationName": "DescribeCluster", + "input": { + "ClusterId": "fake_cluster" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/elastictranscoder/2012-09-25/smoke-2.json b/apis/elastictranscoder/2012-09-25/smoke-2.json new file mode 100644 index 00000000000..4c33d197afc --- /dev/null +++ b/apis/elastictranscoder/2012-09-25/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListPresetsSuccess", + "operationName": "ListPresets", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "ReadJobFailure", + "operationName": "ReadJob", + "input": { + "Id": "fake_job" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/email/2010-12-01/smoke-2.json b/apis/email/2010-12-01/smoke-2.json new file mode 100644 index 00000000000..16384dfa211 --- /dev/null +++ b/apis/email/2010-12-01/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListIdentitiesSuccess", + "operationName": "ListIdentities", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "VerifyEmailIdentityFailure", + "operationName": "VerifyEmailIdentity", + "input": { + "EmailAddress": "fake_email" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/es/2015-01-01/smoke-2.json b/apis/es/2015-01-01/smoke-2.json new file mode 100644 index 00000000000..154663dfee3 --- /dev/null +++ b/apis/es/2015-01-01/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListDomainNamesSuccess", + "operationName": "ListDomainNames", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeElasticsearchDomainFailure", + "operationName": "DescribeElasticsearchDomain", + "input": { + "DomainName": "not-a-domain" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/eventbridge/2015-10-07/smoke-2.json b/apis/eventbridge/2015-10-07/smoke-2.json new file mode 100644 index 00000000000..9de69b1be57 --- /dev/null +++ b/apis/eventbridge/2015-10-07/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListRulesSuccess", + "operationName": "ListRules", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeRuleFailure", + "operationName": "DescribeRule", + "input": { + "Name": "fake-rule" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/events/2015-10-07/smoke-2.json b/apis/events/2015-10-07/smoke-2.json new file mode 100644 index 00000000000..9de69b1be57 --- /dev/null +++ b/apis/events/2015-10-07/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListRulesSuccess", + "operationName": "ListRules", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeRuleFailure", + "operationName": "DescribeRule", + "input": { + "Name": "fake-rule" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/firehose/2015-08-04/smoke-2.json b/apis/firehose/2015-08-04/smoke-2.json new file mode 100644 index 00000000000..27e4953851d --- /dev/null +++ b/apis/firehose/2015-08-04/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListDeliveryStreamsSuccess", + "operationName": "ListDeliveryStreams", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeDeliveryStreamFailure", + "operationName": "DescribeDeliveryStream", + "input": { + "DeliveryStreamName": "bogus-stream-name" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/gamelift/2015-10-01/smoke-2.json b/apis/gamelift/2015-10-01/smoke-2.json new file mode 100644 index 00000000000..30b256a50ec --- /dev/null +++ b/apis/gamelift/2015-10-01/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListBuildsSuccess", + "operationName": "ListBuilds", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribePlayerSessionsFailure", + "operationName": "DescribePlayerSessions", + "input": { + "PlayerSessionId": "psess-fakeSessionId" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/glacier/2012-06-01/smoke-2.json b/apis/glacier/2012-06-01/smoke-2.json new file mode 100644 index 00000000000..c9abde194c1 --- /dev/null +++ b/apis/glacier/2012-06-01/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListVaultsSuccess", + "operationName": "ListVaults", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "ListVaultsFailure", + "operationName": "ListVaults", + "input": { + "accountId": "abcmnoxyz" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/glue/2017-03-31/smoke-2.json b/apis/glue/2017-03-31/smoke-2.json new file mode 100644 index 00000000000..255be2743f8 --- /dev/null +++ b/apis/glue/2017-03-31/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "GetCatalogImportStatusSuccess", + "operationName": "GetCatalogImportStatus", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/iam/2010-05-08/smoke-2.json b/apis/iam/2010-05-08/smoke-2.json new file mode 100644 index 00000000000..cefa15ce799 --- /dev/null +++ b/apis/iam/2010-05-08/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListUsersSuccess", + "operationName": "ListUsers", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-east-1" + } + }, + { + "id": "GetUserFailure", + "operationName": "GetUser", + "input": { + "UserName": "fake_user" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-east-1" + } + } + ] +} diff --git a/apis/inspector/2016-02-16/smoke-2.json b/apis/inspector/2016-02-16/smoke-2.json new file mode 100644 index 00000000000..c0b646cc58f --- /dev/null +++ b/apis/inspector/2016-02-16/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListAssessmentTemplatesSuccess", + "operationName": "ListAssessmentTemplates", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "ListTagsForResourceFailure", + "operationName": "ListTagsForResource", + "input": { + "resourceArn": "fake-arn" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/iot-data/2015-05-28/smoke-2.json b/apis/iot-data/2015-05-28/smoke-2.json new file mode 100644 index 00000000000..0e1ce750e6b --- /dev/null +++ b/apis/iot-data/2015-05-28/smoke-2.json @@ -0,0 +1,19 @@ +{ + "version": 2, + "testCases": [ + { + "id": "GetThingShadowFailure", + "operationName": "GetThingShadow", + "input": { + "thingName": "fake-thing" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2", + "uri": "https://data-ats.iot.us-west-2.amazonaws.com" + } + } + ] +} \ No newline at end of file diff --git a/apis/iot/2015-05-28/smoke-2.json b/apis/iot/2015-05-28/smoke-2.json new file mode 100644 index 00000000000..f78405616c4 --- /dev/null +++ b/apis/iot/2015-05-28/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListPoliciesSuccess", + "operationName": "ListPolicies", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeThingFailure", + "operationName": "DescribeThing", + "input": { + "thingName": "fake-thing" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/kinesis/2013-12-02/smoke-2.json b/apis/kinesis/2013-12-02/smoke-2.json new file mode 100644 index 00000000000..1d03ae90e03 --- /dev/null +++ b/apis/kinesis/2013-12-02/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListStreamsSuccess", + "operationName": "ListStreams", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeStreamFailure", + "operationName": "DescribeStream", + "input": { + "StreamName": "bogus-stream-name" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/kms/2014-11-01/smoke-2.json b/apis/kms/2014-11-01/smoke-2.json new file mode 100644 index 00000000000..5aa09e7eb5c --- /dev/null +++ b/apis/kms/2014-11-01/smoke-2.json @@ -0,0 +1,30 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListAliasesSuccess", + "operationName": "ListAliases", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "GetKeyPolicyFailure", + "operationName": "GetKeyPolicy", + "input": { + "KeyId": "12345678-1234-1234-1234-123456789012", + "PolicyName": "fakePolicy" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/lambda/2015-03-31/smoke-2.json b/apis/lambda/2015-03-31/smoke-2.json new file mode 100644 index 00000000000..ce96d11731f --- /dev/null +++ b/apis/lambda/2015-03-31/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListFunctionsSuccess", + "operationName": "ListFunctions", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "InvokeFailure", + "operationName": "Invoke", + "input": { + "FunctionName": "bogus-function" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/lightsail/2016-11-28/smoke-2.json b/apis/lightsail/2016-11-28/smoke-2.json new file mode 100644 index 00000000000..912bfc061d1 --- /dev/null +++ b/apis/lightsail/2016-11-28/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "GetActiveNamesSuccess", + "operationName": "GetActiveNames", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/logs/2014-03-28/smoke-2.json b/apis/logs/2014-03-28/smoke-2.json new file mode 100644 index 00000000000..666c340fce3 --- /dev/null +++ b/apis/logs/2014-03-28/smoke-2.json @@ -0,0 +1,30 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeLogGroupsSuccess", + "operationName": "DescribeLogGroups", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "GetLogEventsFailure", + "operationName": "GetLogEvents", + "input": { + "logGroupName": "fakegroup", + "logStreamName": "fakestream" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/marketplacecommerceanalytics/2015-07-01/smoke-2.json b/apis/marketplacecommerceanalytics/2015-07-01/smoke-2.json new file mode 100644 index 00000000000..ffd5cb906e2 --- /dev/null +++ b/apis/marketplacecommerceanalytics/2015-07-01/smoke-2.json @@ -0,0 +1,22 @@ +{ + "version": 2, + "testCases": [ + { + "id": "GenerateDataSetFailure", + "operationName": "GenerateDataSet", + "input": { + "dataSetType": "fake-type", + "dataSetPublicationDate": 0, + "roleNameArn": "fake-arn", + "destinationS3BucketName": "fake-bucket", + "snsTopicArn": "fake-arn" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-east-1" + } + } + ] +} diff --git a/apis/monitoring/2010-08-01/smoke-2.json b/apis/monitoring/2010-08-01/smoke-2.json new file mode 100644 index 00000000000..fd6e17ba1d2 --- /dev/null +++ b/apis/monitoring/2010-08-01/smoke-2.json @@ -0,0 +1,33 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListMetricsSuccess", + "operationName": "ListMetrics", + "input": { + "Namespace": "AWS\/EC2" + }, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "SetAlarmStateFailure", + "operationName": "SetAlarmState", + "input": { + "AlarmName": "abc", + "StateValue": "mno", + "StateReason": "xyz" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/mturk-requester/2017-01-17/smoke-2.json b/apis/mturk-requester/2017-01-17/smoke-2.json new file mode 100644 index 00000000000..3726bfdbde1 --- /dev/null +++ b/apis/mturk-requester/2017-01-17/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "GetAccountBalanceSuccess", + "operationName": "GetAccountBalance", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-east-1" + } + } + ] +} diff --git a/apis/neptune/2014-10-31/smoke-2.json b/apis/neptune/2014-10-31/smoke-2.json new file mode 100644 index 00000000000..bb5ae76e79d --- /dev/null +++ b/apis/neptune/2014-10-31/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeDBEngineVersionsSuccess", + "operationName": "DescribeDBEngineVersions", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeDBInstancesFailure", + "operationName": "DescribeDBInstances", + "input": { + "DBInstanceIdentifier": "fake-id" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/opensearch/2021-01-01/smoke-2.json b/apis/opensearch/2021-01-01/smoke-2.json new file mode 100644 index 00000000000..9fc2feffe56 --- /dev/null +++ b/apis/opensearch/2021-01-01/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListDomainNamesSuccess", + "operationName": "ListDomainNames", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeDomainFailure", + "operationName": "DescribeDomain", + "input": { + "DomainName": "not-a-domain" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/opsworks/2013-02-18/smoke-2.json b/apis/opsworks/2013-02-18/smoke-2.json new file mode 100644 index 00000000000..a3a0159e422 --- /dev/null +++ b/apis/opsworks/2013-02-18/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeStacksSuccess", + "operationName": "DescribeStacks", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeLayersFailure", + "operationName": "DescribeLayers", + "input": { + "StackId": "fake_stack" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/polly/2016-06-10/smoke-2.json b/apis/polly/2016-06-10/smoke-2.json new file mode 100644 index 00000000000..4e081736510 --- /dev/null +++ b/apis/polly/2016-06-10/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeVoicesSuccess", + "operationName": "DescribeVoices", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/redshift/2012-12-01/smoke-2.json b/apis/redshift/2012-12-01/smoke-2.json new file mode 100644 index 00000000000..226f70e453f --- /dev/null +++ b/apis/redshift/2012-12-01/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeClusterVersionsSuccess", + "operationName": "DescribeClusterVersions", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeClustersFailure", + "operationName": "DescribeClusters", + "input": { + "ClusterIdentifier": "fake-cluster" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/rekognition/2016-06-27/smoke-2.json b/apis/rekognition/2016-06-27/smoke-2.json new file mode 100644 index 00000000000..de75dadfd71 --- /dev/null +++ b/apis/rekognition/2016-06-27/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListCollectionsSuccess", + "operationName": "ListCollections", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/route53/2013-04-01/smoke-2.json b/apis/route53/2013-04-01/smoke-2.json new file mode 100644 index 00000000000..cc799005202 --- /dev/null +++ b/apis/route53/2013-04-01/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListHostedZonesSuccess", + "operationName": "ListHostedZones", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-east-1" + } + }, + { + "id": "GetHostedZoneFailure", + "operationName": "GetHostedZone", + "input": { + "Id": "fake-zone" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-east-1" + } + } + ] +} diff --git a/apis/route53domains/2014-05-15/smoke-2.json b/apis/route53domains/2014-05-15/smoke-2.json new file mode 100644 index 00000000000..03e1a9b3c56 --- /dev/null +++ b/apis/route53domains/2014-05-15/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListDomainsSuccess", + "operationName": "ListDomains", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-east-1" + } + }, + { + "id": "GetDomainDetailFailure", + "operationName": "GetDomainDetail", + "input": { + "DomainName": "fake-domain-name" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-east-1" + } + } + ] +} diff --git a/apis/route53resolver/2018-04-01/smoke-2.json b/apis/route53resolver/2018-04-01/smoke-2.json new file mode 100644 index 00000000000..247ee5fda91 --- /dev/null +++ b/apis/route53resolver/2018-04-01/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListResolverEndpointsSuccess", + "operationName": "ListResolverEndpoints", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "GetResolverRuleFailure", + "operationName": "GetResolverRule", + "input": { + "ResolverRuleId": "fake-id" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/s3/2006-03-01/smoke-2.json b/apis/s3/2006-03-01/smoke-2.json new file mode 100644 index 00000000000..abba6965e99 --- /dev/null +++ b/apis/s3/2006-03-01/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListBucketsSuccess", + "operationName": "ListBuckets", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/secretsmanager/2017-10-17/smoke-2.json b/apis/secretsmanager/2017-10-17/smoke-2.json new file mode 100644 index 00000000000..d1d6d4ffd9e --- /dev/null +++ b/apis/secretsmanager/2017-10-17/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListSecretsSuccess", + "operationName": "ListSecrets", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeSecretFailure", + "operationName": "DescribeSecret", + "input": { + "SecretId": "fake-secret-id" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/servicecatalog/2015-12-10/smoke-2.json b/apis/servicecatalog/2015-12-10/smoke-2.json new file mode 100644 index 00000000000..6c9e8d1d616 --- /dev/null +++ b/apis/servicecatalog/2015-12-10/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListAcceptedPortfolioSharesSuccess", + "operationName": "ListAcceptedPortfolioShares", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/shield/2016-06-02/smoke-2.json b/apis/shield/2016-06-02/smoke-2.json new file mode 100644 index 00000000000..701e8e3a042 --- /dev/null +++ b/apis/shield/2016-06-02/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListAttacksSuccess", + "operationName": "ListAttacks", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-east-1" + } + } + ] +} diff --git a/apis/snowball/2016-06-30/smoke-2.json b/apis/snowball/2016-06-30/smoke-2.json new file mode 100644 index 00000000000..3185c31844e --- /dev/null +++ b/apis/snowball/2016-06-30/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeAddressesSuccess", + "operationName": "DescribeAddresses", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/sns/2010-03-31/smoke-2.json b/apis/sns/2010-03-31/smoke-2.json new file mode 100644 index 00000000000..8123bd93fb3 --- /dev/null +++ b/apis/sns/2010-03-31/smoke-2.json @@ -0,0 +1,30 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListTopicsSuccess", + "operationName": "ListTopics", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "PublishFailure", + "operationName": "Publish", + "input": { + "Message": "hello", + "TopicArn": "fake_topic" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/sqs/2012-11-05/smoke-2.json b/apis/sqs/2012-11-05/smoke-2.json new file mode 100644 index 00000000000..0fd734061d7 --- /dev/null +++ b/apis/sqs/2012-11-05/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListQueuesSuccess", + "operationName": "ListQueues", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "GetQueueUrlFailure", + "operationName": "GetQueueUrl", + "input": { + "QueueName": "fake_queue" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/ssm/2014-11-06/smoke-2.json b/apis/ssm/2014-11-06/smoke-2.json new file mode 100644 index 00000000000..c04e7204665 --- /dev/null +++ b/apis/ssm/2014-11-06/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListDocumentsSuccess", + "operationName": "ListDocuments", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "GetDocumentFailure", + "operationName": "GetDocument", + "input": { + "Name": "'fake-name'" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/states/2016-11-23/smoke-2.json b/apis/states/2016-11-23/smoke-2.json new file mode 100644 index 00000000000..c8060da11dd --- /dev/null +++ b/apis/states/2016-11-23/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListActivitiesSuccess", + "operationName": "ListActivities", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/sts/2011-06-15/smoke-2.json b/apis/sts/2011-06-15/smoke-2.json new file mode 100644 index 00000000000..e1fd1294c0a --- /dev/null +++ b/apis/sts/2011-06-15/smoke-2.json @@ -0,0 +1,30 @@ +{ + "version": 2, + "testCases": [ + { + "id": "GetSessionTokenSuccess", + "operationName": "GetSessionToken", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "GetFederationTokenFailure", + "operationName": "GetFederationToken", + "input": { + "Name": "temp", + "Policy": "{\\\"temp\\\":true}" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/support/2013-04-15/smoke-2.json b/apis/support/2013-04-15/smoke-2.json new file mode 100644 index 00000000000..4227b1dfc1b --- /dev/null +++ b/apis/support/2013-04-15/smoke-2.json @@ -0,0 +1,33 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeServicesSuccess", + "operationName": "DescribeServices", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-east-1" + } + }, + { + "id": "CreateCaseFailure", + "operationName": "CreateCase", + "input": { + "subject": "subject", + "communicationBody": "communication", + "categoryCode": "category", + "serviceCode": "amazon-dynamodb", + "severityCode": "low" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-east-1" + } + } + ] +} diff --git a/apis/swf/2012-01-25/smoke-2.json b/apis/swf/2012-01-25/smoke-2.json new file mode 100644 index 00000000000..fcb5178b46e --- /dev/null +++ b/apis/swf/2012-01-25/smoke-2.json @@ -0,0 +1,31 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListDomainsSuccess", + "operationName": "ListDomains", + "input": { + "registrationStatus": "REGISTERED" + }, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeDomainFailure", + "operationName": "DescribeDomain", + "input": { + "name": "fake_domain" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/waf-regional/2016-11-28/smoke-2.json b/apis/waf-regional/2016-11-28/smoke-2.json new file mode 100644 index 00000000000..584990fd6b7 --- /dev/null +++ b/apis/waf-regional/2016-11-28/smoke-2.json @@ -0,0 +1,32 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListRulesSuccess", + "operationName": "ListRules", + "input": { + "Limit": 20 + }, + "expectation": { + "success": {} + }, + "config": { + "region": "us-east-1" + } + }, + { + "id": "CreateSqlInjectionMatchSetFailure", + "operationName": "CreateSqlInjectionMatchSet", + "input": { + "Name": "fake_name", + "ChangeToken": "fake_token" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-east-1" + } + } + ] +} diff --git a/apis/waf/2015-08-24/smoke-2.json b/apis/waf/2015-08-24/smoke-2.json new file mode 100644 index 00000000000..584990fd6b7 --- /dev/null +++ b/apis/waf/2015-08-24/smoke-2.json @@ -0,0 +1,32 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListRulesSuccess", + "operationName": "ListRules", + "input": { + "Limit": 20 + }, + "expectation": { + "success": {} + }, + "config": { + "region": "us-east-1" + } + }, + { + "id": "CreateSqlInjectionMatchSetFailure", + "operationName": "CreateSqlInjectionMatchSet", + "input": { + "Name": "fake_name", + "ChangeToken": "fake_token" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-east-1" + } + } + ] +} diff --git a/apis/wafv2/2019-07-29/smoke-2.json b/apis/wafv2/2019-07-29/smoke-2.json new file mode 100644 index 00000000000..eb60b63b5f8 --- /dev/null +++ b/apis/wafv2/2019-07-29/smoke-2.json @@ -0,0 +1,36 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListWebACLsSuccess", + "operationName": "ListWebACLs", + "input": { + "Scope": "REGIONAL", + "Limit": 20 + }, + "expectation": { + "success": {} + }, + "config": { + "region": "us-east-1" + } + }, + { + "id": "CreateRegexPatternSetFailure", + "operationName": "CreateRegexPatternSet", + "input": { + "Name": "fake_name", + "Scope": "fake_scope", + "RegularExpressionList": [ + { "RegexString": "fake_regex" } + ] + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-east-1" + } + } + ] +} diff --git a/apis/workspaces/2015-04-08/smoke-2.json b/apis/workspaces/2015-04-08/smoke-2.json new file mode 100644 index 00000000000..d1c215e5539 --- /dev/null +++ b/apis/workspaces/2015-04-08/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeWorkspacesSuccess", + "operationName": "DescribeWorkspaces", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeWorkspacesFailure", + "operationName": "DescribeWorkspaces", + "input": { + "DirectoryId": "fake-id" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/features/smoke.rb b/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/features/smoke.rb index 307d2733e22..0b042e7bfb7 100644 --- a/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/features/smoke.rb +++ b/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/features/smoke.rb @@ -47,17 +47,13 @@ def initialize(options) tags = options.fetch(:tags) || [] tags = tags.map { |t| "@#{t}" }.join(' ') - @tags = "@smoke @#{@service.identifier} #{tags}".chomp + @tags = "@#{@service.identifier} @smoke #{tags}".strip end attr_reader :id, :operation_name, :expectation, :tags - # TODO: this only assumes top level? but may be nested def param_hash - @input.each_with_object({}) do |(raw_key, value), acc| - key = underscore(raw_key) - acc[key] = value - end.to_json + deep_underscore(@input).to_json end def config_hash @@ -69,6 +65,19 @@ def config_hash private + def deep_underscore(input) + case input + when Hash + input.each_with_object({}) do |(key, value), acc| + acc[underscore(key)] = deep_underscore(value) + end + when Array + input.map { |value| deep_underscore(value) } + else + input + end + end + def config_map(raw_key, raw_value) case raw_key # generic diff --git a/gems/aws-sdk-acm/features/smoke.feature b/gems/aws-sdk-acm/features/smoke.feature index 8c00e00a7a1..3abf7d03d2e 100644 --- a/gems/aws-sdk-acm/features/smoke.feature +++ b/gems/aws-sdk-acm/features/smoke.feature @@ -7,7 +7,7 @@ Feature: Smoke tests for ACM - @smoke @acm + @acm @smoke Scenario: ListCertificatesSuccess Given I create a 'Aws::ACM' client with config: """ @@ -19,7 +19,7 @@ Feature: Smoke tests for ACM """ Then I expect an error was not raised - @smoke @acm + @acm @smoke Scenario: GetCertificateFailure Given I create a 'Aws::ACM' client with config: """ diff --git a/gems/aws-sdk-amplifyuibuilder/features/smoke_step_definitions.rb b/gems/aws-sdk-amplifyuibuilder/features/smoke_step_definitions.rb deleted file mode 100644 index e6ce465ca5f..00000000000 --- a/gems/aws-sdk-amplifyuibuilder/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::AmplifyUIBuilder::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::AmplifyUIBuilder::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-apigateway/features/smoke.feature b/gems/aws-sdk-apigateway/features/smoke.feature index 59f25a00b83..6e3b98a85e0 100644 --- a/gems/aws-sdk-apigateway/features/smoke.feature +++ b/gems/aws-sdk-apigateway/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for APIGateway -Background: - Given I create a client in region 'us-west-2' - @apigateway @smoke - Scenario: Call Aws::APIGateway::Client#get_domain_names and expect it to succeed - When I call the operation 'get_domain_names' with params: - """ + Scenario: GetDomainNamesSuccess + Given I create a 'Aws::APIGateway' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'get_domain_names' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @apigateway @smoke - Scenario: Call Aws::Aws::APIGateway::Client#create_usage_plan_key and expect it to fail - When I call the operation 'create_usage_plan_key' with params: - """ + Scenario: CreateUsagePlanKeyFailure + Given I create a 'Aws::APIGateway' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'create_usage_plan_key' with params: + """ {"usage_plan_id":"foo","key_id":"bar","key_type":"fixx"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-apigateway/features/smoke_step_definitions.rb b/gems/aws-sdk-apigateway/features/smoke_step_definitions.rb deleted file mode 100644 index acfacdc772e..00000000000 --- a/gems/aws-sdk-apigateway/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::APIGateway::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::APIGateway::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-appfabric/features/smoke_step_definitions.rb b/gems/aws-sdk-appfabric/features/smoke_step_definitions.rb deleted file mode 100644 index 8de7b11b39c..00000000000 --- a/gems/aws-sdk-appfabric/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::AppFabric::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::AppFabric::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-applicationautoscaling/features/smoke.feature b/gems/aws-sdk-applicationautoscaling/features/smoke.feature index 13e70354571..9518ca9eb60 100644 --- a/gems/aws-sdk-applicationautoscaling/features/smoke.feature +++ b/gems/aws-sdk-applicationautoscaling/features/smoke.feature @@ -7,13 +7,14 @@ Feature: Smoke tests for ApplicationAutoScaling -Background: - Given I create a client in region 'us-west-2' - @applicationautoscaling @smoke - Scenario: Call Aws::ApplicationAutoScaling::Client#describe_scalable_targets and expect it to succeed - When I call the operation 'describe_scalable_targets' with params: - """ + Scenario: DescribeScalableTargetsSuccess + Given I create a 'Aws::ApplicationAutoScaling' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_scalable_targets' with params: + """ {"service_namespace":"ec2"} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-applicationautoscaling/features/smoke_step_definitions.rb b/gems/aws-sdk-applicationautoscaling/features/smoke_step_definitions.rb deleted file mode 100644 index 9216954250c..00000000000 --- a/gems/aws-sdk-applicationautoscaling/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::ApplicationAutoScaling::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::ApplicationAutoScaling::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-applicationdiscoveryservice/features/smoke.feature b/gems/aws-sdk-applicationdiscoveryservice/features/smoke.feature index 5126da44357..00b604eca5a 100644 --- a/gems/aws-sdk-applicationdiscoveryservice/features/smoke.feature +++ b/gems/aws-sdk-applicationdiscoveryservice/features/smoke.feature @@ -7,13 +7,14 @@ Feature: Smoke tests for ApplicationDiscoveryService -Background: - Given I create a client in region 'us-west-2' - @applicationdiscoveryservice @smoke - Scenario: Call Aws::ApplicationDiscoveryService::Client#describe_agents and expect it to succeed - When I call the operation 'describe_agents' with params: - """ + Scenario: DescribeAgentsSuccess + Given I create a 'Aws::ApplicationDiscoveryService' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_agents' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-applicationdiscoveryservice/features/smoke_step_definitions.rb b/gems/aws-sdk-applicationdiscoveryservice/features/smoke_step_definitions.rb deleted file mode 100644 index c8b64bf3428..00000000000 --- a/gems/aws-sdk-applicationdiscoveryservice/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::ApplicationDiscoveryService::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::ApplicationDiscoveryService::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-appstream/features/smoke.feature b/gems/aws-sdk-appstream/features/smoke.feature index 1b4f49fe1ea..d498bc95738 100644 --- a/gems/aws-sdk-appstream/features/smoke.feature +++ b/gems/aws-sdk-appstream/features/smoke.feature @@ -7,13 +7,14 @@ Feature: Smoke tests for AppStream -Background: - Given I create a client in region 'us-west-2' - @appstream @smoke - Scenario: Call Aws::AppStream::Client#describe_stacks and expect it to succeed - When I call the operation 'describe_stacks' with params: - """ + Scenario: DescribeStacksSuccess + Given I create a 'Aws::AppStream' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_stacks' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-appstream/features/smoke_step_definitions.rb b/gems/aws-sdk-appstream/features/smoke_step_definitions.rb deleted file mode 100644 index 453703b22b9..00000000000 --- a/gems/aws-sdk-appstream/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::AppStream::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::AppStream::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-athena/features/smoke.feature b/gems/aws-sdk-athena/features/smoke.feature index 6528ff17842..0681ca5d66f 100644 --- a/gems/aws-sdk-athena/features/smoke.feature +++ b/gems/aws-sdk-athena/features/smoke.feature @@ -7,13 +7,14 @@ Feature: Smoke tests for Athena -Background: - Given I create a client in region 'us-west-2' - @athena @smoke - Scenario: Call Aws::Athena::Client#list_named_queries and expect it to succeed - When I call the operation 'list_named_queries' with params: - """ + Scenario: ListNamedQueriesSuccess + Given I create a 'Aws::Athena' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_named_queries' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-athena/features/smoke_step_definitions.rb b/gems/aws-sdk-athena/features/smoke_step_definitions.rb deleted file mode 100644 index 60cc270271f..00000000000 --- a/gems/aws-sdk-athena/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Athena::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Athena::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-autoscaling/features/smoke.feature b/gems/aws-sdk-autoscaling/features/smoke.feature index 95d5db985a5..58987b9dcbf 100644 --- a/gems/aws-sdk-autoscaling/features/smoke.feature +++ b/gems/aws-sdk-autoscaling/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for AutoScaling -Background: - Given I create a client in region 'us-west-2' - @autoscaling @smoke - Scenario: Call Aws::AutoScaling::Client#describe_scaling_process_types and expect it to succeed - When I call the operation 'describe_scaling_process_types' with params: - """ + Scenario: DescribeScalingProcessTypesSuccess + Given I create a 'Aws::AutoScaling' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_scaling_process_types' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @autoscaling @smoke - Scenario: Call Aws::Aws::AutoScaling::Client#create_launch_configuration and expect it to fail - When I call the operation 'create_launch_configuration' with params: - """ + Scenario: CreateLaunchConfigurationFailure + Given I create a 'Aws::AutoScaling' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'create_launch_configuration' with params: + """ {"launch_configuration_name":"hello, world","image_id":"ami-12345678","instance_type":"m1.small"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-autoscaling/features/smoke_step_definitions.rb b/gems/aws-sdk-autoscaling/features/smoke_step_definitions.rb deleted file mode 100644 index cac70765861..00000000000 --- a/gems/aws-sdk-autoscaling/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::AutoScaling::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::AutoScaling::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-batch/features/smoke.feature b/gems/aws-sdk-batch/features/smoke.feature index 625468ab8a2..b3b0b24e53f 100644 --- a/gems/aws-sdk-batch/features/smoke.feature +++ b/gems/aws-sdk-batch/features/smoke.feature @@ -7,13 +7,14 @@ Feature: Smoke tests for Batch -Background: - Given I create a client in region 'us-west-2' - @batch @smoke - Scenario: Call Aws::Batch::Client#describe_compute_environments and expect it to succeed - When I call the operation 'describe_compute_environments' with params: - """ + Scenario: DescribeComputeEnvironmentsSuccess + Given I create a 'Aws::Batch' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_compute_environments' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-batch/features/smoke_step_definitions.rb b/gems/aws-sdk-batch/features/smoke_step_definitions.rb deleted file mode 100644 index 1b4860c6aee..00000000000 --- a/gems/aws-sdk-batch/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Batch::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Batch::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-bedrock/features/smoke_step_definitions.rb b/gems/aws-sdk-bedrock/features/smoke_step_definitions.rb deleted file mode 100644 index bd7984583d6..00000000000 --- a/gems/aws-sdk-bedrock/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Bedrock::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Bedrock::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-billingconductor/features/smoke_step_definitions.rb b/gems/aws-sdk-billingconductor/features/smoke_step_definitions.rb deleted file mode 100644 index f6c351aeb70..00000000000 --- a/gems/aws-sdk-billingconductor/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::BillingConductor::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::BillingConductor::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-cleanrooms/features/smoke_step_definitions.rb b/gems/aws-sdk-cleanrooms/features/smoke_step_definitions.rb deleted file mode 100644 index 1179701b66c..00000000000 --- a/gems/aws-sdk-cleanrooms/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::CleanRooms::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::CleanRooms::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-cloudcontrolapi/features/smoke_step_definitions.rb b/gems/aws-sdk-cloudcontrolapi/features/smoke_step_definitions.rb deleted file mode 100644 index 7dcba6e0876..00000000000 --- a/gems/aws-sdk-cloudcontrolapi/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::CloudControlApi::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::CloudControlApi::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-cloudformation/features/smoke.feature b/gems/aws-sdk-cloudformation/features/smoke.feature index 214e5e992b6..b8bdc655bf1 100644 --- a/gems/aws-sdk-cloudformation/features/smoke.feature +++ b/gems/aws-sdk-cloudformation/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for CloudFormation -Background: - Given I create a client in region 'us-west-2' - @cloudformation @smoke - Scenario: Call Aws::CloudFormation::Client#list_stacks and expect it to succeed - When I call the operation 'list_stacks' with params: - """ + Scenario: ListStacksSuccess + Given I create a 'Aws::CloudFormation' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_stacks' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @cloudformation @smoke - Scenario: Call Aws::Aws::CloudFormation::Client#create_stack and expect it to fail - When I call the operation 'create_stack' with params: - """ + Scenario: CreateStackFailure + Given I create a 'Aws::CloudFormation' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'create_stack' with params: + """ {"stack_name":"fakestack","template_url":"http://s3.amazonaws.com/foo/bar"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-cloudformation/features/smoke_step_definitions.rb b/gems/aws-sdk-cloudformation/features/smoke_step_definitions.rb deleted file mode 100644 index eaa144fc138..00000000000 --- a/gems/aws-sdk-cloudformation/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::CloudFormation::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::CloudFormation::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-cloudfront/features/smoke_step_definitions.rb b/gems/aws-sdk-cloudfront/features/smoke_step_definitions.rb deleted file mode 100644 index 130181c555f..00000000000 --- a/gems/aws-sdk-cloudfront/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::CloudFront::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::CloudFront::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-cloudhsmv2/features/smoke.feature b/gems/aws-sdk-cloudhsmv2/features/smoke.feature index ecc23969caa..222543f3ee0 100644 --- a/gems/aws-sdk-cloudhsmv2/features/smoke.feature +++ b/gems/aws-sdk-cloudhsmv2/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for CloudHSMV2 -Background: - Given I create a client in region 'us-west-2' - @cloudhsmv2 @smoke - Scenario: Call Aws::CloudHSMV2::Client#describe_clusters and expect it to succeed - When I call the operation 'describe_clusters' with params: - """ + Scenario: DescribeClustersSuccess + Given I create a 'Aws::CloudHSMV2' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_clusters' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @cloudhsmv2 @smoke - Scenario: Call Aws::Aws::CloudHSMV2::Client#list_tags and expect it to fail - When I call the operation 'list_tags' with params: - """ + Scenario: ListTagsFailure + Given I create a 'Aws::CloudHSMV2' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_tags' with params: + """ {"resource_id":"bogus-arn"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-cloudhsmv2/features/smoke_step_definitions.rb b/gems/aws-sdk-cloudhsmv2/features/smoke_step_definitions.rb deleted file mode 100644 index f848ad2f614..00000000000 --- a/gems/aws-sdk-cloudhsmv2/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::CloudHSMV2::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::CloudHSMV2::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-cloudsearch/features/smoke.feature b/gems/aws-sdk-cloudsearch/features/smoke.feature index e7d572d0dae..aa1b8a32ea2 100644 --- a/gems/aws-sdk-cloudsearch/features/smoke.feature +++ b/gems/aws-sdk-cloudsearch/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for CloudSearch -Background: - Given I create a client in region 'us-west-2' - @cloudsearch @smoke - Scenario: Call Aws::CloudSearch::Client#describe_domains and expect it to succeed - When I call the operation 'describe_domains' with params: - """ + Scenario: DescribeDomainsSuccess + Given I create a 'Aws::CloudSearch' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_domains' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @cloudsearch @smoke - Scenario: Call Aws::Aws::CloudSearch::Client#describe_index_fields and expect it to fail - When I call the operation 'describe_index_fields' with params: - """ + Scenario: DescribeIndexFieldsFailure + Given I create a 'Aws::CloudSearch' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_index_fields' with params: + """ {"domain_name":"fakedomain"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-cloudsearch/features/smoke_step_definitions.rb b/gems/aws-sdk-cloudsearch/features/smoke_step_definitions.rb deleted file mode 100644 index aa1a184f911..00000000000 --- a/gems/aws-sdk-cloudsearch/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::CloudSearch::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::CloudSearch::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-cloudtrail/features/smoke.feature b/gems/aws-sdk-cloudtrail/features/smoke.feature index 742befce4a9..e819f0e3e0c 100644 --- a/gems/aws-sdk-cloudtrail/features/smoke.feature +++ b/gems/aws-sdk-cloudtrail/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for CloudTrail -Background: - Given I create a client in region 'us-west-2' - @cloudtrail @smoke - Scenario: Call Aws::CloudTrail::Client#describe_trails and expect it to succeed - When I call the operation 'describe_trails' with params: - """ + Scenario: DescribeTrailsSuccess + Given I create a 'Aws::CloudTrail' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_trails' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @cloudtrail @smoke - Scenario: Call Aws::Aws::CloudTrail::Client#delete_trail and expect it to fail - When I call the operation 'delete_trail' with params: - """ + Scenario: DeleteTrailFailure + Given I create a 'Aws::CloudTrail' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'delete_trail' with params: + """ {"name":"faketrail"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-cloudtrail/features/smoke_step_definitions.rb b/gems/aws-sdk-cloudtrail/features/smoke_step_definitions.rb deleted file mode 100644 index 0b95029fdb0..00000000000 --- a/gems/aws-sdk-cloudtrail/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::CloudTrail::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::CloudTrail::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-cloudwatch/features/smoke.feature b/gems/aws-sdk-cloudwatch/features/smoke.feature index 405bca437a1..a1a58009bd4 100644 --- a/gems/aws-sdk-cloudwatch/features/smoke.feature +++ b/gems/aws-sdk-cloudwatch/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for CloudWatch -Background: - Given I create a client in region 'us-west-2' - @cloudwatch @smoke - Scenario: Call Aws::CloudWatch::Client#list_metrics and expect it to succeed - When I call the operation 'list_metrics' with params: - """ + Scenario: ListMetricsSuccess + Given I create a 'Aws::CloudWatch' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_metrics' with params: + """ {"namespace":"AWS/EC2"} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @cloudwatch @smoke - Scenario: Call Aws::Aws::CloudWatch::Client#set_alarm_state and expect it to fail - When I call the operation 'set_alarm_state' with params: - """ + Scenario: SetAlarmStateFailure + Given I create a 'Aws::CloudWatch' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'set_alarm_state' with params: + """ {"alarm_name":"abc","state_value":"mno","state_reason":"xyz"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-cloudwatch/features/smoke_step_definitions.rb b/gems/aws-sdk-cloudwatch/features/smoke_step_definitions.rb deleted file mode 100644 index ec0bb6b2b32..00000000000 --- a/gems/aws-sdk-cloudwatch/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::CloudWatch::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::CloudWatch::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-cloudwatchevents/features/smoke.feature b/gems/aws-sdk-cloudwatchevents/features/smoke.feature index 07942ec573b..f335f82680c 100644 --- a/gems/aws-sdk-cloudwatchevents/features/smoke.feature +++ b/gems/aws-sdk-cloudwatchevents/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for CloudWatchEvents -Background: - Given I create a client in region 'us-west-2' - @cloudwatchevents @smoke - Scenario: Call Aws::CloudWatchEvents::Client#list_rules and expect it to succeed - When I call the operation 'list_rules' with params: - """ + Scenario: ListRulesSuccess + Given I create a 'Aws::CloudWatchEvents' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_rules' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @cloudwatchevents @smoke - Scenario: Call Aws::Aws::CloudWatchEvents::Client#describe_rule and expect it to fail - When I call the operation 'describe_rule' with params: - """ + Scenario: DescribeRuleFailure + Given I create a 'Aws::CloudWatchEvents' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_rule' with params: + """ {"name":"fake-rule"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-cloudwatchevents/features/smoke_step_definitions.rb b/gems/aws-sdk-cloudwatchevents/features/smoke_step_definitions.rb deleted file mode 100644 index dc4041df211..00000000000 --- a/gems/aws-sdk-cloudwatchevents/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::CloudWatchEvents::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::CloudWatchEvents::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-cloudwatchlogs/features/smoke.feature b/gems/aws-sdk-cloudwatchlogs/features/smoke.feature index 63dc51320f0..bdac6e970e2 100644 --- a/gems/aws-sdk-cloudwatchlogs/features/smoke.feature +++ b/gems/aws-sdk-cloudwatchlogs/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for CloudWatchLogs -Background: - Given I create a client in region 'us-west-2' - @cloudwatchlogs @smoke - Scenario: Call Aws::CloudWatchLogs::Client#describe_log_groups and expect it to succeed - When I call the operation 'describe_log_groups' with params: - """ + Scenario: DescribeLogGroupsSuccess + Given I create a 'Aws::CloudWatchLogs' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_log_groups' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @cloudwatchlogs @smoke - Scenario: Call Aws::Aws::CloudWatchLogs::Client#get_log_events and expect it to fail - When I call the operation 'get_log_events' with params: - """ + Scenario: GetLogEventsFailure + Given I create a 'Aws::CloudWatchLogs' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'get_log_events' with params: + """ {"log_group_name":"fakegroup","log_stream_name":"fakestream"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-cloudwatchlogs/features/smoke_step_definitions.rb b/gems/aws-sdk-cloudwatchlogs/features/smoke_step_definitions.rb deleted file mode 100644 index e6a8551181d..00000000000 --- a/gems/aws-sdk-cloudwatchlogs/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::CloudWatchLogs::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::CloudWatchLogs::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-codebuild/features/smoke.feature b/gems/aws-sdk-codebuild/features/smoke.feature index 3fbee9d85cf..db8f3dd1e37 100644 --- a/gems/aws-sdk-codebuild/features/smoke.feature +++ b/gems/aws-sdk-codebuild/features/smoke.feature @@ -7,13 +7,14 @@ Feature: Smoke tests for CodeBuild -Background: - Given I create a client in region 'us-west-2' - @codebuild @smoke - Scenario: Call Aws::CodeBuild::Client#list_builds and expect it to succeed - When I call the operation 'list_builds' with params: - """ + Scenario: ListBuildsSuccess + Given I create a 'Aws::CodeBuild' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_builds' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-codebuild/features/smoke_step_definitions.rb b/gems/aws-sdk-codebuild/features/smoke_step_definitions.rb deleted file mode 100644 index 61f3953fa29..00000000000 --- a/gems/aws-sdk-codebuild/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::CodeBuild::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::CodeBuild::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-codecatalyst/features/smoke_step_definitions.rb b/gems/aws-sdk-codecatalyst/features/smoke_step_definitions.rb deleted file mode 100644 index e790d35d6dc..00000000000 --- a/gems/aws-sdk-codecatalyst/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::CodeCatalyst::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::CodeCatalyst::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-codecommit/features/smoke.feature b/gems/aws-sdk-codecommit/features/smoke.feature index 551491135a5..177f74411ef 100644 --- a/gems/aws-sdk-codecommit/features/smoke.feature +++ b/gems/aws-sdk-codecommit/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for CodeCommit -Background: - Given I create a client in region 'us-west-2' - @codecommit @smoke - Scenario: Call Aws::CodeCommit::Client#list_repositories and expect it to succeed - When I call the operation 'list_repositories' with params: - """ + Scenario: ListRepositoriesSuccess + Given I create a 'Aws::CodeCommit' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_repositories' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @codecommit @smoke - Scenario: Call Aws::Aws::CodeCommit::Client#list_branches and expect it to fail - When I call the operation 'list_branches' with params: - """ + Scenario: ListBranchesFailure + Given I create a 'Aws::CodeCommit' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_branches' with params: + """ {"repository_name":"fake-repo"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-codecommit/features/smoke_step_definitions.rb b/gems/aws-sdk-codecommit/features/smoke_step_definitions.rb deleted file mode 100644 index 25ad590cec8..00000000000 --- a/gems/aws-sdk-codecommit/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::CodeCommit::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::CodeCommit::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-codedeploy/features/smoke.feature b/gems/aws-sdk-codedeploy/features/smoke.feature index 195bd1f91a1..2312c637e07 100644 --- a/gems/aws-sdk-codedeploy/features/smoke.feature +++ b/gems/aws-sdk-codedeploy/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for CodeDeploy -Background: - Given I create a client in region 'us-west-2' - @codedeploy @smoke - Scenario: Call Aws::CodeDeploy::Client#list_applications and expect it to succeed - When I call the operation 'list_applications' with params: - """ + Scenario: ListApplicationsSuccess + Given I create a 'Aws::CodeDeploy' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_applications' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @codedeploy @smoke - Scenario: Call Aws::Aws::CodeDeploy::Client#get_deployment and expect it to fail - When I call the operation 'get_deployment' with params: - """ + Scenario: GetDeploymentFailure + Given I create a 'Aws::CodeDeploy' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'get_deployment' with params: + """ {"deployment_id":"d-USUAELQEX"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-codedeploy/features/smoke_step_definitions.rb b/gems/aws-sdk-codedeploy/features/smoke_step_definitions.rb deleted file mode 100644 index 145f0b82f70..00000000000 --- a/gems/aws-sdk-codedeploy/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::CodeDeploy::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::CodeDeploy::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-codepipeline/features/smoke.feature b/gems/aws-sdk-codepipeline/features/smoke.feature index e58cd9ddd85..dc65f0246ab 100644 --- a/gems/aws-sdk-codepipeline/features/smoke.feature +++ b/gems/aws-sdk-codepipeline/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for CodePipeline -Background: - Given I create a client in region 'us-west-2' - @codepipeline @smoke - Scenario: Call Aws::CodePipeline::Client#list_pipelines and expect it to succeed - When I call the operation 'list_pipelines' with params: - """ + Scenario: ListPipelinesSuccess + Given I create a 'Aws::CodePipeline' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_pipelines' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @codepipeline @smoke - Scenario: Call Aws::Aws::CodePipeline::Client#get_pipeline and expect it to fail - When I call the operation 'get_pipeline' with params: - """ + Scenario: GetPipelineFailure + Given I create a 'Aws::CodePipeline' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'get_pipeline' with params: + """ {"name":"fake-pipeline"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-codepipeline/features/smoke_step_definitions.rb b/gems/aws-sdk-codepipeline/features/smoke_step_definitions.rb deleted file mode 100644 index 99e6c285717..00000000000 --- a/gems/aws-sdk-codepipeline/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::CodePipeline::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::CodePipeline::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-codestar/features/smoke.feature b/gems/aws-sdk-codestar/features/smoke.feature index fb250eb5349..f01112a7950 100644 --- a/gems/aws-sdk-codestar/features/smoke.feature +++ b/gems/aws-sdk-codestar/features/smoke.feature @@ -7,13 +7,14 @@ Feature: Smoke tests for CodeStar -Background: - Given I create a client in region 'us-west-2' - @codestar @smoke - Scenario: Call Aws::CodeStar::Client#list_projects and expect it to succeed - When I call the operation 'list_projects' with params: - """ + Scenario: ListProjectsSuccess + Given I create a 'Aws::CodeStar' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_projects' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-codestar/features/smoke_step_definitions.rb b/gems/aws-sdk-codestar/features/smoke_step_definitions.rb deleted file mode 100644 index dbf2f626a25..00000000000 --- a/gems/aws-sdk-codestar/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::CodeStar::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::CodeStar::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-cognitoidentity/features/smoke.feature b/gems/aws-sdk-cognitoidentity/features/smoke.feature index be88903f0f7..24282325e83 100644 --- a/gems/aws-sdk-cognitoidentity/features/smoke.feature +++ b/gems/aws-sdk-cognitoidentity/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for CognitoIdentity -Background: - Given I create a client in region 'us-west-2' - @cognitoidentity @smoke - Scenario: Call Aws::CognitoIdentity::Client#list_identity_pools and expect it to succeed - When I call the operation 'list_identity_pools' with params: - """ + Scenario: ListIdentityPoolsSuccess + Given I create a 'Aws::CognitoIdentity' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_identity_pools' with params: + """ {"max_results":10} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @cognitoidentity @smoke - Scenario: Call Aws::Aws::CognitoIdentity::Client#describe_identity_pool and expect it to fail - When I call the operation 'describe_identity_pool' with params: - """ + Scenario: DescribeIdentityPoolFailure + Given I create a 'Aws::CognitoIdentity' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_identity_pool' with params: + """ {"identity_pool_id":"us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-cognitoidentity/features/smoke_step_definitions.rb b/gems/aws-sdk-cognitoidentity/features/smoke_step_definitions.rb deleted file mode 100644 index 9512102793d..00000000000 --- a/gems/aws-sdk-cognitoidentity/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::CognitoIdentity::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::CognitoIdentity::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-cognitoidentityprovider/features/smoke.feature b/gems/aws-sdk-cognitoidentityprovider/features/smoke.feature index 7ba1ad6ba85..47c998fcd69 100644 --- a/gems/aws-sdk-cognitoidentityprovider/features/smoke.feature +++ b/gems/aws-sdk-cognitoidentityprovider/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for CognitoIdentityProvider -Background: - Given I create a client in region 'us-west-2' - @cognitoidentityprovider @smoke - Scenario: Call Aws::CognitoIdentityProvider::Client#list_user_pools and expect it to succeed - When I call the operation 'list_user_pools' with params: - """ + Scenario: ListUserPoolsSuccess + Given I create a 'Aws::CognitoIdentityProvider' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_user_pools' with params: + """ {"max_results":10} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @cognitoidentityprovider @smoke - Scenario: Call Aws::Aws::CognitoIdentityProvider::Client#describe_user_pool and expect it to fail - When I call the operation 'describe_user_pool' with params: - """ + Scenario: DescribeUserPoolFailure + Given I create a 'Aws::CognitoIdentityProvider' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_user_pool' with params: + """ {"user_pool_id":"us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-cognitoidentityprovider/features/smoke_step_definitions.rb b/gems/aws-sdk-cognitoidentityprovider/features/smoke_step_definitions.rb deleted file mode 100644 index 15b0c54659e..00000000000 --- a/gems/aws-sdk-cognitoidentityprovider/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::CognitoIdentityProvider::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::CognitoIdentityProvider::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-cognitosync/features/smoke.feature b/gems/aws-sdk-cognitosync/features/smoke.feature index 0a377408c6e..c54bb391fba 100644 --- a/gems/aws-sdk-cognitosync/features/smoke.feature +++ b/gems/aws-sdk-cognitosync/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for CognitoSync -Background: - Given I create a client in region 'us-west-2' - @cognitosync @smoke - Scenario: Call Aws::CognitoSync::Client#list_identity_pool_usage and expect it to succeed - When I call the operation 'list_identity_pool_usage' with params: - """ + Scenario: ListIdentityPoolUsageSuccess + Given I create a 'Aws::CognitoSync' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_identity_pool_usage' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @cognitosync @smoke - Scenario: Call Aws::Aws::CognitoSync::Client#describe_identity_pool_usage and expect it to fail - When I call the operation 'describe_identity_pool_usage' with params: - """ + Scenario: DescribeIdentityPoolUsageFailure + Given I create a 'Aws::CognitoSync' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_identity_pool_usage' with params: + """ {"identity_pool_id":"us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-cognitosync/features/smoke_step_definitions.rb b/gems/aws-sdk-cognitosync/features/smoke_step_definitions.rb deleted file mode 100644 index 123802fa5ab..00000000000 --- a/gems/aws-sdk-cognitosync/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::CognitoSync::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::CognitoSync::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-configservice/features/smoke.feature b/gems/aws-sdk-configservice/features/smoke.feature index dfdcb7a27c9..db448072244 100644 --- a/gems/aws-sdk-configservice/features/smoke.feature +++ b/gems/aws-sdk-configservice/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for ConfigService -Background: - Given I create a client in region 'us-west-2' - @configservice @smoke - Scenario: Call Aws::ConfigService::Client#describe_configuration_recorders and expect it to succeed - When I call the operation 'describe_configuration_recorders' with params: - """ + Scenario: DescribeConfigurationRecordersSuccess + Given I create a 'Aws::ConfigService' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_configuration_recorders' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @configservice @smoke - Scenario: Call Aws::Aws::ConfigService::Client#get_resource_config_history and expect it to fail - When I call the operation 'get_resource_config_history' with params: - """ + Scenario: GetResourceConfigHistoryFailure + Given I create a 'Aws::ConfigService' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'get_resource_config_history' with params: + """ {"resource_type":"fake-type","resource_id":"fake-id"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-configservice/features/smoke_step_definitions.rb b/gems/aws-sdk-configservice/features/smoke_step_definitions.rb deleted file mode 100644 index b0823e8e807..00000000000 --- a/gems/aws-sdk-configservice/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::ConfigService::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::ConfigService::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-costandusagereportservice/features/smoke.feature b/gems/aws-sdk-costandusagereportservice/features/smoke.feature index fe47237794e..bdbc1e733e8 100644 --- a/gems/aws-sdk-costandusagereportservice/features/smoke.feature +++ b/gems/aws-sdk-costandusagereportservice/features/smoke.feature @@ -7,13 +7,14 @@ Feature: Smoke tests for CostandUsageReportService -Background: - Given I create a client in region 'us-east-1' - @costandusagereportservice @smoke - Scenario: Call Aws::CostandUsageReportService::Client#describe_report_definitions and expect it to succeed - When I call the operation 'describe_report_definitions' with params: - """ + Scenario: DescribeReportDefinitionsSuccess + Given I create a 'Aws::CostandUsageReportService' client with config: + """ +{"region":"us-east-1"} + """ + When I call the operation 'describe_report_definitions' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-costandusagereportservice/features/smoke_step_definitions.rb b/gems/aws-sdk-costandusagereportservice/features/smoke_step_definitions.rb deleted file mode 100644 index 8a96116fa66..00000000000 --- a/gems/aws-sdk-costandusagereportservice/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::CostandUsageReportService::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::CostandUsageReportService::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-databasemigrationservice/features/smoke.feature b/gems/aws-sdk-databasemigrationservice/features/smoke.feature index b33d682784f..67b2e2d2f60 100644 --- a/gems/aws-sdk-databasemigrationservice/features/smoke.feature +++ b/gems/aws-sdk-databasemigrationservice/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for DatabaseMigrationService -Background: - Given I create a client in region 'us-west-2' - @databasemigrationservice @smoke - Scenario: Call Aws::DatabaseMigrationService::Client#describe_endpoints and expect it to succeed - When I call the operation 'describe_endpoints' with params: - """ + Scenario: DescribeEndpointsSuccess + Given I create a 'Aws::DatabaseMigrationService' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_endpoints' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @databasemigrationservice @smoke - Scenario: Call Aws::Aws::DatabaseMigrationService::Client#describe_table_statistics and expect it to fail - When I call the operation 'describe_table_statistics' with params: - """ + Scenario: DescribeTableStatisticsFailure + Given I create a 'Aws::DatabaseMigrationService' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_table_statistics' with params: + """ {"replication_task_arn":"arn:aws:acm:region:123456789012"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-databasemigrationservice/features/smoke_step_definitions.rb b/gems/aws-sdk-databasemigrationservice/features/smoke_step_definitions.rb deleted file mode 100644 index 8877c1afba8..00000000000 --- a/gems/aws-sdk-databasemigrationservice/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::DatabaseMigrationService::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::DatabaseMigrationService::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-dataexchange/features/smoke_step_definitions.rb b/gems/aws-sdk-dataexchange/features/smoke_step_definitions.rb deleted file mode 100644 index 9523e01c8c5..00000000000 --- a/gems/aws-sdk-dataexchange/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::DataExchange::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::DataExchange::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-devicefarm/features/smoke.feature b/gems/aws-sdk-devicefarm/features/smoke.feature index 4474d358bdf..33fd10fe1ab 100644 --- a/gems/aws-sdk-devicefarm/features/smoke.feature +++ b/gems/aws-sdk-devicefarm/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for DeviceFarm -Background: - Given I create a client in region 'us-west-2' - @devicefarm @smoke - Scenario: Call Aws::DeviceFarm::Client#list_devices and expect it to succeed - When I call the operation 'list_devices' with params: - """ + Scenario: ListDevicesSuccess + Given I create a 'Aws::DeviceFarm' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_devices' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @devicefarm @smoke - Scenario: Call Aws::Aws::DeviceFarm::Client#get_device and expect it to fail - When I call the operation 'get_device' with params: - """ + Scenario: GetDeviceFailure + Given I create a 'Aws::DeviceFarm' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'get_device' with params: + """ {"arn":"arn:aws:devicefarm:us-west-2::device:000000000000000000000000fake-arn"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-devicefarm/features/smoke_step_definitions.rb b/gems/aws-sdk-devicefarm/features/smoke_step_definitions.rb deleted file mode 100644 index dab51271229..00000000000 --- a/gems/aws-sdk-devicefarm/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::DeviceFarm::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::DeviceFarm::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-directconnect/features/smoke.feature b/gems/aws-sdk-directconnect/features/smoke.feature index 7558c8b5804..1d360131068 100644 --- a/gems/aws-sdk-directconnect/features/smoke.feature +++ b/gems/aws-sdk-directconnect/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for DirectConnect -Background: - Given I create a client in region 'us-west-2' - @directconnect @smoke - Scenario: Call Aws::DirectConnect::Client#describe_connections and expect it to succeed - When I call the operation 'describe_connections' with params: - """ + Scenario: DescribeConnectionsSuccess + Given I create a 'Aws::DirectConnect' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_connections' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @directconnect @smoke - Scenario: Call Aws::Aws::DirectConnect::Client#describe_connections and expect it to fail - When I call the operation 'describe_connections' with params: - """ + Scenario: DescribeConnectionsFailure + Given I create a 'Aws::DirectConnect' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_connections' with params: + """ {"connection_id":"fake-connection"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-directconnect/features/smoke_step_definitions.rb b/gems/aws-sdk-directconnect/features/smoke_step_definitions.rb deleted file mode 100644 index bc470703ac7..00000000000 --- a/gems/aws-sdk-directconnect/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::DirectConnect::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::DirectConnect::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-directoryservice/features/smoke.feature b/gems/aws-sdk-directoryservice/features/smoke.feature index e4f9ef1acde..3befabb54d7 100644 --- a/gems/aws-sdk-directoryservice/features/smoke.feature +++ b/gems/aws-sdk-directoryservice/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for DirectoryService -Background: - Given I create a client in region 'us-west-2' - @directoryservice @smoke - Scenario: Call Aws::DirectoryService::Client#describe_directories and expect it to succeed - When I call the operation 'describe_directories' with params: - """ + Scenario: DescribeDirectoriesSuccess + Given I create a 'Aws::DirectoryService' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_directories' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @directoryservice @smoke - Scenario: Call Aws::Aws::DirectoryService::Client#create_directory and expect it to fail - When I call the operation 'create_directory' with params: - """ + Scenario: CreateDirectoryFailure + Given I create a 'Aws::DirectoryService' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'create_directory' with params: + """ {"name":"","password":"","size":""} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-directoryservice/features/smoke_step_definitions.rb b/gems/aws-sdk-directoryservice/features/smoke_step_definitions.rb deleted file mode 100644 index 487dfb942c1..00000000000 --- a/gems/aws-sdk-directoryservice/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::DirectoryService::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::DirectoryService::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-docdb/features/smoke.feature b/gems/aws-sdk-docdb/features/smoke.feature index 0b7815421da..10f731ae264 100644 --- a/gems/aws-sdk-docdb/features/smoke.feature +++ b/gems/aws-sdk-docdb/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for DocDB -Background: - Given I create a client in region 'us-west-2' - @docdb @smoke - Scenario: Call Aws::DocDB::Client#describe_db_engine_versions and expect it to succeed - When I call the operation 'describe_db_engine_versions' with params: - """ + Scenario: DescribeDBEngineVersionsSuccess + Given I create a 'Aws::DocDB' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_db_engine_versions' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @docdb @smoke - Scenario: Call Aws::Aws::DocDB::Client#describe_db_instances and expect it to fail - When I call the operation 'describe_db_instances' with params: - """ + Scenario: DescribeDBInstancesFailure + Given I create a 'Aws::DocDB' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_db_instances' with params: + """ {"db_instance_identifier":"fake-id"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-docdb/features/smoke_step_definitions.rb b/gems/aws-sdk-docdb/features/smoke_step_definitions.rb deleted file mode 100644 index c7ec8e67bf3..00000000000 --- a/gems/aws-sdk-docdb/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::DocDB::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::DocDB::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-dynamodb/features/smoke_step_definitions.rb b/gems/aws-sdk-dynamodb/features/smoke_step_definitions.rb deleted file mode 100644 index 8f04b59c2c5..00000000000 --- a/gems/aws-sdk-dynamodb/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::DynamoDB::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::DynamoDB::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-ec2/features/smoke.feature b/gems/aws-sdk-ec2/features/smoke.feature index 66aa9a3d0f4..de22f1c02c2 100644 --- a/gems/aws-sdk-ec2/features/smoke.feature +++ b/gems/aws-sdk-ec2/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for EC2 -Background: - Given I create a client in region 'us-west-2' - @ec2 @smoke - Scenario: Call Aws::EC2::Client#describe_regions and expect it to succeed - When I call the operation 'describe_regions' with params: - """ + Scenario: DescribeRegionsSuccess + Given I create a 'Aws::EC2' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_regions' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @ec2 @smoke - Scenario: Call Aws::Aws::EC2::Client#describe_instances and expect it to fail - When I call the operation 'describe_instances' with params: - """ + Scenario: DescribeInstancesFailure + Given I create a 'Aws::EC2' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_instances' with params: + """ {"instance_ids":["i-12345678"]} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-ec2/features/smoke_step_definitions.rb b/gems/aws-sdk-ec2/features/smoke_step_definitions.rb deleted file mode 100644 index 75ee9ca6b28..00000000000 --- a/gems/aws-sdk-ec2/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::EC2::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::EC2::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-ecr/features/smoke.feature b/gems/aws-sdk-ecr/features/smoke.feature index 00e46a499aa..ee165bc6b6a 100644 --- a/gems/aws-sdk-ecr/features/smoke.feature +++ b/gems/aws-sdk-ecr/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for ECR -Background: - Given I create a client in region 'us-west-2' - @ecr @smoke - Scenario: Call Aws::ECR::Client#describe_repositories and expect it to succeed - When I call the operation 'describe_repositories' with params: - """ + Scenario: DescribeRepositoriesSuccess + Given I create a 'Aws::ECR' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_repositories' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @ecr @smoke - Scenario: Call Aws::Aws::ECR::Client#list_images and expect it to fail - When I call the operation 'list_images' with params: - """ + Scenario: ListImagesFailure + Given I create a 'Aws::ECR' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_images' with params: + """ {"repository_name":"not-a-real-repository"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-ecr/features/smoke_step_definitions.rb b/gems/aws-sdk-ecr/features/smoke_step_definitions.rb deleted file mode 100644 index a2af75c95ec..00000000000 --- a/gems/aws-sdk-ecr/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::ECR::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::ECR::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-ecs/features/smoke.feature b/gems/aws-sdk-ecs/features/smoke.feature index 16b228b0fbc..eea21f3cbae 100644 --- a/gems/aws-sdk-ecs/features/smoke.feature +++ b/gems/aws-sdk-ecs/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for ECS -Background: - Given I create a client in region 'us-west-2' - @ecs @smoke - Scenario: Call Aws::ECS::Client#list_clusters and expect it to succeed - When I call the operation 'list_clusters' with params: - """ + Scenario: ListClustersSuccess + Given I create a 'Aws::ECS' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_clusters' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @ecs @smoke - Scenario: Call Aws::Aws::ECS::Client#stop_task and expect it to fail - When I call the operation 'stop_task' with params: - """ + Scenario: StopTaskFailure + Given I create a 'Aws::ECS' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'stop_task' with params: + """ {"task":"xxxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxx"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-ecs/features/smoke_step_definitions.rb b/gems/aws-sdk-ecs/features/smoke_step_definitions.rb deleted file mode 100644 index 7ce17031ec4..00000000000 --- a/gems/aws-sdk-ecs/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::ECS::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::ECS::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-efs/features/smoke.feature b/gems/aws-sdk-efs/features/smoke.feature index b7e7860b8ae..43ce5ef7ede 100644 --- a/gems/aws-sdk-efs/features/smoke.feature +++ b/gems/aws-sdk-efs/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for EFS -Background: - Given I create a client in region 'us-west-2' - @efs @smoke - Scenario: Call Aws::EFS::Client#describe_file_systems and expect it to succeed - When I call the operation 'describe_file_systems' with params: - """ + Scenario: DescribeFileSystemsSuccess + Given I create a 'Aws::EFS' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_file_systems' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @efs @smoke - Scenario: Call Aws::Aws::EFS::Client#delete_file_system and expect it to fail - When I call the operation 'delete_file_system' with params: - """ + Scenario: DeleteFileSystemFailure + Given I create a 'Aws::EFS' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'delete_file_system' with params: + """ {"file_system_id":"fs-c5a1446c"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-efs/features/smoke_step_definitions.rb b/gems/aws-sdk-efs/features/smoke_step_definitions.rb deleted file mode 100644 index e1e8e6f7c20..00000000000 --- a/gems/aws-sdk-efs/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::EFS::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::EFS::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-elasticache/features/smoke.feature b/gems/aws-sdk-elasticache/features/smoke.feature index e647c3c3234..f0eda022ae9 100644 --- a/gems/aws-sdk-elasticache/features/smoke.feature +++ b/gems/aws-sdk-elasticache/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for ElastiCache -Background: - Given I create a client in region 'us-west-2' - @elasticache @smoke - Scenario: Call Aws::ElastiCache::Client#describe_events and expect it to succeed - When I call the operation 'describe_events' with params: - """ + Scenario: DescribeEventsSuccess + Given I create a 'Aws::ElastiCache' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_events' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @elasticache @smoke - Scenario: Call Aws::Aws::ElastiCache::Client#describe_cache_clusters and expect it to fail - When I call the operation 'describe_cache_clusters' with params: - """ + Scenario: DescribeCacheClustersFailure + Given I create a 'Aws::ElastiCache' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_cache_clusters' with params: + """ {"cache_cluster_id":"fake_cluster"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-elasticache/features/smoke_step_definitions.rb b/gems/aws-sdk-elasticache/features/smoke_step_definitions.rb deleted file mode 100644 index 5e436162011..00000000000 --- a/gems/aws-sdk-elasticache/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::ElastiCache::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::ElastiCache::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-elasticbeanstalk/features/smoke.feature b/gems/aws-sdk-elasticbeanstalk/features/smoke.feature index 1cc3b4c27cb..f770fbd612f 100644 --- a/gems/aws-sdk-elasticbeanstalk/features/smoke.feature +++ b/gems/aws-sdk-elasticbeanstalk/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for ElasticBeanstalk -Background: - Given I create a client in region 'us-west-2' - @elasticbeanstalk @smoke - Scenario: Call Aws::ElasticBeanstalk::Client#list_available_solution_stacks and expect it to succeed - When I call the operation 'list_available_solution_stacks' with params: - """ + Scenario: ListAvailableSolutionStacksSuccess + Given I create a 'Aws::ElasticBeanstalk' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_available_solution_stacks' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @elasticbeanstalk @smoke - Scenario: Call Aws::Aws::ElasticBeanstalk::Client#describe_environment_resources and expect it to fail - When I call the operation 'describe_environment_resources' with params: - """ + Scenario: DescribeEnvironmentResourcesFailure + Given I create a 'Aws::ElasticBeanstalk' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_environment_resources' with params: + """ {"environment_id":"fake_environment"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-elasticbeanstalk/features/smoke_step_definitions.rb b/gems/aws-sdk-elasticbeanstalk/features/smoke_step_definitions.rb deleted file mode 100644 index d908c2db835..00000000000 --- a/gems/aws-sdk-elasticbeanstalk/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::ElasticBeanstalk::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::ElasticBeanstalk::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-elasticloadbalancing/features/smoke.feature b/gems/aws-sdk-elasticloadbalancing/features/smoke.feature index 1f2843aed44..abf4d5352e5 100644 --- a/gems/aws-sdk-elasticloadbalancing/features/smoke.feature +++ b/gems/aws-sdk-elasticloadbalancing/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for ElasticLoadBalancing -Background: - Given I create a client in region 'us-west-2' - @elasticloadbalancing @smoke - Scenario: Call Aws::ElasticLoadBalancing::Client#describe_load_balancers and expect it to succeed - When I call the operation 'describe_load_balancers' with params: - """ + Scenario: DescribeLoadBalancersSuccess + Given I create a 'Aws::ElasticLoadBalancing' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_load_balancers' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @elasticloadbalancing @smoke - Scenario: Call Aws::Aws::ElasticLoadBalancing::Client#describe_load_balancers and expect it to fail - When I call the operation 'describe_load_balancers' with params: - """ + Scenario: DescribeLoadBalancersFailure + Given I create a 'Aws::ElasticLoadBalancing' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_load_balancers' with params: + """ {"load_balancer_names":["fake_load_balancer"]} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-elasticloadbalancing/features/smoke_step_definitions.rb b/gems/aws-sdk-elasticloadbalancing/features/smoke_step_definitions.rb deleted file mode 100644 index 1bd2b9c9afc..00000000000 --- a/gems/aws-sdk-elasticloadbalancing/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::ElasticLoadBalancing::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::ElasticLoadBalancing::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-elasticloadbalancingv2/features/smoke.feature b/gems/aws-sdk-elasticloadbalancingv2/features/smoke.feature index 2aa1486ffd1..1a130571bad 100644 --- a/gems/aws-sdk-elasticloadbalancingv2/features/smoke.feature +++ b/gems/aws-sdk-elasticloadbalancingv2/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for ElasticLoadBalancingV2 -Background: - Given I create a client in region 'us-west-2' - @elasticloadbalancingv2 @smoke - Scenario: Call Aws::ElasticLoadBalancingV2::Client#describe_load_balancers and expect it to succeed - When I call the operation 'describe_load_balancers' with params: - """ + Scenario: DescribeLoadBalancersSuccess + Given I create a 'Aws::ElasticLoadBalancingV2' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_load_balancers' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @elasticloadbalancingv2 @smoke - Scenario: Call Aws::Aws::ElasticLoadBalancingV2::Client#describe_load_balancers and expect it to fail - When I call the operation 'describe_load_balancers' with params: - """ + Scenario: DescribeLoadBalancersFailure + Given I create a 'Aws::ElasticLoadBalancingV2' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_load_balancers' with params: + """ {"load_balancer_arns":["fake_load_balancer"]} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-elasticloadbalancingv2/features/smoke_step_definitions.rb b/gems/aws-sdk-elasticloadbalancingv2/features/smoke_step_definitions.rb deleted file mode 100644 index c84b8577971..00000000000 --- a/gems/aws-sdk-elasticloadbalancingv2/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::ElasticLoadBalancingV2::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::ElasticLoadBalancingV2::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-elasticsearchservice/features/smoke.feature b/gems/aws-sdk-elasticsearchservice/features/smoke.feature index 28c5b1c9b39..26896b8f621 100644 --- a/gems/aws-sdk-elasticsearchservice/features/smoke.feature +++ b/gems/aws-sdk-elasticsearchservice/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for ElasticsearchService -Background: - Given I create a client in region 'us-west-2' - @elasticsearchservice @smoke - Scenario: Call Aws::ElasticsearchService::Client#list_domain_names and expect it to succeed - When I call the operation 'list_domain_names' with params: - """ + Scenario: ListDomainNamesSuccess + Given I create a 'Aws::ElasticsearchService' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_domain_names' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @elasticsearchservice @smoke - Scenario: Call Aws::Aws::ElasticsearchService::Client#describe_elasticsearch_domain and expect it to fail - When I call the operation 'describe_elasticsearch_domain' with params: - """ + Scenario: DescribeElasticsearchDomainFailure + Given I create a 'Aws::ElasticsearchService' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_elasticsearch_domain' with params: + """ {"domain_name":"not-a-domain"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-elasticsearchservice/features/smoke_step_definitions.rb b/gems/aws-sdk-elasticsearchservice/features/smoke_step_definitions.rb deleted file mode 100644 index f3db9f93dac..00000000000 --- a/gems/aws-sdk-elasticsearchservice/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::ElasticsearchService::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::ElasticsearchService::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-elastictranscoder/features/smoke.feature b/gems/aws-sdk-elastictranscoder/features/smoke.feature index f18e5bb9536..87032486da1 100644 --- a/gems/aws-sdk-elastictranscoder/features/smoke.feature +++ b/gems/aws-sdk-elastictranscoder/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for ElasticTranscoder -Background: - Given I create a client in region 'us-west-2' - @elastictranscoder @smoke - Scenario: Call Aws::ElasticTranscoder::Client#list_presets and expect it to succeed - When I call the operation 'list_presets' with params: - """ + Scenario: ListPresetsSuccess + Given I create a 'Aws::ElasticTranscoder' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_presets' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @elastictranscoder @smoke - Scenario: Call Aws::Aws::ElasticTranscoder::Client#read_job and expect it to fail - When I call the operation 'read_job' with params: - """ + Scenario: ReadJobFailure + Given I create a 'Aws::ElasticTranscoder' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'read_job' with params: + """ {"id":"fake_job"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-elastictranscoder/features/smoke_step_definitions.rb b/gems/aws-sdk-elastictranscoder/features/smoke_step_definitions.rb deleted file mode 100644 index d4b616f4479..00000000000 --- a/gems/aws-sdk-elastictranscoder/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::ElasticTranscoder::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::ElasticTranscoder::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-emr/features/smoke.feature b/gems/aws-sdk-emr/features/smoke.feature index bbd8e7b80b4..e50b47ad991 100644 --- a/gems/aws-sdk-emr/features/smoke.feature +++ b/gems/aws-sdk-emr/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for EMR -Background: - Given I create a client in region 'us-west-2' - @emr @smoke - Scenario: Call Aws::EMR::Client#list_clusters and expect it to succeed - When I call the operation 'list_clusters' with params: - """ + Scenario: ListClustersSuccess + Given I create a 'Aws::EMR' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_clusters' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @emr @smoke - Scenario: Call Aws::Aws::EMR::Client#describe_cluster and expect it to fail - When I call the operation 'describe_cluster' with params: - """ + Scenario: DescribeClusterFailure + Given I create a 'Aws::EMR' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_cluster' with params: + """ {"cluster_id":"fake_cluster"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-emr/features/smoke_step_definitions.rb b/gems/aws-sdk-emr/features/smoke_step_definitions.rb deleted file mode 100644 index 6ed893dd0ca..00000000000 --- a/gems/aws-sdk-emr/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::EMR::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::EMR::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-eventbridge/features/smoke.feature b/gems/aws-sdk-eventbridge/features/smoke.feature index 843f5d447e0..80b543c8411 100644 --- a/gems/aws-sdk-eventbridge/features/smoke.feature +++ b/gems/aws-sdk-eventbridge/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for EventBridge -Background: - Given I create a client in region 'us-west-2' - @eventbridge @smoke - Scenario: Call Aws::EventBridge::Client#list_rules and expect it to succeed - When I call the operation 'list_rules' with params: - """ + Scenario: ListRulesSuccess + Given I create a 'Aws::EventBridge' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_rules' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @eventbridge @smoke - Scenario: Call Aws::Aws::EventBridge::Client#describe_rule and expect it to fail - When I call the operation 'describe_rule' with params: - """ + Scenario: DescribeRuleFailure + Given I create a 'Aws::EventBridge' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_rule' with params: + """ {"name":"fake-rule"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-eventbridge/features/smoke_step_definitions.rb b/gems/aws-sdk-eventbridge/features/smoke_step_definitions.rb deleted file mode 100644 index d42c50f1bef..00000000000 --- a/gems/aws-sdk-eventbridge/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::EventBridge::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::EventBridge::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-firehose/features/smoke.feature b/gems/aws-sdk-firehose/features/smoke.feature index 1e4bbe332dc..3b4cf47bbdf 100644 --- a/gems/aws-sdk-firehose/features/smoke.feature +++ b/gems/aws-sdk-firehose/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for Firehose -Background: - Given I create a client in region 'us-west-2' - @firehose @smoke - Scenario: Call Aws::Firehose::Client#list_delivery_streams and expect it to succeed - When I call the operation 'list_delivery_streams' with params: - """ + Scenario: ListDeliveryStreamsSuccess + Given I create a 'Aws::Firehose' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_delivery_streams' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @firehose @smoke - Scenario: Call Aws::Aws::Firehose::Client#describe_delivery_stream and expect it to fail - When I call the operation 'describe_delivery_stream' with params: - """ + Scenario: DescribeDeliveryStreamFailure + Given I create a 'Aws::Firehose' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_delivery_stream' with params: + """ {"delivery_stream_name":"bogus-stream-name"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-firehose/features/smoke_step_definitions.rb b/gems/aws-sdk-firehose/features/smoke_step_definitions.rb deleted file mode 100644 index 9b358e19e0a..00000000000 --- a/gems/aws-sdk-firehose/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Firehose::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Firehose::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-gamelift/features/smoke.feature b/gems/aws-sdk-gamelift/features/smoke.feature index 519d167ab9b..eb0e0e54da1 100644 --- a/gems/aws-sdk-gamelift/features/smoke.feature +++ b/gems/aws-sdk-gamelift/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for GameLift -Background: - Given I create a client in region 'us-west-2' - @gamelift @smoke - Scenario: Call Aws::GameLift::Client#list_builds and expect it to succeed - When I call the operation 'list_builds' with params: - """ + Scenario: ListBuildsSuccess + Given I create a 'Aws::GameLift' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_builds' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @gamelift @smoke - Scenario: Call Aws::Aws::GameLift::Client#describe_player_sessions and expect it to fail - When I call the operation 'describe_player_sessions' with params: - """ + Scenario: DescribePlayerSessionsFailure + Given I create a 'Aws::GameLift' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_player_sessions' with params: + """ {"player_session_id":"psess-fakeSessionId"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-gamelift/features/smoke_step_definitions.rb b/gems/aws-sdk-gamelift/features/smoke_step_definitions.rb deleted file mode 100644 index 38feb55d9a7..00000000000 --- a/gems/aws-sdk-gamelift/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::GameLift::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::GameLift::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-glacier/features/smoke.feature b/gems/aws-sdk-glacier/features/smoke.feature index 764955b9b2c..aefac07cf52 100644 --- a/gems/aws-sdk-glacier/features/smoke.feature +++ b/gems/aws-sdk-glacier/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for Glacier -Background: - Given I create a client in region 'us-west-2' - @glacier @smoke - Scenario: Call Aws::Glacier::Client#list_vaults and expect it to succeed - When I call the operation 'list_vaults' with params: - """ + Scenario: ListVaultsSuccess + Given I create a 'Aws::Glacier' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_vaults' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @glacier @smoke - Scenario: Call Aws::Aws::Glacier::Client#list_vaults and expect it to fail - When I call the operation 'list_vaults' with params: - """ + Scenario: ListVaultsFailure + Given I create a 'Aws::Glacier' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_vaults' with params: + """ {"account_id":"abcmnoxyz"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-glacier/features/smoke_step_definitions.rb b/gems/aws-sdk-glacier/features/smoke_step_definitions.rb deleted file mode 100644 index 8bedf8cc8ce..00000000000 --- a/gems/aws-sdk-glacier/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Glacier::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Glacier::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-glue/features/smoke.feature b/gems/aws-sdk-glue/features/smoke.feature index 1309852d215..c6787c3d542 100644 --- a/gems/aws-sdk-glue/features/smoke.feature +++ b/gems/aws-sdk-glue/features/smoke.feature @@ -7,13 +7,14 @@ Feature: Smoke tests for Glue -Background: - Given I create a client in region 'us-west-2' - @glue @smoke - Scenario: Call Aws::Glue::Client#get_catalog_import_status and expect it to succeed - When I call the operation 'get_catalog_import_status' with params: - """ + Scenario: GetCatalogImportStatusSuccess + Given I create a 'Aws::Glue' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'get_catalog_import_status' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-glue/features/smoke_step_definitions.rb b/gems/aws-sdk-glue/features/smoke_step_definitions.rb deleted file mode 100644 index 5c688506bc5..00000000000 --- a/gems/aws-sdk-glue/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Glue::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Glue::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-health/features/smoke_step_definitions.rb b/gems/aws-sdk-health/features/smoke_step_definitions.rb deleted file mode 100644 index fad9daeee80..00000000000 --- a/gems/aws-sdk-health/features/smoke_step_definitions.rb +++ /dev/null @@ -1,31 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Health::Client.new(region: region) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-iam/features/smoke.feature b/gems/aws-sdk-iam/features/smoke.feature index fbdfe24726e..09701fe58d3 100644 --- a/gems/aws-sdk-iam/features/smoke.feature +++ b/gems/aws-sdk-iam/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for IAM -Background: - Given I create a client in region 'us-east-1' - @iam @smoke - Scenario: Call Aws::IAM::Client#list_users and expect it to succeed - When I call the operation 'list_users' with params: - """ + Scenario: ListUsersSuccess + Given I create a 'Aws::IAM' client with config: + """ +{"region":"us-east-1"} + """ + When I call the operation 'list_users' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @iam @smoke - Scenario: Call Aws::Aws::IAM::Client#get_user and expect it to fail - When I call the operation 'get_user' with params: - """ + Scenario: GetUserFailure + Given I create a 'Aws::IAM' client with config: + """ +{"region":"us-east-1"} + """ + When I call the operation 'get_user' with params: + """ {"user_name":"fake_user"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-iam/features/smoke_step_definitions.rb b/gems/aws-sdk-iam/features/smoke_step_definitions.rb deleted file mode 100644 index 79e540dc383..00000000000 --- a/gems/aws-sdk-iam/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::IAM::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::IAM::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-inspector/features/smoke.feature b/gems/aws-sdk-inspector/features/smoke.feature index 209c4c55406..ba098eec2ff 100644 --- a/gems/aws-sdk-inspector/features/smoke.feature +++ b/gems/aws-sdk-inspector/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for Inspector -Background: - Given I create a client in region 'us-west-2' - @inspector @smoke - Scenario: Call Aws::Inspector::Client#list_assessment_templates and expect it to succeed - When I call the operation 'list_assessment_templates' with params: - """ + Scenario: ListAssessmentTemplatesSuccess + Given I create a 'Aws::Inspector' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_assessment_templates' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @inspector @smoke - Scenario: Call Aws::Aws::Inspector::Client#list_tags_for_resource and expect it to fail - When I call the operation 'list_tags_for_resource' with params: - """ + Scenario: ListTagsForResourceFailure + Given I create a 'Aws::Inspector' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_tags_for_resource' with params: + """ {"resource_arn":"fake-arn"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-inspector/features/smoke_step_definitions.rb b/gems/aws-sdk-inspector/features/smoke_step_definitions.rb deleted file mode 100644 index eaf872479f3..00000000000 --- a/gems/aws-sdk-inspector/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Inspector::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Inspector::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-internetmonitor/features/smoke_step_definitions.rb b/gems/aws-sdk-internetmonitor/features/smoke_step_definitions.rb deleted file mode 100644 index e21b3475ace..00000000000 --- a/gems/aws-sdk-internetmonitor/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::InternetMonitor::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::InternetMonitor::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-iot/features/smoke.feature b/gems/aws-sdk-iot/features/smoke.feature index 5940cc06586..1f1afb43b8e 100644 --- a/gems/aws-sdk-iot/features/smoke.feature +++ b/gems/aws-sdk-iot/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for IoT -Background: - Given I create a client in region 'us-west-2' - @iot @smoke - Scenario: Call Aws::IoT::Client#list_policies and expect it to succeed - When I call the operation 'list_policies' with params: - """ + Scenario: ListPoliciesSuccess + Given I create a 'Aws::IoT' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_policies' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @iot @smoke - Scenario: Call Aws::Aws::IoT::Client#describe_thing and expect it to fail - When I call the operation 'describe_thing' with params: - """ + Scenario: DescribeThingFailure + Given I create a 'Aws::IoT' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_thing' with params: + """ {"thing_name":"fake-thing"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-iot/features/smoke_step_definitions.rb b/gems/aws-sdk-iot/features/smoke_step_definitions.rb deleted file mode 100644 index f27d21f6dbf..00000000000 --- a/gems/aws-sdk-iot/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::IoT::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::IoT::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-iotdataplane/features/smoke.feature b/gems/aws-sdk-iotdataplane/features/smoke.feature index 6e36ff037b5..8dbbe0a7b63 100644 --- a/gems/aws-sdk-iotdataplane/features/smoke.feature +++ b/gems/aws-sdk-iotdataplane/features/smoke.feature @@ -7,13 +7,14 @@ Feature: Smoke tests for IoTDataPlane -Background: - Given I create a client with endpoint 'https://data.iot.us-west-2.amazonaws.com' - @iotdataplane @smoke - Scenario: Call Aws::Aws::IoTDataPlane::Client#get_thing_shadow and expect it to fail - When I call the operation 'get_thing_shadow' with params: - """ + Scenario: GetThingShadowFailure + Given I create a 'Aws::IoTDataPlane' client with config: + """ +{"region":"us-west-2","endpoint":"https://data-ats.iot.us-west-2.amazonaws.com"} + """ + When I call the operation 'get_thing_shadow' with params: + """ {"thing_name":"fake-thing"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-iotdataplane/features/smoke_step_definitions.rb b/gems/aws-sdk-iotdataplane/features/smoke_step_definitions.rb deleted file mode 100644 index a250824e22d..00000000000 --- a/gems/aws-sdk-iotdataplane/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::IoTDataPlane::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::IoTDataPlane::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-iotfleetwise/features/smoke_step_definitions.rb b/gems/aws-sdk-iotfleetwise/features/smoke_step_definitions.rb deleted file mode 100644 index e912ea2f2df..00000000000 --- a/gems/aws-sdk-iotfleetwise/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::IoTFleetWise::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::IoTFleetWise::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-iottwinmaker/features/smoke_step_definitions.rb b/gems/aws-sdk-iottwinmaker/features/smoke_step_definitions.rb deleted file mode 100644 index 7e15f602ee5..00000000000 --- a/gems/aws-sdk-iottwinmaker/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::IoTTwinMaker::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::IoTTwinMaker::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-keyspaces/features/smoke_step_definitions.rb b/gems/aws-sdk-keyspaces/features/smoke_step_definitions.rb deleted file mode 100644 index a78e0606c8d..00000000000 --- a/gems/aws-sdk-keyspaces/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Keyspaces::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Keyspaces::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-kinesis/features/smoke.feature b/gems/aws-sdk-kinesis/features/smoke.feature index 66a1fb4a844..f9adf7bd99b 100644 --- a/gems/aws-sdk-kinesis/features/smoke.feature +++ b/gems/aws-sdk-kinesis/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for Kinesis -Background: - Given I create a client in region 'us-west-2' - @kinesis @smoke - Scenario: Call Aws::Kinesis::Client#list_streams and expect it to succeed - When I call the operation 'list_streams' with params: - """ + Scenario: ListStreamsSuccess + Given I create a 'Aws::Kinesis' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_streams' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @kinesis @smoke - Scenario: Call Aws::Aws::Kinesis::Client#describe_stream and expect it to fail - When I call the operation 'describe_stream' with params: - """ + Scenario: DescribeStreamFailure + Given I create a 'Aws::Kinesis' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_stream' with params: + """ {"stream_name":"bogus-stream-name"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-kinesis/features/smoke_step_definitions.rb b/gems/aws-sdk-kinesis/features/smoke_step_definitions.rb deleted file mode 100644 index 941cb7b79a7..00000000000 --- a/gems/aws-sdk-kinesis/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Kinesis::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Kinesis::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-kms/features/smoke.feature b/gems/aws-sdk-kms/features/smoke.feature index d98df84c85b..88cdb1f104d 100644 --- a/gems/aws-sdk-kms/features/smoke.feature +++ b/gems/aws-sdk-kms/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for KMS -Background: - Given I create a client in region 'us-west-2' - @kms @smoke - Scenario: Call Aws::KMS::Client#list_aliases and expect it to succeed - When I call the operation 'list_aliases' with params: - """ + Scenario: ListAliasesSuccess + Given I create a 'Aws::KMS' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_aliases' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @kms @smoke - Scenario: Call Aws::Aws::KMS::Client#get_key_policy and expect it to fail - When I call the operation 'get_key_policy' with params: - """ + Scenario: GetKeyPolicyFailure + Given I create a 'Aws::KMS' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'get_key_policy' with params: + """ {"key_id":"12345678-1234-1234-1234-123456789012","policy_name":"fakePolicy"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-kms/features/smoke_step_definitions.rb b/gems/aws-sdk-kms/features/smoke_step_definitions.rb deleted file mode 100644 index f7d9eb82d2d..00000000000 --- a/gems/aws-sdk-kms/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::KMS::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::KMS::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-lambda/features/smoke.feature b/gems/aws-sdk-lambda/features/smoke.feature index a05a077c063..46596da9f6b 100644 --- a/gems/aws-sdk-lambda/features/smoke.feature +++ b/gems/aws-sdk-lambda/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for Lambda -Background: - Given I create a client in region 'us-west-2' - @lambda @smoke - Scenario: Call Aws::Lambda::Client#list_functions and expect it to succeed - When I call the operation 'list_functions' with params: - """ + Scenario: ListFunctionsSuccess + Given I create a 'Aws::Lambda' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_functions' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @lambda @smoke - Scenario: Call Aws::Aws::Lambda::Client#invoke and expect it to fail - When I call the operation 'invoke' with params: - """ + Scenario: InvokeFailure + Given I create a 'Aws::Lambda' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'invoke' with params: + """ {"function_name":"bogus-function"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-lambda/features/smoke_step_definitions.rb b/gems/aws-sdk-lambda/features/smoke_step_definitions.rb deleted file mode 100644 index d83daf4ea23..00000000000 --- a/gems/aws-sdk-lambda/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Lambda::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Lambda::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-lightsail/features/smoke.feature b/gems/aws-sdk-lightsail/features/smoke.feature index 9aed2c1afa2..83047c6d67b 100644 --- a/gems/aws-sdk-lightsail/features/smoke.feature +++ b/gems/aws-sdk-lightsail/features/smoke.feature @@ -7,13 +7,14 @@ Feature: Smoke tests for Lightsail -Background: - Given I create a client in region 'us-west-2' - @lightsail @smoke - Scenario: Call Aws::Lightsail::Client#get_active_names and expect it to succeed - When I call the operation 'get_active_names' with params: - """ + Scenario: GetActiveNamesSuccess + Given I create a 'Aws::Lightsail' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'get_active_names' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-lightsail/features/smoke_step_definitions.rb b/gems/aws-sdk-lightsail/features/smoke_step_definitions.rb deleted file mode 100644 index 09dfbf32139..00000000000 --- a/gems/aws-sdk-lightsail/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Lightsail::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Lightsail::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-managedblockchainquery/features/smoke_step_definitions.rb b/gems/aws-sdk-managedblockchainquery/features/smoke_step_definitions.rb deleted file mode 100644 index 4ce2d93ec99..00000000000 --- a/gems/aws-sdk-managedblockchainquery/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::ManagedBlockchainQuery::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::ManagedBlockchainQuery::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-marketplacecommerceanalytics/features/smoke.feature b/gems/aws-sdk-marketplacecommerceanalytics/features/smoke.feature index 7db07cb31cb..2e2635c4df8 100644 --- a/gems/aws-sdk-marketplacecommerceanalytics/features/smoke.feature +++ b/gems/aws-sdk-marketplacecommerceanalytics/features/smoke.feature @@ -7,13 +7,14 @@ Feature: Smoke tests for MarketplaceCommerceAnalytics -Background: - Given I create a client in region 'us-east-1' - @marketplacecommerceanalytics @smoke - Scenario: Call Aws::Aws::MarketplaceCommerceAnalytics::Client#generate_data_set and expect it to fail - When I call the operation 'generate_data_set' with params: - """ + Scenario: GenerateDataSetFailure + Given I create a 'Aws::MarketplaceCommerceAnalytics' client with config: + """ +{"region":"us-east-1"} + """ + When I call the operation 'generate_data_set' with params: + """ {"data_set_type":"fake-type","data_set_publication_date":0,"role_name_arn":"fake-arn","destination_s3_bucket_name":"fake-bucket","sns_topic_arn":"fake-arn"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-marketplacecommerceanalytics/features/smoke_step_definitions.rb b/gems/aws-sdk-marketplacecommerceanalytics/features/smoke_step_definitions.rb deleted file mode 100644 index d5dd59b06b1..00000000000 --- a/gems/aws-sdk-marketplacecommerceanalytics/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::MarketplaceCommerceAnalytics::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::MarketplaceCommerceAnalytics::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-mediapackagev2/features/smoke_step_definitions.rb b/gems/aws-sdk-mediapackagev2/features/smoke_step_definitions.rb deleted file mode 100644 index 3a148e01a2f..00000000000 --- a/gems/aws-sdk-mediapackagev2/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::MediaPackageV2::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::MediaPackageV2::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-medicalimaging/features/smoke_step_definitions.rb b/gems/aws-sdk-medicalimaging/features/smoke_step_definitions.rb deleted file mode 100644 index 42e2514d47f..00000000000 --- a/gems/aws-sdk-medicalimaging/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::MedicalImaging::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::MedicalImaging::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-migrationhuborchestrator/features/smoke_step_definitions.rb b/gems/aws-sdk-migrationhuborchestrator/features/smoke_step_definitions.rb deleted file mode 100644 index 353fb15cd48..00000000000 --- a/gems/aws-sdk-migrationhuborchestrator/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::MigrationHubOrchestrator::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::MigrationHubOrchestrator::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-mturk/features/smoke.feature b/gems/aws-sdk-mturk/features/smoke.feature index 3151cfdad64..d0570920076 100644 --- a/gems/aws-sdk-mturk/features/smoke.feature +++ b/gems/aws-sdk-mturk/features/smoke.feature @@ -6,6 +6,3 @@ # WARNING ABOUT GENERATED CODE Feature: Smoke tests for MTurk - -Background: - Given I create a client in region 'us-east-1' diff --git a/gems/aws-sdk-mturk/features/smoke_step_definitions.rb b/gems/aws-sdk-mturk/features/smoke_step_definitions.rb deleted file mode 100644 index 7d33c7b96ea..00000000000 --- a/gems/aws-sdk-mturk/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::MTurk::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::MTurk::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-neptune/features/smoke.feature b/gems/aws-sdk-neptune/features/smoke.feature index 87e045de33c..aebb51f288c 100644 --- a/gems/aws-sdk-neptune/features/smoke.feature +++ b/gems/aws-sdk-neptune/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for Neptune -Background: - Given I create a client in region 'us-west-2' - @neptune @smoke - Scenario: Call Aws::Neptune::Client#describe_db_engine_versions and expect it to succeed - When I call the operation 'describe_db_engine_versions' with params: - """ + Scenario: DescribeDBEngineVersionsSuccess + Given I create a 'Aws::Neptune' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_db_engine_versions' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @neptune @smoke - Scenario: Call Aws::Aws::Neptune::Client#describe_db_instances and expect it to fail - When I call the operation 'describe_db_instances' with params: - """ + Scenario: DescribeDBInstancesFailure + Given I create a 'Aws::Neptune' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_db_instances' with params: + """ {"db_instance_identifier":"fake-id"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-neptune/features/smoke_step_definitions.rb b/gems/aws-sdk-neptune/features/smoke_step_definitions.rb deleted file mode 100644 index ae9247b6fcc..00000000000 --- a/gems/aws-sdk-neptune/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Neptune::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Neptune::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-omics/features/smoke_step_definitions.rb b/gems/aws-sdk-omics/features/smoke_step_definitions.rb deleted file mode 100644 index 856e9bef73c..00000000000 --- a/gems/aws-sdk-omics/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Omics::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Omics::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-opensearchservice/features/smoke.feature b/gems/aws-sdk-opensearchservice/features/smoke.feature index 89102dd00f9..755fdfefec9 100644 --- a/gems/aws-sdk-opensearchservice/features/smoke.feature +++ b/gems/aws-sdk-opensearchservice/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for OpenSearchService -Background: - Given I create a client in region 'us-west-2' - @opensearchservice @smoke - Scenario: Call Aws::OpenSearchService::Client#list_domain_names and expect it to succeed - When I call the operation 'list_domain_names' with params: - """ + Scenario: ListDomainNamesSuccess + Given I create a 'Aws::OpenSearchService' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_domain_names' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @opensearchservice @smoke - Scenario: Call Aws::Aws::OpenSearchService::Client#describe_domain and expect it to fail - When I call the operation 'describe_domain' with params: - """ + Scenario: DescribeDomainFailure + Given I create a 'Aws::OpenSearchService' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_domain' with params: + """ {"domain_name":"not-a-domain"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-opensearchservice/features/smoke_step_definitions.rb b/gems/aws-sdk-opensearchservice/features/smoke_step_definitions.rb deleted file mode 100644 index 932eb917ef3..00000000000 --- a/gems/aws-sdk-opensearchservice/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::OpenSearchService::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::OpenSearchService::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-opsworks/features/smoke.feature b/gems/aws-sdk-opsworks/features/smoke.feature index 3e26b6a2310..e15ff26f44b 100644 --- a/gems/aws-sdk-opsworks/features/smoke.feature +++ b/gems/aws-sdk-opsworks/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for OpsWorks -Background: - Given I create a client in region 'us-west-2' - @opsworks @smoke - Scenario: Call Aws::OpsWorks::Client#describe_stacks and expect it to succeed - When I call the operation 'describe_stacks' with params: - """ + Scenario: DescribeStacksSuccess + Given I create a 'Aws::OpsWorks' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_stacks' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @opsworks @smoke - Scenario: Call Aws::Aws::OpsWorks::Client#describe_layers and expect it to fail - When I call the operation 'describe_layers' with params: - """ + Scenario: DescribeLayersFailure + Given I create a 'Aws::OpsWorks' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_layers' with params: + """ {"stack_id":"fake_stack"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-opsworks/features/smoke_step_definitions.rb b/gems/aws-sdk-opsworks/features/smoke_step_definitions.rb deleted file mode 100644 index 1acc6e77d93..00000000000 --- a/gems/aws-sdk-opsworks/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::OpsWorks::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::OpsWorks::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-pinpointsmsvoicev2/features/smoke_step_definitions.rb b/gems/aws-sdk-pinpointsmsvoicev2/features/smoke_step_definitions.rb deleted file mode 100644 index 389c534da0d..00000000000 --- a/gems/aws-sdk-pinpointsmsvoicev2/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::PinpointSMSVoiceV2::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::PinpointSMSVoiceV2::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-polly/features/smoke.feature b/gems/aws-sdk-polly/features/smoke.feature index 8c9c05cdc83..2b73ac6c668 100644 --- a/gems/aws-sdk-polly/features/smoke.feature +++ b/gems/aws-sdk-polly/features/smoke.feature @@ -7,13 +7,14 @@ Feature: Smoke tests for Polly -Background: - Given I create a client in region 'us-west-2' - @polly @smoke - Scenario: Call Aws::Polly::Client#describe_voices and expect it to succeed - When I call the operation 'describe_voices' with params: - """ + Scenario: DescribeVoicesSuccess + Given I create a 'Aws::Polly' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_voices' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-polly/features/smoke_step_definitions.rb b/gems/aws-sdk-polly/features/smoke_step_definitions.rb deleted file mode 100644 index b5f4f69fe18..00000000000 --- a/gems/aws-sdk-polly/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Polly::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Polly::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-pricing/features/smoke_step_definitions.rb b/gems/aws-sdk-pricing/features/smoke_step_definitions.rb deleted file mode 100644 index e633c46b91d..00000000000 --- a/gems/aws-sdk-pricing/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Pricing::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Pricing::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-rds/features/smoke_step_definitions.rb b/gems/aws-sdk-rds/features/smoke_step_definitions.rb deleted file mode 100644 index bb3625773a4..00000000000 --- a/gems/aws-sdk-rds/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::RDS::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::RDS::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-redshift/features/smoke.feature b/gems/aws-sdk-redshift/features/smoke.feature index d43a1fa27de..83565c8b717 100644 --- a/gems/aws-sdk-redshift/features/smoke.feature +++ b/gems/aws-sdk-redshift/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for Redshift -Background: - Given I create a client in region 'us-west-2' - @redshift @smoke - Scenario: Call Aws::Redshift::Client#describe_cluster_versions and expect it to succeed - When I call the operation 'describe_cluster_versions' with params: - """ + Scenario: DescribeClusterVersionsSuccess + Given I create a 'Aws::Redshift' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_cluster_versions' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @redshift @smoke - Scenario: Call Aws::Aws::Redshift::Client#describe_clusters and expect it to fail - When I call the operation 'describe_clusters' with params: - """ + Scenario: DescribeClustersFailure + Given I create a 'Aws::Redshift' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_clusters' with params: + """ {"cluster_identifier":"fake-cluster"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-redshift/features/smoke_step_definitions.rb b/gems/aws-sdk-redshift/features/smoke_step_definitions.rb deleted file mode 100644 index 37ac4faf584..00000000000 --- a/gems/aws-sdk-redshift/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Redshift::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Redshift::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-rekognition/features/smoke.feature b/gems/aws-sdk-rekognition/features/smoke.feature index daf8d8c7364..fd975bbacc0 100644 --- a/gems/aws-sdk-rekognition/features/smoke.feature +++ b/gems/aws-sdk-rekognition/features/smoke.feature @@ -7,13 +7,14 @@ Feature: Smoke tests for Rekognition -Background: - Given I create a client in region 'us-west-2' - @rekognition @smoke - Scenario: Call Aws::Rekognition::Client#list_collections and expect it to succeed - When I call the operation 'list_collections' with params: - """ + Scenario: ListCollectionsSuccess + Given I create a 'Aws::Rekognition' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_collections' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-rekognition/features/smoke_step_definitions.rb b/gems/aws-sdk-rekognition/features/smoke_step_definitions.rb deleted file mode 100644 index 0409dc1b9c7..00000000000 --- a/gems/aws-sdk-rekognition/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Rekognition::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Rekognition::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-route53/features/smoke.feature b/gems/aws-sdk-route53/features/smoke.feature index f6d4a282504..cec98272cf4 100644 --- a/gems/aws-sdk-route53/features/smoke.feature +++ b/gems/aws-sdk-route53/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for Route53 -Background: - Given I create a client in region 'us-east-1' - @route53 @smoke - Scenario: Call Aws::Route53::Client#list_hosted_zones and expect it to succeed - When I call the operation 'list_hosted_zones' with params: - """ + Scenario: ListHostedZonesSuccess + Given I create a 'Aws::Route53' client with config: + """ +{"region":"us-east-1"} + """ + When I call the operation 'list_hosted_zones' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @route53 @smoke - Scenario: Call Aws::Aws::Route53::Client#get_hosted_zone and expect it to fail - When I call the operation 'get_hosted_zone' with params: - """ + Scenario: GetHostedZoneFailure + Given I create a 'Aws::Route53' client with config: + """ +{"region":"us-east-1"} + """ + When I call the operation 'get_hosted_zone' with params: + """ {"id":"fake-zone"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-route53/features/smoke_step_definitions.rb b/gems/aws-sdk-route53/features/smoke_step_definitions.rb deleted file mode 100644 index b7f4caf0ffa..00000000000 --- a/gems/aws-sdk-route53/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Route53::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Route53::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-route53domains/features/smoke.feature b/gems/aws-sdk-route53domains/features/smoke.feature index 5da41267f49..d4e33ee8f68 100644 --- a/gems/aws-sdk-route53domains/features/smoke.feature +++ b/gems/aws-sdk-route53domains/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for Route53Domains -Background: - Given I create a client in region 'us-east-1' - @route53domains @smoke - Scenario: Call Aws::Route53Domains::Client#list_domains and expect it to succeed - When I call the operation 'list_domains' with params: - """ + Scenario: ListDomainsSuccess + Given I create a 'Aws::Route53Domains' client with config: + """ +{"region":"us-east-1"} + """ + When I call the operation 'list_domains' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @route53domains @smoke - Scenario: Call Aws::Aws::Route53Domains::Client#get_domain_detail and expect it to fail - When I call the operation 'get_domain_detail' with params: - """ + Scenario: GetDomainDetailFailure + Given I create a 'Aws::Route53Domains' client with config: + """ +{"region":"us-east-1"} + """ + When I call the operation 'get_domain_detail' with params: + """ {"domain_name":"fake-domain-name"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-route53domains/features/smoke_step_definitions.rb b/gems/aws-sdk-route53domains/features/smoke_step_definitions.rb deleted file mode 100644 index 5ea6592b351..00000000000 --- a/gems/aws-sdk-route53domains/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Route53Domains::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Route53Domains::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-route53resolver/features/smoke.feature b/gems/aws-sdk-route53resolver/features/smoke.feature index 726ebe54f6f..e851b0a4fc0 100644 --- a/gems/aws-sdk-route53resolver/features/smoke.feature +++ b/gems/aws-sdk-route53resolver/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for Route53Resolver -Background: - Given I create a client in region 'us-west-2' - @route53resolver @smoke - Scenario: Call Aws::Route53Resolver::Client#list_resolver_endpoints and expect it to succeed - When I call the operation 'list_resolver_endpoints' with params: - """ + Scenario: ListResolverEndpointsSuccess + Given I create a 'Aws::Route53Resolver' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_resolver_endpoints' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @route53resolver @smoke - Scenario: Call Aws::Aws::Route53Resolver::Client#get_resolver_rule and expect it to fail - When I call the operation 'get_resolver_rule' with params: - """ + Scenario: GetResolverRuleFailure + Given I create a 'Aws::Route53Resolver' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'get_resolver_rule' with params: + """ {"resolver_rule_id":"fake-id"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-route53resolver/features/smoke_step_definitions.rb b/gems/aws-sdk-route53resolver/features/smoke_step_definitions.rb deleted file mode 100644 index f40ad1da5c4..00000000000 --- a/gems/aws-sdk-route53resolver/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Route53Resolver::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Route53Resolver::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-s3/features/smoke.feature b/gems/aws-sdk-s3/features/smoke.feature index 11142f10e5f..d7734b7ea9a 100644 --- a/gems/aws-sdk-s3/features/smoke.feature +++ b/gems/aws-sdk-s3/features/smoke.feature @@ -7,13 +7,14 @@ Feature: Smoke tests for S3 -Background: - Given I create a client in region 'us-west-2' - @s3 @smoke - Scenario: Call Aws::S3::Client#list_buckets and expect it to succeed - When I call the operation 'list_buckets' with params: - """ + Scenario: ListBucketsSuccess + Given I create a 'Aws::S3' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_buckets' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-s3/features/smoke_step_definitions.rb b/gems/aws-sdk-s3/features/smoke_step_definitions.rb deleted file mode 100644 index 4935c9fb972..00000000000 --- a/gems/aws-sdk-s3/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::S3::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::S3::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-secretsmanager/features/smoke.feature b/gems/aws-sdk-secretsmanager/features/smoke.feature index aba21abfd08..386461fdebb 100644 --- a/gems/aws-sdk-secretsmanager/features/smoke.feature +++ b/gems/aws-sdk-secretsmanager/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for SecretsManager -Background: - Given I create a client in region 'us-west-2' - @secretsmanager @smoke - Scenario: Call Aws::SecretsManager::Client#list_secrets and expect it to succeed - When I call the operation 'list_secrets' with params: - """ + Scenario: ListSecretsSuccess + Given I create a 'Aws::SecretsManager' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_secrets' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @secretsmanager @smoke - Scenario: Call Aws::Aws::SecretsManager::Client#describe_secret and expect it to fail - When I call the operation 'describe_secret' with params: - """ + Scenario: DescribeSecretFailure + Given I create a 'Aws::SecretsManager' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_secret' with params: + """ {"secret_id":"fake-secret-id"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-secretsmanager/features/smoke_step_definitions.rb b/gems/aws-sdk-secretsmanager/features/smoke_step_definitions.rb deleted file mode 100644 index 16e8a2b3b52..00000000000 --- a/gems/aws-sdk-secretsmanager/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::SecretsManager::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::SecretsManager::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-servicecatalog/features/smoke.feature b/gems/aws-sdk-servicecatalog/features/smoke.feature index 46782ba825a..0aa177a8e00 100644 --- a/gems/aws-sdk-servicecatalog/features/smoke.feature +++ b/gems/aws-sdk-servicecatalog/features/smoke.feature @@ -7,13 +7,14 @@ Feature: Smoke tests for ServiceCatalog -Background: - Given I create a client in region 'us-west-2' - @servicecatalog @smoke - Scenario: Call Aws::ServiceCatalog::Client#list_accepted_portfolio_shares and expect it to succeed - When I call the operation 'list_accepted_portfolio_shares' with params: - """ + Scenario: ListAcceptedPortfolioSharesSuccess + Given I create a 'Aws::ServiceCatalog' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_accepted_portfolio_shares' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-servicecatalog/features/smoke_step_definitions.rb b/gems/aws-sdk-servicecatalog/features/smoke_step_definitions.rb deleted file mode 100644 index 05f37f07391..00000000000 --- a/gems/aws-sdk-servicecatalog/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::ServiceCatalog::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::ServiceCatalog::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-ses/features/smoke.feature b/gems/aws-sdk-ses/features/smoke.feature index 54606dc170a..702a3d469c6 100644 --- a/gems/aws-sdk-ses/features/smoke.feature +++ b/gems/aws-sdk-ses/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for SES -Background: - Given I create a client in region 'us-west-2' - @ses @smoke - Scenario: Call Aws::SES::Client#list_identities and expect it to succeed - When I call the operation 'list_identities' with params: - """ + Scenario: ListIdentitiesSuccess + Given I create a 'Aws::SES' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_identities' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @ses @smoke - Scenario: Call Aws::Aws::SES::Client#verify_email_identity and expect it to fail - When I call the operation 'verify_email_identity' with params: - """ + Scenario: VerifyEmailIdentityFailure + Given I create a 'Aws::SES' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'verify_email_identity' with params: + """ {"email_address":"fake_email"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-ses/features/smoke_step_definitions.rb b/gems/aws-sdk-ses/features/smoke_step_definitions.rb deleted file mode 100644 index b57ad912a68..00000000000 --- a/gems/aws-sdk-ses/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::SES::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::SES::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-shield/features/smoke.feature b/gems/aws-sdk-shield/features/smoke.feature index 79c06573e7b..db1f3466374 100644 --- a/gems/aws-sdk-shield/features/smoke.feature +++ b/gems/aws-sdk-shield/features/smoke.feature @@ -7,13 +7,14 @@ Feature: Smoke tests for Shield -Background: - Given I create a client in region 'us-east-1' - @shield @smoke - Scenario: Call Aws::Shield::Client#list_attacks and expect it to succeed - When I call the operation 'list_attacks' with params: - """ + Scenario: ListAttacksSuccess + Given I create a 'Aws::Shield' client with config: + """ +{"region":"us-east-1"} + """ + When I call the operation 'list_attacks' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-shield/features/smoke_step_definitions.rb b/gems/aws-sdk-shield/features/smoke_step_definitions.rb deleted file mode 100644 index 0c1cfb49405..00000000000 --- a/gems/aws-sdk-shield/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Shield::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Shield::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-sms/features/smoke_step_definitions.rb b/gems/aws-sdk-sms/features/smoke_step_definitions.rb deleted file mode 100644 index 24e817e03d0..00000000000 --- a/gems/aws-sdk-sms/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::SMS::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::SMS::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-snowball/features/smoke.feature b/gems/aws-sdk-snowball/features/smoke.feature index 54ea9e40f8f..ceecc2f2f1a 100644 --- a/gems/aws-sdk-snowball/features/smoke.feature +++ b/gems/aws-sdk-snowball/features/smoke.feature @@ -7,13 +7,14 @@ Feature: Smoke tests for Snowball -Background: - Given I create a client in region 'us-west-2' - @snowball @smoke - Scenario: Call Aws::Snowball::Client#describe_addresses and expect it to succeed - When I call the operation 'describe_addresses' with params: - """ + Scenario: DescribeAddressesSuccess + Given I create a 'Aws::Snowball' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_addresses' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-snowball/features/smoke_step_definitions.rb b/gems/aws-sdk-snowball/features/smoke_step_definitions.rb deleted file mode 100644 index a631b8dc808..00000000000 --- a/gems/aws-sdk-snowball/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Snowball::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Snowball::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-sns/features/smoke.feature b/gems/aws-sdk-sns/features/smoke.feature index a54c191a103..2f5b8ece244 100644 --- a/gems/aws-sdk-sns/features/smoke.feature +++ b/gems/aws-sdk-sns/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for SNS -Background: - Given I create a client in region 'us-west-2' - @sns @smoke - Scenario: Call Aws::SNS::Client#list_topics and expect it to succeed - When I call the operation 'list_topics' with params: - """ + Scenario: ListTopicsSuccess + Given I create a 'Aws::SNS' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_topics' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @sns @smoke - Scenario: Call Aws::Aws::SNS::Client#publish and expect it to fail - When I call the operation 'publish' with params: - """ + Scenario: PublishFailure + Given I create a 'Aws::SNS' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'publish' with params: + """ {"message":"hello","topic_arn":"fake_topic"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-sns/features/smoke_step_definitions.rb b/gems/aws-sdk-sns/features/smoke_step_definitions.rb deleted file mode 100644 index f99493043d6..00000000000 --- a/gems/aws-sdk-sns/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::SNS::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::SNS::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-sqs/features/smoke.feature b/gems/aws-sdk-sqs/features/smoke.feature index 1130d68a0a6..74e9bf8a134 100644 --- a/gems/aws-sdk-sqs/features/smoke.feature +++ b/gems/aws-sdk-sqs/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for SQS -Background: - Given I create a client in region 'us-west-2' - @sqs @smoke - Scenario: Call Aws::SQS::Client#list_queues and expect it to succeed - When I call the operation 'list_queues' with params: - """ + Scenario: ListQueuesSuccess + Given I create a 'Aws::SQS' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_queues' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @sqs @smoke - Scenario: Call Aws::Aws::SQS::Client#get_queue_url and expect it to fail - When I call the operation 'get_queue_url' with params: - """ + Scenario: GetQueueUrlFailure + Given I create a 'Aws::SQS' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'get_queue_url' with params: + """ {"queue_name":"fake_queue"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-sqs/features/smoke_step_definitions.rb b/gems/aws-sdk-sqs/features/smoke_step_definitions.rb deleted file mode 100644 index 4ea73e37355..00000000000 --- a/gems/aws-sdk-sqs/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::SQS::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::SQS::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-ssm/features/smoke.feature b/gems/aws-sdk-ssm/features/smoke.feature index 21ee6dbd853..4765041f6a0 100644 --- a/gems/aws-sdk-ssm/features/smoke.feature +++ b/gems/aws-sdk-ssm/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for SSM -Background: - Given I create a client in region 'us-west-2' - @ssm @smoke - Scenario: Call Aws::SSM::Client#list_documents and expect it to succeed - When I call the operation 'list_documents' with params: - """ + Scenario: ListDocumentsSuccess + Given I create a 'Aws::SSM' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_documents' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @ssm @smoke - Scenario: Call Aws::Aws::SSM::Client#get_document and expect it to fail - When I call the operation 'get_document' with params: - """ + Scenario: GetDocumentFailure + Given I create a 'Aws::SSM' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'get_document' with params: + """ {"name":"'fake-name'"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-ssm/features/smoke_step_definitions.rb b/gems/aws-sdk-ssm/features/smoke_step_definitions.rb deleted file mode 100644 index b91325c8c40..00000000000 --- a/gems/aws-sdk-ssm/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::SSM::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::SSM::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-states/features/smoke.feature b/gems/aws-sdk-states/features/smoke.feature index bf4662604c0..b3d7338654b 100644 --- a/gems/aws-sdk-states/features/smoke.feature +++ b/gems/aws-sdk-states/features/smoke.feature @@ -7,13 +7,14 @@ Feature: Smoke tests for States -Background: - Given I create a client in region 'us-west-2' - @states @smoke - Scenario: Call Aws::States::Client#list_activities and expect it to succeed - When I call the operation 'list_activities' with params: - """ + Scenario: ListActivitiesSuccess + Given I create a 'Aws::States' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_activities' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-states/features/smoke_step_definitions.rb b/gems/aws-sdk-states/features/smoke_step_definitions.rb deleted file mode 100644 index 3229c63fee3..00000000000 --- a/gems/aws-sdk-states/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::States::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::States::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-support/features/smoke.feature b/gems/aws-sdk-support/features/smoke.feature index e26624d3ace..feb2bf9b29d 100644 --- a/gems/aws-sdk-support/features/smoke.feature +++ b/gems/aws-sdk-support/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for Support -Background: - Given I create a client in region 'us-east-1' - @support @smoke - Scenario: Call Aws::Support::Client#describe_services and expect it to succeed - When I call the operation 'describe_services' with params: - """ + Scenario: DescribeServicesSuccess + Given I create a 'Aws::Support' client with config: + """ +{"region":"us-east-1"} + """ + When I call the operation 'describe_services' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @support @smoke - Scenario: Call Aws::Aws::Support::Client#create_case and expect it to fail - When I call the operation 'create_case' with params: - """ + Scenario: CreateCaseFailure + Given I create a 'Aws::Support' client with config: + """ +{"region":"us-east-1"} + """ + When I call the operation 'create_case' with params: + """ {"subject":"subject","communication_body":"communication","category_code":"category","service_code":"amazon-dynamodb","severity_code":"low"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-support/features/smoke_step_definitions.rb b/gems/aws-sdk-support/features/smoke_step_definitions.rb deleted file mode 100644 index cb7dae0a2e4..00000000000 --- a/gems/aws-sdk-support/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::Support::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::Support::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-swf/features/smoke.feature b/gems/aws-sdk-swf/features/smoke.feature index 067496648ff..8033df5dd60 100644 --- a/gems/aws-sdk-swf/features/smoke.feature +++ b/gems/aws-sdk-swf/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for SWF -Background: - Given I create a client in region 'us-west-2' - @swf @smoke - Scenario: Call Aws::SWF::Client#list_domains and expect it to succeed - When I call the operation 'list_domains' with params: - """ + Scenario: ListDomainsSuccess + Given I create a 'Aws::SWF' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_domains' with params: + """ {"registration_status":"REGISTERED"} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @swf @smoke - Scenario: Call Aws::Aws::SWF::Client#describe_domain and expect it to fail - When I call the operation 'describe_domain' with params: - """ + Scenario: DescribeDomainFailure + Given I create a 'Aws::SWF' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_domain' with params: + """ {"name":"fake_domain"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-swf/features/smoke_step_definitions.rb b/gems/aws-sdk-swf/features/smoke_step_definitions.rb deleted file mode 100644 index cc878f7d9f4..00000000000 --- a/gems/aws-sdk-swf/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::SWF::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::SWF::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-verifiedpermissions/features/smoke_step_definitions.rb b/gems/aws-sdk-verifiedpermissions/features/smoke_step_definitions.rb deleted file mode 100644 index 43e24fd986a..00000000000 --- a/gems/aws-sdk-verifiedpermissions/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::VerifiedPermissions::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::VerifiedPermissions::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-waf/features/smoke.feature b/gems/aws-sdk-waf/features/smoke.feature index e52040d6644..17890d5bf23 100644 --- a/gems/aws-sdk-waf/features/smoke.feature +++ b/gems/aws-sdk-waf/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for WAF -Background: - Given I create a client in region 'us-east-1' - @waf @smoke - Scenario: Call Aws::WAF::Client#list_rules and expect it to succeed - When I call the operation 'list_rules' with params: - """ + Scenario: ListRulesSuccess + Given I create a 'Aws::WAF' client with config: + """ +{"region":"us-east-1"} + """ + When I call the operation 'list_rules' with params: + """ {"limit":20} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @waf @smoke - Scenario: Call Aws::Aws::WAF::Client#create_sql_injection_match_set and expect it to fail - When I call the operation 'create_sql_injection_match_set' with params: - """ + Scenario: CreateSqlInjectionMatchSetFailure + Given I create a 'Aws::WAF' client with config: + """ +{"region":"us-east-1"} + """ + When I call the operation 'create_sql_injection_match_set' with params: + """ {"name":"fake_name","change_token":"fake_token"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-waf/features/smoke_step_definitions.rb b/gems/aws-sdk-waf/features/smoke_step_definitions.rb deleted file mode 100644 index c96edca1c7e..00000000000 --- a/gems/aws-sdk-waf/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::WAF::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::WAF::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-wafregional/features/smoke.feature b/gems/aws-sdk-wafregional/features/smoke.feature index ec1e2717641..b6944b903c3 100644 --- a/gems/aws-sdk-wafregional/features/smoke.feature +++ b/gems/aws-sdk-wafregional/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for WAFRegional -Background: - Given I create a client in region 'us-east-1' - @wafregional @smoke - Scenario: Call Aws::WAFRegional::Client#list_rules and expect it to succeed - When I call the operation 'list_rules' with params: - """ + Scenario: ListRulesSuccess + Given I create a 'Aws::WAFRegional' client with config: + """ +{"region":"us-east-1"} + """ + When I call the operation 'list_rules' with params: + """ {"limit":20} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @wafregional @smoke - Scenario: Call Aws::Aws::WAFRegional::Client#create_sql_injection_match_set and expect it to fail - When I call the operation 'create_sql_injection_match_set' with params: - """ + Scenario: CreateSqlInjectionMatchSetFailure + Given I create a 'Aws::WAFRegional' client with config: + """ +{"region":"us-east-1"} + """ + When I call the operation 'create_sql_injection_match_set' with params: + """ {"name":"fake_name","change_token":"fake_token"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-wafregional/features/smoke_step_definitions.rb b/gems/aws-sdk-wafregional/features/smoke_step_definitions.rb deleted file mode 100644 index 95c88df62cb..00000000000 --- a/gems/aws-sdk-wafregional/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::WAFRegional::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::WAFRegional::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-wafv2/features/smoke.feature b/gems/aws-sdk-wafv2/features/smoke.feature index c7abba641cd..654325a5427 100644 --- a/gems/aws-sdk-wafv2/features/smoke.feature +++ b/gems/aws-sdk-wafv2/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for WAFV2 -Background: - Given I create a client in region 'us-east-1' - @wafv2 @smoke - Scenario: Call Aws::WAFV2::Client#list_web_acls and expect it to succeed - When I call the operation 'list_web_acls' with params: - """ + Scenario: ListWebACLsSuccess + Given I create a 'Aws::WAFV2' client with config: + """ +{"region":"us-east-1"} + """ + When I call the operation 'list_web_acls' with params: + """ {"scope":"REGIONAL","limit":20} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @wafv2 @smoke - Scenario: Call Aws::Aws::WAFV2::Client#create_regex_pattern_set and expect it to fail - When I call the operation 'create_regex_pattern_set' with params: - """ -{"name":"fake_name","scope":"fake_scope"} - """ - Then I expect an error was raised + Scenario: CreateRegexPatternSetFailure + Given I create a 'Aws::WAFV2' client with config: + """ +{"region":"us-east-1"} + """ + When I call the operation 'create_regex_pattern_set' with params: + """ +{"name":"fake_name","scope":"fake_scope","regular_expression_list":[{"regex_string":"fake_regex"}]} + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-wafv2/features/smoke_step_definitions.rb b/gems/aws-sdk-wafv2/features/smoke_step_definitions.rb deleted file mode 100644 index a20c417fab1..00000000000 --- a/gems/aws-sdk-wafv2/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::WAFV2::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::WAFV2::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-workspaces/features/smoke.feature b/gems/aws-sdk-workspaces/features/smoke.feature index 7351c10f8ed..0cf4d200936 100644 --- a/gems/aws-sdk-workspaces/features/smoke.feature +++ b/gems/aws-sdk-workspaces/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for WorkSpaces -Background: - Given I create a client in region 'us-west-2' - @workspaces @smoke - Scenario: Call Aws::WorkSpaces::Client#describe_workspaces and expect it to succeed - When I call the operation 'describe_workspaces' with params: - """ + Scenario: DescribeWorkspacesSuccess + Given I create a 'Aws::WorkSpaces' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_workspaces' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @workspaces @smoke - Scenario: Call Aws::Aws::WorkSpaces::Client#describe_workspaces and expect it to fail - When I call the operation 'describe_workspaces' with params: - """ + Scenario: DescribeWorkspacesFailure + Given I create a 'Aws::WorkSpaces' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_workspaces' with params: + """ {"directory_id":"fake-id"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-workspaces/features/smoke_step_definitions.rb b/gems/aws-sdk-workspaces/features/smoke_step_definitions.rb deleted file mode 100644 index efcf0b69eec..00000000000 --- a/gems/aws-sdk-workspaces/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::WorkSpaces::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::WorkSpaces::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end From 8207bbf3829c4d84bf938175f278b9a7f5e19796 Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Wed, 13 Dec 2023 18:31:34 -0500 Subject: [PATCH 05/10] Remove old smoke and sync new smoke --- apis/acm/2015-12-08/smoke-2.json | 50 ++++++++-------- apis/acm/2015-12-08/smoke.json | 18 ------ apis/amplifyuibuilder/2021-08-11/smoke.json | 6 -- apis/apigateway/2015-07-09/smoke-2.json | 54 ++++++++--------- apis/apigateway/2015-07-09/smoke.json | 20 ------- apis/appfabric/2023-05-19/smoke.json | 6 -- .../2016-02-06/smoke-2.json | 30 +++++----- .../2016-02-06/smoke.json | 13 ----- apis/appstream/2016-12-01/smoke-2.json | 26 ++++----- apis/appstream/2016-12-01/smoke.json | 11 ---- apis/athena/2017-05-18/smoke-2.json | 26 ++++----- apis/athena/2017-05-18/smoke.json | 11 ---- apis/autoscaling/2011-01-01/smoke-2.json | 54 ++++++++--------- apis/autoscaling/2011-01-01/smoke.json | 20 ------- apis/batch/2016-08-10/smoke-2.json | 26 ++++----- apis/batch/2016-08-10/smoke.json | 11 ---- apis/bedrock-runtime/2023-09-30/smoke.json | 6 -- apis/bedrock/2023-04-20/smoke.json | 6 -- apis/billingconductor/2021-07-30/smoke.json | 5 -- apis/cleanrooms/2022-02-17/smoke.json | 6 -- apis/cloudcontrol/2021-09-30/smoke.json | 8 --- apis/cloudformation/2010-05-15/smoke-2.json | 52 ++++++++--------- apis/cloudformation/2010-05-15/smoke.json | 19 ------ apis/cloudfront/2017-10-30/smoke.json | 20 ------- apis/cloudfront/2018-06-18/smoke.json | 20 ------- apis/cloudfront/2018-11-05/smoke.json | 20 ------- apis/cloudfront/2019-03-26/smoke.json | 20 ------- apis/cloudfront/2020-05-31/smoke-2.json | 27 +++++++++ apis/cloudfront/2020-05-31/smoke.json | 20 ------- apis/cloudhsmv2/2017-04-28/smoke-2.json | 50 ++++++++-------- apis/cloudhsmv2/2017-04-28/smoke.json | 18 ------ apis/cloudsearch/2013-01-01/smoke-2.json | 50 ++++++++-------- apis/cloudsearch/2013-01-01/smoke.json | 18 ------ apis/cloudtrail/2013-11-01/smoke-2.json | 50 ++++++++-------- apis/cloudtrail/2013-11-01/smoke.json | 18 ------ apis/codebuild/2016-10-06/smoke-2.json | 26 ++++----- apis/codebuild/2016-10-06/smoke.json | 11 ---- apis/codecatalyst/2022-09-28/smoke.json | 6 -- apis/codecommit/2015-04-13/smoke-2.json | 50 ++++++++-------- apis/codecommit/2015-04-13/smoke.json | 18 ------ apis/codedeploy/2014-10-06/smoke-2.json | 50 ++++++++-------- apis/codedeploy/2014-10-06/smoke.json | 18 ------ apis/codepipeline/2015-07-09/smoke-2.json | 50 ++++++++-------- apis/codepipeline/2015-07-09/smoke.json | 18 ------ apis/codestar/2017-04-19/smoke-2.json | 26 ++++----- apis/codestar/2017-04-19/smoke.json | 11 ---- apis/cognito-identity/2014-06-30/smoke-2.json | 54 ++++++++--------- apis/cognito-identity/2014-06-30/smoke.json | 20 ------- apis/cognito-idp/2016-04-18/smoke-2.json | 54 ++++++++--------- apis/cognito-idp/2016-04-18/smoke.json | 20 ------- apis/cognito-sync/2014-06-30/smoke-2.json | 50 ++++++++-------- apis/cognito-sync/2014-06-30/smoke.json | 18 ------ apis/config/2014-11-12/smoke-2.json | 52 ++++++++--------- apis/config/2014-11-12/smoke.json | 19 ------ apis/cur/2017-01-06/smoke-2.json | 26 ++++----- apis/cur/2017-01-06/smoke.json | 11 ---- apis/dataexchange/2017-07-25/smoke.json | 6 -- apis/devicefarm/2015-06-23/smoke-2.json | 50 ++++++++-------- apis/devicefarm/2015-06-23/smoke.json | 18 ------ apis/directconnect/2012-10-25/smoke-2.json | 50 ++++++++-------- apis/directconnect/2012-10-25/smoke.json | 18 ------ apis/discovery/2015-11-01/smoke-2.json | 26 ++++----- apis/discovery/2015-11-01/smoke.json | 11 ---- apis/dms/2016-01-01/smoke-2.json | 50 ++++++++-------- apis/dms/2016-01-01/smoke.json | 18 ------ apis/docdb/2014-10-31/smoke-2.json | 50 ++++++++-------- apis/docdb/2014-10-31/smoke.json | 18 ------ apis/ds/2015-04-16/smoke-2.json | 54 ++++++++--------- apis/ds/2015-04-16/smoke.json | 20 ------- apis/dynamodb/2011-12-05/smoke.json | 20 ------- apis/dynamodb/2012-08-10/smoke-2.json | 27 +++++++++ apis/dynamodb/2012-08-10/smoke.json | 20 ------- apis/ec2/2016-11-15/smoke-2.json | 52 ++++++++--------- apis/ec2/2016-11-15/smoke.json | 20 ------- apis/ecr/2015-09-21/smoke-2.json | 50 ++++++++-------- apis/ecr/2015-09-21/smoke.json | 18 ------ apis/ecs/2014-11-13/smoke-2.json | 50 ++++++++-------- apis/ecs/2014-11-13/smoke.json | 18 ------ apis/eks-auth/2023-11-26/smoke.json | 6 -- apis/elasticache/2015-02-02/smoke-2.json | 50 ++++++++-------- apis/elasticache/2015-02-02/smoke.json | 18 ------ apis/elasticbeanstalk/2010-12-01/smoke-2.json | 50 ++++++++-------- apis/elasticbeanstalk/2010-12-01/smoke.json | 18 ------ .../elasticfilesystem/2015-02-01/smoke-2.json | 50 ++++++++-------- apis/elasticfilesystem/2015-02-01/smoke.json | 18 ------ .../2012-06-01/smoke-2.json | 52 ++++++++--------- .../2012-06-01/smoke.json | 20 ------- .../2015-12-01/smoke-2.json | 52 ++++++++--------- .../2015-12-01/smoke.json | 20 ------- apis/elasticmapreduce/2009-03-31/smoke-2.json | 50 ++++++++-------- apis/elasticmapreduce/2009-03-31/smoke.json | 18 ------ .../elastictranscoder/2012-09-25/smoke-2.json | 50 ++++++++-------- apis/elastictranscoder/2012-09-25/smoke.json | 18 ------ apis/email/2010-12-01/smoke-2.json | 50 ++++++++-------- apis/email/2010-12-01/smoke.json | 18 ------ apis/es/2015-01-01/smoke-2.json | 50 ++++++++-------- apis/es/2015-01-01/smoke.json | 18 ------ apis/eventbridge/2015-10-07/smoke-2.json | 50 ++++++++-------- apis/eventbridge/2015-10-07/smoke.json | 18 ------ apis/events/2015-10-07/smoke-2.json | 50 ++++++++-------- apis/events/2015-10-07/smoke.json | 18 ------ apis/firehose/2015-08-04/smoke-2.json | 50 ++++++++-------- apis/firehose/2015-08-04/smoke.json | 18 ------ apis/gamelift/2015-10-01/smoke-2.json | 50 ++++++++-------- apis/gamelift/2015-10-01/smoke.json | 18 ------ apis/glacier/2012-06-01/smoke-2.json | 50 ++++++++-------- apis/glacier/2012-06-01/smoke.json | 18 ------ apis/glue/2017-03-31/smoke-2.json | 26 ++++----- apis/glue/2017-03-31/smoke.json | 11 ---- apis/iam/2010-05-08/smoke-2.json | 50 ++++++++-------- apis/iam/2010-05-08/smoke.json | 18 ------ apis/inspector/2016-02-16/smoke-2.json | 50 ++++++++-------- apis/inspector/2016-02-16/smoke.json | 18 ------ apis/internetmonitor/2021-06-03/smoke.json | 6 -- apis/iot-data/2015-05-28/smoke-2.json | 36 ++++++------ apis/iot-data/2015-05-28/smoke.json | 14 ----- apis/iot/2015-05-28/smoke-2.json | 50 ++++++++-------- apis/iot/2015-05-28/smoke.json | 18 ------ apis/iotfleetwise/2021-06-17/smoke.json | 6 -- apis/iottwinmaker/2021-11-29/smoke.json | 6 -- apis/keyspaces/2022-02-10/smoke.json | 6 -- apis/kinesis/2013-12-02/smoke-2.json | 50 ++++++++-------- apis/kinesis/2013-12-02/smoke.json | 18 ------ apis/kms/2014-11-01/smoke-2.json | 52 ++++++++--------- apis/kms/2014-11-01/smoke.json | 19 ------ apis/lambda/2015-03-31/smoke-2.json | 50 ++++++++-------- apis/lambda/2015-03-31/smoke.json | 18 ------ apis/lightsail/2016-11-28/smoke-2.json | 26 ++++----- apis/lightsail/2016-11-28/smoke.json | 11 ---- apis/logs/2014-03-28/smoke-2.json | 52 ++++++++--------- apis/logs/2014-03-28/smoke.json | 19 ------ .../2023-05-04/smoke.json | 6 -- .../2015-07-01/smoke-2.json | 38 ++++++------ .../2015-07-01/smoke.json | 17 ------ apis/mediapackagev2/2022-12-25/smoke.json | 6 -- apis/medical-imaging/2023-07-19/smoke.json | 6 -- .../2021-08-28/smoke.json | 6 -- apis/monitoring/2010-08-01/smoke-2.json | 58 +++++++++---------- apis/monitoring/2010-08-01/smoke.json | 22 ------- apis/mturk-requester/2017-01-17/smoke-2.json | 26 ++++----- apis/mturk-requester/2017-01-17/smoke.json | 11 ---- apis/neptune/2014-10-31/smoke-2.json | 50 ++++++++-------- apis/neptune/2014-10-31/smoke.json | 18 ------ apis/omics/2022-11-28/smoke.json | 6 -- apis/opensearch/2021-01-01/smoke-2.json | 50 ++++++++-------- apis/opensearch/2021-01-01/smoke.json | 18 ------ apis/opsworks/2013-02-18/smoke-2.json | 50 ++++++++-------- apis/opsworks/2013-02-18/smoke.json | 18 ------ .../2022-03-31/smoke.json | 6 -- apis/polly/2016-06-10/smoke-2.json | 26 ++++----- apis/polly/2016-06-10/smoke.json | 11 ---- apis/pricing/2017-10-15/smoke.json | 6 -- apis/rds/2013-01-10/smoke.json | 18 ------ apis/rds/2013-02-12/smoke.json | 18 ------ apis/rds/2013-09-09/smoke.json | 18 ------ apis/rds/2014-09-01/smoke.json | 18 ------ apis/rds/2014-10-31/smoke-2.json | 25 ++++++++ apis/rds/2014-10-31/smoke.json | 18 ------ apis/redshift/2012-12-01/smoke-2.json | 50 ++++++++-------- apis/redshift/2012-12-01/smoke.json | 18 ------ apis/rekognition/2016-06-27/smoke-2.json | 26 ++++----- apis/rekognition/2016-06-27/smoke.json | 11 ---- apis/route53/2013-04-01/smoke-2.json | 50 ++++++++-------- apis/route53/2013-04-01/smoke.json | 18 ------ apis/route53domains/2014-05-15/smoke-2.json | 50 ++++++++-------- apis/route53domains/2014-05-15/smoke.json | 18 ------ apis/route53resolver/2018-04-01/smoke-2.json | 50 ++++++++-------- apis/route53resolver/2018-04-01/smoke.json | 18 ------ apis/s3/2006-03-01/smoke-2.json | 26 ++++----- apis/s3/2006-03-01/smoke.json | 11 ---- apis/secretsmanager/2017-10-17/smoke-2.json | 50 ++++++++-------- apis/secretsmanager/2017-10-17/smoke.json | 18 ------ apis/servicecatalog/2015-12-10/smoke-2.json | 26 ++++----- apis/servicecatalog/2015-12-10/smoke.json | 11 ---- apis/shield/2016-06-02/smoke-2.json | 26 ++++----- apis/shield/2016-06-02/smoke.json | 11 ---- apis/sms/2016-10-24/smoke.json | 18 ------ apis/snowball/2016-06-30/smoke-2.json | 26 ++++----- apis/snowball/2016-06-30/smoke.json | 11 ---- apis/sns/2010-03-31/smoke-2.json | 52 ++++++++--------- apis/sns/2010-03-31/smoke.json | 19 ------ apis/sqs/2012-11-05/smoke-2.json | 50 ++++++++-------- apis/sqs/2012-11-05/smoke.json | 18 ------ apis/ssm/2014-11-06/smoke-2.json | 50 ++++++++-------- apis/ssm/2014-11-06/smoke.json | 18 ------ apis/states/2016-11-23/smoke-2.json | 26 ++++----- apis/states/2016-11-23/smoke.json | 11 ---- apis/sts/2011-06-15/smoke-2.json | 52 ++++++++--------- apis/sts/2011-06-15/smoke.json | 19 ------ apis/support/2013-04-15/smoke-2.json | 58 +++++++++---------- apis/support/2013-04-15/smoke.json | 22 ------- apis/swf/2012-01-25/smoke-2.json | 54 ++++++++--------- apis/swf/2012-01-25/smoke.json | 20 ------- .../verifiedpermissions/2021-12-01/smoke.json | 6 -- apis/waf-regional/2016-11-28/smoke-2.json | 56 +++++++++--------- apis/waf-regional/2016-11-28/smoke.json | 21 ------- apis/waf/2015-08-24/smoke-2.json | 56 +++++++++--------- apis/waf/2015-08-24/smoke.json | 21 ------- apis/wafv2/2019-07-29/smoke-2.json | 51 +++++++--------- apis/wafv2/2019-07-29/smoke.json | 22 ------- apis/workspaces/2015-04-08/smoke-2.json | 50 ++++++++-------- apis/workspaces/2015-04-08/smoke.json | 18 ------ 202 files changed, 1790 insertions(+), 3776 deletions(-) delete mode 100644 apis/acm/2015-12-08/smoke.json delete mode 100644 apis/amplifyuibuilder/2021-08-11/smoke.json delete mode 100644 apis/apigateway/2015-07-09/smoke.json delete mode 100644 apis/appfabric/2023-05-19/smoke.json delete mode 100644 apis/application-autoscaling/2016-02-06/smoke.json delete mode 100644 apis/appstream/2016-12-01/smoke.json delete mode 100644 apis/athena/2017-05-18/smoke.json delete mode 100644 apis/autoscaling/2011-01-01/smoke.json delete mode 100644 apis/batch/2016-08-10/smoke.json delete mode 100644 apis/bedrock-runtime/2023-09-30/smoke.json delete mode 100644 apis/bedrock/2023-04-20/smoke.json delete mode 100644 apis/billingconductor/2021-07-30/smoke.json delete mode 100644 apis/cleanrooms/2022-02-17/smoke.json delete mode 100644 apis/cloudcontrol/2021-09-30/smoke.json delete mode 100644 apis/cloudformation/2010-05-15/smoke.json delete mode 100644 apis/cloudfront/2017-10-30/smoke.json delete mode 100644 apis/cloudfront/2018-06-18/smoke.json delete mode 100644 apis/cloudfront/2018-11-05/smoke.json delete mode 100644 apis/cloudfront/2019-03-26/smoke.json create mode 100644 apis/cloudfront/2020-05-31/smoke-2.json delete mode 100644 apis/cloudfront/2020-05-31/smoke.json delete mode 100644 apis/cloudhsmv2/2017-04-28/smoke.json delete mode 100644 apis/cloudsearch/2013-01-01/smoke.json delete mode 100644 apis/cloudtrail/2013-11-01/smoke.json delete mode 100644 apis/codebuild/2016-10-06/smoke.json delete mode 100644 apis/codecatalyst/2022-09-28/smoke.json delete mode 100644 apis/codecommit/2015-04-13/smoke.json delete mode 100644 apis/codedeploy/2014-10-06/smoke.json delete mode 100644 apis/codepipeline/2015-07-09/smoke.json delete mode 100644 apis/codestar/2017-04-19/smoke.json delete mode 100644 apis/cognito-identity/2014-06-30/smoke.json delete mode 100644 apis/cognito-idp/2016-04-18/smoke.json delete mode 100644 apis/cognito-sync/2014-06-30/smoke.json delete mode 100644 apis/config/2014-11-12/smoke.json delete mode 100644 apis/cur/2017-01-06/smoke.json delete mode 100644 apis/dataexchange/2017-07-25/smoke.json delete mode 100644 apis/devicefarm/2015-06-23/smoke.json delete mode 100644 apis/directconnect/2012-10-25/smoke.json delete mode 100644 apis/discovery/2015-11-01/smoke.json delete mode 100644 apis/dms/2016-01-01/smoke.json delete mode 100644 apis/docdb/2014-10-31/smoke.json delete mode 100644 apis/ds/2015-04-16/smoke.json delete mode 100644 apis/dynamodb/2011-12-05/smoke.json create mode 100644 apis/dynamodb/2012-08-10/smoke-2.json delete mode 100644 apis/dynamodb/2012-08-10/smoke.json delete mode 100644 apis/ec2/2016-11-15/smoke.json delete mode 100644 apis/ecr/2015-09-21/smoke.json delete mode 100644 apis/ecs/2014-11-13/smoke.json delete mode 100644 apis/eks-auth/2023-11-26/smoke.json delete mode 100644 apis/elasticache/2015-02-02/smoke.json delete mode 100644 apis/elasticbeanstalk/2010-12-01/smoke.json delete mode 100644 apis/elasticfilesystem/2015-02-01/smoke.json delete mode 100644 apis/elasticloadbalancing/2012-06-01/smoke.json delete mode 100644 apis/elasticloadbalancingv2/2015-12-01/smoke.json delete mode 100644 apis/elasticmapreduce/2009-03-31/smoke.json delete mode 100644 apis/elastictranscoder/2012-09-25/smoke.json delete mode 100644 apis/email/2010-12-01/smoke.json delete mode 100644 apis/es/2015-01-01/smoke.json delete mode 100644 apis/eventbridge/2015-10-07/smoke.json delete mode 100644 apis/events/2015-10-07/smoke.json delete mode 100644 apis/firehose/2015-08-04/smoke.json delete mode 100644 apis/gamelift/2015-10-01/smoke.json delete mode 100644 apis/glacier/2012-06-01/smoke.json delete mode 100644 apis/glue/2017-03-31/smoke.json delete mode 100644 apis/iam/2010-05-08/smoke.json delete mode 100644 apis/inspector/2016-02-16/smoke.json delete mode 100644 apis/internetmonitor/2021-06-03/smoke.json delete mode 100644 apis/iot-data/2015-05-28/smoke.json delete mode 100644 apis/iot/2015-05-28/smoke.json delete mode 100644 apis/iotfleetwise/2021-06-17/smoke.json delete mode 100644 apis/iottwinmaker/2021-11-29/smoke.json delete mode 100644 apis/keyspaces/2022-02-10/smoke.json delete mode 100644 apis/kinesis/2013-12-02/smoke.json delete mode 100644 apis/kms/2014-11-01/smoke.json delete mode 100644 apis/lambda/2015-03-31/smoke.json delete mode 100644 apis/lightsail/2016-11-28/smoke.json delete mode 100644 apis/logs/2014-03-28/smoke.json delete mode 100644 apis/managedblockchain-query/2023-05-04/smoke.json delete mode 100644 apis/marketplacecommerceanalytics/2015-07-01/smoke.json delete mode 100644 apis/mediapackagev2/2022-12-25/smoke.json delete mode 100644 apis/medical-imaging/2023-07-19/smoke.json delete mode 100644 apis/migrationhuborchestrator/2021-08-28/smoke.json delete mode 100644 apis/monitoring/2010-08-01/smoke.json delete mode 100644 apis/mturk-requester/2017-01-17/smoke.json delete mode 100644 apis/neptune/2014-10-31/smoke.json delete mode 100644 apis/omics/2022-11-28/smoke.json delete mode 100644 apis/opensearch/2021-01-01/smoke.json delete mode 100644 apis/opsworks/2013-02-18/smoke.json delete mode 100644 apis/pinpoint-sms-voice-v2/2022-03-31/smoke.json delete mode 100644 apis/polly/2016-06-10/smoke.json delete mode 100644 apis/pricing/2017-10-15/smoke.json delete mode 100644 apis/rds/2013-01-10/smoke.json delete mode 100644 apis/rds/2013-02-12/smoke.json delete mode 100644 apis/rds/2013-09-09/smoke.json delete mode 100644 apis/rds/2014-09-01/smoke.json create mode 100644 apis/rds/2014-10-31/smoke-2.json delete mode 100644 apis/rds/2014-10-31/smoke.json delete mode 100644 apis/redshift/2012-12-01/smoke.json delete mode 100644 apis/rekognition/2016-06-27/smoke.json delete mode 100644 apis/route53/2013-04-01/smoke.json delete mode 100644 apis/route53domains/2014-05-15/smoke.json delete mode 100644 apis/route53resolver/2018-04-01/smoke.json delete mode 100644 apis/s3/2006-03-01/smoke.json delete mode 100644 apis/secretsmanager/2017-10-17/smoke.json delete mode 100644 apis/servicecatalog/2015-12-10/smoke.json delete mode 100644 apis/shield/2016-06-02/smoke.json delete mode 100644 apis/sms/2016-10-24/smoke.json delete mode 100644 apis/snowball/2016-06-30/smoke.json delete mode 100644 apis/sns/2010-03-31/smoke.json delete mode 100644 apis/sqs/2012-11-05/smoke.json delete mode 100644 apis/ssm/2014-11-06/smoke.json delete mode 100644 apis/states/2016-11-23/smoke.json delete mode 100644 apis/sts/2011-06-15/smoke.json delete mode 100644 apis/support/2013-04-15/smoke.json delete mode 100644 apis/swf/2012-01-25/smoke.json delete mode 100644 apis/verifiedpermissions/2021-12-01/smoke.json delete mode 100644 apis/waf-regional/2016-11-28/smoke.json delete mode 100644 apis/waf/2015-08-24/smoke.json delete mode 100644 apis/wafv2/2019-07-29/smoke.json delete mode 100644 apis/workspaces/2015-04-08/smoke.json diff --git a/apis/acm/2015-12-08/smoke-2.json b/apis/acm/2015-12-08/smoke-2.json index 7fcfac29be4..30356387ad9 100644 --- a/apis/acm/2015-12-08/smoke-2.json +++ b/apis/acm/2015-12-08/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListCertificatesSuccess", - "operationName": "ListCertificates", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "GetCertificateFailure", - "operationName": "GetCertificate", - "input": { - "CertificateArn": "arn:aws:acm:region:123456789012:certificate\/12345678-1234-1234-1234-123456789012" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListCertificatesSuccess", + "operationName": "ListCertificates", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "GetCertificateFailure", + "operationName": "GetCertificate", + "input": { + "CertificateArn": "arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/acm/2015-12-08/smoke.json b/apis/acm/2015-12-08/smoke.json deleted file mode 100644 index 12c425a62a1..00000000000 --- a/apis/acm/2015-12-08/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListCertificates", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "GetCertificate", - "input": { - "CertificateArn": "arn:aws:acm:region:123456789012:certificate\/12345678-1234-1234-1234-123456789012" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/amplifyuibuilder/2021-08-11/smoke.json b/apis/amplifyuibuilder/2021-08-11/smoke.json deleted file mode 100644 index a9756813e4a..00000000000 --- a/apis/amplifyuibuilder/2021-08-11/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} diff --git a/apis/apigateway/2015-07-09/smoke-2.json b/apis/apigateway/2015-07-09/smoke-2.json index 017484d576a..8ad793a3a72 100644 --- a/apis/apigateway/2015-07-09/smoke-2.json +++ b/apis/apigateway/2015-07-09/smoke-2.json @@ -1,31 +1,27 @@ { - "version": 2, - "testCases": [ - { - "id": "GetDomainNamesSuccess", - "operationName": "GetDomainNames", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "CreateUsagePlanKeyFailure", - "operationName": "CreateUsagePlanKey", - "input": { - "usagePlanId": "foo", - "keyId": "bar", - "keyType": "fixx" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "GetDomainNamesSuccess", + "operationName": "GetDomainNames", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "CreateUsagePlanKeyFailure", + "operationName": "CreateUsagePlanKey", + "input": { + "usagePlanId": "foo", + "keyId": "bar", + "keyType": "fixx" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/apigateway/2015-07-09/smoke.json b/apis/apigateway/2015-07-09/smoke.json deleted file mode 100644 index 205de071caf..00000000000 --- a/apis/apigateway/2015-07-09/smoke.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "GetDomainNames", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "CreateUsagePlanKey", - "input": { - "usagePlanId": "foo", - "keyId": "bar", - "keyType": "fixx" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/appfabric/2023-05-19/smoke.json b/apis/appfabric/2023-05-19/smoke.json deleted file mode 100644 index a9756813e4a..00000000000 --- a/apis/appfabric/2023-05-19/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} diff --git a/apis/application-autoscaling/2016-02-06/smoke-2.json b/apis/application-autoscaling/2016-02-06/smoke-2.json index aee83d15c0a..77f59061fe3 100644 --- a/apis/application-autoscaling/2016-02-06/smoke-2.json +++ b/apis/application-autoscaling/2016-02-06/smoke-2.json @@ -1,18 +1,16 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeScalableTargetsSuccess", - "operationName": "DescribeScalableTargets", - "input": { - "ServiceNamespace": "ec2" - }, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeScalableTargetsSuccess", + "operationName": "DescribeScalableTargets", + "input": { + "ServiceNamespace": "ec2" + }, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/application-autoscaling/2016-02-06/smoke.json b/apis/application-autoscaling/2016-02-06/smoke.json deleted file mode 100644 index 2d1265602c2..00000000000 --- a/apis/application-autoscaling/2016-02-06/smoke.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeScalableTargets", - "input": { - "ServiceNamespace": "ec2" - }, - "errorExpectedFromService": false - } - ] -} \ No newline at end of file diff --git a/apis/appstream/2016-12-01/smoke-2.json b/apis/appstream/2016-12-01/smoke-2.json index 1c8475544b2..b49e58e744b 100644 --- a/apis/appstream/2016-12-01/smoke-2.json +++ b/apis/appstream/2016-12-01/smoke-2.json @@ -1,16 +1,14 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeStacksSuccess", - "operationName": "DescribeStacks", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeStacksSuccess", + "operationName": "DescribeStacks", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/appstream/2016-12-01/smoke.json b/apis/appstream/2016-12-01/smoke.json deleted file mode 100644 index 49dca4295b2..00000000000 --- a/apis/appstream/2016-12-01/smoke.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeStacks", - "input": {}, - "errorExpectedFromService": false - } - ] -} diff --git a/apis/athena/2017-05-18/smoke-2.json b/apis/athena/2017-05-18/smoke-2.json index d1a78bf148c..f1a263c43fe 100644 --- a/apis/athena/2017-05-18/smoke-2.json +++ b/apis/athena/2017-05-18/smoke-2.json @@ -1,16 +1,14 @@ { - "version": 2, - "testCases": [ - { - "id": "ListNamedQueriesSuccess", - "operationName": "ListNamedQueries", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListNamedQueriesSuccess", + "operationName": "ListNamedQueries", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/athena/2017-05-18/smoke.json b/apis/athena/2017-05-18/smoke.json deleted file mode 100644 index a3c06685f79..00000000000 --- a/apis/athena/2017-05-18/smoke.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListNamedQueries", - "input": {}, - "errorExpectedFromService": false - } - ] -} diff --git a/apis/autoscaling/2011-01-01/smoke-2.json b/apis/autoscaling/2011-01-01/smoke-2.json index 6d5587f898d..b82a1bd0a23 100644 --- a/apis/autoscaling/2011-01-01/smoke-2.json +++ b/apis/autoscaling/2011-01-01/smoke-2.json @@ -1,31 +1,27 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeScalingProcessTypesSuccess", - "operationName": "DescribeScalingProcessTypes", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "CreateLaunchConfigurationFailure", - "operationName": "CreateLaunchConfiguration", - "input": { - "LaunchConfigurationName": "hello, world", - "ImageId": "ami-12345678", - "InstanceType": "m1.small" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeScalingProcessTypesSuccess", + "operationName": "DescribeScalingProcessTypes", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "CreateLaunchConfigurationFailure", + "operationName": "CreateLaunchConfiguration", + "input": { + "LaunchConfigurationName": "hello, world", + "ImageId": "ami-12345678", + "InstanceType": "m1.small" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/autoscaling/2011-01-01/smoke.json b/apis/autoscaling/2011-01-01/smoke.json deleted file mode 100644 index 0b48da94fe5..00000000000 --- a/apis/autoscaling/2011-01-01/smoke.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeScalingProcessTypes", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "CreateLaunchConfiguration", - "input": { - "LaunchConfigurationName": "hello, world", - "ImageId": "ami-12345678", - "InstanceType": "m1.small" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/batch/2016-08-10/smoke-2.json b/apis/batch/2016-08-10/smoke-2.json index 3b0f5cc4787..871afa23624 100644 --- a/apis/batch/2016-08-10/smoke-2.json +++ b/apis/batch/2016-08-10/smoke-2.json @@ -1,16 +1,14 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeComputeEnvironmentsSuccess", - "operationName": "DescribeComputeEnvironments", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeComputeEnvironmentsSuccess", + "operationName": "DescribeComputeEnvironments", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/batch/2016-08-10/smoke.json b/apis/batch/2016-08-10/smoke.json deleted file mode 100644 index 124e17e638d..00000000000 --- a/apis/batch/2016-08-10/smoke.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeComputeEnvironments", - "input": {}, - "errorExpectedFromService": false - } - ] -} diff --git a/apis/bedrock-runtime/2023-09-30/smoke.json b/apis/bedrock-runtime/2023-09-30/smoke.json deleted file mode 100644 index 047a1d85ef7..00000000000 --- a/apis/bedrock-runtime/2023-09-30/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} \ No newline at end of file diff --git a/apis/bedrock/2023-04-20/smoke.json b/apis/bedrock/2023-04-20/smoke.json deleted file mode 100644 index 047a1d85ef7..00000000000 --- a/apis/bedrock/2023-04-20/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} \ No newline at end of file diff --git a/apis/billingconductor/2021-07-30/smoke.json b/apis/billingconductor/2021-07-30/smoke.json deleted file mode 100644 index ece3751f538..00000000000 --- a/apis/billingconductor/2021-07-30/smoke.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-east-1", - "testCases": [] -} diff --git a/apis/cleanrooms/2022-02-17/smoke.json b/apis/cleanrooms/2022-02-17/smoke.json deleted file mode 100644 index a9756813e4a..00000000000 --- a/apis/cleanrooms/2022-02-17/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} diff --git a/apis/cloudcontrol/2021-09-30/smoke.json b/apis/cloudcontrol/2021-09-30/smoke.json deleted file mode 100644 index 35901fd4c88..00000000000 --- a/apis/cloudcontrol/2021-09-30/smoke.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} - - \ No newline at end of file diff --git a/apis/cloudformation/2010-05-15/smoke-2.json b/apis/cloudformation/2010-05-15/smoke-2.json index f283775b7b0..0af8783b6a5 100644 --- a/apis/cloudformation/2010-05-15/smoke-2.json +++ b/apis/cloudformation/2010-05-15/smoke-2.json @@ -1,30 +1,26 @@ { - "version": 2, - "testCases": [ - { - "id": "ListStacksSuccess", - "operationName": "ListStacks", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "CreateStackFailure", - "operationName": "CreateStack", - "input": { - "StackName": "fakestack", - "TemplateURL": "http:\/\/s3.amazonaws.com\/foo\/bar" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListStacksSuccess", + "operationName": "ListStacks", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "CreateStackFailure", + "operationName": "CreateStack", + "input": { + "StackName": "fakestack", + "TemplateURL": "http://s3.amazonaws.com/foo/bar" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/cloudformation/2010-05-15/smoke.json b/apis/cloudformation/2010-05-15/smoke.json deleted file mode 100644 index ae27d0e7fe7..00000000000 --- a/apis/cloudformation/2010-05-15/smoke.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListStacks", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "CreateStack", - "input": { - "StackName": "fakestack", - "TemplateURL": "http:\/\/s3.amazonaws.com\/foo\/bar" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/cloudfront/2017-10-30/smoke.json b/apis/cloudfront/2017-10-30/smoke.json deleted file mode 100644 index f11e6972b27..00000000000 --- a/apis/cloudfront/2017-10-30/smoke.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-east-1", - "testCases": [ - { - "operationName": "ListCloudFrontOriginAccessIdentities", - "input": { - "MaxItems": "1" - }, - "errorExpectedFromService": false - }, - { - "operationName": "GetDistribution", - "input": { - "Id": "fake-id" - }, - "errorExpectedFromService": true - } - ] -} \ No newline at end of file diff --git a/apis/cloudfront/2018-06-18/smoke.json b/apis/cloudfront/2018-06-18/smoke.json deleted file mode 100644 index f11e6972b27..00000000000 --- a/apis/cloudfront/2018-06-18/smoke.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-east-1", - "testCases": [ - { - "operationName": "ListCloudFrontOriginAccessIdentities", - "input": { - "MaxItems": "1" - }, - "errorExpectedFromService": false - }, - { - "operationName": "GetDistribution", - "input": { - "Id": "fake-id" - }, - "errorExpectedFromService": true - } - ] -} \ No newline at end of file diff --git a/apis/cloudfront/2018-11-05/smoke.json b/apis/cloudfront/2018-11-05/smoke.json deleted file mode 100644 index f11e6972b27..00000000000 --- a/apis/cloudfront/2018-11-05/smoke.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-east-1", - "testCases": [ - { - "operationName": "ListCloudFrontOriginAccessIdentities", - "input": { - "MaxItems": "1" - }, - "errorExpectedFromService": false - }, - { - "operationName": "GetDistribution", - "input": { - "Id": "fake-id" - }, - "errorExpectedFromService": true - } - ] -} \ No newline at end of file diff --git a/apis/cloudfront/2019-03-26/smoke.json b/apis/cloudfront/2019-03-26/smoke.json deleted file mode 100644 index f11e6972b27..00000000000 --- a/apis/cloudfront/2019-03-26/smoke.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-east-1", - "testCases": [ - { - "operationName": "ListCloudFrontOriginAccessIdentities", - "input": { - "MaxItems": "1" - }, - "errorExpectedFromService": false - }, - { - "operationName": "GetDistribution", - "input": { - "Id": "fake-id" - }, - "errorExpectedFromService": true - } - ] -} \ No newline at end of file diff --git a/apis/cloudfront/2020-05-31/smoke-2.json b/apis/cloudfront/2020-05-31/smoke-2.json new file mode 100644 index 00000000000..487f1a0599e --- /dev/null +++ b/apis/cloudfront/2020-05-31/smoke-2.json @@ -0,0 +1,27 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListCloudFrontOriginAccessIdentitiesSuccess", + "operationName": "ListCloudFrontOriginAccessIdentities", + "input": { + "MaxItems": "1" + }, + "expectation": { + "success": {} + }, + "config": { "region": "us-east-1" } + }, + { + "id": "GetDistributionFailure", + "operationName": "GetDistribution", + "input": { + "Id": "fake-id" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-east-1" } + } + ] +} diff --git a/apis/cloudfront/2020-05-31/smoke.json b/apis/cloudfront/2020-05-31/smoke.json deleted file mode 100644 index f11e6972b27..00000000000 --- a/apis/cloudfront/2020-05-31/smoke.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-east-1", - "testCases": [ - { - "operationName": "ListCloudFrontOriginAccessIdentities", - "input": { - "MaxItems": "1" - }, - "errorExpectedFromService": false - }, - { - "operationName": "GetDistribution", - "input": { - "Id": "fake-id" - }, - "errorExpectedFromService": true - } - ] -} \ No newline at end of file diff --git a/apis/cloudhsmv2/2017-04-28/smoke-2.json b/apis/cloudhsmv2/2017-04-28/smoke-2.json index 330e141f072..b4272d1c2b4 100644 --- a/apis/cloudhsmv2/2017-04-28/smoke-2.json +++ b/apis/cloudhsmv2/2017-04-28/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeClustersSuccess", - "operationName": "DescribeClusters", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "ListTagsFailure", - "operationName": "ListTags", - "input": { - "ResourceId": "bogus-arn" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeClustersSuccess", + "operationName": "DescribeClusters", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "ListTagsFailure", + "operationName": "ListTags", + "input": { + "ResourceId": "bogus-arn" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/cloudhsmv2/2017-04-28/smoke.json b/apis/cloudhsmv2/2017-04-28/smoke.json deleted file mode 100644 index 9f6241770b8..00000000000 --- a/apis/cloudhsmv2/2017-04-28/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeClusters", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "ListTags", - "input": { - "ResourceId": "bogus-arn" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/cloudsearch/2013-01-01/smoke-2.json b/apis/cloudsearch/2013-01-01/smoke-2.json index 34edeab8e57..4e4ae3859e0 100644 --- a/apis/cloudsearch/2013-01-01/smoke-2.json +++ b/apis/cloudsearch/2013-01-01/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeDomainsSuccess", - "operationName": "DescribeDomains", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeIndexFieldsFailure", - "operationName": "DescribeIndexFields", - "input": { - "DomainName": "fakedomain" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeDomainsSuccess", + "operationName": "DescribeDomains", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeIndexFieldsFailure", + "operationName": "DescribeIndexFields", + "input": { + "DomainName": "fakedomain" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/cloudsearch/2013-01-01/smoke.json b/apis/cloudsearch/2013-01-01/smoke.json deleted file mode 100644 index 04457b247af..00000000000 --- a/apis/cloudsearch/2013-01-01/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeDomains", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeIndexFields", - "input": { - "DomainName": "fakedomain" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/cloudtrail/2013-11-01/smoke-2.json b/apis/cloudtrail/2013-11-01/smoke-2.json index 60889825d4a..56e9cfde6e6 100644 --- a/apis/cloudtrail/2013-11-01/smoke-2.json +++ b/apis/cloudtrail/2013-11-01/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeTrailsSuccess", - "operationName": "DescribeTrails", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DeleteTrailFailure", - "operationName": "DeleteTrail", - "input": { - "Name": "faketrail" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeTrailsSuccess", + "operationName": "DescribeTrails", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DeleteTrailFailure", + "operationName": "DeleteTrail", + "input": { + "Name": "faketrail" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/cloudtrail/2013-11-01/smoke.json b/apis/cloudtrail/2013-11-01/smoke.json deleted file mode 100644 index 4addfa985f3..00000000000 --- a/apis/cloudtrail/2013-11-01/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeTrails", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DeleteTrail", - "input": { - "Name": "faketrail" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/codebuild/2016-10-06/smoke-2.json b/apis/codebuild/2016-10-06/smoke-2.json index 259d5b36c95..08982a15a8c 100644 --- a/apis/codebuild/2016-10-06/smoke-2.json +++ b/apis/codebuild/2016-10-06/smoke-2.json @@ -1,16 +1,14 @@ { - "version": 2, - "testCases": [ - { - "id": "ListBuildsSuccess", - "operationName": "ListBuilds", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListBuildsSuccess", + "operationName": "ListBuilds", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/codebuild/2016-10-06/smoke.json b/apis/codebuild/2016-10-06/smoke.json deleted file mode 100644 index 82c1af7a7ed..00000000000 --- a/apis/codebuild/2016-10-06/smoke.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListBuilds", - "input": {}, - "errorExpectedFromService": false - } - ] -} diff --git a/apis/codecatalyst/2022-09-28/smoke.json b/apis/codecatalyst/2022-09-28/smoke.json deleted file mode 100644 index a9756813e4a..00000000000 --- a/apis/codecatalyst/2022-09-28/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} diff --git a/apis/codecommit/2015-04-13/smoke-2.json b/apis/codecommit/2015-04-13/smoke-2.json index 7e2a5b22947..a5b560d9cd8 100644 --- a/apis/codecommit/2015-04-13/smoke-2.json +++ b/apis/codecommit/2015-04-13/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListRepositoriesSuccess", - "operationName": "ListRepositories", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "ListBranchesFailure", - "operationName": "ListBranches", - "input": { - "repositoryName": "fake-repo" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListRepositoriesSuccess", + "operationName": "ListRepositories", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "ListBranchesFailure", + "operationName": "ListBranches", + "input": { + "repositoryName": "fake-repo" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/codecommit/2015-04-13/smoke.json b/apis/codecommit/2015-04-13/smoke.json deleted file mode 100644 index 479bdf8408b..00000000000 --- a/apis/codecommit/2015-04-13/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListRepositories", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "ListBranches", - "input": { - "repositoryName": "fake-repo" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/codedeploy/2014-10-06/smoke-2.json b/apis/codedeploy/2014-10-06/smoke-2.json index bb1c40b0111..0692030d568 100644 --- a/apis/codedeploy/2014-10-06/smoke-2.json +++ b/apis/codedeploy/2014-10-06/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListApplicationsSuccess", - "operationName": "ListApplications", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "GetDeploymentFailure", - "operationName": "GetDeployment", - "input": { - "deploymentId": "d-USUAELQEX" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListApplicationsSuccess", + "operationName": "ListApplications", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "GetDeploymentFailure", + "operationName": "GetDeployment", + "input": { + "deploymentId": "d-USUAELQEX" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/codedeploy/2014-10-06/smoke.json b/apis/codedeploy/2014-10-06/smoke.json deleted file mode 100644 index c149dda6b6f..00000000000 --- a/apis/codedeploy/2014-10-06/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListApplications", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "GetDeployment", - "input": { - "deploymentId": "d-USUAELQEX" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/codepipeline/2015-07-09/smoke-2.json b/apis/codepipeline/2015-07-09/smoke-2.json index 02f0552fb58..e5759b7ec30 100644 --- a/apis/codepipeline/2015-07-09/smoke-2.json +++ b/apis/codepipeline/2015-07-09/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListPipelinesSuccess", - "operationName": "ListPipelines", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "GetPipelineFailure", - "operationName": "GetPipeline", - "input": { - "name": "fake-pipeline" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListPipelinesSuccess", + "operationName": "ListPipelines", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "GetPipelineFailure", + "operationName": "GetPipeline", + "input": { + "name": "fake-pipeline" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/codepipeline/2015-07-09/smoke.json b/apis/codepipeline/2015-07-09/smoke.json deleted file mode 100644 index 82331c3756f..00000000000 --- a/apis/codepipeline/2015-07-09/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListPipelines", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "GetPipeline", - "input": { - "name": "fake-pipeline" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/codestar/2017-04-19/smoke-2.json b/apis/codestar/2017-04-19/smoke-2.json index fadaeebde66..34b2b2e3991 100644 --- a/apis/codestar/2017-04-19/smoke-2.json +++ b/apis/codestar/2017-04-19/smoke-2.json @@ -1,16 +1,14 @@ { - "version": 2, - "testCases": [ - { - "id": "ListProjectsSuccess", - "operationName": "ListProjects", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListProjectsSuccess", + "operationName": "ListProjects", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/codestar/2017-04-19/smoke.json b/apis/codestar/2017-04-19/smoke.json deleted file mode 100644 index a069adfb916..00000000000 --- a/apis/codestar/2017-04-19/smoke.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListProjects", - "input": {}, - "errorExpectedFromService": false - } - ] -} diff --git a/apis/cognito-identity/2014-06-30/smoke-2.json b/apis/cognito-identity/2014-06-30/smoke-2.json index 564a49f55c9..59c7838657e 100644 --- a/apis/cognito-identity/2014-06-30/smoke-2.json +++ b/apis/cognito-identity/2014-06-30/smoke-2.json @@ -1,31 +1,27 @@ { - "version": 2, - "testCases": [ - { - "id": "ListIdentityPoolsSuccess", - "operationName": "ListIdentityPools", - "input": { - "MaxResults": 10 - }, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeIdentityPoolFailure", - "operationName": "DescribeIdentityPool", - "input": { - "IdentityPoolId": "us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListIdentityPoolsSuccess", + "operationName": "ListIdentityPools", + "input": { + "MaxResults": 10 + }, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeIdentityPoolFailure", + "operationName": "DescribeIdentityPool", + "input": { + "IdentityPoolId": "us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/cognito-identity/2014-06-30/smoke.json b/apis/cognito-identity/2014-06-30/smoke.json deleted file mode 100644 index e4a6dd6a358..00000000000 --- a/apis/cognito-identity/2014-06-30/smoke.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListIdentityPools", - "input": { - "MaxResults": 10 - }, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeIdentityPool", - "input": { - "IdentityPoolId": "us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" - }, - "errorExpectedFromService": true - } - ] -} \ No newline at end of file diff --git a/apis/cognito-idp/2016-04-18/smoke-2.json b/apis/cognito-idp/2016-04-18/smoke-2.json index 50f0a942d88..f84a4e70644 100644 --- a/apis/cognito-idp/2016-04-18/smoke-2.json +++ b/apis/cognito-idp/2016-04-18/smoke-2.json @@ -1,31 +1,27 @@ { - "version": 2, - "testCases": [ - { - "id": "ListUserPoolsSuccess", - "operationName": "ListUserPools", - "input": { - "MaxResults": 10 - }, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeUserPoolFailure", - "operationName": "DescribeUserPool", - "input": { - "UserPoolId": "us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListUserPoolsSuccess", + "operationName": "ListUserPools", + "input": { + "MaxResults": 10 + }, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeUserPoolFailure", + "operationName": "DescribeUserPool", + "input": { + "UserPoolId": "us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/cognito-idp/2016-04-18/smoke.json b/apis/cognito-idp/2016-04-18/smoke.json deleted file mode 100644 index 939ddf16d8d..00000000000 --- a/apis/cognito-idp/2016-04-18/smoke.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListUserPools", - "input": { - "MaxResults": 10 - }, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeUserPool", - "input": { - "UserPoolId": "us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" - }, - "errorExpectedFromService": true - } - ] -} \ No newline at end of file diff --git a/apis/cognito-sync/2014-06-30/smoke-2.json b/apis/cognito-sync/2014-06-30/smoke-2.json index 16fc93e9622..7c105af9153 100644 --- a/apis/cognito-sync/2014-06-30/smoke-2.json +++ b/apis/cognito-sync/2014-06-30/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListIdentityPoolUsageSuccess", - "operationName": "ListIdentityPoolUsage", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeIdentityPoolUsageFailure", - "operationName": "DescribeIdentityPoolUsage", - "input": { - "IdentityPoolId": "us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListIdentityPoolUsageSuccess", + "operationName": "ListIdentityPoolUsage", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeIdentityPoolUsageFailure", + "operationName": "DescribeIdentityPoolUsage", + "input": { + "IdentityPoolId": "us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/cognito-sync/2014-06-30/smoke.json b/apis/cognito-sync/2014-06-30/smoke.json deleted file mode 100644 index f22f5b2fff8..00000000000 --- a/apis/cognito-sync/2014-06-30/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListIdentityPoolUsage", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeIdentityPoolUsage", - "input": { - "IdentityPoolId": "us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/config/2014-11-12/smoke-2.json b/apis/config/2014-11-12/smoke-2.json index 9e2224a713b..0d78620a9bd 100644 --- a/apis/config/2014-11-12/smoke-2.json +++ b/apis/config/2014-11-12/smoke-2.json @@ -1,30 +1,26 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeConfigurationRecordersSuccess", - "operationName": "DescribeConfigurationRecorders", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "GetResourceConfigHistoryFailure", - "operationName": "GetResourceConfigHistory", - "input": { - "resourceType": "fake-type", - "resourceId": "fake-id" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeConfigurationRecordersSuccess", + "operationName": "DescribeConfigurationRecorders", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "GetResourceConfigHistoryFailure", + "operationName": "GetResourceConfigHistory", + "input": { + "resourceType": "fake-type", + "resourceId": "fake-id" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/config/2014-11-12/smoke.json b/apis/config/2014-11-12/smoke.json deleted file mode 100644 index a2794a9033f..00000000000 --- a/apis/config/2014-11-12/smoke.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeConfigurationRecorders", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "GetResourceConfigHistory", - "input": { - "resourceType": "fake-type", - "resourceId": "fake-id" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/cur/2017-01-06/smoke-2.json b/apis/cur/2017-01-06/smoke-2.json index 6b594c455f8..fe1cbbd35f0 100644 --- a/apis/cur/2017-01-06/smoke-2.json +++ b/apis/cur/2017-01-06/smoke-2.json @@ -1,16 +1,14 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeReportDefinitionsSuccess", - "operationName": "DescribeReportDefinitions", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-east-1" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeReportDefinitionsSuccess", + "operationName": "DescribeReportDefinitions", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-east-1" } + } + ] } diff --git a/apis/cur/2017-01-06/smoke.json b/apis/cur/2017-01-06/smoke.json deleted file mode 100644 index 24bad0f2359..00000000000 --- a/apis/cur/2017-01-06/smoke.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-east-1", - "testCases": [ - { - "operationName": "DescribeReportDefinitions", - "input": {}, - "errorExpectedFromService": false - } - ] -} diff --git a/apis/dataexchange/2017-07-25/smoke.json b/apis/dataexchange/2017-07-25/smoke.json deleted file mode 100644 index a9756813e4a..00000000000 --- a/apis/dataexchange/2017-07-25/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} diff --git a/apis/devicefarm/2015-06-23/smoke-2.json b/apis/devicefarm/2015-06-23/smoke-2.json index 1747831ee02..6355ec69986 100644 --- a/apis/devicefarm/2015-06-23/smoke-2.json +++ b/apis/devicefarm/2015-06-23/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListDevicesSuccess", - "operationName": "ListDevices", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "GetDeviceFailure", - "operationName": "GetDevice", - "input": { - "arn": "arn:aws:devicefarm:us-west-2::device:000000000000000000000000fake-arn" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListDevicesSuccess", + "operationName": "ListDevices", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "GetDeviceFailure", + "operationName": "GetDevice", + "input": { + "arn": "arn:aws:devicefarm:us-west-2::device:000000000000000000000000fake-arn" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/devicefarm/2015-06-23/smoke.json b/apis/devicefarm/2015-06-23/smoke.json deleted file mode 100644 index 82996cfbef1..00000000000 --- a/apis/devicefarm/2015-06-23/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListDevices", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "GetDevice", - "input": { - "arn": "arn:aws:devicefarm:us-west-2::device:000000000000000000000000fake-arn" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/directconnect/2012-10-25/smoke-2.json b/apis/directconnect/2012-10-25/smoke-2.json index 506d2ae82aa..6058e3e4155 100644 --- a/apis/directconnect/2012-10-25/smoke-2.json +++ b/apis/directconnect/2012-10-25/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeConnectionsSuccess", - "operationName": "DescribeConnections", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeConnectionsFailure", - "operationName": "DescribeConnections", - "input": { - "connectionId": "fake-connection" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeConnectionsSuccess", + "operationName": "DescribeConnections", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeConnectionsFailure", + "operationName": "DescribeConnections", + "input": { + "connectionId": "fake-connection" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/directconnect/2012-10-25/smoke.json b/apis/directconnect/2012-10-25/smoke.json deleted file mode 100644 index 565bd73414f..00000000000 --- a/apis/directconnect/2012-10-25/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeConnections", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeConnections", - "input": { - "connectionId": "fake-connection" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/discovery/2015-11-01/smoke-2.json b/apis/discovery/2015-11-01/smoke-2.json index eb0d8b7772f..9e4f26fd7bc 100644 --- a/apis/discovery/2015-11-01/smoke-2.json +++ b/apis/discovery/2015-11-01/smoke-2.json @@ -1,16 +1,14 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeAgentsSuccess", - "operationName": "DescribeAgents", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeAgentsSuccess", + "operationName": "DescribeAgents", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/discovery/2015-11-01/smoke.json b/apis/discovery/2015-11-01/smoke.json deleted file mode 100644 index 626b803f575..00000000000 --- a/apis/discovery/2015-11-01/smoke.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeAgents", - "input": {}, - "errorExpectedFromService": false - } - ] -} diff --git a/apis/dms/2016-01-01/smoke-2.json b/apis/dms/2016-01-01/smoke-2.json index b75101d97f9..baf4a7fea95 100644 --- a/apis/dms/2016-01-01/smoke-2.json +++ b/apis/dms/2016-01-01/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeEndpointsSuccess", - "operationName": "DescribeEndpoints", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeTableStatisticsFailure", - "operationName": "DescribeTableStatistics", - "input": { - "ReplicationTaskArn": "arn:aws:acm:region:123456789012" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeEndpointsSuccess", + "operationName": "DescribeEndpoints", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeTableStatisticsFailure", + "operationName": "DescribeTableStatistics", + "input": { + "ReplicationTaskArn": "arn:aws:acm:region:123456789012" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/dms/2016-01-01/smoke.json b/apis/dms/2016-01-01/smoke.json deleted file mode 100644 index 16179e444bb..00000000000 --- a/apis/dms/2016-01-01/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeEndpoints", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeTableStatistics", - "input": { - "ReplicationTaskArn": "arn:aws:acm:region:123456789012" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/docdb/2014-10-31/smoke-2.json b/apis/docdb/2014-10-31/smoke-2.json index bb5ae76e79d..a87abe16300 100644 --- a/apis/docdb/2014-10-31/smoke-2.json +++ b/apis/docdb/2014-10-31/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeDBEngineVersionsSuccess", - "operationName": "DescribeDBEngineVersions", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeDBInstancesFailure", - "operationName": "DescribeDBInstances", - "input": { - "DBInstanceIdentifier": "fake-id" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeDBEngineVersionsSuccess", + "operationName": "DescribeDBEngineVersions", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeDBInstancesFailure", + "operationName": "DescribeDBInstances", + "input": { + "DBInstanceIdentifier": "fake-id" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/docdb/2014-10-31/smoke.json b/apis/docdb/2014-10-31/smoke.json deleted file mode 100644 index 068b23492c3..00000000000 --- a/apis/docdb/2014-10-31/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeDBEngineVersions", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeDBInstances", - "input": { - "DBInstanceIdentifier": "fake-id" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/ds/2015-04-16/smoke-2.json b/apis/ds/2015-04-16/smoke-2.json index a6e83ef7d30..ce5e376a6e9 100644 --- a/apis/ds/2015-04-16/smoke-2.json +++ b/apis/ds/2015-04-16/smoke-2.json @@ -1,31 +1,27 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeDirectoriesSuccess", - "operationName": "DescribeDirectories", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "CreateDirectoryFailure", - "operationName": "CreateDirectory", - "input": { - "Name": "", - "Password": "", - "Size": "" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeDirectoriesSuccess", + "operationName": "DescribeDirectories", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "CreateDirectoryFailure", + "operationName": "CreateDirectory", + "input": { + "Name": "", + "Password": "", + "Size": "" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/ds/2015-04-16/smoke.json b/apis/ds/2015-04-16/smoke.json deleted file mode 100644 index 510d7077a78..00000000000 --- a/apis/ds/2015-04-16/smoke.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeDirectories", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "CreateDirectory", - "input": { - "Name": "", - "Password": "", - "Size": "" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/dynamodb/2011-12-05/smoke.json b/apis/dynamodb/2011-12-05/smoke.json deleted file mode 100644 index 3540d8ef946..00000000000 --- a/apis/dynamodb/2011-12-05/smoke.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListTables", - "input": { - "Limit": 1 - }, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeTable", - "input": { - "TableName": "fake-table" - }, - "errorExpectedFromService": true - } - ] -} \ No newline at end of file diff --git a/apis/dynamodb/2012-08-10/smoke-2.json b/apis/dynamodb/2012-08-10/smoke-2.json new file mode 100644 index 00000000000..21315a22bfc --- /dev/null +++ b/apis/dynamodb/2012-08-10/smoke-2.json @@ -0,0 +1,27 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListTablesSuccess", + "operationName": "ListTables", + "input": { + "Limit": 1 + }, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeTableFailure", + "operationName": "DescribeTable", + "input": { + "TableName": "fake-table" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] +} diff --git a/apis/dynamodb/2012-08-10/smoke.json b/apis/dynamodb/2012-08-10/smoke.json deleted file mode 100644 index 3540d8ef946..00000000000 --- a/apis/dynamodb/2012-08-10/smoke.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListTables", - "input": { - "Limit": 1 - }, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeTable", - "input": { - "TableName": "fake-table" - }, - "errorExpectedFromService": true - } - ] -} \ No newline at end of file diff --git a/apis/ec2/2016-11-15/smoke-2.json b/apis/ec2/2016-11-15/smoke-2.json index 5134f45f57f..197dd694289 100644 --- a/apis/ec2/2016-11-15/smoke-2.json +++ b/apis/ec2/2016-11-15/smoke-2.json @@ -1,31 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeRegionsSuccess", - "operationName": "DescribeRegions", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeInstancesFailure", - "operationName": "DescribeInstances", - "input": { - "InstanceIds": [ - "i-12345678" - ] - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeRegionsSuccess", + "operationName": "DescribeRegions", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeInstancesFailure", + "operationName": "DescribeInstances", + "input": { + "InstanceIds": ["i-12345678"] + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/ec2/2016-11-15/smoke.json b/apis/ec2/2016-11-15/smoke.json deleted file mode 100644 index 509d86a51da..00000000000 --- a/apis/ec2/2016-11-15/smoke.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeRegions", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeInstances", - "input": { - "InstanceIds": [ - "i-12345678" - ] - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/ecr/2015-09-21/smoke-2.json b/apis/ecr/2015-09-21/smoke-2.json index 5915b6f74e7..1b19db4d7e8 100644 --- a/apis/ecr/2015-09-21/smoke-2.json +++ b/apis/ecr/2015-09-21/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeRepositoriesSuccess", - "operationName": "DescribeRepositories", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "ListImagesFailure", - "operationName": "ListImages", - "input": { - "repositoryName": "not-a-real-repository" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeRepositoriesSuccess", + "operationName": "DescribeRepositories", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "ListImagesFailure", + "operationName": "ListImages", + "input": { + "repositoryName": "not-a-real-repository" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/ecr/2015-09-21/smoke.json b/apis/ecr/2015-09-21/smoke.json deleted file mode 100644 index e4d38021f9b..00000000000 --- a/apis/ecr/2015-09-21/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeRepositories", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "ListImages", - "input": { - "repositoryName": "not-a-real-repository" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/ecs/2014-11-13/smoke-2.json b/apis/ecs/2014-11-13/smoke-2.json index 4b37291c159..daef5ae922b 100644 --- a/apis/ecs/2014-11-13/smoke-2.json +++ b/apis/ecs/2014-11-13/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListClustersSuccess", - "operationName": "ListClusters", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "StopTaskFailure", - "operationName": "StopTask", - "input": { - "task": "xxxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxx" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListClustersSuccess", + "operationName": "ListClusters", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "StopTaskFailure", + "operationName": "StopTask", + "input": { + "task": "xxxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxx" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/ecs/2014-11-13/smoke.json b/apis/ecs/2014-11-13/smoke.json deleted file mode 100644 index f8880d60f3a..00000000000 --- a/apis/ecs/2014-11-13/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListClusters", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "StopTask", - "input": { - "task": "xxxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxx" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/eks-auth/2023-11-26/smoke.json b/apis/eks-auth/2023-11-26/smoke.json deleted file mode 100644 index 047a1d85ef7..00000000000 --- a/apis/eks-auth/2023-11-26/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} \ No newline at end of file diff --git a/apis/elasticache/2015-02-02/smoke-2.json b/apis/elasticache/2015-02-02/smoke-2.json index 410f304c490..f6bd02dfd36 100644 --- a/apis/elasticache/2015-02-02/smoke-2.json +++ b/apis/elasticache/2015-02-02/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeEventsSuccess", - "operationName": "DescribeEvents", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeCacheClustersFailure", - "operationName": "DescribeCacheClusters", - "input": { - "CacheClusterId": "fake_cluster" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeEventsSuccess", + "operationName": "DescribeEvents", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeCacheClustersFailure", + "operationName": "DescribeCacheClusters", + "input": { + "CacheClusterId": "fake_cluster" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/elasticache/2015-02-02/smoke.json b/apis/elasticache/2015-02-02/smoke.json deleted file mode 100644 index 0d30588a5d9..00000000000 --- a/apis/elasticache/2015-02-02/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeEvents", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeCacheClusters", - "input": { - "CacheClusterId": "fake_cluster" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/elasticbeanstalk/2010-12-01/smoke-2.json b/apis/elasticbeanstalk/2010-12-01/smoke-2.json index 8276d135b93..4ef2a9105fc 100644 --- a/apis/elasticbeanstalk/2010-12-01/smoke-2.json +++ b/apis/elasticbeanstalk/2010-12-01/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListAvailableSolutionStacksSuccess", - "operationName": "ListAvailableSolutionStacks", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeEnvironmentResourcesFailure", - "operationName": "DescribeEnvironmentResources", - "input": { - "EnvironmentId": "fake_environment" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListAvailableSolutionStacksSuccess", + "operationName": "ListAvailableSolutionStacks", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeEnvironmentResourcesFailure", + "operationName": "DescribeEnvironmentResources", + "input": { + "EnvironmentId": "fake_environment" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/elasticbeanstalk/2010-12-01/smoke.json b/apis/elasticbeanstalk/2010-12-01/smoke.json deleted file mode 100644 index da752e749a7..00000000000 --- a/apis/elasticbeanstalk/2010-12-01/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListAvailableSolutionStacks", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeEnvironmentResources", - "input": { - "EnvironmentId": "fake_environment" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/elasticfilesystem/2015-02-01/smoke-2.json b/apis/elasticfilesystem/2015-02-01/smoke-2.json index e937d85f99c..3f16a772763 100644 --- a/apis/elasticfilesystem/2015-02-01/smoke-2.json +++ b/apis/elasticfilesystem/2015-02-01/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeFileSystemsSuccess", - "operationName": "DescribeFileSystems", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DeleteFileSystemFailure", - "operationName": "DeleteFileSystem", - "input": { - "FileSystemId": "fs-c5a1446c" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeFileSystemsSuccess", + "operationName": "DescribeFileSystems", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DeleteFileSystemFailure", + "operationName": "DeleteFileSystem", + "input": { + "FileSystemId": "fs-c5a1446c" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/elasticfilesystem/2015-02-01/smoke.json b/apis/elasticfilesystem/2015-02-01/smoke.json deleted file mode 100644 index aa92bdf8bae..00000000000 --- a/apis/elasticfilesystem/2015-02-01/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeFileSystems", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DeleteFileSystem", - "input": { - "FileSystemId": "fs-c5a1446c" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/elasticloadbalancing/2012-06-01/smoke-2.json b/apis/elasticloadbalancing/2012-06-01/smoke-2.json index e339a8d8635..49addbe9ab1 100644 --- a/apis/elasticloadbalancing/2012-06-01/smoke-2.json +++ b/apis/elasticloadbalancing/2012-06-01/smoke-2.json @@ -1,31 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeLoadBalancersSuccess", - "operationName": "DescribeLoadBalancers", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeLoadBalancersFailure", - "operationName": "DescribeLoadBalancers", - "input": { - "LoadBalancerNames": [ - "fake_load_balancer" - ] - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeLoadBalancersSuccess", + "operationName": "DescribeLoadBalancers", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeLoadBalancersFailure", + "operationName": "DescribeLoadBalancers", + "input": { + "LoadBalancerNames": ["fake_load_balancer"] + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/elasticloadbalancing/2012-06-01/smoke.json b/apis/elasticloadbalancing/2012-06-01/smoke.json deleted file mode 100644 index 67c69554b5c..00000000000 --- a/apis/elasticloadbalancing/2012-06-01/smoke.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeLoadBalancers", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeLoadBalancers", - "input": { - "LoadBalancerNames": [ - "fake_load_balancer" - ] - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/elasticloadbalancingv2/2015-12-01/smoke-2.json b/apis/elasticloadbalancingv2/2015-12-01/smoke-2.json index 66120108b15..9e5d7e8f100 100644 --- a/apis/elasticloadbalancingv2/2015-12-01/smoke-2.json +++ b/apis/elasticloadbalancingv2/2015-12-01/smoke-2.json @@ -1,31 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeLoadBalancersSuccess", - "operationName": "DescribeLoadBalancers", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeLoadBalancersFailure", - "operationName": "DescribeLoadBalancers", - "input": { - "LoadBalancerArns": [ - "fake_load_balancer" - ] - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeLoadBalancersSuccess", + "operationName": "DescribeLoadBalancers", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeLoadBalancersFailure", + "operationName": "DescribeLoadBalancers", + "input": { + "LoadBalancerArns": ["fake_load_balancer"] + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/elasticloadbalancingv2/2015-12-01/smoke.json b/apis/elasticloadbalancingv2/2015-12-01/smoke.json deleted file mode 100644 index 94d3a99200f..00000000000 --- a/apis/elasticloadbalancingv2/2015-12-01/smoke.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeLoadBalancers", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeLoadBalancers", - "input": { - "LoadBalancerArns": [ - "fake_load_balancer" - ] - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/elasticmapreduce/2009-03-31/smoke-2.json b/apis/elasticmapreduce/2009-03-31/smoke-2.json index 64c20d80588..29faa0bf724 100644 --- a/apis/elasticmapreduce/2009-03-31/smoke-2.json +++ b/apis/elasticmapreduce/2009-03-31/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListClustersSuccess", - "operationName": "ListClusters", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeClusterFailure", - "operationName": "DescribeCluster", - "input": { - "ClusterId": "fake_cluster" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListClustersSuccess", + "operationName": "ListClusters", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeClusterFailure", + "operationName": "DescribeCluster", + "input": { + "ClusterId": "fake_cluster" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/elasticmapreduce/2009-03-31/smoke.json b/apis/elasticmapreduce/2009-03-31/smoke.json deleted file mode 100644 index 2f95f63fb7c..00000000000 --- a/apis/elasticmapreduce/2009-03-31/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListClusters", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeCluster", - "input": { - "ClusterId": "fake_cluster" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/elastictranscoder/2012-09-25/smoke-2.json b/apis/elastictranscoder/2012-09-25/smoke-2.json index 4c33d197afc..206909ce66d 100644 --- a/apis/elastictranscoder/2012-09-25/smoke-2.json +++ b/apis/elastictranscoder/2012-09-25/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListPresetsSuccess", - "operationName": "ListPresets", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "ReadJobFailure", - "operationName": "ReadJob", - "input": { - "Id": "fake_job" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListPresetsSuccess", + "operationName": "ListPresets", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "ReadJobFailure", + "operationName": "ReadJob", + "input": { + "Id": "fake_job" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/elastictranscoder/2012-09-25/smoke.json b/apis/elastictranscoder/2012-09-25/smoke.json deleted file mode 100644 index 837962fc6d2..00000000000 --- a/apis/elastictranscoder/2012-09-25/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListPresets", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "ReadJob", - "input": { - "Id": "fake_job" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/email/2010-12-01/smoke-2.json b/apis/email/2010-12-01/smoke-2.json index 16384dfa211..6a687678fca 100644 --- a/apis/email/2010-12-01/smoke-2.json +++ b/apis/email/2010-12-01/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListIdentitiesSuccess", - "operationName": "ListIdentities", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "VerifyEmailIdentityFailure", - "operationName": "VerifyEmailIdentity", - "input": { - "EmailAddress": "fake_email" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListIdentitiesSuccess", + "operationName": "ListIdentities", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "VerifyEmailIdentityFailure", + "operationName": "VerifyEmailIdentity", + "input": { + "EmailAddress": "fake_email" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/email/2010-12-01/smoke.json b/apis/email/2010-12-01/smoke.json deleted file mode 100644 index deaee018185..00000000000 --- a/apis/email/2010-12-01/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListIdentities", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "VerifyEmailIdentity", - "input": { - "EmailAddress": "fake_email" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/es/2015-01-01/smoke-2.json b/apis/es/2015-01-01/smoke-2.json index 154663dfee3..5719a271aee 100644 --- a/apis/es/2015-01-01/smoke-2.json +++ b/apis/es/2015-01-01/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListDomainNamesSuccess", - "operationName": "ListDomainNames", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeElasticsearchDomainFailure", - "operationName": "DescribeElasticsearchDomain", - "input": { - "DomainName": "not-a-domain" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListDomainNamesSuccess", + "operationName": "ListDomainNames", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeElasticsearchDomainFailure", + "operationName": "DescribeElasticsearchDomain", + "input": { + "DomainName": "not-a-domain" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/es/2015-01-01/smoke.json b/apis/es/2015-01-01/smoke.json deleted file mode 100644 index d31642d7fa6..00000000000 --- a/apis/es/2015-01-01/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListDomainNames", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeElasticsearchDomain", - "input": { - "DomainName": "not-a-domain" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/eventbridge/2015-10-07/smoke-2.json b/apis/eventbridge/2015-10-07/smoke-2.json index 9de69b1be57..2b2670900dc 100644 --- a/apis/eventbridge/2015-10-07/smoke-2.json +++ b/apis/eventbridge/2015-10-07/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListRulesSuccess", - "operationName": "ListRules", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeRuleFailure", - "operationName": "DescribeRule", - "input": { - "Name": "fake-rule" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListRulesSuccess", + "operationName": "ListRules", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeRuleFailure", + "operationName": "DescribeRule", + "input": { + "Name": "fake-rule" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/eventbridge/2015-10-07/smoke.json b/apis/eventbridge/2015-10-07/smoke.json deleted file mode 100644 index 689a9e45240..00000000000 --- a/apis/eventbridge/2015-10-07/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListRules", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeRule", - "input": { - "Name": "fake-rule" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/events/2015-10-07/smoke-2.json b/apis/events/2015-10-07/smoke-2.json index 9de69b1be57..2b2670900dc 100644 --- a/apis/events/2015-10-07/smoke-2.json +++ b/apis/events/2015-10-07/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListRulesSuccess", - "operationName": "ListRules", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeRuleFailure", - "operationName": "DescribeRule", - "input": { - "Name": "fake-rule" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListRulesSuccess", + "operationName": "ListRules", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeRuleFailure", + "operationName": "DescribeRule", + "input": { + "Name": "fake-rule" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/events/2015-10-07/smoke.json b/apis/events/2015-10-07/smoke.json deleted file mode 100644 index 689a9e45240..00000000000 --- a/apis/events/2015-10-07/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListRules", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeRule", - "input": { - "Name": "fake-rule" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/firehose/2015-08-04/smoke-2.json b/apis/firehose/2015-08-04/smoke-2.json index 27e4953851d..a211bed2b7a 100644 --- a/apis/firehose/2015-08-04/smoke-2.json +++ b/apis/firehose/2015-08-04/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListDeliveryStreamsSuccess", - "operationName": "ListDeliveryStreams", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeDeliveryStreamFailure", - "operationName": "DescribeDeliveryStream", - "input": { - "DeliveryStreamName": "bogus-stream-name" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListDeliveryStreamsSuccess", + "operationName": "ListDeliveryStreams", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeDeliveryStreamFailure", + "operationName": "DescribeDeliveryStream", + "input": { + "DeliveryStreamName": "bogus-stream-name" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/firehose/2015-08-04/smoke.json b/apis/firehose/2015-08-04/smoke.json deleted file mode 100644 index 854a82a4aae..00000000000 --- a/apis/firehose/2015-08-04/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListDeliveryStreams", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeDeliveryStream", - "input": { - "DeliveryStreamName": "bogus-stream-name" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/gamelift/2015-10-01/smoke-2.json b/apis/gamelift/2015-10-01/smoke-2.json index 30b256a50ec..f85aaf3a957 100644 --- a/apis/gamelift/2015-10-01/smoke-2.json +++ b/apis/gamelift/2015-10-01/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListBuildsSuccess", - "operationName": "ListBuilds", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribePlayerSessionsFailure", - "operationName": "DescribePlayerSessions", - "input": { - "PlayerSessionId": "psess-fakeSessionId" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListBuildsSuccess", + "operationName": "ListBuilds", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribePlayerSessionsFailure", + "operationName": "DescribePlayerSessions", + "input": { + "PlayerSessionId": "psess-fakeSessionId" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/gamelift/2015-10-01/smoke.json b/apis/gamelift/2015-10-01/smoke.json deleted file mode 100644 index 970928a69da..00000000000 --- a/apis/gamelift/2015-10-01/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListBuilds", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribePlayerSessions", - "input": { - "PlayerSessionId": "psess-fakeSessionId" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/glacier/2012-06-01/smoke-2.json b/apis/glacier/2012-06-01/smoke-2.json index c9abde194c1..e0990115dff 100644 --- a/apis/glacier/2012-06-01/smoke-2.json +++ b/apis/glacier/2012-06-01/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListVaultsSuccess", - "operationName": "ListVaults", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "ListVaultsFailure", - "operationName": "ListVaults", - "input": { - "accountId": "abcmnoxyz" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListVaultsSuccess", + "operationName": "ListVaults", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "ListVaultsFailure", + "operationName": "ListVaults", + "input": { + "accountId": "abcmnoxyz" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/glacier/2012-06-01/smoke.json b/apis/glacier/2012-06-01/smoke.json deleted file mode 100644 index 9ac3f1a744c..00000000000 --- a/apis/glacier/2012-06-01/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListVaults", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "ListVaults", - "input": { - "accountId": "abcmnoxyz" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/glue/2017-03-31/smoke-2.json b/apis/glue/2017-03-31/smoke-2.json index 255be2743f8..39e3a6f4ee4 100644 --- a/apis/glue/2017-03-31/smoke-2.json +++ b/apis/glue/2017-03-31/smoke-2.json @@ -1,16 +1,14 @@ { - "version": 2, - "testCases": [ - { - "id": "GetCatalogImportStatusSuccess", - "operationName": "GetCatalogImportStatus", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "GetCatalogImportStatusSuccess", + "operationName": "GetCatalogImportStatus", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/glue/2017-03-31/smoke.json b/apis/glue/2017-03-31/smoke.json deleted file mode 100644 index 164773a8b15..00000000000 --- a/apis/glue/2017-03-31/smoke.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "GetCatalogImportStatus", - "input": {}, - "errorExpectedFromService": false - } - ] -} diff --git a/apis/iam/2010-05-08/smoke-2.json b/apis/iam/2010-05-08/smoke-2.json index cefa15ce799..e0e3e98d879 100644 --- a/apis/iam/2010-05-08/smoke-2.json +++ b/apis/iam/2010-05-08/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListUsersSuccess", - "operationName": "ListUsers", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-east-1" - } - }, - { - "id": "GetUserFailure", - "operationName": "GetUser", - "input": { - "UserName": "fake_user" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-east-1" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListUsersSuccess", + "operationName": "ListUsers", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-east-1" } + }, + { + "id": "GetUserFailure", + "operationName": "GetUser", + "input": { + "UserName": "fake_user" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-east-1" } + } + ] } diff --git a/apis/iam/2010-05-08/smoke.json b/apis/iam/2010-05-08/smoke.json deleted file mode 100644 index 89b5d20bc73..00000000000 --- a/apis/iam/2010-05-08/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-east-1", - "testCases": [ - { - "operationName": "ListUsers", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "GetUser", - "input": { - "UserName": "fake_user" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/inspector/2016-02-16/smoke-2.json b/apis/inspector/2016-02-16/smoke-2.json index c0b646cc58f..d9bd0ca230a 100644 --- a/apis/inspector/2016-02-16/smoke-2.json +++ b/apis/inspector/2016-02-16/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListAssessmentTemplatesSuccess", - "operationName": "ListAssessmentTemplates", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "ListTagsForResourceFailure", - "operationName": "ListTagsForResource", - "input": { - "resourceArn": "fake-arn" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListAssessmentTemplatesSuccess", + "operationName": "ListAssessmentTemplates", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "ListTagsForResourceFailure", + "operationName": "ListTagsForResource", + "input": { + "resourceArn": "fake-arn" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/inspector/2016-02-16/smoke.json b/apis/inspector/2016-02-16/smoke.json deleted file mode 100644 index 3b7b0dfe015..00000000000 --- a/apis/inspector/2016-02-16/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListAssessmentTemplates", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "ListTagsForResource", - "input": { - "resourceArn": "fake-arn" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/internetmonitor/2021-06-03/smoke.json b/apis/internetmonitor/2021-06-03/smoke.json deleted file mode 100644 index a9756813e4a..00000000000 --- a/apis/internetmonitor/2021-06-03/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} diff --git a/apis/iot-data/2015-05-28/smoke-2.json b/apis/iot-data/2015-05-28/smoke-2.json index 0e1ce750e6b..3450b03c555 100644 --- a/apis/iot-data/2015-05-28/smoke-2.json +++ b/apis/iot-data/2015-05-28/smoke-2.json @@ -1,19 +1,19 @@ { - "version": 2, - "testCases": [ - { - "id": "GetThingShadowFailure", - "operationName": "GetThingShadow", - "input": { - "thingName": "fake-thing" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2", - "uri": "https://data-ats.iot.us-west-2.amazonaws.com" - } - } - ] -} \ No newline at end of file + "version": 2, + "testCases": [ + { + "id": "GetThingShadowFailure", + "operationName": "GetThingShadow", + "input": { + "thingName": "fake-thing" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2", + "uri": "https://data.iot.us-west-2.amazonaws.com" + } + } + ] +} diff --git a/apis/iot-data/2015-05-28/smoke.json b/apis/iot-data/2015-05-28/smoke.json deleted file mode 100644 index c65a70fb75b..00000000000 --- a/apis/iot-data/2015-05-28/smoke.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "defaultEndpoint": "https://data.iot.us-west-2.amazonaws.com", - "testCases": [ - { - "operationName": "GetThingShadow", - "input": { - "thingName": "fake-thing" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/iot/2015-05-28/smoke-2.json b/apis/iot/2015-05-28/smoke-2.json index f78405616c4..c42cbe6e559 100644 --- a/apis/iot/2015-05-28/smoke-2.json +++ b/apis/iot/2015-05-28/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListPoliciesSuccess", - "operationName": "ListPolicies", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeThingFailure", - "operationName": "DescribeThing", - "input": { - "thingName": "fake-thing" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListPoliciesSuccess", + "operationName": "ListPolicies", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeThingFailure", + "operationName": "DescribeThing", + "input": { + "thingName": "fake-thing" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/iot/2015-05-28/smoke.json b/apis/iot/2015-05-28/smoke.json deleted file mode 100644 index 13fbb1a0e39..00000000000 --- a/apis/iot/2015-05-28/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListPolicies", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeThing", - "input": { - "thingName": "fake-thing" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/iotfleetwise/2021-06-17/smoke.json b/apis/iotfleetwise/2021-06-17/smoke.json deleted file mode 100644 index a9756813e4a..00000000000 --- a/apis/iotfleetwise/2021-06-17/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} diff --git a/apis/iottwinmaker/2021-11-29/smoke.json b/apis/iottwinmaker/2021-11-29/smoke.json deleted file mode 100644 index a9756813e4a..00000000000 --- a/apis/iottwinmaker/2021-11-29/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} diff --git a/apis/keyspaces/2022-02-10/smoke.json b/apis/keyspaces/2022-02-10/smoke.json deleted file mode 100644 index 047a1d85ef7..00000000000 --- a/apis/keyspaces/2022-02-10/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} \ No newline at end of file diff --git a/apis/kinesis/2013-12-02/smoke-2.json b/apis/kinesis/2013-12-02/smoke-2.json index 1d03ae90e03..f0e2b979a85 100644 --- a/apis/kinesis/2013-12-02/smoke-2.json +++ b/apis/kinesis/2013-12-02/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListStreamsSuccess", - "operationName": "ListStreams", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeStreamFailure", - "operationName": "DescribeStream", - "input": { - "StreamName": "bogus-stream-name" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListStreamsSuccess", + "operationName": "ListStreams", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeStreamFailure", + "operationName": "DescribeStream", + "input": { + "StreamName": "bogus-stream-name" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/kinesis/2013-12-02/smoke.json b/apis/kinesis/2013-12-02/smoke.json deleted file mode 100644 index 59dfa395926..00000000000 --- a/apis/kinesis/2013-12-02/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListStreams", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeStream", - "input": { - "StreamName": "bogus-stream-name" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/kms/2014-11-01/smoke-2.json b/apis/kms/2014-11-01/smoke-2.json index 5aa09e7eb5c..98569295944 100644 --- a/apis/kms/2014-11-01/smoke-2.json +++ b/apis/kms/2014-11-01/smoke-2.json @@ -1,30 +1,26 @@ { - "version": 2, - "testCases": [ - { - "id": "ListAliasesSuccess", - "operationName": "ListAliases", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "GetKeyPolicyFailure", - "operationName": "GetKeyPolicy", - "input": { - "KeyId": "12345678-1234-1234-1234-123456789012", - "PolicyName": "fakePolicy" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListAliasesSuccess", + "operationName": "ListAliases", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "GetKeyPolicyFailure", + "operationName": "GetKeyPolicy", + "input": { + "KeyId": "12345678-1234-1234-1234-123456789012", + "PolicyName": "fakePolicy" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/kms/2014-11-01/smoke.json b/apis/kms/2014-11-01/smoke.json deleted file mode 100644 index 4e7fa13f6d3..00000000000 --- a/apis/kms/2014-11-01/smoke.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListAliases", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "GetKeyPolicy", - "input": { - "KeyId": "12345678-1234-1234-1234-123456789012", - "PolicyName": "fakePolicy" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/lambda/2015-03-31/smoke-2.json b/apis/lambda/2015-03-31/smoke-2.json index ce96d11731f..6ef0b39d3d5 100644 --- a/apis/lambda/2015-03-31/smoke-2.json +++ b/apis/lambda/2015-03-31/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListFunctionsSuccess", - "operationName": "ListFunctions", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "InvokeFailure", - "operationName": "Invoke", - "input": { - "FunctionName": "bogus-function" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListFunctionsSuccess", + "operationName": "ListFunctions", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "InvokeFailure", + "operationName": "Invoke", + "input": { + "FunctionName": "bogus-function" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/lambda/2015-03-31/smoke.json b/apis/lambda/2015-03-31/smoke.json deleted file mode 100644 index bbea8e181ef..00000000000 --- a/apis/lambda/2015-03-31/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListFunctions", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "Invoke", - "input": { - "FunctionName": "bogus-function" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/lightsail/2016-11-28/smoke-2.json b/apis/lightsail/2016-11-28/smoke-2.json index 912bfc061d1..6a8937df255 100644 --- a/apis/lightsail/2016-11-28/smoke-2.json +++ b/apis/lightsail/2016-11-28/smoke-2.json @@ -1,16 +1,14 @@ { - "version": 2, - "testCases": [ - { - "id": "GetActiveNamesSuccess", - "operationName": "GetActiveNames", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "GetActiveNamesSuccess", + "operationName": "GetActiveNames", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/lightsail/2016-11-28/smoke.json b/apis/lightsail/2016-11-28/smoke.json deleted file mode 100644 index 00ff98edbc2..00000000000 --- a/apis/lightsail/2016-11-28/smoke.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "GetActiveNames", - "input": {}, - "errorExpectedFromService": false - } - ] -} diff --git a/apis/logs/2014-03-28/smoke-2.json b/apis/logs/2014-03-28/smoke-2.json index 666c340fce3..ad45178aab2 100644 --- a/apis/logs/2014-03-28/smoke-2.json +++ b/apis/logs/2014-03-28/smoke-2.json @@ -1,30 +1,26 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeLogGroupsSuccess", - "operationName": "DescribeLogGroups", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "GetLogEventsFailure", - "operationName": "GetLogEvents", - "input": { - "logGroupName": "fakegroup", - "logStreamName": "fakestream" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeLogGroupsSuccess", + "operationName": "DescribeLogGroups", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "GetLogEventsFailure", + "operationName": "GetLogEvents", + "input": { + "logGroupName": "fakegroup", + "logStreamName": "fakestream" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/logs/2014-03-28/smoke.json b/apis/logs/2014-03-28/smoke.json deleted file mode 100644 index f79b00bda05..00000000000 --- a/apis/logs/2014-03-28/smoke.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeLogGroups", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "GetLogEvents", - "input": { - "logGroupName": "fakegroup", - "logStreamName": "fakestream" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/managedblockchain-query/2023-05-04/smoke.json b/apis/managedblockchain-query/2023-05-04/smoke.json deleted file mode 100644 index a9756813e4a..00000000000 --- a/apis/managedblockchain-query/2023-05-04/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} diff --git a/apis/marketplacecommerceanalytics/2015-07-01/smoke-2.json b/apis/marketplacecommerceanalytics/2015-07-01/smoke-2.json index ffd5cb906e2..ea9e43fbf8d 100644 --- a/apis/marketplacecommerceanalytics/2015-07-01/smoke-2.json +++ b/apis/marketplacecommerceanalytics/2015-07-01/smoke-2.json @@ -1,22 +1,20 @@ { - "version": 2, - "testCases": [ - { - "id": "GenerateDataSetFailure", - "operationName": "GenerateDataSet", - "input": { - "dataSetType": "fake-type", - "dataSetPublicationDate": 0, - "roleNameArn": "fake-arn", - "destinationS3BucketName": "fake-bucket", - "snsTopicArn": "fake-arn" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-east-1" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "GenerateDataSetFailure", + "operationName": "GenerateDataSet", + "input": { + "dataSetType": "fake-type", + "dataSetPublicationDate": 0, + "roleNameArn": "fake-arn", + "destinationS3BucketName": "fake-bucket", + "snsTopicArn": "fake-arn" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-east-1" } + } + ] } diff --git a/apis/marketplacecommerceanalytics/2015-07-01/smoke.json b/apis/marketplacecommerceanalytics/2015-07-01/smoke.json deleted file mode 100644 index f30ab88a97e..00000000000 --- a/apis/marketplacecommerceanalytics/2015-07-01/smoke.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-east-1", - "testCases": [ - { - "operationName": "GenerateDataSet", - "input": { - "dataSetType": "fake-type", - "dataSetPublicationDate": 0, - "roleNameArn": "fake-arn", - "destinationS3BucketName": "fake-bucket", - "snsTopicArn": "fake-arn" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/mediapackagev2/2022-12-25/smoke.json b/apis/mediapackagev2/2022-12-25/smoke.json deleted file mode 100644 index a9756813e4a..00000000000 --- a/apis/mediapackagev2/2022-12-25/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} diff --git a/apis/medical-imaging/2023-07-19/smoke.json b/apis/medical-imaging/2023-07-19/smoke.json deleted file mode 100644 index 6c501801790..00000000000 --- a/apis/medical-imaging/2023-07-19/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-east-1", - "testCases": [ - ] -} diff --git a/apis/migrationhuborchestrator/2021-08-28/smoke.json b/apis/migrationhuborchestrator/2021-08-28/smoke.json deleted file mode 100644 index a9756813e4a..00000000000 --- a/apis/migrationhuborchestrator/2021-08-28/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} diff --git a/apis/monitoring/2010-08-01/smoke-2.json b/apis/monitoring/2010-08-01/smoke-2.json index fd6e17ba1d2..5dc5edb8f95 100644 --- a/apis/monitoring/2010-08-01/smoke-2.json +++ b/apis/monitoring/2010-08-01/smoke-2.json @@ -1,33 +1,29 @@ { - "version": 2, - "testCases": [ - { - "id": "ListMetricsSuccess", - "operationName": "ListMetrics", - "input": { - "Namespace": "AWS\/EC2" - }, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "SetAlarmStateFailure", - "operationName": "SetAlarmState", - "input": { - "AlarmName": "abc", - "StateValue": "mno", - "StateReason": "xyz" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListMetricsSuccess", + "operationName": "ListMetrics", + "input": { + "Namespace": "AWS/EC2" + }, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "SetAlarmStateFailure", + "operationName": "SetAlarmState", + "input": { + "AlarmName": "abc", + "StateValue": "mno", + "StateReason": "xyz" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/monitoring/2010-08-01/smoke.json b/apis/monitoring/2010-08-01/smoke.json deleted file mode 100644 index e57b4c5d109..00000000000 --- a/apis/monitoring/2010-08-01/smoke.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListMetrics", - "input": { - "Namespace": "AWS\/EC2" - }, - "errorExpectedFromService": false - }, - { - "operationName": "SetAlarmState", - "input": { - "AlarmName": "abc", - "StateValue": "mno", - "StateReason": "xyz" - }, - "errorExpectedFromService": true - } - ] -} \ No newline at end of file diff --git a/apis/mturk-requester/2017-01-17/smoke-2.json b/apis/mturk-requester/2017-01-17/smoke-2.json index 3726bfdbde1..c76eefc7d01 100644 --- a/apis/mturk-requester/2017-01-17/smoke-2.json +++ b/apis/mturk-requester/2017-01-17/smoke-2.json @@ -1,16 +1,14 @@ { - "version": 2, - "testCases": [ - { - "id": "GetAccountBalanceSuccess", - "operationName": "GetAccountBalance", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-east-1" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "GetAccountBalanceSuccess", + "operationName": "GetAccountBalance", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-east-1" } + } + ] } diff --git a/apis/mturk-requester/2017-01-17/smoke.json b/apis/mturk-requester/2017-01-17/smoke.json deleted file mode 100644 index 40f0a62bcff..00000000000 --- a/apis/mturk-requester/2017-01-17/smoke.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-east-1", - "testCases": [ - { - "operationName": "GetAccountBalance", - "input": {}, - "errorExpectedFromService": false - } - ] -} diff --git a/apis/neptune/2014-10-31/smoke-2.json b/apis/neptune/2014-10-31/smoke-2.json index bb5ae76e79d..a87abe16300 100644 --- a/apis/neptune/2014-10-31/smoke-2.json +++ b/apis/neptune/2014-10-31/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeDBEngineVersionsSuccess", - "operationName": "DescribeDBEngineVersions", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeDBInstancesFailure", - "operationName": "DescribeDBInstances", - "input": { - "DBInstanceIdentifier": "fake-id" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeDBEngineVersionsSuccess", + "operationName": "DescribeDBEngineVersions", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeDBInstancesFailure", + "operationName": "DescribeDBInstances", + "input": { + "DBInstanceIdentifier": "fake-id" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/neptune/2014-10-31/smoke.json b/apis/neptune/2014-10-31/smoke.json deleted file mode 100644 index 068b23492c3..00000000000 --- a/apis/neptune/2014-10-31/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeDBEngineVersions", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeDBInstances", - "input": { - "DBInstanceIdentifier": "fake-id" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/omics/2022-11-28/smoke.json b/apis/omics/2022-11-28/smoke.json deleted file mode 100644 index a9756813e4a..00000000000 --- a/apis/omics/2022-11-28/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} diff --git a/apis/opensearch/2021-01-01/smoke-2.json b/apis/opensearch/2021-01-01/smoke-2.json index 9fc2feffe56..c1067ea0f49 100644 --- a/apis/opensearch/2021-01-01/smoke-2.json +++ b/apis/opensearch/2021-01-01/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListDomainNamesSuccess", - "operationName": "ListDomainNames", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeDomainFailure", - "operationName": "DescribeDomain", - "input": { - "DomainName": "not-a-domain" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListDomainNamesSuccess", + "operationName": "ListDomainNames", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeDomainFailure", + "operationName": "DescribeDomain", + "input": { + "DomainName": "not-a-domain" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/opensearch/2021-01-01/smoke.json b/apis/opensearch/2021-01-01/smoke.json deleted file mode 100644 index 11ebf178ff6..00000000000 --- a/apis/opensearch/2021-01-01/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListDomainNames", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeDomain", - "input": { - "DomainName": "not-a-domain" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/opsworks/2013-02-18/smoke-2.json b/apis/opsworks/2013-02-18/smoke-2.json index a3a0159e422..b87d69417a3 100644 --- a/apis/opsworks/2013-02-18/smoke-2.json +++ b/apis/opsworks/2013-02-18/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeStacksSuccess", - "operationName": "DescribeStacks", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeLayersFailure", - "operationName": "DescribeLayers", - "input": { - "StackId": "fake_stack" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeStacksSuccess", + "operationName": "DescribeStacks", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeLayersFailure", + "operationName": "DescribeLayers", + "input": { + "StackId": "fake_stack" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/opsworks/2013-02-18/smoke.json b/apis/opsworks/2013-02-18/smoke.json deleted file mode 100644 index 241d2be69bd..00000000000 --- a/apis/opsworks/2013-02-18/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeStacks", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeLayers", - "input": { - "StackId": "fake_stack" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/pinpoint-sms-voice-v2/2022-03-31/smoke.json b/apis/pinpoint-sms-voice-v2/2022-03-31/smoke.json deleted file mode 100644 index a9756813e4a..00000000000 --- a/apis/pinpoint-sms-voice-v2/2022-03-31/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} diff --git a/apis/polly/2016-06-10/smoke-2.json b/apis/polly/2016-06-10/smoke-2.json index 4e081736510..6cf13174af4 100644 --- a/apis/polly/2016-06-10/smoke-2.json +++ b/apis/polly/2016-06-10/smoke-2.json @@ -1,16 +1,14 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeVoicesSuccess", - "operationName": "DescribeVoices", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeVoicesSuccess", + "operationName": "DescribeVoices", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/polly/2016-06-10/smoke.json b/apis/polly/2016-06-10/smoke.json deleted file mode 100644 index 13bd72715d3..00000000000 --- a/apis/polly/2016-06-10/smoke.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeVoices", - "input": {}, - "errorExpectedFromService": false - } - ] -} diff --git a/apis/pricing/2017-10-15/smoke.json b/apis/pricing/2017-10-15/smoke.json deleted file mode 100644 index a9756813e4a..00000000000 --- a/apis/pricing/2017-10-15/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} diff --git a/apis/rds/2013-01-10/smoke.json b/apis/rds/2013-01-10/smoke.json deleted file mode 100644 index 068b23492c3..00000000000 --- a/apis/rds/2013-01-10/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeDBEngineVersions", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeDBInstances", - "input": { - "DBInstanceIdentifier": "fake-id" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/rds/2013-02-12/smoke.json b/apis/rds/2013-02-12/smoke.json deleted file mode 100644 index 068b23492c3..00000000000 --- a/apis/rds/2013-02-12/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeDBEngineVersions", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeDBInstances", - "input": { - "DBInstanceIdentifier": "fake-id" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/rds/2013-09-09/smoke.json b/apis/rds/2013-09-09/smoke.json deleted file mode 100644 index 068b23492c3..00000000000 --- a/apis/rds/2013-09-09/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeDBEngineVersions", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeDBInstances", - "input": { - "DBInstanceIdentifier": "fake-id" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/rds/2014-09-01/smoke.json b/apis/rds/2014-09-01/smoke.json deleted file mode 100644 index 068b23492c3..00000000000 --- a/apis/rds/2014-09-01/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeDBEngineVersions", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeDBInstances", - "input": { - "DBInstanceIdentifier": "fake-id" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/rds/2014-10-31/smoke-2.json b/apis/rds/2014-10-31/smoke-2.json new file mode 100644 index 00000000000..a87abe16300 --- /dev/null +++ b/apis/rds/2014-10-31/smoke-2.json @@ -0,0 +1,25 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeDBEngineVersionsSuccess", + "operationName": "DescribeDBEngineVersions", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeDBInstancesFailure", + "operationName": "DescribeDBInstances", + "input": { + "DBInstanceIdentifier": "fake-id" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] +} diff --git a/apis/rds/2014-10-31/smoke.json b/apis/rds/2014-10-31/smoke.json deleted file mode 100644 index 068b23492c3..00000000000 --- a/apis/rds/2014-10-31/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeDBEngineVersions", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeDBInstances", - "input": { - "DBInstanceIdentifier": "fake-id" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/redshift/2012-12-01/smoke-2.json b/apis/redshift/2012-12-01/smoke-2.json index 226f70e453f..98458f3f222 100644 --- a/apis/redshift/2012-12-01/smoke-2.json +++ b/apis/redshift/2012-12-01/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeClusterVersionsSuccess", - "operationName": "DescribeClusterVersions", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeClustersFailure", - "operationName": "DescribeClusters", - "input": { - "ClusterIdentifier": "fake-cluster" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeClusterVersionsSuccess", + "operationName": "DescribeClusterVersions", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeClustersFailure", + "operationName": "DescribeClusters", + "input": { + "ClusterIdentifier": "fake-cluster" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/redshift/2012-12-01/smoke.json b/apis/redshift/2012-12-01/smoke.json deleted file mode 100644 index f3c1fa669ca..00000000000 --- a/apis/redshift/2012-12-01/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeClusterVersions", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeClusters", - "input": { - "ClusterIdentifier": "fake-cluster" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/rekognition/2016-06-27/smoke-2.json b/apis/rekognition/2016-06-27/smoke-2.json index de75dadfd71..03e2e54fe81 100644 --- a/apis/rekognition/2016-06-27/smoke-2.json +++ b/apis/rekognition/2016-06-27/smoke-2.json @@ -1,16 +1,14 @@ { - "version": 2, - "testCases": [ - { - "id": "ListCollectionsSuccess", - "operationName": "ListCollections", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListCollectionsSuccess", + "operationName": "ListCollections", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/rekognition/2016-06-27/smoke.json b/apis/rekognition/2016-06-27/smoke.json deleted file mode 100644 index 775f395788c..00000000000 --- a/apis/rekognition/2016-06-27/smoke.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListCollections", - "input": {}, - "errorExpectedFromService": false - } - ] -} diff --git a/apis/route53/2013-04-01/smoke-2.json b/apis/route53/2013-04-01/smoke-2.json index cc799005202..035ee01a247 100644 --- a/apis/route53/2013-04-01/smoke-2.json +++ b/apis/route53/2013-04-01/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListHostedZonesSuccess", - "operationName": "ListHostedZones", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-east-1" - } - }, - { - "id": "GetHostedZoneFailure", - "operationName": "GetHostedZone", - "input": { - "Id": "fake-zone" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-east-1" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListHostedZonesSuccess", + "operationName": "ListHostedZones", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-east-1" } + }, + { + "id": "GetHostedZoneFailure", + "operationName": "GetHostedZone", + "input": { + "Id": "fake-zone" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-east-1" } + } + ] } diff --git a/apis/route53/2013-04-01/smoke.json b/apis/route53/2013-04-01/smoke.json deleted file mode 100644 index 0b571737085..00000000000 --- a/apis/route53/2013-04-01/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-east-1", - "testCases": [ - { - "operationName": "ListHostedZones", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "GetHostedZone", - "input": { - "Id": "fake-zone" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/route53domains/2014-05-15/smoke-2.json b/apis/route53domains/2014-05-15/smoke-2.json index 03e1a9b3c56..8f1d0957d16 100644 --- a/apis/route53domains/2014-05-15/smoke-2.json +++ b/apis/route53domains/2014-05-15/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListDomainsSuccess", - "operationName": "ListDomains", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-east-1" - } - }, - { - "id": "GetDomainDetailFailure", - "operationName": "GetDomainDetail", - "input": { - "DomainName": "fake-domain-name" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-east-1" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListDomainsSuccess", + "operationName": "ListDomains", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-east-1" } + }, + { + "id": "GetDomainDetailFailure", + "operationName": "GetDomainDetail", + "input": { + "DomainName": "fake-domain-name" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-east-1" } + } + ] } diff --git a/apis/route53domains/2014-05-15/smoke.json b/apis/route53domains/2014-05-15/smoke.json deleted file mode 100644 index 0b6a1ed3317..00000000000 --- a/apis/route53domains/2014-05-15/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-east-1", - "testCases": [ - { - "operationName": "ListDomains", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "GetDomainDetail", - "input": { - "DomainName": "fake-domain-name" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/route53resolver/2018-04-01/smoke-2.json b/apis/route53resolver/2018-04-01/smoke-2.json index 247ee5fda91..7b1e911e36e 100644 --- a/apis/route53resolver/2018-04-01/smoke-2.json +++ b/apis/route53resolver/2018-04-01/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListResolverEndpointsSuccess", - "operationName": "ListResolverEndpoints", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "GetResolverRuleFailure", - "operationName": "GetResolverRule", - "input": { - "ResolverRuleId": "fake-id" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListResolverEndpointsSuccess", + "operationName": "ListResolverEndpoints", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "GetResolverRuleFailure", + "operationName": "GetResolverRule", + "input": { + "ResolverRuleId": "fake-id" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/route53resolver/2018-04-01/smoke.json b/apis/route53resolver/2018-04-01/smoke.json deleted file mode 100644 index 4f1cf1689e7..00000000000 --- a/apis/route53resolver/2018-04-01/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListResolverEndpoints", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "GetResolverRule", - "input": { - "ResolverRuleId": "fake-id" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/s3/2006-03-01/smoke-2.json b/apis/s3/2006-03-01/smoke-2.json index abba6965e99..ea0e75f7fe2 100644 --- a/apis/s3/2006-03-01/smoke-2.json +++ b/apis/s3/2006-03-01/smoke-2.json @@ -1,16 +1,14 @@ { - "version": 2, - "testCases": [ - { - "id": "ListBucketsSuccess", - "operationName": "ListBuckets", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListBucketsSuccess", + "operationName": "ListBuckets", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/s3/2006-03-01/smoke.json b/apis/s3/2006-03-01/smoke.json deleted file mode 100644 index 2c6625a7907..00000000000 --- a/apis/s3/2006-03-01/smoke.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListBuckets", - "input": {}, - "errorExpectedFromService": false - } - ] -} diff --git a/apis/secretsmanager/2017-10-17/smoke-2.json b/apis/secretsmanager/2017-10-17/smoke-2.json index d1d6d4ffd9e..5e25d77d97c 100644 --- a/apis/secretsmanager/2017-10-17/smoke-2.json +++ b/apis/secretsmanager/2017-10-17/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListSecretsSuccess", - "operationName": "ListSecrets", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeSecretFailure", - "operationName": "DescribeSecret", - "input": { - "SecretId": "fake-secret-id" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListSecretsSuccess", + "operationName": "ListSecrets", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeSecretFailure", + "operationName": "DescribeSecret", + "input": { + "SecretId": "fake-secret-id" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/secretsmanager/2017-10-17/smoke.json b/apis/secretsmanager/2017-10-17/smoke.json deleted file mode 100644 index 51e9dc240b6..00000000000 --- a/apis/secretsmanager/2017-10-17/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListSecrets", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeSecret", - "input": { - "SecretId": "fake-secret-id" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/servicecatalog/2015-12-10/smoke-2.json b/apis/servicecatalog/2015-12-10/smoke-2.json index 6c9e8d1d616..7a99159152a 100644 --- a/apis/servicecatalog/2015-12-10/smoke-2.json +++ b/apis/servicecatalog/2015-12-10/smoke-2.json @@ -1,16 +1,14 @@ { - "version": 2, - "testCases": [ - { - "id": "ListAcceptedPortfolioSharesSuccess", - "operationName": "ListAcceptedPortfolioShares", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListAcceptedPortfolioSharesSuccess", + "operationName": "ListAcceptedPortfolioShares", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/servicecatalog/2015-12-10/smoke.json b/apis/servicecatalog/2015-12-10/smoke.json deleted file mode 100644 index 3d4641f84d6..00000000000 --- a/apis/servicecatalog/2015-12-10/smoke.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListAcceptedPortfolioShares", - "input": {}, - "errorExpectedFromService": false - } - ] -} diff --git a/apis/shield/2016-06-02/smoke-2.json b/apis/shield/2016-06-02/smoke-2.json index 701e8e3a042..3f7a3e930ab 100644 --- a/apis/shield/2016-06-02/smoke-2.json +++ b/apis/shield/2016-06-02/smoke-2.json @@ -1,16 +1,14 @@ { - "version": 2, - "testCases": [ - { - "id": "ListAttacksSuccess", - "operationName": "ListAttacks", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-east-1" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListAttacksSuccess", + "operationName": "ListAttacks", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-east-1" } + } + ] } diff --git a/apis/shield/2016-06-02/smoke.json b/apis/shield/2016-06-02/smoke.json deleted file mode 100644 index 881ade39a75..00000000000 --- a/apis/shield/2016-06-02/smoke.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-east-1", - "testCases": [ - { - "operationName": "ListAttacks", - "input": {}, - "errorExpectedFromService": false - } - ] -} diff --git a/apis/sms/2016-10-24/smoke.json b/apis/sms/2016-10-24/smoke.json deleted file mode 100644 index 2cc40fdaeaf..00000000000 --- a/apis/sms/2016-10-24/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "GetConnectors", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DeleteReplicationJob", - "input": { - "replicationJobId": "invalidId" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/snowball/2016-06-30/smoke-2.json b/apis/snowball/2016-06-30/smoke-2.json index 3185c31844e..45ca7caa5fb 100644 --- a/apis/snowball/2016-06-30/smoke-2.json +++ b/apis/snowball/2016-06-30/smoke-2.json @@ -1,16 +1,14 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeAddressesSuccess", - "operationName": "DescribeAddresses", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeAddressesSuccess", + "operationName": "DescribeAddresses", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/snowball/2016-06-30/smoke.json b/apis/snowball/2016-06-30/smoke.json deleted file mode 100644 index a512b51752c..00000000000 --- a/apis/snowball/2016-06-30/smoke.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeAddresses", - "input": {}, - "errorExpectedFromService": false - } - ] -} diff --git a/apis/sns/2010-03-31/smoke-2.json b/apis/sns/2010-03-31/smoke-2.json index 8123bd93fb3..1ef84c5c2a4 100644 --- a/apis/sns/2010-03-31/smoke-2.json +++ b/apis/sns/2010-03-31/smoke-2.json @@ -1,30 +1,26 @@ { - "version": 2, - "testCases": [ - { - "id": "ListTopicsSuccess", - "operationName": "ListTopics", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "PublishFailure", - "operationName": "Publish", - "input": { - "Message": "hello", - "TopicArn": "fake_topic" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListTopicsSuccess", + "operationName": "ListTopics", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "PublishFailure", + "operationName": "Publish", + "input": { + "Message": "hello", + "TopicArn": "fake_topic" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/sns/2010-03-31/smoke.json b/apis/sns/2010-03-31/smoke.json deleted file mode 100644 index 0dcf07ba91f..00000000000 --- a/apis/sns/2010-03-31/smoke.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListTopics", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "Publish", - "input": { - "Message": "hello", - "TopicArn": "fake_topic" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/sqs/2012-11-05/smoke-2.json b/apis/sqs/2012-11-05/smoke-2.json index 0fd734061d7..7bd30f52fee 100644 --- a/apis/sqs/2012-11-05/smoke-2.json +++ b/apis/sqs/2012-11-05/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListQueuesSuccess", - "operationName": "ListQueues", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "GetQueueUrlFailure", - "operationName": "GetQueueUrl", - "input": { - "QueueName": "fake_queue" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListQueuesSuccess", + "operationName": "ListQueues", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "GetQueueUrlFailure", + "operationName": "GetQueueUrl", + "input": { + "QueueName": "fake_queue" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/sqs/2012-11-05/smoke.json b/apis/sqs/2012-11-05/smoke.json deleted file mode 100644 index 3c9fc7a5e40..00000000000 --- a/apis/sqs/2012-11-05/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListQueues", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "GetQueueUrl", - "input": { - "QueueName": "fake_queue" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/ssm/2014-11-06/smoke-2.json b/apis/ssm/2014-11-06/smoke-2.json index c04e7204665..6d8ff09b837 100644 --- a/apis/ssm/2014-11-06/smoke-2.json +++ b/apis/ssm/2014-11-06/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "ListDocumentsSuccess", - "operationName": "ListDocuments", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "GetDocumentFailure", - "operationName": "GetDocument", - "input": { - "Name": "'fake-name'" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListDocumentsSuccess", + "operationName": "ListDocuments", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "GetDocumentFailure", + "operationName": "GetDocument", + "input": { + "Name": "'fake-name'" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/ssm/2014-11-06/smoke.json b/apis/ssm/2014-11-06/smoke.json deleted file mode 100644 index 9c3494e7c2c..00000000000 --- a/apis/ssm/2014-11-06/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListDocuments", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "GetDocument", - "input": { - "Name": "'fake-name'" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/states/2016-11-23/smoke-2.json b/apis/states/2016-11-23/smoke-2.json index c8060da11dd..d79bd631596 100644 --- a/apis/states/2016-11-23/smoke-2.json +++ b/apis/states/2016-11-23/smoke-2.json @@ -1,16 +1,14 @@ { - "version": 2, - "testCases": [ - { - "id": "ListActivitiesSuccess", - "operationName": "ListActivities", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListActivitiesSuccess", + "operationName": "ListActivities", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/states/2016-11-23/smoke.json b/apis/states/2016-11-23/smoke.json deleted file mode 100644 index bf1d5402cea..00000000000 --- a/apis/states/2016-11-23/smoke.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListActivities", - "input": {}, - "errorExpectedFromService": false - } - ] -} diff --git a/apis/sts/2011-06-15/smoke-2.json b/apis/sts/2011-06-15/smoke-2.json index e1fd1294c0a..1173f2454d7 100644 --- a/apis/sts/2011-06-15/smoke-2.json +++ b/apis/sts/2011-06-15/smoke-2.json @@ -1,30 +1,26 @@ { - "version": 2, - "testCases": [ - { - "id": "GetSessionTokenSuccess", - "operationName": "GetSessionToken", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "GetFederationTokenFailure", - "operationName": "GetFederationToken", - "input": { - "Name": "temp", - "Policy": "{\\\"temp\\\":true}" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "GetSessionTokenSuccess", + "operationName": "GetSessionToken", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "GetFederationTokenFailure", + "operationName": "GetFederationToken", + "input": { + "Name": "temp", + "Policy": "{\\\"temp\\\":true}" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/sts/2011-06-15/smoke.json b/apis/sts/2011-06-15/smoke.json deleted file mode 100644 index 238975e3024..00000000000 --- a/apis/sts/2011-06-15/smoke.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "GetSessionToken", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "GetFederationToken", - "input": { - "Name": "temp", - "Policy": "{\\\"temp\\\":true}" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/support/2013-04-15/smoke-2.json b/apis/support/2013-04-15/smoke-2.json index 4227b1dfc1b..53aa8979272 100644 --- a/apis/support/2013-04-15/smoke-2.json +++ b/apis/support/2013-04-15/smoke-2.json @@ -1,33 +1,29 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeServicesSuccess", - "operationName": "DescribeServices", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-east-1" - } - }, - { - "id": "CreateCaseFailure", - "operationName": "CreateCase", - "input": { - "subject": "subject", - "communicationBody": "communication", - "categoryCode": "category", - "serviceCode": "amazon-dynamodb", - "severityCode": "low" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-east-1" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeServicesSuccess", + "operationName": "DescribeServices", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-east-1" } + }, + { + "id": "CreateCaseFailure", + "operationName": "CreateCase", + "input": { + "subject": "subject", + "communicationBody": "communication", + "categoryCode": "category", + "serviceCode": "amazon-dynamodb", + "severityCode": "low" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-east-1" } + } + ] } diff --git a/apis/support/2013-04-15/smoke.json b/apis/support/2013-04-15/smoke.json deleted file mode 100644 index eab7c910700..00000000000 --- a/apis/support/2013-04-15/smoke.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-east-1", - "testCases": [ - { - "operationName": "DescribeServices", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "CreateCase", - "input": { - "subject": "subject", - "communicationBody": "communication", - "categoryCode": "category", - "serviceCode": "amazon-dynamodb", - "severityCode": "low" - }, - "errorExpectedFromService": true - } - ] -} diff --git a/apis/swf/2012-01-25/smoke-2.json b/apis/swf/2012-01-25/smoke-2.json index fcb5178b46e..1862b0d0252 100644 --- a/apis/swf/2012-01-25/smoke-2.json +++ b/apis/swf/2012-01-25/smoke-2.json @@ -1,31 +1,27 @@ { - "version": 2, - "testCases": [ - { - "id": "ListDomainsSuccess", - "operationName": "ListDomains", - "input": { - "registrationStatus": "REGISTERED" - }, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeDomainFailure", - "operationName": "DescribeDomain", - "input": { - "name": "fake_domain" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListDomainsSuccess", + "operationName": "ListDomains", + "input": { + "registrationStatus": "REGISTERED" + }, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeDomainFailure", + "operationName": "DescribeDomain", + "input": { + "name": "fake_domain" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/swf/2012-01-25/smoke.json b/apis/swf/2012-01-25/smoke.json deleted file mode 100644 index fd79cd97a29..00000000000 --- a/apis/swf/2012-01-25/smoke.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "ListDomains", - "input": { - "registrationStatus": "REGISTERED" - }, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeDomain", - "input": { - "name": "fake_domain" - }, - "errorExpectedFromService": true - } - ] -} \ No newline at end of file diff --git a/apis/verifiedpermissions/2021-12-01/smoke.json b/apis/verifiedpermissions/2021-12-01/smoke.json deleted file mode 100644 index a9756813e4a..00000000000 --- a/apis/verifiedpermissions/2021-12-01/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} diff --git a/apis/waf-regional/2016-11-28/smoke-2.json b/apis/waf-regional/2016-11-28/smoke-2.json index 584990fd6b7..f815675fae7 100644 --- a/apis/waf-regional/2016-11-28/smoke-2.json +++ b/apis/waf-regional/2016-11-28/smoke-2.json @@ -1,32 +1,28 @@ { - "version": 2, - "testCases": [ - { - "id": "ListRulesSuccess", - "operationName": "ListRules", - "input": { - "Limit": 20 - }, - "expectation": { - "success": {} - }, - "config": { - "region": "us-east-1" - } - }, - { - "id": "CreateSqlInjectionMatchSetFailure", - "operationName": "CreateSqlInjectionMatchSet", - "input": { - "Name": "fake_name", - "ChangeToken": "fake_token" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-east-1" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListRulesSuccess", + "operationName": "ListRules", + "input": { + "Limit": 20 + }, + "expectation": { + "success": {} + }, + "config": { "region": "us-east-1" } + }, + { + "id": "CreateSqlInjectionMatchSetFailure", + "operationName": "CreateSqlInjectionMatchSet", + "input": { + "Name": "fake_name", + "ChangeToken": "fake_token" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-east-1" } + } + ] } diff --git a/apis/waf-regional/2016-11-28/smoke.json b/apis/waf-regional/2016-11-28/smoke.json deleted file mode 100644 index 83717fc850d..00000000000 --- a/apis/waf-regional/2016-11-28/smoke.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-east-1", - "testCases": [ - { - "operationName": "ListRules", - "input": { - "Limit": 20 - }, - "errorExpectedFromService": false - }, - { - "operationName": "CreateSqlInjectionMatchSet", - "input": { - "Name": "fake_name", - "ChangeToken": "fake_token" - }, - "errorExpectedFromService": true - } - ] -} \ No newline at end of file diff --git a/apis/waf/2015-08-24/smoke-2.json b/apis/waf/2015-08-24/smoke-2.json index 584990fd6b7..f815675fae7 100644 --- a/apis/waf/2015-08-24/smoke-2.json +++ b/apis/waf/2015-08-24/smoke-2.json @@ -1,32 +1,28 @@ { - "version": 2, - "testCases": [ - { - "id": "ListRulesSuccess", - "operationName": "ListRules", - "input": { - "Limit": 20 - }, - "expectation": { - "success": {} - }, - "config": { - "region": "us-east-1" - } - }, - { - "id": "CreateSqlInjectionMatchSetFailure", - "operationName": "CreateSqlInjectionMatchSet", - "input": { - "Name": "fake_name", - "ChangeToken": "fake_token" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-east-1" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "ListRulesSuccess", + "operationName": "ListRules", + "input": { + "Limit": 20 + }, + "expectation": { + "success": {} + }, + "config": { "region": "us-east-1" } + }, + { + "id": "CreateSqlInjectionMatchSetFailure", + "operationName": "CreateSqlInjectionMatchSet", + "input": { + "Name": "fake_name", + "ChangeToken": "fake_token" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-east-1" } + } + ] } diff --git a/apis/waf/2015-08-24/smoke.json b/apis/waf/2015-08-24/smoke.json deleted file mode 100644 index 83717fc850d..00000000000 --- a/apis/waf/2015-08-24/smoke.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-east-1", - "testCases": [ - { - "operationName": "ListRules", - "input": { - "Limit": 20 - }, - "errorExpectedFromService": false - }, - { - "operationName": "CreateSqlInjectionMatchSet", - "input": { - "Name": "fake_name", - "ChangeToken": "fake_token" - }, - "errorExpectedFromService": true - } - ] -} \ No newline at end of file diff --git a/apis/wafv2/2019-07-29/smoke-2.json b/apis/wafv2/2019-07-29/smoke-2.json index eb60b63b5f8..8c0d8071827 100644 --- a/apis/wafv2/2019-07-29/smoke-2.json +++ b/apis/wafv2/2019-07-29/smoke-2.json @@ -1,36 +1,29 @@ { - "version": 2, - "testCases": [ - { - "id": "ListWebACLsSuccess", - "operationName": "ListWebACLs", - "input": { + "version": 2, + "testCases": [ + { + "id": "ListWebACLsSuccess", + "operationName": "ListWebACLs", + "input": { "Scope": "REGIONAL", "Limit": 20 }, - "expectation": { - "success": {} - }, - "config": { - "region": "us-east-1" - } - }, - { - "id": "CreateRegexPatternSetFailure", - "operationName": "CreateRegexPatternSet", - "input": { + "expectation": { + "success": {} + }, + "config": { "region": "us-east-1" } + }, + { + "id": "CreateRegexPatternSetFailure", + "operationName": "CreateRegexPatternSet", + "input": { "Name": "fake_name", - "Scope": "fake_scope", - "RegularExpressionList": [ - { "RegexString": "fake_regex" } - ] + "Scope": "fake_scope" + }, + "expectation": { + "failure": {} }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-east-1" - } - } - ] + "config": { "region": "us-east-1" } + } + ] } diff --git a/apis/wafv2/2019-07-29/smoke.json b/apis/wafv2/2019-07-29/smoke.json deleted file mode 100644 index 672468473cc..00000000000 --- a/apis/wafv2/2019-07-29/smoke.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-east-1", - "testCases": [ - { - "operationName": "ListWebACLs", - "input": { - "Scope": "REGIONAL", - "Limit": 20 - }, - "errorExpectedFromService": false - }, - { - "operationName": "CreateRegexPatternSet", - "input": { - "Name": "fake_name", - "Scope": "fake_scope" - }, - "errorExpectedFromService": true - } - ] -} \ No newline at end of file diff --git a/apis/workspaces/2015-04-08/smoke-2.json b/apis/workspaces/2015-04-08/smoke-2.json index d1c215e5539..ea14ae13880 100644 --- a/apis/workspaces/2015-04-08/smoke-2.json +++ b/apis/workspaces/2015-04-08/smoke-2.json @@ -1,29 +1,25 @@ { - "version": 2, - "testCases": [ - { - "id": "DescribeWorkspacesSuccess", - "operationName": "DescribeWorkspaces", - "input": {}, - "expectation": { - "success": {} - }, - "config": { - "region": "us-west-2" - } - }, - { - "id": "DescribeWorkspacesFailure", - "operationName": "DescribeWorkspaces", - "input": { - "DirectoryId": "fake-id" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2" - } - } - ] + "version": 2, + "testCases": [ + { + "id": "DescribeWorkspacesSuccess", + "operationName": "DescribeWorkspaces", + "input": {}, + "expectation": { + "success": {} + }, + "config": { "region": "us-west-2" } + }, + { + "id": "DescribeWorkspacesFailure", + "operationName": "DescribeWorkspaces", + "input": { + "DirectoryId": "fake-id" + }, + "expectation": { + "failure": {} + }, + "config": { "region": "us-west-2" } + } + ] } diff --git a/apis/workspaces/2015-04-08/smoke.json b/apis/workspaces/2015-04-08/smoke.json deleted file mode 100644 index 02e89229062..00000000000 --- a/apis/workspaces/2015-04-08/smoke.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - { - "operationName": "DescribeWorkspaces", - "input": {}, - "errorExpectedFromService": false - }, - { - "operationName": "DescribeWorkspaces", - "input": { - "DirectoryId": "fake-id" - }, - "errorExpectedFromService": true - } - ] -} From 7949c379afe534731ac602b88b2a5deb74d061dc Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Wed, 13 Dec 2023 19:19:30 -0500 Subject: [PATCH 06/10] Clean up --- apis/iot-data/2015-05-28/smoke-2.json | 19 ---------- apis/wafv2/2019-07-29/smoke-2.json | 29 --------------- .../features/smoke.feature | 11 ------ .../features/smoke_step_definitions.rb | 35 ------------------- .../aws-sdk-cloudfront/features/smoke.feature | 31 +++++++++------- gems/aws-sdk-dynamodb/features/smoke.feature | 31 +++++++++------- gems/aws-sdk-eksauth/features/smoke.feature | 11 ------ .../features/smoke_step_definitions.rb | 35 ------------------- .../features/smoke.feature | 20 ----------- gems/aws-sdk-rds/features/smoke.feature | 31 +++++++++------- gems/aws-sdk-wafv2/features/smoke.feature | 32 ----------------- 11 files changed, 54 insertions(+), 231 deletions(-) delete mode 100644 apis/iot-data/2015-05-28/smoke-2.json delete mode 100644 apis/wafv2/2019-07-29/smoke-2.json delete mode 100644 gems/aws-sdk-bedrockruntime/features/smoke.feature delete mode 100644 gems/aws-sdk-bedrockruntime/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-eksauth/features/smoke.feature delete mode 100644 gems/aws-sdk-eksauth/features/smoke_step_definitions.rb delete mode 100644 gems/aws-sdk-iotdataplane/features/smoke.feature delete mode 100644 gems/aws-sdk-wafv2/features/smoke.feature diff --git a/apis/iot-data/2015-05-28/smoke-2.json b/apis/iot-data/2015-05-28/smoke-2.json deleted file mode 100644 index 3450b03c555..00000000000 --- a/apis/iot-data/2015-05-28/smoke-2.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "GetThingShadowFailure", - "operationName": "GetThingShadow", - "input": { - "thingName": "fake-thing" - }, - "expectation": { - "failure": {} - }, - "config": { - "region": "us-west-2", - "uri": "https://data.iot.us-west-2.amazonaws.com" - } - } - ] -} diff --git a/apis/wafv2/2019-07-29/smoke-2.json b/apis/wafv2/2019-07-29/smoke-2.json deleted file mode 100644 index 8c0d8071827..00000000000 --- a/apis/wafv2/2019-07-29/smoke-2.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListWebACLsSuccess", - "operationName": "ListWebACLs", - "input": { - "Scope": "REGIONAL", - "Limit": 20 - }, - "expectation": { - "success": {} - }, - "config": { "region": "us-east-1" } - }, - { - "id": "CreateRegexPatternSetFailure", - "operationName": "CreateRegexPatternSet", - "input": { - "Name": "fake_name", - "Scope": "fake_scope" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-east-1" } - } - ] -} diff --git a/gems/aws-sdk-bedrockruntime/features/smoke.feature b/gems/aws-sdk-bedrockruntime/features/smoke.feature deleted file mode 100644 index 360c2bfb598..00000000000 --- a/gems/aws-sdk-bedrockruntime/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for BedrockRuntime - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-bedrockruntime/features/smoke_step_definitions.rb b/gems/aws-sdk-bedrockruntime/features/smoke_step_definitions.rb deleted file mode 100644 index 06e774041ca..00000000000 --- a/gems/aws-sdk-bedrockruntime/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::BedrockRuntime::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::BedrockRuntime::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-cloudfront/features/smoke.feature b/gems/aws-sdk-cloudfront/features/smoke.feature index 82e31c23f59..f4cbd9ae60d 100644 --- a/gems/aws-sdk-cloudfront/features/smoke.feature +++ b/gems/aws-sdk-cloudfront/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for CloudFront -Background: - Given I create a client in region 'us-east-1' - @cloudfront @smoke - Scenario: Call Aws::CloudFront::Client#list_cloud_front_origin_access_identities and expect it to succeed - When I call the operation 'list_cloud_front_origin_access_identities' with params: - """ + Scenario: ListCloudFrontOriginAccessIdentitiesSuccess + Given I create a 'Aws::CloudFront' client with config: + """ +{"region":"us-east-1"} + """ + When I call the operation 'list_cloud_front_origin_access_identities' with params: + """ {"max_items":"1"} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @cloudfront @smoke - Scenario: Call Aws::Aws::CloudFront::Client#get_distribution and expect it to fail - When I call the operation 'get_distribution' with params: - """ + Scenario: GetDistributionFailure + Given I create a 'Aws::CloudFront' client with config: + """ +{"region":"us-east-1"} + """ + When I call the operation 'get_distribution' with params: + """ {"id":"fake-id"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-dynamodb/features/smoke.feature b/gems/aws-sdk-dynamodb/features/smoke.feature index 9f31521c3d8..95e7a410d71 100644 --- a/gems/aws-sdk-dynamodb/features/smoke.feature +++ b/gems/aws-sdk-dynamodb/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for DynamoDB -Background: - Given I create a client in region 'us-west-2' - @dynamodb @smoke - Scenario: Call Aws::DynamoDB::Client#list_tables and expect it to succeed - When I call the operation 'list_tables' with params: - """ + Scenario: ListTablesSuccess + Given I create a 'Aws::DynamoDB' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_tables' with params: + """ {"limit":1} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @dynamodb @smoke - Scenario: Call Aws::Aws::DynamoDB::Client#describe_table and expect it to fail - When I call the operation 'describe_table' with params: - """ + Scenario: DescribeTableFailure + Given I create a 'Aws::DynamoDB' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_table' with params: + """ {"table_name":"fake-table"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-eksauth/features/smoke.feature b/gems/aws-sdk-eksauth/features/smoke.feature deleted file mode 100644 index 67bf1c7bc86..00000000000 --- a/gems/aws-sdk-eksauth/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for EKSAuth - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-eksauth/features/smoke_step_definitions.rb b/gems/aws-sdk-eksauth/features/smoke_step_definitions.rb deleted file mode 100644 index 14ee64cb8df..00000000000 --- a/gems/aws-sdk-eksauth/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::EKSAuth::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::EKSAuth::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end diff --git a/gems/aws-sdk-iotdataplane/features/smoke.feature b/gems/aws-sdk-iotdataplane/features/smoke.feature deleted file mode 100644 index 8dbbe0a7b63..00000000000 --- a/gems/aws-sdk-iotdataplane/features/smoke.feature +++ /dev/null @@ -1,20 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for IoTDataPlane - - @iotdataplane @smoke - Scenario: GetThingShadowFailure - Given I create a 'Aws::IoTDataPlane' client with config: - """ -{"region":"us-west-2","endpoint":"https://data-ats.iot.us-west-2.amazonaws.com"} - """ - When I call the operation 'get_thing_shadow' with params: - """ -{"thing_name":"fake-thing"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-rds/features/smoke.feature b/gems/aws-sdk-rds/features/smoke.feature index f4381981183..f4d52236486 100644 --- a/gems/aws-sdk-rds/features/smoke.feature +++ b/gems/aws-sdk-rds/features/smoke.feature @@ -7,21 +7,26 @@ Feature: Smoke tests for RDS -Background: - Given I create a client in region 'us-west-2' - @rds @smoke - Scenario: Call Aws::RDS::Client#describe_db_engine_versions and expect it to succeed - When I call the operation 'describe_db_engine_versions' with params: - """ + Scenario: DescribeDBEngineVersionsSuccess + Given I create a 'Aws::RDS' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_db_engine_versions' with params: + """ {} - """ - Then I expect an error was not raised + """ + Then I expect an error was not raised @rds @smoke - Scenario: Call Aws::Aws::RDS::Client#describe_db_instances and expect it to fail - When I call the operation 'describe_db_instances' with params: - """ + Scenario: DescribeDBInstancesFailure + Given I create a 'Aws::RDS' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_db_instances' with params: + """ {"db_instance_identifier":"fake-id"} - """ - Then I expect an error was raised + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-wafv2/features/smoke.feature b/gems/aws-sdk-wafv2/features/smoke.feature deleted file mode 100644 index 654325a5427..00000000000 --- a/gems/aws-sdk-wafv2/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for WAFV2 - - @wafv2 @smoke - Scenario: ListWebACLsSuccess - Given I create a 'Aws::WAFV2' client with config: - """ -{"region":"us-east-1"} - """ - When I call the operation 'list_web_acls' with params: - """ -{"scope":"REGIONAL","limit":20} - """ - Then I expect an error was not raised - - @wafv2 @smoke - Scenario: CreateRegexPatternSetFailure - Given I create a 'Aws::WAFV2' client with config: - """ -{"region":"us-east-1"} - """ - When I call the operation 'create_regex_pattern_set' with params: - """ -{"name":"fake_name","scope":"fake_scope","regular_expression_list":[{"regex_string":"fake_regex"}]} - """ - Then I expect an error was raised From 0a18db45036a0ac7c79d71c868badac13d006bfc Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Thu, 14 Dec 2023 12:42:02 -0500 Subject: [PATCH 07/10] Remove new smoke and smoke feature to start fresh --- apis/acm/2015-12-08/smoke-2.json | 25 --------------- apis/apigateway/2015-07-09/smoke-2.json | 27 ---------------- .../2016-02-06/smoke-2.json | 16 ---------- apis/appstream/2016-12-01/smoke-2.json | 14 -------- apis/athena/2017-05-18/smoke-2.json | 14 -------- apis/autoscaling/2011-01-01/smoke-2.json | 27 ---------------- apis/batch/2016-08-10/smoke-2.json | 14 -------- apis/cloudformation/2010-05-15/smoke-2.json | 26 --------------- apis/cloudfront/2020-05-31/smoke-2.json | 27 ---------------- apis/cloudhsmv2/2017-04-28/smoke-2.json | 25 --------------- apis/cloudsearch/2013-01-01/smoke-2.json | 25 --------------- apis/cloudtrail/2013-11-01/smoke-2.json | 25 --------------- apis/codebuild/2016-10-06/smoke-2.json | 14 -------- apis/codecommit/2015-04-13/smoke-2.json | 25 --------------- apis/codedeploy/2014-10-06/smoke-2.json | 25 --------------- apis/codepipeline/2015-07-09/smoke-2.json | 25 --------------- apis/codestar/2017-04-19/smoke-2.json | 14 -------- apis/cognito-identity/2014-06-30/smoke-2.json | 27 ---------------- apis/cognito-idp/2016-04-18/smoke-2.json | 27 ---------------- apis/cognito-sync/2014-06-30/smoke-2.json | 25 --------------- apis/config/2014-11-12/smoke-2.json | 26 --------------- apis/cur/2017-01-06/smoke-2.json | 14 -------- apis/devicefarm/2015-06-23/smoke-2.json | 25 --------------- apis/directconnect/2012-10-25/smoke-2.json | 25 --------------- apis/discovery/2015-11-01/smoke-2.json | 14 -------- apis/dms/2016-01-01/smoke-2.json | 25 --------------- apis/docdb/2014-10-31/smoke-2.json | 25 --------------- apis/ds/2015-04-16/smoke-2.json | 27 ---------------- apis/dynamodb/2012-08-10/smoke-2.json | 27 ---------------- apis/ec2/2016-11-15/smoke-2.json | 25 --------------- apis/ecr/2015-09-21/smoke-2.json | 25 --------------- apis/ecs/2014-11-13/smoke-2.json | 25 --------------- apis/elasticache/2015-02-02/smoke-2.json | 25 --------------- apis/elasticbeanstalk/2010-12-01/smoke-2.json | 25 --------------- .../elasticfilesystem/2015-02-01/smoke-2.json | 25 --------------- .../2012-06-01/smoke-2.json | 25 --------------- .../2015-12-01/smoke-2.json | 25 --------------- apis/elasticmapreduce/2009-03-31/smoke-2.json | 25 --------------- .../elastictranscoder/2012-09-25/smoke-2.json | 25 --------------- apis/email/2010-12-01/smoke-2.json | 25 --------------- apis/es/2015-01-01/smoke-2.json | 25 --------------- apis/eventbridge/2015-10-07/smoke-2.json | 25 --------------- apis/events/2015-10-07/smoke-2.json | 25 --------------- apis/firehose/2015-08-04/smoke-2.json | 25 --------------- apis/gamelift/2015-10-01/smoke-2.json | 25 --------------- apis/glacier/2012-06-01/smoke-2.json | 25 --------------- apis/glue/2017-03-31/smoke-2.json | 14 -------- apis/iam/2010-05-08/smoke-2.json | 25 --------------- apis/inspector/2016-02-16/smoke-2.json | 25 --------------- apis/iot/2015-05-28/smoke-2.json | 25 --------------- apis/kinesis/2013-12-02/smoke-2.json | 25 --------------- apis/kms/2014-11-01/smoke-2.json | 26 --------------- apis/lambda/2015-03-31/smoke-2.json | 25 --------------- apis/lightsail/2016-11-28/smoke-2.json | 14 -------- apis/logs/2014-03-28/smoke-2.json | 26 --------------- .../2015-07-01/smoke-2.json | 20 ------------ apis/monitoring/2010-08-01/smoke-2.json | 29 ----------------- apis/mturk-requester/2017-01-17/smoke-2.json | 14 -------- apis/neptune/2014-10-31/smoke-2.json | 25 --------------- apis/opensearch/2021-01-01/smoke-2.json | 25 --------------- apis/opsworks/2013-02-18/smoke-2.json | 25 --------------- apis/polly/2016-06-10/smoke-2.json | 14 -------- apis/rds/2014-10-31/smoke-2.json | 25 --------------- apis/redshift/2012-12-01/smoke-2.json | 25 --------------- apis/rekognition/2016-06-27/smoke-2.json | 14 -------- apis/route53/2013-04-01/smoke-2.json | 25 --------------- apis/route53domains/2014-05-15/smoke-2.json | 25 --------------- apis/route53resolver/2018-04-01/smoke-2.json | 25 --------------- apis/s3/2006-03-01/smoke-2.json | 14 -------- apis/secretsmanager/2017-10-17/smoke-2.json | 25 --------------- apis/servicecatalog/2015-12-10/smoke-2.json | 14 -------- apis/shield/2016-06-02/smoke-2.json | 14 -------- apis/snowball/2016-06-30/smoke-2.json | 14 -------- apis/sns/2010-03-31/smoke-2.json | 26 --------------- apis/sqs/2012-11-05/smoke-2.json | 25 --------------- apis/ssm/2014-11-06/smoke-2.json | 25 --------------- apis/states/2016-11-23/smoke-2.json | 14 -------- apis/sts/2011-06-15/smoke-2.json | 26 --------------- apis/support/2013-04-15/smoke-2.json | 29 ----------------- apis/swf/2012-01-25/smoke-2.json | 27 ---------------- apis/waf-regional/2016-11-28/smoke-2.json | 28 ---------------- apis/waf/2015-08-24/smoke-2.json | 28 ---------------- apis/workspaces/2015-04-08/smoke-2.json | 25 --------------- build_tools/services.rb | 4 +-- gems/aws-sdk-acm/features/smoke.feature | 32 ------------------- .../features/smoke.feature | 11 ------- .../aws-sdk-apigateway/features/smoke.feature | 32 ------------------- gems/aws-sdk-appfabric/features/smoke.feature | 11 ------- .../features/smoke.feature | 20 ------------ .../features/smoke.feature | 20 ------------ gems/aws-sdk-appstream/features/smoke.feature | 20 ------------ gems/aws-sdk-athena/features/smoke.feature | 20 ------------ .../features/smoke.feature | 32 ------------------- gems/aws-sdk-batch/features/smoke.feature | 20 ------------ gems/aws-sdk-bedrock/features/smoke.feature | 11 ------- .../features/smoke.feature | 11 ------- .../aws-sdk-cleanrooms/features/smoke.feature | 11 ------- .../features/smoke.feature | 11 ------- .../features/smoke.feature | 32 ------------------- .../aws-sdk-cloudfront/features/smoke.feature | 32 ------------------- .../aws-sdk-cloudhsmv2/features/smoke.feature | 32 ------------------- .../features/smoke.feature | 32 ------------------- .../aws-sdk-cloudtrail/features/smoke.feature | 32 ------------------- .../aws-sdk-cloudwatch/features/smoke.feature | 32 ------------------- .../features/smoke.feature | 32 ------------------- .../features/smoke.feature | 32 ------------------- gems/aws-sdk-codebuild/features/smoke.feature | 20 ------------ .../features/smoke.feature | 11 ------- .../aws-sdk-codecommit/features/smoke.feature | 32 ------------------- .../aws-sdk-codedeploy/features/smoke.feature | 32 ------------------- .../features/smoke.feature | 32 ------------------- gems/aws-sdk-codestar/features/smoke.feature | 20 ------------ .../features/smoke.feature | 32 ------------------- .../features/smoke.feature | 32 ------------------- .../features/smoke.feature | 32 ------------------- .../features/smoke.feature | 32 ------------------- gems/aws-sdk-core/CHANGELOG.md | 2 -- .../features/smoke.feature | 20 ------------ .../features/smoke.feature | 32 ------------------- .../features/smoke.feature | 11 ------- .../aws-sdk-devicefarm/features/smoke.feature | 32 ------------------- .../features/smoke.feature | 32 ------------------- .../features/smoke.feature | 32 ------------------- gems/aws-sdk-docdb/features/smoke.feature | 32 ------------------- gems/aws-sdk-dynamodb/features/smoke.feature | 32 ------------------- gems/aws-sdk-ec2/features/smoke.feature | 32 ------------------- gems/aws-sdk-ecr/features/smoke.feature | 32 ------------------- gems/aws-sdk-ecs/features/smoke.feature | 32 ------------------- gems/aws-sdk-efs/features/smoke.feature | 32 ------------------- .../features/smoke.feature | 32 ------------------- .../features/smoke.feature | 32 ------------------- .../features/smoke.feature | 32 ------------------- .../features/smoke.feature | 32 ------------------- .../features/smoke.feature | 32 ------------------- .../features/smoke.feature | 32 ------------------- gems/aws-sdk-emr/features/smoke.feature | 32 ------------------- .../features/smoke.feature | 32 ------------------- gems/aws-sdk-firehose/features/smoke.feature | 32 ------------------- gems/aws-sdk-gamelift/features/smoke.feature | 32 ------------------- gems/aws-sdk-glacier/features/smoke.feature | 32 ------------------- gems/aws-sdk-glue/features/smoke.feature | 20 ------------ gems/aws-sdk-iam/features/smoke.feature | 32 ------------------- gems/aws-sdk-inspector/features/smoke.feature | 32 ------------------- .../features/smoke.feature | 11 ------- gems/aws-sdk-iot/features/smoke.feature | 32 ------------------- .../features/smoke.feature | 11 ------- .../features/smoke.feature | 11 ------- gems/aws-sdk-keyspaces/features/smoke.feature | 11 ------- gems/aws-sdk-kinesis/features/smoke.feature | 32 ------------------- gems/aws-sdk-kms/features/smoke.feature | 32 ------------------- gems/aws-sdk-lambda/features/smoke.feature | 32 ------------------- gems/aws-sdk-lightsail/features/smoke.feature | 20 ------------ .../features/smoke.feature | 11 ------- .../features/smoke.feature | 20 ------------ .../features/smoke.feature | 11 ------- .../features/smoke.feature | 11 ------- .../features/smoke.feature | 11 ------- gems/aws-sdk-mturk/features/smoke.feature | 8 ----- gems/aws-sdk-neptune/features/smoke.feature | 32 ------------------- gems/aws-sdk-omics/features/smoke.feature | 11 ------- .../features/smoke.feature | 32 ------------------- gems/aws-sdk-opsworks/features/smoke.feature | 32 ------------------- .../features/smoke.feature | 11 ------- gems/aws-sdk-polly/features/smoke.feature | 20 ------------ gems/aws-sdk-pricing/features/smoke.feature | 11 ------- gems/aws-sdk-rds/features/smoke.feature | 32 ------------------- gems/aws-sdk-redshift/features/smoke.feature | 32 ------------------- .../features/smoke.feature | 20 ------------ gems/aws-sdk-route53/features/smoke.feature | 32 ------------------- .../features/smoke.feature | 32 ------------------- .../features/smoke.feature | 32 ------------------- gems/aws-sdk-s3/features/smoke.feature | 20 ------------ .../features/smoke.feature | 32 ------------------- .../features/smoke.feature | 20 ------------ gems/aws-sdk-ses/features/smoke.feature | 32 ------------------- gems/aws-sdk-shield/features/smoke.feature | 20 ------------ gems/aws-sdk-sms/features/smoke.feature | 11 ------- gems/aws-sdk-snowball/features/smoke.feature | 20 ------------ gems/aws-sdk-sns/features/smoke.feature | 32 ------------------- gems/aws-sdk-sqs/features/smoke.feature | 32 ------------------- gems/aws-sdk-ssm/features/smoke.feature | 32 ------------------- gems/aws-sdk-states/features/smoke.feature | 20 ------------ gems/aws-sdk-support/features/smoke.feature | 32 ------------------- gems/aws-sdk-swf/features/smoke.feature | 32 ------------------- .../features/smoke.feature | 11 ------- gems/aws-sdk-waf/features/smoke.feature | 32 ------------------- .../features/smoke.feature | 32 ------------------- .../aws-sdk-workspaces/features/smoke.feature | 32 ------------------- 188 files changed, 2 insertions(+), 4529 deletions(-) delete mode 100644 apis/acm/2015-12-08/smoke-2.json delete mode 100644 apis/apigateway/2015-07-09/smoke-2.json delete mode 100644 apis/application-autoscaling/2016-02-06/smoke-2.json delete mode 100644 apis/appstream/2016-12-01/smoke-2.json delete mode 100644 apis/athena/2017-05-18/smoke-2.json delete mode 100644 apis/autoscaling/2011-01-01/smoke-2.json delete mode 100644 apis/batch/2016-08-10/smoke-2.json delete mode 100644 apis/cloudformation/2010-05-15/smoke-2.json delete mode 100644 apis/cloudfront/2020-05-31/smoke-2.json delete mode 100644 apis/cloudhsmv2/2017-04-28/smoke-2.json delete mode 100644 apis/cloudsearch/2013-01-01/smoke-2.json delete mode 100644 apis/cloudtrail/2013-11-01/smoke-2.json delete mode 100644 apis/codebuild/2016-10-06/smoke-2.json delete mode 100644 apis/codecommit/2015-04-13/smoke-2.json delete mode 100644 apis/codedeploy/2014-10-06/smoke-2.json delete mode 100644 apis/codepipeline/2015-07-09/smoke-2.json delete mode 100644 apis/codestar/2017-04-19/smoke-2.json delete mode 100644 apis/cognito-identity/2014-06-30/smoke-2.json delete mode 100644 apis/cognito-idp/2016-04-18/smoke-2.json delete mode 100644 apis/cognito-sync/2014-06-30/smoke-2.json delete mode 100644 apis/config/2014-11-12/smoke-2.json delete mode 100644 apis/cur/2017-01-06/smoke-2.json delete mode 100644 apis/devicefarm/2015-06-23/smoke-2.json delete mode 100644 apis/directconnect/2012-10-25/smoke-2.json delete mode 100644 apis/discovery/2015-11-01/smoke-2.json delete mode 100644 apis/dms/2016-01-01/smoke-2.json delete mode 100644 apis/docdb/2014-10-31/smoke-2.json delete mode 100644 apis/ds/2015-04-16/smoke-2.json delete mode 100644 apis/dynamodb/2012-08-10/smoke-2.json delete mode 100644 apis/ec2/2016-11-15/smoke-2.json delete mode 100644 apis/ecr/2015-09-21/smoke-2.json delete mode 100644 apis/ecs/2014-11-13/smoke-2.json delete mode 100644 apis/elasticache/2015-02-02/smoke-2.json delete mode 100644 apis/elasticbeanstalk/2010-12-01/smoke-2.json delete mode 100644 apis/elasticfilesystem/2015-02-01/smoke-2.json delete mode 100644 apis/elasticloadbalancing/2012-06-01/smoke-2.json delete mode 100644 apis/elasticloadbalancingv2/2015-12-01/smoke-2.json delete mode 100644 apis/elasticmapreduce/2009-03-31/smoke-2.json delete mode 100644 apis/elastictranscoder/2012-09-25/smoke-2.json delete mode 100644 apis/email/2010-12-01/smoke-2.json delete mode 100644 apis/es/2015-01-01/smoke-2.json delete mode 100644 apis/eventbridge/2015-10-07/smoke-2.json delete mode 100644 apis/events/2015-10-07/smoke-2.json delete mode 100644 apis/firehose/2015-08-04/smoke-2.json delete mode 100644 apis/gamelift/2015-10-01/smoke-2.json delete mode 100644 apis/glacier/2012-06-01/smoke-2.json delete mode 100644 apis/glue/2017-03-31/smoke-2.json delete mode 100644 apis/iam/2010-05-08/smoke-2.json delete mode 100644 apis/inspector/2016-02-16/smoke-2.json delete mode 100644 apis/iot/2015-05-28/smoke-2.json delete mode 100644 apis/kinesis/2013-12-02/smoke-2.json delete mode 100644 apis/kms/2014-11-01/smoke-2.json delete mode 100644 apis/lambda/2015-03-31/smoke-2.json delete mode 100644 apis/lightsail/2016-11-28/smoke-2.json delete mode 100644 apis/logs/2014-03-28/smoke-2.json delete mode 100644 apis/marketplacecommerceanalytics/2015-07-01/smoke-2.json delete mode 100644 apis/monitoring/2010-08-01/smoke-2.json delete mode 100644 apis/mturk-requester/2017-01-17/smoke-2.json delete mode 100644 apis/neptune/2014-10-31/smoke-2.json delete mode 100644 apis/opensearch/2021-01-01/smoke-2.json delete mode 100644 apis/opsworks/2013-02-18/smoke-2.json delete mode 100644 apis/polly/2016-06-10/smoke-2.json delete mode 100644 apis/rds/2014-10-31/smoke-2.json delete mode 100644 apis/redshift/2012-12-01/smoke-2.json delete mode 100644 apis/rekognition/2016-06-27/smoke-2.json delete mode 100644 apis/route53/2013-04-01/smoke-2.json delete mode 100644 apis/route53domains/2014-05-15/smoke-2.json delete mode 100644 apis/route53resolver/2018-04-01/smoke-2.json delete mode 100644 apis/s3/2006-03-01/smoke-2.json delete mode 100644 apis/secretsmanager/2017-10-17/smoke-2.json delete mode 100644 apis/servicecatalog/2015-12-10/smoke-2.json delete mode 100644 apis/shield/2016-06-02/smoke-2.json delete mode 100644 apis/snowball/2016-06-30/smoke-2.json delete mode 100644 apis/sns/2010-03-31/smoke-2.json delete mode 100644 apis/sqs/2012-11-05/smoke-2.json delete mode 100644 apis/ssm/2014-11-06/smoke-2.json delete mode 100644 apis/states/2016-11-23/smoke-2.json delete mode 100644 apis/sts/2011-06-15/smoke-2.json delete mode 100644 apis/support/2013-04-15/smoke-2.json delete mode 100644 apis/swf/2012-01-25/smoke-2.json delete mode 100644 apis/waf-regional/2016-11-28/smoke-2.json delete mode 100644 apis/waf/2015-08-24/smoke-2.json delete mode 100644 apis/workspaces/2015-04-08/smoke-2.json delete mode 100644 gems/aws-sdk-acm/features/smoke.feature delete mode 100644 gems/aws-sdk-amplifyuibuilder/features/smoke.feature delete mode 100644 gems/aws-sdk-apigateway/features/smoke.feature delete mode 100644 gems/aws-sdk-appfabric/features/smoke.feature delete mode 100644 gems/aws-sdk-applicationautoscaling/features/smoke.feature delete mode 100644 gems/aws-sdk-applicationdiscoveryservice/features/smoke.feature delete mode 100644 gems/aws-sdk-appstream/features/smoke.feature delete mode 100644 gems/aws-sdk-athena/features/smoke.feature delete mode 100644 gems/aws-sdk-autoscaling/features/smoke.feature delete mode 100644 gems/aws-sdk-batch/features/smoke.feature delete mode 100644 gems/aws-sdk-bedrock/features/smoke.feature delete mode 100644 gems/aws-sdk-billingconductor/features/smoke.feature delete mode 100644 gems/aws-sdk-cleanrooms/features/smoke.feature delete mode 100644 gems/aws-sdk-cloudcontrolapi/features/smoke.feature delete mode 100644 gems/aws-sdk-cloudformation/features/smoke.feature delete mode 100644 gems/aws-sdk-cloudfront/features/smoke.feature delete mode 100644 gems/aws-sdk-cloudhsmv2/features/smoke.feature delete mode 100644 gems/aws-sdk-cloudsearch/features/smoke.feature delete mode 100644 gems/aws-sdk-cloudtrail/features/smoke.feature delete mode 100644 gems/aws-sdk-cloudwatch/features/smoke.feature delete mode 100644 gems/aws-sdk-cloudwatchevents/features/smoke.feature delete mode 100644 gems/aws-sdk-cloudwatchlogs/features/smoke.feature delete mode 100644 gems/aws-sdk-codebuild/features/smoke.feature delete mode 100644 gems/aws-sdk-codecatalyst/features/smoke.feature delete mode 100644 gems/aws-sdk-codecommit/features/smoke.feature delete mode 100644 gems/aws-sdk-codedeploy/features/smoke.feature delete mode 100644 gems/aws-sdk-codepipeline/features/smoke.feature delete mode 100644 gems/aws-sdk-codestar/features/smoke.feature delete mode 100644 gems/aws-sdk-cognitoidentity/features/smoke.feature delete mode 100644 gems/aws-sdk-cognitoidentityprovider/features/smoke.feature delete mode 100644 gems/aws-sdk-cognitosync/features/smoke.feature delete mode 100644 gems/aws-sdk-configservice/features/smoke.feature delete mode 100644 gems/aws-sdk-costandusagereportservice/features/smoke.feature delete mode 100644 gems/aws-sdk-databasemigrationservice/features/smoke.feature delete mode 100644 gems/aws-sdk-dataexchange/features/smoke.feature delete mode 100644 gems/aws-sdk-devicefarm/features/smoke.feature delete mode 100644 gems/aws-sdk-directconnect/features/smoke.feature delete mode 100644 gems/aws-sdk-directoryservice/features/smoke.feature delete mode 100644 gems/aws-sdk-docdb/features/smoke.feature delete mode 100644 gems/aws-sdk-dynamodb/features/smoke.feature delete mode 100644 gems/aws-sdk-ec2/features/smoke.feature delete mode 100644 gems/aws-sdk-ecr/features/smoke.feature delete mode 100644 gems/aws-sdk-ecs/features/smoke.feature delete mode 100644 gems/aws-sdk-efs/features/smoke.feature delete mode 100644 gems/aws-sdk-elasticache/features/smoke.feature delete mode 100644 gems/aws-sdk-elasticbeanstalk/features/smoke.feature delete mode 100644 gems/aws-sdk-elasticloadbalancing/features/smoke.feature delete mode 100644 gems/aws-sdk-elasticloadbalancingv2/features/smoke.feature delete mode 100644 gems/aws-sdk-elasticsearchservice/features/smoke.feature delete mode 100644 gems/aws-sdk-elastictranscoder/features/smoke.feature delete mode 100644 gems/aws-sdk-emr/features/smoke.feature delete mode 100644 gems/aws-sdk-eventbridge/features/smoke.feature delete mode 100644 gems/aws-sdk-firehose/features/smoke.feature delete mode 100644 gems/aws-sdk-gamelift/features/smoke.feature delete mode 100644 gems/aws-sdk-glacier/features/smoke.feature delete mode 100644 gems/aws-sdk-glue/features/smoke.feature delete mode 100644 gems/aws-sdk-iam/features/smoke.feature delete mode 100644 gems/aws-sdk-inspector/features/smoke.feature delete mode 100644 gems/aws-sdk-internetmonitor/features/smoke.feature delete mode 100644 gems/aws-sdk-iot/features/smoke.feature delete mode 100644 gems/aws-sdk-iotfleetwise/features/smoke.feature delete mode 100644 gems/aws-sdk-iottwinmaker/features/smoke.feature delete mode 100644 gems/aws-sdk-keyspaces/features/smoke.feature delete mode 100644 gems/aws-sdk-kinesis/features/smoke.feature delete mode 100644 gems/aws-sdk-kms/features/smoke.feature delete mode 100644 gems/aws-sdk-lambda/features/smoke.feature delete mode 100644 gems/aws-sdk-lightsail/features/smoke.feature delete mode 100644 gems/aws-sdk-managedblockchainquery/features/smoke.feature delete mode 100644 gems/aws-sdk-marketplacecommerceanalytics/features/smoke.feature delete mode 100644 gems/aws-sdk-mediapackagev2/features/smoke.feature delete mode 100644 gems/aws-sdk-medicalimaging/features/smoke.feature delete mode 100644 gems/aws-sdk-migrationhuborchestrator/features/smoke.feature delete mode 100644 gems/aws-sdk-mturk/features/smoke.feature delete mode 100644 gems/aws-sdk-neptune/features/smoke.feature delete mode 100644 gems/aws-sdk-omics/features/smoke.feature delete mode 100644 gems/aws-sdk-opensearchservice/features/smoke.feature delete mode 100644 gems/aws-sdk-opsworks/features/smoke.feature delete mode 100644 gems/aws-sdk-pinpointsmsvoicev2/features/smoke.feature delete mode 100644 gems/aws-sdk-polly/features/smoke.feature delete mode 100644 gems/aws-sdk-pricing/features/smoke.feature delete mode 100644 gems/aws-sdk-rds/features/smoke.feature delete mode 100644 gems/aws-sdk-redshift/features/smoke.feature delete mode 100644 gems/aws-sdk-rekognition/features/smoke.feature delete mode 100644 gems/aws-sdk-route53/features/smoke.feature delete mode 100644 gems/aws-sdk-route53domains/features/smoke.feature delete mode 100644 gems/aws-sdk-route53resolver/features/smoke.feature delete mode 100644 gems/aws-sdk-s3/features/smoke.feature delete mode 100644 gems/aws-sdk-secretsmanager/features/smoke.feature delete mode 100644 gems/aws-sdk-servicecatalog/features/smoke.feature delete mode 100644 gems/aws-sdk-ses/features/smoke.feature delete mode 100644 gems/aws-sdk-shield/features/smoke.feature delete mode 100644 gems/aws-sdk-sms/features/smoke.feature delete mode 100644 gems/aws-sdk-snowball/features/smoke.feature delete mode 100644 gems/aws-sdk-sns/features/smoke.feature delete mode 100644 gems/aws-sdk-sqs/features/smoke.feature delete mode 100644 gems/aws-sdk-ssm/features/smoke.feature delete mode 100644 gems/aws-sdk-states/features/smoke.feature delete mode 100644 gems/aws-sdk-support/features/smoke.feature delete mode 100644 gems/aws-sdk-swf/features/smoke.feature delete mode 100644 gems/aws-sdk-verifiedpermissions/features/smoke.feature delete mode 100644 gems/aws-sdk-waf/features/smoke.feature delete mode 100644 gems/aws-sdk-wafregional/features/smoke.feature delete mode 100644 gems/aws-sdk-workspaces/features/smoke.feature diff --git a/apis/acm/2015-12-08/smoke-2.json b/apis/acm/2015-12-08/smoke-2.json deleted file mode 100644 index 30356387ad9..00000000000 --- a/apis/acm/2015-12-08/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListCertificatesSuccess", - "operationName": "ListCertificates", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "GetCertificateFailure", - "operationName": "GetCertificate", - "input": { - "CertificateArn": "arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/apigateway/2015-07-09/smoke-2.json b/apis/apigateway/2015-07-09/smoke-2.json deleted file mode 100644 index 8ad793a3a72..00000000000 --- a/apis/apigateway/2015-07-09/smoke-2.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "GetDomainNamesSuccess", - "operationName": "GetDomainNames", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "CreateUsagePlanKeyFailure", - "operationName": "CreateUsagePlanKey", - "input": { - "usagePlanId": "foo", - "keyId": "bar", - "keyType": "fixx" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/application-autoscaling/2016-02-06/smoke-2.json b/apis/application-autoscaling/2016-02-06/smoke-2.json deleted file mode 100644 index 77f59061fe3..00000000000 --- a/apis/application-autoscaling/2016-02-06/smoke-2.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeScalableTargetsSuccess", - "operationName": "DescribeScalableTargets", - "input": { - "ServiceNamespace": "ec2" - }, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/appstream/2016-12-01/smoke-2.json b/apis/appstream/2016-12-01/smoke-2.json deleted file mode 100644 index b49e58e744b..00000000000 --- a/apis/appstream/2016-12-01/smoke-2.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeStacksSuccess", - "operationName": "DescribeStacks", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/athena/2017-05-18/smoke-2.json b/apis/athena/2017-05-18/smoke-2.json deleted file mode 100644 index f1a263c43fe..00000000000 --- a/apis/athena/2017-05-18/smoke-2.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListNamedQueriesSuccess", - "operationName": "ListNamedQueries", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/autoscaling/2011-01-01/smoke-2.json b/apis/autoscaling/2011-01-01/smoke-2.json deleted file mode 100644 index b82a1bd0a23..00000000000 --- a/apis/autoscaling/2011-01-01/smoke-2.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeScalingProcessTypesSuccess", - "operationName": "DescribeScalingProcessTypes", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "CreateLaunchConfigurationFailure", - "operationName": "CreateLaunchConfiguration", - "input": { - "LaunchConfigurationName": "hello, world", - "ImageId": "ami-12345678", - "InstanceType": "m1.small" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/batch/2016-08-10/smoke-2.json b/apis/batch/2016-08-10/smoke-2.json deleted file mode 100644 index 871afa23624..00000000000 --- a/apis/batch/2016-08-10/smoke-2.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeComputeEnvironmentsSuccess", - "operationName": "DescribeComputeEnvironments", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/cloudformation/2010-05-15/smoke-2.json b/apis/cloudformation/2010-05-15/smoke-2.json deleted file mode 100644 index 0af8783b6a5..00000000000 --- a/apis/cloudformation/2010-05-15/smoke-2.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListStacksSuccess", - "operationName": "ListStacks", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "CreateStackFailure", - "operationName": "CreateStack", - "input": { - "StackName": "fakestack", - "TemplateURL": "http://s3.amazonaws.com/foo/bar" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/cloudfront/2020-05-31/smoke-2.json b/apis/cloudfront/2020-05-31/smoke-2.json deleted file mode 100644 index 487f1a0599e..00000000000 --- a/apis/cloudfront/2020-05-31/smoke-2.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListCloudFrontOriginAccessIdentitiesSuccess", - "operationName": "ListCloudFrontOriginAccessIdentities", - "input": { - "MaxItems": "1" - }, - "expectation": { - "success": {} - }, - "config": { "region": "us-east-1" } - }, - { - "id": "GetDistributionFailure", - "operationName": "GetDistribution", - "input": { - "Id": "fake-id" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-east-1" } - } - ] -} diff --git a/apis/cloudhsmv2/2017-04-28/smoke-2.json b/apis/cloudhsmv2/2017-04-28/smoke-2.json deleted file mode 100644 index b4272d1c2b4..00000000000 --- a/apis/cloudhsmv2/2017-04-28/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeClustersSuccess", - "operationName": "DescribeClusters", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "ListTagsFailure", - "operationName": "ListTags", - "input": { - "ResourceId": "bogus-arn" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/cloudsearch/2013-01-01/smoke-2.json b/apis/cloudsearch/2013-01-01/smoke-2.json deleted file mode 100644 index 4e4ae3859e0..00000000000 --- a/apis/cloudsearch/2013-01-01/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeDomainsSuccess", - "operationName": "DescribeDomains", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeIndexFieldsFailure", - "operationName": "DescribeIndexFields", - "input": { - "DomainName": "fakedomain" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/cloudtrail/2013-11-01/smoke-2.json b/apis/cloudtrail/2013-11-01/smoke-2.json deleted file mode 100644 index 56e9cfde6e6..00000000000 --- a/apis/cloudtrail/2013-11-01/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeTrailsSuccess", - "operationName": "DescribeTrails", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DeleteTrailFailure", - "operationName": "DeleteTrail", - "input": { - "Name": "faketrail" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/codebuild/2016-10-06/smoke-2.json b/apis/codebuild/2016-10-06/smoke-2.json deleted file mode 100644 index 08982a15a8c..00000000000 --- a/apis/codebuild/2016-10-06/smoke-2.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListBuildsSuccess", - "operationName": "ListBuilds", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/codecommit/2015-04-13/smoke-2.json b/apis/codecommit/2015-04-13/smoke-2.json deleted file mode 100644 index a5b560d9cd8..00000000000 --- a/apis/codecommit/2015-04-13/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListRepositoriesSuccess", - "operationName": "ListRepositories", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "ListBranchesFailure", - "operationName": "ListBranches", - "input": { - "repositoryName": "fake-repo" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/codedeploy/2014-10-06/smoke-2.json b/apis/codedeploy/2014-10-06/smoke-2.json deleted file mode 100644 index 0692030d568..00000000000 --- a/apis/codedeploy/2014-10-06/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListApplicationsSuccess", - "operationName": "ListApplications", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "GetDeploymentFailure", - "operationName": "GetDeployment", - "input": { - "deploymentId": "d-USUAELQEX" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/codepipeline/2015-07-09/smoke-2.json b/apis/codepipeline/2015-07-09/smoke-2.json deleted file mode 100644 index e5759b7ec30..00000000000 --- a/apis/codepipeline/2015-07-09/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListPipelinesSuccess", - "operationName": "ListPipelines", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "GetPipelineFailure", - "operationName": "GetPipeline", - "input": { - "name": "fake-pipeline" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/codestar/2017-04-19/smoke-2.json b/apis/codestar/2017-04-19/smoke-2.json deleted file mode 100644 index 34b2b2e3991..00000000000 --- a/apis/codestar/2017-04-19/smoke-2.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListProjectsSuccess", - "operationName": "ListProjects", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/cognito-identity/2014-06-30/smoke-2.json b/apis/cognito-identity/2014-06-30/smoke-2.json deleted file mode 100644 index 59c7838657e..00000000000 --- a/apis/cognito-identity/2014-06-30/smoke-2.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListIdentityPoolsSuccess", - "operationName": "ListIdentityPools", - "input": { - "MaxResults": 10 - }, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeIdentityPoolFailure", - "operationName": "DescribeIdentityPool", - "input": { - "IdentityPoolId": "us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/cognito-idp/2016-04-18/smoke-2.json b/apis/cognito-idp/2016-04-18/smoke-2.json deleted file mode 100644 index f84a4e70644..00000000000 --- a/apis/cognito-idp/2016-04-18/smoke-2.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListUserPoolsSuccess", - "operationName": "ListUserPools", - "input": { - "MaxResults": 10 - }, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeUserPoolFailure", - "operationName": "DescribeUserPool", - "input": { - "UserPoolId": "us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/cognito-sync/2014-06-30/smoke-2.json b/apis/cognito-sync/2014-06-30/smoke-2.json deleted file mode 100644 index 7c105af9153..00000000000 --- a/apis/cognito-sync/2014-06-30/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListIdentityPoolUsageSuccess", - "operationName": "ListIdentityPoolUsage", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeIdentityPoolUsageFailure", - "operationName": "DescribeIdentityPoolUsage", - "input": { - "IdentityPoolId": "us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/config/2014-11-12/smoke-2.json b/apis/config/2014-11-12/smoke-2.json deleted file mode 100644 index 0d78620a9bd..00000000000 --- a/apis/config/2014-11-12/smoke-2.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeConfigurationRecordersSuccess", - "operationName": "DescribeConfigurationRecorders", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "GetResourceConfigHistoryFailure", - "operationName": "GetResourceConfigHistory", - "input": { - "resourceType": "fake-type", - "resourceId": "fake-id" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/cur/2017-01-06/smoke-2.json b/apis/cur/2017-01-06/smoke-2.json deleted file mode 100644 index fe1cbbd35f0..00000000000 --- a/apis/cur/2017-01-06/smoke-2.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeReportDefinitionsSuccess", - "operationName": "DescribeReportDefinitions", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-east-1" } - } - ] -} diff --git a/apis/devicefarm/2015-06-23/smoke-2.json b/apis/devicefarm/2015-06-23/smoke-2.json deleted file mode 100644 index 6355ec69986..00000000000 --- a/apis/devicefarm/2015-06-23/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListDevicesSuccess", - "operationName": "ListDevices", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "GetDeviceFailure", - "operationName": "GetDevice", - "input": { - "arn": "arn:aws:devicefarm:us-west-2::device:000000000000000000000000fake-arn" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/directconnect/2012-10-25/smoke-2.json b/apis/directconnect/2012-10-25/smoke-2.json deleted file mode 100644 index 6058e3e4155..00000000000 --- a/apis/directconnect/2012-10-25/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeConnectionsSuccess", - "operationName": "DescribeConnections", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeConnectionsFailure", - "operationName": "DescribeConnections", - "input": { - "connectionId": "fake-connection" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/discovery/2015-11-01/smoke-2.json b/apis/discovery/2015-11-01/smoke-2.json deleted file mode 100644 index 9e4f26fd7bc..00000000000 --- a/apis/discovery/2015-11-01/smoke-2.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeAgentsSuccess", - "operationName": "DescribeAgents", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/dms/2016-01-01/smoke-2.json b/apis/dms/2016-01-01/smoke-2.json deleted file mode 100644 index baf4a7fea95..00000000000 --- a/apis/dms/2016-01-01/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeEndpointsSuccess", - "operationName": "DescribeEndpoints", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeTableStatisticsFailure", - "operationName": "DescribeTableStatistics", - "input": { - "ReplicationTaskArn": "arn:aws:acm:region:123456789012" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/docdb/2014-10-31/smoke-2.json b/apis/docdb/2014-10-31/smoke-2.json deleted file mode 100644 index a87abe16300..00000000000 --- a/apis/docdb/2014-10-31/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeDBEngineVersionsSuccess", - "operationName": "DescribeDBEngineVersions", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeDBInstancesFailure", - "operationName": "DescribeDBInstances", - "input": { - "DBInstanceIdentifier": "fake-id" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/ds/2015-04-16/smoke-2.json b/apis/ds/2015-04-16/smoke-2.json deleted file mode 100644 index ce5e376a6e9..00000000000 --- a/apis/ds/2015-04-16/smoke-2.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeDirectoriesSuccess", - "operationName": "DescribeDirectories", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "CreateDirectoryFailure", - "operationName": "CreateDirectory", - "input": { - "Name": "", - "Password": "", - "Size": "" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/dynamodb/2012-08-10/smoke-2.json b/apis/dynamodb/2012-08-10/smoke-2.json deleted file mode 100644 index 21315a22bfc..00000000000 --- a/apis/dynamodb/2012-08-10/smoke-2.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListTablesSuccess", - "operationName": "ListTables", - "input": { - "Limit": 1 - }, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeTableFailure", - "operationName": "DescribeTable", - "input": { - "TableName": "fake-table" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/ec2/2016-11-15/smoke-2.json b/apis/ec2/2016-11-15/smoke-2.json deleted file mode 100644 index 197dd694289..00000000000 --- a/apis/ec2/2016-11-15/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeRegionsSuccess", - "operationName": "DescribeRegions", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeInstancesFailure", - "operationName": "DescribeInstances", - "input": { - "InstanceIds": ["i-12345678"] - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/ecr/2015-09-21/smoke-2.json b/apis/ecr/2015-09-21/smoke-2.json deleted file mode 100644 index 1b19db4d7e8..00000000000 --- a/apis/ecr/2015-09-21/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeRepositoriesSuccess", - "operationName": "DescribeRepositories", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "ListImagesFailure", - "operationName": "ListImages", - "input": { - "repositoryName": "not-a-real-repository" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/ecs/2014-11-13/smoke-2.json b/apis/ecs/2014-11-13/smoke-2.json deleted file mode 100644 index daef5ae922b..00000000000 --- a/apis/ecs/2014-11-13/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListClustersSuccess", - "operationName": "ListClusters", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "StopTaskFailure", - "operationName": "StopTask", - "input": { - "task": "xxxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxx" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/elasticache/2015-02-02/smoke-2.json b/apis/elasticache/2015-02-02/smoke-2.json deleted file mode 100644 index f6bd02dfd36..00000000000 --- a/apis/elasticache/2015-02-02/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeEventsSuccess", - "operationName": "DescribeEvents", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeCacheClustersFailure", - "operationName": "DescribeCacheClusters", - "input": { - "CacheClusterId": "fake_cluster" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/elasticbeanstalk/2010-12-01/smoke-2.json b/apis/elasticbeanstalk/2010-12-01/smoke-2.json deleted file mode 100644 index 4ef2a9105fc..00000000000 --- a/apis/elasticbeanstalk/2010-12-01/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListAvailableSolutionStacksSuccess", - "operationName": "ListAvailableSolutionStacks", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeEnvironmentResourcesFailure", - "operationName": "DescribeEnvironmentResources", - "input": { - "EnvironmentId": "fake_environment" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/elasticfilesystem/2015-02-01/smoke-2.json b/apis/elasticfilesystem/2015-02-01/smoke-2.json deleted file mode 100644 index 3f16a772763..00000000000 --- a/apis/elasticfilesystem/2015-02-01/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeFileSystemsSuccess", - "operationName": "DescribeFileSystems", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DeleteFileSystemFailure", - "operationName": "DeleteFileSystem", - "input": { - "FileSystemId": "fs-c5a1446c" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/elasticloadbalancing/2012-06-01/smoke-2.json b/apis/elasticloadbalancing/2012-06-01/smoke-2.json deleted file mode 100644 index 49addbe9ab1..00000000000 --- a/apis/elasticloadbalancing/2012-06-01/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeLoadBalancersSuccess", - "operationName": "DescribeLoadBalancers", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeLoadBalancersFailure", - "operationName": "DescribeLoadBalancers", - "input": { - "LoadBalancerNames": ["fake_load_balancer"] - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/elasticloadbalancingv2/2015-12-01/smoke-2.json b/apis/elasticloadbalancingv2/2015-12-01/smoke-2.json deleted file mode 100644 index 9e5d7e8f100..00000000000 --- a/apis/elasticloadbalancingv2/2015-12-01/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeLoadBalancersSuccess", - "operationName": "DescribeLoadBalancers", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeLoadBalancersFailure", - "operationName": "DescribeLoadBalancers", - "input": { - "LoadBalancerArns": ["fake_load_balancer"] - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/elasticmapreduce/2009-03-31/smoke-2.json b/apis/elasticmapreduce/2009-03-31/smoke-2.json deleted file mode 100644 index 29faa0bf724..00000000000 --- a/apis/elasticmapreduce/2009-03-31/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListClustersSuccess", - "operationName": "ListClusters", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeClusterFailure", - "operationName": "DescribeCluster", - "input": { - "ClusterId": "fake_cluster" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/elastictranscoder/2012-09-25/smoke-2.json b/apis/elastictranscoder/2012-09-25/smoke-2.json deleted file mode 100644 index 206909ce66d..00000000000 --- a/apis/elastictranscoder/2012-09-25/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListPresetsSuccess", - "operationName": "ListPresets", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "ReadJobFailure", - "operationName": "ReadJob", - "input": { - "Id": "fake_job" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/email/2010-12-01/smoke-2.json b/apis/email/2010-12-01/smoke-2.json deleted file mode 100644 index 6a687678fca..00000000000 --- a/apis/email/2010-12-01/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListIdentitiesSuccess", - "operationName": "ListIdentities", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "VerifyEmailIdentityFailure", - "operationName": "VerifyEmailIdentity", - "input": { - "EmailAddress": "fake_email" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/es/2015-01-01/smoke-2.json b/apis/es/2015-01-01/smoke-2.json deleted file mode 100644 index 5719a271aee..00000000000 --- a/apis/es/2015-01-01/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListDomainNamesSuccess", - "operationName": "ListDomainNames", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeElasticsearchDomainFailure", - "operationName": "DescribeElasticsearchDomain", - "input": { - "DomainName": "not-a-domain" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/eventbridge/2015-10-07/smoke-2.json b/apis/eventbridge/2015-10-07/smoke-2.json deleted file mode 100644 index 2b2670900dc..00000000000 --- a/apis/eventbridge/2015-10-07/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListRulesSuccess", - "operationName": "ListRules", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeRuleFailure", - "operationName": "DescribeRule", - "input": { - "Name": "fake-rule" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/events/2015-10-07/smoke-2.json b/apis/events/2015-10-07/smoke-2.json deleted file mode 100644 index 2b2670900dc..00000000000 --- a/apis/events/2015-10-07/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListRulesSuccess", - "operationName": "ListRules", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeRuleFailure", - "operationName": "DescribeRule", - "input": { - "Name": "fake-rule" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/firehose/2015-08-04/smoke-2.json b/apis/firehose/2015-08-04/smoke-2.json deleted file mode 100644 index a211bed2b7a..00000000000 --- a/apis/firehose/2015-08-04/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListDeliveryStreamsSuccess", - "operationName": "ListDeliveryStreams", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeDeliveryStreamFailure", - "operationName": "DescribeDeliveryStream", - "input": { - "DeliveryStreamName": "bogus-stream-name" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/gamelift/2015-10-01/smoke-2.json b/apis/gamelift/2015-10-01/smoke-2.json deleted file mode 100644 index f85aaf3a957..00000000000 --- a/apis/gamelift/2015-10-01/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListBuildsSuccess", - "operationName": "ListBuilds", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribePlayerSessionsFailure", - "operationName": "DescribePlayerSessions", - "input": { - "PlayerSessionId": "psess-fakeSessionId" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/glacier/2012-06-01/smoke-2.json b/apis/glacier/2012-06-01/smoke-2.json deleted file mode 100644 index e0990115dff..00000000000 --- a/apis/glacier/2012-06-01/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListVaultsSuccess", - "operationName": "ListVaults", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "ListVaultsFailure", - "operationName": "ListVaults", - "input": { - "accountId": "abcmnoxyz" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/glue/2017-03-31/smoke-2.json b/apis/glue/2017-03-31/smoke-2.json deleted file mode 100644 index 39e3a6f4ee4..00000000000 --- a/apis/glue/2017-03-31/smoke-2.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "GetCatalogImportStatusSuccess", - "operationName": "GetCatalogImportStatus", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/iam/2010-05-08/smoke-2.json b/apis/iam/2010-05-08/smoke-2.json deleted file mode 100644 index e0e3e98d879..00000000000 --- a/apis/iam/2010-05-08/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListUsersSuccess", - "operationName": "ListUsers", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-east-1" } - }, - { - "id": "GetUserFailure", - "operationName": "GetUser", - "input": { - "UserName": "fake_user" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-east-1" } - } - ] -} diff --git a/apis/inspector/2016-02-16/smoke-2.json b/apis/inspector/2016-02-16/smoke-2.json deleted file mode 100644 index d9bd0ca230a..00000000000 --- a/apis/inspector/2016-02-16/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListAssessmentTemplatesSuccess", - "operationName": "ListAssessmentTemplates", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "ListTagsForResourceFailure", - "operationName": "ListTagsForResource", - "input": { - "resourceArn": "fake-arn" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/iot/2015-05-28/smoke-2.json b/apis/iot/2015-05-28/smoke-2.json deleted file mode 100644 index c42cbe6e559..00000000000 --- a/apis/iot/2015-05-28/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListPoliciesSuccess", - "operationName": "ListPolicies", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeThingFailure", - "operationName": "DescribeThing", - "input": { - "thingName": "fake-thing" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/kinesis/2013-12-02/smoke-2.json b/apis/kinesis/2013-12-02/smoke-2.json deleted file mode 100644 index f0e2b979a85..00000000000 --- a/apis/kinesis/2013-12-02/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListStreamsSuccess", - "operationName": "ListStreams", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeStreamFailure", - "operationName": "DescribeStream", - "input": { - "StreamName": "bogus-stream-name" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/kms/2014-11-01/smoke-2.json b/apis/kms/2014-11-01/smoke-2.json deleted file mode 100644 index 98569295944..00000000000 --- a/apis/kms/2014-11-01/smoke-2.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListAliasesSuccess", - "operationName": "ListAliases", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "GetKeyPolicyFailure", - "operationName": "GetKeyPolicy", - "input": { - "KeyId": "12345678-1234-1234-1234-123456789012", - "PolicyName": "fakePolicy" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/lambda/2015-03-31/smoke-2.json b/apis/lambda/2015-03-31/smoke-2.json deleted file mode 100644 index 6ef0b39d3d5..00000000000 --- a/apis/lambda/2015-03-31/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListFunctionsSuccess", - "operationName": "ListFunctions", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "InvokeFailure", - "operationName": "Invoke", - "input": { - "FunctionName": "bogus-function" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/lightsail/2016-11-28/smoke-2.json b/apis/lightsail/2016-11-28/smoke-2.json deleted file mode 100644 index 6a8937df255..00000000000 --- a/apis/lightsail/2016-11-28/smoke-2.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "GetActiveNamesSuccess", - "operationName": "GetActiveNames", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/logs/2014-03-28/smoke-2.json b/apis/logs/2014-03-28/smoke-2.json deleted file mode 100644 index ad45178aab2..00000000000 --- a/apis/logs/2014-03-28/smoke-2.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeLogGroupsSuccess", - "operationName": "DescribeLogGroups", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "GetLogEventsFailure", - "operationName": "GetLogEvents", - "input": { - "logGroupName": "fakegroup", - "logStreamName": "fakestream" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/marketplacecommerceanalytics/2015-07-01/smoke-2.json b/apis/marketplacecommerceanalytics/2015-07-01/smoke-2.json deleted file mode 100644 index ea9e43fbf8d..00000000000 --- a/apis/marketplacecommerceanalytics/2015-07-01/smoke-2.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "GenerateDataSetFailure", - "operationName": "GenerateDataSet", - "input": { - "dataSetType": "fake-type", - "dataSetPublicationDate": 0, - "roleNameArn": "fake-arn", - "destinationS3BucketName": "fake-bucket", - "snsTopicArn": "fake-arn" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-east-1" } - } - ] -} diff --git a/apis/monitoring/2010-08-01/smoke-2.json b/apis/monitoring/2010-08-01/smoke-2.json deleted file mode 100644 index 5dc5edb8f95..00000000000 --- a/apis/monitoring/2010-08-01/smoke-2.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListMetricsSuccess", - "operationName": "ListMetrics", - "input": { - "Namespace": "AWS/EC2" - }, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "SetAlarmStateFailure", - "operationName": "SetAlarmState", - "input": { - "AlarmName": "abc", - "StateValue": "mno", - "StateReason": "xyz" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/mturk-requester/2017-01-17/smoke-2.json b/apis/mturk-requester/2017-01-17/smoke-2.json deleted file mode 100644 index c76eefc7d01..00000000000 --- a/apis/mturk-requester/2017-01-17/smoke-2.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "GetAccountBalanceSuccess", - "operationName": "GetAccountBalance", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-east-1" } - } - ] -} diff --git a/apis/neptune/2014-10-31/smoke-2.json b/apis/neptune/2014-10-31/smoke-2.json deleted file mode 100644 index a87abe16300..00000000000 --- a/apis/neptune/2014-10-31/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeDBEngineVersionsSuccess", - "operationName": "DescribeDBEngineVersions", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeDBInstancesFailure", - "operationName": "DescribeDBInstances", - "input": { - "DBInstanceIdentifier": "fake-id" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/opensearch/2021-01-01/smoke-2.json b/apis/opensearch/2021-01-01/smoke-2.json deleted file mode 100644 index c1067ea0f49..00000000000 --- a/apis/opensearch/2021-01-01/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListDomainNamesSuccess", - "operationName": "ListDomainNames", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeDomainFailure", - "operationName": "DescribeDomain", - "input": { - "DomainName": "not-a-domain" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/opsworks/2013-02-18/smoke-2.json b/apis/opsworks/2013-02-18/smoke-2.json deleted file mode 100644 index b87d69417a3..00000000000 --- a/apis/opsworks/2013-02-18/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeStacksSuccess", - "operationName": "DescribeStacks", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeLayersFailure", - "operationName": "DescribeLayers", - "input": { - "StackId": "fake_stack" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/polly/2016-06-10/smoke-2.json b/apis/polly/2016-06-10/smoke-2.json deleted file mode 100644 index 6cf13174af4..00000000000 --- a/apis/polly/2016-06-10/smoke-2.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeVoicesSuccess", - "operationName": "DescribeVoices", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/rds/2014-10-31/smoke-2.json b/apis/rds/2014-10-31/smoke-2.json deleted file mode 100644 index a87abe16300..00000000000 --- a/apis/rds/2014-10-31/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeDBEngineVersionsSuccess", - "operationName": "DescribeDBEngineVersions", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeDBInstancesFailure", - "operationName": "DescribeDBInstances", - "input": { - "DBInstanceIdentifier": "fake-id" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/redshift/2012-12-01/smoke-2.json b/apis/redshift/2012-12-01/smoke-2.json deleted file mode 100644 index 98458f3f222..00000000000 --- a/apis/redshift/2012-12-01/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeClusterVersionsSuccess", - "operationName": "DescribeClusterVersions", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeClustersFailure", - "operationName": "DescribeClusters", - "input": { - "ClusterIdentifier": "fake-cluster" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/rekognition/2016-06-27/smoke-2.json b/apis/rekognition/2016-06-27/smoke-2.json deleted file mode 100644 index 03e2e54fe81..00000000000 --- a/apis/rekognition/2016-06-27/smoke-2.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListCollectionsSuccess", - "operationName": "ListCollections", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/route53/2013-04-01/smoke-2.json b/apis/route53/2013-04-01/smoke-2.json deleted file mode 100644 index 035ee01a247..00000000000 --- a/apis/route53/2013-04-01/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListHostedZonesSuccess", - "operationName": "ListHostedZones", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-east-1" } - }, - { - "id": "GetHostedZoneFailure", - "operationName": "GetHostedZone", - "input": { - "Id": "fake-zone" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-east-1" } - } - ] -} diff --git a/apis/route53domains/2014-05-15/smoke-2.json b/apis/route53domains/2014-05-15/smoke-2.json deleted file mode 100644 index 8f1d0957d16..00000000000 --- a/apis/route53domains/2014-05-15/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListDomainsSuccess", - "operationName": "ListDomains", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-east-1" } - }, - { - "id": "GetDomainDetailFailure", - "operationName": "GetDomainDetail", - "input": { - "DomainName": "fake-domain-name" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-east-1" } - } - ] -} diff --git a/apis/route53resolver/2018-04-01/smoke-2.json b/apis/route53resolver/2018-04-01/smoke-2.json deleted file mode 100644 index 7b1e911e36e..00000000000 --- a/apis/route53resolver/2018-04-01/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListResolverEndpointsSuccess", - "operationName": "ListResolverEndpoints", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "GetResolverRuleFailure", - "operationName": "GetResolverRule", - "input": { - "ResolverRuleId": "fake-id" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/s3/2006-03-01/smoke-2.json b/apis/s3/2006-03-01/smoke-2.json deleted file mode 100644 index ea0e75f7fe2..00000000000 --- a/apis/s3/2006-03-01/smoke-2.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListBucketsSuccess", - "operationName": "ListBuckets", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/secretsmanager/2017-10-17/smoke-2.json b/apis/secretsmanager/2017-10-17/smoke-2.json deleted file mode 100644 index 5e25d77d97c..00000000000 --- a/apis/secretsmanager/2017-10-17/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListSecretsSuccess", - "operationName": "ListSecrets", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeSecretFailure", - "operationName": "DescribeSecret", - "input": { - "SecretId": "fake-secret-id" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/servicecatalog/2015-12-10/smoke-2.json b/apis/servicecatalog/2015-12-10/smoke-2.json deleted file mode 100644 index 7a99159152a..00000000000 --- a/apis/servicecatalog/2015-12-10/smoke-2.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListAcceptedPortfolioSharesSuccess", - "operationName": "ListAcceptedPortfolioShares", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/shield/2016-06-02/smoke-2.json b/apis/shield/2016-06-02/smoke-2.json deleted file mode 100644 index 3f7a3e930ab..00000000000 --- a/apis/shield/2016-06-02/smoke-2.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListAttacksSuccess", - "operationName": "ListAttacks", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-east-1" } - } - ] -} diff --git a/apis/snowball/2016-06-30/smoke-2.json b/apis/snowball/2016-06-30/smoke-2.json deleted file mode 100644 index 45ca7caa5fb..00000000000 --- a/apis/snowball/2016-06-30/smoke-2.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeAddressesSuccess", - "operationName": "DescribeAddresses", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/sns/2010-03-31/smoke-2.json b/apis/sns/2010-03-31/smoke-2.json deleted file mode 100644 index 1ef84c5c2a4..00000000000 --- a/apis/sns/2010-03-31/smoke-2.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListTopicsSuccess", - "operationName": "ListTopics", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "PublishFailure", - "operationName": "Publish", - "input": { - "Message": "hello", - "TopicArn": "fake_topic" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/sqs/2012-11-05/smoke-2.json b/apis/sqs/2012-11-05/smoke-2.json deleted file mode 100644 index 7bd30f52fee..00000000000 --- a/apis/sqs/2012-11-05/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListQueuesSuccess", - "operationName": "ListQueues", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "GetQueueUrlFailure", - "operationName": "GetQueueUrl", - "input": { - "QueueName": "fake_queue" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/ssm/2014-11-06/smoke-2.json b/apis/ssm/2014-11-06/smoke-2.json deleted file mode 100644 index 6d8ff09b837..00000000000 --- a/apis/ssm/2014-11-06/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListDocumentsSuccess", - "operationName": "ListDocuments", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "GetDocumentFailure", - "operationName": "GetDocument", - "input": { - "Name": "'fake-name'" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/states/2016-11-23/smoke-2.json b/apis/states/2016-11-23/smoke-2.json deleted file mode 100644 index d79bd631596..00000000000 --- a/apis/states/2016-11-23/smoke-2.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListActivitiesSuccess", - "operationName": "ListActivities", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/sts/2011-06-15/smoke-2.json b/apis/sts/2011-06-15/smoke-2.json deleted file mode 100644 index 1173f2454d7..00000000000 --- a/apis/sts/2011-06-15/smoke-2.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "GetSessionTokenSuccess", - "operationName": "GetSessionToken", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "GetFederationTokenFailure", - "operationName": "GetFederationToken", - "input": { - "Name": "temp", - "Policy": "{\\\"temp\\\":true}" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/support/2013-04-15/smoke-2.json b/apis/support/2013-04-15/smoke-2.json deleted file mode 100644 index 53aa8979272..00000000000 --- a/apis/support/2013-04-15/smoke-2.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeServicesSuccess", - "operationName": "DescribeServices", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-east-1" } - }, - { - "id": "CreateCaseFailure", - "operationName": "CreateCase", - "input": { - "subject": "subject", - "communicationBody": "communication", - "categoryCode": "category", - "serviceCode": "amazon-dynamodb", - "severityCode": "low" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-east-1" } - } - ] -} diff --git a/apis/swf/2012-01-25/smoke-2.json b/apis/swf/2012-01-25/smoke-2.json deleted file mode 100644 index 1862b0d0252..00000000000 --- a/apis/swf/2012-01-25/smoke-2.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListDomainsSuccess", - "operationName": "ListDomains", - "input": { - "registrationStatus": "REGISTERED" - }, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeDomainFailure", - "operationName": "DescribeDomain", - "input": { - "name": "fake_domain" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/apis/waf-regional/2016-11-28/smoke-2.json b/apis/waf-regional/2016-11-28/smoke-2.json deleted file mode 100644 index f815675fae7..00000000000 --- a/apis/waf-regional/2016-11-28/smoke-2.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListRulesSuccess", - "operationName": "ListRules", - "input": { - "Limit": 20 - }, - "expectation": { - "success": {} - }, - "config": { "region": "us-east-1" } - }, - { - "id": "CreateSqlInjectionMatchSetFailure", - "operationName": "CreateSqlInjectionMatchSet", - "input": { - "Name": "fake_name", - "ChangeToken": "fake_token" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-east-1" } - } - ] -} diff --git a/apis/waf/2015-08-24/smoke-2.json b/apis/waf/2015-08-24/smoke-2.json deleted file mode 100644 index f815675fae7..00000000000 --- a/apis/waf/2015-08-24/smoke-2.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "ListRulesSuccess", - "operationName": "ListRules", - "input": { - "Limit": 20 - }, - "expectation": { - "success": {} - }, - "config": { "region": "us-east-1" } - }, - { - "id": "CreateSqlInjectionMatchSetFailure", - "operationName": "CreateSqlInjectionMatchSet", - "input": { - "Name": "fake_name", - "ChangeToken": "fake_token" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-east-1" } - } - ] -} diff --git a/apis/workspaces/2015-04-08/smoke-2.json b/apis/workspaces/2015-04-08/smoke-2.json deleted file mode 100644 index ea14ae13880..00000000000 --- a/apis/workspaces/2015-04-08/smoke-2.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": 2, - "testCases": [ - { - "id": "DescribeWorkspacesSuccess", - "operationName": "DescribeWorkspaces", - "input": {}, - "expectation": { - "success": {} - }, - "config": { "region": "us-west-2" } - }, - { - "id": "DescribeWorkspacesFailure", - "operationName": "DescribeWorkspaces", - "input": { - "DirectoryId": "fake-id" - }, - "expectation": { - "failure": {} - }, - "config": { "region": "us-west-2" } - } - ] -} diff --git a/build_tools/services.rb b/build_tools/services.rb index 8f84f0d7686..13c9747db99 100644 --- a/build_tools/services.rb +++ b/build_tools/services.rb @@ -10,10 +10,10 @@ class ServiceEnumerator MANIFEST_PATH = File.expand_path('../../services.json', __FILE__) # Minimum `aws-sdk-core` version for new gem builds - MINIMUM_CORE_VERSION = "3.190.1" + MINIMUM_CORE_VERSION = "3.188.0" # Minimum `aws-sdk-core` version for new S3 gem builds - MINIMUM_CORE_VERSION_S3 = "3.190.1" + MINIMUM_CORE_VERSION_S3 = "3.189.0" EVENTSTREAM_PLUGIN = "Aws::Plugins::EventStreamConfiguration" diff --git a/gems/aws-sdk-acm/features/smoke.feature b/gems/aws-sdk-acm/features/smoke.feature deleted file mode 100644 index 3abf7d03d2e..00000000000 --- a/gems/aws-sdk-acm/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for ACM - - @acm @smoke - Scenario: ListCertificatesSuccess - Given I create a 'Aws::ACM' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_certificates' with params: - """ -{} - """ - Then I expect an error was not raised - - @acm @smoke - Scenario: GetCertificateFailure - Given I create a 'Aws::ACM' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'get_certificate' with params: - """ -{"certificate_arn":"arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-amplifyuibuilder/features/smoke.feature b/gems/aws-sdk-amplifyuibuilder/features/smoke.feature deleted file mode 100644 index 18374f5ee54..00000000000 --- a/gems/aws-sdk-amplifyuibuilder/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for AmplifyUIBuilder - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-apigateway/features/smoke.feature b/gems/aws-sdk-apigateway/features/smoke.feature deleted file mode 100644 index 6e3b98a85e0..00000000000 --- a/gems/aws-sdk-apigateway/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for APIGateway - - @apigateway @smoke - Scenario: GetDomainNamesSuccess - Given I create a 'Aws::APIGateway' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'get_domain_names' with params: - """ -{} - """ - Then I expect an error was not raised - - @apigateway @smoke - Scenario: CreateUsagePlanKeyFailure - Given I create a 'Aws::APIGateway' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'create_usage_plan_key' with params: - """ -{"usage_plan_id":"foo","key_id":"bar","key_type":"fixx"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-appfabric/features/smoke.feature b/gems/aws-sdk-appfabric/features/smoke.feature deleted file mode 100644 index 948b7e5de69..00000000000 --- a/gems/aws-sdk-appfabric/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for AppFabric - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-applicationautoscaling/features/smoke.feature b/gems/aws-sdk-applicationautoscaling/features/smoke.feature deleted file mode 100644 index 9518ca9eb60..00000000000 --- a/gems/aws-sdk-applicationautoscaling/features/smoke.feature +++ /dev/null @@ -1,20 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for ApplicationAutoScaling - - @applicationautoscaling @smoke - Scenario: DescribeScalableTargetsSuccess - Given I create a 'Aws::ApplicationAutoScaling' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_scalable_targets' with params: - """ -{"service_namespace":"ec2"} - """ - Then I expect an error was not raised diff --git a/gems/aws-sdk-applicationdiscoveryservice/features/smoke.feature b/gems/aws-sdk-applicationdiscoveryservice/features/smoke.feature deleted file mode 100644 index 00b604eca5a..00000000000 --- a/gems/aws-sdk-applicationdiscoveryservice/features/smoke.feature +++ /dev/null @@ -1,20 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for ApplicationDiscoveryService - - @applicationdiscoveryservice @smoke - Scenario: DescribeAgentsSuccess - Given I create a 'Aws::ApplicationDiscoveryService' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_agents' with params: - """ -{} - """ - Then I expect an error was not raised diff --git a/gems/aws-sdk-appstream/features/smoke.feature b/gems/aws-sdk-appstream/features/smoke.feature deleted file mode 100644 index d498bc95738..00000000000 --- a/gems/aws-sdk-appstream/features/smoke.feature +++ /dev/null @@ -1,20 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for AppStream - - @appstream @smoke - Scenario: DescribeStacksSuccess - Given I create a 'Aws::AppStream' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_stacks' with params: - """ -{} - """ - Then I expect an error was not raised diff --git a/gems/aws-sdk-athena/features/smoke.feature b/gems/aws-sdk-athena/features/smoke.feature deleted file mode 100644 index 0681ca5d66f..00000000000 --- a/gems/aws-sdk-athena/features/smoke.feature +++ /dev/null @@ -1,20 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Athena - - @athena @smoke - Scenario: ListNamedQueriesSuccess - Given I create a 'Aws::Athena' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_named_queries' with params: - """ -{} - """ - Then I expect an error was not raised diff --git a/gems/aws-sdk-autoscaling/features/smoke.feature b/gems/aws-sdk-autoscaling/features/smoke.feature deleted file mode 100644 index 58987b9dcbf..00000000000 --- a/gems/aws-sdk-autoscaling/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for AutoScaling - - @autoscaling @smoke - Scenario: DescribeScalingProcessTypesSuccess - Given I create a 'Aws::AutoScaling' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_scaling_process_types' with params: - """ -{} - """ - Then I expect an error was not raised - - @autoscaling @smoke - Scenario: CreateLaunchConfigurationFailure - Given I create a 'Aws::AutoScaling' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'create_launch_configuration' with params: - """ -{"launch_configuration_name":"hello, world","image_id":"ami-12345678","instance_type":"m1.small"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-batch/features/smoke.feature b/gems/aws-sdk-batch/features/smoke.feature deleted file mode 100644 index b3b0b24e53f..00000000000 --- a/gems/aws-sdk-batch/features/smoke.feature +++ /dev/null @@ -1,20 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Batch - - @batch @smoke - Scenario: DescribeComputeEnvironmentsSuccess - Given I create a 'Aws::Batch' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_compute_environments' with params: - """ -{} - """ - Then I expect an error was not raised diff --git a/gems/aws-sdk-bedrock/features/smoke.feature b/gems/aws-sdk-bedrock/features/smoke.feature deleted file mode 100644 index bc77df8a347..00000000000 --- a/gems/aws-sdk-bedrock/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Bedrock - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-billingconductor/features/smoke.feature b/gems/aws-sdk-billingconductor/features/smoke.feature deleted file mode 100644 index 6e75ae9458f..00000000000 --- a/gems/aws-sdk-billingconductor/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for BillingConductor - -Background: - Given I create a client in region 'us-east-1' diff --git a/gems/aws-sdk-cleanrooms/features/smoke.feature b/gems/aws-sdk-cleanrooms/features/smoke.feature deleted file mode 100644 index 01262e59e29..00000000000 --- a/gems/aws-sdk-cleanrooms/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for CleanRooms - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-cloudcontrolapi/features/smoke.feature b/gems/aws-sdk-cloudcontrolapi/features/smoke.feature deleted file mode 100644 index a78c3351978..00000000000 --- a/gems/aws-sdk-cloudcontrolapi/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for CloudControlApi - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-cloudformation/features/smoke.feature b/gems/aws-sdk-cloudformation/features/smoke.feature deleted file mode 100644 index b8bdc655bf1..00000000000 --- a/gems/aws-sdk-cloudformation/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for CloudFormation - - @cloudformation @smoke - Scenario: ListStacksSuccess - Given I create a 'Aws::CloudFormation' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_stacks' with params: - """ -{} - """ - Then I expect an error was not raised - - @cloudformation @smoke - Scenario: CreateStackFailure - Given I create a 'Aws::CloudFormation' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'create_stack' with params: - """ -{"stack_name":"fakestack","template_url":"http://s3.amazonaws.com/foo/bar"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-cloudfront/features/smoke.feature b/gems/aws-sdk-cloudfront/features/smoke.feature deleted file mode 100644 index f4cbd9ae60d..00000000000 --- a/gems/aws-sdk-cloudfront/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for CloudFront - - @cloudfront @smoke - Scenario: ListCloudFrontOriginAccessIdentitiesSuccess - Given I create a 'Aws::CloudFront' client with config: - """ -{"region":"us-east-1"} - """ - When I call the operation 'list_cloud_front_origin_access_identities' with params: - """ -{"max_items":"1"} - """ - Then I expect an error was not raised - - @cloudfront @smoke - Scenario: GetDistributionFailure - Given I create a 'Aws::CloudFront' client with config: - """ -{"region":"us-east-1"} - """ - When I call the operation 'get_distribution' with params: - """ -{"id":"fake-id"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-cloudhsmv2/features/smoke.feature b/gems/aws-sdk-cloudhsmv2/features/smoke.feature deleted file mode 100644 index 222543f3ee0..00000000000 --- a/gems/aws-sdk-cloudhsmv2/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for CloudHSMV2 - - @cloudhsmv2 @smoke - Scenario: DescribeClustersSuccess - Given I create a 'Aws::CloudHSMV2' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_clusters' with params: - """ -{} - """ - Then I expect an error was not raised - - @cloudhsmv2 @smoke - Scenario: ListTagsFailure - Given I create a 'Aws::CloudHSMV2' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_tags' with params: - """ -{"resource_id":"bogus-arn"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-cloudsearch/features/smoke.feature b/gems/aws-sdk-cloudsearch/features/smoke.feature deleted file mode 100644 index aa1b8a32ea2..00000000000 --- a/gems/aws-sdk-cloudsearch/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for CloudSearch - - @cloudsearch @smoke - Scenario: DescribeDomainsSuccess - Given I create a 'Aws::CloudSearch' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_domains' with params: - """ -{} - """ - Then I expect an error was not raised - - @cloudsearch @smoke - Scenario: DescribeIndexFieldsFailure - Given I create a 'Aws::CloudSearch' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_index_fields' with params: - """ -{"domain_name":"fakedomain"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-cloudtrail/features/smoke.feature b/gems/aws-sdk-cloudtrail/features/smoke.feature deleted file mode 100644 index e819f0e3e0c..00000000000 --- a/gems/aws-sdk-cloudtrail/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for CloudTrail - - @cloudtrail @smoke - Scenario: DescribeTrailsSuccess - Given I create a 'Aws::CloudTrail' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_trails' with params: - """ -{} - """ - Then I expect an error was not raised - - @cloudtrail @smoke - Scenario: DeleteTrailFailure - Given I create a 'Aws::CloudTrail' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'delete_trail' with params: - """ -{"name":"faketrail"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-cloudwatch/features/smoke.feature b/gems/aws-sdk-cloudwatch/features/smoke.feature deleted file mode 100644 index a1a58009bd4..00000000000 --- a/gems/aws-sdk-cloudwatch/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for CloudWatch - - @cloudwatch @smoke - Scenario: ListMetricsSuccess - Given I create a 'Aws::CloudWatch' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_metrics' with params: - """ -{"namespace":"AWS/EC2"} - """ - Then I expect an error was not raised - - @cloudwatch @smoke - Scenario: SetAlarmStateFailure - Given I create a 'Aws::CloudWatch' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'set_alarm_state' with params: - """ -{"alarm_name":"abc","state_value":"mno","state_reason":"xyz"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-cloudwatchevents/features/smoke.feature b/gems/aws-sdk-cloudwatchevents/features/smoke.feature deleted file mode 100644 index f335f82680c..00000000000 --- a/gems/aws-sdk-cloudwatchevents/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for CloudWatchEvents - - @cloudwatchevents @smoke - Scenario: ListRulesSuccess - Given I create a 'Aws::CloudWatchEvents' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_rules' with params: - """ -{} - """ - Then I expect an error was not raised - - @cloudwatchevents @smoke - Scenario: DescribeRuleFailure - Given I create a 'Aws::CloudWatchEvents' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_rule' with params: - """ -{"name":"fake-rule"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-cloudwatchlogs/features/smoke.feature b/gems/aws-sdk-cloudwatchlogs/features/smoke.feature deleted file mode 100644 index bdac6e970e2..00000000000 --- a/gems/aws-sdk-cloudwatchlogs/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for CloudWatchLogs - - @cloudwatchlogs @smoke - Scenario: DescribeLogGroupsSuccess - Given I create a 'Aws::CloudWatchLogs' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_log_groups' with params: - """ -{} - """ - Then I expect an error was not raised - - @cloudwatchlogs @smoke - Scenario: GetLogEventsFailure - Given I create a 'Aws::CloudWatchLogs' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'get_log_events' with params: - """ -{"log_group_name":"fakegroup","log_stream_name":"fakestream"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-codebuild/features/smoke.feature b/gems/aws-sdk-codebuild/features/smoke.feature deleted file mode 100644 index db8f3dd1e37..00000000000 --- a/gems/aws-sdk-codebuild/features/smoke.feature +++ /dev/null @@ -1,20 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for CodeBuild - - @codebuild @smoke - Scenario: ListBuildsSuccess - Given I create a 'Aws::CodeBuild' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_builds' with params: - """ -{} - """ - Then I expect an error was not raised diff --git a/gems/aws-sdk-codecatalyst/features/smoke.feature b/gems/aws-sdk-codecatalyst/features/smoke.feature deleted file mode 100644 index 0635ad70a13..00000000000 --- a/gems/aws-sdk-codecatalyst/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for CodeCatalyst - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-codecommit/features/smoke.feature b/gems/aws-sdk-codecommit/features/smoke.feature deleted file mode 100644 index 177f74411ef..00000000000 --- a/gems/aws-sdk-codecommit/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for CodeCommit - - @codecommit @smoke - Scenario: ListRepositoriesSuccess - Given I create a 'Aws::CodeCommit' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_repositories' with params: - """ -{} - """ - Then I expect an error was not raised - - @codecommit @smoke - Scenario: ListBranchesFailure - Given I create a 'Aws::CodeCommit' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_branches' with params: - """ -{"repository_name":"fake-repo"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-codedeploy/features/smoke.feature b/gems/aws-sdk-codedeploy/features/smoke.feature deleted file mode 100644 index 2312c637e07..00000000000 --- a/gems/aws-sdk-codedeploy/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for CodeDeploy - - @codedeploy @smoke - Scenario: ListApplicationsSuccess - Given I create a 'Aws::CodeDeploy' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_applications' with params: - """ -{} - """ - Then I expect an error was not raised - - @codedeploy @smoke - Scenario: GetDeploymentFailure - Given I create a 'Aws::CodeDeploy' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'get_deployment' with params: - """ -{"deployment_id":"d-USUAELQEX"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-codepipeline/features/smoke.feature b/gems/aws-sdk-codepipeline/features/smoke.feature deleted file mode 100644 index dc65f0246ab..00000000000 --- a/gems/aws-sdk-codepipeline/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for CodePipeline - - @codepipeline @smoke - Scenario: ListPipelinesSuccess - Given I create a 'Aws::CodePipeline' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_pipelines' with params: - """ -{} - """ - Then I expect an error was not raised - - @codepipeline @smoke - Scenario: GetPipelineFailure - Given I create a 'Aws::CodePipeline' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'get_pipeline' with params: - """ -{"name":"fake-pipeline"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-codestar/features/smoke.feature b/gems/aws-sdk-codestar/features/smoke.feature deleted file mode 100644 index f01112a7950..00000000000 --- a/gems/aws-sdk-codestar/features/smoke.feature +++ /dev/null @@ -1,20 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for CodeStar - - @codestar @smoke - Scenario: ListProjectsSuccess - Given I create a 'Aws::CodeStar' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_projects' with params: - """ -{} - """ - Then I expect an error was not raised diff --git a/gems/aws-sdk-cognitoidentity/features/smoke.feature b/gems/aws-sdk-cognitoidentity/features/smoke.feature deleted file mode 100644 index 24282325e83..00000000000 --- a/gems/aws-sdk-cognitoidentity/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for CognitoIdentity - - @cognitoidentity @smoke - Scenario: ListIdentityPoolsSuccess - Given I create a 'Aws::CognitoIdentity' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_identity_pools' with params: - """ -{"max_results":10} - """ - Then I expect an error was not raised - - @cognitoidentity @smoke - Scenario: DescribeIdentityPoolFailure - Given I create a 'Aws::CognitoIdentity' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_identity_pool' with params: - """ -{"identity_pool_id":"us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-cognitoidentityprovider/features/smoke.feature b/gems/aws-sdk-cognitoidentityprovider/features/smoke.feature deleted file mode 100644 index 47c998fcd69..00000000000 --- a/gems/aws-sdk-cognitoidentityprovider/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for CognitoIdentityProvider - - @cognitoidentityprovider @smoke - Scenario: ListUserPoolsSuccess - Given I create a 'Aws::CognitoIdentityProvider' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_user_pools' with params: - """ -{"max_results":10} - """ - Then I expect an error was not raised - - @cognitoidentityprovider @smoke - Scenario: DescribeUserPoolFailure - Given I create a 'Aws::CognitoIdentityProvider' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_user_pool' with params: - """ -{"user_pool_id":"us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-cognitosync/features/smoke.feature b/gems/aws-sdk-cognitosync/features/smoke.feature deleted file mode 100644 index c54bb391fba..00000000000 --- a/gems/aws-sdk-cognitosync/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for CognitoSync - - @cognitosync @smoke - Scenario: ListIdentityPoolUsageSuccess - Given I create a 'Aws::CognitoSync' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_identity_pool_usage' with params: - """ -{} - """ - Then I expect an error was not raised - - @cognitosync @smoke - Scenario: DescribeIdentityPoolUsageFailure - Given I create a 'Aws::CognitoSync' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_identity_pool_usage' with params: - """ -{"identity_pool_id":"us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-configservice/features/smoke.feature b/gems/aws-sdk-configservice/features/smoke.feature deleted file mode 100644 index db448072244..00000000000 --- a/gems/aws-sdk-configservice/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for ConfigService - - @configservice @smoke - Scenario: DescribeConfigurationRecordersSuccess - Given I create a 'Aws::ConfigService' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_configuration_recorders' with params: - """ -{} - """ - Then I expect an error was not raised - - @configservice @smoke - Scenario: GetResourceConfigHistoryFailure - Given I create a 'Aws::ConfigService' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'get_resource_config_history' with params: - """ -{"resource_type":"fake-type","resource_id":"fake-id"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-core/CHANGELOG.md b/gems/aws-sdk-core/CHANGELOG.md index 1068da38985..514517c3c2e 100644 --- a/gems/aws-sdk-core/CHANGELOG.md +++ b/gems/aws-sdk-core/CHANGELOG.md @@ -1,8 +1,6 @@ Unreleased Changes ------------------ -* Issue - Update shared smoke test steps across all gems. - 3.190.0 (2023-11-29) ------------------ diff --git a/gems/aws-sdk-costandusagereportservice/features/smoke.feature b/gems/aws-sdk-costandusagereportservice/features/smoke.feature deleted file mode 100644 index bdbc1e733e8..00000000000 --- a/gems/aws-sdk-costandusagereportservice/features/smoke.feature +++ /dev/null @@ -1,20 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for CostandUsageReportService - - @costandusagereportservice @smoke - Scenario: DescribeReportDefinitionsSuccess - Given I create a 'Aws::CostandUsageReportService' client with config: - """ -{"region":"us-east-1"} - """ - When I call the operation 'describe_report_definitions' with params: - """ -{} - """ - Then I expect an error was not raised diff --git a/gems/aws-sdk-databasemigrationservice/features/smoke.feature b/gems/aws-sdk-databasemigrationservice/features/smoke.feature deleted file mode 100644 index 67b2e2d2f60..00000000000 --- a/gems/aws-sdk-databasemigrationservice/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for DatabaseMigrationService - - @databasemigrationservice @smoke - Scenario: DescribeEndpointsSuccess - Given I create a 'Aws::DatabaseMigrationService' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_endpoints' with params: - """ -{} - """ - Then I expect an error was not raised - - @databasemigrationservice @smoke - Scenario: DescribeTableStatisticsFailure - Given I create a 'Aws::DatabaseMigrationService' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_table_statistics' with params: - """ -{"replication_task_arn":"arn:aws:acm:region:123456789012"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-dataexchange/features/smoke.feature b/gems/aws-sdk-dataexchange/features/smoke.feature deleted file mode 100644 index 3cb8e16deeb..00000000000 --- a/gems/aws-sdk-dataexchange/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for DataExchange - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-devicefarm/features/smoke.feature b/gems/aws-sdk-devicefarm/features/smoke.feature deleted file mode 100644 index 33fd10fe1ab..00000000000 --- a/gems/aws-sdk-devicefarm/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for DeviceFarm - - @devicefarm @smoke - Scenario: ListDevicesSuccess - Given I create a 'Aws::DeviceFarm' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_devices' with params: - """ -{} - """ - Then I expect an error was not raised - - @devicefarm @smoke - Scenario: GetDeviceFailure - Given I create a 'Aws::DeviceFarm' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'get_device' with params: - """ -{"arn":"arn:aws:devicefarm:us-west-2::device:000000000000000000000000fake-arn"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-directconnect/features/smoke.feature b/gems/aws-sdk-directconnect/features/smoke.feature deleted file mode 100644 index 1d360131068..00000000000 --- a/gems/aws-sdk-directconnect/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for DirectConnect - - @directconnect @smoke - Scenario: DescribeConnectionsSuccess - Given I create a 'Aws::DirectConnect' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_connections' with params: - """ -{} - """ - Then I expect an error was not raised - - @directconnect @smoke - Scenario: DescribeConnectionsFailure - Given I create a 'Aws::DirectConnect' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_connections' with params: - """ -{"connection_id":"fake-connection"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-directoryservice/features/smoke.feature b/gems/aws-sdk-directoryservice/features/smoke.feature deleted file mode 100644 index 3befabb54d7..00000000000 --- a/gems/aws-sdk-directoryservice/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for DirectoryService - - @directoryservice @smoke - Scenario: DescribeDirectoriesSuccess - Given I create a 'Aws::DirectoryService' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_directories' with params: - """ -{} - """ - Then I expect an error was not raised - - @directoryservice @smoke - Scenario: CreateDirectoryFailure - Given I create a 'Aws::DirectoryService' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'create_directory' with params: - """ -{"name":"","password":"","size":""} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-docdb/features/smoke.feature b/gems/aws-sdk-docdb/features/smoke.feature deleted file mode 100644 index 10f731ae264..00000000000 --- a/gems/aws-sdk-docdb/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for DocDB - - @docdb @smoke - Scenario: DescribeDBEngineVersionsSuccess - Given I create a 'Aws::DocDB' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_db_engine_versions' with params: - """ -{} - """ - Then I expect an error was not raised - - @docdb @smoke - Scenario: DescribeDBInstancesFailure - Given I create a 'Aws::DocDB' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_db_instances' with params: - """ -{"db_instance_identifier":"fake-id"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-dynamodb/features/smoke.feature b/gems/aws-sdk-dynamodb/features/smoke.feature deleted file mode 100644 index 95e7a410d71..00000000000 --- a/gems/aws-sdk-dynamodb/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for DynamoDB - - @dynamodb @smoke - Scenario: ListTablesSuccess - Given I create a 'Aws::DynamoDB' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_tables' with params: - """ -{"limit":1} - """ - Then I expect an error was not raised - - @dynamodb @smoke - Scenario: DescribeTableFailure - Given I create a 'Aws::DynamoDB' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_table' with params: - """ -{"table_name":"fake-table"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-ec2/features/smoke.feature b/gems/aws-sdk-ec2/features/smoke.feature deleted file mode 100644 index de22f1c02c2..00000000000 --- a/gems/aws-sdk-ec2/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for EC2 - - @ec2 @smoke - Scenario: DescribeRegionsSuccess - Given I create a 'Aws::EC2' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_regions' with params: - """ -{} - """ - Then I expect an error was not raised - - @ec2 @smoke - Scenario: DescribeInstancesFailure - Given I create a 'Aws::EC2' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_instances' with params: - """ -{"instance_ids":["i-12345678"]} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-ecr/features/smoke.feature b/gems/aws-sdk-ecr/features/smoke.feature deleted file mode 100644 index ee165bc6b6a..00000000000 --- a/gems/aws-sdk-ecr/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for ECR - - @ecr @smoke - Scenario: DescribeRepositoriesSuccess - Given I create a 'Aws::ECR' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_repositories' with params: - """ -{} - """ - Then I expect an error was not raised - - @ecr @smoke - Scenario: ListImagesFailure - Given I create a 'Aws::ECR' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_images' with params: - """ -{"repository_name":"not-a-real-repository"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-ecs/features/smoke.feature b/gems/aws-sdk-ecs/features/smoke.feature deleted file mode 100644 index eea21f3cbae..00000000000 --- a/gems/aws-sdk-ecs/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for ECS - - @ecs @smoke - Scenario: ListClustersSuccess - Given I create a 'Aws::ECS' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_clusters' with params: - """ -{} - """ - Then I expect an error was not raised - - @ecs @smoke - Scenario: StopTaskFailure - Given I create a 'Aws::ECS' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'stop_task' with params: - """ -{"task":"xxxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxx"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-efs/features/smoke.feature b/gems/aws-sdk-efs/features/smoke.feature deleted file mode 100644 index 43ce5ef7ede..00000000000 --- a/gems/aws-sdk-efs/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for EFS - - @efs @smoke - Scenario: DescribeFileSystemsSuccess - Given I create a 'Aws::EFS' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_file_systems' with params: - """ -{} - """ - Then I expect an error was not raised - - @efs @smoke - Scenario: DeleteFileSystemFailure - Given I create a 'Aws::EFS' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'delete_file_system' with params: - """ -{"file_system_id":"fs-c5a1446c"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-elasticache/features/smoke.feature b/gems/aws-sdk-elasticache/features/smoke.feature deleted file mode 100644 index f0eda022ae9..00000000000 --- a/gems/aws-sdk-elasticache/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for ElastiCache - - @elasticache @smoke - Scenario: DescribeEventsSuccess - Given I create a 'Aws::ElastiCache' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_events' with params: - """ -{} - """ - Then I expect an error was not raised - - @elasticache @smoke - Scenario: DescribeCacheClustersFailure - Given I create a 'Aws::ElastiCache' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_cache_clusters' with params: - """ -{"cache_cluster_id":"fake_cluster"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-elasticbeanstalk/features/smoke.feature b/gems/aws-sdk-elasticbeanstalk/features/smoke.feature deleted file mode 100644 index f770fbd612f..00000000000 --- a/gems/aws-sdk-elasticbeanstalk/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for ElasticBeanstalk - - @elasticbeanstalk @smoke - Scenario: ListAvailableSolutionStacksSuccess - Given I create a 'Aws::ElasticBeanstalk' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_available_solution_stacks' with params: - """ -{} - """ - Then I expect an error was not raised - - @elasticbeanstalk @smoke - Scenario: DescribeEnvironmentResourcesFailure - Given I create a 'Aws::ElasticBeanstalk' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_environment_resources' with params: - """ -{"environment_id":"fake_environment"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-elasticloadbalancing/features/smoke.feature b/gems/aws-sdk-elasticloadbalancing/features/smoke.feature deleted file mode 100644 index abf4d5352e5..00000000000 --- a/gems/aws-sdk-elasticloadbalancing/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for ElasticLoadBalancing - - @elasticloadbalancing @smoke - Scenario: DescribeLoadBalancersSuccess - Given I create a 'Aws::ElasticLoadBalancing' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_load_balancers' with params: - """ -{} - """ - Then I expect an error was not raised - - @elasticloadbalancing @smoke - Scenario: DescribeLoadBalancersFailure - Given I create a 'Aws::ElasticLoadBalancing' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_load_balancers' with params: - """ -{"load_balancer_names":["fake_load_balancer"]} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-elasticloadbalancingv2/features/smoke.feature b/gems/aws-sdk-elasticloadbalancingv2/features/smoke.feature deleted file mode 100644 index 1a130571bad..00000000000 --- a/gems/aws-sdk-elasticloadbalancingv2/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for ElasticLoadBalancingV2 - - @elasticloadbalancingv2 @smoke - Scenario: DescribeLoadBalancersSuccess - Given I create a 'Aws::ElasticLoadBalancingV2' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_load_balancers' with params: - """ -{} - """ - Then I expect an error was not raised - - @elasticloadbalancingv2 @smoke - Scenario: DescribeLoadBalancersFailure - Given I create a 'Aws::ElasticLoadBalancingV2' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_load_balancers' with params: - """ -{"load_balancer_arns":["fake_load_balancer"]} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-elasticsearchservice/features/smoke.feature b/gems/aws-sdk-elasticsearchservice/features/smoke.feature deleted file mode 100644 index 26896b8f621..00000000000 --- a/gems/aws-sdk-elasticsearchservice/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for ElasticsearchService - - @elasticsearchservice @smoke - Scenario: ListDomainNamesSuccess - Given I create a 'Aws::ElasticsearchService' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_domain_names' with params: - """ -{} - """ - Then I expect an error was not raised - - @elasticsearchservice @smoke - Scenario: DescribeElasticsearchDomainFailure - Given I create a 'Aws::ElasticsearchService' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_elasticsearch_domain' with params: - """ -{"domain_name":"not-a-domain"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-elastictranscoder/features/smoke.feature b/gems/aws-sdk-elastictranscoder/features/smoke.feature deleted file mode 100644 index 87032486da1..00000000000 --- a/gems/aws-sdk-elastictranscoder/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for ElasticTranscoder - - @elastictranscoder @smoke - Scenario: ListPresetsSuccess - Given I create a 'Aws::ElasticTranscoder' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_presets' with params: - """ -{} - """ - Then I expect an error was not raised - - @elastictranscoder @smoke - Scenario: ReadJobFailure - Given I create a 'Aws::ElasticTranscoder' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'read_job' with params: - """ -{"id":"fake_job"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-emr/features/smoke.feature b/gems/aws-sdk-emr/features/smoke.feature deleted file mode 100644 index e50b47ad991..00000000000 --- a/gems/aws-sdk-emr/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for EMR - - @emr @smoke - Scenario: ListClustersSuccess - Given I create a 'Aws::EMR' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_clusters' with params: - """ -{} - """ - Then I expect an error was not raised - - @emr @smoke - Scenario: DescribeClusterFailure - Given I create a 'Aws::EMR' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_cluster' with params: - """ -{"cluster_id":"fake_cluster"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-eventbridge/features/smoke.feature b/gems/aws-sdk-eventbridge/features/smoke.feature deleted file mode 100644 index 80b543c8411..00000000000 --- a/gems/aws-sdk-eventbridge/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for EventBridge - - @eventbridge @smoke - Scenario: ListRulesSuccess - Given I create a 'Aws::EventBridge' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_rules' with params: - """ -{} - """ - Then I expect an error was not raised - - @eventbridge @smoke - Scenario: DescribeRuleFailure - Given I create a 'Aws::EventBridge' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_rule' with params: - """ -{"name":"fake-rule"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-firehose/features/smoke.feature b/gems/aws-sdk-firehose/features/smoke.feature deleted file mode 100644 index 3b4cf47bbdf..00000000000 --- a/gems/aws-sdk-firehose/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Firehose - - @firehose @smoke - Scenario: ListDeliveryStreamsSuccess - Given I create a 'Aws::Firehose' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_delivery_streams' with params: - """ -{} - """ - Then I expect an error was not raised - - @firehose @smoke - Scenario: DescribeDeliveryStreamFailure - Given I create a 'Aws::Firehose' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_delivery_stream' with params: - """ -{"delivery_stream_name":"bogus-stream-name"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-gamelift/features/smoke.feature b/gems/aws-sdk-gamelift/features/smoke.feature deleted file mode 100644 index eb0e0e54da1..00000000000 --- a/gems/aws-sdk-gamelift/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for GameLift - - @gamelift @smoke - Scenario: ListBuildsSuccess - Given I create a 'Aws::GameLift' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_builds' with params: - """ -{} - """ - Then I expect an error was not raised - - @gamelift @smoke - Scenario: DescribePlayerSessionsFailure - Given I create a 'Aws::GameLift' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_player_sessions' with params: - """ -{"player_session_id":"psess-fakeSessionId"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-glacier/features/smoke.feature b/gems/aws-sdk-glacier/features/smoke.feature deleted file mode 100644 index aefac07cf52..00000000000 --- a/gems/aws-sdk-glacier/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Glacier - - @glacier @smoke - Scenario: ListVaultsSuccess - Given I create a 'Aws::Glacier' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_vaults' with params: - """ -{} - """ - Then I expect an error was not raised - - @glacier @smoke - Scenario: ListVaultsFailure - Given I create a 'Aws::Glacier' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_vaults' with params: - """ -{"account_id":"abcmnoxyz"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-glue/features/smoke.feature b/gems/aws-sdk-glue/features/smoke.feature deleted file mode 100644 index c6787c3d542..00000000000 --- a/gems/aws-sdk-glue/features/smoke.feature +++ /dev/null @@ -1,20 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Glue - - @glue @smoke - Scenario: GetCatalogImportStatusSuccess - Given I create a 'Aws::Glue' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'get_catalog_import_status' with params: - """ -{} - """ - Then I expect an error was not raised diff --git a/gems/aws-sdk-iam/features/smoke.feature b/gems/aws-sdk-iam/features/smoke.feature deleted file mode 100644 index 09701fe58d3..00000000000 --- a/gems/aws-sdk-iam/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for IAM - - @iam @smoke - Scenario: ListUsersSuccess - Given I create a 'Aws::IAM' client with config: - """ -{"region":"us-east-1"} - """ - When I call the operation 'list_users' with params: - """ -{} - """ - Then I expect an error was not raised - - @iam @smoke - Scenario: GetUserFailure - Given I create a 'Aws::IAM' client with config: - """ -{"region":"us-east-1"} - """ - When I call the operation 'get_user' with params: - """ -{"user_name":"fake_user"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-inspector/features/smoke.feature b/gems/aws-sdk-inspector/features/smoke.feature deleted file mode 100644 index ba098eec2ff..00000000000 --- a/gems/aws-sdk-inspector/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Inspector - - @inspector @smoke - Scenario: ListAssessmentTemplatesSuccess - Given I create a 'Aws::Inspector' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_assessment_templates' with params: - """ -{} - """ - Then I expect an error was not raised - - @inspector @smoke - Scenario: ListTagsForResourceFailure - Given I create a 'Aws::Inspector' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_tags_for_resource' with params: - """ -{"resource_arn":"fake-arn"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-internetmonitor/features/smoke.feature b/gems/aws-sdk-internetmonitor/features/smoke.feature deleted file mode 100644 index 4e474849787..00000000000 --- a/gems/aws-sdk-internetmonitor/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for InternetMonitor - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-iot/features/smoke.feature b/gems/aws-sdk-iot/features/smoke.feature deleted file mode 100644 index 1f1afb43b8e..00000000000 --- a/gems/aws-sdk-iot/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for IoT - - @iot @smoke - Scenario: ListPoliciesSuccess - Given I create a 'Aws::IoT' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_policies' with params: - """ -{} - """ - Then I expect an error was not raised - - @iot @smoke - Scenario: DescribeThingFailure - Given I create a 'Aws::IoT' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_thing' with params: - """ -{"thing_name":"fake-thing"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-iotfleetwise/features/smoke.feature b/gems/aws-sdk-iotfleetwise/features/smoke.feature deleted file mode 100644 index cdc5ae8308f..00000000000 --- a/gems/aws-sdk-iotfleetwise/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for IoTFleetWise - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-iottwinmaker/features/smoke.feature b/gems/aws-sdk-iottwinmaker/features/smoke.feature deleted file mode 100644 index 4a4c8ab0cb0..00000000000 --- a/gems/aws-sdk-iottwinmaker/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for IoTTwinMaker - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-keyspaces/features/smoke.feature b/gems/aws-sdk-keyspaces/features/smoke.feature deleted file mode 100644 index 2799ac709cc..00000000000 --- a/gems/aws-sdk-keyspaces/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Keyspaces - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-kinesis/features/smoke.feature b/gems/aws-sdk-kinesis/features/smoke.feature deleted file mode 100644 index f9adf7bd99b..00000000000 --- a/gems/aws-sdk-kinesis/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Kinesis - - @kinesis @smoke - Scenario: ListStreamsSuccess - Given I create a 'Aws::Kinesis' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_streams' with params: - """ -{} - """ - Then I expect an error was not raised - - @kinesis @smoke - Scenario: DescribeStreamFailure - Given I create a 'Aws::Kinesis' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_stream' with params: - """ -{"stream_name":"bogus-stream-name"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-kms/features/smoke.feature b/gems/aws-sdk-kms/features/smoke.feature deleted file mode 100644 index 88cdb1f104d..00000000000 --- a/gems/aws-sdk-kms/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for KMS - - @kms @smoke - Scenario: ListAliasesSuccess - Given I create a 'Aws::KMS' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_aliases' with params: - """ -{} - """ - Then I expect an error was not raised - - @kms @smoke - Scenario: GetKeyPolicyFailure - Given I create a 'Aws::KMS' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'get_key_policy' with params: - """ -{"key_id":"12345678-1234-1234-1234-123456789012","policy_name":"fakePolicy"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-lambda/features/smoke.feature b/gems/aws-sdk-lambda/features/smoke.feature deleted file mode 100644 index 46596da9f6b..00000000000 --- a/gems/aws-sdk-lambda/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Lambda - - @lambda @smoke - Scenario: ListFunctionsSuccess - Given I create a 'Aws::Lambda' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_functions' with params: - """ -{} - """ - Then I expect an error was not raised - - @lambda @smoke - Scenario: InvokeFailure - Given I create a 'Aws::Lambda' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'invoke' with params: - """ -{"function_name":"bogus-function"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-lightsail/features/smoke.feature b/gems/aws-sdk-lightsail/features/smoke.feature deleted file mode 100644 index 83047c6d67b..00000000000 --- a/gems/aws-sdk-lightsail/features/smoke.feature +++ /dev/null @@ -1,20 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Lightsail - - @lightsail @smoke - Scenario: GetActiveNamesSuccess - Given I create a 'Aws::Lightsail' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'get_active_names' with params: - """ -{} - """ - Then I expect an error was not raised diff --git a/gems/aws-sdk-managedblockchainquery/features/smoke.feature b/gems/aws-sdk-managedblockchainquery/features/smoke.feature deleted file mode 100644 index 3b97c4ffb11..00000000000 --- a/gems/aws-sdk-managedblockchainquery/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for ManagedBlockchainQuery - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-marketplacecommerceanalytics/features/smoke.feature b/gems/aws-sdk-marketplacecommerceanalytics/features/smoke.feature deleted file mode 100644 index 2e2635c4df8..00000000000 --- a/gems/aws-sdk-marketplacecommerceanalytics/features/smoke.feature +++ /dev/null @@ -1,20 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for MarketplaceCommerceAnalytics - - @marketplacecommerceanalytics @smoke - Scenario: GenerateDataSetFailure - Given I create a 'Aws::MarketplaceCommerceAnalytics' client with config: - """ -{"region":"us-east-1"} - """ - When I call the operation 'generate_data_set' with params: - """ -{"data_set_type":"fake-type","data_set_publication_date":0,"role_name_arn":"fake-arn","destination_s3_bucket_name":"fake-bucket","sns_topic_arn":"fake-arn"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-mediapackagev2/features/smoke.feature b/gems/aws-sdk-mediapackagev2/features/smoke.feature deleted file mode 100644 index 8bd217fa2cf..00000000000 --- a/gems/aws-sdk-mediapackagev2/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for MediaPackageV2 - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-medicalimaging/features/smoke.feature b/gems/aws-sdk-medicalimaging/features/smoke.feature deleted file mode 100644 index d6c504c7df8..00000000000 --- a/gems/aws-sdk-medicalimaging/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for MedicalImaging - -Background: - Given I create a client in region 'us-east-1' diff --git a/gems/aws-sdk-migrationhuborchestrator/features/smoke.feature b/gems/aws-sdk-migrationhuborchestrator/features/smoke.feature deleted file mode 100644 index 2af4f3e897a..00000000000 --- a/gems/aws-sdk-migrationhuborchestrator/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for MigrationHubOrchestrator - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-mturk/features/smoke.feature b/gems/aws-sdk-mturk/features/smoke.feature deleted file mode 100644 index d0570920076..00000000000 --- a/gems/aws-sdk-mturk/features/smoke.feature +++ /dev/null @@ -1,8 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for MTurk diff --git a/gems/aws-sdk-neptune/features/smoke.feature b/gems/aws-sdk-neptune/features/smoke.feature deleted file mode 100644 index aebb51f288c..00000000000 --- a/gems/aws-sdk-neptune/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Neptune - - @neptune @smoke - Scenario: DescribeDBEngineVersionsSuccess - Given I create a 'Aws::Neptune' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_db_engine_versions' with params: - """ -{} - """ - Then I expect an error was not raised - - @neptune @smoke - Scenario: DescribeDBInstancesFailure - Given I create a 'Aws::Neptune' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_db_instances' with params: - """ -{"db_instance_identifier":"fake-id"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-omics/features/smoke.feature b/gems/aws-sdk-omics/features/smoke.feature deleted file mode 100644 index e66f0439048..00000000000 --- a/gems/aws-sdk-omics/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Omics - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-opensearchservice/features/smoke.feature b/gems/aws-sdk-opensearchservice/features/smoke.feature deleted file mode 100644 index 755fdfefec9..00000000000 --- a/gems/aws-sdk-opensearchservice/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for OpenSearchService - - @opensearchservice @smoke - Scenario: ListDomainNamesSuccess - Given I create a 'Aws::OpenSearchService' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_domain_names' with params: - """ -{} - """ - Then I expect an error was not raised - - @opensearchservice @smoke - Scenario: DescribeDomainFailure - Given I create a 'Aws::OpenSearchService' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_domain' with params: - """ -{"domain_name":"not-a-domain"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-opsworks/features/smoke.feature b/gems/aws-sdk-opsworks/features/smoke.feature deleted file mode 100644 index e15ff26f44b..00000000000 --- a/gems/aws-sdk-opsworks/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for OpsWorks - - @opsworks @smoke - Scenario: DescribeStacksSuccess - Given I create a 'Aws::OpsWorks' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_stacks' with params: - """ -{} - """ - Then I expect an error was not raised - - @opsworks @smoke - Scenario: DescribeLayersFailure - Given I create a 'Aws::OpsWorks' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_layers' with params: - """ -{"stack_id":"fake_stack"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-pinpointsmsvoicev2/features/smoke.feature b/gems/aws-sdk-pinpointsmsvoicev2/features/smoke.feature deleted file mode 100644 index a4dfa999a73..00000000000 --- a/gems/aws-sdk-pinpointsmsvoicev2/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for PinpointSMSVoiceV2 - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-polly/features/smoke.feature b/gems/aws-sdk-polly/features/smoke.feature deleted file mode 100644 index 2b73ac6c668..00000000000 --- a/gems/aws-sdk-polly/features/smoke.feature +++ /dev/null @@ -1,20 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Polly - - @polly @smoke - Scenario: DescribeVoicesSuccess - Given I create a 'Aws::Polly' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_voices' with params: - """ -{} - """ - Then I expect an error was not raised diff --git a/gems/aws-sdk-pricing/features/smoke.feature b/gems/aws-sdk-pricing/features/smoke.feature deleted file mode 100644 index 0aabdc07124..00000000000 --- a/gems/aws-sdk-pricing/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Pricing - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-rds/features/smoke.feature b/gems/aws-sdk-rds/features/smoke.feature deleted file mode 100644 index f4d52236486..00000000000 --- a/gems/aws-sdk-rds/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for RDS - - @rds @smoke - Scenario: DescribeDBEngineVersionsSuccess - Given I create a 'Aws::RDS' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_db_engine_versions' with params: - """ -{} - """ - Then I expect an error was not raised - - @rds @smoke - Scenario: DescribeDBInstancesFailure - Given I create a 'Aws::RDS' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_db_instances' with params: - """ -{"db_instance_identifier":"fake-id"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-redshift/features/smoke.feature b/gems/aws-sdk-redshift/features/smoke.feature deleted file mode 100644 index 83565c8b717..00000000000 --- a/gems/aws-sdk-redshift/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Redshift - - @redshift @smoke - Scenario: DescribeClusterVersionsSuccess - Given I create a 'Aws::Redshift' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_cluster_versions' with params: - """ -{} - """ - Then I expect an error was not raised - - @redshift @smoke - Scenario: DescribeClustersFailure - Given I create a 'Aws::Redshift' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_clusters' with params: - """ -{"cluster_identifier":"fake-cluster"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-rekognition/features/smoke.feature b/gems/aws-sdk-rekognition/features/smoke.feature deleted file mode 100644 index fd975bbacc0..00000000000 --- a/gems/aws-sdk-rekognition/features/smoke.feature +++ /dev/null @@ -1,20 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Rekognition - - @rekognition @smoke - Scenario: ListCollectionsSuccess - Given I create a 'Aws::Rekognition' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_collections' with params: - """ -{} - """ - Then I expect an error was not raised diff --git a/gems/aws-sdk-route53/features/smoke.feature b/gems/aws-sdk-route53/features/smoke.feature deleted file mode 100644 index cec98272cf4..00000000000 --- a/gems/aws-sdk-route53/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Route53 - - @route53 @smoke - Scenario: ListHostedZonesSuccess - Given I create a 'Aws::Route53' client with config: - """ -{"region":"us-east-1"} - """ - When I call the operation 'list_hosted_zones' with params: - """ -{} - """ - Then I expect an error was not raised - - @route53 @smoke - Scenario: GetHostedZoneFailure - Given I create a 'Aws::Route53' client with config: - """ -{"region":"us-east-1"} - """ - When I call the operation 'get_hosted_zone' with params: - """ -{"id":"fake-zone"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-route53domains/features/smoke.feature b/gems/aws-sdk-route53domains/features/smoke.feature deleted file mode 100644 index d4e33ee8f68..00000000000 --- a/gems/aws-sdk-route53domains/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Route53Domains - - @route53domains @smoke - Scenario: ListDomainsSuccess - Given I create a 'Aws::Route53Domains' client with config: - """ -{"region":"us-east-1"} - """ - When I call the operation 'list_domains' with params: - """ -{} - """ - Then I expect an error was not raised - - @route53domains @smoke - Scenario: GetDomainDetailFailure - Given I create a 'Aws::Route53Domains' client with config: - """ -{"region":"us-east-1"} - """ - When I call the operation 'get_domain_detail' with params: - """ -{"domain_name":"fake-domain-name"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-route53resolver/features/smoke.feature b/gems/aws-sdk-route53resolver/features/smoke.feature deleted file mode 100644 index e851b0a4fc0..00000000000 --- a/gems/aws-sdk-route53resolver/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Route53Resolver - - @route53resolver @smoke - Scenario: ListResolverEndpointsSuccess - Given I create a 'Aws::Route53Resolver' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_resolver_endpoints' with params: - """ -{} - """ - Then I expect an error was not raised - - @route53resolver @smoke - Scenario: GetResolverRuleFailure - Given I create a 'Aws::Route53Resolver' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'get_resolver_rule' with params: - """ -{"resolver_rule_id":"fake-id"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-s3/features/smoke.feature b/gems/aws-sdk-s3/features/smoke.feature deleted file mode 100644 index d7734b7ea9a..00000000000 --- a/gems/aws-sdk-s3/features/smoke.feature +++ /dev/null @@ -1,20 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for S3 - - @s3 @smoke - Scenario: ListBucketsSuccess - Given I create a 'Aws::S3' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_buckets' with params: - """ -{} - """ - Then I expect an error was not raised diff --git a/gems/aws-sdk-secretsmanager/features/smoke.feature b/gems/aws-sdk-secretsmanager/features/smoke.feature deleted file mode 100644 index 386461fdebb..00000000000 --- a/gems/aws-sdk-secretsmanager/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for SecretsManager - - @secretsmanager @smoke - Scenario: ListSecretsSuccess - Given I create a 'Aws::SecretsManager' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_secrets' with params: - """ -{} - """ - Then I expect an error was not raised - - @secretsmanager @smoke - Scenario: DescribeSecretFailure - Given I create a 'Aws::SecretsManager' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_secret' with params: - """ -{"secret_id":"fake-secret-id"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-servicecatalog/features/smoke.feature b/gems/aws-sdk-servicecatalog/features/smoke.feature deleted file mode 100644 index 0aa177a8e00..00000000000 --- a/gems/aws-sdk-servicecatalog/features/smoke.feature +++ /dev/null @@ -1,20 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for ServiceCatalog - - @servicecatalog @smoke - Scenario: ListAcceptedPortfolioSharesSuccess - Given I create a 'Aws::ServiceCatalog' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_accepted_portfolio_shares' with params: - """ -{} - """ - Then I expect an error was not raised diff --git a/gems/aws-sdk-ses/features/smoke.feature b/gems/aws-sdk-ses/features/smoke.feature deleted file mode 100644 index 702a3d469c6..00000000000 --- a/gems/aws-sdk-ses/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for SES - - @ses @smoke - Scenario: ListIdentitiesSuccess - Given I create a 'Aws::SES' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_identities' with params: - """ -{} - """ - Then I expect an error was not raised - - @ses @smoke - Scenario: VerifyEmailIdentityFailure - Given I create a 'Aws::SES' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'verify_email_identity' with params: - """ -{"email_address":"fake_email"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-shield/features/smoke.feature b/gems/aws-sdk-shield/features/smoke.feature deleted file mode 100644 index db1f3466374..00000000000 --- a/gems/aws-sdk-shield/features/smoke.feature +++ /dev/null @@ -1,20 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Shield - - @shield @smoke - Scenario: ListAttacksSuccess - Given I create a 'Aws::Shield' client with config: - """ -{"region":"us-east-1"} - """ - When I call the operation 'list_attacks' with params: - """ -{} - """ - Then I expect an error was not raised diff --git a/gems/aws-sdk-sms/features/smoke.feature b/gems/aws-sdk-sms/features/smoke.feature deleted file mode 100644 index 4badb2f7e16..00000000000 --- a/gems/aws-sdk-sms/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for SMS - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-snowball/features/smoke.feature b/gems/aws-sdk-snowball/features/smoke.feature deleted file mode 100644 index ceecc2f2f1a..00000000000 --- a/gems/aws-sdk-snowball/features/smoke.feature +++ /dev/null @@ -1,20 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Snowball - - @snowball @smoke - Scenario: DescribeAddressesSuccess - Given I create a 'Aws::Snowball' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_addresses' with params: - """ -{} - """ - Then I expect an error was not raised diff --git a/gems/aws-sdk-sns/features/smoke.feature b/gems/aws-sdk-sns/features/smoke.feature deleted file mode 100644 index 2f5b8ece244..00000000000 --- a/gems/aws-sdk-sns/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for SNS - - @sns @smoke - Scenario: ListTopicsSuccess - Given I create a 'Aws::SNS' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_topics' with params: - """ -{} - """ - Then I expect an error was not raised - - @sns @smoke - Scenario: PublishFailure - Given I create a 'Aws::SNS' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'publish' with params: - """ -{"message":"hello","topic_arn":"fake_topic"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-sqs/features/smoke.feature b/gems/aws-sdk-sqs/features/smoke.feature deleted file mode 100644 index 74e9bf8a134..00000000000 --- a/gems/aws-sdk-sqs/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for SQS - - @sqs @smoke - Scenario: ListQueuesSuccess - Given I create a 'Aws::SQS' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_queues' with params: - """ -{} - """ - Then I expect an error was not raised - - @sqs @smoke - Scenario: GetQueueUrlFailure - Given I create a 'Aws::SQS' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'get_queue_url' with params: - """ -{"queue_name":"fake_queue"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-ssm/features/smoke.feature b/gems/aws-sdk-ssm/features/smoke.feature deleted file mode 100644 index 4765041f6a0..00000000000 --- a/gems/aws-sdk-ssm/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for SSM - - @ssm @smoke - Scenario: ListDocumentsSuccess - Given I create a 'Aws::SSM' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_documents' with params: - """ -{} - """ - Then I expect an error was not raised - - @ssm @smoke - Scenario: GetDocumentFailure - Given I create a 'Aws::SSM' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'get_document' with params: - """ -{"name":"'fake-name'"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-states/features/smoke.feature b/gems/aws-sdk-states/features/smoke.feature deleted file mode 100644 index b3d7338654b..00000000000 --- a/gems/aws-sdk-states/features/smoke.feature +++ /dev/null @@ -1,20 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for States - - @states @smoke - Scenario: ListActivitiesSuccess - Given I create a 'Aws::States' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_activities' with params: - """ -{} - """ - Then I expect an error was not raised diff --git a/gems/aws-sdk-support/features/smoke.feature b/gems/aws-sdk-support/features/smoke.feature deleted file mode 100644 index feb2bf9b29d..00000000000 --- a/gems/aws-sdk-support/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for Support - - @support @smoke - Scenario: DescribeServicesSuccess - Given I create a 'Aws::Support' client with config: - """ -{"region":"us-east-1"} - """ - When I call the operation 'describe_services' with params: - """ -{} - """ - Then I expect an error was not raised - - @support @smoke - Scenario: CreateCaseFailure - Given I create a 'Aws::Support' client with config: - """ -{"region":"us-east-1"} - """ - When I call the operation 'create_case' with params: - """ -{"subject":"subject","communication_body":"communication","category_code":"category","service_code":"amazon-dynamodb","severity_code":"low"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-swf/features/smoke.feature b/gems/aws-sdk-swf/features/smoke.feature deleted file mode 100644 index 8033df5dd60..00000000000 --- a/gems/aws-sdk-swf/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for SWF - - @swf @smoke - Scenario: ListDomainsSuccess - Given I create a 'Aws::SWF' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'list_domains' with params: - """ -{"registration_status":"REGISTERED"} - """ - Then I expect an error was not raised - - @swf @smoke - Scenario: DescribeDomainFailure - Given I create a 'Aws::SWF' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_domain' with params: - """ -{"name":"fake_domain"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-verifiedpermissions/features/smoke.feature b/gems/aws-sdk-verifiedpermissions/features/smoke.feature deleted file mode 100644 index 2e13bdcecbb..00000000000 --- a/gems/aws-sdk-verifiedpermissions/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for VerifiedPermissions - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-waf/features/smoke.feature b/gems/aws-sdk-waf/features/smoke.feature deleted file mode 100644 index 17890d5bf23..00000000000 --- a/gems/aws-sdk-waf/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for WAF - - @waf @smoke - Scenario: ListRulesSuccess - Given I create a 'Aws::WAF' client with config: - """ -{"region":"us-east-1"} - """ - When I call the operation 'list_rules' with params: - """ -{"limit":20} - """ - Then I expect an error was not raised - - @waf @smoke - Scenario: CreateSqlInjectionMatchSetFailure - Given I create a 'Aws::WAF' client with config: - """ -{"region":"us-east-1"} - """ - When I call the operation 'create_sql_injection_match_set' with params: - """ -{"name":"fake_name","change_token":"fake_token"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-wafregional/features/smoke.feature b/gems/aws-sdk-wafregional/features/smoke.feature deleted file mode 100644 index b6944b903c3..00000000000 --- a/gems/aws-sdk-wafregional/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for WAFRegional - - @wafregional @smoke - Scenario: ListRulesSuccess - Given I create a 'Aws::WAFRegional' client with config: - """ -{"region":"us-east-1"} - """ - When I call the operation 'list_rules' with params: - """ -{"limit":20} - """ - Then I expect an error was not raised - - @wafregional @smoke - Scenario: CreateSqlInjectionMatchSetFailure - Given I create a 'Aws::WAFRegional' client with config: - """ -{"region":"us-east-1"} - """ - When I call the operation 'create_sql_injection_match_set' with params: - """ -{"name":"fake_name","change_token":"fake_token"} - """ - Then I expect an error was raised diff --git a/gems/aws-sdk-workspaces/features/smoke.feature b/gems/aws-sdk-workspaces/features/smoke.feature deleted file mode 100644 index 0cf4d200936..00000000000 --- a/gems/aws-sdk-workspaces/features/smoke.feature +++ /dev/null @@ -1,32 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for WorkSpaces - - @workspaces @smoke - Scenario: DescribeWorkspacesSuccess - Given I create a 'Aws::WorkSpaces' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_workspaces' with params: - """ -{} - """ - Then I expect an error was not raised - - @workspaces @smoke - Scenario: DescribeWorkspacesFailure - Given I create a 'Aws::WorkSpaces' client with config: - """ -{"region":"us-west-2"} - """ - When I call the operation 'describe_workspaces' with params: - """ -{"directory_id":"fake-id"} - """ - Then I expect an error was raised From ea290c1ad7df271300bf001f2851621ecb7a1814 Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Thu, 14 Dec 2023 13:14:49 -0500 Subject: [PATCH 08/10] Skip integ/smoke tests that do not exist --- tasks/test.rake | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/test.rake b/tasks/test.rake index bb016139058..3bf46c63e4d 100644 --- a/tasks/test.rake +++ b/tasks/test.rake @@ -59,6 +59,8 @@ desc 'Executes all smoke tests' rule 'test:smoke' do failures = [] Dir.glob('gems/*/features').each do |dir| + next unless File.exist?(File.join(dir, 'smoke.feature')) + gem_name = dir.match(%r{gems/(.*)/features})[1] sh("bundle exec rake test:smoke:#{gem_name}") do |ok, _| failures << File.basename(File.dirname(dir)) unless ok @@ -78,6 +80,8 @@ desc 'Executes all integration tests' task 'test:integration' do failures = [] Dir.glob('gems/*/features').each do |dir| + next unless Dir.glob(File.join(dir, '**', '*.feature')).any? + gem_name = dir.match(%r{gems/(.*)/features})[1] sh("bundle exec rake test:integration:#{gem_name}") do |ok, _| failures << File.basename(File.dirname(dir)) unless ok @@ -100,6 +104,8 @@ desc 'Executes all feature tests' task 'test:features' do failures = [] Dir.glob('gems/*/features').each do |dir| + next unless Dir.glob(File.join(dir, '**', '*.feature')).any? + gem_name = dir.match(%r{gems/(.*)/features})[1] sh("bundle exec rake test:features:#{gem_name}") do |ok, _| failures << File.basename(File.dirname(dir)) unless ok From 3d673b54b418eb10d8c55afe3e1438b592953ac8 Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Thu, 11 Jan 2024 16:36:57 -0500 Subject: [PATCH 09/10] Merge and remove a smoke.json --- apis/networkmonitor/2023-08-01/smoke.json | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 apis/networkmonitor/2023-08-01/smoke.json diff --git a/apis/networkmonitor/2023-08-01/smoke.json b/apis/networkmonitor/2023-08-01/smoke.json deleted file mode 100644 index a9756813e4a..00000000000 --- a/apis/networkmonitor/2023-08-01/smoke.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 1, - "defaultRegion": "us-west-2", - "testCases": [ - ] -} From adea7d24da63a339f125e7bfb7aca0e45cf65e2e Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Tue, 16 Jan 2024 15:29:47 -0500 Subject: [PATCH 10/10] Remove networkmonitor smoke steps --- .../features/smoke.feature | 11 ------ .../features/smoke_step_definitions.rb | 35 ------------------- 2 files changed, 46 deletions(-) delete mode 100644 gems/aws-sdk-networkmonitor/features/smoke.feature delete mode 100644 gems/aws-sdk-networkmonitor/features/smoke_step_definitions.rb diff --git a/gems/aws-sdk-networkmonitor/features/smoke.feature b/gems/aws-sdk-networkmonitor/features/smoke.feature deleted file mode 100644 index c63ff2d3439..00000000000 --- a/gems/aws-sdk-networkmonitor/features/smoke.feature +++ /dev/null @@ -1,11 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Feature: Smoke tests for NetworkMonitor - -Background: - Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-networkmonitor/features/smoke_step_definitions.rb b/gems/aws-sdk-networkmonitor/features/smoke_step_definitions.rb deleted file mode 100644 index 464fb28bd48..00000000000 --- a/gems/aws-sdk-networkmonitor/features/smoke_step_definitions.rb +++ /dev/null @@ -1,35 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -# Shared Smoke Test Definitions -Given(/I create a client in region '(.*?)'/) do |region| - @regional_client = Aws::NetworkMonitor::Client.new(region: region) -end - -Given(/I create a client with endpoint '(.*?)'/) do |endpoint| - @regional_client = Aws::NetworkMonitor::Client.new(endpoint: endpoint) -end - -When(/I call the operation '(.*?)' with params:/) do |operation, params| - opts = JSON.parse(params, symbolize_names: true) - begin - @regional_client.send(operation.to_sym, opts) - @operation_raised_error = false - rescue StandardError - @operation_raised_error = true - end -end - -Then(/I expect an error was raised/) do - expect(@operation_raised_error).to be_truthy -end - -Then(/I expect an error was not raised/) do - expect(@operation_raised_error).not_to be_truthy -end