aws-sdk-mainframemodernization 1.3.0 → 1.5.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: d0c5ec62bf33e114da35fefec39cd6e0dc44120900a6ba51e1961ab84dd1baba
4
- data.tar.gz: 9ada0f36ccb68b2ecf2fa479b18d38db62955fa58279df5f125a527cc23de6f6
3
+ metadata.gz: '02557079d7784a5adbb956ce052d1230a9042113271021f6bfd87e369a485b4d'
4
+ data.tar.gz: 78edcd18edb67bc79641d58acffcc8559f8fee7ff103df2314590cddb2bd5e12
5
5
  SHA512:
6
- metadata.gz: 0a51f4d1c12bbba19f6c59d07e8a42b4c1d39fc0f079e678f823cc6527f90c02db87c831330585ec691356892092078668a0a489bcaaa0717316d2343633fc96
7
- data.tar.gz: 6d1516493cab620fb29f8932c4b762a826c5f6484c18a937d38e212cf887d8010eae50b8e71db1fb63bc587221845344efcf15ea8d712d8ca957e9787a3cb3d8
6
+ metadata.gz: b528df3e77429fa549a447bb4ae24c82aab2a8034c6a094f181f14cfa818509e8b6e5dbbe96308c5c3833c085cc08cc6613cd3a562fef82b8f1e88f9d60b1dc8
7
+ data.tar.gz: c41fe2d2c945d1858060bd837146c354f32197a5f12f1a3c15239f501162a32c547492ea66cbe2d59475f1d363eceed65cdbb03fdd8895225c78513a1be37534
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.5.0 (2023-05-31)
5
+ ------------------
6
+
7
+ * Feature - Adds an optional create-only 'roleArn' property to Application resources. Enables PS and PO data set org types.
8
+
9
+ 1.4.0 (2023-01-25)
10
+ ------------------
11
+
12
+ * 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
13
+
4
14
  1.3.0 (2023-01-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.5.0
@@ -275,6 +275,11 @@ module Aws::MainframeModernization
275
275
  # in the future.
276
276
  #
277
277
  #
278
+ # @option options [String] :sdk_ua_app_id
279
+ # A unique and opaque application ID that is appended to the
280
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
281
+ # maximum length of 50.
282
+ #
278
283
  # @option options [String] :secret_access_key
279
284
  #
280
285
  # @option options [String] :session_token
@@ -424,6 +429,10 @@ module Aws::MainframeModernization
424
429
  # @option params [required, String] :name
425
430
  # The unique identifier of the application.
426
431
  #
432
+ # @option params [String] :role_arn
433
+ # The Amazon Resource Name (ARN) of the role associated with the
434
+ # application.
435
+ #
427
436
  # @option params [Hash<String,String>] :tags
428
437
  # A list of tags to apply to the application.
429
438
  #
@@ -445,6 +454,7 @@ module Aws::MainframeModernization
445
454
  # engine_type: "microfocus", # required, accepts microfocus, bluage
446
455
  # kms_key_id: "String",
447
456
  # name: "EntityName", # required
457
+ # role_arn: "Arn",
448
458
  # tags: {
449
459
  # "TagKey" => "TagValue",
450
460
  # },
@@ -504,6 +514,15 @@ module Aws::MainframeModernization
504
514
  # limit: 1,
505
515
  # roll_disposition: "String",
506
516
  # },
517
+ # po: {
518
+ # encoding: "String",
519
+ # format: "String", # required
520
+ # member_file_extensions: ["String20"], # required
521
+ # },
522
+ # ps: {
523
+ # encoding: "String",
524
+ # format: "String", # required
525
+ # },
507
526
  # vsam: {
508
527
  # alternate_keys: [
509
528
  # {
@@ -812,6 +831,7 @@ module Aws::MainframeModernization
812
831
  # * {Types::GetApplicationResponse#load_balancer_dns_name #load_balancer_dns_name} => String
813
832
  # * {Types::GetApplicationResponse#log_groups #log_groups} => Array&lt;Types::LogGroupSummary&gt;
814
833
  # * {Types::GetApplicationResponse#name #name} => String
834
+ # * {Types::GetApplicationResponse#role_arn #role_arn} => String
815
835
  # * {Types::GetApplicationResponse#status #status} => String
816
836
  # * {Types::GetApplicationResponse#status_reason #status_reason} => String
817
837
  # * {Types::GetApplicationResponse#tags #tags} => Hash&lt;String,String&gt;
@@ -849,6 +869,7 @@ module Aws::MainframeModernization
849
869
  # resp.log_groups[0].log_group_name #=> String
850
870
  # resp.log_groups[0].log_type #=> String
851
871
  # resp.name #=> String
872
+ # resp.role_arn #=> String
852
873
  # resp.status #=> String, one of "Creating", "Created", "Available", "Ready", "Starting", "Running", "Stopping", "Stopped", "Failed", "Deleting", "Deleting From Environment"
853
874
  # resp.status_reason #=> String
854
875
  # resp.tags #=> Hash
@@ -921,12 +942,14 @@ module Aws::MainframeModernization
921
942
  # @return [Types::GetBatchJobExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
922
943
  #
923
944
  # * {Types::GetBatchJobExecutionResponse#application_id #application_id} => String
945
+ # * {Types::GetBatchJobExecutionResponse#batch_job_identifier #batch_job_identifier} => Types::BatchJobIdentifier
924
946
  # * {Types::GetBatchJobExecutionResponse#end_time #end_time} => Time
925
947
  # * {Types::GetBatchJobExecutionResponse#execution_id #execution_id} => String
926
948
  # * {Types::GetBatchJobExecutionResponse#job_id #job_id} => String
927
949
  # * {Types::GetBatchJobExecutionResponse#job_name #job_name} => String
928
950
  # * {Types::GetBatchJobExecutionResponse#job_type #job_type} => String
929
951
  # * {Types::GetBatchJobExecutionResponse#job_user #job_user} => String
952
+ # * {Types::GetBatchJobExecutionResponse#return_code #return_code} => String
930
953
  # * {Types::GetBatchJobExecutionResponse#start_time #start_time} => Time
931
954
  # * {Types::GetBatchJobExecutionResponse#status #status} => String
932
955
  # * {Types::GetBatchJobExecutionResponse#status_reason #status_reason} => String
@@ -941,12 +964,16 @@ module Aws::MainframeModernization
941
964
  # @example Response structure
942
965
  #
943
966
  # resp.application_id #=> String
967
+ # resp.batch_job_identifier.file_batch_job_identifier.file_name #=> String
968
+ # resp.batch_job_identifier.file_batch_job_identifier.folder_path #=> String
969
+ # resp.batch_job_identifier.script_batch_job_identifier.script_name #=> String
944
970
  # resp.end_time #=> Time
945
971
  # resp.execution_id #=> String
946
972
  # resp.job_id #=> String
947
973
  # resp.job_name #=> String
948
974
  # resp.job_type #=> String, one of "VSE", "JES2", "JES3"
949
975
  # resp.job_user #=> String
976
+ # resp.return_code #=> String
950
977
  # resp.start_time #=> Time
951
978
  # resp.status #=> String, one of "Submitting", "Holding", "Dispatching", "Running", "Cancelling", "Cancelled", "Succeeded", "Failed", "Succeeded With Warning"
952
979
  # resp.status_reason #=> String
@@ -994,6 +1021,10 @@ module Aws::MainframeModernization
994
1021
  # resp.data_set_name #=> String
995
1022
  # resp.data_set_org.gdg.limit #=> Integer
996
1023
  # resp.data_set_org.gdg.roll_disposition #=> String
1024
+ # resp.data_set_org.po.encoding #=> String
1025
+ # resp.data_set_org.po.format #=> String
1026
+ # resp.data_set_org.ps.encoding #=> String
1027
+ # resp.data_set_org.ps.format #=> String
997
1028
  # resp.data_set_org.vsam.alternate_keys #=> Array
998
1029
  # resp.data_set_org.vsam.alternate_keys[0].allow_duplicates #=> Boolean
999
1030
  # resp.data_set_org.vsam.alternate_keys[0].length #=> Integer
@@ -1279,6 +1310,7 @@ module Aws::MainframeModernization
1279
1310
  # resp.applications[0].environment_id #=> String
1280
1311
  # resp.applications[0].last_start_time #=> Time
1281
1312
  # resp.applications[0].name #=> String
1313
+ # resp.applications[0].role_arn #=> String
1282
1314
  # resp.applications[0].status #=> String, one of "Creating", "Created", "Available", "Ready", "Starting", "Running", "Stopping", "Stopped", "Failed", "Deleting", "Deleting From Environment"
1283
1315
  # resp.applications[0].version_status #=> String, one of "Creating", "Available", "Failed"
1284
1316
  # resp.next_token #=> String
@@ -1396,11 +1428,15 @@ module Aws::MainframeModernization
1396
1428
  #
1397
1429
  # resp.batch_job_executions #=> Array
1398
1430
  # resp.batch_job_executions[0].application_id #=> String
1431
+ # resp.batch_job_executions[0].batch_job_identifier.file_batch_job_identifier.file_name #=> String
1432
+ # resp.batch_job_executions[0].batch_job_identifier.file_batch_job_identifier.folder_path #=> String
1433
+ # resp.batch_job_executions[0].batch_job_identifier.script_batch_job_identifier.script_name #=> String
1399
1434
  # resp.batch_job_executions[0].end_time #=> Time
1400
1435
  # resp.batch_job_executions[0].execution_id #=> String
1401
1436
  # resp.batch_job_executions[0].job_id #=> String
1402
1437
  # resp.batch_job_executions[0].job_name #=> String
1403
1438
  # resp.batch_job_executions[0].job_type #=> String, one of "VSE", "JES2", "JES3"
1439
+ # resp.batch_job_executions[0].return_code #=> String
1404
1440
  # resp.batch_job_executions[0].start_time #=> Time
1405
1441
  # resp.batch_job_executions[0].status #=> String, one of "Submitting", "Holding", "Dispatching", "Running", "Cancelling", "Cancelled", "Succeeded", "Failed", "Succeeded With Warning"
1406
1442
  # resp.next_token #=> String
@@ -1977,7 +2013,7 @@ module Aws::MainframeModernization
1977
2013
  params: params,
1978
2014
  config: config)
