aws-sdk-mainframemodernization 1.4.0 → 1.6.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mainframemodernization/client.rb +27 -1
- data/lib/aws-sdk-mainframemodernization/client_api.rb +35 -0
- data/lib/aws-sdk-mainframemodernization/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-mainframemodernization/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-mainframemodernization/endpoints.rb +1 -0
- data/lib/aws-sdk-mainframemodernization/types.rb +140 -2
- data/lib/aws-sdk-mainframemodernization.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 04deeaa3d2ca4cf6c326a921402504ec4affc312b9f92c27ebdf4ec51f035885
|
|
4
|
+
data.tar.gz: e12e66bd3aa2afe6d13d81ea79fe947c7fa08cd4d115aae2a5d445c3186b4a87
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 51de1554a8bbcb8927fb5d9e16f42a2fb9ff99d3f622613d2fdfe653fd0ba93070df72cb37ba4f2888dcdf925fddad9832f4fd9fdb1058aa203a43fd07f81774
|
|
7
|
+
data.tar.gz: d24e1225bf4d187822462bcbaba7fad24e23fd766996d5fed4501a45e2b50169220ccf40c171f5cafd827f5682ad5a9f3dbff05b2696b4e5f423f176e2dcdb33
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.6.0 (2023-06-15)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.5.0 (2023-05-31)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adds an optional create-only 'roleArn' property to Application resources. Enables PS and PO data set org types.
|
|
13
|
+
|
|
4
14
|
1.4.0 (2023-01-25)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.6.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<Types::LogGroupSummary>
|
|
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<String,String>
|
|
@@ -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
|
|
@@ -1000,6 +1021,10 @@ module Aws::MainframeModernization
|
|
|
1000
1021
|
# resp.data_set_name #=> String
|
|
1001
1022
|
# resp.data_set_org.gdg.limit #=> Integer
|
|
1002
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
|
|
1003
1028
|
# resp.data_set_org.vsam.alternate_keys #=> Array
|
|
1004
1029
|
# resp.data_set_org.vsam.alternate_keys[0].allow_duplicates #=> Boolean
|
|
1005
1030
|
# resp.data_set_org.vsam.alternate_keys[0].length #=> Integer
|
|
@@ -1285,6 +1310,7 @@ module Aws::MainframeModernization
|
|
|
1285
1310
|
# resp.applications[0].environment_id #=> String
|
|
1286
1311
|
# resp.applications[0].last_start_time #=> Time
|
|
1287
1312
|
# resp.applications[0].name #=> String
|
|
1313
|
+
# resp.applications[0].role_arn #=> String
|
|
1288
1314
|
# resp.applications[0].status #=> String, one of "Creating", "Created", "Available", "Ready", "Starting", "Running", "Stopping", "Stopped", "Failed", "Deleting", "Deleting From Environment"
|
|
1289
1315
|
# resp.applications[0].version_status #=> String, one of "Creating", "Available", "Failed"
|
|
1290
1316
|
# resp.next_token #=> String
|
|
@@ -1987,7 +2013,7 @@ module Aws::MainframeModernization
|
|
|
1987
2013
|
params: params,
|
|
1988
2014
|
config: config)
|
|
1989
2015
|
context[:gem_name] = 'aws-sdk-mainframemodernization'
|
|
1990
|
-
context[:gem_version] = '1.
|
|
2016
|
+
context[:gem_version] = '1.6.0'
|
|
1991
2017
|
Seahorse::Client::Request.new(handlers, context)
|
|
1992
2018
|
end
|
|
1993
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
|
|
@@ -268,6 +274,7 @@ module Aws::MainframeModernization
|
|
|
268
274
|
CreateApplicationRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, required: true, location_name: "engineType"))
|
|
269
275
|
CreateApplicationRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
|
|
270
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"))
|
|
271
278
|
CreateApplicationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
|
272
279
|
CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
|
|
273
280
|
|
|
@@ -358,17 +365,25 @@ module Aws::MainframeModernization
|
|
|
358
365
|
DataSetsSummaryList.member = Shapes::ShapeRef.new(shape: DataSetSummary)
|
|
359
366
|
|
|
360
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"))
|
|
361
370
|
DatasetDetailOrgAttributes.add_member(:vsam, Shapes::ShapeRef.new(shape: VsamDetailAttributes, location_name: "vsam"))
|
|
362
371
|
DatasetDetailOrgAttributes.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
363
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)
|
|
364
375
|
DatasetDetailOrgAttributes.add_member_subclass(:vsam, Types::DatasetDetailOrgAttributes::Vsam)
|
|
365
376
|
DatasetDetailOrgAttributes.add_member_subclass(:unknown, Types::DatasetDetailOrgAttributes::Unknown)
|
|
366
377
|
DatasetDetailOrgAttributes.struct_class = Types::DatasetDetailOrgAttributes
|
|
367
378
|
|
|
368
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"))
|
|
369
382
|
DatasetOrgAttributes.add_member(:vsam, Shapes::ShapeRef.new(shape: VsamAttributes, location_name: "vsam"))
|
|
370
383
|
DatasetOrgAttributes.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
371
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)
|
|
372
387
|
DatasetOrgAttributes.add_member_subclass(:vsam, Types::DatasetOrgAttributes::Vsam)
|
|
373
388
|
DatasetOrgAttributes.add_member_subclass(:unknown, Types::DatasetOrgAttributes::Unknown)
|
|
374
389
|
DatasetOrgAttributes.struct_class = Types::DatasetOrgAttributes
|
|
@@ -481,6 +496,7 @@ module Aws::MainframeModernization
|
|
|
481
496
|
GetApplicationResponse.add_member(:load_balancer_dns_name, Shapes::ShapeRef.new(shape: String100, location_name: "loadBalancerDnsName"))
|
|
482
497
|
GetApplicationResponse.add_member(:log_groups, Shapes::ShapeRef.new(shape: LogGroupSummaries, location_name: "logGroups"))
|
|
483
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"))
|
|
484
500
|
GetApplicationResponse.add_member(:status, Shapes::ShapeRef.new(shape: ApplicationLifecycle, required: true, location_name: "status"))
|
|
485
501
|
GetApplicationResponse.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
|
486
502
|
GetApplicationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
|
@@ -700,6 +716,15 @@ module Aws::MainframeModernization
|
|
|
700
716
|
PendingMaintenance.add_member(:schedule, Shapes::ShapeRef.new(shape: MaintenanceSchedule, location_name: "schedule"))
|
|
701
717
|
PendingMaintenance.struct_class = Types::PendingMaintenance
|
|
702
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
|
+
|
|
703
728
|
PortList.member = Shapes::ShapeRef.new(shape: Integer)
|
|
704
729
|
|
|
705
730
|
PrimaryKey.add_member(:length, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "length"))
|
|
@@ -707,6 +732,14 @@ module Aws::MainframeModernization
|
|
|
707
732
|
PrimaryKey.add_member(:offset, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "offset"))
|
|
708
733
|
PrimaryKey.struct_class = Types::PrimaryKey
|
|
709
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
|
+
|
|
710
743
|
RecordLength.add_member(:max, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "max"))
|
|
711
744
|
RecordLength.add_member(:min, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "min"))
|
|
712
745
|
RecordLength.struct_class = Types::RecordLength
|
|
@@ -758,6 +791,8 @@ module Aws::MainframeModernization
|
|
|
758
791
|
|
|
759
792
|
StorageConfigurationList.member = Shapes::ShapeRef.new(shape: StorageConfiguration)
|
|
760
793
|
|
|
794
|
+
String20List.member = Shapes::ShapeRef.new(shape: String20)
|
|
795
|
+
|
|
761
796
|
String50List.member = Shapes::ShapeRef.new(shape: String50)
|
|
762
797
|
|
|
763
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
|
|
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
|
-
|
|
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
|
-
|
|
41
|
-
|
|
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
|
-
|
|
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 = []
|
|
@@ -196,7 +202,7 @@ module Aws::MainframeModernization
|
|
|
196
202
|
# @return [String]
|
|
197
203
|
#
|
|
198
204
|
# @!attribute [rw] batch_job_identifier
|
|
199
|
-
#
|
|
205
|
+
# The unique identifier of this batch job.
|
|
200
206
|
# @return [Types::BatchJobIdentifier]
|
|
201
207
|
#
|
|
202
208
|
# @!attribute [rw] end_time
|
|
@@ -220,6 +226,13 @@ module Aws::MainframeModernization
|
|
|
220
226
|
# @return [String]
|
|
221
227
|
#
|
|
222
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
|
|
223
236
|
# @return [String]
|
|
224
237
|
#
|
|
225
238
|
# @!attribute [rw] start_time
|
|
@@ -355,6 +368,11 @@ module Aws::MainframeModernization
|
|
|
355
368
|
# The unique identifier of the application.
|
|
356
369
|
# @return [String]
|
|
357
370
|
#
|
|
371
|
+
# @!attribute [rw] role_arn
|
|
372
|
+
# The Amazon Resource Name (ARN) of the role associated with the
|
|
373
|
+
# application.
|
|
374
|
+
# @return [String]
|
|
375
|
+
#
|
|
358
376
|
# @!attribute [rw] tags
|
|
359
377
|
# A list of tags to apply to the application.
|
|
360
378
|
# @return [Hash<String,String>]
|
|
@@ -368,6 +386,7 @@ module Aws::MainframeModernization
|
|
|
368
386
|
:engine_type,
|
|
369
387
|
:kms_key_id,
|
|
370
388
|
:name,
|
|
389
|
+
:role_arn,
|
|
371
390
|
:tags)
|
|
372
391
|
SENSITIVE = []
|
|
373
392
|
include Aws::Structure
|
|
@@ -784,6 +803,14 @@ module Aws::MainframeModernization
|
|
|
784
803
|
# The generation data group of the data set.
|
|
785
804
|
# @return [Types::GdgDetailAttributes]
|
|
786
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
|
+
#
|
|
787
814
|
# @!attribute [rw] vsam
|
|
788
815
|
# The details of a VSAM data set.
|
|
789
816
|
# @return [Types::VsamDetailAttributes]
|
|
@@ -792,6 +819,8 @@ module Aws::MainframeModernization
|
|
|
792
819
|
#
|
|
793
820
|
class DatasetDetailOrgAttributes < Struct.new(
|
|
794
821
|
:gdg,
|
|
822
|
+
:po,
|
|
823
|
+
:ps,
|
|
795
824
|
:vsam,
|
|
796
825
|
:unknown)
|
|
797
826
|
SENSITIVE = []
|
|
@@ -799,6 +828,8 @@ module Aws::MainframeModernization
|
|
|
799
828
|
include Aws::Structure::Union
|
|
800
829
|
|
|
801
830
|
class Gdg < DatasetDetailOrgAttributes; end
|
|
831
|
+
class Po < DatasetDetailOrgAttributes; end
|
|
832
|
+
class Ps < DatasetDetailOrgAttributes; end
|
|
802
833
|
class Vsam < DatasetDetailOrgAttributes; end
|
|
803
834
|
class Unknown < DatasetDetailOrgAttributes; end
|
|
804
835
|
end
|
|
@@ -813,6 +844,14 @@ module Aws::MainframeModernization
|
|
|
813
844
|
# The generation data group of the data set.
|
|
814
845
|
# @return [Types::GdgAttributes]
|
|
815
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
|
+
#
|
|
816
855
|
# @!attribute [rw] vsam
|
|
817
856
|
# The details of a VSAM data set.
|
|
818
857
|
# @return [Types::VsamAttributes]
|
|
@@ -821,6 +860,8 @@ module Aws::MainframeModernization
|
|
|
821
860
|
#
|
|
822
861
|
class DatasetOrgAttributes < Struct.new(
|
|
823
862
|
:gdg,
|
|
863
|
+
:po,
|
|
864
|
+
:ps,
|
|
824
865
|
:vsam,
|
|
825
866
|
:unknown)
|
|
826
867
|
SENSITIVE = []
|
|
@@ -828,6 +869,8 @@ module Aws::MainframeModernization
|
|
|
828
869
|
include Aws::Structure::Union
|
|
829
870
|
|
|
830
871
|
class Gdg < DatasetOrgAttributes; end
|
|
872
|
+
class Po < DatasetOrgAttributes; end
|
|
873
|
+
class Ps < DatasetOrgAttributes; end
|
|
831
874
|
class Vsam < DatasetOrgAttributes; end
|
|
832
875
|
class Unknown < DatasetOrgAttributes; end
|
|
833
876
|
end
|
|
@@ -1287,6 +1330,11 @@ module Aws::MainframeModernization
|
|
|
1287
1330
|
# The unique identifier of the application.
|
|
1288
1331
|
# @return [String]
|
|
1289
1332
|
#
|
|
1333
|
+
# @!attribute [rw] role_arn
|
|
1334
|
+
# The Amazon Resource Name (ARN) of the role associated with the
|
|
1335
|
+
# application.
|
|
1336
|
+
# @return [String]
|
|
1337
|
+
#
|
|
1290
1338
|
# @!attribute [rw] status
|
|
1291
1339
|
# The status of the application.
|
|
1292
1340
|
# @return [String]
|
|
@@ -1322,6 +1370,7 @@ module Aws::MainframeModernization
|
|
|
1322
1370
|
:load_balancer_dns_name,
|
|
1323
1371
|
:log_groups,
|
|
1324
1372
|
:name,
|
|
1373
|
+
:role_arn,
|
|
1325
1374
|
:status,
|
|
1326
1375
|
:status_reason,
|
|
1327
1376
|
:tags,
|
|
@@ -1413,7 +1462,7 @@ module Aws::MainframeModernization
|
|
|
1413
1462
|
# @return [String]
|
|
1414
1463
|
#
|
|
1415
1464
|
# @!attribute [rw] batch_job_identifier
|
|
1416
|
-
#
|
|
1465
|
+
# The unique identifier of this batch job.
|
|
1417
1466
|
# @return [Types::BatchJobIdentifier]
|
|
1418
1467
|
#
|
|
1419
1468
|
# @!attribute [rw] end_time
|
|
@@ -1441,6 +1490,13 @@ module Aws::MainframeModernization
|
|
|
1441
1490
|
# @return [String]
|
|
1442
1491
|
#
|
|
1443
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
|
|
1444
1500
|
# @return [String]
|
|
1445
1501
|
#
|
|
1446
1502
|
# @!attribute [rw] start_time
|
|
@@ -2330,6 +2386,50 @@ module Aws::MainframeModernization
|
|
|
2330
2386
|
include Aws::Structure
|
|
2331
2387
|
end
|
|
2332
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
|
+
|
|
2333
2433
|
# The primary key for a KSDS data set.
|
|
2334
2434
|
#
|
|
2335
2435
|
# @!attribute [rw] length
|
|
@@ -2356,6 +2456,44 @@ module Aws::MainframeModernization
|
|
|
2356
2456
|
include Aws::Structure
|
|
2357
2457
|
end
|
|
2358
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
|
+
|
|
2359
2497
|
# The length of the records in the data set.
|
|
2360
2498
|
#
|
|
2361
2499
|
# @!attribute [rw] max
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-mainframemodernization
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.6.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-
|
|
11
|
+
date: 2023-06-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: '3'
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 3.
|
|
22
|
+
version: 3.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.
|
|
32
|
+
version: 3.174.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|