aws-sdk-mainframemodernization 1.2.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 550ddb9a921e1a82e226009fd786a9fd2713c9bbb12306c53d5d3cf7c190efa1
4
- data.tar.gz: f9fa44131763106baeb691d880689759b329a9d0f98a10a5bda1389bf5c48c83
3
+ metadata.gz: bdce420f60f59d8ad5746b81f2ddba16d923e127bbf099fcf17662943a0cd1fa
4
+ data.tar.gz: 948490f8c97724790684a20493faf3bd081e9b1073805b4ff1b434667731bf60
5
5
  SHA512:
6
- metadata.gz: 427ca4ed800c139585eb0b5554599ff9331ba530ef77e249e03a740010e56261e5f59187d416a60edfbb6cc57bd803d397ba21412577a59f15774aaae6dea936
7
- data.tar.gz: 66ed2b82898748e5555e80255459fbecfa7236ac6e997e922c0007d0ad92e4d30eb30894713a77d944c88d5a45c1768e407c106dd141d284911fd3359f27bca9
6
+ metadata.gz: c51e5c34f9d1015358ebfbfea4b02cea697b613039b1583d1a576b58097169783160e03cec16d39311d2ef8c0a780192b816fdc1c16d391062abb008f1f6b731
7
+ data.tar.gz: 4093b5f18f4b08bedeaeb01f45e601c9c6862e6a7306f8653f2ee7041a8b57bb9a80e29a6019925d3904e92c7c103dbdec6a05f9f09660478784f3b197fb98ba
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.4.0 (2023-01-25)
5
+ ------------------
6
+
7
+ * Feature - Add returnCode, batchJobIdentifier in GetBatchJobExecution response, for user to view the batch job execution result & unique identifier from engine. Also removed unused headers from REST APIs
8
+
9
+ 1.3.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.2.0 (2022-12-15)
5
17
  ------------------
6
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.4.0
@@ -921,12 +921,14 @@ module Aws::MainframeModernization
921
921
  # @return [Types::GetBatchJobExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
922
922
  #
923
923
  # * {Types::GetBatchJobExecutionResponse#application_id #application_id} => String
924
+ # * {Types::GetBatchJobExecutionResponse#batch_job_identifier #batch_job_identifier} => Types::BatchJobIdentifier
924
925
  # * {Types::GetBatchJobExecutionResponse#end_time #end_time} => Time
925
926
  # * {Types::GetBatchJobExecutionResponse#execution_id #execution_id} => String
926
927
  # * {Types::GetBatchJobExecutionResponse#job_id #job_id} => String
927
928
  # * {Types::GetBatchJobExecutionResponse#job_name #job_name} => String
928
929
  # * {Types::GetBatchJobExecutionResponse#job_type #job_type} => String
929
930
  # * {Types::GetBatchJobExecutionResponse#job_user #job_user} => String
931
+ # * {Types::GetBatchJobExecutionResponse#return_code #return_code} => String
930
932
  # * {Types::GetBatchJobExecutionResponse#start_time #start_time} => Time
931
933
  # * {Types::GetBatchJobExecutionResponse#status #status} => String
932
934
  # * {Types::GetBatchJobExecutionResponse#status_reason #status_reason} => String
@@ -941,12 +943,16 @@ module Aws::MainframeModernization
941
943
  # @example Response structure
942
944
  #
943
945
  # resp.application_id #=> String
946
+ # resp.batch_job_identifier.file_batch_job_identifier.file_name #=> String
947
+ # resp.batch_job_identifier.file_batch_job_identifier.folder_path #=> String
948
+ # resp.batch_job_identifier.script_batch_job_identifier.script_name #=> String
944
949
  # resp.end_time #=> Time
945
950
  # resp.execution_id #=> String
946
951
  # resp.job_id #=> String
947
952
  # resp.job_name #=> String
948
953
  # resp.job_type #=> String, one of "VSE", "JES2", "JES3"
949
954
  # resp.job_user #=> String
955
+ # resp.return_code #=> String
950
956
  # resp.start_time #=> Time
951
957
  # resp.status #=> String, one of "Submitting", "Holding", "Dispatching", "Running", "Cancelling", "Cancelled", "Succeeded", "Failed", "Succeeded With Warning"
952
958
  # resp.status_reason #=> String
@@ -1396,11 +1402,15 @@ module Aws::MainframeModernization
1396
1402
  #
1397
1403
  # resp.batch_job_executions #=> Array
1398
1404
  # resp.batch_job_executions[0].application_id #=> String