1979
2015
  context[:gem_name] = 'aws-sdk-mainframemodernization'
1980
- context[:gem_version] = '1.3.0'
2016
+ context[:gem_version] = '1.5.0'
1981
2017
  Seahorse::Client::Request.new(handlers, context)
1982
2018
  end
1983
2019
 
@@ -134,8 +134,12 @@ module Aws::MainframeModernization
134
134
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
135
135
  NextToken = Shapes::StringShape.new(name: 'NextToken')
136
136
  PendingMaintenance = Shapes::StructureShape.new(name: 'PendingMaintenance')
137
+ PoAttributes = Shapes::StructureShape.new(name: 'PoAttributes')
138
+ PoDetailAttributes = Shapes::StructureShape.new(name: 'PoDetailAttributes')
137
139
  PortList = Shapes::ListShape.new(name: 'PortList')
138
140
  PrimaryKey = Shapes::StructureShape.new(name: 'PrimaryKey')
141
+ PsAttributes = Shapes::StructureShape.new(name: 'PsAttributes')
142
+ PsDetailAttributes = Shapes::StructureShape.new(name: 'PsDetailAttributes')
139
143
  RecordLength = Shapes::StructureShape.new(name: 'RecordLength')
140
144
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
141
145
  ScriptBatchJobDefinition = Shapes::StructureShape.new(name: 'ScriptBatchJobDefinition')
