aws-sdk-mainframemodernization 1.15.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mainframemodernization/client.rb +136 -49
- data/lib/aws-sdk-mainframemodernization/client_api.rb +50 -0
- data/lib/aws-sdk-mainframemodernization/endpoints.rb +14 -0
- data/lib/aws-sdk-mainframemodernization/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-mainframemodernization/types.rb +132 -0
- data/lib/aws-sdk-mainframemodernization.rb +1 -1
- data/sig/client.rbs +23 -2
- data/sig/types.rbs +43 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abcac5ac1a764c5f8a59aeab5f48d99d779b179bd065a4ef94cb1e02763047e6
|
4
|
+
data.tar.gz: e087f68252516587efa8c93d4aab78aa12e29ba754fa00474f9d397cc5c23149
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cc1e5cae2b389f49c308bc8477f7fe4d58b11a5e6aae1fcb49be395dd09d2502f6a8343134552677d2e6e93a657ca7959876b6b814745c446041ccb7885806b
|
7
|
+
data.tar.gz: b4f2eb590fcca79fc127baaaf58282653f80c1157bfb2701cdf9abdb279f4a687cc374c9d0ebfd5a939e5d6c772f24257725e94635b0a5433d7c2afa41e20913
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.17.0 (2024-04-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.16.0 (2024-04-16)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adding new ListBatchJobRestartPoints API and support for restart batch job.
|
13
|
+
|
4
14
|
1.15.0 (2024-01-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.17.0
|
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::MainframeModernization
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::MainframeModernization
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
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
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -337,50 +346,65 @@ module Aws::MainframeModernization
|
|
337
346
|
# @option options [Aws::MainframeModernization::EndpointProvider] :endpoint_provider
|
338
347
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::MainframeModernization::EndpointParameters`
|
339
348
|
#
|
340
|
-
# @option options [
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# @option options [Float] :
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
349
|
+
# @option options [Float] :http_continue_timeout (1)
|
350
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
351
|
+
# request body. This option has no effect unless the request has "Expect"
|
352
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
353
|
+
# behaviour. This value can safely be set per request on the session.
|
354
|
+
#
|
355
|
+
# @option options [Float] :http_idle_timeout (5)
|
356
|
+
# The number of seconds a connection is allowed to sit idle before it
|
357
|
+
# is considered stale. Stale connections are closed and removed from the
|
358
|
+
# pool before making a request.
|
359
|
+
#
|
360
|
+
# @option options [Float] :http_open_timeout (15)
|
361
|
+
# The default number of seconds to wait for response data.
|
362
|
+
# This value can safely be set per-request on the session.
|
363
|
+
#
|
364
|
+
# @option options [URI::HTTP,String] :http_proxy
|
365
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
366
|
+
#
|
367
|
+
# @option options [Float] :http_read_timeout (60)
|
368
|
+
# The default number of seconds to wait for response data.
|
369
|
+
# This value can safely be set per-request on the session.
|
370
|
+
#
|
371
|
+
# @option options [Boolean] :http_wire_trace (false)
|
372
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
373
|
+
#
|
374
|
+
# @option options [Proc] :on_chunk_received
|
375
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
376
|
+
# of the response body is received. It provides three arguments: the chunk,
|
377
|
+
# the number of bytes received, and the total number of
|
378
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
379
|
+
#
|
380
|
+
# @option options [Proc] :on_chunk_sent
|
381
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
382
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
383
|
+
# the number of bytes read from the body, and the total number of
|
384
|
+
# bytes in the body.
|
385
|
+
#
|
386
|
+
# @option options [Boolean] :raise_response_errors (true)
|
387
|
+
# When `true`, response errors are raised.
|
388
|
+
#
|
389
|
+
# @option options [String] :ssl_ca_bundle
|
390
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
391
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
392
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
393
|
+
#
|
394
|
+
# @option options [String] :ssl_ca_directory
|
395
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
396
|
+
# authority files for verifying peer certificates. If you do
|
397
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
398
|
+
# default will be used if available.
|
368
399
|
#
|
369
|
-
# @option options [
|
370
|
-
#
|
371
|
-
# connection.
|
400
|
+
# @option options [String] :ssl_ca_store
|
401
|
+
# Sets the X509::Store to verify peer certificate.
|
372
402
|
#
|
373
|
-
# @option options [
|
374
|
-
#
|
375
|
-
# verifying peer certificates. If you do not pass
|
376
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
377
|
-
# will be used if available.
|
403
|
+
# @option options [Float] :ssl_timeout
|
404
|
+
# Sets the SSL timeout in seconds
|
378
405
|
#
|
379
|
-
# @option options [
|
380
|
-
#
|
381
|
-
# authority files for verifying peer certificates. If you do
|
382
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
383
|
-
# system default will be used if available.
|
406
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
407
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
384
408
|
#
|
385
409
|
def initialize(*args)
|
386
410
|
super
|
@@ -969,6 +993,7 @@ module Aws::MainframeModernization
|
|
969
993
|
# * {Types::GetBatchJobExecutionResponse#execution_id #execution_id} => String
|
970
994
|
# * {Types::GetBatchJobExecutionResponse#job_id #job_id} => String
|
971
995
|
# * {Types::GetBatchJobExecutionResponse#job_name #job_name} => String
|
996
|
+
# * {Types::GetBatchJobExecutionResponse#job_step_restart_marker #job_step_restart_marker} => Types::JobStepRestartMarker
|
972
997
|
# * {Types::GetBatchJobExecutionResponse#job_type #job_type} => String
|
973
998
|
# * {Types::GetBatchJobExecutionResponse#job_user #job_user} => String
|
974
999
|
# * {Types::GetBatchJobExecutionResponse#return_code #return_code} => String
|
@@ -988,6 +1013,11 @@ module Aws::MainframeModernization
|
|
988
1013
|
# resp.application_id #=> String
|
989
1014
|
# resp.batch_job_identifier.file_batch_job_identifier.file_name #=> String
|
990
1015
|
# resp.batch_job_identifier.file_batch_job_identifier.folder_path #=> String
|
1016
|
+
# resp.batch_job_identifier.restart_batch_job_identifier.execution_id #=> String
|
1017
|
+
# resp.batch_job_identifier.restart_batch_job_identifier.job_step_restart_marker.from_proc_step #=> String
|
1018
|
+
# resp.batch_job_identifier.restart_batch_job_identifier.job_step_restart_marker.from_step #=> String
|
1019
|
+
# resp.batch_job_identifier.restart_batch_job_identifier.job_step_restart_marker.to_proc_step #=> String
|
1020
|
+
# resp.batch_job_identifier.restart_batch_job_identifier.job_step_restart_marker.to_step #=> String
|
991
1021
|
# resp.batch_job_identifier.s3_batch_job_identifier.bucket #=> String
|
992
1022
|
# resp.batch_job_identifier.s3_batch_job_identifier.identifier.file_name #=> String
|
993
1023
|
# resp.batch_job_identifier.s3_batch_job_identifier.identifier.script_name #=> String
|
@@ -997,11 +1027,15 @@ module Aws::MainframeModernization
|
|
997
1027
|
# resp.execution_id #=> String
|
998
1028
|
# resp.job_id #=> String
|
999
1029
|
# resp.job_name #=> String
|
1030
|
+
# resp.job_step_restart_marker.from_proc_step #=> String
|
1031
|
+
# resp.job_step_restart_marker.from_step #=> String
|
1032
|
+
# resp.job_step_restart_marker.to_proc_step #=> String
|
1033
|
+
# resp.job_step_restart_marker.to_step #=> String
|
1000
1034
|
# resp.job_type #=> String, one of "VSE", "JES2", "JES3"
|
1001
1035
|
# resp.job_user #=> String
|
1002
1036
|
# resp.return_code #=> String
|
1003
1037
|
# resp.start_time #=> Time
|
1004
|
-
# resp.status #=> String, one of "Submitting", "Holding", "Dispatching", "Running", "Cancelling", "Cancelled", "Succeeded", "Failed", "Succeeded With Warning"
|
1038
|
+
# resp.status #=> String, one of "Submitting", "Holding", "Dispatching", "Running", "Cancelling", "Cancelled", "Succeeded", "Failed", "Purged", "Succeeded With Warning"
|
1005
1039
|
# resp.status_reason #=> String
|
1006
1040
|
#
|
1007
1041
|
# @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/GetBatchJobExecution AWS API Documentation
|
@@ -1469,7 +1503,7 @@ module Aws::MainframeModernization
|
|
1469
1503
|
# next_token: "NextToken",
|
1470
1504
|
# started_after: Time.now,
|
1471
1505
|
# started_before: Time.now,
|
1472
|
-
# status: "Submitting", # accepts Submitting, Holding, Dispatching, Running, Cancelling, Cancelled, Succeeded, Failed, Succeeded With Warning
|
1506
|
+
# status: "Submitting", # accepts Submitting, Holding, Dispatching, Running, Cancelling, Cancelled, Succeeded, Failed, Purged, Succeeded With Warning
|
1473
1507
|
# })
|
1474
1508
|
#
|
1475
1509
|
# @example Response structure
|
@@ -1478,6 +1512,11 @@ module Aws::MainframeModernization
|
|
1478
1512
|
# resp.batch_job_executions[0].application_id #=> String
|
1479
1513
|
# resp.batch_job_executions[0].batch_job_identifier.file_batch_job_identifier.file_name #=> String
|
1480
1514
|
# resp.batch_job_executions[0].batch_job_identifier.file_batch_job_identifier.folder_path #=> String
|
1515
|
+
# resp.batch_job_executions[0].batch_job_identifier.restart_batch_job_identifier.execution_id #=> String
|
1516
|
+
# resp.batch_job_executions[0].batch_job_identifier.restart_batch_job_identifier.job_step_restart_marker.from_proc_step #=> String
|
1517
|
+
# resp.batch_job_executions[0].batch_job_identifier.restart_batch_job_identifier.job_step_restart_marker.from_step #=> String
|
1518
|
+
# resp.batch_job_executions[0].batch_job_identifier.restart_batch_job_identifier.job_step_restart_marker.to_proc_step #=> String
|
1519
|
+
# resp.batch_job_executions[0].batch_job_identifier.restart_batch_job_identifier.job_step_restart_marker.to_step #=> String
|
1481
1520
|
# resp.batch_job_executions[0].batch_job_identifier.s3_batch_job_identifier.bucket #=> String
|
1482
1521
|
# resp.batch_job_executions[0].batch_job_identifier.s3_batch_job_identifier.identifier.file_name #=> String
|
1483
1522
|
# resp.batch_job_executions[0].batch_job_identifier.s3_batch_job_identifier.identifier.script_name #=> String
|
@@ -1490,7 +1529,7 @@ module Aws::MainframeModernization
|
|
1490
1529
|
# resp.batch_job_executions[0].job_type #=> String, one of "VSE", "JES2", "JES3"
|
1491
1530
|
# resp.batch_job_executions[0].return_code #=> String
|
1492
1531
|
# resp.batch_job_executions[0].start_time #=> Time
|
1493
|
-
# resp.batch_job_executions[0].status #=> String, one of "Submitting", "Holding", "Dispatching", "Running", "Cancelling", "Cancelled", "Succeeded", "Failed", "Succeeded With Warning"
|
1532
|
+
# resp.batch_job_executions[0].status #=> String, one of "Submitting", "Holding", "Dispatching", "Running", "Cancelling", "Cancelled", "Succeeded", "Failed", "Purged", "Succeeded With Warning"
|
1494
1533
|
# resp.next_token #=> String
|
1495
1534
|
#
|
1496
1535
|
# @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/ListBatchJobExecutions AWS API Documentation
|
@@ -1502,6 +1541,45 @@ module Aws::MainframeModernization
|
|
1502
1541
|
req.send_request(options)
|
1503
1542
|
end
|
1504
1543
|
|
1544
|
+
# Lists all the job steps for JCL files to restart a batch job. This is
|
1545
|
+
# only applicable for Micro Focus engine with versions 8.0.6 and above.
|
1546
|
+
#
|
1547
|
+
# @option params [required, String] :application_id
|
1548
|
+
# The unique identifier of the application.
|
1549
|
+
#
|
1550
|
+
# @option params [required, String] :execution_id
|
1551
|
+
# The unique identifier of each batch job execution.
|
1552
|
+
#
|
1553
|
+
# @return [Types::ListBatchJobRestartPointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1554
|
+
#
|
1555
|
+
# * {Types::ListBatchJobRestartPointsResponse#batch_job_steps #batch_job_steps} => Array<Types::JobStep>
|
1556
|
+
#
|
1557
|
+
# @example Request syntax with placeholder values
|
1558
|
+
#
|
1559
|
+
# resp = client.list_batch_job_restart_points({
|
1560
|
+
# application_id: "Identifier", # required
|
1561
|
+
# execution_id: "Identifier", # required
|
1562
|
+
# })
|
1563
|
+
#
|
1564
|
+
# @example Response structure
|
1565
|
+
#
|
1566
|
+
# resp.batch_job_steps #=> Array
|
1567
|
+
# resp.batch_job_steps[0].proc_step_name #=> String
|
1568
|
+
# resp.batch_job_steps[0].proc_step_number #=> Integer
|
1569
|
+
# resp.batch_job_steps[0].step_cond_code #=> String
|
1570
|
+
# resp.batch_job_steps[0].step_name #=> String
|
1571
|
+
# resp.batch_job_steps[0].step_number #=> Integer
|
1572
|
+
# resp.batch_job_steps[0].step_restartable #=> Boolean
|
1573
|
+
#
|
1574
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/ListBatchJobRestartPoints AWS API Documentation
|
1575
|
+
#
|
1576
|
+
# @overload list_batch_job_restart_points(params = {})
|
1577
|
+
# @param [Hash] params ({})
|
1578
|
+
def list_batch_job_restart_points(params = {}, options = {})
|
1579
|
+
req = build_request(:list_batch_job_restart_points, params)
|
1580
|
+
req.send_request(options)
|
1581
|
+
end
|
1582
|
+
|
1505
1583
|
# Lists the data set imports for the specified application.
|
1506
1584
|
#
|
1507
1585
|
# @option params [required, String] :application_id
|
@@ -1853,6 +1931,15 @@ module Aws::MainframeModernization
|
|
1853
1931
|
# file_name: "String", # required
|
1854
1932
|
# folder_path: "String",
|
1855
1933
|
# },
|
1934
|
+
# restart_batch_job_identifier: {
|
1935
|
+
# execution_id: "Identifier", # required
|
1936
|
+
# job_step_restart_marker: { # required
|
1937
|
+
# from_proc_step: "String",
|
1938
|
+
# from_step: "String", # required
|
1939
|
+
# to_proc_step: "String",
|
1940
|
+
# to_step: "String",
|
1941
|
+
# },
|
1942
|
+
# },
|
1856
1943
|
# s3_batch_job_identifier: {
|
1857
1944
|
# bucket: "String", # required
|
1858
1945
|
# identifier: { # required
|
@@ -2098,7 +2185,7 @@ module Aws::MainframeModernization
|
|
2098
2185
|
params: params,
|
2099
2186
|
config: config)
|
2100
2187
|
context[:gem_name] = 'aws-sdk-mainframemodernization'
|
2101
|
-
context[:gem_version] = '1.
|
2188
|
+
context[:gem_version] = '1.17.0'
|
2102
2189
|
Seahorse::Client::Request.new(handlers, context)
|
2103
2190
|
end
|
2104
2191
|
|
@@ -32,6 +32,7 @@ module Aws::MainframeModernization
|
|
32
32
|
BatchJobExecutionSummaryList = Shapes::ListShape.new(name: 'BatchJobExecutionSummaryList')
|
33
33
|
BatchJobIdentifier = Shapes::UnionShape.new(name: 'BatchJobIdentifier')
|
34
34
|
BatchJobParametersMap = Shapes::MapShape.new(name: 'BatchJobParametersMap')
|
35
|
+
BatchJobStepList = Shapes::ListShape.new(name: 'BatchJobStepList')
|
35
36
|
BatchJobType = Shapes::StringShape.new(name: 'BatchJobType')
|
36
37
|
BatchParamKey = Shapes::StringShape.new(name: 'BatchParamKey')
|
37
38
|
BatchParamValue = Shapes::StringShape.new(name: 'BatchParamValue')
|
@@ -110,6 +111,8 @@ module Aws::MainframeModernization
|
|
110
111
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
111
112
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
112
113
|
JobIdentifier = Shapes::UnionShape.new(name: 'JobIdentifier')
|
114
|
+
JobStep = Shapes::StructureShape.new(name: 'JobStep')
|
115
|
+
JobStepRestartMarker = Shapes::StructureShape.new(name: 'JobStepRestartMarker')
|
113
116
|
ListApplicationVersionsRequest = Shapes::StructureShape.new(name: 'ListApplicationVersionsRequest')
|
114
117
|
ListApplicationVersionsResponse = Shapes::StructureShape.new(name: 'ListApplicationVersionsResponse')
|
115
118
|
ListApplicationsRequest = Shapes::StructureShape.new(name: 'ListApplicationsRequest')
|
@@ -118,6 +121,8 @@ module Aws::MainframeModernization
|
|
118
121
|
ListBatchJobDefinitionsResponse = Shapes::StructureShape.new(name: 'ListBatchJobDefinitionsResponse')
|
119
122
|
ListBatchJobExecutionsRequest = Shapes::StructureShape.new(name: 'ListBatchJobExecutionsRequest')
|
120
123
|
ListBatchJobExecutionsResponse = Shapes::StructureShape.new(name: 'ListBatchJobExecutionsResponse')
|
124
|
+
ListBatchJobRestartPointsRequest = Shapes::StructureShape.new(name: 'ListBatchJobRestartPointsRequest')
|
125
|
+
ListBatchJobRestartPointsResponse = Shapes::StructureShape.new(name: 'ListBatchJobRestartPointsResponse')
|
121
126
|
ListDataSetImportHistoryRequest = Shapes::StructureShape.new(name: 'ListDataSetImportHistoryRequest')
|
122
127
|
ListDataSetImportHistoryResponse = Shapes::StructureShape.new(name: 'ListDataSetImportHistoryResponse')
|
123
128
|
ListDataSetsRequest = Shapes::StructureShape.new(name: 'ListDataSetsRequest')
|
@@ -146,6 +151,7 @@ module Aws::MainframeModernization
|
|
146
151
|
PsDetailAttributes = Shapes::StructureShape.new(name: 'PsDetailAttributes')
|
147
152
|
RecordLength = Shapes::StructureShape.new(name: 'RecordLength')
|
148
153
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
154
|
+
RestartBatchJobIdentifier = Shapes::StructureShape.new(name: 'RestartBatchJobIdentifier')
|
149
155
|
S3BatchJobIdentifier = Shapes::StructureShape.new(name: 'S3BatchJobIdentifier')
|
150
156
|
ScriptBatchJobDefinition = Shapes::StructureShape.new(name: 'ScriptBatchJobDefinition')
|
151
157
|
ScriptBatchJobIdentifier = Shapes::StructureShape.new(name: 'ScriptBatchJobIdentifier')
|
@@ -253,10 +259,12 @@ module Aws::MainframeModernization
|
|
253
259
|
BatchJobExecutionSummaryList.member = Shapes::ShapeRef.new(shape: BatchJobExecutionSummary)
|
254
260
|
|
255
261
|
BatchJobIdentifier.add_member(:file_batch_job_identifier, Shapes::ShapeRef.new(shape: FileBatchJobIdentifier, location_name: "fileBatchJobIdentifier"))
|
262
|
+
BatchJobIdentifier.add_member(:restart_batch_job_identifier, Shapes::ShapeRef.new(shape: RestartBatchJobIdentifier, location_name: "restartBatchJobIdentifier"))
|
256
263
|
BatchJobIdentifier.add_member(:s3_batch_job_identifier, Shapes::ShapeRef.new(shape: S3BatchJobIdentifier, location_name: "s3BatchJobIdentifier"))
|
257
264
|
BatchJobIdentifier.add_member(:script_batch_job_identifier, Shapes::ShapeRef.new(shape: ScriptBatchJobIdentifier, location_name: "scriptBatchJobIdentifier"))
|
258
265
|
BatchJobIdentifier.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
259
266
|
BatchJobIdentifier.add_member_subclass(:file_batch_job_identifier, Types::BatchJobIdentifier::FileBatchJobIdentifier)
|
267
|
+
BatchJobIdentifier.add_member_subclass(:restart_batch_job_identifier, Types::BatchJobIdentifier::RestartBatchJobIdentifier)
|
260
268
|
BatchJobIdentifier.add_member_subclass(:s3_batch_job_identifier, Types::BatchJobIdentifier::S3BatchJobIdentifier)
|
261
269
|
BatchJobIdentifier.add_member_subclass(:script_batch_job_identifier, Types::BatchJobIdentifier::ScriptBatchJobIdentifier)
|
262
270
|
BatchJobIdentifier.add_member_subclass(:unknown, Types::BatchJobIdentifier::Unknown)
|
@@ -265,6 +273,8 @@ module Aws::MainframeModernization
|
|
265
273
|
BatchJobParametersMap.key = Shapes::ShapeRef.new(shape: BatchParamKey)
|
266
274
|
BatchJobParametersMap.value = Shapes::ShapeRef.new(shape: BatchParamValue)
|
267
275
|
|
276
|
+
BatchJobStepList.member = Shapes::ShapeRef.new(shape: JobStep)
|
277
|
+
|
268
278
|
CancelBatchJobExecutionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
|
269
279
|
CancelBatchJobExecutionRequest.add_member(:execution_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "executionId"))
|
270
280
|
CancelBatchJobExecutionRequest.struct_class = Types::CancelBatchJobExecutionRequest
|
@@ -538,6 +548,7 @@ module Aws::MainframeModernization
|
|
538
548
|
GetBatchJobExecutionResponse.add_member(:execution_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "executionId"))
|
539
549
|
GetBatchJobExecutionResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: String100, location_name: "jobId"))
|
540
550
|
GetBatchJobExecutionResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: String100, location_name: "jobName"))
|
551
|
+
GetBatchJobExecutionResponse.add_member(:job_step_restart_marker, Shapes::ShapeRef.new(shape: JobStepRestartMarker, location_name: "jobStepRestartMarker"))
|
541
552
|
GetBatchJobExecutionResponse.add_member(:job_type, Shapes::ShapeRef.new(shape: BatchJobType, location_name: "jobType"))
|
542
553
|
GetBatchJobExecutionResponse.add_member(:job_user, Shapes::ShapeRef.new(shape: String100, location_name: "jobUser"))
|
543
554
|
GetBatchJobExecutionResponse.add_member(:return_code, Shapes::ShapeRef.new(shape: String, location_name: "returnCode"))
|
@@ -630,6 +641,20 @@ module Aws::MainframeModernization
|
|
630
641
|
JobIdentifier.add_member_subclass(:unknown, Types::JobIdentifier::Unknown)
|
631
642
|
JobIdentifier.struct_class = Types::JobIdentifier
|
632
643
|
|
644
|
+
JobStep.add_member(:proc_step_name, Shapes::ShapeRef.new(shape: String, location_name: "procStepName"))
|
645
|
+
JobStep.add_member(:proc_step_number, Shapes::ShapeRef.new(shape: Integer, location_name: "procStepNumber"))
|
646
|
+
JobStep.add_member(:step_cond_code, Shapes::ShapeRef.new(shape: String, location_name: "stepCondCode"))
|
647
|
+
JobStep.add_member(:step_name, Shapes::ShapeRef.new(shape: String, location_name: "stepName"))
|
648
|
+
JobStep.add_member(:step_number, Shapes::ShapeRef.new(shape: Integer, location_name: "stepNumber"))
|
649
|
+
JobStep.add_member(:step_restartable, Shapes::ShapeRef.new(shape: Boolean, location_name: "stepRestartable"))
|
650
|
+
JobStep.struct_class = Types::JobStep
|
651
|
+
|
652
|
+
JobStepRestartMarker.add_member(:from_proc_step, Shapes::ShapeRef.new(shape: String, location_name: "fromProcStep"))
|
653
|
+
JobStepRestartMarker.add_member(:from_step, Shapes::ShapeRef.new(shape: String, required: true, location_name: "fromStep"))
|
654
|
+
JobStepRestartMarker.add_member(:to_proc_step, Shapes::ShapeRef.new(shape: String, location_name: "toProcStep"))
|
655
|
+
JobStepRestartMarker.add_member(:to_step, Shapes::ShapeRef.new(shape: String, location_name: "toStep"))
|
656
|
+
JobStepRestartMarker.struct_class = Types::JobStepRestartMarker
|
657
|
+
|
633
658
|
ListApplicationVersionsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
|
634
659
|
ListApplicationVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
635
660
|
ListApplicationVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
@@ -673,6 +698,13 @@ module Aws::MainframeModernization
|
|
673
698
|
ListBatchJobExecutionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
674
699
|
ListBatchJobExecutionsResponse.struct_class = Types::ListBatchJobExecutionsResponse
|
675
700
|
|
701
|
+
ListBatchJobRestartPointsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
|
702
|
+
ListBatchJobRestartPointsRequest.add_member(:execution_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "executionId"))
|
703
|
+
ListBatchJobRestartPointsRequest.struct_class = Types::ListBatchJobRestartPointsRequest
|
704
|
+
|
705
|
+
ListBatchJobRestartPointsResponse.add_member(:batch_job_steps, Shapes::ShapeRef.new(shape: BatchJobStepList, location_name: "batchJobSteps"))
|
706
|
+
ListBatchJobRestartPointsResponse.struct_class = Types::ListBatchJobRestartPointsResponse
|
707
|
+
|
676
708
|
ListDataSetImportHistoryRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
|
677
709
|
ListDataSetImportHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
678
710
|
ListDataSetImportHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
@@ -774,6 +806,10 @@ module Aws::MainframeModernization
|
|
774
806
|
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
775
807
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
776
808
|
|
809
|
+
RestartBatchJobIdentifier.add_member(:execution_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "executionId"))
|
810
|
+
RestartBatchJobIdentifier.add_member(:job_step_restart_marker, Shapes::ShapeRef.new(shape: JobStepRestartMarker, required: true, location_name: "jobStepRestartMarker"))
|
811
|
+
RestartBatchJobIdentifier.struct_class = Types::RestartBatchJobIdentifier
|
812
|
+
|
777
813
|
S3BatchJobIdentifier.add_member(:bucket, Shapes::ShapeRef.new(shape: String, required: true, location_name: "bucket"))
|
778
814
|
S3BatchJobIdentifier.add_member(:identifier, Shapes::ShapeRef.new(shape: JobIdentifier, required: true, location_name: "identifier"))
|
779
815
|
S3BatchJobIdentifier.add_member(:key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "keyPrefix"))
|
@@ -1208,6 +1244,20 @@ module Aws::MainframeModernization
|
|
1208
1244
|
)
|
1209
1245
|
end)
|
1210
1246
|
|
1247
|
+
api.add_operation(:list_batch_job_restart_points, Seahorse::Model::Operation.new.tap do |o|
|
1248
|
+
o.name = "ListBatchJobRestartPoints"
|
1249
|
+
o.http_method = "GET"
|
1250
|
+
o.http_request_uri = "/applications/{applicationId}/batch-job-executions/{executionId}/steps"
|
1251
|
+
o.input = Shapes::ShapeRef.new(shape: ListBatchJobRestartPointsRequest)
|
1252
|
+
o.output = Shapes::ShapeRef.new(shape: ListBatchJobRestartPointsResponse)
|
1253
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1254
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1255
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1256
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1257
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1258
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1259
|
+
end)
|
1260
|
+
|
1211
1261
|
api.add_operation(:list_data_set_import_history, Seahorse::Model::Operation.new.tap do |o|
|
1212
1262
|
o.name = "ListDataSetImportHistory"
|
1213
1263
|
o.http_method = "GET"
|
@@ -292,6 +292,20 @@ module Aws::MainframeModernization
|
|
292
292
|
end
|
293
293
|
end
|
294
294
|
|
295
|
+
class ListBatchJobRestartPoints
|
296
|
+
def self.build(context)
|
297
|
+
unless context.config.regional_endpoint
|
298
|
+
endpoint = context.config.endpoint.to_s
|
299
|
+
end
|
300
|
+
Aws::MainframeModernization::EndpointParameters.new(
|
301
|
+
region: context.config.region,
|
302
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
303
|
+
use_fips: context.config.use_fips_endpoint,
|
304
|
+
endpoint: endpoint,
|
305
|
+
)
|
306
|
+
end
|
307
|
+
end
|
308
|
+
|
295
309
|
class ListDataSetImportHistory
|
296
310
|
def self.build(context)
|
297
311
|
unless context.config.regional_endpoint
|
@@ -98,6 +98,8 @@ module Aws::MainframeModernization
|
|
98
98
|
Aws::MainframeModernization::Endpoints::ListBatchJobDefinitions.build(context)
|
99
99
|
when :list_batch_job_executions
|
100
100
|
Aws::MainframeModernization::Endpoints::ListBatchJobExecutions.build(context)
|
101
|
+
when :list_batch_job_restart_points
|
102
|
+
Aws::MainframeModernization::Endpoints::ListBatchJobRestartPoints.build(context)
|
101
103
|
when :list_data_set_import_history
|
102
104
|
Aws::MainframeModernization::Endpoints::ListDataSetImportHistory.build(context)
|
103
105
|
when :list_data_sets
|
@@ -270,6 +270,11 @@ module Aws::MainframeModernization
|
|
270
270
|
# Specifies a file associated with a specific batch job.
|
271
271
|
# @return [Types::FileBatchJobIdentifier]
|
272
272
|
#
|
273
|
+
# @!attribute [rw] restart_batch_job_identifier
|
274
|
+
# Specifies the required information for restart, including execution
|
275
|
+
# ID and jobsteprestartmarker.
|
276
|
+
# @return [Types::RestartBatchJobIdentifier]
|
277
|
+
#
|
273
278
|
# @!attribute [rw] s3_batch_job_identifier
|
274
279
|
# Specifies an Amazon S3 location that identifies the batch jobs that
|
275
280
|
# you want to run. Use this identifier to run ad hoc batch jobs.
|
@@ -284,6 +289,7 @@ module Aws::MainframeModernization
|
|
284
289
|
#
|
285
290
|
class BatchJobIdentifier < Struct.new(
|
286
291
|
:file_batch_job_identifier,
|
292
|
+
:restart_batch_job_identifier,
|
287
293
|
:s3_batch_job_identifier,
|
288
294
|
:script_batch_job_identifier,
|
289
295
|
:unknown)
|
@@ -292,6 +298,7 @@ module Aws::MainframeModernization
|
|
292
298
|
include Aws::Structure::Union
|
293
299
|
|
294
300
|
class FileBatchJobIdentifier < BatchJobIdentifier; end
|
301
|
+
class RestartBatchJobIdentifier < BatchJobIdentifier; end
|
295
302
|
class S3BatchJobIdentifier < BatchJobIdentifier; end
|
296
303
|
class ScriptBatchJobIdentifier < BatchJobIdentifier; end
|
297
304
|
class Unknown < BatchJobIdentifier; end
|
@@ -1514,6 +1521,10 @@ module Aws::MainframeModernization
|
|
1514
1521
|
# The name of this batch job.
|
1515
1522
|
# @return [String]
|
1516
1523
|
#
|
1524
|
+
# @!attribute [rw] job_step_restart_marker
|
1525
|
+
# The restart steps information for the most recent restart operation.
|
1526
|
+
# @return [Types::JobStepRestartMarker]
|
1527
|
+
#
|
1517
1528
|
# @!attribute [rw] job_type
|
1518
1529
|
# The type of job.
|
1519
1530
|
# @return [String]
|
@@ -1553,6 +1564,7 @@ module Aws::MainframeModernization
|
|
1553
1564
|
:execution_id,
|
1554
1565
|
:job_id,
|
1555
1566
|
:job_name,
|
1567
|
+
:job_step_restart_marker,
|
1556
1568
|
:job_type,
|
1557
1569
|
:job_user,
|
1558
1570
|
:return_code,
|
@@ -1947,6 +1959,75 @@ module Aws::MainframeModernization
|
|
1947
1959
|
class Unknown < JobIdentifier; end
|
1948
1960
|
end
|
1949
1961
|
|
1962
|
+
# Provides information related to a job step.
|
1963
|
+
#
|
1964
|
+
# @!attribute [rw] proc_step_name
|
1965
|
+
# The name of a procedure step.
|
1966
|
+
# @return [String]
|
1967
|
+
#
|
1968
|
+
# @!attribute [rw] proc_step_number
|
1969
|
+
# The number of a procedure step.
|
1970
|
+
# @return [Integer]
|
1971
|
+
#
|
1972
|
+
# @!attribute [rw] step_cond_code
|
1973
|
+
# The condition code of a step.
|
1974
|
+
# @return [String]
|
1975
|
+
#
|
1976
|
+
# @!attribute [rw] step_name
|
1977
|
+
# The name of a step.
|
1978
|
+
# @return [String]
|
1979
|
+
#
|
1980
|
+
# @!attribute [rw] step_number
|
1981
|
+
# The number of a step.
|
1982
|
+
# @return [Integer]
|
1983
|
+
#
|
1984
|
+
# @!attribute [rw] step_restartable
|
1985
|
+
# Specifies if a step can be restarted or not.
|
1986
|
+
# @return [Boolean]
|
1987
|
+
#
|
1988
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/JobStep AWS API Documentation
|
1989
|
+
#
|
1990
|
+
class JobStep < Struct.new(
|
1991
|
+
:proc_step_name,
|
1992
|
+
:proc_step_number,
|
1993
|
+
:step_cond_code,
|
1994
|
+
:step_name,
|
1995
|
+
:step_number,
|
1996
|
+
:step_restartable)
|
1997
|
+
SENSITIVE = []
|
1998
|
+
include Aws::Structure
|
1999
|
+
end
|
2000
|
+
|
2001
|
+
# Provides restart step information for the most recent restart
|
2002
|
+
# operation.
|
2003
|
+
#
|
2004
|
+
# @!attribute [rw] from_proc_step
|
2005
|
+
# The procedure step name that a job was restarted from.
|
2006
|
+
# @return [String]
|
2007
|
+
#
|
2008
|
+
# @!attribute [rw] from_step
|
2009
|
+
# The step name that a batch job restart was from.
|
2010
|
+
# @return [String]
|
2011
|
+
#
|
2012
|
+
# @!attribute [rw] to_proc_step
|
2013
|
+
# The procedure step name that a batch job was restarted to.
|
2014
|
+
# @return [String]
|
2015
|
+
#
|
2016
|
+
# @!attribute [rw] to_step
|
2017
|
+
# The step name that a job was restarted to.
|
2018
|
+
# @return [String]
|
2019
|
+
#
|
2020
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/JobStepRestartMarker AWS API Documentation
|
2021
|
+
#
|
2022
|
+
class JobStepRestartMarker < Struct.new(
|
2023
|
+
:from_proc_step,
|
2024
|
+
:from_step,
|
2025
|
+
:to_proc_step,
|
2026
|
+
:to_step)
|
2027
|
+
SENSITIVE = []
|
2028
|
+
include Aws::Structure
|
2029
|
+
end
|
2030
|
+
|
1950
2031
|
# @!attribute [rw] application_id
|
1951
2032
|
# The unique identifier of the application.
|
1952
2033
|
# @return [String]
|
@@ -2153,6 +2234,36 @@ module Aws::MainframeModernization
|
|
2153
2234
|
include Aws::Structure
|
2154
2235
|
end
|
2155
2236
|
|
2237
|
+
# @!attribute [rw] application_id
|
2238
|
+
# The unique identifier of the application.
|
2239
|
+
# @return [String]
|
2240
|
+
#
|
2241
|
+
# @!attribute [rw] execution_id
|
2242
|
+
# The unique identifier of each batch job execution.
|
2243
|
+
# @return [String]
|
2244
|
+
#
|
2245
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/ListBatchJobRestartPointsRequest AWS API Documentation
|
2246
|
+
#
|
2247
|
+
class ListBatchJobRestartPointsRequest < Struct.new(
|
2248
|
+
:application_id,
|
2249
|
+
:execution_id)
|
2250
|
+
SENSITIVE = []
|
2251
|
+
include Aws::Structure
|
2252
|
+
end
|
2253
|
+
|
2254
|
+
# @!attribute [rw] batch_job_steps
|
2255
|
+
# Returns all the batch job steps and related information for a batch
|
2256
|
+
# job that previously ran.
|
2257
|
+
# @return [Array<Types::JobStep>]
|
2258
|
+
#
|
2259
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/ListBatchJobRestartPointsResponse AWS API Documentation
|
2260
|
+
#
|
2261
|
+
class ListBatchJobRestartPointsResponse < Struct.new(
|
2262
|
+
:batch_job_steps)
|
2263
|
+
SENSITIVE = []
|
2264
|
+
include Aws::Structure
|
2265
|
+
end
|
2266
|
+
|
2156
2267
|
# @!attribute [rw] application_id
|
2157
2268
|
# The unique identifier of the application.
|
2158
2269
|
# @return [String]
|
@@ -2623,6 +2734,27 @@ module Aws::MainframeModernization
|
|
2623
2734
|
include Aws::Structure
|
2624
2735
|
end
|
2625
2736
|
|
2737
|
+
# An identifier for the StartBatchJob API to show that it is a restart
|
2738
|
+
# operation.
|
2739
|
+
#
|
2740
|
+
# @!attribute [rw] execution_id
|
2741
|
+
# The executionId from the StartBatchJob response when the job ran for
|
2742
|
+
# the first time.
|
2743
|
+
# @return [String]
|
2744
|
+
#
|
2745
|
+
# @!attribute [rw] job_step_restart_marker
|
2746
|
+
# The restart step information for the most recent restart operation.
|
2747
|
+
# @return [Types::JobStepRestartMarker]
|
2748
|
+
#
|
2749
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/RestartBatchJobIdentifier AWS API Documentation
|
2750
|
+
#
|
2751
|
+
class RestartBatchJobIdentifier < Struct.new(
|
2752
|
+
:execution_id,
|
2753
|
+
:job_step_restart_marker)
|
2754
|
+
SENSITIVE = []
|
2755
|
+
include Aws::Structure
|
2756
|
+
end
|
2757
|
+
|
2626
2758
|
# A batch job identifier in which the batch jobs to run are identified
|
2627
2759
|
# by an Amazon S3 location.
|
2628
2760
|
#
|
data/sig/client.rbs
CHANGED
@@ -298,11 +298,12 @@ module Aws
|
|
298
298
|
def execution_id: () -> ::String
|
299
299
|
def job_id: () -> ::String
|
300
300
|
def job_name: () -> ::String
|
301
|
+
def job_step_restart_marker: () -> Types::JobStepRestartMarker
|
301
302
|
def job_type: () -> ("VSE" | "JES2" | "JES3")
|
302
303
|
def job_user: () -> ::String
|
303
304
|
def return_code: () -> ::String
|
304
305
|
def start_time: () -> ::Time
|
305
|
-
def status: () -> ("Submitting" | "Holding" | "Dispatching" | "Running" | "Cancelling" | "Cancelled" | "Succeeded" | "Failed" | "Succeeded With Warning")
|
306
|
+
def status: () -> ("Submitting" | "Holding" | "Dispatching" | "Running" | "Cancelling" | "Cancelled" | "Succeeded" | "Failed" | "Purged" | "Succeeded With Warning")
|
306
307
|
def status_reason: () -> ::String
|
307
308
|
end
|
308
309
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MainframeModernization/Client.html#get_batch_job_execution-instance_method
|
@@ -455,10 +456,21 @@ module Aws
|
|
455
456
|
?next_token: ::String,
|
456
457
|
?started_after: ::Time,
|
457
458
|
?started_before: ::Time,
|
458
|
-
?status: ("Submitting" | "Holding" | "Dispatching" | "Running" | "Cancelling" | "Cancelled" | "Succeeded" | "Failed" | "Succeeded With Warning")
|
459
|
+
?status: ("Submitting" | "Holding" | "Dispatching" | "Running" | "Cancelling" | "Cancelled" | "Succeeded" | "Failed" | "Purged" | "Succeeded With Warning")
|
459
460
|
) -> _ListBatchJobExecutionsResponseSuccess
|
460
461
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBatchJobExecutionsResponseSuccess
|
461
462
|
|
463
|
+
interface _ListBatchJobRestartPointsResponseSuccess
|
464
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBatchJobRestartPointsResponse]
|
465
|
+
def batch_job_steps: () -> ::Array[Types::JobStep]
|
466
|
+
end
|
467
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MainframeModernization/Client.html#list_batch_job_restart_points-instance_method
|
468
|
+
def list_batch_job_restart_points: (
|
469
|
+
application_id: ::String,
|
470
|
+
execution_id: ::String
|
471
|
+
) -> _ListBatchJobRestartPointsResponseSuccess
|
472
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBatchJobRestartPointsResponseSuccess
|
473
|
+
|
462
474
|
interface _ListDataSetImportHistoryResponseSuccess
|
463
475
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListDataSetImportHistoryResponse]
|
464
476
|
def data_set_import_tasks: () -> ::Array[Types::DataSetImportTask]
|
@@ -558,6 +570,15 @@ module Aws
|
|
558
570
|
file_name: ::String,
|
559
571
|
folder_path: ::String?
|
560
572
|
}?,
|
573
|
+
restart_batch_job_identifier: {
|
574
|
+
execution_id: ::String,
|
575
|
+
job_step_restart_marker: {
|
576
|
+
from_proc_step: ::String?,
|
577
|
+
from_step: ::String,
|
578
|
+
to_proc_step: ::String?,
|
579
|
+
to_step: ::String?
|
580
|
+
}
|
581
|
+
}?,
|
561
582
|
s3_batch_job_identifier: {
|
562
583
|
bucket: ::String,
|
563
584
|
identifier: {
|
data/sig/types.rbs
CHANGED
@@ -70,12 +70,13 @@ module Aws::MainframeModernization
|
|
70
70
|
attr_accessor job_type: ("VSE" | "JES2" | "JES3")
|
71
71
|
attr_accessor return_code: ::String
|
72
72
|
attr_accessor start_time: ::Time
|
73
|
-
attr_accessor status: ("Submitting" | "Holding" | "Dispatching" | "Running" | "Cancelling" | "Cancelled" | "Succeeded" | "Failed" | "Succeeded With Warning")
|
73
|
+
attr_accessor status: ("Submitting" | "Holding" | "Dispatching" | "Running" | "Cancelling" | "Cancelled" | "Succeeded" | "Failed" | "Purged" | "Succeeded With Warning")
|
74
74
|
SENSITIVE: []
|
75
75
|
end
|
76
76
|
|
77
77
|
class BatchJobIdentifier
|
78
78
|
attr_accessor file_batch_job_identifier: Types::FileBatchJobIdentifier
|
79
|
+
attr_accessor restart_batch_job_identifier: Types::RestartBatchJobIdentifier
|
79
80
|
attr_accessor s3_batch_job_identifier: Types::S3BatchJobIdentifier
|
80
81
|
attr_accessor script_batch_job_identifier: Types::ScriptBatchJobIdentifier
|
81
82
|
attr_accessor unknown: untyped
|
@@ -83,6 +84,8 @@ module Aws::MainframeModernization
|
|
83
84
|
|
84
85
|
class FileBatchJobIdentifier < BatchJobIdentifier
|
85
86
|
end
|
87
|
+
class RestartBatchJobIdentifier < BatchJobIdentifier
|
88
|
+
end
|
86
89
|
class S3BatchJobIdentifier < BatchJobIdentifier
|
87
90
|
end
|
88
91
|
class ScriptBatchJobIdentifier < BatchJobIdentifier
|
@@ -456,11 +459,12 @@ module Aws::MainframeModernization
|
|
456
459
|
attr_accessor execution_id: ::String
|
457
460
|
attr_accessor job_id: ::String
|
458
461
|
attr_accessor job_name: ::String
|
462
|
+
attr_accessor job_step_restart_marker: Types::JobStepRestartMarker
|
459
463
|
attr_accessor job_type: ("VSE" | "JES2" | "JES3")
|
460
464
|
attr_accessor job_user: ::String
|
461
465
|
attr_accessor return_code: ::String
|
462
466
|
attr_accessor start_time: ::Time
|
463
|
-
attr_accessor status: ("Submitting" | "Holding" | "Dispatching" | "Running" | "Cancelling" | "Cancelled" | "Succeeded" | "Failed" | "Succeeded With Warning")
|
467
|
+
attr_accessor status: ("Submitting" | "Holding" | "Dispatching" | "Running" | "Cancelling" | "Cancelled" | "Succeeded" | "Failed" | "Purged" | "Succeeded With Warning")
|
464
468
|
attr_accessor status_reason: ::String
|
465
469
|
SENSITIVE: []
|
466
470
|
end
|
@@ -575,6 +579,24 @@ module Aws::MainframeModernization
|
|
575
579
|
end
|
576
580
|
end
|
577
581
|
|
582
|
+
class JobStep
|
583
|
+
attr_accessor proc_step_name: ::String
|
584
|
+
attr_accessor proc_step_number: ::Integer
|
585
|
+
attr_accessor step_cond_code: ::String
|
586
|
+
attr_accessor step_name: ::String
|
587
|
+
attr_accessor step_number: ::Integer
|
588
|
+
attr_accessor step_restartable: bool
|
589
|
+
SENSITIVE: []
|
590
|
+
end
|
591
|
+
|
592
|
+
class JobStepRestartMarker
|
593
|
+
attr_accessor from_proc_step: ::String
|
594
|
+
attr_accessor from_step: ::String
|
595
|
+
attr_accessor to_proc_step: ::String
|
596
|
+
attr_accessor to_step: ::String
|
597
|
+
SENSITIVE: []
|
598
|
+
end
|
599
|
+
|
578
600
|
class ListApplicationVersionsRequest
|
579
601
|
attr_accessor application_id: ::String
|
580
602
|
attr_accessor max_results: ::Integer
|
@@ -624,7 +646,7 @@ module Aws::MainframeModernization
|
|
624
646
|
attr_accessor next_token: ::String
|
625
647
|
attr_accessor started_after: ::Time
|
626
648
|
attr_accessor started_before: ::Time
|
627
|
-
attr_accessor status: ("Submitting" | "Holding" | "Dispatching" | "Running" | "Cancelling" | "Cancelled" | "Succeeded" | "Failed" | "Succeeded With Warning")
|
649
|
+
attr_accessor status: ("Submitting" | "Holding" | "Dispatching" | "Running" | "Cancelling" | "Cancelled" | "Succeeded" | "Failed" | "Purged" | "Succeeded With Warning")
|
628
650
|
SENSITIVE: []
|
629
651
|
end
|
630
652
|
|
@@ -634,6 +656,17 @@ module Aws::MainframeModernization
|
|
634
656
|
SENSITIVE: []
|
635
657
|
end
|
636
658
|
|
659
|
+
class ListBatchJobRestartPointsRequest
|
660
|
+
attr_accessor application_id: ::String
|
661
|
+
attr_accessor execution_id: ::String
|
662
|
+
SENSITIVE: []
|
663
|
+
end
|
664
|
+
|
665
|
+
class ListBatchJobRestartPointsResponse
|
666
|
+
attr_accessor batch_job_steps: ::Array[Types::JobStep]
|
667
|
+
SENSITIVE: []
|
668
|
+
end
|
669
|
+
|
637
670
|
class ListDataSetImportHistoryRequest
|
638
671
|
attr_accessor application_id: ::String
|
639
672
|
attr_accessor max_results: ::Integer
|
@@ -775,6 +808,12 @@ module Aws::MainframeModernization
|
|
775
808
|
SENSITIVE: []
|
776
809
|
end
|
777
810
|
|
811
|
+
class RestartBatchJobIdentifier
|
812
|
+
attr_accessor execution_id: ::String
|
813
|
+
attr_accessor job_step_restart_marker: Types::JobStepRestartMarker
|
814
|
+
SENSITIVE: []
|
815
|
+
end
|
816
|
+
|
778
817
|
class S3BatchJobIdentifier
|
779
818
|
attr_accessor bucket: ::String
|
780
819
|
attr_accessor identifier: Types::JobIdentifier
|
@@ -907,7 +946,7 @@ module Aws::MainframeModernization
|
|
907
946
|
class ValidationException
|
908
947
|
attr_accessor field_list: ::Array[Types::ValidationExceptionField]
|
909
948
|
attr_accessor message: ::String
|
910
|
-
attr_accessor reason: ("unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other")
|
949
|
+
attr_accessor reason: ("unknownOperation" | "cannotParse" | "featureNotAvailable" | "unsupportedEngineVersion" | "fieldValidationFailed" | "other")
|
911
950
|
SENSITIVE: []
|
912
951
|
end
|
913
952
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-mainframemodernization
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.193.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|