aws-sdk-mainframemodernization 1.14.0 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72d26a9b41aa9cdf2496e33c8652a60ec6c3630152781dfcbe3a5935487201ab
4
- data.tar.gz: fd4943e1a83a6cf0e2eb8c31b3dc3bbe12c2d9d5f8ddff3b950b359987fa49ac
3
+ metadata.gz: c0b2220ec383af0e92ce8ced6b6508adcea843fa30bdcaa38e38a93efb9d1edf
4
+ data.tar.gz: 2140f1ab54ecf8ee99276ebaf780e33e5b2cd80db12aaedafe69c68e186a488e
5
5
  SHA512:
6
- metadata.gz: 2d6e44861efde2666dec1a20688bbef8bbe7609a8f4e2d8bbb90a2f344f4a4859bfda6367c95983d153e94e85f38e841d564db84458480205baa3a0ec653b2cf
7
- data.tar.gz: 316f77b80b92f856ba3dd7bf70f106fa6072770aab40390ce9b6d347eff39a2d7ca249883ebeb910fb56111151b53629abd157dc6d8e116d836713484257d3f4
6
+ metadata.gz: 3c5a01f752caabf4b0520b6174e4267630d18a6928b9b23df795e399f68ab7c058f336d66633666e6ae13b0647af3070cbcc0dab1d762763d4ce755b79a0bfb7
7
+ data.tar.gz: d44884d7433b62acaa425ca68fd2c95605637ca8b96d318308ad9647f785c267891e63fe539726518e0677052271679eb728926a7c288231ee06cd5966408ec3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.16.0 (2024-04-16)
5
+ ------------------
6
+
7
+ * Feature - Adding new ListBatchJobRestartPoints API and support for restart batch job.
8
+
9
+ 1.15.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.14.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.14.0
1
+ 1.16.0
@@ -969,6 +969,7 @@ module Aws::MainframeModernization
969
969
  # * {Types::GetBatchJobExecutionResponse#execution_id #execution_id} => String
970
970
  # * {Types::GetBatchJobExecutionResponse#job_id #job_id} => String
971
971
  # * {Types::GetBatchJobExecutionResponse#job_name #job_name} => String
972
+ # * {Types::GetBatchJobExecutionResponse#job_step_restart_marker #job_step_restart_marker} => Types::JobStepRestartMarker
972
973
  # * {Types::GetBatchJobExecutionResponse#job_type #job_type} => String
973
974
  # * {Types::GetBatchJobExecutionResponse#job_user #job_user} => String
974
975
  # * {Types::GetBatchJobExecutionResponse#return_code #return_code} => String
@@ -988,6 +989,11 @@ module Aws::MainframeModernization
988
989
  # resp.application_id #=> String
989
990
  # resp.batch_job_identifier.file_batch_job_identifier.file_name #=> String
990
991
  # resp.batch_job_identifier.file_batch_job_identifier.folder_path #=> String
992
+ # resp.batch_job_identifier.restart_batch_job_identifier.execution_id #=> String
993
+ # resp.batch_job_identifier.restart_batch_job_identifier.job_step_restart_marker.from_proc_step #=> String
994
+ # resp.batch_job_identifier.restart_batch_job_identifier.job_step_restart_marker.from_step #=> String
995
+ # resp.batch_job_identifier.restart_batch_job_identifier.job_step_restart_marker.to_proc_step #=> String
996
+ # resp.batch_job_identifier.restart_batch_job_identifier.job_step_restart_marker.to_step #=> String
991
997
  # resp.batch_job_identifier.s3_batch_job_identifier.bucket #=> String
992
998
  # resp.batch_job_identifier.s3_batch_job_identifier.identifier.file_name #=> String
993
999
  # resp.batch_job_identifier.s3_batch_job_identifier.identifier.script_name #=> String
@@ -997,11 +1003,15 @@ module Aws::MainframeModernization
997
1003
  # resp.execution_id #=> String
998
1004
  # resp.job_id #=> String
999
1005
  # resp.job_name #=> String