@@ -154,6 +158,7 @@ module Aws::MainframeModernization
154
158
  String20 = Shapes::StringShape.new(name: 'String20')
155
159
  String200 = Shapes::StringShape.new(name: 'String200')
156
160
  String2000 = Shapes::StringShape.new(name: 'String2000')
161
+ String20List = Shapes::ListShape.new(name: 'String20List')
157
162
  String50 = Shapes::StringShape.new(name: 'String50')
158
163
  String50List = Shapes::ListShape.new(name: 'String50List')
159
164
  StringFree65000 = Shapes::StringShape.new(name: 'StringFree65000')
@@ -200,6 +205,7 @@ module Aws::MainframeModernization
200
205
  ApplicationSummary.add_member(:environment_id, Shapes::ShapeRef.new(shape: Identifier, location_name: "environmentId"))
201
206
  ApplicationSummary.add_member(:last_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastStartTime"))
202
207
  ApplicationSummary.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "name"))
208
+ ApplicationSummary.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
203
209
  ApplicationSummary.add_member(:status, Shapes::ShapeRef.new(shape: ApplicationLifecycle, required: true, location_name: "status"))
204
210
  ApplicationSummary.add_member(:version_status, Shapes::ShapeRef.new(shape: ApplicationVersionLifecycle, location_name: "versionStatus"))
205
211
  ApplicationSummary.struct_class = Types::ApplicationSummary
@@ -227,11 +233,13 @@ module Aws::MainframeModernization
227
233
  BatchJobDefinitions.member = Shapes::ShapeRef.new(shape: BatchJobDefinition)
228
234
 
229
235
  BatchJobExecutionSummary.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "applicationId"))
