aws-sdk-apptest 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2269 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'seahorse/client/plugins/content_length.rb'
11
+ require 'aws-sdk-core/plugins/credentials_configuration.rb'
12
+ require 'aws-sdk-core/plugins/logging.rb'
13
+ require 'aws-sdk-core/plugins/param_converter.rb'
14
+ require 'aws-sdk-core/plugins/param_validator.rb'
15
+ require 'aws-sdk-core/plugins/user_agent.rb'
16
+ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
17
+ require 'aws-sdk-core/plugins/retry_errors.rb'
18
+ require 'aws-sdk-core/plugins/global_configuration.rb'
19
+ require 'aws-sdk-core/plugins/regional_endpoint.rb'
20
+ require 'aws-sdk-core/plugins/endpoint_discovery.rb'
21
+ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
+ require 'aws-sdk-core/plugins/response_paging.rb'
23
+ require 'aws-sdk-core/plugins/stub_responses.rb'
24
+ require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
26
+ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
27
+ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
28
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
29
+ require 'aws-sdk-core/plugins/transfer_encoding.rb'
30
+ require 'aws-sdk-core/plugins/http_checksum.rb'
31
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
+ require 'aws-sdk-core/plugins/request_compression.rb'
33
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
34
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
35
+ require 'aws-sdk-core/plugins/sign.rb'
36
+ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
37
+
38
+ Aws::Plugins::GlobalConfiguration.add_identifier(:apptest)
39
+
40
+ module Aws::AppTest
41
+ # An API client for AppTest. To construct a client, you need to configure a `:region` and `:credentials`.
42
+ #
43
+ # client = Aws::AppTest::Client.new(
44
+ # region: region_name,
45
+ # credentials: credentials,
46
+ # # ...
47
+ # )
48
+ #
49
+ # For details on configuring region and credentials see
50
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
51
+ #
52
+ # See {#initialize} for a full list of supported configuration options.
53
+ class Client < Seahorse::Client::Base
54
+
55
+ include Aws::ClientStubs
56
+
57
+ @identifier = :apptest
58
+
59
+ set_api(ClientApi::API)
60
+
61
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
62
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
63
+ add_plugin(Aws::Plugins::Logging)
64
+ add_plugin(Aws::Plugins::ParamConverter)
65
+ add_plugin(Aws::Plugins::ParamValidator)
66
+ add_plugin(Aws::Plugins::UserAgent)
67
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
68
+ add_plugin(Aws::Plugins::RetryErrors)
69
+ add_plugin(Aws::Plugins::GlobalConfiguration)
70
+ add_plugin(Aws::Plugins::RegionalEndpoint)
71
+ add_plugin(Aws::Plugins::EndpointDiscovery)
72
+ add_plugin(Aws::Plugins::EndpointPattern)
73
+ add_plugin(Aws::Plugins::ResponsePaging)
74
+ add_plugin(Aws::Plugins::StubResponses)
75
+ add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
77
+ add_plugin(Aws::Plugins::JsonvalueConverter)
78
+ add_plugin(Aws::Plugins::ClientMetricsPlugin)
79
+ add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
80
+ add_plugin(Aws::Plugins::TransferEncoding)
81
+ add_plugin(Aws::Plugins::HttpChecksum)
82
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
83
+ add_plugin(Aws::Plugins::RequestCompression)
84
+ add_plugin(Aws::Plugins::DefaultsMode)
85
+ add_plugin(Aws::Plugins::RecursionDetection)
86
+ add_plugin(Aws::Plugins::Sign)
87
+ add_plugin(Aws::Plugins::Protocols::RestJson)
88
+ add_plugin(Aws::AppTest::Plugins::Endpoints)
89
+
90
+ # @overload initialize(options)
91
+ # @param [Hash] options
92
+ # @option options [required, Aws::CredentialProvider] :credentials
93
+ # Your AWS credentials. This can be an instance of any one of the
94
+ # following classes:
95
+ #
96
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
97
+ # credentials.
98
+ #
99
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
100
+ # shared file, such as `~/.aws/config`.
101
+ #
102
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
103
+ #
104
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
105
+ # assume a role after providing credentials via the web.
106
+ #
107
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
108
+ # access token generated from `aws login`.
109
+ #
110
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
111
+ # process that outputs to stdout.
112
+ #
113
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
114
+ # from an EC2 IMDS on an EC2 instance.
115
+ #
116
+ # * `Aws::ECSCredentials` - Used for loading credentials from
117
+ # instances running in ECS.
118
+ #
119
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
120
+ # from the Cognito Identity service.
121
+ #
122
+ # When `:credentials` are not configured directly, the following
123
+ # locations will be searched for credentials:
124
+ #
125
+ # * `Aws.config[:credentials]`
126
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
127
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
128
+ # * `~/.aws/credentials`
129
+ # * `~/.aws/config`
130
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
131
+ # are very aggressive. Construct and pass an instance of
132
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
133
+ # enable retries and extended timeouts. Instance profile credential
134
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
135
+ # to true.
136
+ #
137
+ # @option options [required, String] :region
138
+ # The AWS region to connect to. The configured `:region` is
139
+ # used to determine the service `:endpoint`. When not passed,
140
+ # a default `:region` is searched for in the following locations:
141
+ #
142
+ # * `Aws.config[:region]`
143
+ # * `ENV['AWS_REGION']`
144
+ # * `ENV['AMAZON_REGION']`
145
+ # * `ENV['AWS_DEFAULT_REGION']`
146
+ # * `~/.aws/credentials`
147
+ # * `~/.aws/config`
148
+ #
149
+ # @option options [String] :access_key_id
150
+ #
151
+ # @option options [Boolean] :active_endpoint_cache (false)
152
+ # When set to `true`, a thread polling for endpoints will be running in
153
+ # the background every 60 secs (default). Defaults to `false`.
154
+ #
155
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
156
+ # Used only in `adaptive` retry mode. When true, the request will sleep
157
+ # until there is sufficent client side capacity to retry the request.
158
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
159
+ # not retry instead of sleeping.
160
+ #
161
+ # @option options [Boolean] :client_side_monitoring (false)
162
+ # When `true`, client-side metrics will be collected for all API requests from
163
+ # this client.
164
+ #
165
+ # @option options [String] :client_side_monitoring_client_id ("")
166
+ # Allows you to provide an identifier for this client which will be attached to
167
+ # all generated client side metrics. Defaults to an empty string.
168
+ #
169
+ # @option options [String] :client_side_monitoring_host ("127.0.0.1")
170
+ # Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
171
+ # side monitoring agent is running on, where client metrics will be published via UDP.
172
+ #
173
+ # @option options [Integer] :client_side_monitoring_port (31000)
174
+ # Required for publishing client metrics. The port that the client side monitoring
175
+ # agent is running on, where client metrics will be published via UDP.
176
+ #
177
+ # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
178
+ # Allows you to provide a custom client-side monitoring publisher class. By default,
179
+ # will use the Client Side Monitoring Agent Publisher.
180
+ #
181
+ # @option options [Boolean] :convert_params (true)
182
+ # When `true`, an attempt is made to coerce request parameters into
183
+ # the required types.
184
+ #
185
+ # @option options [Boolean] :correct_clock_skew (true)
186
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
187
+ # a clock skew correction and retry requests with skewed client clocks.
188
+ #
189
+ # @option options [String] :defaults_mode ("legacy")
190
+ # See {Aws::DefaultsModeConfiguration} for a list of the
191
+ # accepted modes and the configuration defaults that are included.
192
+ #
193
+ # @option options [Boolean] :disable_host_prefix_injection (false)
194
+ # Set to true to disable SDK automatically adding host prefix
195
+ # to default service endpoint when available.
196
+ #
197
+ # @option options [Boolean] :disable_request_compression (false)
198
+ # When set to 'true' the request body will not be compressed
199
+ # for supported operations.
200
+ #
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
212
+ #
213
+ # @option options [Integer] :endpoint_cache_max_entries (1000)
214
+ # Used for the maximum size limit of the LRU cache storing endpoints data
215
+ # for endpoint discovery enabled operations. Defaults to 1000.
216
+ #
217
+ # @option options [Integer] :endpoint_cache_max_threads (10)
218
+ # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
219
+ #
220
+ # @option options [Integer] :endpoint_cache_poll_interval (60)
221
+ # When :endpoint_discovery and :active_endpoint_cache is enabled,
222
+ # Use this option to config the time interval in seconds for making
223
+ # requests fetching endpoints information. Defaults to 60 sec.
224
+ #
225
+ # @option options [Boolean] :endpoint_discovery (false)
226
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
227
+ #
228
+ # @option options [Boolean] :ignore_configured_endpoint_urls
229
+ # Setting to true disables use of endpoint URLs provided via environment
230
+ # variables and the shared configuration file.
231
+ #
232
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
233
+ # The log formatter.
234
+ #
235
+ # @option options [Symbol] :log_level (:info)
236
+ # The log level to send messages to the `:logger` at.
237
+ #
238
+ # @option options [Logger] :logger
239
+ # The Logger instance to send log messages to. If this option
240
+ # is not set, logging will be disabled.
241
+ #
242
+ # @option options [Integer] :max_attempts (3)
243
+ # An integer representing the maximum number attempts that will be made for
244
+ # a single request, including the initial attempt. For example,
245
+ # setting this value to 5 will result in a request being retried up to
246
+ # 4 times. Used in `standard` and `adaptive` retry modes.
247
+ #
248
+ # @option options [String] :profile ("default")
249
+ # Used when loading credentials from the shared credentials file
250
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
251
+ #
252
+ # @option options [Integer] :request_min_compression_size_bytes (10240)
253
+ # The minimum size in bytes that triggers compression for request
254
+ # bodies. The value must be non-negative integer value between 0
255
+ # and 10485780 bytes inclusive.
256
+ #
257
+ # @option options [Proc] :retry_backoff
258
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
259
+ # This option is only used in the `legacy` retry mode.
260
+ #
261
+ # @option options [Float] :retry_base_delay (0.3)
262
+ # The base delay in seconds used by the default backoff function. This option
263
+ # is only used in the `legacy` retry mode.
264
+ #
265
+ # @option options [Symbol] :retry_jitter (:none)
266
+ # A delay randomiser function used by the default backoff function.
267
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
268
+ # otherwise a Proc that takes and returns a number. This option is only used
269
+ # in the `legacy` retry mode.
270
+ #
271
+ # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
272
+ #
273
+ # @option options [Integer] :retry_limit (3)
274
+ # The maximum number of times to retry failed requests. Only
275
+ # ~ 500 level server errors and certain ~ 400 level client errors
276
+ # are retried. Generally, these are throttling errors, data
277
+ # checksum errors, networking errors, timeout errors, auth errors,
278
+ # endpoint discovery, and errors from expired credentials.
279
+ # This option is only used in the `legacy` retry mode.
280
+ #
281
+ # @option options [Integer] :retry_max_delay (0)
282
+ # The maximum number of seconds to delay between retries (0 for no limit)
283
+ # used by the default backoff function. This option is only used in the
284
+ # `legacy` retry mode.
285
+ #
286
+ # @option options [String] :retry_mode ("legacy")
287
+ # Specifies which retry algorithm to use. Values are:
288
+ #
289
+ # * `legacy` - The pre-existing retry behavior. This is default value if
290
+ # no retry mode is provided.
291
+ #
292
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
293
+ # This includes support for retry quotas, which limit the number of
294
+ # unsuccessful retries a client can make.
295
+ #
296
+ # * `adaptive` - An experimental retry mode that includes all the
297
+ # functionality of `standard` mode along with automatic client side
298
+ # throttling. This is a provisional mode that may change behavior
299
+ # in the future.
300
+ #
301
+ #
302
+ # @option options [String] :sdk_ua_app_id
303
+ # A unique and opaque application ID that is appended to the
304
+ # User-Agent header as app/sdk_ua_app_id. It should have a
305
+ # maximum length of 50. This variable is sourced from environment
306
+ # variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
307
+ #
308
+ # @option options [String] :secret_access_key
309
+ #
310
+ # @option options [String] :session_token
311
+ #
312
+ # @option options [Boolean] :stub_responses (false)
313
+ # Causes the client to return stubbed responses. By default
314
+ # fake responses are generated and returned. You can specify
315
+ # the response data to return or errors to raise by calling
316
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
317
+ #
318
+ # ** Please note ** When response stubbing is enabled, no HTTP
319
+ # requests are made, and retries are disabled.
320
+ #
321
+ # @option options [Aws::TokenProvider] :token_provider
322
+ # A Bearer Token Provider. This can be an instance of any one of the
323
+ # following classes:
324
+ #
325
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
326
+ # tokens.
327
+ #
328
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
329
+ # access token generated from `aws login`.
330
+ #
331
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
332
+ # will be used to search for tokens configured for your profile in shared configuration files.
333
+ #
334
+ # @option options [Boolean] :use_dualstack_endpoint
335
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
336
+ # will be used if available.
337
+ #
338
+ # @option options [Boolean] :use_fips_endpoint
339
+ # When set to `true`, fips compatible endpoints will be used if available.
340
+ # When a `fips` region is used, the region is normalized and this config
341
+ # is set to `true`.
342
+ #
343
+ # @option options [Boolean] :validate_params (true)
344
+ # When `true`, request parameters are validated before
345
+ # sending the request.
346
+ #
347
+ # @option options [Aws::AppTest::EndpointProvider] :endpoint_provider
348
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::AppTest::EndpointParameters`
349
+ #
350
+ # @option options [Float] :http_continue_timeout (1)
351
+ # The number of seconds to wait for a 100-continue response before sending the
352
+ # request body. This option has no effect unless the request has "Expect"
353
+ # header set to "100-continue". Defaults to `nil` which disables this
354
+ # behaviour. This value can safely be set per request on the session.
355
+ #
356
+ # @option options [Float] :http_idle_timeout (5)
357
+ # The number of seconds a connection is allowed to sit idle before it
358
+ # is considered stale. Stale connections are closed and removed from the
359
+ # pool before making a request.
360
+ #
361
+ # @option options [Float] :http_open_timeout (15)
362
+ # The default number of seconds to wait for response data.
363
+ # This value can safely be set per-request on the session.
364
+ #
365
+ # @option options [URI::HTTP,String] :http_proxy
366
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
367
+ #
368
+ # @option options [Float] :http_read_timeout (60)
369
+ # The default number of seconds to wait for response data.
370
+ # This value can safely be set per-request on the session.
371
+ #
372
+ # @option options [Boolean] :http_wire_trace (false)
373
+ # When `true`, HTTP debug output will be sent to the `:logger`.
374
+ #
375
+ # @option options [Proc] :on_chunk_received
376
+ # When a Proc object is provided, it will be used as callback when each chunk
377
+ # of the response body is received. It provides three arguments: the chunk,
378
+ # the number of bytes received, and the total number of
379
+ # bytes in the response (or nil if the server did not send a `content-length`).
380
+ #
381
+ # @option options [Proc] :on_chunk_sent
382
+ # When a Proc object is provided, it will be used as callback when each chunk
383
+ # of the request body is sent. It provides three arguments: the chunk,
384
+ # the number of bytes read from the body, and the total number of
385
+ # bytes in the body.
386
+ #
387
+ # @option options [Boolean] :raise_response_errors (true)
388
+ # When `true`, response errors are raised.
389
+ #
390
+ # @option options [String] :ssl_ca_bundle
391
+ # Full path to the SSL certificate authority bundle file that should be used when
392
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
393
+ # `:ssl_ca_directory` the the system default will be used if available.
394
+ #
395
+ # @option options [String] :ssl_ca_directory
396
+ # Full path of the directory that contains the unbundled SSL certificate
397
+ # authority files for verifying peer certificates. If you do
398
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
399
+ # default will be used if available.
400
+ #
401
+ # @option options [String] :ssl_ca_store
402
+ # Sets the X509::Store to verify peer certificate.
403
+ #
404
+ # @option options [Float] :ssl_timeout
405
+ # Sets the SSL timeout in seconds
406
+ #
407
+ # @option options [Boolean] :ssl_verify_peer (true)
408
+ # When `true`, SSL peer certificates are verified when establishing a connection.
409
+ #
410
+ def initialize(*args)
411
+ super
412
+ end
413
+
414
+ # @!group API Operations
415
+
416
+ # Creates a test case.
417
+ #
418
+ # @option params [required, String] :name
419
+ # The name of the test case.
420
+ #
421
+ # @option params [String] :description
422
+ # The description of the test case.
423
+ #
424
+ # @option params [required, Array<Types::Step>] :steps
425
+ # The steps in the test case.
426
+ #
427
+ # @option params [String] :client_token
428
+ # The client token of the test case.
429
+ #
430
+ # **A suitable default value is auto-generated.** You should normally
431
+ # not need to pass this option.**
432
+ #
433
+ # @option params [Hash<String,String>] :tags
434
+ # The specified tags of the test case.
435
+ #
436
+ # @return [Types::CreateTestCaseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
437
+ #
438
+ # * {Types::CreateTestCaseResponse#test_case_id #test_case_id} => String
439
+ # * {Types::CreateTestCaseResponse#test_case_version #test_case_version} => Integer
440
+ #
441
+ # @example Request syntax with placeholder values
442
+ #
443
+ # resp = client.create_test_case({
444
+ # name: "ResourceName", # required
445
+ # description: "ResourceDescription",
446
+ # steps: [ # required
447
+ # {
448
+ # name: "ResourceName", # required
449
+ # description: "ResourceDescription",
450
+ # action: { # required
451
+ # resource_action: {
452
+ # m2_managed_application_action: {
453
+ # resource: "Variable", # required
454
+ # action_type: "Configure", # required, accepts Configure, Deconfigure
455
+ # properties: {
456
+ # force_stop: false,
457
+ # import_data_set_location: "Variable",
458
+ # },
459
+ # },
460
+ # m2_non_managed_application_action: {
461
+ # resource: "Variable", # required
462
+ # action_type: "Configure", # required, accepts Configure, Deconfigure
463
+ # },
464
+ # cloud_formation_action: {
465
+ # resource: "Variable", # required
466
+ # action_type: "Create", # accepts Create, Delete
467
+ # },
468
+ # },
469
+ # mainframe_action: {
470
+ # resource: "Variable", # required
471
+ # action_type: { # required
472
+ # batch: {
473
+ # batch_job_name: "Variable", # required
474
+ # batch_job_parameters: {
475
+ # "String" => "String",
476
+ # },
477
+ # export_data_set_names: ["String100"],
478
+ # },
479
+ # tn3270: {
480
+ # script: { # required
481
+ # script_location: "S3Uri", # required
482
+ # type: "Selenium", # required, accepts Selenium
483
+ # },
484
+ # export_data_set_names: ["String100"],
485
+ # },
486
+ # },
487
+ # properties: {
488
+ # dms_task_arn: "Variable",
489
+ # },
490
+ # },
491
+ # compare_action: {
492
+ # input: { # required
493
+ # file: {
494
+ # source_location: "Variable", # required
495
+ # target_location: "Variable", # required
496
+ # file_metadata: { # required
497
+ # data_sets: [
498
+ # {
499
+ # type: "PS", # required, accepts PS
500
+ # name: "String100", # required
501
+ # ccsid: "String50", # required
502
+ # format: "FIXED", # required, accepts FIXED, VARIABLE, LINE_SEQUENTIAL
503
+ # length: 1, # required
504
+ # },
505
+ # ],
506
+ # database_cdc: {
507
+ # source_metadata: { # required
508
+ # type: "z/OS-DB2", # required, accepts z/OS-DB2
509
+ # capture_tool: "Precisely", # required, accepts Precisely, AWS DMS
510
+ # },
511
+ # target_metadata: { # required
512
+ # type: "PostgreSQL", # required, accepts PostgreSQL
513
+ # capture_tool: "Precisely", # required, accepts Precisely, AWS DMS
514
+ # },
515
+ # },
516
+ # },
517
+ # },
518
+ # },
519
+ # output: {
520
+ # file: {
521
+ # file_location: "S3Uri",
522
+ # },
523
+ # },
524
+ # },
525
+ # },
526
+ # },
527
+ # ],
528
+ # client_token: "IdempotencyTokenString",
529
+ # tags: {
530
+ # "TagKey" => "TagValue",
531
+ # },
532
+ # })
533
+ #
534
+ # @example Response structure
535
+ #
536
+ # resp.test_case_id #=> String
537
+ # resp.test_case_version #=> Integer
538
+ #
539
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/CreateTestCase AWS API Documentation
540
+ #
541
+ # @overload create_test_case(params = {})
542
+ # @param [Hash] params ({})
543
+ def create_test_case(params = {}, options = {})
544
+ req = build_request(:create_test_case, params)
545
+ req.send_request(options)
546
+ end
547
+
548
+ # Creates a test configuration.
549
+ #
550
+ # @option params [required, String] :name
551
+ # The name of the test configuration.
552
+ #
553
+ # @option params [String] :description
554
+ # The description of the test configuration.
555
+ #
556
+ # @option params [required, Array<Types::Resource>] :resources
557
+ # The defined resources of the test configuration.
558
+ #
559
+ # @option params [Hash<String,String>] :properties
560
+ # The properties of the test configuration.
561
+ #
562
+ # @option params [String] :client_token
563
+ # The client token of the test configuration.
564
+ #
565
+ # **A suitable default value is auto-generated.** You should normally
566
+ # not need to pass this option.**
567
+ #
568
+ # @option params [Hash<String,String>] :tags
569
+ # The tags of the test configuration.
570
+ #
571
+ # @option params [Types::ServiceSettings] :service_settings
572
+ # The service settings of the test configuration.
573
+ #
574
+ # @return [Types::CreateTestConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
575
+ #
576
+ # * {Types::CreateTestConfigurationResponse#test_configuration_id #test_configuration_id} => String
577
+ # * {Types::CreateTestConfigurationResponse#test_configuration_version #test_configuration_version} => Integer
578
+ #
579
+ # @example Request syntax with placeholder values
580
+ #
581
+ # resp = client.create_test_configuration({
582
+ # name: "ResourceName", # required
583
+ # description: "ResourceDescription",
584
+ # resources: [ # required
585
+ # {
586
+ # name: "ResourceName", # required
587
+ # type: { # required
588
+ # cloud_formation: {
589
+ # template_location: "S3Uri", # required
590
+ # parameters: {
591
+ # "String" => "String",
592
+ # },
593
+ # },
594
+ # m2_managed_application: {
595
+ # application_id: "Variable", # required
596
+ # runtime: "MicroFocus", # required, accepts MicroFocus
597
+ # vpc_endpoint_service_name: "Variable",
598
+ # listener_port: "Variable",
599
+ # },
600
+ # m2_non_managed_application: {
601
+ # vpc_endpoint_service_name: "Variable", # required
602
+ # listener_port: "Variable", # required
603
+ # runtime: "BluAge", # required, accepts BluAge
604
+ # web_app_name: "Variable",
605
+ # },
606
+ # },
607
+ # },
608
+ # ],
609
+ # properties: {
610
+ # "String" => "String",
611
+ # },
612
+ # client_token: "IdempotencyTokenString",
613
+ # tags: {
614
+ # "TagKey" => "TagValue",
615
+ # },
616
+ # service_settings: {
617
+ # kms_key_id: "String",
618
+ # },
619
+ # })
620
+ #
621
+ # @example Response structure
622
+ #
623
+ # resp.test_configuration_id #=> String
624
+ # resp.test_configuration_version #=> Integer
625
+ #
626
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/CreateTestConfiguration AWS API Documentation
627
+ #
628
+ # @overload create_test_configuration(params = {})
629
+ # @param [Hash] params ({})
630
+ def create_test_configuration(params = {}, options = {})
631
+ req = build_request(:create_test_configuration, params)
632
+ req.send_request(options)
633
+ end
634
+
635
+ # Creates a test suite.
636
+ #
637
+ # @option params [required, String] :name
638
+ # The name of the test suite.
639
+ #
640
+ # @option params [String] :description
641
+ # The description of the test suite.
642
+ #
643
+ # @option params [Array<Types::Step>] :before_steps
644
+ # The before steps of the test suite.
645
+ #
646
+ # @option params [Array<Types::Step>] :after_steps
647
+ # The after steps of the test suite.
648
+ #
649
+ # @option params [required, Types::TestCases] :test_cases
650
+ # The test cases in the test suite.
651
+ #
652
+ # @option params [String] :client_token
653
+ # The client token of the test suite.
654
+ #
655
+ # **A suitable default value is auto-generated.** You should normally
656
+ # not need to pass this option.**
657
+ #
658
+ # @option params [Hash<String,String>] :tags
659
+ # The tags of the test suite.
660
+ #
661
+ # @return [Types::CreateTestSuiteResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
662
+ #
663
+ # * {Types::CreateTestSuiteResponse#test_suite_id #test_suite_id} => String
664
+ # * {Types::CreateTestSuiteResponse#test_suite_version #test_suite_version} => Integer
665
+ #
666
+ # @example Request syntax with placeholder values
667
+ #
668
+ # resp = client.create_test_suite({
669
+ # name: "ResourceName", # required
670
+ # description: "ResourceDescription",
671
+ # before_steps: [
672
+ # {
673
+ # name: "ResourceName", # required
674
+ # description: "ResourceDescription",
675
+ # action: { # required
676
+ # resource_action: {
677
+ # m2_managed_application_action: {
678
+ # resource: "Variable", # required
679
+ # action_type: "Configure", # required, accepts Configure, Deconfigure
680
+ # properties: {
681
+ # force_stop: false,
682
+ # import_data_set_location: "Variable",
683
+ # },
684
+ # },
685
+ # m2_non_managed_application_action: {
686
+ # resource: "Variable", # required
687
+ # action_type: "Configure", # required, accepts Configure, Deconfigure
688
+ # },
689
+ # cloud_formation_action: {
690
+ # resource: "Variable", # required
691
+ # action_type: "Create", # accepts Create, Delete
692
+ # },
693
+ # },
694
+ # mainframe_action: {
695
+ # resource: "Variable", # required
696
+ # action_type: { # required
697
+ # batch: {
698
+ # batch_job_name: "Variable", # required
699
+ # batch_job_parameters: {
700
+ # "String" => "String",
701
+ # },
702
+ # export_data_set_names: ["String100"],
703
+ # },
704
+ # tn3270: {
705
+ # script: { # required
706
+ # script_location: "S3Uri", # required
707
+ # type: "Selenium", # required, accepts Selenium
708
+ # },
709
+ # export_data_set_names: ["String100"],
710
+ # },
711
+ # },
712
+ # properties: {
713
+ # dms_task_arn: "Variable",
714
+ # },
715
+ # },
716
+ # compare_action: {
717
+ # input: { # required
718
+ # file: {
719
+ # source_location: "Variable", # required
720
+ # target_location: "Variable", # required
721
+ # file_metadata: { # required
722
+ # data_sets: [
723
+ # {
724
+ # type: "PS", # required, accepts PS
725
+ # name: "String100", # required
726
+ # ccsid: "String50", # required
727
+ # format: "FIXED", # required, accepts FIXED, VARIABLE, LINE_SEQUENTIAL
728
+ # length: 1, # required
729
+ # },
730
+ # ],
731
+ # database_cdc: {
732
+ # source_metadata: { # required
733
+ # type: "z/OS-DB2", # required, accepts z/OS-DB2
734
+ # capture_tool: "Precisely", # required, accepts Precisely, AWS DMS
735
+ # },
736
+ # target_metadata: { # required
737
+ # type: "PostgreSQL", # required, accepts PostgreSQL
738
+ # capture_tool: "Precisely", # required, accepts Precisely, AWS DMS
739
+ # },
740
+ # },
741
+ # },
742
+ # },
743
+ # },
744
+ # output: {
745
+ # file: {
746
+ # file_location: "S3Uri",
747
+ # },
748
+ # },
749
+ # },
750
+ # },
751
+ # },
752
+ # ],
753
+ # after_steps: [
754
+ # {
755
+ # name: "ResourceName", # required
756
+ # description: "ResourceDescription",
757
+ # action: { # required
758
+ # resource_action: {
759
+ # m2_managed_application_action: {
760
+ # resource: "Variable", # required
761
+ # action_type: "Configure", # required, accepts Configure, Deconfigure
762
+ # properties: {
763
+ # force_stop: false,
764
+ # import_data_set_location: "Variable",
765
+ # },
766
+ # },
767
+ # m2_non_managed_application_action: {
768
+ # resource: "Variable", # required
769
+ # action_type: "Configure", # required, accepts Configure, Deconfigure
770
+ # },
771
+ # cloud_formation_action: {
772
+ # resource: "Variable", # required
773
+ # action_type: "Create", # accepts Create, Delete
774
+ # },
775
+ # },
776
+ # mainframe_action: {
777
+ # resource: "Variable", # required
778
+ # action_type: { # required
779
+ # batch: {
780
+ # batch_job_name: "Variable", # required
781
+ # batch_job_parameters: {
782
+ # "String" => "String",
783
+ # },
784
+ # export_data_set_names: ["String100"],
785
+ # },
786
+ # tn3270: {
787
+ # script: { # required
788
+ # script_location: "S3Uri", # required
789
+ # type: "Selenium", # required, accepts Selenium
790
+ # },
791
+ # export_data_set_names: ["String100"],
792
+ # },
793
+ # },
794
+ # properties: {
795
+ # dms_task_arn: "Variable",
796
+ # },
797
+ # },
798
+ # compare_action: {
799
+ # input: { # required
800
+ # file: {
801
+ # source_location: "Variable", # required
802
+ # target_location: "Variable", # required
803
+ # file_metadata: { # required
804
+ # data_sets: [
805
+ # {
806
+ # type: "PS", # required, accepts PS
807
+ # name: "String100", # required
808
+ # ccsid: "String50", # required
809
+ # format: "FIXED", # required, accepts FIXED, VARIABLE, LINE_SEQUENTIAL
810
+ # length: 1, # required
811
+ # },
812
+ # ],
813
+ # database_cdc: {
814
+ # source_metadata: { # required
815
+ # type: "z/OS-DB2", # required, accepts z/OS-DB2
816
+ # capture_tool: "Precisely", # required, accepts Precisely, AWS DMS
817
+ # },
818
+ # target_metadata: { # required
819
+ # type: "PostgreSQL", # required, accepts PostgreSQL
820
+ # capture_tool: "Precisely", # required, accepts Precisely, AWS DMS
821
+ # },
822
+ # },
823
+ # },
824
+ # },
825
+ # },
826
+ # output: {
827
+ # file: {
828
+ # file_location: "S3Uri",
829
+ # },
830
+ # },
831
+ # },
832
+ # },
833
+ # },
834
+ # ],
835
+ # test_cases: { # required
836
+ # sequential: ["Identifier"],
837
+ # },
838
+ # client_token: "IdempotencyTokenString",
839
+ # tags: {
840
+ # "TagKey" => "TagValue",
841
+ # },
842
+ # })
843
+ #
844
+ # @example Response structure
845
+ #
846
+ # resp.test_suite_id #=> String
847
+ # resp.test_suite_version #=> Integer
848
+ #
849
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/CreateTestSuite AWS API Documentation
850
+ #
851
+ # @overload create_test_suite(params = {})
852
+ # @param [Hash] params ({})
853
+ def create_test_suite(params = {}, options = {})
854
+ req = build_request(:create_test_suite, params)
855
+ req.send_request(options)
856
+ end
857
+
858
+ # Deletes a test case.
859
+ #
860
+ # @option params [required, String] :test_case_id
861
+ # The test case ID of the test case.
862
+ #
863
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
864
+ #
865
+ # @example Request syntax with placeholder values
866
+ #
867
+ # resp = client.delete_test_case({
868
+ # test_case_id: "Identifier", # required
869
+ # })
870
+ #
871
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/DeleteTestCase AWS API Documentation
872
+ #
873
+ # @overload delete_test_case(params = {})
874
+ # @param [Hash] params ({})
875
+ def delete_test_case(params = {}, options = {})
876
+ req = build_request(:delete_test_case, params)
877
+ req.send_request(options)
878
+ end
879
+
880
+ # Deletes a test configuration.
881
+ #
882
+ # @option params [required, String] :test_configuration_id
883
+ # The test ID of the test configuration.
884
+ #
885
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
886
+ #
887
+ # @example Request syntax with placeholder values
888
+ #
889
+ # resp = client.delete_test_configuration({
890
+ # test_configuration_id: "Identifier", # required
891
+ # })
892
+ #
893
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/DeleteTestConfiguration AWS API Documentation
894
+ #
895
+ # @overload delete_test_configuration(params = {})
896
+ # @param [Hash] params ({})
897
+ def delete_test_configuration(params = {}, options = {})
898
+ req = build_request(:delete_test_configuration, params)
899
+ req.send_request(options)
900
+ end
901
+
902
+ # Deletes a test run.
903
+ #
904
+ # @option params [required, String] :test_run_id
905
+ # The run ID of the test run.
906
+ #
907
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
908
+ #
909
+ # @example Request syntax with placeholder values
910
+ #
911
+ # resp = client.delete_test_run({
912
+ # test_run_id: "Identifier", # required
913
+ # })
914
+ #
915
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/DeleteTestRun AWS API Documentation
916
+ #
917
+ # @overload delete_test_run(params = {})
918
+ # @param [Hash] params ({})
919
+ def delete_test_run(params = {}, options = {})
920
+ req = build_request(:delete_test_run, params)
921
+ req.send_request(options)
922
+ end
923
+
924
+ # Deletes a test suite.
925
+ #
926
+ # @option params [required, String] :test_suite_id
927
+ # The test ID of the test suite.
928
+ #
929
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
930
+ #
931
+ # @example Request syntax with placeholder values
932
+ #
933
+ # resp = client.delete_test_suite({
934
+ # test_suite_id: "Identifier", # required
935
+ # })
936
+ #
937
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/DeleteTestSuite AWS API Documentation
938
+ #
939
+ # @overload delete_test_suite(params = {})
940
+ # @param [Hash] params ({})
941
+ def delete_test_suite(params = {}, options = {})
942
+ req = build_request(:delete_test_suite, params)
943
+ req.send_request(options)
944
+ end
945
+
946
+ # Gets a test case.
947
+ #
948
+ # @option params [required, String] :test_case_id
949
+ # The request test ID of the test case.
950
+ #
951
+ # @option params [Integer] :test_case_version
952
+ # The test case version of the test case.
953
+ #
954
+ # @return [Types::GetTestCaseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
955
+ #
956
+ # * {Types::GetTestCaseResponse#test_case_id #test_case_id} => String
957
+ # * {Types::GetTestCaseResponse#test_case_arn #test_case_arn} => String
958
+ # * {Types::GetTestCaseResponse#name #name} => String
959
+ # * {Types::GetTestCaseResponse#description #description} => String
960
+ # * {Types::GetTestCaseResponse#latest_version #latest_version} => Types::TestCaseLatestVersion
961
+ # * {Types::GetTestCaseResponse#test_case_version #test_case_version} => Integer
962
+ # * {Types::GetTestCaseResponse#status #status} => String
963
+ # * {Types::GetTestCaseResponse#status_reason #status_reason} => String
964
+ # * {Types::GetTestCaseResponse#creation_time #creation_time} => Time
965
+ # * {Types::GetTestCaseResponse#last_update_time #last_update_time} => Time
966
+ # * {Types::GetTestCaseResponse#steps #steps} => Array&lt;Types::Step&gt;
967
+ # * {Types::GetTestCaseResponse#tags #tags} => Hash&lt;String,String&gt;
968
+ #
969
+ # @example Request syntax with placeholder values
970
+ #
971
+ # resp = client.get_test_case({
972
+ # test_case_id: "Identifier", # required
973
+ # test_case_version: 1,
974
+ # })
975
+ #
976
+ # @example Response structure
977
+ #
978
+ # resp.test_case_id #=> String
979
+ # resp.test_case_arn #=> String
980
+ # resp.name #=> String
981
+ # resp.description #=> String
982
+ # resp.latest_version.version #=> Integer
983
+ # resp.latest_version.status #=> String, one of "Active", "Deleting"
984
+ # resp.latest_version.status_reason #=> String
985
+ # resp.test_case_version #=> Integer
986
+ # resp.status #=> String, one of "Active", "Deleting"
987
+ # resp.status_reason #=> String
988
+ # resp.creation_time #=> Time
989
+ # resp.last_update_time #=> Time
990
+ # resp.steps #=> Array
991
+ # resp.steps[0].name #=> String
992
+ # resp.steps[0].description #=> String
993
+ # resp.steps[0].action.resource_action.m2_managed_application_action.resource #=> String
994
+ # resp.steps[0].action.resource_action.m2_managed_application_action.action_type #=> String, one of "Configure", "Deconfigure"
995
+ # resp.steps[0].action.resource_action.m2_managed_application_action.properties.force_stop #=> Boolean
996
+ # resp.steps[0].action.resource_action.m2_managed_application_action.properties.import_data_set_location #=> String
997
+ # resp.steps[0].action.resource_action.m2_non_managed_application_action.resource #=> String
998
+ # resp.steps[0].action.resource_action.m2_non_managed_application_action.action_type #=> String, one of "Configure", "Deconfigure"
999
+ # resp.steps[0].action.resource_action.cloud_formation_action.resource #=> String
1000
+ # resp.steps[0].action.resource_action.cloud_formation_action.action_type #=> String, one of "Create", "Delete"
1001
+ # resp.steps[0].action.mainframe_action.resource #=> String
1002
+ # resp.steps[0].action.mainframe_action.action_type.batch.batch_job_name #=> String
1003
+ # resp.steps[0].action.mainframe_action.action_type.batch.batch_job_parameters #=> Hash
1004
+ # resp.steps[0].action.mainframe_action.action_type.batch.batch_job_parameters["String"] #=> String
1005
+ # resp.steps[0].action.mainframe_action.action_type.batch.export_data_set_names #=> Array
1006
+ # resp.steps[0].action.mainframe_action.action_type.batch.export_data_set_names[0] #=> String
1007
+ # resp.steps[0].action.mainframe_action.action_type.tn3270.script.script_location #=> String
1008
+ # resp.steps[0].action.mainframe_action.action_type.tn3270.script.type #=> String, one of "Selenium"
1009
+ # resp.steps[0].action.mainframe_action.action_type.tn3270.export_data_set_names #=> Array
1010
+ # resp.steps[0].action.mainframe_action.action_type.tn3270.export_data_set_names[0] #=> String
1011
+ # resp.steps[0].action.mainframe_action.properties.dms_task_arn #=> String
1012
+ # resp.steps[0].action.compare_action.input.file.source_location #=> String
1013
+ # resp.steps[0].action.compare_action.input.file.target_location #=> String
1014
+ # resp.steps[0].action.compare_action.input.file.file_metadata.data_sets #=> Array
1015
+ # resp.steps[0].action.compare_action.input.file.file_metadata.data_sets[0].type #=> String, one of "PS"
1016
+ # resp.steps[0].action.compare_action.input.file.file_metadata.data_sets[0].name #=> String
1017
+ # resp.steps[0].action.compare_action.input.file.file_metadata.data_sets[0].ccsid #=> String
1018
+ # resp.steps[0].action.compare_action.input.file.file_metadata.data_sets[0].format #=> String, one of "FIXED", "VARIABLE", "LINE_SEQUENTIAL"
1019
+ # resp.steps[0].action.compare_action.input.file.file_metadata.data_sets[0].length #=> Integer
1020
+ # resp.steps[0].action.compare_action.input.file.file_metadata.database_cdc.source_metadata.type #=> String, one of "z/OS-DB2"
1021
+ # resp.steps[0].action.compare_action.input.file.file_metadata.database_cdc.source_metadata.capture_tool #=> String, one of "Precisely", "AWS DMS"
1022
+ # resp.steps[0].action.compare_action.input.file.file_metadata.database_cdc.target_metadata.type #=> String, one of "PostgreSQL"
1023
+ # resp.steps[0].action.compare_action.input.file.file_metadata.database_cdc.target_metadata.capture_tool #=> String, one of "Precisely", "AWS DMS"
1024
+ # resp.steps[0].action.compare_action.output.file.file_location #=> String
1025
+ # resp.tags #=> Hash
1026
+ # resp.tags["TagKey"] #=> String
1027
+ #
1028
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/GetTestCase AWS API Documentation
1029
+ #
1030
+ # @overload get_test_case(params = {})
1031
+ # @param [Hash] params ({})
1032
+ def get_test_case(params = {}, options = {})
1033
+ req = build_request(:get_test_case, params)
1034
+ req.send_request(options)
1035
+ end
1036
+
1037
+ # Gets a test configuration.
1038
+ #
1039
+ # @option params [required, String] :test_configuration_id
1040
+ # The request test configuration ID.
1041
+ #
1042
+ # @option params [Integer] :test_configuration_version
1043
+ # The test configuration version.
1044
+ #
1045
+ # @return [Types::GetTestConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1046
+ #
1047
+ # * {Types::GetTestConfigurationResponse#test_configuration_id #test_configuration_id} => String
1048
+ # * {Types::GetTestConfigurationResponse#name #name} => String
1049
+ # * {Types::GetTestConfigurationResponse#test_configuration_arn #test_configuration_arn} => String
1050
+ # * {Types::GetTestConfigurationResponse#latest_version #latest_version} => Types::TestConfigurationLatestVersion
1051
+ # * {Types::GetTestConfigurationResponse#test_configuration_version #test_configuration_version} => Integer
1052
+ # * {Types::GetTestConfigurationResponse#status #status} => String
1053
+ # * {Types::GetTestConfigurationResponse#status_reason #status_reason} => String
1054
+ # * {Types::GetTestConfigurationResponse#creation_time #creation_time} => Time
1055
+ # * {Types::GetTestConfigurationResponse#last_update_time #last_update_time} => Time
1056
+ # * {Types::GetTestConfigurationResponse#description #description} => String
1057
+ # * {Types::GetTestConfigurationResponse#resources #resources} => Array&lt;Types::Resource&gt;
1058
+ # * {Types::GetTestConfigurationResponse#properties #properties} => Hash&lt;String,String&gt;
1059
+ # * {Types::GetTestConfigurationResponse#tags #tags} => Hash&lt;String,String&gt;
1060
+ # * {Types::GetTestConfigurationResponse#service_settings #service_settings} => Types::ServiceSettings
1061
+ #
1062
+ # @example Request syntax with placeholder values
1063
+ #
1064
+ # resp = client.get_test_configuration({
1065
+ # test_configuration_id: "Identifier", # required
1066
+ # test_configuration_version: 1,
1067
+ # })
1068
+ #
1069
+ # @example Response structure
1070
+ #
1071
+ # resp.test_configuration_id #=> String
1072
+ # resp.name #=> String
1073
+ # resp.test_configuration_arn #=> String
1074
+ # resp.latest_version.version #=> Integer
1075
+ # resp.latest_version.status #=> String, one of "Active", "Deleting"
1076
+ # resp.latest_version.status_reason #=> String
1077
+ # resp.test_configuration_version #=> Integer
1078
+ # resp.status #=> String, one of "Active", "Deleting"
1079
+ # resp.status_reason #=> String
1080
+ # resp.creation_time #=> Time
1081
+ # resp.last_update_time #=> Time
1082
+ # resp.description #=> String
1083
+ # resp.resources #=> Array
1084
+ # resp.resources[0].name #=> String
1085
+ # resp.resources[0].type.cloud_formation.template_location #=> String
1086
+ # resp.resources[0].type.cloud_formation.parameters #=> Hash
1087
+ # resp.resources[0].type.cloud_formation.parameters["String"] #=> String
1088
+ # resp.resources[0].type.m2_managed_application.application_id #=> String
1089
+ # resp.resources[0].type.m2_managed_application.runtime #=> String, one of "MicroFocus"
1090
+ # resp.resources[0].type.m2_managed_application.vpc_endpoint_service_name #=> String
1091
+ # resp.resources[0].type.m2_managed_application.listener_port #=> String
1092
+ # resp.resources[0].type.m2_non_managed_application.vpc_endpoint_service_name #=> String
1093
+ # resp.resources[0].type.m2_non_managed_application.listener_port #=> String
1094
+ # resp.resources[0].type.m2_non_managed_application.runtime #=> String, one of "BluAge"
1095
+ # resp.resources[0].type.m2_non_managed_application.web_app_name #=> String
1096
+ # resp.properties #=> Hash
1097
+ # resp.properties["String"] #=> String
1098
+ # resp.tags #=> Hash
1099
+ # resp.tags["TagKey"] #=> String
1100
+ # resp.service_settings.kms_key_id #=> String
1101
+ #
1102
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/GetTestConfiguration AWS API Documentation
1103
+ #
1104
+ # @overload get_test_configuration(params = {})
1105
+ # @param [Hash] params ({})
1106
+ def get_test_configuration(params = {}, options = {})
1107
+ req = build_request(:get_test_configuration, params)
1108
+ req.send_request(options)
1109
+ end
1110
+
1111
+ # Gets a test run step.
1112
+ #
1113
+ # @option params [required, String] :test_run_id
1114
+ # The test run ID of the test run step.
1115
+ #
1116
+ # @option params [required, String] :step_name
1117
+ # The step name of the test run step.
1118
+ #
1119
+ # @option params [String] :test_case_id
1120
+ # The test case ID of a test run step.
1121
+ #
1122
+ # @option params [String] :test_suite_id
1123
+ # The test suite ID of a test run step.
1124
+ #
1125
+ # @return [Types::GetTestRunStepResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1126
+ #
1127
+ # * {Types::GetTestRunStepResponse#step_name #step_name} => String
1128
+ # * {Types::GetTestRunStepResponse#test_run_id #test_run_id} => String
1129
+ # * {Types::GetTestRunStepResponse#test_case_id #test_case_id} => String
1130
+ # * {Types::GetTestRunStepResponse#test_case_version #test_case_version} => Integer
1131
+ # * {Types::GetTestRunStepResponse#test_suite_id #test_suite_id} => String
1132
+ # * {Types::GetTestRunStepResponse#test_suite_version #test_suite_version} => Integer
1133
+ # * {Types::GetTestRunStepResponse#before_step #before_step} => Boolean
1134
+ # * {Types::GetTestRunStepResponse#after_step #after_step} => Boolean
1135
+ # * {Types::GetTestRunStepResponse#status #status} => String
1136
+ # * {Types::GetTestRunStepResponse#status_reason #status_reason} => String
1137
+ # * {Types::GetTestRunStepResponse#run_start_time #run_start_time} => Time
1138
+ # * {Types::GetTestRunStepResponse#run_end_time #run_end_time} => Time
1139
+ # * {Types::GetTestRunStepResponse#step_run_summary #step_run_summary} => Types::StepRunSummary
1140
+ #
1141
+ # @example Request syntax with placeholder values
1142
+ #
1143
+ # resp = client.get_test_run_step({
1144
+ # test_run_id: "Identifier", # required
1145
+ # step_name: "ResourceName", # required
1146
+ # test_case_id: "Identifier",
1147
+ # test_suite_id: "Identifier",
1148
+ # })
1149
+ #
1150
+ # @example Response structure
1151
+ #
1152
+ # resp.step_name #=> String
1153
+ # resp.test_run_id #=> String
1154
+ # resp.test_case_id #=> String
1155
+ # resp.test_case_version #=> Integer
1156
+ # resp.test_suite_id #=> String
1157
+ # resp.test_suite_version #=> Integer
1158
+ # resp.before_step #=> Boolean
1159
+ # resp.after_step #=> Boolean
1160
+ # resp.status #=> String, one of "Success", "Failed", "Running"
1161
+ # resp.status_reason #=> String
1162
+ # resp.run_start_time #=> Time
1163
+ # resp.run_end_time #=> Time
1164
+ # resp.step_run_summary.mainframe_action.batch.step_input.resource.m2_managed_application.application_id #=> String
1165
+ # resp.step_run_summary.mainframe_action.batch.step_input.resource.m2_managed_application.runtime #=> String, one of "MicroFocus"
1166
+ # resp.step_run_summary.mainframe_action.batch.step_input.resource.m2_managed_application.listener_port #=> Integer
1167
+ # resp.step_run_summary.mainframe_action.batch.step_input.resource.m2_non_managed_application.vpc_endpoint_service_name #=> String
1168
+ # resp.step_run_summary.mainframe_action.batch.step_input.resource.m2_non_managed_application.listener_port #=> Integer
1169
+ # resp.step_run_summary.mainframe_action.batch.step_input.resource.m2_non_managed_application.runtime #=> String, one of "BluAge"
1170
+ # resp.step_run_summary.mainframe_action.batch.step_input.resource.m2_non_managed_application.web_app_name #=> String
1171
+ # resp.step_run_summary.mainframe_action.batch.step_input.batch_job_name #=> String
1172
+ # resp.step_run_summary.mainframe_action.batch.step_input.batch_job_parameters #=> Hash
1173
+ # resp.step_run_summary.mainframe_action.batch.step_input.batch_job_parameters["String"] #=> String
1174
+ # resp.step_run_summary.mainframe_action.batch.step_input.export_data_set_names #=> Array
1175
+ # resp.step_run_summary.mainframe_action.batch.step_input.export_data_set_names[0] #=> String
1176
+ # resp.step_run_summary.mainframe_action.batch.step_input.properties.dms_task_arn #=> String
1177
+ # resp.step_run_summary.mainframe_action.batch.step_output.data_set_export_location #=> String
1178
+ # resp.step_run_summary.mainframe_action.batch.step_output.dms_output_location #=> String
1179
+ # resp.step_run_summary.mainframe_action.batch.step_output.data_set_details #=> Array
1180
+ # resp.step_run_summary.mainframe_action.batch.step_output.data_set_details[0].type #=> String, one of "PS"
1181
+ # resp.step_run_summary.mainframe_action.batch.step_output.data_set_details[0].name #=> String
1182
+ # resp.step_run_summary.mainframe_action.batch.step_output.data_set_details[0].ccsid #=> String
1183
+ # resp.step_run_summary.mainframe_action.batch.step_output.data_set_details[0].format #=> String, one of "FIXED", "VARIABLE", "LINE_SEQUENTIAL"
1184
+ # resp.step_run_summary.mainframe_action.batch.step_output.data_set_details[0].length #=> Integer
1185
+ # resp.step_run_summary.mainframe_action.tn3270.step_input.resource.m2_managed_application.application_id #=> String
1186
+ # resp.step_run_summary.mainframe_action.tn3270.step_input.resource.m2_managed_application.runtime #=> String, one of "MicroFocus"
1187
+ # resp.step_run_summary.mainframe_action.tn3270.step_input.resource.m2_managed_application.listener_port #=> Integer
1188
+ # resp.step_run_summary.mainframe_action.tn3270.step_input.resource.m2_non_managed_application.vpc_endpoint_service_name #=> String
1189
+ # resp.step_run_summary.mainframe_action.tn3270.step_input.resource.m2_non_managed_application.listener_port #=> Integer
1190
+ # resp.step_run_summary.mainframe_action.tn3270.step_input.resource.m2_non_managed_application.runtime #=> String, one of "BluAge"
1191
+ # resp.step_run_summary.mainframe_action.tn3270.step_input.resource.m2_non_managed_application.web_app_name #=> String
1192
+ # resp.step_run_summary.mainframe_action.tn3270.step_input.script.script_location #=> String
1193
+ # resp.step_run_summary.mainframe_action.tn3270.step_input.script.type #=> String, one of "Selenium"
1194
+ # resp.step_run_summary.mainframe_action.tn3270.step_input.export_data_set_names #=> Array
1195
+ # resp.step_run_summary.mainframe_action.tn3270.step_input.export_data_set_names[0] #=> String
1196
+ # resp.step_run_summary.mainframe_action.tn3270.step_input.properties.dms_task_arn #=> String
1197
+ # resp.step_run_summary.mainframe_action.tn3270.step_output.data_set_export_location #=> String
1198
+ # resp.step_run_summary.mainframe_action.tn3270.step_output.dms_output_location #=> String
1199
+ # resp.step_run_summary.mainframe_action.tn3270.step_output.data_set_details #=> Array
1200
+ # resp.step_run_summary.mainframe_action.tn3270.step_output.data_set_details[0].type #=> String, one of "PS"
1201
+ # resp.step_run_summary.mainframe_action.tn3270.step_output.data_set_details[0].name #=> String
1202
+ # resp.step_run_summary.mainframe_action.tn3270.step_output.data_set_details[0].ccsid #=> String
1203
+ # resp.step_run_summary.mainframe_action.tn3270.step_output.data_set_details[0].format #=> String, one of "FIXED", "VARIABLE", "LINE_SEQUENTIAL"
1204
+ # resp.step_run_summary.mainframe_action.tn3270.step_output.data_set_details[0].length #=> Integer
1205
+ # resp.step_run_summary.mainframe_action.tn3270.step_output.script_output_location #=> String
1206
+ # resp.step_run_summary.compare_action.type.file_type.datasets.step_input.source_location #=> String
1207
+ # resp.step_run_summary.compare_action.type.file_type.datasets.step_input.target_location #=> String
1208
+ # resp.step_run_summary.compare_action.type.file_type.datasets.step_input.source_data_sets #=> Array
1209
+ # resp.step_run_summary.compare_action.type.file_type.datasets.step_input.source_data_sets[0].type #=> String, one of "PS"
1210
+ # resp.step_run_summary.compare_action.type.file_type.datasets.step_input.source_data_sets[0].name #=> String
1211
+ # resp.step_run_summary.compare_action.type.file_type.datasets.step_input.source_data_sets[0].ccsid #=> String
1212
+ # resp.step_run_summary.compare_action.type.file_type.datasets.step_input.source_data_sets[0].format #=> String, one of "FIXED", "VARIABLE", "LINE_SEQUENTIAL"
1213
+ # resp.step_run_summary.compare_action.type.file_type.datasets.step_input.source_data_sets[0].length #=> Integer
1214
+ # resp.step_run_summary.compare_action.type.file_type.datasets.step_input.target_data_sets #=> Array
1215
+ # resp.step_run_summary.compare_action.type.file_type.datasets.step_input.target_data_sets[0].type #=> String, one of "PS"
1216
+ # resp.step_run_summary.compare_action.type.file_type.datasets.step_input.target_data_sets[0].name #=> String
1217
+ # resp.step_run_summary.compare_action.type.file_type.datasets.step_input.target_data_sets[0].ccsid #=> String
1218
+ # resp.step_run_summary.compare_action.type.file_type.datasets.step_input.target_data_sets[0].format #=> String, one of "FIXED", "VARIABLE", "LINE_SEQUENTIAL"
1219
+ # resp.step_run_summary.compare_action.type.file_type.datasets.step_input.target_data_sets[0].length #=> Integer
1220
+ # resp.step_run_summary.compare_action.type.file_type.datasets.step_output.comparison_output_location #=> String
1221
+ # resp.step_run_summary.compare_action.type.file_type.datasets.step_output.comparison_status #=> String, one of "Different", "Equivalent", "Equal"
1222
+ # resp.step_run_summary.compare_action.type.file_type.database_cdc.step_input.source_location #=> String
1223
+ # resp.step_run_summary.compare_action.type.file_type.database_cdc.step_input.target_location #=> String
1224
+ # resp.step_run_summary.compare_action.type.file_type.database_cdc.step_input.output_location #=> String
1225
+ # resp.step_run_summary.compare_action.type.file_type.database_cdc.step_input.source_metadata.type #=> String, one of "z/OS-DB2"
1226
+ # resp.step_run_summary.compare_action.type.file_type.database_cdc.step_input.source_metadata.capture_tool #=> String, one of "Precisely", "AWS DMS"
1227
+ # resp.step_run_summary.compare_action.type.file_type.database_cdc.step_input.target_metadata.type #=> String, one of "PostgreSQL"
1228
+ # resp.step_run_summary.compare_action.type.file_type.database_cdc.step_input.target_metadata.capture_tool #=> String, one of "Precisely", "AWS DMS"
1229
+ # resp.step_run_summary.compare_action.type.file_type.database_cdc.step_output.comparison_output_location #=> String
1230
+ # resp.step_run_summary.compare_action.type.file_type.database_cdc.step_output.comparison_status #=> String, one of "Different", "Equivalent", "Equal"
1231
+ # resp.step_run_summary.resource_action.cloud_formation.create_cloudformation.step_input.template_location #=> String
1232
+ # resp.step_run_summary.resource_action.cloud_formation.create_cloudformation.step_input.parameters #=> Hash
1233
+ # resp.step_run_summary.resource_action.cloud_formation.create_cloudformation.step_input.parameters["String"] #=> String
1234
+ # resp.step_run_summary.resource_action.cloud_formation.create_cloudformation.step_output.stack_id #=> String
1235
+ # resp.step_run_summary.resource_action.cloud_formation.create_cloudformation.step_output.exports #=> Hash
1236
+ # resp.step_run_summary.resource_action.cloud_formation.create_cloudformation.step_output.exports["String"] #=> String
1237
+ # resp.step_run_summary.resource_action.cloud_formation.delete_cloudformation.step_input.stack_id #=> String
1238
+ # resp.step_run_summary.resource_action.m2_managed_application.step_input.application_id #=> String
1239
+ # resp.step_run_summary.resource_action.m2_managed_application.step_input.runtime #=> String
1240
+ # resp.step_run_summary.resource_action.m2_managed_application.step_input.vpc_endpoint_service_name #=> String
1241
+ # resp.step_run_summary.resource_action.m2_managed_application.step_input.listener_port #=> Integer
1242
+ # resp.step_run_summary.resource_action.m2_managed_application.step_input.action_type #=> String, one of "Configure", "Deconfigure"
1243
+ # resp.step_run_summary.resource_action.m2_managed_application.step_input.properties.force_stop #=> Boolean
1244
+ # resp.step_run_summary.resource_action.m2_managed_application.step_input.properties.import_data_set_location #=> String
1245
+ # resp.step_run_summary.resource_action.m2_managed_application.step_output.import_data_set_summary #=> Hash
1246
+ # resp.step_run_summary.resource_action.m2_managed_application.step_output.import_data_set_summary["String"] #=> String
1247
+ # resp.step_run_summary.resource_action.m2_non_managed_application.step_input.vpc_endpoint_service_name #=> String
1248
+ # resp.step_run_summary.resource_action.m2_non_managed_application.step_input.listener_port #=> Integer
1249
+ # resp.step_run_summary.resource_action.m2_non_managed_application.step_input.runtime #=> String, one of "BluAge"
1250
+ # resp.step_run_summary.resource_action.m2_non_managed_application.step_input.web_app_name #=> String
1251
+ # resp.step_run_summary.resource_action.m2_non_managed_application.step_input.action_type #=> String, one of "Configure", "Deconfigure"
1252
+ #
1253
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/GetTestRunStep AWS API Documentation
1254
+ #
1255
+ # @overload get_test_run_step(params = {})
1256
+ # @param [Hash] params ({})
1257
+ def get_test_run_step(params = {}, options = {})
1258
+ req = build_request(:get_test_run_step, params)
1259
+ req.send_request(options)
1260
+ end
1261
+
1262
+ # Gets a test suite.
1263
+ #
1264
+ # @option params [required, String] :test_suite_id
1265
+ # The ID of the test suite.
1266
+ #
1267
+ # @option params [Integer] :test_suite_version
1268
+ # The version of the test suite.
1269
+ #
1270
+ # @return [Types::GetTestSuiteResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1271
+ #
1272
+ # * {Types::GetTestSuiteResponse#test_suite_id #test_suite_id} => String
1273
+ # * {Types::GetTestSuiteResponse#name #name} => String
1274
+ # * {Types::GetTestSuiteResponse#latest_version #latest_version} => Types::TestSuiteLatestVersion
1275
+ # * {Types::GetTestSuiteResponse#test_suite_version #test_suite_version} => Integer
1276
+ # * {Types::GetTestSuiteResponse#status #status} => String
1277
+ # * {Types::GetTestSuiteResponse#status_reason #status_reason} => String
1278
+ # * {Types::GetTestSuiteResponse#test_suite_arn #test_suite_arn} => String
1279
+ # * {Types::GetTestSuiteResponse#creation_time #creation_time} => Time
1280
+ # * {Types::GetTestSuiteResponse#last_update_time #last_update_time} => Time
1281
+ # * {Types::GetTestSuiteResponse#description #description} => String
1282
+ # * {Types::GetTestSuiteResponse#before_steps #before_steps} => Array&lt;Types::Step&gt;
1283
+ # * {Types::GetTestSuiteResponse#after_steps #after_steps} => Array&lt;Types::Step&gt;
1284
+ # * {Types::GetTestSuiteResponse#test_cases #test_cases} => Types::TestCases
1285
+ # * {Types::GetTestSuiteResponse#tags #tags} => Hash&lt;String,String&gt;
1286
+ #
1287
+ # @example Request syntax with placeholder values
1288
+ #
1289
+ # resp = client.get_test_suite({
1290
+ # test_suite_id: "Identifier", # required
1291
+ # test_suite_version: 1,
1292
+ # })
1293
+ #
1294
+ # @example Response structure
1295
+ #
1296
+ # resp.test_suite_id #=> String
1297
+ # resp.name #=> String
1298
+ # resp.latest_version.version #=> Integer
1299
+ # resp.latest_version.status #=> String, one of "Creating", "Updating", "Active", "Failed", "Deleting"
1300
+ # resp.latest_version.status_reason #=> String
1301
+ # resp.test_suite_version #=> Integer
1302
+ # resp.status #=> String, one of "Creating", "Updating", "Active", "Failed", "Deleting"
1303
+ # resp.status_reason #=> String
1304
+ # resp.test_suite_arn #=> String
1305
+ # resp.creation_time #=> Time
1306
+ # resp.last_update_time #=> Time
1307
+ # resp.description #=> String
1308
+ # resp.before_steps #=> Array
1309
+ # resp.before_steps[0].name #=> String
1310
+ # resp.before_steps[0].description #=> String
1311
+ # resp.before_steps[0].action.resource_action.m2_managed_application_action.resource #=> String
1312
+ # resp.before_steps[0].action.resource_action.m2_managed_application_action.action_type #=> String, one of "Configure", "Deconfigure"
1313
+ # resp.before_steps[0].action.resource_action.m2_managed_application_action.properties.force_stop #=> Boolean
1314
+ # resp.before_steps[0].action.resource_action.m2_managed_application_action.properties.import_data_set_location #=> String
1315
+ # resp.before_steps[0].action.resource_action.m2_non_managed_application_action.resource #=> String
1316
+ # resp.before_steps[0].action.resource_action.m2_non_managed_application_action.action_type #=> String, one of "Configure", "Deconfigure"
1317
+ # resp.before_steps[0].action.resource_action.cloud_formation_action.resource #=> String
1318
+ # resp.before_steps[0].action.resource_action.cloud_formation_action.action_type #=> String, one of "Create", "Delete"
1319
+ # resp.before_steps[0].action.mainframe_action.resource #=> String
1320
+ # resp.before_steps[0].action.mainframe_action.action_type.batch.batch_job_name #=> String
1321
+ # resp.before_steps[0].action.mainframe_action.action_type.batch.batch_job_parameters #=> Hash
1322
+ # resp.before_steps[0].action.mainframe_action.action_type.batch.batch_job_parameters["String"] #=> String
1323
+ # resp.before_steps[0].action.mainframe_action.action_type.batch.export_data_set_names #=> Array
1324
+ # resp.before_steps[0].action.mainframe_action.action_type.batch.export_data_set_names[0] #=> String
1325
+ # resp.before_steps[0].action.mainframe_action.action_type.tn3270.script.script_location #=> String
1326
+ # resp.before_steps[0].action.mainframe_action.action_type.tn3270.script.type #=> String, one of "Selenium"
1327
+ # resp.before_steps[0].action.mainframe_action.action_type.tn3270.export_data_set_names #=> Array
1328
+ # resp.before_steps[0].action.mainframe_action.action_type.tn3270.export_data_set_names[0] #=> String
1329
+ # resp.before_steps[0].action.mainframe_action.properties.dms_task_arn #=> String
1330
+ # resp.before_steps[0].action.compare_action.input.file.source_location #=> String
1331
+ # resp.before_steps[0].action.compare_action.input.file.target_location #=> String
1332
+ # resp.before_steps[0].action.compare_action.input.file.file_metadata.data_sets #=> Array
1333
+ # resp.before_steps[0].action.compare_action.input.file.file_metadata.data_sets[0].type #=> String, one of "PS"
1334
+ # resp.before_steps[0].action.compare_action.input.file.file_metadata.data_sets[0].name #=> String
1335
+ # resp.before_steps[0].action.compare_action.input.file.file_metadata.data_sets[0].ccsid #=> String
1336
+ # resp.before_steps[0].action.compare_action.input.file.file_metadata.data_sets[0].format #=> String, one of "FIXED", "VARIABLE", "LINE_SEQUENTIAL"
1337
+ # resp.before_steps[0].action.compare_action.input.file.file_metadata.data_sets[0].length #=> Integer
1338
+ # resp.before_steps[0].action.compare_action.input.file.file_metadata.database_cdc.source_metadata.type #=> String, one of "z/OS-DB2"
1339
+ # resp.before_steps[0].action.compare_action.input.file.file_metadata.database_cdc.source_metadata.capture_tool #=> String, one of "Precisely", "AWS DMS"
1340
+ # resp.before_steps[0].action.compare_action.input.file.file_metadata.database_cdc.target_metadata.type #=> String, one of "PostgreSQL"
1341
+ # resp.before_steps[0].action.compare_action.input.file.file_metadata.database_cdc.target_metadata.capture_tool #=> String, one of "Precisely", "AWS DMS"
1342
+ # resp.before_steps[0].action.compare_action.output.file.file_location #=> String
1343
+ # resp.after_steps #=> Array
1344
+ # resp.after_steps[0].name #=> String
1345
+ # resp.after_steps[0].description #=> String
1346
+ # resp.after_steps[0].action.resource_action.m2_managed_application_action.resource #=> String
1347
+ # resp.after_steps[0].action.resource_action.m2_managed_application_action.action_type #=> String, one of "Configure", "Deconfigure"
1348
+ # resp.after_steps[0].action.resource_action.m2_managed_application_action.properties.force_stop #=> Boolean
1349
+ # resp.after_steps[0].action.resource_action.m2_managed_application_action.properties.import_data_set_location #=> String
1350
+ # resp.after_steps[0].action.resource_action.m2_non_managed_application_action.resource #=> String
1351
+ # resp.after_steps[0].action.resource_action.m2_non_managed_application_action.action_type #=> String, one of "Configure", "Deconfigure"
1352
+ # resp.after_steps[0].action.resource_action.cloud_formation_action.resource #=> String
1353
+ # resp.after_steps[0].action.resource_action.cloud_formation_action.action_type #=> String, one of "Create", "Delete"
1354
+ # resp.after_steps[0].action.mainframe_action.resource #=> String
1355
+ # resp.after_steps[0].action.mainframe_action.action_type.batch.batch_job_name #=> String
1356
+ # resp.after_steps[0].action.mainframe_action.action_type.batch.batch_job_parameters #=> Hash
1357
+ # resp.after_steps[0].action.mainframe_action.action_type.batch.batch_job_parameters["String"] #=> String
1358
+ # resp.after_steps[0].action.mainframe_action.action_type.batch.export_data_set_names #=> Array
1359
+ # resp.after_steps[0].action.mainframe_action.action_type.batch.export_data_set_names[0] #=> String
1360
+ # resp.after_steps[0].action.mainframe_action.action_type.tn3270.script.script_location #=> String
1361
+ # resp.after_steps[0].action.mainframe_action.action_type.tn3270.script.type #=> String, one of "Selenium"
1362
+ # resp.after_steps[0].action.mainframe_action.action_type.tn3270.export_data_set_names #=> Array
1363
+ # resp.after_steps[0].action.mainframe_action.action_type.tn3270.export_data_set_names[0] #=> String
1364
+ # resp.after_steps[0].action.mainframe_action.properties.dms_task_arn #=> String
1365
+ # resp.after_steps[0].action.compare_action.input.file.source_location #=> String
1366
+ # resp.after_steps[0].action.compare_action.input.file.target_location #=> String
1367
+ # resp.after_steps[0].action.compare_action.input.file.file_metadata.data_sets #=> Array
1368
+ # resp.after_steps[0].action.compare_action.input.file.file_metadata.data_sets[0].type #=> String, one of "PS"
1369
+ # resp.after_steps[0].action.compare_action.input.file.file_metadata.data_sets[0].name #=> String
1370
+ # resp.after_steps[0].action.compare_action.input.file.file_metadata.data_sets[0].ccsid #=> String
1371
+ # resp.after_steps[0].action.compare_action.input.file.file_metadata.data_sets[0].format #=> String, one of "FIXED", "VARIABLE", "LINE_SEQUENTIAL"
1372
+ # resp.after_steps[0].action.compare_action.input.file.file_metadata.data_sets[0].length #=> Integer
1373
+ # resp.after_steps[0].action.compare_action.input.file.file_metadata.database_cdc.source_metadata.type #=> String, one of "z/OS-DB2"
1374
+ # resp.after_steps[0].action.compare_action.input.file.file_metadata.database_cdc.source_metadata.capture_tool #=> String, one of "Precisely", "AWS DMS"
1375
+ # resp.after_steps[0].action.compare_action.input.file.file_metadata.database_cdc.target_metadata.type #=> String, one of "PostgreSQL"
1376
+ # resp.after_steps[0].action.compare_action.input.file.file_metadata.database_cdc.target_metadata.capture_tool #=> String, one of "Precisely", "AWS DMS"
1377
+ # resp.after_steps[0].action.compare_action.output.file.file_location #=> String
1378
+ # resp.test_cases.sequential #=> Array
1379
+ # resp.test_cases.sequential[0] #=> String
1380
+ # resp.tags #=> Hash
1381
+ # resp.tags["TagKey"] #=> String
1382
+ #
1383
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/GetTestSuite AWS API Documentation
1384
+ #
1385
+ # @overload get_test_suite(params = {})
1386
+ # @param [Hash] params ({})
1387
+ def get_test_suite(params = {}, options = {})
1388
+ req = build_request(:get_test_suite, params)
1389
+ req.send_request(options)
1390
+ end
1391
+
1392
+ # Lists tags for a resource.
1393
+ #
1394
+ # @option params [required, String] :resource_arn
1395
+ # The Amazon Resource Name (ARN) of the resource.
1396
+ #
1397
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1398
+ #
1399
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
1400
+ #
1401
+ # @example Request syntax with placeholder values
1402
+ #
1403
+ # resp = client.list_tags_for_resource({
1404
+ # resource_arn: "Arn", # required
1405
+ # })
1406
+ #
1407
+ # @example Response structure
1408
+ #
1409
+ # resp.tags #=> Hash
1410
+ # resp.tags["TagKey"] #=> String
1411
+ #
1412
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTagsForResource AWS API Documentation
1413
+ #
1414
+ # @overload list_tags_for_resource(params = {})
1415
+ # @param [Hash] params ({})
1416
+ def list_tags_for_resource(params = {}, options = {})
1417
+ req = build_request(:list_tags_for_resource, params)
1418
+ req.send_request(options)
1419
+ end
1420
+
1421
+ # Lists test cases.
1422
+ #
1423
+ # @option params [Array<String>] :test_case_ids
1424
+ # The IDs of the test cases.
1425
+ #
1426
+ # @option params [String] :next_token
1427
+ # The next token of the test cases.
1428
+ #
1429
+ # @option params [Integer] :max_results
1430
+ # The maximum results of the test case.
1431
+ #
1432
+ # @return [Types::ListTestCasesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1433
+ #
1434
+ # * {Types::ListTestCasesResponse#test_cases #test_cases} => Array&lt;Types::TestCaseSummary&gt;
1435
+ # * {Types::ListTestCasesResponse#next_token #next_token} => String
1436
+ #
1437
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1438
+ #
1439
+ # @example Request syntax with placeholder values
1440
+ #
1441
+ # resp = client.list_test_cases({
1442
+ # test_case_ids: ["Identifier"],
1443
+ # next_token: "NextToken",
1444
+ # max_results: 1,
1445
+ # })
1446
+ #
1447
+ # @example Response structure
1448
+ #
1449
+ # resp.test_cases #=> Array
1450
+ # resp.test_cases[0].test_case_id #=> String
1451
+ # resp.test_cases[0].test_case_arn #=> String
1452
+ # resp.test_cases[0].name #=> String
1453
+ # resp.test_cases[0].status_reason #=> String
1454
+ # resp.test_cases[0].latest_version #=> Integer
1455
+ # resp.test_cases[0].status #=> String, one of "Active", "Deleting"
1456
+ # resp.test_cases[0].creation_time #=> Time
1457
+ # resp.test_cases[0].last_update_time #=> Time
1458
+ # resp.next_token #=> String
1459
+ #
1460
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTestCases AWS API Documentation
1461
+ #
1462
+ # @overload list_test_cases(params = {})
1463
+ # @param [Hash] params ({})
1464
+ def list_test_cases(params = {}, options = {})
1465
+ req = build_request(:list_test_cases, params)
1466
+ req.send_request(options)
1467
+ end
1468
+
1469
+ # Lists test configurations.
1470
+ #
1471
+ # @option params [Array<String>] :test_configuration_ids
1472
+ # The configuration IDs of the test configurations.
1473
+ #
1474
+ # @option params [String] :next_token
1475
+ # The next token for the test configurations.
1476
+ #
1477
+ # @option params [Integer] :max_results
1478
+ # The maximum results of the test configuration.
1479
+ #
1480
+ # @return [Types::ListTestConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1481
+ #
1482
+ # * {Types::ListTestConfigurationsResponse#test_configurations #test_configurations} => Array&lt;Types::TestConfigurationSummary&gt;
1483
+ # * {Types::ListTestConfigurationsResponse#next_token #next_token} => String
1484
+ #
1485
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1486
+ #
1487
+ # @example Request syntax with placeholder values
1488
+ #
1489
+ # resp = client.list_test_configurations({
1490
+ # test_configuration_ids: ["Identifier"],
1491
+ # next_token: "NextToken",
1492
+ # max_results: 1,
1493
+ # })
1494
+ #
1495
+ # @example Response structure
1496
+ #
1497
+ # resp.test_configurations #=> Array
1498
+ # resp.test_configurations[0].test_configuration_id #=> String
1499
+ # resp.test_configurations[0].name #=> String
1500
+ # resp.test_configurations[0].status_reason #=> String
1501
+ # resp.test_configurations[0].latest_version #=> Integer
1502
+ # resp.test_configurations[0].test_configuration_arn #=> String
1503
+ # resp.test_configurations[0].status #=> String, one of "Active", "Deleting"
1504
+ # resp.test_configurations[0].creation_time #=> Time
1505
+ # resp.test_configurations[0].last_update_time #=> Time
1506
+ # resp.next_token #=> String
1507
+ #
1508
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTestConfigurations AWS API Documentation
1509
+ #
1510
+ # @overload list_test_configurations(params = {})
1511
+ # @param [Hash] params ({})
1512
+ def list_test_configurations(params = {}, options = {})
1513
+ req = build_request(:list_test_configurations, params)
1514
+ req.send_request(options)
1515
+ end
1516
+
1517
+ # Lists test run steps.
1518
+ #
1519
+ # @option params [required, String] :test_run_id
1520
+ # The test run ID of the test run steps.
1521
+ #
1522
+ # @option params [String] :test_case_id
1523
+ # The test case ID of the test run steps.
1524
+ #
1525
+ # @option params [String] :test_suite_id
1526
+ # The test suite ID of the test run steps.
1527
+ #
1528
+ # @option params [String] :next_token
1529
+ # The token from a previous step to retrieve the next page of results.
1530
+ #
1531
+ # @option params [Integer] :max_results
1532
+ # The maximum number of test run steps to return in one page of results.
1533
+ #
1534
+ # @return [Types::ListTestRunStepsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1535
+ #
1536
+ # * {Types::ListTestRunStepsResponse#test_run_steps #test_run_steps} => Array&lt;Types::TestRunStepSummary&gt;
1537
+ # * {Types::ListTestRunStepsResponse#next_token #next_token} => String
1538
+ #
1539
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1540
+ #
1541
+ # @example Request syntax with placeholder values
1542
+ #
1543
+ # resp = client.list_test_run_steps({
1544
+ # test_run_id: "Identifier", # required
1545
+ # test_case_id: "Identifier",
1546
+ # test_suite_id: "Identifier",
1547
+ # next_token: "NextToken",
1548
+ # max_results: 1,
1549
+ # })
1550
+ #
1551
+ # @example Response structure
1552
+ #
1553
+ # resp.test_run_steps #=> Array
1554
+ # resp.test_run_steps[0].step_name #=> String
1555
+ # resp.test_run_steps[0].test_run_id #=> String
1556
+ # resp.test_run_steps[0].test_case_id #=> String
1557
+ # resp.test_run_steps[0].test_case_version #=> Integer
1558
+ # resp.test_run_steps[0].test_suite_id #=> String
1559
+ # resp.test_run_steps[0].test_suite_version #=> Integer
1560
+ # resp.test_run_steps[0].before_step #=> Boolean
1561
+ # resp.test_run_steps[0].after_step #=> Boolean
1562
+ # resp.test_run_steps[0].status #=> String, one of "Success", "Failed", "Running"
1563
+ # resp.test_run_steps[0].status_reason #=> String
1564
+ # resp.test_run_steps[0].run_start_time #=> Time
1565
+ # resp.test_run_steps[0].run_end_time #=> Time
1566
+ # resp.next_token #=> String
1567
+ #
1568
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTestRunSteps AWS API Documentation
1569
+ #
1570
+ # @overload list_test_run_steps(params = {})
1571
+ # @param [Hash] params ({})
1572
+ def list_test_run_steps(params = {}, options = {})
1573
+ req = build_request(:list_test_run_steps, params)
1574
+ req.send_request(options)
1575
+ end
1576
+
1577
+ # Lists test run test cases.
1578
+ #
1579
+ # @option params [required, String] :test_run_id
1580
+ # The test run ID of the test cases.
1581
+ #
1582
+ # @option params [String] :next_token
1583
+ # The token from a previous request to retrieve the next page of
1584
+ # results.
1585
+ #
1586
+ # @option params [Integer] :max_results
1587
+ # The maximum number of test run test cases to return in one page of
1588
+ # results.
1589
+ #
1590
+ # @return [Types::ListTestRunTestCasesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1591
+ #
1592
+ # * {Types::ListTestRunTestCasesResponse#test_run_test_cases #test_run_test_cases} => Array&lt;Types::TestCaseRunSummary&gt;
1593
+ # * {Types::ListTestRunTestCasesResponse#next_token #next_token} => String
1594
+ #
1595
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1596
+ #
1597
+ # @example Request syntax with placeholder values
1598
+ #
1599
+ # resp = client.list_test_run_test_cases({
1600
+ # test_run_id: "Identifier", # required
1601
+ # next_token: "NextToken",
1602
+ # max_results: 1,
1603
+ # })
1604
+ #
1605
+ # @example Response structure
1606
+ #
1607
+ # resp.test_run_test_cases #=> Array
1608
+ # resp.test_run_test_cases[0].test_case_id #=> String
1609
+ # resp.test_run_test_cases[0].test_case_version #=> Integer
1610
+ # resp.test_run_test_cases[0].test_run_id #=> String
1611
+ # resp.test_run_test_cases[0].status #=> String, one of "Success", "Running", "Failed"
1612
+ # resp.test_run_test_cases[0].status_reason #=> String
1613
+ # resp.test_run_test_cases[0].run_start_time #=> Time
1614
+ # resp.test_run_test_cases[0].run_end_time #=> Time
1615
+ # resp.next_token #=> String
1616
+ #
1617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTestRunTestCases AWS API Documentation
1618
+ #
1619
+ # @overload list_test_run_test_cases(params = {})
1620
+ # @param [Hash] params ({})
1621
+ def list_test_run_test_cases(params = {}, options = {})
1622
+ req = build_request(:list_test_run_test_cases, params)
1623
+ req.send_request(options)
1624
+ end
1625
+
1626
+ # Lists test runs.
1627
+ #
1628
+ # @option params [String] :test_suite_id
1629
+ # The test suite ID of the test runs.
1630
+ #
1631
+ # @option params [Array<String>] :test_run_ids
1632
+ # The test run IDs of the test runs.
1633
+ #
1634
+ # @option params [String] :next_token
1635
+ # The token from the previous request to retrieve the next page of test
1636
+ # run results.
1637
+ #
1638
+ # @option params [Integer] :max_results
1639
+ # The maximum number of test runs to return in one page of results.
1640
+ #
1641
+ # @return [Types::ListTestRunsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1642
+ #
1643
+ # * {Types::ListTestRunsResponse#test_runs #test_runs} => Array&lt;Types::TestRunSummary&gt;
1644
+ # * {Types::ListTestRunsResponse#next_token #next_token} => String
1645
+ #
1646
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1647
+ #
1648
+ # @example Request syntax with placeholder values
1649
+ #
1650
+ # resp = client.list_test_runs({
1651
+ # test_suite_id: "Identifier",
1652
+ # test_run_ids: ["Identifier"],
1653
+ # next_token: "NextToken",
1654
+ # max_results: 1,
1655
+ # })
1656
+ #
1657
+ # @example Response structure
1658
+ #
1659
+ # resp.test_runs #=> Array
1660
+ # resp.test_runs[0].test_run_id #=> String
1661
+ # resp.test_runs[0].test_run_arn #=> String
1662
+ # resp.test_runs[0].test_suite_id #=> String
1663
+ # resp.test_runs[0].test_suite_version #=> Integer
1664
+ # resp.test_runs[0].test_configuration_id #=> String
1665
+ # resp.test_runs[0].test_configuration_version #=> Integer
1666
+ # resp.test_runs[0].status #=> String, one of "Success", "Running", "Failed", "Deleting"
1667
+ # resp.test_runs[0].status_reason #=> String
1668
+ # resp.test_runs[0].run_start_time #=> Time
1669
+ # resp.test_runs[0].run_end_time #=> Time
1670
+ # resp.next_token #=> String
1671
+ #
1672
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTestRuns AWS API Documentation
1673
+ #
1674
+ # @overload list_test_runs(params = {})
1675
+ # @param [Hash] params ({})
1676
+ def list_test_runs(params = {}, options = {})
1677
+ req = build_request(:list_test_runs, params)
1678
+ req.send_request(options)
1679
+ end
1680
+
1681
+ # Lists test suites.
1682
+ #
1683
+ # @option params [Array<String>] :test_suite_ids
1684
+ # The suite ID of the test suites.
1685
+ #
1686
+ # @option params [String] :next_token
1687
+ # The token from a previous request to retrieve the next page of
1688
+ # results.
1689
+ #
1690
+ # @option params [Integer] :max_results
1691
+ # The maximum number of test suites to return in one page of results.
1692
+ #
1693
+ # @return [Types::ListTestSuitesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1694
+ #
1695
+ # * {Types::ListTestSuitesResponse#test_suites #test_suites} => Array&lt;Types::TestSuiteSummary&gt;
1696
+ # * {Types::ListTestSuitesResponse#next_token #next_token} => String
1697
+ #
1698
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1699
+ #
1700
+ # @example Request syntax with placeholder values
1701
+ #
1702
+ # resp = client.list_test_suites({
1703
+ # test_suite_ids: ["Identifier"],
1704
+ # next_token: "NextToken",
1705
+ # max_results: 1,
1706
+ # })
1707
+ #
1708
+ # @example Response structure
1709
+ #
1710
+ # resp.test_suites #=> Array
1711
+ # resp.test_suites[0].test_suite_id #=> String
1712
+ # resp.test_suites[0].name #=> String
1713
+ # resp.test_suites[0].status_reason #=> String
1714
+ # resp.test_suites[0].latest_version #=> Integer
1715
+ # resp.test_suites[0].test_suite_arn #=> String
1716
+ # resp.test_suites[0].status #=> String, one of "Creating", "Updating", "Active", "Failed", "Deleting"
1717
+ # resp.test_suites[0].creation_time #=> Time
1718
+ # resp.test_suites[0].last_update_time #=> Time
1719
+ # resp.next_token #=> String
1720
+ #
1721
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTestSuites AWS API Documentation
1722
+ #
1723
+ # @overload list_test_suites(params = {})
1724
+ # @param [Hash] params ({})
1725
+ def list_test_suites(params = {}, options = {})
1726
+ req = build_request(:list_test_suites, params)
1727
+ req.send_request(options)
1728
+ end
1729
+
1730
+ # Starts a test run.
1731
+ #
1732
+ # @option params [required, String] :test_suite_id
1733
+ # The test suite ID of the test run.
1734
+ #
1735
+ # @option params [String] :test_configuration_id
1736
+ # The configuration ID of the test run.
1737
+ #
1738
+ # @option params [String] :client_token
1739
+ # The client token of the test run.
1740
+ #
1741
+ # **A suitable default value is auto-generated.** You should normally
1742
+ # not need to pass this option.**
1743
+ #
1744
+ # @option params [Hash<String,String>] :tags
1745
+ # The tags of the test run.
1746
+ #
1747
+ # @return [Types::StartTestRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1748
+ #
1749
+ # * {Types::StartTestRunResponse#test_run_id #test_run_id} => String
1750
+ # * {Types::StartTestRunResponse#test_run_status #test_run_status} => String
1751
+ #
1752
+ # @example Request syntax with placeholder values
1753
+ #
1754
+ # resp = client.start_test_run({
1755
+ # test_suite_id: "Identifier", # required
1756
+ # test_configuration_id: "Identifier",
1757
+ # client_token: "IdempotencyTokenString",
1758
+ # tags: {
1759
+ # "TagKey" => "TagValue",
1760
+ # },
1761
+ # })
1762
+ #
1763
+ # @example Response structure
1764
+ #
1765
+ # resp.test_run_id #=> String
1766
+ # resp.test_run_status #=> String, one of "Success", "Running", "Failed", "Deleting"
1767
+ #
1768
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/StartTestRun AWS API Documentation
1769
+ #
1770
+ # @overload start_test_run(params = {})
1771
+ # @param [Hash] params ({})
1772
+ def start_test_run(params = {}, options = {})
1773
+ req = build_request(:start_test_run, params)
1774
+ req.send_request(options)
1775
+ end
1776
+
1777
+ # Specifies tags of a resource.
1778
+ #
1779
+ # @option params [required, String] :resource_arn
1780
+ # The Amazon Resource Name (ARN) of the tag resource.
1781
+ #
1782
+ # @option params [required, Hash<String,String>] :tags
1783
+ # The tags of the resource.
1784
+ #
1785
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1786
+ #
1787
+ # @example Request syntax with placeholder values
1788
+ #
1789
+ # resp = client.tag_resource({
1790
+ # resource_arn: "Arn", # required
1791
+ # tags: { # required
1792
+ # "TagKey" => "TagValue",
1793
+ # },
1794
+ # })
1795
+ #
1796
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/TagResource AWS API Documentation
1797
+ #
1798
+ # @overload tag_resource(params = {})
1799
+ # @param [Hash] params ({})
1800
+ def tag_resource(params = {}, options = {})
1801
+ req = build_request(:tag_resource, params)
1802
+ req.send_request(options)
1803
+ end
1804
+
1805
+ # Untags a resource.
1806
+ #
1807
+ # @option params [required, String] :resource_arn
1808
+ # The Amazon Resource Name (ARN) of the resource.
1809
+ #
1810
+ # @option params [required, Array<String>] :tag_keys
1811
+ # The tag keys of the resource.
1812
+ #
1813
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1814
+ #
1815
+ # @example Request syntax with placeholder values
1816
+ #
1817
+ # resp = client.untag_resource({
1818
+ # resource_arn: "Arn", # required
1819
+ # tag_keys: ["TagKey"], # required
1820
+ # })
1821
+ #
1822
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/UntagResource AWS API Documentation
1823
+ #
1824
+ # @overload untag_resource(params = {})
1825
+ # @param [Hash] params ({})
1826
+ def untag_resource(params = {}, options = {})
1827
+ req = build_request(:untag_resource, params)
1828
+ req.send_request(options)
1829
+ end
1830
+
1831
+ # Updates a test case.
1832
+ #
1833
+ # @option params [required, String] :test_case_id
1834
+ # The test case ID of the test case.
1835
+ #
1836
+ # @option params [String] :description
1837
+ # The description of the test case.
1838
+ #
1839
+ # @option params [Array<Types::Step>] :steps
1840
+ # The steps of the test case.
1841
+ #
1842
+ # @return [Types::UpdateTestCaseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1843
+ #
1844
+ # * {Types::UpdateTestCaseResponse#test_case_id #test_case_id} => String
1845
+ # * {Types::UpdateTestCaseResponse#test_case_version #test_case_version} => Integer
1846
+ #
1847
+ # @example Request syntax with placeholder values
1848
+ #
1849
+ # resp = client.update_test_case({
1850
+ # test_case_id: "Identifier", # required
1851
+ # description: "ResourceDescription",
1852
+ # steps: [
1853
+ # {
1854
+ # name: "ResourceName", # required
1855
+ # description: "ResourceDescription",
1856
+ # action: { # required
1857
+ # resource_action: {
1858
+ # m2_managed_application_action: {
1859
+ # resource: "Variable", # required
1860
+ # action_type: "Configure", # required, accepts Configure, Deconfigure
1861
+ # properties: {
1862
+ # force_stop: false,
1863
+ # import_data_set_location: "Variable",
1864
+ # },
1865
+ # },
1866
+ # m2_non_managed_application_action: {
1867
+ # resource: "Variable", # required
1868
+ # action_type: "Configure", # required, accepts Configure, Deconfigure
1869
+ # },
1870
+ # cloud_formation_action: {
1871
+ # resource: "Variable", # required
1872
+ # action_type: "Create", # accepts Create, Delete
1873
+ # },
1874
+ # },
1875
+ # mainframe_action: {
1876
+ # resource: "Variable", # required
1877
+ # action_type: { # required
1878
+ # batch: {
1879
+ # batch_job_name: "Variable", # required
1880
+ # batch_job_parameters: {
1881
+ # "String" => "String",
1882
+ # },
1883
+ # export_data_set_names: ["String100"],
1884
+ # },
1885
+ # tn3270: {
1886
+ # script: { # required
1887
+ # script_location: "S3Uri", # required
1888
+ # type: "Selenium", # required, accepts Selenium
1889
+ # },
1890
+ # export_data_set_names: ["String100"],
1891
+ # },
1892
+ # },
1893
+ # properties: {
1894
+ # dms_task_arn: "Variable",
1895
+ # },
1896
+ # },
1897
+ # compare_action: {
1898
+ # input: { # required
1899
+ # file: {
1900
+ # source_location: "Variable", # required
1901
+ # target_location: "Variable", # required
1902
+ # file_metadata: { # required
1903
+ # data_sets: [
1904
+ # {
1905
+ # type: "PS", # required, accepts PS
1906
+ # name: "String100", # required
1907
+ # ccsid: "String50", # required
1908
+ # format: "FIXED", # required, accepts FIXED, VARIABLE, LINE_SEQUENTIAL
1909
+ # length: 1, # required
1910
+ # },
1911
+ # ],
1912
+ # database_cdc: {
1913
+ # source_metadata: { # required
1914
+ # type: "z/OS-DB2", # required, accepts z/OS-DB2
1915
+ # capture_tool: "Precisely", # required, accepts Precisely, AWS DMS
1916
+ # },
1917
+ # target_metadata: { # required
1918
+ # type: "PostgreSQL", # required, accepts PostgreSQL
1919
+ # capture_tool: "Precisely", # required, accepts Precisely, AWS DMS
1920
+ # },
1921
+ # },
1922
+ # },
1923
+ # },
1924
+ # },
1925
+ # output: {
1926
+ # file: {
1927
+ # file_location: "S3Uri",
1928
+ # },
1929
+ # },
1930
+ # },
1931
+ # },
1932
+ # },
1933
+ # ],
1934
+ # })
1935
+ #
1936
+ # @example Response structure
1937
+ #
1938
+ # resp.test_case_id #=> String
1939
+ # resp.test_case_version #=> Integer
1940
+ #
1941
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/UpdateTestCase AWS API Documentation
1942
+ #
1943
+ # @overload update_test_case(params = {})
1944
+ # @param [Hash] params ({})
1945
+ def update_test_case(params = {}, options = {})
1946
+ req = build_request(:update_test_case, params)
1947
+ req.send_request(options)
1948
+ end
1949
+
1950
+ # Updates a test configuration.
1951
+ #
1952
+ # @option params [required, String] :test_configuration_id
1953
+ # The test configuration ID of the test configuration.
1954
+ #
1955
+ # @option params [String] :description
1956
+ # The description of the test configuration.
1957
+ #
1958
+ # @option params [Array<Types::Resource>] :resources
1959
+ # The resources of the test configuration.
1960
+ #
1961
+ # @option params [Hash<String,String>] :properties
1962
+ # The properties of the test configuration.
1963
+ #
1964
+ # @option params [Types::ServiceSettings] :service_settings
1965
+ # The service settings of the test configuration.
1966
+ #
1967
+ # @return [Types::UpdateTestConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1968
+ #
1969
+ # * {Types::UpdateTestConfigurationResponse#test_configuration_id #test_configuration_id} => String
1970
+ # * {Types::UpdateTestConfigurationResponse#test_configuration_version #test_configuration_version} => Integer
1971
+ #
1972
+ # @example Request syntax with placeholder values
1973
+ #
1974
+ # resp = client.update_test_configuration({
1975
+ # test_configuration_id: "Identifier", # required
1976
+ # description: "ResourceDescription",
1977
+ # resources: [
1978
+ # {
1979
+ # name: "ResourceName", # required
1980
+ # type: { # required
1981
+ # cloud_formation: {
1982
+ # template_location: "S3Uri", # required
1983
+ # parameters: {
1984
+ # "String" => "String",
1985
+ # },
1986
+ # },
1987
+ # m2_managed_application: {
1988
+ # application_id: "Variable", # required
1989
+ # runtime: "MicroFocus", # required, accepts MicroFocus
1990
+ # vpc_endpoint_service_name: "Variable",
1991
+ # listener_port: "Variable",
1992
+ # },
1993
+ # m2_non_managed_application: {
1994
+ # vpc_endpoint_service_name: "Variable", # required
1995
+ # listener_port: "Variable", # required
1996
+ # runtime: "BluAge", # required, accepts BluAge
1997
+ # web_app_name: "Variable",
1998
+ # },
1999
+ # },
2000
+ # },
2001
+ # ],
2002
+ # properties: {
2003
+ # "String" => "String",
2004
+ # },
2005
+ # service_settings: {
2006
+ # kms_key_id: "String",
2007
+ # },
2008
+ # })
2009
+ #
2010
+ # @example Response structure
2011
+ #
2012
+ # resp.test_configuration_id #=> String
2013
+ # resp.test_configuration_version #=> Integer
2014
+ #
2015
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/UpdateTestConfiguration AWS API Documentation
2016
+ #
2017
+ # @overload update_test_configuration(params = {})
2018
+ # @param [Hash] params ({})
2019
+ def update_test_configuration(params = {}, options = {})
2020
+ req = build_request(:update_test_configuration, params)
2021
+ req.send_request(options)
2022
+ end
2023
+
2024
+ # Updates a test suite.
2025
+ #
2026
+ # @option params [required, String] :test_suite_id
2027
+ # The test suite ID of the test suite.
2028
+ #
2029
+ # @option params [String] :description
2030
+ # The description of the test suite.
2031
+ #
2032
+ # @option params [Array<Types::Step>] :before_steps
2033
+ # The before steps for the test suite.
2034
+ #
2035
+ # @option params [Array<Types::Step>] :after_steps
2036
+ # The after steps of the test suite.
2037
+ #
2038
+ # @option params [Types::TestCases] :test_cases
2039
+ # The test cases in the test suite.
2040
+ #
2041
+ # @return [Types::UpdateTestSuiteResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2042
+ #
2043
+ # * {Types::UpdateTestSuiteResponse#test_suite_id #test_suite_id} => String
2044
+ # * {Types::UpdateTestSuiteResponse#test_suite_version #test_suite_version} => Integer
2045
+ #
2046
+ # @example Request syntax with placeholder values
2047
+ #
2048
+ # resp = client.update_test_suite({
2049
+ # test_suite_id: "Identifier", # required
2050
+ # description: "ResourceDescription",
2051
+ # before_steps: [
2052
+ # {
2053
+ # name: "ResourceName", # required
2054
+ # description: "ResourceDescription",
2055
+ # action: { # required
2056
+ # resource_action: {
2057
+ # m2_managed_application_action: {
2058
+ # resource: "Variable", # required
2059
+ # action_type: "Configure", # required, accepts Configure, Deconfigure
2060
+ # properties: {
2061
+ # force_stop: false,
2062
+ # import_data_set_location: "Variable",
2063
+ # },
2064
+ # },
2065
+ # m2_non_managed_application_action: {
2066
+ # resource: "Variable", # required
2067
+ # action_type: "Configure", # required, accepts Configure, Deconfigure
2068
+ # },
2069
+ # cloud_formation_action: {
2070
+ # resource: "Variable", # required
2071
+ # action_type: "Create", # accepts Create, Delete
2072
+ # },
2073
+ # },
2074
+ # mainframe_action: {
2075
+ # resource: "Variable", # required
2076
+ # action_type: { # required
2077
+ # batch: {
2078
+ # batch_job_name: "Variable", # required
2079
+ # batch_job_parameters: {
2080
+ # "String" => "String",
2081
+ # },
2082
+ # export_data_set_names: ["String100"],
2083
+ # },
2084
+ # tn3270: {
2085
+ # script: { # required
2086
+ # script_location: "S3Uri", # required
2087
+ # type: "Selenium", # required, accepts Selenium
2088
+ # },
2089
+ # export_data_set_names: ["String100"],
2090
+ # },
2091
+ # },
2092
+ # properties: {
2093
+ # dms_task_arn: "Variable",
2094
+ # },
2095
+ # },
2096
+ # compare_action: {
2097
+ # input: { # required
2098
+ # file: {
2099
+ # source_location: "Variable", # required
2100
+ # target_location: "Variable", # required
2101
+ # file_metadata: { # required
2102
+ # data_sets: [
2103
+ # {
2104
+ # type: "PS", # required, accepts PS
2105
+ # name: "String100", # required
2106
+ # ccsid: "String50", # required
2107
+ # format: "FIXED", # required, accepts FIXED, VARIABLE, LINE_SEQUENTIAL
2108
+ # length: 1, # required
2109
+ # },
2110
+ # ],
2111
+ # database_cdc: {
2112
+ # source_metadata: { # required
2113
+ # type: "z/OS-DB2", # required, accepts z/OS-DB2
2114
+ # capture_tool: "Precisely", # required, accepts Precisely, AWS DMS
2115
+ # },
2116
+ # target_metadata: { # required
2117
+ # type: "PostgreSQL", # required, accepts PostgreSQL
2118
+ # capture_tool: "Precisely", # required, accepts Precisely, AWS DMS
2119
+ # },
2120
+ # },
2121
+ # },
2122
+ # },
2123
+ # },
2124
+ # output: {
2125
+ # file: {
2126
+ # file_location: "S3Uri",
2127
+ # },
2128
+ # },
2129
+ # },
2130
+ # },
2131
+ # },
2132
+ # ],
2133
+ # after_steps: [
2134
+ # {
2135
+ # name: "ResourceName", # required
2136
+ # description: "ResourceDescription",
2137
+ # action: { # required
2138
+ # resource_action: {
2139
+ # m2_managed_application_action: {
2140
+ # resource: "Variable", # required
2141
+ # action_type: "Configure", # required, accepts Configure, Deconfigure
2142
+ # properties: {
2143
+ # force_stop: false,
2144
+ # import_data_set_location: "Variable",
2145
+ # },
2146
+ # },
2147
+ # m2_non_managed_application_action: {
2148
+ # resource: "Variable", # required
2149
+ # action_type: "Configure", # required, accepts Configure, Deconfigure
2150
+ # },
2151
+ # cloud_formation_action: {
2152
+ # resource: "Variable", # required
2153
+ # action_type: "Create", # accepts Create, Delete
2154
+ # },
2155
+ # },
2156
+ # mainframe_action: {
2157
+ # resource: "Variable", # required
2158
+ # action_type: { # required
2159
+ # batch: {
2160
+ # batch_job_name: "Variable", # required
2161
+ # batch_job_parameters: {
2162
+ # "String" => "String",
2163
+ # },
2164
+ # export_data_set_names: ["String100"],
2165
+ # },
2166
+ # tn3270: {
2167
+ # script: { # required
2168
+ # script_location: "S3Uri", # required
2169
+ # type: "Selenium", # required, accepts Selenium
2170
+ # },
2171
+ # export_data_set_names: ["String100"],
2172
+ # },
2173
+ # },
2174
+ # properties: {
2175
+ # dms_task_arn: "Variable",
2176
+ # },
2177
+ # },
2178
+ # compare_action: {
2179
+ # input: { # required
2180
+ # file: {
2181
+ # source_location: "Variable", # required
2182
+ # target_location: "Variable", # required
2183
+ # file_metadata: { # required
2184
+ # data_sets: [
2185
+ # {
2186
+ # type: "PS", # required, accepts PS
2187
+ # name: "String100", # required
2188
+ # ccsid: "String50", # required
2189
+ # format: "FIXED", # required, accepts FIXED, VARIABLE, LINE_SEQUENTIAL
2190
+ # length: 1, # required
2191
+ # },
2192
+ # ],
2193
+ # database_cdc: {
2194
+ # source_metadata: { # required
2195
+ # type: "z/OS-DB2", # required, accepts z/OS-DB2
2196
+ # capture_tool: "Precisely", # required, accepts Precisely, AWS DMS
2197
+ # },
2198
+ # target_metadata: { # required
2199
+ # type: "PostgreSQL", # required, accepts PostgreSQL
2200
+ # capture_tool: "Precisely", # required, accepts Precisely, AWS DMS
2201
+ # },
2202
+ # },
2203
+ # },
2204
+ # },
2205
+ # },
2206
+ # output: {
2207
+ # file: {
2208
+ # file_location: "S3Uri",
2209
+ # },
2210
+ # },
2211
+ # },
2212
+ # },
2213
+ # },
2214
+ # ],
2215
+ # test_cases: {
2216
+ # sequential: ["Identifier"],
2217
+ # },
2218
+ # })
2219
+ #
2220
+ # @example Response structure
2221
+ #
2222
+ # resp.test_suite_id #=> String
2223
+ # resp.test_suite_version #=> Integer
2224
+ #
2225
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/UpdateTestSuite AWS API Documentation
2226
+ #
2227
+ # @overload update_test_suite(params = {})
2228
+ # @param [Hash] params ({})
2229
+ def update_test_suite(params = {}, options = {})
2230
+ req = build_request(:update_test_suite, params)
2231
+ req.send_request(options)
2232
+ end
2233
+
2234
+ # @!endgroup
2235
+
2236
+ # @param params ({})
2237
+ # @api private
2238
+ def build_request(operation_name, params = {})
2239
+ handlers = @handlers.for(operation_name)
2240
+ context = Seahorse::Client::RequestContext.new(
2241
+ operation_name: operation_name,
2242
+ operation: config.api.operation(operation_name),
2243
+ client: self,
2244
+ params: params,
2245
+ config: config)
2246
+ context[:gem_name] = 'aws-sdk-apptest'
2247
+ context[:gem_version] = '1.0.0'
2248
+ Seahorse::Client::Request.new(handlers, context)
2249
+ end
2250
+
2251
+ # @api private
2252
+ # @deprecated
2253
+ def waiter_names
2254
+ []
2255
+ end
2256
+
2257
+ class << self
2258
+
2259
+ # @api private
2260
+ attr_reader :identifier
2261
+
2262
+ # @api private
2263
+ def errors_module
2264
+ Errors
2265
+ end
2266
+
2267
+ end
2268
+ end
2269
+ end