aws-sdk-arcregionswitch 1.25.0 → 1.27.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-arcregionswitch/client.rb +143 -13
- data/lib/aws-sdk-arcregionswitch/client_api.rb +54 -0
- data/lib/aws-sdk-arcregionswitch/types.rb +161 -8
- data/lib/aws-sdk-arcregionswitch.rb +1 -1
- data/sig/params.rbs +28 -3
- data/sig/types.rbs +36 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bbc54d9094f0b9a062488aa2d52d7bf29cca818f8572a3a6bac2fd2f6a2b2e06
|
|
4
|
+
data.tar.gz: 411d776008d2eab53449c2dce4f6a77e6d70dd0bb1d228523a571c88bc11eb32
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5be18c3a7f125e824a9f3ce6e8ed948de5cc4c13ca5b44432e17f12a1734c44e2316e0a80598e94bdb0e8a302acc7a5ca0ccbb507e2f81a56d6ebcf7dc790254
|
|
7
|
+
data.tar.gz: 99b5c47c8eb6f2356f1b238e68345d8e4c5de64003a264498c237341efa04455d8edd8f4751aaefb1eafd2c141b3ac34d25e360fb206792e22e4a8be6df4840a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.27.0 (2026-10-14)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Features - Adds support for an optional payload to invoke the Lambda function with as part of the Custom action Lambda execution block
|
|
8
|
+
|
|
9
|
+
1.26.0 (2026-10-13)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adds support for SSM Execution Block in Region switch plans
|
|
13
|
+
|
|
4
14
|
1.25.0 (2026-09-25)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.27.0
|
|
@@ -639,6 +639,7 @@ module Aws::ARCRegionswitch
|
|
|
639
639
|
# cross_account_role: "IamRoleArn",
|
|
640
640
|
# external_id: "String",
|
|
641
641
|
# arn: "LambdaArn",
|
|
642
|
+
# payload: "LambdaPayload",
|
|
642
643
|
# },
|
|
643
644
|
# ],
|
|
644
645
|
# retry_interval_minutes: 1.0, # required
|
|
@@ -848,8 +849,32 @@ module Aws::ARCRegionswitch
|
|
|
848
849
|
# ungraceful: "promoteReadReplica", # accepts promoteReadReplica
|
|
849
850
|
# },
|
|
850
851
|
# },
|
|
852
|
+
# ssm_send_command_config: {
|
|
853
|
+
# timeout_minutes: 1,
|
|
854
|
+
# region_documents: { # required
|
|
855
|
+
# "Region" => {
|
|
856
|
+
# cross_account_role: "IamRoleArn",
|
|
857
|
+
# external_id: "String",
|
|
858
|
+
# document_arn: "SsmDocumentArn", # required
|
|
859
|
+
# targets: [ # required
|
|
860
|
+
# {
|
|
861
|
+
# key: "SsmTargetKey", # required
|
|
862
|
+
# values: ["SsmTargetValue"], # required
|
|
863
|
+
# },
|
|
864
|
+
# ],
|
|
865
|
+
# parameters: {
|
|
866
|
+
# "SsmParameterKey" => ["SsmParameterValue"],
|
|
867
|
+
# },
|
|
868
|
+
# document_version: "SsmDocumentVersion",
|
|
869
|
+
# },
|
|
870
|
+
# },
|
|
871
|
+
# retry_interval_minutes: 1.0, # required
|
|
872
|
+
# ungraceful: {
|
|
873
|
+
# behavior: "skip", # accepts skip
|
|
874
|
+
# },
|
|
875
|
+
# },
|
|
851
876
|
# },
|
|
852
|
-
# execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb, RdsPromoteReadReplica, RdsCreateCrossRegionReplica, LambdaEventSourceMapping, AuroraServerlessScaling, AuroraProvisionedScaling, NeptuneGlobalDatabase, RdsSwitchoverReadReplica
|
|
877
|
+
# execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb, RdsPromoteReadReplica, RdsCreateCrossRegionReplica, LambdaEventSourceMapping, AuroraServerlessScaling, AuroraProvisionedScaling, NeptuneGlobalDatabase, RdsSwitchoverReadReplica, SSMSendCommand
|
|
853
878
|
# },
|
|
854
879
|
# ],
|
|
855
880
|
# workflow_target_action: "activate", # required, accepts activate, deactivate, postRecovery
|
|
@@ -914,6 +939,7 @@ module Aws::ARCRegionswitch
|
|
|
914
939
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].cross_account_role #=> String
|
|
915
940
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].external_id #=> String
|
|
916
941
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].arn #=> String
|
|
942
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].payload #=> String
|
|
917
943
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.retry_interval_minutes #=> Float
|
|
918
944
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.region_to_run #=> String, one of "activatingRegion", "deactivatingRegion", "activeRegion", "inactiveRegion"
|
|
919
945
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.ungraceful.behavior #=> String, one of "skip"
|
|
@@ -1035,7 +1061,22 @@ module Aws::ARCRegionswitch
|
|
|
1035
1061
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map #=> Hash
|
|
1036
1062
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map["Region"] #=> String
|
|
1037
1063
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.ungraceful.ungraceful #=> String, one of "promoteReadReplica"
|
|
1038
|
-
# resp.plan.workflows[0].steps[0].
|
|
1064
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.timeout_minutes #=> Integer
|
|
1065
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents #=> Hash
|
|
1066
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].cross_account_role #=> String
|
|
1067
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].external_id #=> String
|
|
1068
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].document_arn #=> String
|
|
1069
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets #=> Array
|
|
1070
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].key #=> String
|
|
1071
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].values #=> Array
|
|
1072
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].values[0] #=> String
|
|
1073
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters #=> Hash
|
|
1074
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters["SsmParameterKey"] #=> Array
|
|
1075
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters["SsmParameterKey"][0] #=> String
|
|
1076
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].document_version #=> String
|
|
1077
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.retry_interval_minutes #=> Float
|
|
1078
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.ungraceful.behavior #=> String, one of "skip"
|
|
1079
|
+
# resp.plan.workflows[0].steps[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb", "RdsPromoteReadReplica", "RdsCreateCrossRegionReplica", "LambdaEventSourceMapping", "AuroraServerlessScaling", "AuroraProvisionedScaling", "NeptuneGlobalDatabase", "RdsSwitchoverReadReplica", "SSMSendCommand"
|
|
1039
1080
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
1040
1081
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
1041
1082
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -1130,6 +1171,7 @@ module Aws::ARCRegionswitch
|
|
|
1130
1171
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].cross_account_role #=> String
|
|
1131
1172
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].external_id #=> String
|
|
1132
1173
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].arn #=> String
|
|
1174
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].payload #=> String
|
|
1133
1175
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.retry_interval_minutes #=> Float
|
|
1134
1176
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.region_to_run #=> String, one of "activatingRegion", "deactivatingRegion", "activeRegion", "inactiveRegion"
|
|
1135
1177
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.ungraceful.behavior #=> String, one of "skip"
|
|
@@ -1251,7 +1293,22 @@ module Aws::ARCRegionswitch
|
|
|
1251
1293
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map #=> Hash
|
|
1252
1294
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map["Region"] #=> String
|
|
1253
1295
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.ungraceful.ungraceful #=> String, one of "promoteReadReplica"
|
|
1254
|
-
# resp.plan.workflows[0].steps[0].
|
|
1296
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.timeout_minutes #=> Integer
|
|
1297
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents #=> Hash
|
|
1298
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].cross_account_role #=> String
|
|
1299
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].external_id #=> String
|
|
1300
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].document_arn #=> String
|
|
1301
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets #=> Array
|
|
1302
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].key #=> String
|
|
1303
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].values #=> Array
|
|
1304
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].values[0] #=> String
|
|
1305
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters #=> Hash
|
|
1306
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters["SsmParameterKey"] #=> Array
|
|
1307
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters["SsmParameterKey"][0] #=> String
|
|
1308
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].document_version #=> String
|
|
1309
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.retry_interval_minutes #=> Float
|
|
1310
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.ungraceful.behavior #=> String, one of "skip"
|
|
1311
|
+
# resp.plan.workflows[0].steps[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb", "RdsPromoteReadReplica", "RdsCreateCrossRegionReplica", "LambdaEventSourceMapping", "AuroraServerlessScaling", "AuroraProvisionedScaling", "NeptuneGlobalDatabase", "RdsSwitchoverReadReplica", "SSMSendCommand"
|
|
1255
1312
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
1256
1313
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
1257
1314
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -1444,6 +1501,7 @@ module Aws::ARCRegionswitch
|
|
|
1444
1501
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].cross_account_role #=> String
|
|
1445
1502
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].external_id #=> String
|
|
1446
1503
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].arn #=> String
|
|
1504
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].payload #=> String
|
|
1447
1505
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.retry_interval_minutes #=> Float
|
|
1448
1506
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.region_to_run #=> String, one of "activatingRegion", "deactivatingRegion", "activeRegion", "inactiveRegion"
|
|
1449
1507
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.ungraceful.behavior #=> String, one of "skip"
|
|
@@ -1565,7 +1623,22 @@ module Aws::ARCRegionswitch
|
|
|
1565
1623
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map #=> Hash
|
|
1566
1624
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map["Region"] #=> String
|
|
1567
1625
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.ungraceful.ungraceful #=> String, one of "promoteReadReplica"
|
|
1568
|
-
# resp.plan.workflows[0].steps[0].
|
|
1626
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.timeout_minutes #=> Integer
|
|
1627
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents #=> Hash
|
|
1628
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].cross_account_role #=> String
|
|
1629
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].external_id #=> String
|
|
1630
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].document_arn #=> String
|
|
1631
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets #=> Array
|
|
1632
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].key #=> String
|
|
1633
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].values #=> Array
|
|
1634
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].values[0] #=> String
|
|
1635
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters #=> Hash
|
|
1636
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters["SsmParameterKey"] #=> Array
|
|
1637
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters["SsmParameterKey"][0] #=> String
|
|
1638
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].document_version #=> String
|
|
1639
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.retry_interval_minutes #=> Float
|
|
1640
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.ungraceful.behavior #=> String, one of "skip"
|
|
1641
|
+
# resp.plan.workflows[0].steps[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb", "RdsPromoteReadReplica", "RdsCreateCrossRegionReplica", "LambdaEventSourceMapping", "AuroraServerlessScaling", "AuroraProvisionedScaling", "NeptuneGlobalDatabase", "RdsSwitchoverReadReplica", "SSMSendCommand"
|
|
1569
1642
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
1570
1643
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
1571
1644
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -1648,6 +1721,7 @@ module Aws::ARCRegionswitch
|
|
|
1648
1721
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].cross_account_role #=> String
|
|
1649
1722
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].external_id #=> String
|
|
1650
1723
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].arn #=> String
|
|
1724
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].payload #=> String
|
|
1651
1725
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.retry_interval_minutes #=> Float
|
|
1652
1726
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.region_to_run #=> String, one of "activatingRegion", "deactivatingRegion", "activeRegion", "inactiveRegion"
|
|
1653
1727
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.ungraceful.behavior #=> String, one of "skip"
|
|
@@ -1769,7 +1843,22 @@ module Aws::ARCRegionswitch
|
|
|
1769
1843
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map #=> Hash
|
|
1770
1844
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map["Region"] #=> String
|
|
1771
1845
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.ungraceful.ungraceful #=> String, one of "promoteReadReplica"
|
|
1772
|
-
# resp.plan.workflows[0].steps[0].
|
|
1846
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.timeout_minutes #=> Integer
|
|
1847
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents #=> Hash
|
|
1848
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].cross_account_role #=> String
|
|
1849
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].external_id #=> String
|
|
1850
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].document_arn #=> String
|
|
1851
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets #=> Array
|
|
1852
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].key #=> String
|
|
1853
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].values #=> Array
|
|
1854
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].values[0] #=> String
|
|
1855
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters #=> Hash
|
|
1856
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters["SsmParameterKey"] #=> Array
|
|
1857
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters["SsmParameterKey"][0] #=> String
|
|
1858
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].document_version #=> String
|
|
1859
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.retry_interval_minutes #=> Float
|
|
1860
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.ungraceful.behavior #=> String, one of "skip"
|
|
1861
|
+
# resp.plan.workflows[0].steps[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb", "RdsPromoteReadReplica", "RdsCreateCrossRegionReplica", "LambdaEventSourceMapping", "AuroraServerlessScaling", "AuroraProvisionedScaling", "NeptuneGlobalDatabase", "RdsSwitchoverReadReplica", "SSMSendCommand"
|
|
1773
1862
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
1774
1863
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
1775
1864
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -1855,7 +1944,7 @@ module Aws::ARCRegionswitch
|
|
|
1855
1944
|
# resp.items[0].timestamp #=> Time
|
|
1856
1945
|
# resp.items[0].type #=> String, one of "unknown", "executionPending", "executionStarted", "executionSucceeded", "executionFailed", "executionPausing", "executionPaused", "executionCanceling", "executionCanceled", "executionPendingApproval", "executionBehaviorChangedToUngraceful", "executionBehaviorChangedToGraceful", "executionPendingChildPlanManualApproval", "executionSuccessMonitoringApplicationHealth", "stepStarted", "stepUpdate", "stepSucceeded", "stepFailed", "stepSkipped", "stepPausedByError", "stepPausedByOperator", "stepCanceled", "stepPendingApproval", "stepExecutionBehaviorChangedToUngraceful", "stepPendingApplicationHealthMonitor", "planEvaluationWarning"
|
|
1857
1946
|
# resp.items[0].step_name #=> String
|
|
1858
|
-
# resp.items[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb", "RdsPromoteReadReplica", "RdsCreateCrossRegionReplica", "LambdaEventSourceMapping", "AuroraServerlessScaling", "AuroraProvisionedScaling", "NeptuneGlobalDatabase", "RdsSwitchoverReadReplica"
|
|
1947
|
+
# resp.items[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb", "RdsPromoteReadReplica", "RdsCreateCrossRegionReplica", "LambdaEventSourceMapping", "AuroraServerlessScaling", "AuroraProvisionedScaling", "NeptuneGlobalDatabase", "RdsSwitchoverReadReplica", "SSMSendCommand"
|
|
1859
1948
|
# resp.items[0].resources #=> Array
|
|
1860
1949
|
# resp.items[0].resources[0] #=> String
|
|
1861
1950
|
# resp.items[0].error #=> String
|
|
@@ -2196,10 +2285,10 @@ module Aws::ARCRegionswitch
|
|
|
2196
2285
|
# resource in another Region or account in the plan.
|
|
2197
2286
|
#
|
|
2198
2287
|
# Returns the warnings for the plans that you own and for plans that are
|
|
2199
|
-
# shared with your account through
|
|
2200
|
-
#
|
|
2201
|
-
#
|
|
2202
|
-
#
|
|
2288
|
+
# shared with your account through Resource Access Manager (RAM). To
|
|
2289
|
+
# return warnings for specific plans, provide a list of plan Amazon
|
|
2290
|
+
# Resource Names (ARNs). Region switch ignores any plan ARN that you
|
|
2291
|
+
# can't access. If you don't provide any plan ARNs, Region switch
|
|
2203
2292
|
# returns the warnings for all of your accessible plans.
|
|
2204
2293
|
#
|
|
2205
2294
|
# @option params [Array<String>] :plan_arns
|
|
@@ -2496,6 +2585,7 @@ module Aws::ARCRegionswitch
|
|
|
2496
2585
|
# cross_account_role: "IamRoleArn",
|
|
2497
2586
|
# external_id: "String",
|
|
2498
2587
|
# arn: "LambdaArn",
|
|
2588
|
+
# payload: "LambdaPayload",
|
|
2499
2589
|
# },
|
|
2500
2590
|
# ],
|
|
2501
2591
|
# retry_interval_minutes: 1.0, # required
|
|
@@ -2705,8 +2795,32 @@ module Aws::ARCRegionswitch
|
|
|
2705
2795
|
# ungraceful: "promoteReadReplica", # accepts promoteReadReplica
|
|
2706
2796
|
# },
|
|
2707
2797
|
# },
|
|
2798
|
+
# ssm_send_command_config: {
|
|
2799
|
+
# timeout_minutes: 1,
|
|
2800
|
+
# region_documents: { # required
|
|
2801
|
+
# "Region" => {
|
|
2802
|
+
# cross_account_role: "IamRoleArn",
|
|
2803
|
+
# external_id: "String",
|
|
2804
|
+
# document_arn: "SsmDocumentArn", # required
|
|
2805
|
+
# targets: [ # required
|
|
2806
|
+
# {
|
|
2807
|
+
# key: "SsmTargetKey", # required
|
|
2808
|
+
# values: ["SsmTargetValue"], # required
|
|
2809
|
+
# },
|
|
2810
|
+
# ],
|
|
2811
|
+
# parameters: {
|
|
2812
|
+
# "SsmParameterKey" => ["SsmParameterValue"],
|
|
2813
|
+
# },
|
|
2814
|
+
# document_version: "SsmDocumentVersion",
|
|
2815
|
+
# },
|
|
2816
|
+
# },
|
|
2817
|
+
# retry_interval_minutes: 1.0, # required
|
|
2818
|
+
# ungraceful: {
|
|
2819
|
+
# behavior: "skip", # accepts skip
|
|
2820
|
+
# },
|
|
2821
|
+
# },
|
|
2708
2822
|
# },
|
|
2709
|
-
# execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb, RdsPromoteReadReplica, RdsCreateCrossRegionReplica, LambdaEventSourceMapping, AuroraServerlessScaling, AuroraProvisionedScaling, NeptuneGlobalDatabase, RdsSwitchoverReadReplica
|
|
2823
|
+
# execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb, RdsPromoteReadReplica, RdsCreateCrossRegionReplica, LambdaEventSourceMapping, AuroraServerlessScaling, AuroraProvisionedScaling, NeptuneGlobalDatabase, RdsSwitchoverReadReplica, SSMSendCommand
|
|
2710
2824
|
# },
|
|
2711
2825
|
# ],
|
|
2712
2826
|
# workflow_target_action: "activate", # required, accepts activate, deactivate, postRecovery
|
|
@@ -2764,6 +2878,7 @@ module Aws::ARCRegionswitch
|
|
|
2764
2878
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].cross_account_role #=> String
|
|
2765
2879
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].external_id #=> String
|
|
2766
2880
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].arn #=> String
|
|
2881
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].payload #=> String
|
|
2767
2882
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.retry_interval_minutes #=> Float
|
|
2768
2883
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.region_to_run #=> String, one of "activatingRegion", "deactivatingRegion", "activeRegion", "inactiveRegion"
|
|
2769
2884
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.ungraceful.behavior #=> String, one of "skip"
|
|
@@ -2885,7 +3000,22 @@ module Aws::ARCRegionswitch
|
|
|
2885
3000
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map #=> Hash
|
|
2886
3001
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map["Region"] #=> String
|
|
2887
3002
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.ungraceful.ungraceful #=> String, one of "promoteReadReplica"
|
|
2888
|
-
# resp.plan.workflows[0].steps[0].
|
|
3003
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.timeout_minutes #=> Integer
|
|
3004
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents #=> Hash
|
|
3005
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].cross_account_role #=> String
|
|
3006
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].external_id #=> String
|
|
3007
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].document_arn #=> String
|
|
3008
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets #=> Array
|
|
3009
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].key #=> String
|
|
3010
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].values #=> Array
|
|
3011
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].values[0] #=> String
|
|
3012
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters #=> Hash
|
|
3013
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters["SsmParameterKey"] #=> Array
|
|
3014
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters["SsmParameterKey"][0] #=> String
|
|
3015
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].document_version #=> String
|
|
3016
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.retry_interval_minutes #=> Float
|
|
3017
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.ungraceful.behavior #=> String, one of "skip"
|
|
3018
|
+
# resp.plan.workflows[0].steps[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb", "RdsPromoteReadReplica", "RdsCreateCrossRegionReplica", "LambdaEventSourceMapping", "AuroraServerlessScaling", "AuroraProvisionedScaling", "NeptuneGlobalDatabase", "RdsSwitchoverReadReplica", "SSMSendCommand"
|
|
2889
3019
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
2890
3020
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
2891
3021
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -3024,7 +3154,7 @@ module Aws::ARCRegionswitch
|
|
|
3024
3154
|
tracer: tracer
|
|
3025
3155
|
)
|
|
3026
3156
|
context[:gem_name] = 'aws-sdk-arcregionswitch'
|
|
3027
|
-
context[:gem_version] = '1.
|
|
3157
|
+
context[:gem_version] = '1.27.0'
|
|
3028
3158
|
Seahorse::Client::Request.new(handlers, context)
|
|
3029
3159
|
end
|
|
3030
3160
|
|
|
@@ -134,6 +134,7 @@ module Aws::ARCRegionswitch
|
|
|
134
134
|
LambdaEventSourceMappingUngraceful = Shapes::StructureShape.new(name: 'LambdaEventSourceMappingUngraceful')
|
|
135
135
|
LambdaEventSourceMappingUngracefulBehavior = Shapes::StringShape.new(name: 'LambdaEventSourceMappingUngracefulBehavior')
|
|
136
136
|
LambdaList = Shapes::ListShape.new(name: 'LambdaList')
|
|
137
|
+
LambdaPayload = Shapes::StringShape.new(name: 'LambdaPayload')
|
|
137
138
|
LambdaUngraceful = Shapes::StructureShape.new(name: 'LambdaUngraceful')
|
|
138
139
|
LambdaUngracefulBehavior = Shapes::StringShape.new(name: 'LambdaUngracefulBehavior')
|
|
139
140
|
Lambdas = Shapes::StructureShape.new(name: 'Lambdas')
|
|
@@ -194,6 +195,7 @@ module Aws::ARCRegionswitch
|
|
|
194
195
|
RegionEventSourceMappingMap = Shapes::MapShape.new(name: 'RegionEventSourceMappingMap')
|
|
195
196
|
RegionList = Shapes::ListShape.new(name: 'RegionList')
|
|
196
197
|
RegionNeptuneClusterArnMap = Shapes::MapShape.new(name: 'RegionNeptuneClusterArnMap')
|
|
198
|
+
RegionSsmDocumentMap = Shapes::MapShape.new(name: 'RegionSsmDocumentMap')
|
|
197
199
|
RegionSwitchPlanConfiguration = Shapes::StructureShape.new(name: 'RegionSwitchPlanConfiguration')
|
|
198
200
|
RegionToRunIn = Shapes::StringShape.new(name: 'RegionToRunIn')
|
|
199
201
|
RegionalScalingResource = Shapes::MapShape.new(name: 'RegionalScalingResource')
|
|
@@ -228,6 +230,22 @@ module Aws::ARCRegionswitch
|
|
|
228
230
|
ServiceQuotaWarningStatus = Shapes::StringShape.new(name: 'ServiceQuotaWarningStatus')
|
|
229
231
|
ServiceQuotaWarningSummary = Shapes::StructureShape.new(name: 'ServiceQuotaWarningSummary')
|
|
230
232
|
ServiceQuotaWarningSummaryList = Shapes::ListShape.new(name: 'ServiceQuotaWarningSummaryList')
|
|
233
|
+
SsmDocumentArn = Shapes::StringShape.new(name: 'SsmDocumentArn')
|
|
234
|
+
SsmDocumentConfig = Shapes::StructureShape.new(name: 'SsmDocumentConfig')
|
|
235
|
+
SsmDocumentParameters = Shapes::MapShape.new(name: 'SsmDocumentParameters')
|
|
236
|
+
SsmDocumentVersion = Shapes::StringShape.new(name: 'SsmDocumentVersion')
|
|
237
|
+
SsmParameterKey = Shapes::StringShape.new(name: 'SsmParameterKey')
|
|
238
|
+
SsmParameterValue = Shapes::StringShape.new(name: 'SsmParameterValue')
|
|
239
|
+
SsmParameterValues = Shapes::ListShape.new(name: 'SsmParameterValues')
|
|
240
|
+
SsmSendCommandConfiguration = Shapes::StructureShape.new(name: 'SsmSendCommandConfiguration')
|
|
241
|
+
SsmSendCommandConfigurationTimeoutMinutesInteger = Shapes::IntegerShape.new(name: 'SsmSendCommandConfigurationTimeoutMinutesInteger')
|
|
242
|
+
SsmSendCommandUngraceful = Shapes::StructureShape.new(name: 'SsmSendCommandUngraceful')
|
|
243
|
+
SsmSendCommandUngracefulBehavior = Shapes::StringShape.new(name: 'SsmSendCommandUngracefulBehavior')
|
|
244
|
+
SsmTarget = Shapes::StructureShape.new(name: 'SsmTarget')
|
|
245
|
+
SsmTargetKey = Shapes::StringShape.new(name: 'SsmTargetKey')
|
|
246
|
+
SsmTargetList = Shapes::ListShape.new(name: 'SsmTargetList')
|
|
247
|
+
SsmTargetValue = Shapes::StringShape.new(name: 'SsmTargetValue')
|
|
248
|
+
SsmTargetValueList = Shapes::ListShape.new(name: 'SsmTargetValueList')
|
|
231
249
|
StartPlanExecutionRequest = Shapes::StructureShape.new(name: 'StartPlanExecutionRequest')
|
|
232
250
|
StartPlanExecutionRequestClientTokenString = Shapes::StringShape.new(name: 'StartPlanExecutionRequestClientTokenString')
|
|
233
251
|
StartPlanExecutionResponse = Shapes::StructureShape.new(name: 'StartPlanExecutionResponse')
|
|
@@ -478,6 +496,7 @@ module Aws::ARCRegionswitch
|
|
|
478
496
|
ExecutionBlockConfiguration.add_member(:aurora_provisioned_scaling_config, Shapes::ShapeRef.new(shape: AuroraProvisionedScalingConfiguration, location_name: "auroraProvisionedScalingConfig"))
|
|
479
497
|
ExecutionBlockConfiguration.add_member(:neptune_global_database_config, Shapes::ShapeRef.new(shape: NeptuneGlobalDatabaseConfiguration, location_name: "neptuneGlobalDatabaseConfig"))
|
|
480
498
|
ExecutionBlockConfiguration.add_member(:rds_switchover_read_replica_config, Shapes::ShapeRef.new(shape: RdsSwitchoverReadReplicaConfiguration, location_name: "rdsSwitchoverReadReplicaConfig"))
|
|
499
|
+
ExecutionBlockConfiguration.add_member(:ssm_send_command_config, Shapes::ShapeRef.new(shape: SsmSendCommandConfiguration, location_name: "ssmSendCommandConfig"))
|
|
481
500
|
ExecutionBlockConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
482
501
|
ExecutionBlockConfiguration.add_member_subclass(:custom_action_lambda_config, Types::ExecutionBlockConfiguration::CustomActionLambdaConfig)
|
|
483
502
|
ExecutionBlockConfiguration.add_member_subclass(:ec2_asg_capacity_increase_config, Types::ExecutionBlockConfiguration::Ec2AsgCapacityIncreaseConfig)
|
|
@@ -497,6 +516,7 @@ module Aws::ARCRegionswitch
|
|
|
497
516
|
ExecutionBlockConfiguration.add_member_subclass(:aurora_provisioned_scaling_config, Types::ExecutionBlockConfiguration::AuroraProvisionedScalingConfig)
|
|
498
517
|
ExecutionBlockConfiguration.add_member_subclass(:neptune_global_database_config, Types::ExecutionBlockConfiguration::NeptuneGlobalDatabaseConfig)
|
|
499
518
|
ExecutionBlockConfiguration.add_member_subclass(:rds_switchover_read_replica_config, Types::ExecutionBlockConfiguration::RdsSwitchoverReadReplicaConfig)
|
|
519
|
+
ExecutionBlockConfiguration.add_member_subclass(:ssm_send_command_config, Types::ExecutionBlockConfiguration::SsmSendCommandConfig)
|
|
500
520
|
ExecutionBlockConfiguration.add_member_subclass(:unknown, Types::ExecutionBlockConfiguration::Unknown)
|
|
501
521
|
ExecutionBlockConfiguration.struct_class = Types::ExecutionBlockConfiguration
|
|
502
522
|
|
|
@@ -626,6 +646,7 @@ module Aws::ARCRegionswitch
|
|
|
626
646
|
Lambdas.add_member(:cross_account_role, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "crossAccountRole"))
|
|
627
647
|
Lambdas.add_member(:external_id, Shapes::ShapeRef.new(shape: String, location_name: "externalId"))
|
|
628
648
|
Lambdas.add_member(:arn, Shapes::ShapeRef.new(shape: LambdaArn, location_name: "arn"))
|
|
649
|
+
Lambdas.add_member(:payload, Shapes::ShapeRef.new(shape: LambdaPayload, location_name: "payload"))
|
|
629
650
|
Lambdas.struct_class = Types::Lambdas
|
|
630
651
|
|
|
631
652
|
ListPlanExecutionEventsRequest.add_member(:plan_arn, Shapes::ShapeRef.new(shape: PlanArn, required: true, location_name: "planArn"))
|
|
@@ -787,6 +808,9 @@ module Aws::ARCRegionswitch
|
|
|
787
808
|
RegionNeptuneClusterArnMap.key = Shapes::ShapeRef.new(shape: Region)
|
|
788
809
|
RegionNeptuneClusterArnMap.value = Shapes::ShapeRef.new(shape: NeptuneClusterArn)
|
|
789
810
|
|
|
811
|
+
RegionSsmDocumentMap.key = Shapes::ShapeRef.new(shape: Region)
|
|
812
|
+
RegionSsmDocumentMap.value = Shapes::ShapeRef.new(shape: SsmDocumentConfig)
|
|
813
|
+
|
|
790
814
|
RegionSwitchPlanConfiguration.add_member(:cross_account_role, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "crossAccountRole"))
|
|
791
815
|
RegionSwitchPlanConfiguration.add_member(:external_id, Shapes::ShapeRef.new(shape: String, location_name: "externalId"))
|
|
792
816
|
RegionSwitchPlanConfiguration.add_member(:arn, Shapes::ShapeRef.new(shape: PlanArn, required: true, location_name: "arn"))
|
|
@@ -882,6 +906,36 @@ module Aws::ARCRegionswitch
|
|
|
882
906
|
|
|
883
907
|
ServiceQuotaWarningSummaryList.member = Shapes::ShapeRef.new(shape: ServiceQuotaWarningSummary)
|
|
884
908
|
|
|
909
|
+
SsmDocumentConfig.add_member(:cross_account_role, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "crossAccountRole"))
|
|
910
|
+
SsmDocumentConfig.add_member(:external_id, Shapes::ShapeRef.new(shape: String, location_name: "externalId"))
|
|
911
|
+
SsmDocumentConfig.add_member(:document_arn, Shapes::ShapeRef.new(shape: SsmDocumentArn, required: true, location_name: "documentArn"))
|
|
912
|
+
SsmDocumentConfig.add_member(:targets, Shapes::ShapeRef.new(shape: SsmTargetList, required: true, location_name: "targets"))
|
|
913
|
+
SsmDocumentConfig.add_member(:parameters, Shapes::ShapeRef.new(shape: SsmDocumentParameters, location_name: "parameters"))
|
|
914
|
+
SsmDocumentConfig.add_member(:document_version, Shapes::ShapeRef.new(shape: SsmDocumentVersion, location_name: "documentVersion"))
|
|
915
|
+
SsmDocumentConfig.struct_class = Types::SsmDocumentConfig
|
|
916
|
+
|
|
917
|
+
SsmDocumentParameters.key = Shapes::ShapeRef.new(shape: SsmParameterKey)
|
|
918
|
+
SsmDocumentParameters.value = Shapes::ShapeRef.new(shape: SsmParameterValues)
|
|
919
|
+
|
|
920
|
+
SsmParameterValues.member = Shapes::ShapeRef.new(shape: SsmParameterValue)
|
|
921
|
+
|
|
922
|
+
SsmSendCommandConfiguration.add_member(:timeout_minutes, Shapes::ShapeRef.new(shape: SsmSendCommandConfigurationTimeoutMinutesInteger, location_name: "timeoutMinutes"))
|
|
923
|
+
SsmSendCommandConfiguration.add_member(:region_documents, Shapes::ShapeRef.new(shape: RegionSsmDocumentMap, required: true, location_name: "regionDocuments"))
|
|
924
|
+
SsmSendCommandConfiguration.add_member(:retry_interval_minutes, Shapes::ShapeRef.new(shape: Float, required: true, location_name: "retryIntervalMinutes"))
|
|
925
|
+
SsmSendCommandConfiguration.add_member(:ungraceful, Shapes::ShapeRef.new(shape: SsmSendCommandUngraceful, location_name: "ungraceful"))
|
|
926
|
+
SsmSendCommandConfiguration.struct_class = Types::SsmSendCommandConfiguration
|
|
927
|
+
|
|
928
|
+
SsmSendCommandUngraceful.add_member(:behavior, Shapes::ShapeRef.new(shape: SsmSendCommandUngracefulBehavior, location_name: "behavior"))
|
|
929
|
+
SsmSendCommandUngraceful.struct_class = Types::SsmSendCommandUngraceful
|
|
930
|
+
|
|
931
|
+
SsmTarget.add_member(:key, Shapes::ShapeRef.new(shape: SsmTargetKey, required: true, location_name: "key"))
|
|
932
|
+
SsmTarget.add_member(:values, Shapes::ShapeRef.new(shape: SsmTargetValueList, required: true, location_name: "values"))
|
|
933
|
+
SsmTarget.struct_class = Types::SsmTarget
|
|
934
|
+
|
|
935
|
+
SsmTargetList.member = Shapes::ShapeRef.new(shape: SsmTarget)
|
|
936
|
+
|
|
937
|
+
SsmTargetValueList.member = Shapes::ShapeRef.new(shape: SsmTargetValue)
|
|
938
|
+
|
|
885
939
|
StartPlanExecutionRequest.add_member(:plan_arn, Shapes::ShapeRef.new(shape: PlanArn, required: true, location_name: "planArn"))
|
|
886
940
|
StartPlanExecutionRequest.add_member(:target_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "targetRegion"))
|
|
887
941
|
StartPlanExecutionRequest.add_member(:action, Shapes::ShapeRef.new(shape: ExecutionAction, required: true, location_name: "action"))
|
|
@@ -996,6 +996,10 @@ module Aws::ARCRegionswitch
|
|
|
996
996
|
# An Amazon RDS switchover read replica execution block.
|
|
997
997
|
# @return [Types::RdsSwitchoverReadReplicaConfiguration]
|
|
998
998
|
#
|
|
999
|
+
# @!attribute [rw] ssm_send_command_config
|
|
1000
|
+
# Specifies an AWS Systems Manager `SendCommand` execution block.
|
|
1001
|
+
# @return [Types::SsmSendCommandConfiguration]
|
|
1002
|
+
#
|
|
999
1003
|
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/ExecutionBlockConfiguration AWS API Documentation
|
|
1000
1004
|
#
|
|
1001
1005
|
class ExecutionBlockConfiguration < Struct.new(
|
|
@@ -1017,6 +1021,7 @@ module Aws::ARCRegionswitch
|
|
|
1017
1021
|
:aurora_provisioned_scaling_config,
|
|
1018
1022
|
:neptune_global_database_config,
|
|
1019
1023
|
:rds_switchover_read_replica_config,
|
|
1024
|
+
:ssm_send_command_config,
|
|
1020
1025
|
:unknown)
|
|
1021
1026
|
SENSITIVE = []
|
|
1022
1027
|
include Aws::Structure
|
|
@@ -1040,6 +1045,7 @@ module Aws::ARCRegionswitch
|
|
|
1040
1045
|
class AuroraProvisionedScalingConfig < ExecutionBlockConfiguration; end
|
|
1041
1046
|
class NeptuneGlobalDatabaseConfig < ExecutionBlockConfiguration; end
|
|
1042
1047
|
class RdsSwitchoverReadReplicaConfig < ExecutionBlockConfiguration; end
|
|
1048
|
+
class SsmSendCommandConfig < ExecutionBlockConfiguration; end
|
|
1043
1049
|
class Unknown < ExecutionBlockConfiguration; end
|
|
1044
1050
|
end
|
|
1045
1051
|
|
|
@@ -1411,12 +1417,20 @@ module Aws::ARCRegionswitch
|
|
|
1411
1417
|
# @return [String]
|
|
1412
1418
|
#
|
|
1413
1419
|
# @!attribute [rw] behavior
|
|
1414
|
-
# The behavior for
|
|
1415
|
-
#
|
|
1420
|
+
# The default behavior for the Aurora global database execution block.
|
|
1421
|
+
# Valid values:
|
|
1422
|
+
#
|
|
1423
|
+
# * `switchoverOnly` - Calls `SwitchoverGlobalCluster` for a
|
|
1424
|
+
# zero-data-loss switchover during graceful execution.
|
|
1425
|
+
#
|
|
1426
|
+
# * `failover` - Calls `FailoverGlobalCluster` with `AllowDataLoss`
|
|
1427
|
+
# set to `true`. This operation might cause data loss, including
|
|
1428
|
+
# during graceful execution.
|
|
1416
1429
|
# @return [String]
|
|
1417
1430
|
#
|
|
1418
1431
|
# @!attribute [rw] ungraceful
|
|
1419
|
-
# The
|
|
1432
|
+
# The behavior to use when the plan runs in ungraceful mode. If you
|
|
1433
|
+
# omit this value, Region switch uses the value of `behavior`.
|
|
1420
1434
|
# @return [Types::GlobalAuroraUngraceful]
|
|
1421
1435
|
#
|
|
1422
1436
|
# @!attribute [rw] global_cluster_identifier
|
|
@@ -1442,11 +1456,13 @@ module Aws::ARCRegionswitch
|
|
|
1442
1456
|
include Aws::Structure
|
|
1443
1457
|
end
|
|
1444
1458
|
|
|
1445
|
-
# Configuration for
|
|
1446
|
-
#
|
|
1459
|
+
# Configuration for an Aurora global database execution block in
|
|
1460
|
+
# ungraceful mode.
|
|
1447
1461
|
#
|
|
1448
1462
|
# @!attribute [rw] ungraceful
|
|
1449
|
-
# The
|
|
1463
|
+
# The ungraceful behavior. The only valid value is `failover`, which
|
|
1464
|
+
# calls `FailoverGlobalCluster` with `AllowDataLoss` set to `true` and
|
|
1465
|
+
# might cause data loss.
|
|
1450
1466
|
# @return [String]
|
|
1451
1467
|
#
|
|
1452
1468
|
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/GlobalAuroraUngraceful AWS API Documentation
|
|
@@ -1624,13 +1640,29 @@ module Aws::ARCRegionswitch
|
|
|
1624
1640
|
# The Amazon Resource Name (ARN) of the Lambda function.
|
|
1625
1641
|
# @return [String]
|
|
1626
1642
|
#
|
|
1643
|
+
# @!attribute [rw] payload
|
|
1644
|
+
# The JSON payload to send to the Lambda function invocation. If you
|
|
1645
|
+
# don't specify a payload, Region switch invokes the function with
|
|
1646
|
+
# only the execution metadata.
|
|
1647
|
+
#
|
|
1648
|
+
# If you provide a JSON object, Region switch merges execution
|
|
1649
|
+
# metadata keys (`InvokedBy`, `PlanArn`, `ExecutionId`, `StepName`)
|
|
1650
|
+
# into the top level. If one of your keys has the same name as a
|
|
1651
|
+
# metadata key, your key takes precedence.
|
|
1652
|
+
#
|
|
1653
|
+
# If you provide any other JSON type (string, number, boolean, or
|
|
1654
|
+
# array), Region switch forwards it to the Lambda function unchanged,
|
|
1655
|
+
# without adding metadata.
|
|
1656
|
+
# @return [String]
|
|
1657
|
+
#
|
|
1627
1658
|
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/Lambdas AWS API Documentation
|
|
1628
1659
|
#
|
|
1629
1660
|
class Lambdas < Struct.new(
|
|
1630
1661
|
:cross_account_role,
|
|
1631
1662
|
:external_id,
|
|
1632
|
-
:arn
|
|
1633
|
-
|
|
1663
|
+
:arn,
|
|
1664
|
+
:payload)
|
|
1665
|
+
SENSITIVE = [:payload]
|
|
1634
1666
|
include Aws::Structure
|
|
1635
1667
|
end
|
|
1636
1668
|
|
|
@@ -2708,6 +2740,127 @@ module Aws::ARCRegionswitch
|
|
|
2708
2740
|
include Aws::Structure
|
|
2709
2741
|
end
|
|
2710
2742
|
|
|
2743
|
+
# The Systems Manager document to run and the managed nodes to target
|
|
2744
|
+
# for a single Amazon Web Services Region.
|
|
2745
|
+
#
|
|
2746
|
+
# @!attribute [rw] cross_account_role
|
|
2747
|
+
# The cross-account role for the configuration.
|
|
2748
|
+
# @return [String]
|
|
2749
|
+
#
|
|
2750
|
+
# @!attribute [rw] external_id
|
|
2751
|
+
# The external ID (secret key) for the configuration.
|
|
2752
|
+
# @return [String]
|
|
2753
|
+
#
|
|
2754
|
+
# @!attribute [rw] document_arn
|
|
2755
|
+
# The Amazon Resource Name (ARN) of the Systems Manager document to
|
|
2756
|
+
# run.
|
|
2757
|
+
# @return [String]
|
|
2758
|
+
#
|
|
2759
|
+
# @!attribute [rw] targets
|
|
2760
|
+
# The target filters that Systems Manager resolves to managed nodes
|
|
2761
|
+
# when the command runs. To target specific managed nodes, use the
|
|
2762
|
+
# `InstanceIds` key. You can specify up to five target filters.
|
|
2763
|
+
# @return [Array<Types::SsmTarget>]
|
|
2764
|
+
#
|
|
2765
|
+
# @!attribute [rw] parameters
|
|
2766
|
+
# The parameters that are passed to this Region's Systems Manager
|
|
2767
|
+
# document. You set parameters for each document, so each Region can
|
|
2768
|
+
# run its document with its own parameters.
|
|
2769
|
+
# @return [Hash<String,Array<String>>]
|
|
2770
|
+
#
|
|
2771
|
+
# @!attribute [rw] document_version
|
|
2772
|
+
# The version of the Systems Manager document to run for this Region.
|
|
2773
|
+
# When you omit it, Systems Manager runs the document's default
|
|
2774
|
+
# version.
|
|
2775
|
+
# @return [String]
|
|
2776
|
+
#
|
|
2777
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/SsmDocumentConfig AWS API Documentation
|
|
2778
|
+
#
|
|
2779
|
+
class SsmDocumentConfig < Struct.new(
|
|
2780
|
+
:cross_account_role,
|
|
2781
|
+
:external_id,
|
|
2782
|
+
:document_arn,
|
|
2783
|
+
:targets,
|
|
2784
|
+
:parameters,
|
|
2785
|
+
:document_version)
|
|
2786
|
+
SENSITIVE = []
|
|
2787
|
+
include Aws::Structure
|
|
2788
|
+
end
|
|
2789
|
+
|
|
2790
|
+
# Configuration for an AWS Systems Manager `SendCommand` execution block
|
|
2791
|
+
# in a Region switch plan. This execution block runs a Systems Manager
|
|
2792
|
+
# document on the managed nodes that you target in each Amazon Web
|
|
2793
|
+
# Services Region of the plan.
|
|
2794
|
+
#
|
|
2795
|
+
# @!attribute [rw] timeout_minutes
|
|
2796
|
+
# The timeout value specified for the configuration.
|
|
2797
|
+
# @return [Integer]
|
|
2798
|
+
#
|
|
2799
|
+
# @!attribute [rw] region_documents
|
|
2800
|
+
# The Systems Manager document and target configuration for each
|
|
2801
|
+
# Amazon Web Services Region in the plan. Provide an entry for each
|
|
2802
|
+
# Amazon Web Services Region that you want the command to run in.
|
|
2803
|
+
# @return [Hash<String,Types::SsmDocumentConfig>]
|
|
2804
|
+
#
|
|
2805
|
+
# @!attribute [rw] retry_interval_minutes
|
|
2806
|
+
# How often, in minutes, Region switch retries the command if it
|
|
2807
|
+
# returns a failure.
|
|
2808
|
+
# @return [Float]
|
|
2809
|
+
#
|
|
2810
|
+
# @!attribute [rw] ungraceful
|
|
2811
|
+
# Specifies the settings that determine how the execution block
|
|
2812
|
+
# behaves when the plan runs ungracefully, such as whether to skip the
|
|
2813
|
+
# command.
|
|
2814
|
+
# @return [Types::SsmSendCommandUngraceful]
|
|
2815
|
+
#
|
|
2816
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/SsmSendCommandConfiguration AWS API Documentation
|
|
2817
|
+
#
|
|
2818
|
+
class SsmSendCommandConfiguration < Struct.new(
|
|
2819
|
+
:timeout_minutes,
|
|
2820
|
+
:region_documents,
|
|
2821
|
+
:retry_interval_minutes,
|
|
2822
|
+
:ungraceful)
|
|
2823
|
+
SENSITIVE = []
|
|
2824
|
+
include Aws::Structure
|
|
2825
|
+
end
|
|
2826
|
+
|
|
2827
|
+
# The ungraceful execution settings for an AWS Systems Manager
|
|
2828
|
+
# `SendCommand` execution block.
|
|
2829
|
+
#
|
|
2830
|
+
# @!attribute [rw] behavior
|
|
2831
|
+
# Specifies whether to skip running this command during an ungraceful
|
|
2832
|
+
# execution. Set to `skip` to skip the command.
|
|
2833
|
+
# @return [String]
|
|
2834
|
+
#
|
|
2835
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/SsmSendCommandUngraceful AWS API Documentation
|
|
2836
|
+
#
|
|
2837
|
+
class SsmSendCommandUngraceful < Struct.new(
|
|
2838
|
+
:behavior)
|
|
2839
|
+
SENSITIVE = []
|
|
2840
|
+
include Aws::Structure
|
|
2841
|
+
end
|
|
2842
|
+
|
|
2843
|
+
# A single `SendCommand` target filter, consisting of a target key and
|
|
2844
|
+
# the values matched by that key.
|
|
2845
|
+
#
|
|
2846
|
+
# @!attribute [rw] key
|
|
2847
|
+
# The target key, such as `tag:Environment` or `InstanceIds`.
|
|
2848
|
+
# @return [String]
|
|
2849
|
+
#
|
|
2850
|
+
# @!attribute [rw] values
|
|
2851
|
+
# The values matched by this target key. Multiple values combine with
|
|
2852
|
+
# a logical OR.
|
|
2853
|
+
# @return [Array<String>]
|
|
2854
|
+
#
|
|
2855
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/SsmTarget AWS API Documentation
|
|
2856
|
+
#
|
|
2857
|
+
class SsmTarget < Struct.new(
|
|
2858
|
+
:key,
|
|
2859
|
+
:values)
|
|
2860
|
+
SENSITIVE = []
|
|
2861
|
+
include Aws::Structure
|
|
2862
|
+
end
|
|
2863
|
+
|
|
2711
2864
|
# @!attribute [rw] plan_arn
|
|
2712
2865
|
# The Amazon Resource Name (ARN) of the plan to execute.
|
|
2713
2866
|
# @return [String]
|
data/sig/params.rbs
CHANGED
|
@@ -23,7 +23,8 @@ module Aws
|
|
|
23
23
|
{
|
|
24
24
|
cross_account_role: ::String?,
|
|
25
25
|
external_id: ::String?,
|
|
26
|
-
arn: ::String
|
|
26
|
+
arn: ::String?,
|
|
27
|
+
payload: ::String?
|
|
27
28
|
}
|
|
28
29
|
],
|
|
29
30
|
retry_interval_minutes: ::Float,
|
|
@@ -186,6 +187,15 @@ module Aws
|
|
|
186
187
|
}?
|
|
187
188
|
}
|
|
188
189
|
|
|
190
|
+
type ssm_send_command_configuration = {
|
|
191
|
+
timeout_minutes: ::Integer?,
|
|
192
|
+
region_documents: Hash[::String, Params::ssm_document_config],
|
|
193
|
+
retry_interval_minutes: ::Float,
|
|
194
|
+
ungraceful: {
|
|
195
|
+
behavior: ("skip")?
|
|
196
|
+
}?
|
|
197
|
+
}
|
|
198
|
+
|
|
189
199
|
type execution_block_configuration = {
|
|
190
200
|
custom_action_lambda_config: Params::custom_action_lambda_configuration?,
|
|
191
201
|
ec2_asg_capacity_increase_config: Params::ec2_asg_capacity_increase_configuration?,
|
|
@@ -235,14 +245,29 @@ module Aws
|
|
|
235
245
|
aurora_serverless_scaling_config: Params::aurora_serverless_scaling_configuration?,
|
|
236
246
|
aurora_provisioned_scaling_config: Params::aurora_provisioned_scaling_configuration?,
|
|
237
247
|
neptune_global_database_config: Params::neptune_global_database_configuration?,
|
|
238
|
-
rds_switchover_read_replica_config: Params::rds_switchover_read_replica_configuration
|
|
248
|
+
rds_switchover_read_replica_config: Params::rds_switchover_read_replica_configuration?,
|
|
249
|
+
ssm_send_command_config: Params::ssm_send_command_configuration?
|
|
239
250
|
}
|
|
240
251
|
|
|
241
252
|
type step = {
|
|
242
253
|
name: ::String,
|
|
243
254
|
description: ::String?,
|
|
244
255
|
execution_block_configuration: Params::execution_block_configuration,
|
|
245
|
-
execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping" | "AuroraServerlessScaling" | "AuroraProvisionedScaling" | "NeptuneGlobalDatabase" | "RdsSwitchoverReadReplica")
|
|
256
|
+
execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping" | "AuroraServerlessScaling" | "AuroraProvisionedScaling" | "NeptuneGlobalDatabase" | "RdsSwitchoverReadReplica" | "SSMSendCommand")
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
type ssm_document_config = {
|
|
260
|
+
cross_account_role: ::String?,
|
|
261
|
+
external_id: ::String?,
|
|
262
|
+
document_arn: ::String,
|
|
263
|
+
targets: Array[
|
|
264
|
+
{
|
|
265
|
+
key: ::String,
|
|
266
|
+
values: Array[::String]
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
parameters: Hash[::String, Array[::String]]?,
|
|
270
|
+
document_version: ::String?
|
|
246
271
|
}
|
|
247
272
|
|
|
248
273
|
type trigger = {
|
data/sig/types.rbs
CHANGED
|
@@ -264,6 +264,7 @@ module Aws::ARCRegionswitch
|
|
|
264
264
|
attr_accessor aurora_provisioned_scaling_config: Types::AuroraProvisionedScalingConfiguration
|
|
265
265
|
attr_accessor neptune_global_database_config: Types::NeptuneGlobalDatabaseConfiguration
|
|
266
266
|
attr_accessor rds_switchover_read_replica_config: Types::RdsSwitchoverReadReplicaConfiguration
|
|
267
|
+
attr_accessor ssm_send_command_config: Types::SsmSendCommandConfiguration
|
|
267
268
|
attr_accessor unknown: untyped
|
|
268
269
|
SENSITIVE: []
|
|
269
270
|
|
|
@@ -303,6 +304,8 @@ module Aws::ARCRegionswitch
|
|
|
303
304
|
end
|
|
304
305
|
class RdsSwitchoverReadReplicaConfig < ExecutionBlockConfiguration
|
|
305
306
|
end
|
|
307
|
+
class SsmSendCommandConfig < ExecutionBlockConfiguration
|
|
308
|
+
end
|
|
306
309
|
class Unknown < ExecutionBlockConfiguration
|
|
307
310
|
end
|
|
308
311
|
end
|
|
@@ -311,7 +314,7 @@ module Aws::ARCRegionswitch
|
|
|
311
314
|
attr_accessor timestamp: ::Time
|
|
312
315
|
attr_accessor type: ("unknown" | "executionPending" | "executionStarted" | "executionSucceeded" | "executionFailed" | "executionPausing" | "executionPaused" | "executionCanceling" | "executionCanceled" | "executionPendingApproval" | "executionBehaviorChangedToUngraceful" | "executionBehaviorChangedToGraceful" | "executionPendingChildPlanManualApproval" | "executionSuccessMonitoringApplicationHealth" | "stepStarted" | "stepUpdate" | "stepSucceeded" | "stepFailed" | "stepSkipped" | "stepPausedByError" | "stepPausedByOperator" | "stepCanceled" | "stepPendingApproval" | "stepExecutionBehaviorChangedToUngraceful" | "stepPendingApplicationHealthMonitor" | "planEvaluationWarning")
|
|
313
316
|
attr_accessor step_name: ::String
|
|
314
|
-
attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping" | "AuroraServerlessScaling" | "AuroraProvisionedScaling" | "NeptuneGlobalDatabase" | "RdsSwitchoverReadReplica")
|
|
317
|
+
attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping" | "AuroraServerlessScaling" | "AuroraProvisionedScaling" | "NeptuneGlobalDatabase" | "RdsSwitchoverReadReplica" | "SSMSendCommand")
|
|
315
318
|
attr_accessor resources: ::Array[::String]
|
|
316
319
|
attr_accessor error: ::String
|
|
317
320
|
attr_accessor description: ::String
|
|
@@ -465,7 +468,8 @@ module Aws::ARCRegionswitch
|
|
|
465
468
|
attr_accessor cross_account_role: ::String
|
|
466
469
|
attr_accessor external_id: ::String
|
|
467
470
|
attr_accessor arn: ::String
|
|
468
|
-
|
|
471
|
+
attr_accessor payload: ::String
|
|
472
|
+
SENSITIVE: [:payload]
|
|
469
473
|
end
|
|
470
474
|
|
|
471
475
|
class ListPlanExecutionEventsRequest
|
|
@@ -764,6 +768,35 @@ module Aws::ARCRegionswitch
|
|
|
764
768
|
SENSITIVE: []
|
|
765
769
|
end
|
|
766
770
|
|
|
771
|
+
class SsmDocumentConfig
|
|
772
|
+
attr_accessor cross_account_role: ::String
|
|
773
|
+
attr_accessor external_id: ::String
|
|
774
|
+
attr_accessor document_arn: ::String
|
|
775
|
+
attr_accessor targets: ::Array[Types::SsmTarget]
|
|
776
|
+
attr_accessor parameters: ::Hash[::String, ::Array[::String]]
|
|
777
|
+
attr_accessor document_version: ::String
|
|
778
|
+
SENSITIVE: []
|
|
779
|
+
end
|
|
780
|
+
|
|
781
|
+
class SsmSendCommandConfiguration
|
|
782
|
+
attr_accessor timeout_minutes: ::Integer
|
|
783
|
+
attr_accessor region_documents: ::Hash[::String, Types::SsmDocumentConfig]
|
|
784
|
+
attr_accessor retry_interval_minutes: ::Float
|
|
785
|
+
attr_accessor ungraceful: Types::SsmSendCommandUngraceful
|
|
786
|
+
SENSITIVE: []
|
|
787
|
+
end
|
|
788
|
+
|
|
789
|
+
class SsmSendCommandUngraceful
|
|
790
|
+
attr_accessor behavior: ("skip")
|
|
791
|
+
SENSITIVE: []
|
|
792
|
+
end
|
|
793
|
+
|
|
794
|
+
class SsmTarget
|
|
795
|
+
attr_accessor key: ::String
|
|
796
|
+
attr_accessor values: ::Array[::String]
|
|
797
|
+
SENSITIVE: []
|
|
798
|
+
end
|
|
799
|
+
|
|
767
800
|
class StartPlanExecutionRequest
|
|
768
801
|
attr_accessor plan_arn: ::String
|
|
769
802
|
attr_accessor target_region: ::String
|
|
@@ -789,7 +822,7 @@ module Aws::ARCRegionswitch
|
|
|
789
822
|
attr_accessor name: ::String
|
|
790
823
|
attr_accessor description: ::String
|
|
791
824
|
attr_accessor execution_block_configuration: Types::ExecutionBlockConfiguration
|
|
792
|
-
attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping" | "AuroraServerlessScaling" | "AuroraProvisionedScaling" | "NeptuneGlobalDatabase" | "RdsSwitchoverReadReplica")
|
|
825
|
+
attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping" | "AuroraServerlessScaling" | "AuroraProvisionedScaling" | "NeptuneGlobalDatabase" | "RdsSwitchoverReadReplica" | "SSMSendCommand")
|
|
793
826
|
SENSITIVE: []
|
|
794
827
|
end
|
|
795
828
|
|