236
+ BatchJobExecutionSummary.add_member(:batch_job_identifier, Shapes::ShapeRef.new(shape: BatchJobIdentifier, location_name: "batchJobIdentifier"))
230
237
  BatchJobExecutionSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
231
238
  BatchJobExecutionSummary.add_member(:execution_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "executionId"))
232
239
  BatchJobExecutionSummary.add_member(:job_id, Shapes::ShapeRef.new(shape: String100, location_name: "jobId"))
233
240
  BatchJobExecutionSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: String100, location_name: "jobName"))
234
241
  BatchJobExecutionSummary.add_member(:job_type, Shapes::ShapeRef.new(shape: BatchJobType, location_name: "jobType"))
242
+ BatchJobExecutionSummary.add_member(:return_code, Shapes::ShapeRef.new(shape: String, location_name: "returnCode"))
235
243
  BatchJobExecutionSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
236
244
  BatchJobExecutionSummary.add_member(:status, Shapes::ShapeRef.new(shape: BatchJobExecutionStatus, required: true, location_name: "status"))
237
245
  BatchJobExecutionSummary.struct_class = Types::BatchJobExecutionSummary
@@ -266,6 +274,7 @@ module Aws::MainframeModernization
266
274
  CreateApplicationRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, required: true, location_name: "engineType"))
267
275
  CreateApplicationRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
268
276
  CreateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "name"))
277
+ CreateApplicationRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
269
278
  CreateApplicationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
270
279
  CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
271
280
 
@@ -356,17 +365,25 @@ module Aws::MainframeModernization
356
365
  DataSetsSummaryList.member = Shapes::ShapeRef.new(shape: DataSetSummary)
357
366
 
358
367
  DatasetDetailOrgAttributes.add_member(:gdg, Shapes::ShapeRef.new(shape: GdgDetailAttributes, location_name: "gdg"))
368
+ DatasetDetailOrgAttributes.add_member(:po, Shapes::ShapeRef.new(shape: PoDetailAttributes, location_name: "po"))
369
+ DatasetDetailOrgAttributes.add_member(:ps, Shapes::ShapeRef.new(shape: PsDetailAttributes, location_name: "ps"))
359
370
  DatasetDetailOrgAttributes.add_member(:vsam, Shapes::ShapeRef.new(shape: VsamDetailAttributes, location_name: "vsam"))
360
371
  DatasetDetailOrgAttributes.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
361
372
  DatasetDetailOrgAttributes.add_member_subclass(:gdg, Types::DatasetDetailOrgAttributes::Gdg)
373
+ DatasetDetailOrgAttributes.add_member_subclass(:po, Types::DatasetDetailOrgAttributes::Po)
374
+ DatasetDetailOrgAttributes.add_member_subclass(:ps, Types::DatasetDetailOrgAttributes::Ps)
362
375
  DatasetDetailOrgAttributes.add_member_subclass(:vsam, Types::DatasetDetailOrgAttributes::Vsam)
363
376
  DatasetDetailOrgAttributes.add_member_subclass(:unknown, Types::DatasetDetailOrgAttributes::Unknown)
364
377
  DatasetDetailOrgAttributes.struct_class = Types::DatasetDetailOrgAttributes
365
378
 
366
379
  DatasetOrgAttributes.add_member(:gdg, Shapes::ShapeRef.new(shape: GdgAttributes, location_name: "gdg"))
380
+ DatasetOrgAttributes.add_member(:po, Shapes::ShapeRef.new(shape: PoAttributes, location_name: "po"))
381
+ DatasetOrgAttributes.add_member(:ps, Shapes::ShapeRef.new(shape: PsAttributes, location_name: "ps"))
367
382
  DatasetOrgAttributes.add_member(:vsam, Shapes::ShapeRef.new(shape: VsamAttributes, location_name: "vsam"))
368
383
  DatasetOrgAttributes.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
369
384
  DatasetOrgAttributes.add_member_subclass(:gdg, Types::DatasetOrgAttributes::Gdg)
385
+ DatasetOrgAttributes.add_member_subclass(:po, Types::DatasetOrgAttributes::Po)
386
+ DatasetOrgAttributes.add_member_subclass(:ps, Types::DatasetOrgAttributes::Ps)
370
387
  DatasetOrgAttributes.add_member_subclass(:vsam, Types::DatasetOrgAttributes::Vsam)
371
388
  DatasetOrgAttributes.add_member_subclass(:unknown, Types::DatasetOrgAttributes::Unknown)
372
389
  DatasetOrgAttributes.struct_class = Types::DatasetOrgAttributes