1006
+ # resp.job_step_restart_marker.from_proc_step #=> String
1007
+ # resp.job_step_restart_marker.from_step #=> String
1008
+ # resp.job_step_restart_marker.to_proc_step #=> String
1009
+ # resp.job_step_restart_marker.to_step #=> String
1000
1010
  # resp.job_type #=> String, one of "VSE", "JES2", "JES3"
1001
1011
  # resp.job_user #=> String
1002
1012
  # resp.return_code #=> String
1003
1013
  # resp.start_time #=> Time
1004
- # resp.status #=> String, one of "Submitting", "Holding", "Dispatching", "Running", "Cancelling", "Cancelled", "Succeeded", "Failed", "Succeeded With Warning"
1014
+ # resp.status #=> String, one of "Submitting", "Holding", "Dispatching", "Running", "Cancelling", "Cancelled", "Succeeded", "Failed", "Purged", "Succeeded With Warning"
1005
1015
  # resp.status_reason #=> String
1006
1016
  #
1007
1017
  # @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/GetBatchJobExecution AWS API Documentation
@@ -1469,7 +1479,7 @@ module Aws::MainframeModernization
1469
1479
  # next_token: "NextToken",
1470
1480
  # started_after: Time.now,
1471
1481
  # started_before: Time.now,
1472
- # status: "Submitting", # accepts Submitting, Holding, Dispatching, Running, Cancelling, Cancelled, Succeeded, Failed, Succeeded With Warning
1482
+ # status: "Submitting", # accepts Submitting, Holding, Dispatching, Running, Cancelling, Cancelled, Succeeded, Failed, Purged, Succeeded With Warning
1473
1483
  # })
1474
1484
  #
1475
1485
  # @example Response structure
@@ -1478,6 +1488,11 @@ module Aws::MainframeModernization
1478
1488
  # resp.batch_job_executions[0].application_id #=> String
1479
1489
  # resp.batch_job_executions[0].batch_job_identifier.file_batch_job_identifier.file_name #=> String
1480
1490
  # resp.batch_job_executions[0].batch_job_identifier.file_batch_job_identifier.folder_path #=> String
1491
+ # resp.batch_job_executions[0].batch_job_identifier.restart_batch_job_identifier.execution_id #=> String
1492
+ # resp.batch_job_executions[0].batch_job_identifier.restart_batch_job_identifier.job_step_restart_marker.from_proc_step #=> String
1493
+ # resp.batch_job_executions[0].batch_job_identifier.restart_batch_job_identifier.job_step_restart_marker.from_step #=> String
1494
+ # resp.batch_job_executions[0].batch_job_identifier.restart_batch_job_identifier.job_step_restart_marker.to_proc_step #=> String
1495
+ # resp.batch_job_executions[0].batch_job_identifier.restart_batch_job_identifier.job_step_restart_marker.to_step #=> String
1481
1496
  # resp.batch_job_executions[0].batch_job_identifier.s3_batch_job_identifier.bucket #=> String
1482
1497
  # resp.batch_job_executions[0].batch_job_identifier.s3_batch_job_identifier.identifier.file_name #=> String
1483
1498
  # resp.batch_job_executions[0].batch_job_identifier.s3_batch_job_identifier.identifier.script_name #=> String
@@ -1490,7 +1505,7 @@ module Aws::MainframeModernization
1490
1505
  # resp.batch_job_executions[0].job_type #=> String, one of "VSE", "JES2", "JES3"
1491
1506
  # resp.batch_job_executions[0].return_code #=> String
1492
1507
  # 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"
1508
+ # resp.batch_job_executions[0].status #=> String, one of "Submitting", "Holding", "Dispatching", "Running", "Cancelling", "Cancelled", "Succeeded", "Failed", "Purged", "Succeeded With Warning"
1494
1509
  # resp.next_token #=> String
1495
1510
  #
1496
1511
  # @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/ListBatchJobExecutions AWS API Documentation
@@ -1502,6 +1517,45 @@ module Aws::MainframeModernization
1502
1517
  req.send_request(options)
1503
1518
  end
1504
1519
 