1405
+ # resp.batch_job_executions[0].batch_job_identifier.file_batch_job_identifier.file_name #=> String
1406
+ # resp.batch_job_executions[0].batch_job_identifier.file_batch_job_identifier.folder_path #=> String
1407
+ # resp.batch_job_executions[0].batch_job_identifier.script_batch_job_identifier.script_name #=> String
1399
1408
  # resp.batch_job_executions[0].end_time #=> Time
1400
1409
  # resp.batch_job_executions[0].execution_id #=> String
1401
1410
  # resp.batch_job_executions[0].job_id #=> String
1402
1411
  # resp.batch_job_executions[0].job_name #=> String
1403
1412
  # resp.batch_job_executions[0].job_type #=> String, one of "VSE", "JES2", "JES3"
1413
+ # resp.batch_job_executions[0].return_code #=> String
1404
1414
  # resp.batch_job_executions[0].start_time #=> Time
1405
1415
  # resp.batch_job_executions[0].status #=> String, one of "Submitting", "Holding", "Dispatching", "Running", "Cancelling", "Cancelled", "Succeeded", "Failed", "Succeeded With Warning"
1406
1416
  # resp.next_token #=> String
@@ -1977,7 +1987,7 @@ module Aws::MainframeModernization
1977
1987
  params: params,
1978
1988
  config: config)
1979
1989
  context[:gem_name] = 'aws-sdk-mainframemodernization'
1980
- context[:gem_version] = '1.2.0'
1990
+ context[:gem_version] = '1.4.0'
1981
1991
  Seahorse::Client::Request.new(handlers, context)
1982
1992
  end
1983
1993
 
@@ -227,11 +227,13 @@ module Aws::MainframeModernization
227
227
  BatchJobDefinitions.member = Shapes::ShapeRef.new(shape: BatchJobDefinition)
228
228
 
229
229
  BatchJobExecutionSummary.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "applicationId"))
230
+ BatchJobExecutionSummary.add_member(:batch_job_identifier, Shapes::ShapeRef.new(shape: BatchJobIdentifier, location_name: "batchJobIdentifier"))
230
231
  BatchJobExecutionSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
231
232
  BatchJobExecutionSummary.add_member(:execution_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "executionId"))
232
233
  BatchJobExecutionSummary.add_member(:job_id, Shapes::ShapeRef.new(shape: String100, location_name: "jobId"))
233
234
  BatchJobExecutionSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: String100, location_name: "jobName"))
234
235
  BatchJobExecutionSummary.add_member(:job_type, Shapes::ShapeRef.new(shape: BatchJobType, location_name: "jobType"))
236
+ BatchJobExecutionSummary.add_member(:return_code, Shapes::ShapeRef.new(shape: String, location_name: "returnCode"))
235
237
  BatchJobExecutionSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
236
238
  BatchJobExecutionSummary.add_member(:status, Shapes::ShapeRef.new(shape: BatchJobExecutionStatus, required: true, location_name: "status"))
237
239
  BatchJobExecutionSummary.struct_class = Types::BatchJobExecutionSummary
@@ -503,12 +505,14 @@ module Aws::MainframeModernization
503
505
  GetBatchJobExecutionRequest.struct_class = Types::GetBatchJobExecutionRequest
504
506
 
505
507
  GetBatchJobExecutionResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "applicationId"))
508
+ GetBatchJobExecutionResponse.add_member(:batch_job_identifier, Shapes::ShapeRef.new(shape: BatchJobIdentifier, location_name: "batchJobIdentifier"))
506
509
  GetBatchJobExecutionResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
507
510
  GetBatchJobExecutionResponse.add_member(:execution_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "executionId"))
508
511
  GetBatchJobExecutionResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: String100, location_name: "jobId"))
509
512
  GetBatchJobExecutionResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: String100, location_name: "jobName"))
510
513
  GetBatchJobExecutionResponse.add_member(:job_type, Shapes::ShapeRef.new(shape: BatchJobType, location_name: "jobType"))
511
514
  GetBatchJobExecutionResponse.add_member(:job_user, Shapes::ShapeRef.new(shape: String100, location_name: "jobUser"))
515
+ GetBatchJobExecutionResponse.add_member(:return_code, Shapes::ShapeRef.new(shape: String, location_name: "returnCode"))
512
516
  GetBatchJobExecutionResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
513
517
  GetBatchJobExecutionResponse.add_member(:status, Shapes::ShapeRef.new(shape: BatchJobExecutionStatus, required: true, location_name: "status"))