@@ -479,6 +496,7 @@ module Aws::MainframeModernization
479
496
  GetApplicationResponse.add_member(:load_balancer_dns_name, Shapes::ShapeRef.new(shape: String100, location_name: "loadBalancerDnsName"))
480
497
  GetApplicationResponse.add_member(:log_groups, Shapes::ShapeRef.new(shape: LogGroupSummaries, location_name: "logGroups"))
481
498
  GetApplicationResponse.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "name"))
499
+ GetApplicationResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
482
500
  GetApplicationResponse.add_member(:status, Shapes::ShapeRef.new(shape: ApplicationLifecycle, required: true, location_name: "status"))
483
501
  GetApplicationResponse.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
484
502
  GetApplicationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
@@ -503,12 +521,14 @@ module Aws::MainframeModernization
503
521
  GetBatchJobExecutionRequest.struct_class = Types::GetBatchJobExecutionRequest
504
522
 
505
523
  GetBatchJobExecutionResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "applicationId"))
524
+ GetBatchJobExecutionResponse.add_member(:batch_job_identifier, Shapes::ShapeRef.new(shape: BatchJobIdentifier, location_name: "batchJobIdentifier"))
506
525
  GetBatchJobExecutionResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
507
526
  GetBatchJobExecutionResponse.add_member(:execution_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "executionId"))
508
527
  GetBatchJobExecutionResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: String100, location_name: "jobId"))
509
528
  GetBatchJobExecutionResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: String100, location_name: "jobName"))
510
529
  GetBatchJobExecutionResponse.add_member(:job_type, Shapes::ShapeRef.new(shape: BatchJobType, location_name: "jobType"))
511
530
  GetBatchJobExecutionResponse.add_member(:job_user, Shapes::ShapeRef.new(shape: String100, location_name: "jobUser"))
531
+ GetBatchJobExecutionResponse.add_member(:return_code, Shapes::ShapeRef.new(shape: String, location_name: "returnCode"))
512
532
  GetBatchJobExecutionResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
513
533
  GetBatchJobExecutionResponse.add_member(:status, Shapes::ShapeRef.new(shape: BatchJobExecutionStatus, required: true, location_name: "status"))
514
534
  GetBatchJobExecutionResponse.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
@@ -696,6 +716,15 @@ module Aws::MainframeModernization
696
716
  PendingMaintenance.add_member(:schedule, Shapes::ShapeRef.new(shape: MaintenanceSchedule, location_name: "schedule"))
697
717
  PendingMaintenance.struct_class = Types::PendingMaintenance
698
718
 
719
+ PoAttributes.add_member(:encoding, Shapes::ShapeRef.new(shape: String, location_name: "encoding"))
720
+ PoAttributes.add_member(:format, Shapes::ShapeRef.new(shape: String, required: true, location_name: "format"))
721
+ PoAttributes.add_member(:member_file_extensions, Shapes::ShapeRef.new(shape: String20List, required: true, location_name: "memberFileExtensions"))
722
+ PoAttributes.struct_class = Types::PoAttributes
723
+
724
+ PoDetailAttributes.add_member(:encoding, Shapes::ShapeRef.new(shape: String, required: true, location_name: "encoding"))
725
+ PoDetailAttributes.add_member(:format, Shapes::ShapeRef.new(shape: String, required: true, location_name: "format"))
726
+ PoDetailAttributes.struct_class = Types::PoDetailAttributes
727
+
699
728
  PortList.member = Shapes::ShapeRef.new(shape: Integer)
700
729
 
701
730
  PrimaryKey.add_member(:length, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "length"))
@@ -703,6 +732,14 @@ module Aws::MainframeModernization
703
732
  PrimaryKey.add_member(:offset, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "offset"))
704
733
  PrimaryKey.struct_class = Types::PrimaryKey
705
734
 
735
+ PsAttributes.add_member(:encoding, Shapes::ShapeRef.new(shape: String, location_name: "encoding"))
736
+ PsAttributes.add_member(:format, Shapes::ShapeRef.new(shape: String, required: true, location_name: "format"))
737
+ PsAttributes.struct_class = Types::PsAttributes
738
+
739
+ PsDetailAttributes.add_member(:encoding, Shapes::ShapeRef.new(shape: String, required: true, location_name: "encoding"))
740
+ PsDetailAttributes.add_member(:format, Shapes::ShapeRef.new(shape: String, required: true, location_name: "format"))
741
+ PsDetailAttributes.struct_class = Types::PsDetailAttributes
742
+
706
743
  RecordLength.add_member(:max, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "max"))
