aws-sdk-mainframemodernization 1.15.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: 8e5af48d99982702168d107d23738290773045ef42b41713e857e82a7b7f673c
4
- data.tar.gz: eb52d5ce596ca9e950fc6152e0e5a7436f9ef3915b5709841efe4f75591ae930
3
+ metadata.gz: c0b2220ec383af0e92ce8ced6b6508adcea843fa30bdcaa38e38a93efb9d1edf
4
+ data.tar.gz: 2140f1ab54ecf8ee99276ebaf780e33e5b2cd80db12aaedafe69c68e186a488e
5
5
  SHA512:
6
- metadata.gz: fcc5c52934e018458b70c731d0bcfe2244b1f48c9a6b3e1c04a98eb67d27c3bfaab0669c7865624006ec0fbc1586859ae3b8feb94256173af869ddfbefcd439f
7
- data.tar.gz: 556f39b1eb6e8635312e4f19c09e5b10766bd86e98815852338c55182e070fa01368ff35129bafcb0de42a7de88f40f10f62d310637476c61f872645f5f83356
6
+ metadata.gz: 3c5a01f752caabf4b0520b6174e4267630d18a6928b9b23df795e399f68ab7c058f336d66633666e6ae13b0647af3070cbcc0dab1d762763d4ce755b79a0bfb7
7
+ data.tar.gz: d44884d7433b62acaa425ca68fd2c95605637ca8b96d318308ad9647f785c267891e63fe539726518e0677052271679eb728926a7c288231ee06cd5966408ec3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.15.0 (2024-01-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.15.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.15.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
@@ -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
  #
@@ -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.15.0'
55
+ GEM_VERSION = '1.16.0'
56
56
 
57
57
  end
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.15.0
4
+ version: 1.16.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-01-26 00:00:00.000000000 Z
11
+ date: 2024-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core