514
518
  GetBatchJobExecutionResponse.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
@@ -9,102 +9,43 @@
9
9
 
10
10
  module Aws::MainframeModernization
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://m2-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://m2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://m2.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://m2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW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T
99
- dGFja0Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319
100
- LCJ0eXBlIjoiZW5kcG9pbnQifV19LHsiY29uZGl0aW9ucyI6W10sImVycm9y
101
- IjoiRHVhbFN0YWNrIGlzIGVuYWJsZWQgYnV0IHRoaXMgcGFydGl0aW9uIGRv
102
- ZXMgbm90IHN1cHBvcnQgRHVhbFN0YWNrIiwidHlwZSI6ImVycm9yIn1dfSx7
103
- ImNvbmRpdGlvbnMiOltdLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL20y
104
- LntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInByb3Bl
105
- cnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1d
106
- fQ==
107
-
108
- JSON
109
50
  end
110
51
  end
@@ -195,6 +195,10 @@ module Aws::MainframeModernization
195
195
  # The unique identifier of the application that hosts this batch job.
196
196
  # @return [String]
197
197
  #
198
+ # @!attribute [rw] batch_job_identifier
199
+ # Identifies a specific batch job.
200
+ # @return [Types::BatchJobIdentifier]
201
+ #
198
202
  # @!attribute [rw] end_time
199
203
  # The timestamp when this batch job execution ended.
200
204
  # @return [Time]
@@ -215,6 +219,9 @@ module Aws::MainframeModernization
215
219
  # The type of a particular batch job execution.
216
220
  # @return [String]
217
221
  #
222
+ # @!attribute [rw] return_code
223
+ # @return [String]
224
+ #
218
225
  # @!attribute [rw] start_time
219
226
  # The timestamp when a particular batch job execution started.
220
227
  # @return [Time]
@@ -227,11 +234,13 @@ module Aws::MainframeModernization
227
234
  #
228
235
  class BatchJobExecutionSummary < Struct.new(
229
236
  :application_id,
237
+ :batch_job_identifier,
230
238
  :end_time,
231
239
  :execution_id,
232
240
  :job_id,
233
241
  :job_name,
234
242
  :job_type,
243
+ :return_code,
235
244
  :start_time,
236
245
  :status)
237
246
  SENSITIVE = []
@@ -242,6 +251,8 @@ module Aws::MainframeModernization
242
251
  #
243
252
  # @note BatchJobIdentifier is a union - when making an API calls you must set exactly one of the members.
244
253
  #
254
+ # @note BatchJobIdentifier is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of BatchJobIdentifier corresponding to the set member.
255
+ #
245
256
  # @!attribute [rw] file_batch_job_identifier
246
257
  # Specifies a file associated with a specific batch job.
247
258
  # @return [Types::FileBatchJobIdentifier]
@@ -1401,6 +1412,10 @@ module Aws::MainframeModernization
1401
1412
  # The identifier of the application.
1402
1413
  # @return [String]
1403
1414
  #
1415
+ # @!attribute [rw] batch_job_identifier
1416
+ # Identifies a specific batch job.
1417
+ # @return [Types::BatchJobIdentifier]
1418
+ #
1404
1419
  # @!attribute [rw] end_time
1405
1420
  # The timestamp when the batch job execution ended.
1406
1421
  # @return [Time]
@@ -1425,6 +1440,9 @@ module Aws::MainframeModernization
1425
1440
  # The user for the job.
1426
1441
  # @return [String]
1427
1442
  #
1443
+ # @!attribute [rw] return_code
1444
+ # @return [String]
1445
+ #
1428
1446
  # @!attribute [rw] start_time
1429
1447
  # The timestamp when the batch job execution started.
1430
1448
  # @return [Time]
@@ -1441,12 +1459,14 @@ module Aws::MainframeModernization
1441
1459
  #
1442
1460
  class GetBatchJobExecutionResponse < Struct.new(
1443
1461
  :application_id,
1462
+ :batch_job_identifier,
1444
1463
  :end_time,
1445
1464
  :execution_id,
1446
1465
  :job_id,
1447
1466
  :job_name,
1448
1467
  :job_type,
1449
1468
  :job_user,
1469
+ :return_code,
1450
1470
  :start_time,
1451
1471
  :status,
1452
1472
  :status_reason)
@@ -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.2.0'
55
+ GEM_VERSION = '1.4.0'
56
56
 
57
57
  end
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.2.0
4
+ version: 1.4.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: 2022-12-15 00:00:00.000000000 Z
11
+ date: 2023-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core