707
744
  RecordLength.add_member(:min, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "min"))
708
745
  RecordLength.struct_class = Types::RecordLength
@@ -754,6 +791,8 @@ module Aws::MainframeModernization
754
791
 
755
792
  StorageConfigurationList.member = Shapes::ShapeRef.new(shape: StorageConfiguration)
756
793
 
794
+ String20List.member = Shapes::ShapeRef.new(shape: String20)
795
+
757
796
  String50List.member = Shapes::ShapeRef.new(shape: String50)
758
797
 
759
798
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
@@ -50,9 +50,6 @@ module Aws::MainframeModernization
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,36 +14,39 @@ module Aws::MainframeModernization
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
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
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  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"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  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: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ 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"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://m2-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://m2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://m2.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://m2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://m2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -105,6 +105,11 @@ module Aws::MainframeModernization
105
105
  # The name of the application.
106
106
  # @return [String]
107
107
  #
108
+ # @!attribute [rw] role_arn
109
+ # The Amazon Resource Name (ARN) of the role associated with the
110
+ # application.
111
+ # @return [String]
112
+ #
108
113
  # @!attribute [rw] status
109
114
  # The status of the application.
110
115
  # @return [String]
@@ -126,6 +131,7 @@ module Aws::MainframeModernization
126
131
  :environment_id,
127
132
  :last_start_time,
128
133
  :name,
134
+ :role_arn,
129
135
  :status,
130
136
  :version_status)
131
137
  SENSITIVE = []
@@ -195,6 +201,10 @@ module Aws::MainframeModernization
195
201
  # The unique identifier of the application that hosts this batch job.
196
202
  # @return [String]
197
203
  #
204
+ # @!attribute [rw] batch_job_identifier
205
+ # The unique identifier of this batch job.
206
+ # @return [Types::BatchJobIdentifier]
207
+ #
198
208
  # @!attribute [rw] end_time
199
209
  # The timestamp when this batch job execution ended.
200
210
  # @return [Time]
@@ -215,6 +225,16 @@ module Aws::MainframeModernization
215
225
  # The type of a particular batch job execution.
216
226
  # @return [String]
217
227
  #
228
+ # @!attribute [rw] return_code
229
+ # The batch job return code from either the Blu Age or Micro Focus
230
+ # runtime engines. For more information, see [Batch return codes][1]
231
+ # in the *IBM WebSphere Application Server* documentation.
232
+ #
233
+ #
234
+ #
235
+ # [1]: https://www.ibm.com/docs/en/was/8.5.5?topic=model-batch-return-codes
236
+ # @return [String]
237
+ #
218
238
  # @!attribute [rw] start_time
219
239
  # The timestamp when a particular batch job execution started.
220
240
  # @return [Time]
@@ -227,11 +247,13 @@ module Aws::MainframeModernization
227
247
  #
228
248
  class BatchJobExecutionSummary < Struct.new(
229
249
  :application_id,
250
+ :batch_job_identifier,
230
251
  :end_time,
231
252
  :execution_id,
232
253
  :job_id,
233
254
  :job_name,
234
255
  :job_type,
256
+ :return_code,
235
257
  :start_time,
236
258
  :status)
237
259
  SENSITIVE = []
@@ -242,6 +264,8 @@ module Aws::MainframeModernization
242
264
  #
243
265
  # @note BatchJobIdentifier is a union - when making an API calls you must set exactly one of the members.
244
266
  #
267
+ # @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.
268
+ #
245
269
  # @!attribute [rw] file_batch_job_identifier
246
270
  # Specifies a file associated with a specific batch job.
247
271
  # @return [Types::FileBatchJobIdentifier]
@@ -344,6 +368,11 @@ module Aws::MainframeModernization
344
368
  # The unique identifier of the application.
345
369
  # @return [String]
346
370
  #
371
+ # @!attribute [rw] role_arn
372
+ # The Amazon Resource Name (ARN) of the role associated with the
373
+ # application.
374
+ # @return [String]
375
+ #
347
376
  # @!attribute [rw] tags
348
377
  # A list of tags to apply to the application.
349
378
  # @return [Hash<String,String>]
@@ -357,6 +386,7 @@ module Aws::MainframeModernization
357
386
  :engine_type,
358
387
  :kms_key_id,
359
388
  :name,
389
+ :role_arn,
360
390
  :tags)
361
391
  SENSITIVE = []
362
392
  include Aws::Structure
