aws-sdk-mainframemodernization 1.1.0 → 1.2.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mainframemodernization/client.rb +70 -51
- data/lib/aws-sdk-mainframemodernization/client_api.rb +15 -11
- data/lib/aws-sdk-mainframemodernization/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-mainframemodernization/endpoint_provider.rb +75 -76
- data/lib/aws-sdk-mainframemodernization/types.rb +101 -624
- data/lib/aws-sdk-mainframemodernization.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 550ddb9a921e1a82e226009fd786a9fd2713c9bbb12306c53d5d3cf7c190efa1
|
4
|
+
data.tar.gz: f9fa44131763106baeb691d880689759b329a9d0f98a10a5bda1389bf5c48c83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 427ca4ed800c139585eb0b5554599ff9331ba530ef77e249e03a740010e56261e5f59187d416a60edfbb6cc57bd803d397ba21412577a59f15774aaae6dea936
|
7
|
+
data.tar.gz: 66ed2b82898748e5555e80255459fbecfa7236ac6e997e922c0007d0ad92e4d30eb30894713a77d944c88d5a45c1768e407c106dd141d284911fd3359f27bca9
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
@@ -395,7 +395,7 @@ module Aws::MainframeModernization
|
|
395
395
|
end
|
396
396
|
|
397
397
|
# Creates a new application with given parameters. Requires an existing
|
398
|
-
# environment and application definition file.
|
398
|
+
# runtime environment and application definition file.
|
399
399
|
#
|
400
400
|
# @option params [String] :client_token
|
401
401
|
# Unique, case-sensitive identifier the service generates to ensure the
|
@@ -418,6 +418,9 @@ module Aws::MainframeModernization
|
|
418
418
|
# @option params [required, String] :engine_type
|
419
419
|
# The type of the target platform for this application.
|
420
420
|
#
|
421
|
+
# @option params [String] :kms_key_id
|
422
|
+
# The identifier of a customer managed key.
|
423
|
+
#
|
421
424
|
# @option params [required, String] :name
|
422
425
|
# The unique identifier of the application.
|
423
426
|
#
|
@@ -440,6 +443,7 @@ module Aws::MainframeModernization
|
|
440
443
|
# },
|
441
444
|
# description: "EntityDescription",
|
442
445
|
# engine_type: "microfocus", # required, accepts microfocus, bluage
|
446
|
+
# kms_key_id: "String",
|
443
447
|
# name: "EntityName", # required
|
444
448
|
# tags: {
|
445
449
|
# "TagKey" => "TagValue",
|
@@ -548,8 +552,8 @@ module Aws::MainframeModernization
|
|
548
552
|
req.send_request(options)
|
549
553
|
end
|
550
554
|
|
551
|
-
# Creates and starts a deployment to deploy an application into
|
552
|
-
# environment.
|
555
|
+
# Creates and starts a deployment to deploy an application into a
|
556
|
+
# runtime environment.
|
553
557
|
#
|
554
558
|
# @option params [required, String] :application_id
|
555
559
|
# The application identifier.
|
@@ -569,8 +573,8 @@ module Aws::MainframeModernization
|
|
569
573
|
# not need to pass this option.**
|
570
574
|
#
|
571
575
|
# @option params [required, String] :environment_id
|
572
|
-
# The identifier of the environment where
|
573
|
-
#
|
576
|
+
# The identifier of the runtime environment where you want to deploy
|
577
|
+
# this application.
|
574
578
|
#
|
575
579
|
# @return [Types::CreateDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
576
580
|
#
|
@@ -612,43 +616,49 @@ module Aws::MainframeModernization
|
|
612
616
|
# not need to pass this option.**
|
613
617
|
#
|
614
618
|
# @option params [String] :description
|
615
|
-
# The description of the environment.
|
619
|
+
# The description of the runtime environment.
|
616
620
|
#
|
617
621
|
# @option params [required, String] :engine_type
|
618
|
-
# The engine type for the environment.
|
622
|
+
# The engine type for the runtime environment.
|
619
623
|
#
|
620
624
|
# @option params [String] :engine_version
|
621
|
-
# The version of the engine type for the environment.
|
625
|
+
# The version of the engine type for the runtime environment.
|
622
626
|
#
|
623
627
|
# @option params [Types::HighAvailabilityConfig] :high_availability_config
|
624
628
|
# The details of a high availability configuration for this runtime
|
625
629
|
# environment.
|
626
630
|
#
|
627
631
|
# @option params [required, String] :instance_type
|
628
|
-
# The type of instance for the environment.
|
632
|
+
# The type of instance for the runtime environment.
|
633
|
+
#
|
634
|
+
# @option params [String] :kms_key_id
|
635
|
+
# The identifier of a customer managed key.
|
629
636
|
#
|
630
637
|
# @option params [required, String] :name
|
631
|
-
# The
|
638
|
+
# The name of the runtime environment. Must be unique within the
|
639
|
+
# account.
|
632
640
|
#
|
633
641
|
# @option params [String] :preferred_maintenance_window
|
634
|
-
# Configures
|
635
|
-
# not provide a value, a random system-generated
|
642
|
+
# Configures the maintenance window you want for the runtime
|
643
|
+
# environment. If you do not provide a value, a random system-generated
|
644
|
+
# value will be assigned.
|
636
645
|
#
|
637
646
|
# @option params [Boolean] :publicly_accessible
|
638
|
-
# Specifies whether the environment is publicly accessible.
|
647
|
+
# Specifies whether the runtime environment is publicly accessible.
|
639
648
|
#
|
640
649
|
# @option params [Array<String>] :security_group_ids
|
641
|
-
# The list of security groups for the VPC associated with this
|
650
|
+
# The list of security groups for the VPC associated with this runtime
|
642
651
|
# environment.
|
643
652
|
#
|
644
653
|
# @option params [Array<Types::StorageConfiguration>] :storage_configurations
|
645
|
-
# Optional. The storage configurations for this environment.
|
654
|
+
# Optional. The storage configurations for this runtime environment.
|
646
655
|
#
|
647
656
|
# @option params [Array<String>] :subnet_ids
|
648
|
-
# The list of subnets associated with the VPC for this
|
657
|
+
# The list of subnets associated with the VPC for this runtime
|
658
|
+
# environment.
|
649
659
|
#
|
650
660
|
# @option params [Hash<String,String>] :tags
|
651
|
-
# The tags for the environment.
|
661
|
+
# The tags for the runtime environment.
|
652
662
|
#
|
653
663
|
# @return [Types::CreateEnvironmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
654
664
|
#
|
@@ -665,6 +675,7 @@ module Aws::MainframeModernization
|
|
665
675
|
# desired_capacity: 1, # required
|
666
676
|
# },
|
667
677
|
# instance_type: "String20", # required
|
678
|
+
# kms_key_id: "String",
|
668
679
|
# name: "EntityName", # required
|
669
680
|
# preferred_maintenance_window: "String50",
|
670
681
|
# publicly_accessible: false,
|
@@ -723,11 +734,12 @@ module Aws::MainframeModernization
|
|
723
734
|
req.send_request(options)
|
724
735
|
end
|
725
736
|
|
726
|
-
# Deletes a specific application from
|
727
|
-
#
|
728
|
-
# DeleteEnvironment
|
729
|
-
# This API removes the association of the application
|
730
|
-
# environment so you can delete the environment
|
737
|
+
# Deletes a specific application from the specific runtime environment
|
738
|
+
# where it was previously deployed. You cannot delete a runtime
|
739
|
+
# environment using DeleteEnvironment if any application has ever been
|
740
|
+
# deployed to it. This API removes the association of the application
|
741
|
+
# with the runtime environment so you can delete the environment
|
742
|
+
# smoothly.
|
731
743
|
#
|
732
744
|
# @option params [required, String] :application_id
|
733
745
|
# The unique identifier of the application you want to delete.
|
@@ -754,7 +766,7 @@ module Aws::MainframeModernization
|
|
754
766
|
req.send_request(options)
|
755
767
|
end
|
756
768
|
|
757
|
-
# Deletes a specific environment. The environment cannot contain
|
769
|
+
# Deletes a specific runtime environment. The environment cannot contain
|
758
770
|
# deployed applications. If it does, you must delete those applications
|
759
771
|
# before you delete the environment.
|
760
772
|
#
|
@@ -792,6 +804,7 @@ module Aws::MainframeModernization
|
|
792
804
|
# * {Types::GetApplicationResponse#description #description} => String
|
793
805
|
# * {Types::GetApplicationResponse#engine_type #engine_type} => String
|
794
806
|
# * {Types::GetApplicationResponse#environment_id #environment_id} => String
|
807
|
+
# * {Types::GetApplicationResponse#kms_key_id #kms_key_id} => String
|
795
808
|
# * {Types::GetApplicationResponse#last_start_time #last_start_time} => Time
|
796
809
|
# * {Types::GetApplicationResponse#latest_version #latest_version} => Types::ApplicationVersionSummary
|
797
810
|
# * {Types::GetApplicationResponse#listener_arns #listener_arns} => Array<String>
|
@@ -821,6 +834,7 @@ module Aws::MainframeModernization
|
|
821
834
|
# resp.description #=> String
|
822
835
|
# resp.engine_type #=> String, one of "microfocus", "bluage"
|
823
836
|
# resp.environment_id #=> String
|
837
|
+
# resp.kms_key_id #=> String
|
824
838
|
# resp.last_start_time #=> Time
|
825
839
|
# resp.latest_version.application_version #=> Integer
|
826
840
|
# resp.latest_version.creation_time #=> Time
|
@@ -835,7 +849,7 @@ module Aws::MainframeModernization
|
|
835
849
|
# resp.log_groups[0].log_group_name #=> String
|
836
850
|
# resp.log_groups[0].log_type #=> String
|
837
851
|
# resp.name #=> String
|
838
|
-
# resp.status #=> String, one of "Creating", "Created", "Available", "Ready", "Starting", "Running", "Stopping", "Stopped", "Failed", "Deleting"
|
852
|
+
# resp.status #=> String, one of "Creating", "Created", "Available", "Ready", "Starting", "Running", "Stopping", "Stopped", "Failed", "Deleting", "Deleting From Environment"
|
839
853
|
# resp.status_reason #=> String
|
840
854
|
# resp.tags #=> Hash
|
841
855
|
# resp.tags["TagKey"] #=> String
|
@@ -1108,6 +1122,7 @@ module Aws::MainframeModernization
|
|
1108
1122
|
# * {Types::GetEnvironmentResponse#environment_id #environment_id} => String
|
1109
1123
|
# * {Types::GetEnvironmentResponse#high_availability_config #high_availability_config} => Types::HighAvailabilityConfig
|
1110
1124
|
# * {Types::GetEnvironmentResponse#instance_type #instance_type} => String
|
1125
|
+
# * {Types::GetEnvironmentResponse#kms_key_id #kms_key_id} => String
|
1111
1126
|
# * {Types::GetEnvironmentResponse#load_balancer_arn #load_balancer_arn} => String
|
1112
1127
|
# * {Types::GetEnvironmentResponse#name #name} => String
|
1113
1128
|
# * {Types::GetEnvironmentResponse#pending_maintenance #pending_maintenance} => Types::PendingMaintenance
|
@@ -1138,6 +1153,7 @@ module Aws::MainframeModernization
|
|
1138
1153
|
# resp.environment_id #=> String
|
1139
1154
|
# resp.high_availability_config.desired_capacity #=> Integer
|
1140
1155
|
# resp.instance_type #=> String
|
1156
|
+
# resp.kms_key_id #=> String
|
1141
1157
|
# resp.load_balancer_arn #=> String
|
1142
1158
|
# resp.name #=> String
|
1143
1159
|
# resp.pending_maintenance.engine_version #=> String
|
@@ -1147,7 +1163,7 @@ module Aws::MainframeModernization
|
|
1147
1163
|
# resp.publicly_accessible #=> Boolean
|
1148
1164
|
# resp.security_group_ids #=> Array
|
1149
1165
|
# resp.security_group_ids[0] #=> String
|
1150
|
-
# resp.status #=> String, one of "Creating", "Available", "Deleting", "Failed"
|
1166
|
+
# resp.status #=> String, one of "Creating", "Available", "Deleting", "Failed", "Updating"
|
1151
1167
|
# resp.status_reason #=> String
|
1152
1168
|
# resp.storage_configurations #=> Array
|
1153
1169
|
# resp.storage_configurations[0].efs.file_system_id #=> String
|
@@ -1216,7 +1232,7 @@ module Aws::MainframeModernization
|
|
1216
1232
|
end
|
1217
1233
|
|
1218
1234
|
# Lists the applications associated with a specific Amazon Web Services
|
1219
|
-
# account. You can provide the unique identifier of a specific
|
1235
|
+
# account. You can provide the unique identifier of a specific runtime
|
1220
1236
|
# environment in a query parameter to see all applications associated
|
1221
1237
|
# with that environment.
|
1222
1238
|
#
|
@@ -1263,7 +1279,7 @@ module Aws::MainframeModernization
|
|
1263
1279
|
# resp.applications[0].environment_id #=> String
|
1264
1280
|
# resp.applications[0].last_start_time #=> Time
|
1265
1281
|
# resp.applications[0].name #=> String
|
1266
|
-
# resp.applications[0].status #=> String, one of "Creating", "Created", "Available", "Ready", "Starting", "Running", "Stopping", "Stopped", "Failed", "Deleting"
|
1282
|
+
# resp.applications[0].status #=> String, one of "Creating", "Created", "Available", "Ready", "Starting", "Running", "Stopping", "Stopped", "Failed", "Deleting", "Deleting From Environment"
|
1267
1283
|
# resp.applications[0].version_status #=> String, one of "Creating", "Available", "Failed"
|
1268
1284
|
# resp.next_token #=> String
|
1269
1285
|
#
|
@@ -1277,8 +1293,8 @@ module Aws::MainframeModernization
|
|
1277
1293
|
end
|
1278
1294
|
|
1279
1295
|
# Lists all the available batch job definitions based on the batch job
|
1280
|
-
# resources uploaded during the application creation.
|
1281
|
-
# job definitions
|
1296
|
+
# resources uploaded during the application creation. You can use the
|
1297
|
+
# batch job definitions in the list to start a batch job.
|
1282
1298
|
#
|
1283
1299
|
# @option params [required, String] :application_id
|
1284
1300
|
# The identifier of the application.
|
@@ -1449,9 +1465,10 @@ module Aws::MainframeModernization
|
|
1449
1465
|
|
1450
1466
|
# Lists the data sets imported for a specific application. In Amazon Web
|
1451
1467
|
# Services Mainframe Modernization, data sets are associated with
|
1452
|
-
# applications deployed on environments. This is known as
|
1453
|
-
# sets. Currently, Amazon Web Services Mainframe
|
1454
|
-
# import data sets into catalogs using
|
1468
|
+
# applications deployed on runtime environments. This is known as
|
1469
|
+
# importing data sets. Currently, Amazon Web Services Mainframe
|
1470
|
+
# Modernization can import data sets into catalogs using
|
1471
|
+
# [CreateDataSetImportTask][1].
|
1455
1472
|
#
|
1456
1473
|
#
|
1457
1474
|
#
|
@@ -1608,17 +1625,18 @@ module Aws::MainframeModernization
|
|
1608
1625
|
# Lists the runtime environments.
|
1609
1626
|
#
|
1610
1627
|
# @option params [String] :engine_type
|
1611
|
-
# The engine type for the environment.
|
1628
|
+
# The engine type for the runtime environment.
|
1612
1629
|
#
|
1613
1630
|
# @option params [Integer] :max_results
|
1614
|
-
# The maximum number of environments to return.
|
1631
|
+
# The maximum number of runtime environments to return.
|
1615
1632
|
#
|
1616
1633
|
# @option params [Array<String>] :names
|
1617
|
-
# The
|
1634
|
+
# The names of the runtime environments. Must be unique within the
|
1635
|
+
# account.
|
1618
1636
|
#
|
1619
1637
|
# @option params [String] :next_token
|
1620
|
-
# A pagination token to control the number of environments
|
1621
|
-
# the list.
|
1638
|
+
# A pagination token to control the number of runtime environments
|
1639
|
+
# displayed in the list.
|
1622
1640
|
#
|
1623
1641
|
# @return [Types::ListEnvironmentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1624
1642
|
#
|
@@ -1646,7 +1664,7 @@ module Aws::MainframeModernization
|
|
1646
1664
|
# resp.environments[0].environment_id #=> String
|
1647
1665
|
# resp.environments[0].instance_type #=> String
|
1648
1666
|
# resp.environments[0].name #=> String
|
1649
|
-
# resp.environments[0].status #=> String, one of "Creating", "Available", "Deleting", "Failed"
|
1667
|
+
# resp.environments[0].status #=> String, one of "Creating", "Available", "Deleting", "Failed", "Updating"
|
1650
1668
|
# resp.next_token #=> String
|
1651
1669
|
#
|
1652
1670
|
# @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/ListEnvironments AWS API Documentation
|
@@ -1890,32 +1908,33 @@ module Aws::MainframeModernization
|
|
1890
1908
|
req.send_request(options)
|
1891
1909
|
end
|
1892
1910
|
|
1893
|
-
# Updates the configuration details for a specific environment.
|
1911
|
+
# Updates the configuration details for a specific runtime environment.
|
1894
1912
|
#
|
1895
1913
|
# @option params [Boolean] :apply_during_maintenance_window
|
1896
|
-
# Indicates whether to update the environment during the
|
1897
|
-
# window. The default is false. Currently, Amazon Web
|
1898
|
-
# Modernization accepts the `engineVersion` parameter
|
1899
|
-
# `applyDuringMaintenanceWindow` is true. If any parameter other
|
1900
|
-
# `engineVersion` is provided in `UpdateEnvironmentRequest`, it
|
1901
|
-
# fail if `applyDuringMaintenanceWindow` is set to true.
|
1914
|
+
# Indicates whether to update the runtime environment during the
|
1915
|
+
# maintenance window. The default is false. Currently, Amazon Web
|
1916
|
+
# Services Mainframe Modernization accepts the `engineVersion` parameter
|
1917
|
+
# only if `applyDuringMaintenanceWindow` is true. If any parameter other
|
1918
|
+
# than `engineVersion` is provided in `UpdateEnvironmentRequest`, it
|
1919
|
+
# will fail if `applyDuringMaintenanceWindow` is set to true.
|
1902
1920
|
#
|
1903
1921
|
# @option params [Integer] :desired_capacity
|
1904
|
-
# The desired capacity for the environment to update.
|
1922
|
+
# The desired capacity for the runtime environment to update.
|
1905
1923
|
#
|
1906
1924
|
# @option params [String] :engine_version
|
1907
|
-
# The version of the runtime engine for the environment.
|
1925
|
+
# The version of the runtime engine for the runtime environment.
|
1908
1926
|
#
|
1909
1927
|
# @option params [required, String] :environment_id
|
1910
1928
|
# The unique identifier of the runtime environment that you want to
|
1911
1929
|
# update.
|
1912
1930
|
#
|
1913
1931
|
# @option params [String] :instance_type
|
1914
|
-
# The instance type for the environment to update.
|
1932
|
+
# The instance type for the runtime environment to update.
|
1915
1933
|
#
|
1916
1934
|
# @option params [String] :preferred_maintenance_window
|
1917
|
-
# Configures
|
1918
|
-
# not provide a value, a random system-generated
|
1935
|
+
# Configures the maintenance window you want for the runtime
|
1936
|
+
# environment. If you do not provide a value, a random system-generated
|
1937
|
+
# value will be assigned.
|
1919
1938
|
#
|
1920
1939
|
# @return [Types::UpdateEnvironmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1921
1940
|
#
|
@@ -1958,7 +1977,7 @@ module Aws::MainframeModernization
|
|
1958
1977
|
params: params,
|
1959
1978
|
config: config)
|
1960
1979
|
context[:gem_name] = 'aws-sdk-mainframemodernization'
|
1961
|
-
context[:gem_version] = '1.
|
1980
|
+
context[:gem_version] = '1.2.0'
|
1962
1981
|
Seahorse::Client::Request.new(handlers, context)
|
1963
1982
|
end
|
1964
1983
|
|
@@ -264,6 +264,7 @@ module Aws::MainframeModernization
|
|
264
264
|
CreateApplicationRequest.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, required: true, location_name: "definition"))
|
265
265
|
CreateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description"))
|
266
266
|
CreateApplicationRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, required: true, location_name: "engineType"))
|
267
|
+
CreateApplicationRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
|
267
268
|
CreateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "name"))
|
268
269
|
CreateApplicationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
269
270
|
CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
|
@@ -296,6 +297,7 @@ module Aws::MainframeModernization
|
|
296
297
|
CreateEnvironmentRequest.add_member(:engine_version, Shapes::ShapeRef.new(shape: EngineVersion, location_name: "engineVersion"))
|
297
298
|
CreateEnvironmentRequest.add_member(:high_availability_config, Shapes::ShapeRef.new(shape: HighAvailabilityConfig, location_name: "highAvailabilityConfig"))
|
298
299
|
CreateEnvironmentRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String20, required: true, location_name: "instanceType"))
|
300
|
+
CreateEnvironmentRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
|
299
301
|
CreateEnvironmentRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "name"))
|
300
302
|
CreateEnvironmentRequest.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape: String50, location_name: "preferredMaintenanceWindow"))
|
301
303
|
CreateEnvironmentRequest.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: Boolean, location_name: "publiclyAccessible"))
|
@@ -469,6 +471,7 @@ module Aws::MainframeModernization
|
|
469
471
|
GetApplicationResponse.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description"))
|
470
472
|
GetApplicationResponse.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, required: true, location_name: "engineType"))
|
471
473
|
GetApplicationResponse.add_member(:environment_id, Shapes::ShapeRef.new(shape: Identifier, location_name: "environmentId"))
|
474
|
+
GetApplicationResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
|
472
475
|
GetApplicationResponse.add_member(:last_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastStartTime"))
|
473
476
|
GetApplicationResponse.add_member(:latest_version, Shapes::ShapeRef.new(shape: ApplicationVersionSummary, required: true, location_name: "latestVersion"))
|
474
477
|
GetApplicationResponse.add_member(:listener_arns, Shapes::ShapeRef.new(shape: ArnList, location_name: "listenerArns"))
|
@@ -559,10 +562,11 @@ module Aws::MainframeModernization
|
|
559
562
|
GetEnvironmentResponse.add_member(:environment_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "environmentId"))
|
560
563
|
GetEnvironmentResponse.add_member(:high_availability_config, Shapes::ShapeRef.new(shape: HighAvailabilityConfig, location_name: "highAvailabilityConfig"))
|
561
564
|
GetEnvironmentResponse.add_member(:instance_type, Shapes::ShapeRef.new(shape: String20, required: true, location_name: "instanceType"))
|
565
|
+
GetEnvironmentResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
|
562
566
|
GetEnvironmentResponse.add_member(:load_balancer_arn, Shapes::ShapeRef.new(shape: String, location_name: "loadBalancerArn"))
|
563
567
|
GetEnvironmentResponse.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "name"))
|
564
568
|
GetEnvironmentResponse.add_member(:pending_maintenance, Shapes::ShapeRef.new(shape: PendingMaintenance, location_name: "pendingMaintenance"))
|
565
|
-
GetEnvironmentResponse.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape:
|
569
|
+
GetEnvironmentResponse.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape: String50, location_name: "preferredMaintenanceWindow"))
|
566
570
|
GetEnvironmentResponse.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: Boolean, location_name: "publiclyAccessible"))
|
567
571
|
GetEnvironmentResponse.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: String50List, required: true, location_name: "securityGroupIds"))
|
568
572
|
GetEnvironmentResponse.add_member(:status, Shapes::ShapeRef.new(shape: EnvironmentLifecycle, required: true, location_name: "status"))
|
@@ -583,7 +587,7 @@ module Aws::MainframeModernization
|
|
583
587
|
InternalServerException.struct_class = Types::InternalServerException
|
584
588
|
|
585
589
|
ListApplicationVersionsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
|
586
|
-
ListApplicationVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"
|
590
|
+
ListApplicationVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
587
591
|
ListApplicationVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
588
592
|
ListApplicationVersionsRequest.struct_class = Types::ListApplicationVersionsRequest
|
589
593
|
|
@@ -592,7 +596,7 @@ module Aws::MainframeModernization
|
|
592
596
|
ListApplicationVersionsResponse.struct_class = Types::ListApplicationVersionsResponse
|
593
597
|
|
594
598
|
ListApplicationsRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Identifier, location: "querystring", location_name: "environmentId"))
|
595
|
-
ListApplicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"
|
599
|
+
ListApplicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
596
600
|
ListApplicationsRequest.add_member(:names, Shapes::ShapeRef.new(shape: EntityNameList, location: "querystring", location_name: "names"))
|
597
601
|
ListApplicationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
598
602
|
ListApplicationsRequest.struct_class = Types::ListApplicationsRequest
|
@@ -602,7 +606,7 @@ module Aws::MainframeModernization
|
|
602
606
|
ListApplicationsResponse.struct_class = Types::ListApplicationsResponse
|
603
607
|
|
604
608
|
ListBatchJobDefinitionsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
|
605
|
-
ListBatchJobDefinitionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"
|
609
|
+
ListBatchJobDefinitionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
606
610
|
ListBatchJobDefinitionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
607
611
|
ListBatchJobDefinitionsRequest.add_member(:prefix, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "prefix"))
|
608
612
|
ListBatchJobDefinitionsRequest.struct_class = Types::ListBatchJobDefinitionsRequest
|
@@ -614,7 +618,7 @@ module Aws::MainframeModernization
|
|
614
618
|
ListBatchJobExecutionsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
|
615
619
|
ListBatchJobExecutionsRequest.add_member(:execution_ids, Shapes::ShapeRef.new(shape: IdentifierList, location: "querystring", location_name: "executionIds"))
|
616
620
|
ListBatchJobExecutionsRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: String100, location: "querystring", location_name: "jobName"))
|
617
|
-
ListBatchJobExecutionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"
|
621
|
+
ListBatchJobExecutionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
618
622
|
ListBatchJobExecutionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
619
623
|
ListBatchJobExecutionsRequest.add_member(:started_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "startedAfter"))
|
620
624
|
ListBatchJobExecutionsRequest.add_member(:started_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "startedBefore"))
|
@@ -626,7 +630,7 @@ module Aws::MainframeModernization
|
|
626
630
|
ListBatchJobExecutionsResponse.struct_class = Types::ListBatchJobExecutionsResponse
|
627
631
|
|
628
632
|
ListDataSetImportHistoryRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
|
629
|
-
ListDataSetImportHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"
|
633
|
+
ListDataSetImportHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
630
634
|
ListDataSetImportHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
631
635
|
ListDataSetImportHistoryRequest.struct_class = Types::ListDataSetImportHistoryRequest
|
632
636
|
|
@@ -635,7 +639,7 @@ module Aws::MainframeModernization
|
|
635
639
|
ListDataSetImportHistoryResponse.struct_class = Types::ListDataSetImportHistoryResponse
|
636
640
|
|
637
641
|
ListDataSetsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
|
638
|
-
ListDataSetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"
|
642
|
+
ListDataSetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
639
643
|
ListDataSetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
640
644
|
ListDataSetsRequest.add_member(:prefix, Shapes::ShapeRef.new(shape: String200, location: "querystring", location_name: "prefix"))
|
641
645
|
ListDataSetsRequest.struct_class = Types::ListDataSetsRequest
|
@@ -645,7 +649,7 @@ module Aws::MainframeModernization
|
|
645
649
|
ListDataSetsResponse.struct_class = Types::ListDataSetsResponse
|
646
650
|
|
647
651
|
ListDeploymentsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
|
648
|
-
ListDeploymentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"
|
652
|
+
ListDeploymentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
649
653
|
ListDeploymentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
650
654
|
ListDeploymentsRequest.struct_class = Types::ListDeploymentsRequest
|
651
655
|
|
@@ -654,7 +658,7 @@ module Aws::MainframeModernization
|
|
654
658
|
ListDeploymentsResponse.struct_class = Types::ListDeploymentsResponse
|
655
659
|
|
656
660
|
ListEngineVersionsRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location: "querystring", location_name: "engineType"))
|
657
|
-
ListEngineVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"
|
661
|
+
ListEngineVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
658
662
|
ListEngineVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
659
663
|
ListEngineVersionsRequest.struct_class = Types::ListEngineVersionsRequest
|
660
664
|
|
@@ -663,7 +667,7 @@ module Aws::MainframeModernization
|
|
663
667
|
ListEngineVersionsResponse.struct_class = Types::ListEngineVersionsResponse
|
664
668
|
|
665
669
|
ListEnvironmentsRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location: "querystring", location_name: "engineType"))
|
666
|
-
ListEnvironmentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"
|
670
|
+
ListEnvironmentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
667
671
|
ListEnvironmentsRequest.add_member(:names, Shapes::ShapeRef.new(shape: EntityNameList, location: "querystring", location_name: "names"))
|
668
672
|
ListEnvironmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
669
673
|
ListEnvironmentsRequest.struct_class = Types::ListEnvironmentsRequest
|
@@ -785,7 +789,7 @@ module Aws::MainframeModernization
|
|
785
789
|
UpdateApplicationResponse.struct_class = Types::UpdateApplicationResponse
|
786
790
|
|
787
791
|
UpdateEnvironmentRequest.add_member(:apply_during_maintenance_window, Shapes::ShapeRef.new(shape: Boolean, location_name: "applyDuringMaintenanceWindow"))
|
788
|
-
UpdateEnvironmentRequest.add_member(:desired_capacity, Shapes::ShapeRef.new(shape: CapacityValue, location_name: "desiredCapacity"
|
792
|
+
UpdateEnvironmentRequest.add_member(:desired_capacity, Shapes::ShapeRef.new(shape: CapacityValue, location_name: "desiredCapacity"))
|
789
793
|
UpdateEnvironmentRequest.add_member(:engine_version, Shapes::ShapeRef.new(shape: EngineVersion, location_name: "engineVersion"))
|
790
794
|
UpdateEnvironmentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "environmentId"))
|
791
795
|
UpdateEnvironmentRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String20, location_name: "instanceType"))
|
@@ -50,6 +50,9 @@ 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
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|