aws-sdk-mainframemodernization 1.0.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mainframemodernization/client.rb +89 -53
- data/lib/aws-sdk-mainframemodernization/client_api.rb +15 -11
- data/lib/aws-sdk-mainframemodernization/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-mainframemodernization/endpoint_provider.rb +110 -0
- data/lib/aws-sdk-mainframemodernization/endpoints.rb +463 -0
- data/lib/aws-sdk-mainframemodernization/plugins/endpoints.rb +132 -0
- data/lib/aws-sdk-mainframemodernization/types.rb +101 -624
- data/lib/aws-sdk-mainframemodernization.rb +5 -1
- metadata +8 -4
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
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.2.0 (2022-12-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds an optional create-only `KmsKeyId` property to Environment and Application resources.
|
8
|
+
|
9
|
+
1.1.0 (2022-10-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.0.0 (2022-06-08)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
-
require 'aws-sdk-core/plugins/
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
34
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:mainframemodernization)
|
@@ -79,8 +79,9 @@ module Aws::MainframeModernization
|
|
79
79
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
|
-
add_plugin(Aws::Plugins::
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
83
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
84
|
+
add_plugin(Aws::MainframeModernization::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -287,6 +288,19 @@ module Aws::MainframeModernization
|
|
287
288
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
288
289
|
# requests are made, and retries are disabled.
|
289
290
|
#
|
291
|
+
# @option options [Aws::TokenProvider] :token_provider
|
292
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
293
|
+
# following classes:
|
294
|
+
#
|
295
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
296
|
+
# tokens.
|
297
|
+
#
|
298
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
299
|
+
# access token generated from `aws login`.
|
300
|
+
#
|
301
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
302
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
303
|
+
#
|
290
304
|
# @option options [Boolean] :use_dualstack_endpoint
|
291
305
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
292
306
|
# will be used if available.
|
@@ -300,6 +314,9 @@ module Aws::MainframeModernization
|
|
300
314
|
# When `true`, request parameters are validated before
|
301
315
|
# sending the request.
|
302
316
|
#
|
317
|
+
# @option options [Aws::MainframeModernization::EndpointProvider] :endpoint_provider
|
318
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::MainframeModernization::EndpointParameters`
|
319
|
+
#
|
303
320
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
304
321
|
# requests through. Formatted like 'http://proxy.com:123'.
|
305
322
|
#
|
@@ -378,7 +395,7 @@ module Aws::MainframeModernization
|
|
378
395
|
end
|
379
396
|
|
380
397
|
# Creates a new application with given parameters. Requires an existing
|
381
|
-
# environment and application definition file.
|
398
|
+
# runtime environment and application definition file.
|
382
399
|
#
|
383
400
|
# @option params [String] :client_token
|
384
401
|
# Unique, case-sensitive identifier the service generates to ensure the
|
@@ -401,6 +418,9 @@ module Aws::MainframeModernization
|
|
401
418
|
# @option params [required, String] :engine_type
|
402
419
|
# The type of the target platform for this application.
|
403
420
|
#
|
421
|
+
# @option params [String] :kms_key_id
|
422
|
+
# The identifier of a customer managed key.
|
423
|
+
#
|
404
424
|
# @option params [required, String] :name
|
405
425
|
# The unique identifier of the application.
|
406
426
|
#
|
@@ -423,6 +443,7 @@ module Aws::MainframeModernization
|
|
423
443
|
# },
|
424
444
|
# description: "EntityDescription",
|
425
445
|
# engine_type: "microfocus", # required, accepts microfocus, bluage
|
446
|
+
# kms_key_id: "String",
|
426
447
|
# name: "EntityName", # required
|
427
448
|
# tags: {
|
428
449
|
# "TagKey" => "TagValue",
|
@@ -531,8 +552,8 @@ module Aws::MainframeModernization
|
|
531
552
|
req.send_request(options)
|
532
553
|
end
|
533
554
|
|
534
|
-
# Creates and starts a deployment to deploy an application into
|
535
|
-
# environment.
|
555
|
+
# Creates and starts a deployment to deploy an application into a
|
556
|
+
# runtime environment.
|
536
557
|
#
|
537
558
|
# @option params [required, String] :application_id
|
538
559
|
# The application identifier.
|
@@ -552,8 +573,8 @@ module Aws::MainframeModernization
|
|
552
573
|
# not need to pass this option.**
|
553
574
|
#
|
554
575
|
# @option params [required, String] :environment_id
|
555
|
-
# The identifier of the environment where
|
556
|
-
#
|
576
|
+
# The identifier of the runtime environment where you want to deploy
|
577
|
+
# this application.
|
557
578
|
#
|
558
579
|
# @return [Types::CreateDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
559
580
|
#
|
@@ -595,43 +616,49 @@ module Aws::MainframeModernization
|
|
595
616
|
# not need to pass this option.**
|
596
617
|
#
|
597
618
|
# @option params [String] :description
|
598
|
-
# The description of the environment.
|
619
|
+
# The description of the runtime environment.
|
599
620
|
#
|
600
621
|
# @option params [required, String] :engine_type
|
601
|
-
# The engine type for the environment.
|
622
|
+
# The engine type for the runtime environment.
|
602
623
|
#
|
603
624
|
# @option params [String] :engine_version
|
604
|
-
# The version of the engine type for the environment.
|
625
|
+
# The version of the engine type for the runtime environment.
|
605
626
|
#
|
606
627
|
# @option params [Types::HighAvailabilityConfig] :high_availability_config
|
607
628
|
# The details of a high availability configuration for this runtime
|
608
629
|
# environment.
|
609
630
|
#
|
610
631
|
# @option params [required, String] :instance_type
|
611
|
-
# 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.
|
612
636
|
#
|
613
637
|
# @option params [required, String] :name
|
614
|
-
# The
|
638
|
+
# The name of the runtime environment. Must be unique within the
|
639
|
+
# account.
|
615
640
|
#
|
616
641
|
# @option params [String] :preferred_maintenance_window
|
617
|
-
# Configures
|
618
|
-
# 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.
|
619
645
|
#
|
620
646
|
# @option params [Boolean] :publicly_accessible
|
621
|
-
# Specifies whether the environment is publicly accessible.
|
647
|
+
# Specifies whether the runtime environment is publicly accessible.
|
622
648
|
#
|
623
649
|
# @option params [Array<String>] :security_group_ids
|
624
|
-
# The list of security groups for the VPC associated with this
|
650
|
+
# The list of security groups for the VPC associated with this runtime
|
625
651
|
# environment.
|
626
652
|
#
|
627
653
|
# @option params [Array<Types::StorageConfiguration>] :storage_configurations
|
628
|
-
# Optional. The storage configurations for this environment.
|
654
|
+
# Optional. The storage configurations for this runtime environment.
|
629
655
|
#
|
630
656
|
# @option params [Array<String>] :subnet_ids
|
631
|
-
# The list of subnets associated with the VPC for this
|
657
|
+
# The list of subnets associated with the VPC for this runtime
|
658
|
+
# environment.
|
632
659
|
#
|
633
660
|
# @option params [Hash<String,String>] :tags
|
634
|
-
# The tags for the environment.
|
661
|
+
# The tags for the runtime environment.
|
635
662
|
#
|
636
663
|
# @return [Types::CreateEnvironmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
637
664
|
#
|
@@ -648,6 +675,7 @@ module Aws::MainframeModernization
|
|
648
675
|
# desired_capacity: 1, # required
|
649
676
|
# },
|
650
677
|
# instance_type: "String20", # required
|
678
|
+
# kms_key_id: "String",
|
651
679
|
# name: "EntityName", # required
|
652
680
|
# preferred_maintenance_window: "String50",
|
653
681
|
# publicly_accessible: false,
|
@@ -706,11 +734,12 @@ module Aws::MainframeModernization
|
|
706
734
|
req.send_request(options)
|
707
735
|
end
|
708
736
|
|
709
|
-
# Deletes a specific application from
|
710
|
-
#
|
711
|
-
# DeleteEnvironment
|
712
|
-
# This API removes the association of the application
|
713
|
-
# 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.
|
714
743
|
#
|
715
744
|
# @option params [required, String] :application_id
|
716
745
|
# The unique identifier of the application you want to delete.
|
@@ -737,7 +766,7 @@ module Aws::MainframeModernization
|
|
737
766
|
req.send_request(options)
|
738
767
|
end
|
739
768
|
|
740
|
-
# Deletes a specific environment. The environment cannot contain
|
769
|
+
# Deletes a specific runtime environment. The environment cannot contain
|
741
770
|
# deployed applications. If it does, you must delete those applications
|
742
771
|
# before you delete the environment.
|
743
772
|
#
|
@@ -775,6 +804,7 @@ module Aws::MainframeModernization
|
|
775
804
|
# * {Types::GetApplicationResponse#description #description} => String
|
776
805
|
# * {Types::GetApplicationResponse#engine_type #engine_type} => String
|
777
806
|
# * {Types::GetApplicationResponse#environment_id #environment_id} => String
|
807
|
+
# * {Types::GetApplicationResponse#kms_key_id #kms_key_id} => String
|
778
808
|
# * {Types::GetApplicationResponse#last_start_time #last_start_time} => Time
|
779
809
|
# * {Types::GetApplicationResponse#latest_version #latest_version} => Types::ApplicationVersionSummary
|
780
810
|
# * {Types::GetApplicationResponse#listener_arns #listener_arns} => Array<String>
|
@@ -804,6 +834,7 @@ module Aws::MainframeModernization
|
|
804
834
|
# resp.description #=> String
|
805
835
|
# resp.engine_type #=> String, one of "microfocus", "bluage"
|
806
836
|
# resp.environment_id #=> String
|
837
|
+
# resp.kms_key_id #=> String
|
807
838
|
# resp.last_start_time #=> Time
|
808
839
|
# resp.latest_version.application_version #=> Integer
|
809
840
|
# resp.latest_version.creation_time #=> Time
|
@@ -818,7 +849,7 @@ module Aws::MainframeModernization
|
|
818
849
|
# resp.log_groups[0].log_group_name #=> String
|
819
850
|
# resp.log_groups[0].log_type #=> String
|
820
851
|
# resp.name #=> String
|
821
|
-
# 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"
|
822
853
|
# resp.status_reason #=> String
|
823
854
|
# resp.tags #=> Hash
|
824
855
|
# resp.tags["TagKey"] #=> String
|
@@ -1091,6 +1122,7 @@ module Aws::MainframeModernization
|
|
1091
1122
|
# * {Types::GetEnvironmentResponse#environment_id #environment_id} => String
|
1092
1123
|
# * {Types::GetEnvironmentResponse#high_availability_config #high_availability_config} => Types::HighAvailabilityConfig
|
1093
1124
|
# * {Types::GetEnvironmentResponse#instance_type #instance_type} => String
|
1125
|
+
# * {Types::GetEnvironmentResponse#kms_key_id #kms_key_id} => String
|
1094
1126
|
# * {Types::GetEnvironmentResponse#load_balancer_arn #load_balancer_arn} => String
|
1095
1127
|
# * {Types::GetEnvironmentResponse#name #name} => String
|
1096
1128
|
# * {Types::GetEnvironmentResponse#pending_maintenance #pending_maintenance} => Types::PendingMaintenance
|
@@ -1121,6 +1153,7 @@ module Aws::MainframeModernization
|
|
1121
1153
|
# resp.environment_id #=> String
|
1122
1154
|
# resp.high_availability_config.desired_capacity #=> Integer
|
1123
1155
|
# resp.instance_type #=> String
|
1156
|
+
# resp.kms_key_id #=> String
|
1124
1157
|
# resp.load_balancer_arn #=> String
|
1125
1158
|
# resp.name #=> String
|
1126
1159
|
# resp.pending_maintenance.engine_version #=> String
|
@@ -1130,7 +1163,7 @@ module Aws::MainframeModernization
|
|
1130
1163
|
# resp.publicly_accessible #=> Boolean
|
1131
1164
|
# resp.security_group_ids #=> Array
|
1132
1165
|
# resp.security_group_ids[0] #=> String
|
1133
|
-
# resp.status #=> String, one of "Creating", "Available", "Deleting", "Failed"
|
1166
|
+
# resp.status #=> String, one of "Creating", "Available", "Deleting", "Failed", "Updating"
|
1134
1167
|
# resp.status_reason #=> String
|
1135
1168
|
# resp.storage_configurations #=> Array
|
1136
1169
|
# resp.storage_configurations[0].efs.file_system_id #=> String
|
@@ -1199,7 +1232,7 @@ module Aws::MainframeModernization
|
|
1199
1232
|
end
|
1200
1233
|
|
1201
1234
|
# Lists the applications associated with a specific Amazon Web Services
|
1202
|
-
# account. You can provide the unique identifier of a specific
|
1235
|
+
# account. You can provide the unique identifier of a specific runtime
|
1203
1236
|
# environment in a query parameter to see all applications associated
|
1204
1237
|
# with that environment.
|
1205
1238
|
#
|
@@ -1246,7 +1279,7 @@ module Aws::MainframeModernization
|
|
1246
1279
|
# resp.applications[0].environment_id #=> String
|
1247
1280
|
# resp.applications[0].last_start_time #=> Time
|
1248
1281
|
# resp.applications[0].name #=> String
|
1249
|
-
# 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"
|
1250
1283
|
# resp.applications[0].version_status #=> String, one of "Creating", "Available", "Failed"
|
1251
1284
|
# resp.next_token #=> String
|
1252
1285
|
#
|
@@ -1260,8 +1293,8 @@ module Aws::MainframeModernization
|
|
1260
1293
|
end
|
1261
1294
|
|
1262
1295
|
# Lists all the available batch job definitions based on the batch job
|
1263
|
-
# resources uploaded during the application creation.
|
1264
|
-
# 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.
|
1265
1298
|
#
|
1266
1299
|
# @option params [required, String] :application_id
|
1267
1300
|
# The identifier of the application.
|
@@ -1432,9 +1465,10 @@ module Aws::MainframeModernization
|
|
1432
1465
|
|
1433
1466
|
# Lists the data sets imported for a specific application. In Amazon Web
|
1434
1467
|
# Services Mainframe Modernization, data sets are associated with
|
1435
|
-
# applications deployed on environments. This is known as
|
1436
|
-
# sets. Currently, Amazon Web Services Mainframe
|
1437
|
-
# 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].
|
1438
1472
|
#
|
1439
1473
|
#
|
1440
1474
|
#
|
@@ -1591,17 +1625,18 @@ module Aws::MainframeModernization
|
|
1591
1625
|
# Lists the runtime environments.
|
1592
1626
|
#
|
1593
1627
|
# @option params [String] :engine_type
|
1594
|
-
# The engine type for the environment.
|
1628
|
+
# The engine type for the runtime environment.
|
1595
1629
|
#
|
1596
1630
|
# @option params [Integer] :max_results
|
1597
|
-
# The maximum number of environments to return.
|
1631
|
+
# The maximum number of runtime environments to return.
|
1598
1632
|
#
|
1599
1633
|
# @option params [Array<String>] :names
|
1600
|
-
# The
|
1634
|
+
# The names of the runtime environments. Must be unique within the
|
1635
|
+
# account.
|
1601
1636
|
#
|
1602
1637
|
# @option params [String] :next_token
|
1603
|
-
# A pagination token to control the number of environments
|
1604
|
-
# the list.
|
1638
|
+
# A pagination token to control the number of runtime environments
|
1639
|
+
# displayed in the list.
|
1605
1640
|
#
|
1606
1641
|
# @return [Types::ListEnvironmentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1607
1642
|
#
|
@@ -1629,7 +1664,7 @@ module Aws::MainframeModernization
|
|
1629
1664
|
# resp.environments[0].environment_id #=> String
|
1630
1665
|
# resp.environments[0].instance_type #=> String
|
1631
1666
|
# resp.environments[0].name #=> String
|
1632
|
-
# resp.environments[0].status #=> String, one of "Creating", "Available", "Deleting", "Failed"
|
1667
|
+
# resp.environments[0].status #=> String, one of "Creating", "Available", "Deleting", "Failed", "Updating"
|
1633
1668
|
# resp.next_token #=> String
|
1634
1669
|
#
|
1635
1670
|
# @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/ListEnvironments AWS API Documentation
|
@@ -1873,32 +1908,33 @@ module Aws::MainframeModernization
|
|
1873
1908
|
req.send_request(options)
|
1874
1909
|
end
|
1875
1910
|
|
1876
|
-
# Updates the configuration details for a specific environment.
|
1911
|
+
# Updates the configuration details for a specific runtime environment.
|
1877
1912
|
#
|
1878
1913
|
# @option params [Boolean] :apply_during_maintenance_window
|
1879
|
-
# Indicates whether to update the environment during the
|
1880
|
-
# window. The default is false. Currently, Amazon Web
|
1881
|
-
# Modernization accepts the `engineVersion` parameter
|
1882
|
-
# `applyDuringMaintenanceWindow` is true. If any parameter other
|
1883
|
-
# `engineVersion` is provided in `UpdateEnvironmentRequest`, it
|
1884
|
-
# 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.
|
1885
1920
|
#
|
1886
1921
|
# @option params [Integer] :desired_capacity
|
1887
|
-
# The desired capacity for the environment to update.
|
1922
|
+
# The desired capacity for the runtime environment to update.
|
1888
1923
|
#
|
1889
1924
|
# @option params [String] :engine_version
|
1890
|
-
# The version of the runtime engine for the environment.
|
1925
|
+
# The version of the runtime engine for the runtime environment.
|
1891
1926
|
#
|
1892
1927
|
# @option params [required, String] :environment_id
|
1893
1928
|
# The unique identifier of the runtime environment that you want to
|
1894
1929
|
# update.
|
1895
1930
|
#
|
1896
1931
|
# @option params [String] :instance_type
|
1897
|
-
# The instance type for the environment to update.
|
1932
|
+
# The instance type for the runtime environment to update.
|
1898
1933
|
#
|
1899
1934
|
# @option params [String] :preferred_maintenance_window
|
1900
|
-
# Configures
|
1901
|
-
# 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.
|
1902
1938
|
#
|
1903
1939
|
# @return [Types::UpdateEnvironmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1904
1940
|
#
|
@@ -1941,7 +1977,7 @@ module Aws::MainframeModernization
|
|
1941
1977
|
params: params,
|
1942
1978
|
config: config)
|
1943
1979
|
context[:gem_name] = 'aws-sdk-mainframemodernization'
|
1944
|
-
context[:gem_version] = '1.
|
1980
|
+
context[:gem_version] = '1.2.0'
|
1945
1981
|
Seahorse::Client::Request.new(handlers, context)
|
1946
1982
|
end
|
1947
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"))
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::MainframeModernization
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
12
|
+
#
|
13
|
+
# @!attribute region
|
14
|
+
# The AWS region used to dispatch the request.
|
15
|
+
#
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute use_dual_stack
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# @!attribute use_fips
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
|
+
#
|
26
|
+
# @return [Boolean]
|
27
|
+
#
|
28
|
+
# @!attribute endpoint
|
29
|
+
# Override the endpoint used to send this request
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
EndpointParameters = Struct.new(
|
34
|
+
:region,
|
35
|
+
:use_dual_stack,
|
36
|
+
:use_fips,
|
37
|
+
:endpoint,
|
38
|
+
) do
|
39
|
+
include Aws::Structure
|
40
|
+
|
41
|
+
# @api private
|
42
|
+
class << self
|
43
|
+
PARAM_MAP = {
|
44
|
+
'Region' => :region,
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
46
|
+
'UseFIPS' => :use_fips,
|
47
|
+
'Endpoint' => :endpoint,
|
48
|
+
}.freeze
|
49
|
+
end
|
50
|
+
|
51
|
+
def initialize(options = {})
|
52
|
+
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
56
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
57
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
|
+
if self[:use_dual_stack].nil?
|
59
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
60
|
+
end
|
61
|
+
self[:use_fips] = options[:use_fips]
|
62
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
63
|
+
if self[:use_fips].nil?
|
64
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
65
|
+
end
|
66
|
+
self[:endpoint] = options[:endpoint]
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|