@@ -773,6 +803,14 @@ module Aws::MainframeModernization
773
803
  # The generation data group of the data set.
774
804
  # @return [Types::GdgDetailAttributes]
775
805
  #
806
+ # @!attribute [rw] po
807
+ # The details of a PO type data set.
808
+ # @return [Types::PoDetailAttributes]
809
+ #
810
+ # @!attribute [rw] ps
811
+ # The details of a PS type data set.
812
+ # @return [Types::PsDetailAttributes]
813
+ #
776
814
  # @!attribute [rw] vsam
777
815
  # The details of a VSAM data set.
778
816
  # @return [Types::VsamDetailAttributes]
@@ -781,6 +819,8 @@ module Aws::MainframeModernization
781
819
  #
782
820
  class DatasetDetailOrgAttributes < Struct.new(
783
821
  :gdg,
822
+ :po,
823
+ :ps,
784
824
  :vsam,
785
825
  :unknown)
786
826
  SENSITIVE = []
@@ -788,6 +828,8 @@ module Aws::MainframeModernization
788
828
  include Aws::Structure::Union
789
829
 
790
830
  class Gdg < DatasetDetailOrgAttributes; end
831
+ class Po < DatasetDetailOrgAttributes; end
832
+ class Ps < DatasetDetailOrgAttributes; end
791
833
  class Vsam < DatasetDetailOrgAttributes; end
792
834
  class Unknown < DatasetDetailOrgAttributes; end
793
835
  end
@@ -802,6 +844,14 @@ module Aws::MainframeModernization
802
844
  # The generation data group of the data set.
803
845
  # @return [Types::GdgAttributes]
804
846
  #
847
+ # @!attribute [rw] po
848
+ # The details of a PO type data set.
849
+ # @return [Types::PoAttributes]
850
+ #
851
+ # @!attribute [rw] ps
852
+ # The details of a PS type data set.
853
+ # @return [Types::PsAttributes]
854
+ #
805
855
  # @!attribute [rw] vsam
806
856
  # The details of a VSAM data set.
807
857
  # @return [Types::VsamAttributes]
@@ -810,6 +860,8 @@ module Aws::MainframeModernization
810
860
  #
811
861
  class DatasetOrgAttributes < Struct.new(
812
862
  :gdg,
863
+ :po,
864
+ :ps,
813
865
  :vsam,
814
866
  :unknown)
815
867
  SENSITIVE = []
@@ -817,6 +869,8 @@ module Aws::MainframeModernization
817
869
  include Aws::Structure::Union
818
870
 
819
871
  class Gdg < DatasetOrgAttributes; end
872
+ class Po < DatasetOrgAttributes; end
873
+ class Ps < DatasetOrgAttributes; end
820
874
  class Vsam < DatasetOrgAttributes; end
821
875
  class Unknown < DatasetOrgAttributes; end
822
876
  end
@@ -1276,6 +1330,11 @@ module Aws::MainframeModernization
1276
1330
  # The unique identifier of the application.
1277
1331
  # @return [String]
1278
1332
  #
1333
+ # @!attribute [rw] role_arn
1334
+ # The Amazon Resource Name (ARN) of the role associated with the
1335
+ # application.
1336
+ # @return [String]
1337
+ #
1279
1338
  # @!attribute [rw] status
1280
1339
  # The status of the application.
1281
1340
  # @return [String]
@@ -1311,6 +1370,7 @@ module Aws::MainframeModernization
1311
1370
  :load_balancer_dns_name,
1312
1371
  :log_groups,
1313
1372
  :name,
1373
+ :role_arn,
1314
1374
  :status,
1315
1375
  :status_reason,
1316
1376
  :tags,
@@ -1401,6 +1461,10 @@ module Aws::MainframeModernization
1401
1461
  # The identifier of the application.
1402
1462
  # @return [String]
1403
1463
  #
1464
+ # @!attribute [rw] batch_job_identifier
1465
+ # The unique identifier of this batch job.
1466
+ # @return [Types::BatchJobIdentifier]
1467
+ #
1404
1468
  # @!attribute [rw] end_time
1405
1469
  # The timestamp when the batch job execution ended.
1406
1470
  # @return [Time]
@@ -1425,6 +1489,16 @@ module Aws::MainframeModernization
1425
1489
  # The user for the job.
1426
1490
  # @return [String]
1427
1491
  #