1520
+ # Lists all the job steps for JCL files to restart a batch job. This is
1521
+ # only applicable for Micro Focus engine with versions 8.0.6 and above.
1522
+ #
1523
+ # @option params [required, String] :application_id
1524
+ # The unique identifier of the application.
1525
+ #
1526
+ # @option params [required, String] :execution_id
1527
+ # The unique identifier of each batch job execution.
1528
+ #
1529
+ # @return [Types::ListBatchJobRestartPointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1530
+ #
1531
+ # * {Types::ListBatchJobRestartPointsResponse#batch_job_steps #batch_job_steps} => Array<Types::JobStep>
1532
+ #
1533
+ # @example Request syntax with placeholder values
1534
+ #
1535
+ # resp = client.list_batch_job_restart_points({
1536
+ # application_id: "Identifier", # required
1537
+ # execution_id: "Identifier", # required
1538
+ # })
1539
+ #
1540
+ # @example Response structure
1541
+ #
1542
+ # resp.batch_job_steps #=> Array
1543
+ # resp.batch_job_steps[0].proc_step_name #=> String
1544
+ # resp.batch_job_steps[0].proc_step_number #=> Integer
1545
+ # resp.batch_job_steps[0].step_cond_code #=> String
1546
+ # resp.batch_job_steps[0].step_name #=> String
1547
+ # resp.batch_job_steps[0].step_number #=> Integer
1548
+ # resp.batch_job_steps[0].step_restartable #=> Boolean
1549
+ #
1550
+ # @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/ListBatchJobRestartPoints AWS API Documentation
1551
+ #
1552
+ # @overload list_batch_job_restart_points(params = {})
1553
+ # @param [Hash] params ({})
1554
+ def list_batch_job_restart_points(params = {}, options = {})
1555
+ req = build_request(:list_batch_job_restart_points, params)
1556
+ req.send_request(options)
1557
+ end
1558
+
1505
1559
  # Lists the data set imports for the specified application.
1506
1560
  #
1507
1561
  # @option params [required, String] :application_id
@@ -1853,6 +1907,15 @@ module Aws::MainframeModernization
1853
1907
  # file_name: "String", # required
1854
1908
  # folder_path: "String",
1855
1909
  # },
1910
+ # restart_batch_job_identifier: {
1911
+ # execution_id: "Identifier", # required
1912
+ # job_step_restart_marker: { # required
1913
+ # from_proc_step: "String",
1914
+ # from_step: "String", # required
1915
+ # to_proc_step: "String",
1916
+ # to_step: "String",
1917
+ # },
1918
+ # },
1856
1919
  # s3_batch_job_identifier: {
1857
1920
  # bucket: "String", # required
1858
1921
  # identifier: { # required
@@ -2098,7 +2161,7 @@ module Aws::MainframeModernization
2098
2161
  params: params,
2099
2162
  config: config)
2100
2163
  context[:gem_name] = 'aws-sdk-mainframemodernization'
2101
- context[:gem_version] = '1.14.0'
2164
+ context[:gem_version] = '1.16.0'
2102
2165
  Seahorse::Client::Request.new(handlers, context)
2103
2166
  end
2104
2167
 
@@ -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
@@ -14,6 +14,7 @@ module Aws::MainframeModernization
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::MainframeModernization::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -97,6 +98,8 @@ module Aws::MainframeModernization
97
98
  Aws::MainframeModernization::Endpoints::ListBatchJobDefinitions.build(context)
98
99
  when :list_batch_job_executions
99
100
  Aws::MainframeModernization::Endpoints::ListBatchJobExecutions.build(context)
101
+ when :list_batch_job_restart_points
102
+ Aws::MainframeModernization::Endpoints::ListBatchJobRestartPoints.build(context)
100
103
  when :list_data_set_import_history
101
104
  Aws::MainframeModernization::Endpoints::ListDataSetImportHistory.build(context)
102
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
  #
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-mainframemodernization/customizations'
52
52
  # @!group service
53
53
  module Aws::MainframeModernization
54
54
 
55
- GEM_VERSION = '1.14.0'
55
+ GEM_VERSION = '1.16.0'
56
56
 
57
57
  end