Class: Aws::AppTest::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::AppTest::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-apptest/client.rb
Overview
An API client for AppTest. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::AppTest::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#create_test_case(params = {}) ⇒ Types::CreateTestCaseResponse
Creates a test case.
-
#create_test_configuration(params = {}) ⇒ Types::CreateTestConfigurationResponse
Creates a test configuration.
-
#create_test_suite(params = {}) ⇒ Types::CreateTestSuiteResponse
Creates a test suite.
-
#delete_test_case(params = {}) ⇒ Struct
Deletes a test case.
-
#delete_test_configuration(params = {}) ⇒ Struct
Deletes a test configuration.
-
#delete_test_run(params = {}) ⇒ Struct
Deletes a test run.
-
#delete_test_suite(params = {}) ⇒ Struct
Deletes a test suite.
-
#get_test_case(params = {}) ⇒ Types::GetTestCaseResponse
Gets a test case.
-
#get_test_configuration(params = {}) ⇒ Types::GetTestConfigurationResponse
Gets a test configuration.
-
#get_test_run_step(params = {}) ⇒ Types::GetTestRunStepResponse
Gets a test run step.
-
#get_test_suite(params = {}) ⇒ Types::GetTestSuiteResponse
Gets a test suite.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists tags for a resource.
-
#list_test_cases(params = {}) ⇒ Types::ListTestCasesResponse
Lists test cases.
-
#list_test_configurations(params = {}) ⇒ Types::ListTestConfigurationsResponse
Lists test configurations.
-
#list_test_run_steps(params = {}) ⇒ Types::ListTestRunStepsResponse
Lists test run steps.
-
#list_test_run_test_cases(params = {}) ⇒ Types::ListTestRunTestCasesResponse
Lists test run test cases.
-
#list_test_runs(params = {}) ⇒ Types::ListTestRunsResponse
Lists test runs.
-
#list_test_suites(params = {}) ⇒ Types::ListTestSuitesResponse
Lists test suites.
-
#start_test_run(params = {}) ⇒ Types::StartTestRunResponse
Starts a test run.
-
#tag_resource(params = {}) ⇒ Struct
Specifies tags of a resource.
-
#untag_resource(params = {}) ⇒ Struct
Untags a resource.
-
#update_test_case(params = {}) ⇒ Types::UpdateTestCaseResponse
Updates a test case.
-
#update_test_configuration(params = {}) ⇒ Types::UpdateTestConfigurationResponse
Updates a test configuration.
-
#update_test_suite(params = {}) ⇒ Types::UpdateTestSuiteResponse
Updates a test suite.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
444 445 446 |
# File 'lib/aws-sdk-apptest/client.rb', line 444 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2299 2300 2301 |
# File 'lib/aws-sdk-apptest/client.rb', line 2299 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2302 2303 2304 |
# File 'lib/aws-sdk-apptest/client.rb', line 2302 def errors_module Errors end |
Instance Method Details
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 |
# File 'lib/aws-sdk-apptest/client.rb', line 2272 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::AppTest') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-apptest' context[:gem_version] = '1.10.0' Seahorse::Client::Request.new(handlers, context) end |
#create_test_case(params = {}) ⇒ Types::CreateTestCaseResponse
Creates a test case.
577 578 579 580 |
# File 'lib/aws-sdk-apptest/client.rb', line 577 def create_test_case(params = {}, = {}) req = build_request(:create_test_case, params) req.send_request() end |
#create_test_configuration(params = {}) ⇒ Types::CreateTestConfigurationResponse
Creates a test configuration.
664 665 666 667 |
# File 'lib/aws-sdk-apptest/client.rb', line 664 def create_test_configuration(params = {}, = {}) req = build_request(:create_test_configuration, params) req.send_request() end |
#create_test_suite(params = {}) ⇒ Types::CreateTestSuiteResponse
Creates a test suite.
887 888 889 890 |
# File 'lib/aws-sdk-apptest/client.rb', line 887 def create_test_suite(params = {}, = {}) req = build_request(:create_test_suite, params) req.send_request() end |
#delete_test_case(params = {}) ⇒ Struct
Deletes a test case.
909 910 911 912 |
# File 'lib/aws-sdk-apptest/client.rb', line 909 def delete_test_case(params = {}, = {}) req = build_request(:delete_test_case, params) req.send_request() end |
#delete_test_configuration(params = {}) ⇒ Struct
Deletes a test configuration.
931 932 933 934 |
# File 'lib/aws-sdk-apptest/client.rb', line 931 def delete_test_configuration(params = {}, = {}) req = build_request(:delete_test_configuration, params) req.send_request() end |
#delete_test_run(params = {}) ⇒ Struct
Deletes a test run.
953 954 955 956 |
# File 'lib/aws-sdk-apptest/client.rb', line 953 def delete_test_run(params = {}, = {}) req = build_request(:delete_test_run, params) req.send_request() end |
#delete_test_suite(params = {}) ⇒ Struct
Deletes a test suite.
975 976 977 978 |
# File 'lib/aws-sdk-apptest/client.rb', line 975 def delete_test_suite(params = {}, = {}) req = build_request(:delete_test_suite, params) req.send_request() end |
#get_test_case(params = {}) ⇒ Types::GetTestCaseResponse
Gets a test case.
1066 1067 1068 1069 |
# File 'lib/aws-sdk-apptest/client.rb', line 1066 def get_test_case(params = {}, = {}) req = build_request(:get_test_case, params) req.send_request() end |
#get_test_configuration(params = {}) ⇒ Types::GetTestConfigurationResponse
Gets a test configuration.
1140 1141 1142 1143 |
# File 'lib/aws-sdk-apptest/client.rb', line 1140 def get_test_configuration(params = {}, = {}) req = build_request(:get_test_configuration, params) req.send_request() end |
#get_test_run_step(params = {}) ⇒ Types::GetTestRunStepResponse
Gets a test run step.
1291 1292 1293 1294 |
# File 'lib/aws-sdk-apptest/client.rb', line 1291 def get_test_run_step(params = {}, = {}) req = build_request(:get_test_run_step, params) req.send_request() end |
#get_test_suite(params = {}) ⇒ Types::GetTestSuiteResponse
Gets a test suite.
1421 1422 1423 1424 |
# File 'lib/aws-sdk-apptest/client.rb', line 1421 def get_test_suite(params = {}, = {}) req = build_request(:get_test_suite, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists tags for a resource.
1450 1451 1452 1453 |
# File 'lib/aws-sdk-apptest/client.rb', line 1450 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_test_cases(params = {}) ⇒ Types::ListTestCasesResponse
Lists test cases.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1498 1499 1500 1501 |
# File 'lib/aws-sdk-apptest/client.rb', line 1498 def list_test_cases(params = {}, = {}) req = build_request(:list_test_cases, params) req.send_request() end |
#list_test_configurations(params = {}) ⇒ Types::ListTestConfigurationsResponse
Lists test configurations.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1546 1547 1548 1549 |
# File 'lib/aws-sdk-apptest/client.rb', line 1546 def list_test_configurations(params = {}, = {}) req = build_request(:list_test_configurations, params) req.send_request() end |
#list_test_run_steps(params = {}) ⇒ Types::ListTestRunStepsResponse
Lists test run steps.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1606 1607 1608 1609 |
# File 'lib/aws-sdk-apptest/client.rb', line 1606 def list_test_run_steps(params = {}, = {}) req = build_request(:list_test_run_steps, params) req.send_request() end |
#list_test_run_test_cases(params = {}) ⇒ Types::ListTestRunTestCasesResponse
Lists test run test cases.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1655 1656 1657 1658 |
# File 'lib/aws-sdk-apptest/client.rb', line 1655 def list_test_run_test_cases(params = {}, = {}) req = build_request(:list_test_run_test_cases, params) req.send_request() end |
#list_test_runs(params = {}) ⇒ Types::ListTestRunsResponse
Lists test runs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1710 1711 1712 1713 |
# File 'lib/aws-sdk-apptest/client.rb', line 1710 def list_test_runs(params = {}, = {}) req = build_request(:list_test_runs, params) req.send_request() end |
#list_test_suites(params = {}) ⇒ Types::ListTestSuitesResponse
Lists test suites.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1759 1760 1761 1762 |
# File 'lib/aws-sdk-apptest/client.rb', line 1759 def list_test_suites(params = {}, = {}) req = build_request(:list_test_suites, params) req.send_request() end |
#start_test_run(params = {}) ⇒ Types::StartTestRunResponse
Starts a test run.
1806 1807 1808 1809 |
# File 'lib/aws-sdk-apptest/client.rb', line 1806 def start_test_run(params = {}, = {}) req = build_request(:start_test_run, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Specifies tags of a resource.
1834 1835 1836 1837 |
# File 'lib/aws-sdk-apptest/client.rb', line 1834 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Untags a resource.
1860 1861 1862 1863 |
# File 'lib/aws-sdk-apptest/client.rb', line 1860 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_test_case(params = {}) ⇒ Types::UpdateTestCaseResponse
Updates a test case.
1979 1980 1981 1982 |
# File 'lib/aws-sdk-apptest/client.rb', line 1979 def update_test_case(params = {}, = {}) req = build_request(:update_test_case, params) req.send_request() end |
#update_test_configuration(params = {}) ⇒ Types::UpdateTestConfigurationResponse
Updates a test configuration.
2053 2054 2055 2056 |
# File 'lib/aws-sdk-apptest/client.rb', line 2053 def update_test_configuration(params = {}, = {}) req = build_request(:update_test_configuration, params) req.send_request() end |
#update_test_suite(params = {}) ⇒ Types::UpdateTestSuiteResponse
Updates a test suite.
2263 2264 2265 2266 |
# File 'lib/aws-sdk-apptest/client.rb', line 2263 def update_test_suite(params = {}, = {}) req = build_request(:update_test_suite, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2292 2293 2294 |
# File 'lib/aws-sdk-apptest/client.rb', line 2292 def waiter_names [] end |