1492
+ # @!attribute [rw] return_code
1493
+ # The batch job return code from either the Blu Age or Micro Focus
1494
+ # runtime engines. For more information, see [Batch return codes][1]
1495
+ # in the *IBM WebSphere Application Server* documentation.
1496
+ #
1497
+ #
1498
+ #
1499
+ # [1]: https://www.ibm.com/docs/en/was/8.5.5?topic=model-batch-return-codes
1500
+ # @return [String]
1501
+ #
1428
1502
  # @!attribute [rw] start_time
1429
1503
  # The timestamp when the batch job execution started.
1430
1504
  # @return [Time]
@@ -1441,12 +1515,14 @@ module Aws::MainframeModernization
1441
1515
  #
1442
1516
  class GetBatchJobExecutionResponse < Struct.new(
1443
1517
  :application_id,
1518
+ :batch_job_identifier,
1444
1519
  :end_time,
1445
1520
  :execution_id,
1446
1521
  :job_id,
1447
1522
  :job_name,
1448
1523
  :job_type,
1449
1524
  :job_user,
1525
+ :return_code,
1450
1526
  :start_time,
1451
1527
  :status,
1452
1528
  :status_reason)
@@ -2310,6 +2386,50 @@ module Aws::MainframeModernization
2310
2386
  include Aws::Structure
2311
2387
  end
2312
2388
 
2389
+ # The supported properties for a PO type data set.
2390
+ #
2391
+ # @!attribute [rw] encoding
2392
+ # The character set encoding of the data set.
2393
+ # @return [String]
2394
+ #
2395
+ # @!attribute [rw] format
2396
+ # The format of the data set records.
2397
+ # @return [String]
2398
+ #
2399
+ # @!attribute [rw] member_file_extensions
2400
+ # An array containing one or more filename extensions, allowing you to
2401
+ # specify which files to be included as PDS member.
2402
+ # @return [Array<String>]
2403
+ #
2404
+ # @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/PoAttributes AWS API Documentation
2405
+ #
2406
+ class PoAttributes < Struct.new(
2407
+ :encoding,
2408
+ :format,
2409
+ :member_file_extensions)
2410
+ SENSITIVE = []
2411
+ include Aws::Structure
2412
+ end
2413
+
2414
+ # The supported properties for a PO type data set.
2415
+ #
2416
+ # @!attribute [rw] encoding
2417
+ # The character set encoding of the data set.
2418
+ # @return [String]
2419
+ #
2420
+ # @!attribute [rw] format
2421
+ # The format of the data set records.
2422
+ # @return [String]
2423
+ #
2424
+ # @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/PoDetailAttributes AWS API Documentation
2425
+ #
2426
+ class PoDetailAttributes < Struct.new(
2427
+ :encoding,
2428
+ :format)
2429
+ SENSITIVE = []
2430
+ include Aws::Structure
2431
+ end
2432
+
2313
2433
  # The primary key for a KSDS data set.
2314
2434
  #
2315
2435
  # @!attribute [rw] length
@@ -2336,6 +2456,44 @@ module Aws::MainframeModernization
2336
2456
  include Aws::Structure
2337
2457
  end
2338
2458
 
2459
+ # The supported properties for a PS type data set.
2460
+ #
2461
+ # @!attribute [rw] encoding
2462
+ # The character set encoding of the data set.
2463
+ # @return [String]
2464
+ #
2465
+ # @!attribute [rw] format
2466
+ # The format of the data set records.
2467
+ # @return [String]
2468
+ #
2469
+ # @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/PsAttributes AWS API Documentation
2470
+ #
2471
+ class PsAttributes < Struct.new(
2472
+ :encoding,
2473
+ :format)
2474
+ SENSITIVE = []
2475
+ include Aws::Structure
2476
+ end
2477
+
2478
+ # The supported properties for a PS type data set.
2479
+ #
2480
+ # @!attribute [rw] encoding
2481
+ # The character set encoding of the data set.
2482
+ # @return [String]
2483
+ #
2484
+ # @!attribute [rw] format
2485
+ # The format of the data set records.
2486
+ # @return [String]
2487
+ #
2488
+ # @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/PsDetailAttributes AWS API Documentation
2489
+ #
2490
+ class PsDetailAttributes < Struct.new(
2491
+ :encoding,
2492
+ :format)
2493
+ SENSITIVE = []
2494
+ include Aws::Structure
2495
+ end
2496
+
2339
2497
  # The length of the records in the data set.
2340
2498
  #
2341
2499
  # @!attribute [rw] max
@@ -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.3.0'
55
+ GEM_VERSION = '1.5.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.3.0
4
+ version: 1.5.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: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-05-31 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.165.0
22
+ version: 3.174.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.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement