aws-sdk-arcregionswitch 1.12.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c427a098260987f67cb562565e4308347456a276f3ec1cdb7fd6cc1fc7175e14
4
- data.tar.gz: fc8edee0c2b5c058516cfd6f8aa9a92291c967e3cb7294726a0abb3a0e95713f
3
+ metadata.gz: 0e80fe75b382f81fd79635f8592982320b4f03c3b6f525e3e7ef9c1ce3a13890
4
+ data.tar.gz: 93ca630b78a4b145bfe555b43fe3a7970d86e146649536c51400482663364a65
5
5
  SHA512:
6
- metadata.gz: e2aa5d1db2ae2eeb50d95feb8ee6e4ecc6da26a8e6cea8eb54982c18eb1eb182b7200eb9516206c20393ec65aa44b1fc0c71a6a2e8d5d1c37c3975d44fcc4309
7
- data.tar.gz: 423a37ff0e0f65cbe2879d8634848070f67e18a85993ccbed4e1ca421f782b1bf790baf382a394411dbde468c4f31ba78b0dd9d943423caa4f59968fd49b832d
6
+ metadata.gz: 5bbfebe757c140c5f5d8d385a452bf8e144a90cfcd69f3b08107eac9cbde9bc0e0fa6b6d3cfbeb25d8714a1808f2ef8400d0dbc75ad50455edfc5d1ea9444bd8
7
+ data.tar.gz: 8b473251077a55f08998dcaea237cf1558d5880be292395df8f9b3593da7161cb5ffe33bd3103500438ee318581b6d851c93475a6af30c73d22020921957ac41
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.13.0 (2026-02-27)
5
+ ------------------
6
+
7
+ * Feature - Post-Recovery Workflows enable customers to maintain comprehensive disaster recovery automation. This allows customer SREs and leadership to have complete recovery orchestration from failover through post-recovery preparation, ensuring Regions remain ready for subsequent recovery events.
8
+
4
9
  1.12.0 (2026-02-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.12.0
1
+ 1.13.0
@@ -640,7 +640,7 @@ module Aws::ARCRegionswitch
640
640
  # },
641
641
  # ],
642
642
  # retry_interval_minutes: 1.0, # required
643
- # region_to_run: "activatingRegion", # required, accepts activatingRegion, deactivatingRegion
643
+ # region_to_run: "activatingRegion", # required, accepts activatingRegion, deactivatingRegion, activeRegion, inactiveRegion
644
644
  # ungraceful: {
645
645
  # behavior: "skip", # accepts skip
646
646
  # },
@@ -768,11 +768,27 @@ module Aws::ARCRegionswitch
768
768
  # global_cluster_identifier: "DocumentDbGlobalClusterIdentifier", # required
769
769
  # database_cluster_arns: ["DocumentDbClusterArn"], # required
770
770
  # },
771
+ # rds_promote_read_replica_config: {
772
+ # timeout_minutes: 1,
773
+ # cross_account_role: "IamRoleArn",
774
+ # external_id: "String",
775
+ # db_instance_arn_map: { # required
776
+ # "Region" => "RdsDbInstanceArn",
777
+ # },
778
+ # },
779
+ # rds_create_cross_region_read_replica_config: {
780
+ # timeout_minutes: 1,
781
+ # cross_account_role: "IamRoleArn",
782
+ # external_id: "String",
783
+ # db_instance_arn_map: { # required
784
+ # "Region" => "RdsDbInstanceArn",
785
+ # },
786
+ # },
771
787
  # },
772
- # execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb
788
+ # execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb, RdsPromoteReadReplica, RdsCreateCrossRegionReplica
773
789
  # },
774
790
  # ],
775
- # workflow_target_action: "activate", # required, accepts activate, deactivate
791
+ # workflow_target_action: "activate", # required, accepts activate, deactivate, postRecovery
776
792
  # workflow_target_region: "Region",
777
793
  # workflow_description: "String",
778
794
  # },
@@ -791,7 +807,7 @@ module Aws::ARCRegionswitch
791
807
  # {
792
808
  # description: "String",
793
809
  # target_region: "Region", # required
794
- # action: "activate", # required, accepts activate, deactivate
810
+ # action: "activate", # required, accepts activate, deactivate, postRecovery
795
811
  # conditions: [ # required
796
812
  # {
797
813
  # associated_alarm_name: "String", # required
@@ -834,7 +850,7 @@ module Aws::ARCRegionswitch
834
850
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].external_id #=> String
835
851
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].arn #=> String
836
852
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.retry_interval_minutes #=> Float
837
- # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.region_to_run #=> String, one of "activatingRegion", "deactivatingRegion"
853
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.region_to_run #=> String, one of "activatingRegion", "deactivatingRegion", "activeRegion", "inactiveRegion"
838
854
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.ungraceful.behavior #=> String, one of "skip"
839
855
  # resp.plan.workflows[0].steps[0].execution_block_configuration.ec2_asg_capacity_increase_config.timeout_minutes #=> Integer
840
856
  # resp.plan.workflows[0].steps[0].execution_block_configuration.ec2_asg_capacity_increase_config.asgs #=> Array
@@ -906,8 +922,18 @@ module Aws::ARCRegionswitch
906
922
  # resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.global_cluster_identifier #=> String
907
923
  # resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.database_cluster_arns #=> Array
908
924
  # resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.database_cluster_arns[0] #=> String
909
- # resp.plan.workflows[0].steps[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb"
910
- # resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate"
925
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.timeout_minutes #=> Integer
926
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.cross_account_role #=> String
927
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.external_id #=> String
928
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.db_instance_arn_map #=> Hash
929
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.db_instance_arn_map["Region"] #=> String
930
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.timeout_minutes #=> Integer
931
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.cross_account_role #=> String
932
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.external_id #=> String
933
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.db_instance_arn_map #=> Hash
934
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.db_instance_arn_map["Region"] #=> String
935
+ # 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"
936
+ # resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
911
937
  # resp.plan.workflows[0].workflow_target_region #=> String
912
938
  # resp.plan.workflows[0].workflow_description #=> String
913
939
  # resp.plan.execution_role #=> String
@@ -920,7 +946,7 @@ module Aws::ARCRegionswitch
920
946
  # resp.plan.triggers #=> Array
921
947
  # resp.plan.triggers[0].description #=> String
922
948
  # resp.plan.triggers[0].target_region #=> String
923
- # resp.plan.triggers[0].action #=> String, one of "activate", "deactivate"
949
+ # resp.plan.triggers[0].action #=> String, one of "activate", "deactivate", "postRecovery"
924
950
  # resp.plan.triggers[0].conditions #=> Array
925
951
  # resp.plan.triggers[0].conditions[0].associated_alarm_name #=> String
926
952
  # resp.plan.triggers[0].conditions[0].condition #=> String, one of "red", "green"
@@ -1001,7 +1027,7 @@ module Aws::ARCRegionswitch
1001
1027
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].external_id #=> String
1002
1028
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].arn #=> String
1003
1029
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.retry_interval_minutes #=> Float
1004
- # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.region_to_run #=> String, one of "activatingRegion", "deactivatingRegion"
1030
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.region_to_run #=> String, one of "activatingRegion", "deactivatingRegion", "activeRegion", "inactiveRegion"
1005
1031
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.ungraceful.behavior #=> String, one of "skip"
1006
1032
  # resp.plan.workflows[0].steps[0].execution_block_configuration.ec2_asg_capacity_increase_config.timeout_minutes #=> Integer
1007
1033
  # resp.plan.workflows[0].steps[0].execution_block_configuration.ec2_asg_capacity_increase_config.asgs #=> Array
@@ -1073,8 +1099,18 @@ module Aws::ARCRegionswitch
1073
1099
  # resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.global_cluster_identifier #=> String
1074
1100
  # resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.database_cluster_arns #=> Array
1075
1101
  # resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.database_cluster_arns[0] #=> String
1076
- # resp.plan.workflows[0].steps[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb"
1077
- # resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate"
1102
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.timeout_minutes #=> Integer
1103
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.cross_account_role #=> String
1104
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.external_id #=> String
1105
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.db_instance_arn_map #=> Hash
1106
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.db_instance_arn_map["Region"] #=> String
1107
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.timeout_minutes #=> Integer
1108
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.cross_account_role #=> String
1109
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.external_id #=> String
1110
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.db_instance_arn_map #=> Hash
1111
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.db_instance_arn_map["Region"] #=> String
1112
+ # 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"
1113
+ # resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
1078
1114
  # resp.plan.workflows[0].workflow_target_region #=> String
1079
1115
  # resp.plan.workflows[0].workflow_description #=> String
1080
1116
  # resp.plan.execution_role #=> String
@@ -1087,7 +1123,7 @@ module Aws::ARCRegionswitch
1087
1123
  # resp.plan.triggers #=> Array
1088
1124
  # resp.plan.triggers[0].description #=> String
1089
1125
  # resp.plan.triggers[0].target_region #=> String
1090
- # resp.plan.triggers[0].action #=> String, one of "activate", "deactivate"
1126
+ # resp.plan.triggers[0].action #=> String, one of "activate", "deactivate", "postRecovery"
1091
1127
  # resp.plan.triggers[0].conditions #=> Array
1092
1128
  # resp.plan.triggers[0].conditions[0].associated_alarm_name #=> String
1093
1129
  # resp.plan.triggers[0].conditions[0].condition #=> String, one of "red", "green"
@@ -1159,7 +1195,7 @@ module Aws::ARCRegionswitch
1159
1195
  # resp.region #=> String
1160
1196
  # resp.evaluation_state #=> String, one of "passed", "actionRequired", "pendingEvaluation", "unknown"
1161
1197
  # resp.warnings #=> Array
1162
- # resp.warnings[0].workflow.action #=> String, one of "activate", "deactivate"
1198
+ # resp.warnings[0].workflow.action #=> String, one of "activate", "deactivate", "postRecovery"
1163
1199
  # resp.warnings[0].workflow.name #=> String
1164
1200
  # resp.warnings[0].version #=> String
1165
1201
  # resp.warnings[0].step_name #=> String
@@ -1216,6 +1252,7 @@ module Aws::ARCRegionswitch
1216
1252
  # * {Types::GetPlanExecutionResponse#execution_state #execution_state} => String
1217
1253
  # * {Types::GetPlanExecutionResponse#execution_action #execution_action} => String
1218
1254
  # * {Types::GetPlanExecutionResponse#execution_region #execution_region} => String
1255
+ # * {Types::GetPlanExecutionResponse#recovery_execution_id #recovery_execution_id} => String
1219
1256
  # * {Types::GetPlanExecutionResponse#step_states #step_states} => Array<Types::StepState>
1220
1257
  # * {Types::GetPlanExecutionResponse#plan #plan} => Types::Plan
1221
1258
  # * {Types::GetPlanExecutionResponse#actual_recovery_time #actual_recovery_time} => String
@@ -1244,8 +1281,9 @@ module Aws::ARCRegionswitch
1244
1281
  # resp.end_time #=> Time
1245
1282
  # resp.mode #=> String, one of "graceful", "ungraceful"
1246
1283
  # resp.execution_state #=> String, one of "inProgress", "pausedByFailedStep", "pausedByOperator", "completed", "completedWithExceptions", "canceled", "planExecutionTimedOut", "pendingManualApproval", "failed", "pending", "completedMonitoringApplicationHealth"
1247
- # resp.execution_action #=> String, one of "activate", "deactivate"
1284
+ # resp.execution_action #=> String, one of "activate", "deactivate", "postRecovery"
1248
1285
  # resp.execution_region #=> String
1286
+ # resp.recovery_execution_id #=> String
1249
1287
  # resp.step_states #=> Array
1250
1288
  # resp.step_states[0].name #=> String
1251
1289
  # resp.step_states[0].status #=> String, one of "notStarted", "running", "failed", "completed", "canceled", "skipped", "pendingApproval"
@@ -1264,7 +1302,7 @@ module Aws::ARCRegionswitch
1264
1302
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].external_id #=> String
1265
1303
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].arn #=> String
1266
1304
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.retry_interval_minutes #=> Float
1267
- # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.region_to_run #=> String, one of "activatingRegion", "deactivatingRegion"
1305
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.region_to_run #=> String, one of "activatingRegion", "deactivatingRegion", "activeRegion", "inactiveRegion"
1268
1306
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.ungraceful.behavior #=> String, one of "skip"
1269
1307
  # resp.plan.workflows[0].steps[0].execution_block_configuration.ec2_asg_capacity_increase_config.timeout_minutes #=> Integer
1270
1308
  # resp.plan.workflows[0].steps[0].execution_block_configuration.ec2_asg_capacity_increase_config.asgs #=> Array
@@ -1336,8 +1374,18 @@ module Aws::ARCRegionswitch
1336
1374
  # resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.global_cluster_identifier #=> String
1337
1375
  # resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.database_cluster_arns #=> Array
1338
1376
  # resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.database_cluster_arns[0] #=> String
1339
- # resp.plan.workflows[0].steps[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb"
1340
- # resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate"
1377
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.timeout_minutes #=> Integer
1378
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.cross_account_role #=> String
1379
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.external_id #=> String
1380
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.db_instance_arn_map #=> Hash
1381
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.db_instance_arn_map["Region"] #=> String
1382
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.timeout_minutes #=> Integer
1383
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.cross_account_role #=> String
1384
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.external_id #=> String
1385
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.db_instance_arn_map #=> Hash
1386
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.db_instance_arn_map["Region"] #=> String
1387
+ # 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"
1388
+ # resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
1341
1389
  # resp.plan.workflows[0].workflow_target_region #=> String
1342
1390
  # resp.plan.workflows[0].workflow_description #=> String
1343
1391
  # resp.plan.execution_role #=> String
@@ -1350,7 +1398,7 @@ module Aws::ARCRegionswitch
1350
1398
  # resp.plan.triggers #=> Array
1351
1399
  # resp.plan.triggers[0].description #=> String
1352
1400
  # resp.plan.triggers[0].target_region #=> String
1353
- # resp.plan.triggers[0].action #=> String, one of "activate", "deactivate"
1401
+ # resp.plan.triggers[0].action #=> String, one of "activate", "deactivate", "postRecovery"
1354
1402
  # resp.plan.triggers[0].conditions #=> Array
1355
1403
  # resp.plan.triggers[0].conditions[0].associated_alarm_name #=> String
1356
1404
  # resp.plan.triggers[0].conditions[0].condition #=> String, one of "red", "green"
@@ -1419,7 +1467,7 @@ module Aws::ARCRegionswitch
1419
1467
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].external_id #=> String
1420
1468
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].arn #=> String
1421
1469
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.retry_interval_minutes #=> Float
1422
- # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.region_to_run #=> String, one of "activatingRegion", "deactivatingRegion"
1470
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.region_to_run #=> String, one of "activatingRegion", "deactivatingRegion", "activeRegion", "inactiveRegion"
1423
1471
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.ungraceful.behavior #=> String, one of "skip"
1424
1472
  # resp.plan.workflows[0].steps[0].execution_block_configuration.ec2_asg_capacity_increase_config.timeout_minutes #=> Integer
1425
1473
  # resp.plan.workflows[0].steps[0].execution_block_configuration.ec2_asg_capacity_increase_config.asgs #=> Array
@@ -1491,8 +1539,18 @@ module Aws::ARCRegionswitch
1491
1539
  # resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.global_cluster_identifier #=> String
1492
1540
  # resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.database_cluster_arns #=> Array
1493
1541
  # resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.database_cluster_arns[0] #=> String
1494
- # resp.plan.workflows[0].steps[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb"
1495
- # resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate"
1542
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.timeout_minutes #=> Integer
1543
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.cross_account_role #=> String
1544
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.external_id #=> String
1545
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.db_instance_arn_map #=> Hash
1546
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.db_instance_arn_map["Region"] #=> String
1547
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.timeout_minutes #=> Integer
1548
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.cross_account_role #=> String
1549
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.external_id #=> String
1550
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.db_instance_arn_map #=> Hash
1551
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.db_instance_arn_map["Region"] #=> String
1552
+ # 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"
1553
+ # resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
1496
1554
  # resp.plan.workflows[0].workflow_target_region #=> String
1497
1555
  # resp.plan.workflows[0].workflow_description #=> String
1498
1556
  # resp.plan.execution_role #=> String
@@ -1505,7 +1563,7 @@ module Aws::ARCRegionswitch
1505
1563
  # resp.plan.triggers #=> Array
1506
1564
  # resp.plan.triggers[0].description #=> String
1507
1565
  # resp.plan.triggers[0].target_region #=> String
1508
- # resp.plan.triggers[0].action #=> String, one of "activate", "deactivate"
1566
+ # resp.plan.triggers[0].action #=> String, one of "activate", "deactivate", "postRecovery"
1509
1567
  # resp.plan.triggers[0].conditions #=> Array
1510
1568
  # resp.plan.triggers[0].conditions[0].associated_alarm_name #=> String
1511
1569
  # resp.plan.triggers[0].conditions[0].condition #=> String, one of "red", "green"
@@ -1576,7 +1634,7 @@ module Aws::ARCRegionswitch
1576
1634
  # resp.items[0].timestamp #=> Time
1577
1635
  # 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"
1578
1636
  # resp.items[0].step_name #=> String
1579
- # resp.items[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb"
1637
+ # resp.items[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb", "RdsPromoteReadReplica", "RdsCreateCrossRegionReplica"
1580
1638
  # resp.items[0].resources #=> Array
1581
1639
  # resp.items[0].resources[0] #=> String
1582
1640
  # resp.items[0].error #=> String
@@ -1642,8 +1700,9 @@ module Aws::ARCRegionswitch
1642
1700
  # resp.items[0].end_time #=> Time
1643
1701
  # resp.items[0].mode #=> String, one of "graceful", "ungraceful"
1644
1702
  # resp.items[0].execution_state #=> String, one of "inProgress", "pausedByFailedStep", "pausedByOperator", "completed", "completedWithExceptions", "canceled", "planExecutionTimedOut", "pendingManualApproval", "failed", "pending", "completedMonitoringApplicationHealth"
1645
- # resp.items[0].execution_action #=> String, one of "activate", "deactivate"
1703
+ # resp.items[0].execution_action #=> String, one of "activate", "deactivate", "postRecovery"
1646
1704
  # resp.items[0].execution_region #=> String
1705
+ # resp.items[0].recovery_execution_id #=> String
1647
1706
  # resp.items[0].actual_recovery_time #=> String
1648
1707
  # resp.next_token #=> String
1649
1708
  #
@@ -1971,6 +2030,11 @@ module Aws::ARCRegionswitch
1971
2030
  # A boolean value indicating whether to use the latest version of the
1972
2031
  # plan. If set to false, you must specify a specific version.
1973
2032
  #
2033
+ # @option params [String] :recovery_execution_id
2034
+ # The execution identifier of the recovery execution that ran in the
2035
+ # opposite region post-recovery is ran in. Required when starting a
2036
+ # post-recovery execution.
2037
+ #
1974
2038
  # @return [Types::StartPlanExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1975
2039
  #
1976
2040
  # * {Types::StartPlanExecutionResponse#execution_id #execution_id} => String
@@ -1984,10 +2048,11 @@ module Aws::ARCRegionswitch
1984
2048
  # resp = client.start_plan_execution({
1985
2049
  # plan_arn: "PlanArn", # required
1986
2050
  # target_region: "String", # required
1987
- # action: "activate", # required, accepts activate, deactivate
2051
+ # action: "activate", # required, accepts activate, deactivate, postRecovery
1988
2052
  # mode: "graceful", # accepts graceful, ungraceful
1989
2053
  # comment: "ExecutionComment",
1990
2054
  # latest_version: "String",
2055
+ # recovery_execution_id: "RecoveryExecutionId",
1991
2056
  # })
1992
2057
  #
1993
2058
  # @example Response structure
@@ -2121,7 +2186,7 @@ module Aws::ARCRegionswitch
2121
2186
  # },
2122
2187
  # ],
2123
2188
  # retry_interval_minutes: 1.0, # required
2124
- # region_to_run: "activatingRegion", # required, accepts activatingRegion, deactivatingRegion
2189
+ # region_to_run: "activatingRegion", # required, accepts activatingRegion, deactivatingRegion, activeRegion, inactiveRegion
2125
2190
  # ungraceful: {
2126
2191
  # behavior: "skip", # accepts skip
2127
2192
  # },
@@ -2249,11 +2314,27 @@ module Aws::ARCRegionswitch
2249
2314
  # global_cluster_identifier: "DocumentDbGlobalClusterIdentifier", # required
2250
2315
  # database_cluster_arns: ["DocumentDbClusterArn"], # required
2251
2316
  # },
2317
+ # rds_promote_read_replica_config: {
2318
+ # timeout_minutes: 1,
2319
+ # cross_account_role: "IamRoleArn",
2320
+ # external_id: "String",
2321
+ # db_instance_arn_map: { # required
2322
+ # "Region" => "RdsDbInstanceArn",
2323
+ # },
2324
+ # },
2325
+ # rds_create_cross_region_read_replica_config: {
2326
+ # timeout_minutes: 1,
2327
+ # cross_account_role: "IamRoleArn",
2328
+ # external_id: "String",
2329
+ # db_instance_arn_map: { # required
2330
+ # "Region" => "RdsDbInstanceArn",
2331
+ # },
2332
+ # },
2252
2333
  # },
2253
- # execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb
2334
+ # execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb, RdsPromoteReadReplica, RdsCreateCrossRegionReplica
2254
2335
  # },
2255
2336
  # ],
2256
- # workflow_target_action: "activate", # required, accepts activate, deactivate
2337
+ # workflow_target_action: "activate", # required, accepts activate, deactivate, postRecovery
2257
2338
  # workflow_target_region: "Region",
2258
2339
  # workflow_description: "String",
2259
2340
  # },
@@ -2272,7 +2353,7 @@ module Aws::ARCRegionswitch
2272
2353
  # {
2273
2354
  # description: "String",
2274
2355
  # target_region: "Region", # required
2275
- # action: "activate", # required, accepts activate, deactivate
2356
+ # action: "activate", # required, accepts activate, deactivate, postRecovery
2276
2357
  # conditions: [ # required
2277
2358
  # {
2278
2359
  # associated_alarm_name: "String", # required
@@ -2308,7 +2389,7 @@ module Aws::ARCRegionswitch
2308
2389
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].external_id #=> String
2309
2390
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].arn #=> String
2310
2391
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.retry_interval_minutes #=> Float
2311
- # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.region_to_run #=> String, one of "activatingRegion", "deactivatingRegion"
2392
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.region_to_run #=> String, one of "activatingRegion", "deactivatingRegion", "activeRegion", "inactiveRegion"
2312
2393
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.ungraceful.behavior #=> String, one of "skip"
2313
2394
  # resp.plan.workflows[0].steps[0].execution_block_configuration.ec2_asg_capacity_increase_config.timeout_minutes #=> Integer
2314
2395
  # resp.plan.workflows[0].steps[0].execution_block_configuration.ec2_asg_capacity_increase_config.asgs #=> Array
@@ -2380,8 +2461,18 @@ module Aws::ARCRegionswitch
2380
2461
  # resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.global_cluster_identifier #=> String
2381
2462
  # resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.database_cluster_arns #=> Array
2382
2463
  # resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.database_cluster_arns[0] #=> String
2383
- # resp.plan.workflows[0].steps[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb"
2384
- # resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate"
2464
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.timeout_minutes #=> Integer
2465
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.cross_account_role #=> String
2466
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.external_id #=> String
2467
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.db_instance_arn_map #=> Hash
2468
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_promote_read_replica_config.db_instance_arn_map["Region"] #=> String
2469
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.timeout_minutes #=> Integer
2470
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.cross_account_role #=> String
2471
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.external_id #=> String
2472
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.db_instance_arn_map #=> Hash
2473
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.db_instance_arn_map["Region"] #=> String
2474
+ # 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"
2475
+ # resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
2385
2476
  # resp.plan.workflows[0].workflow_target_region #=> String
2386
2477
  # resp.plan.workflows[0].workflow_description #=> String
2387
2478
  # resp.plan.execution_role #=> String
@@ -2394,7 +2485,7 @@ module Aws::ARCRegionswitch
2394
2485
  # resp.plan.triggers #=> Array
2395
2486
  # resp.plan.triggers[0].description #=> String
2396
2487
  # resp.plan.triggers[0].target_region #=> String
2397
- # resp.plan.triggers[0].action #=> String, one of "activate", "deactivate"
2488
+ # resp.plan.triggers[0].action #=> String, one of "activate", "deactivate", "postRecovery"
2398
2489
  # resp.plan.triggers[0].conditions #=> Array
2399
2490
  # resp.plan.triggers[0].conditions[0].associated_alarm_name #=> String
2400
2491
  # resp.plan.triggers[0].conditions[0].condition #=> String, one of "red", "green"
@@ -2518,7 +2609,7 @@ module Aws::ARCRegionswitch
2518
2609
  tracer: tracer
2519
2610
  )
2520
2611
  context[:gem_name] = 'aws-sdk-arcregionswitch'
2521
- context[:gem_version] = '1.12.0'
2612
+ context[:gem_version] = '1.13.0'
2522
2613
  Seahorse::Client::Request.new(handlers, context)
2523
2614
  end
2524
2615
 
@@ -151,7 +151,14 @@ module Aws::ARCRegionswitch
151
151
  PlanName = Shapes::StringShape.new(name: 'PlanName')
152
152
  PlanRecoveryTimeObjectiveMinutesInteger = Shapes::IntegerShape.new(name: 'PlanRecoveryTimeObjectiveMinutesInteger')
153
153
  PlanWarnings = Shapes::ListShape.new(name: 'PlanWarnings')
154
+ RdsCreateCrossRegionReplicaConfiguration = Shapes::StructureShape.new(name: 'RdsCreateCrossRegionReplicaConfiguration')
155
+ RdsCreateCrossRegionReplicaConfigurationTimeoutMinutesInteger = Shapes::IntegerShape.new(name: 'RdsCreateCrossRegionReplicaConfigurationTimeoutMinutesInteger')
156
+ RdsDbInstanceArn = Shapes::StringShape.new(name: 'RdsDbInstanceArn')
157
+ RdsDbInstanceArnMap = Shapes::MapShape.new(name: 'RdsDbInstanceArnMap')
158
+ RdsPromoteReadReplicaConfiguration = Shapes::StructureShape.new(name: 'RdsPromoteReadReplicaConfiguration')
159
+ RdsPromoteReadReplicaConfigurationTimeoutMinutesInteger = Shapes::IntegerShape.new(name: 'RdsPromoteReadReplicaConfigurationTimeoutMinutesInteger')
154
160
  RecoveryApproach = Shapes::StringShape.new(name: 'RecoveryApproach')
161
+ RecoveryExecutionId = Shapes::StringShape.new(name: 'RecoveryExecutionId')
155
162
  Region = Shapes::StringShape.new(name: 'Region')
156
163
  RegionAndRoutingControls = Shapes::MapShape.new(name: 'RegionAndRoutingControls')
157
164
  RegionList = Shapes::ListShape.new(name: 'RegionList')
@@ -232,6 +239,7 @@ module Aws::ARCRegionswitch
232
239
  AbbreviatedExecution.add_member(:execution_state, Shapes::ShapeRef.new(shape: ExecutionState, required: true, location_name: "executionState"))
233
240
  AbbreviatedExecution.add_member(:execution_action, Shapes::ShapeRef.new(shape: ExecutionAction, required: true, location_name: "executionAction"))
234
241
  AbbreviatedExecution.add_member(:execution_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "executionRegion"))
242
+ AbbreviatedExecution.add_member(:recovery_execution_id, Shapes::ShapeRef.new(shape: String, location_name: "recoveryExecutionId"))
235
243
  AbbreviatedExecution.add_member(:actual_recovery_time, Shapes::ShapeRef.new(shape: Duration, location_name: "actualRecoveryTime"))
236
244
  AbbreviatedExecution.struct_class = Types::AbbreviatedExecution
237
245
 
@@ -397,6 +405,8 @@ module Aws::ARCRegionswitch
397
405
  ExecutionBlockConfiguration.add_member(:eks_resource_scaling_config, Shapes::ShapeRef.new(shape: EksResourceScalingConfiguration, location_name: "eksResourceScalingConfig"))
398
406
  ExecutionBlockConfiguration.add_member(:route53_health_check_config, Shapes::ShapeRef.new(shape: Route53HealthCheckConfiguration, location_name: "route53HealthCheckConfig"))
399
407
  ExecutionBlockConfiguration.add_member(:document_db_config, Shapes::ShapeRef.new(shape: DocumentDbConfiguration, location_name: "documentDbConfig"))
408
+ ExecutionBlockConfiguration.add_member(:rds_promote_read_replica_config, Shapes::ShapeRef.new(shape: RdsPromoteReadReplicaConfiguration, location_name: "rdsPromoteReadReplicaConfig"))
409
+ ExecutionBlockConfiguration.add_member(:rds_create_cross_region_read_replica_config, Shapes::ShapeRef.new(shape: RdsCreateCrossRegionReplicaConfiguration, location_name: "rdsCreateCrossRegionReadReplicaConfig"))
400
410
  ExecutionBlockConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
401
411
  ExecutionBlockConfiguration.add_member_subclass(:custom_action_lambda_config, Types::ExecutionBlockConfiguration::CustomActionLambdaConfig)
402
412
  ExecutionBlockConfiguration.add_member_subclass(:ec2_asg_capacity_increase_config, Types::ExecutionBlockConfiguration::Ec2AsgCapacityIncreaseConfig)
@@ -409,6 +419,8 @@ module Aws::ARCRegionswitch
409
419
  ExecutionBlockConfiguration.add_member_subclass(:eks_resource_scaling_config, Types::ExecutionBlockConfiguration::EksResourceScalingConfig)
410
420
  ExecutionBlockConfiguration.add_member_subclass(:route53_health_check_config, Types::ExecutionBlockConfiguration::Route53HealthCheckConfig)
411
421
  ExecutionBlockConfiguration.add_member_subclass(:document_db_config, Types::ExecutionBlockConfiguration::DocumentDbConfig)
422
+ ExecutionBlockConfiguration.add_member_subclass(:rds_promote_read_replica_config, Types::ExecutionBlockConfiguration::RdsPromoteReadReplicaConfig)
423
+ ExecutionBlockConfiguration.add_member_subclass(:rds_create_cross_region_read_replica_config, Types::ExecutionBlockConfiguration::RdsCreateCrossRegionReadReplicaConfig)
412
424
  ExecutionBlockConfiguration.add_member_subclass(:unknown, Types::ExecutionBlockConfiguration::Unknown)
413
425
  ExecutionBlockConfiguration.struct_class = Types::ExecutionBlockConfiguration
414
426
 
@@ -466,6 +478,7 @@ module Aws::ARCRegionswitch
466
478
  GetPlanExecutionResponse.add_member(:execution_state, Shapes::ShapeRef.new(shape: ExecutionState, required: true, location_name: "executionState"))
467
479
  GetPlanExecutionResponse.add_member(:execution_action, Shapes::ShapeRef.new(shape: ExecutionAction, required: true, location_name: "executionAction"))
468
480
  GetPlanExecutionResponse.add_member(:execution_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "executionRegion"))
481
+ GetPlanExecutionResponse.add_member(:recovery_execution_id, Shapes::ShapeRef.new(shape: String, location_name: "recoveryExecutionId"))
469
482
  GetPlanExecutionResponse.add_member(:step_states, Shapes::ShapeRef.new(shape: StepStates, location_name: "stepStates"))
470
483
  GetPlanExecutionResponse.add_member(:plan, Shapes::ShapeRef.new(shape: Plan, location_name: "plan"))
471
484
  GetPlanExecutionResponse.add_member(:actual_recovery_time, Shapes::ShapeRef.new(shape: Duration, location_name: "actualRecoveryTime"))
@@ -623,6 +636,21 @@ module Aws::ARCRegionswitch
623
636
 
624
637
  PlanWarnings.member = Shapes::ShapeRef.new(shape: ResourceWarning)
625
638
 
639
+ RdsCreateCrossRegionReplicaConfiguration.add_member(:timeout_minutes, Shapes::ShapeRef.new(shape: RdsCreateCrossRegionReplicaConfigurationTimeoutMinutesInteger, location_name: "timeoutMinutes"))
640
+ RdsCreateCrossRegionReplicaConfiguration.add_member(:cross_account_role, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "crossAccountRole"))
641
+ RdsCreateCrossRegionReplicaConfiguration.add_member(:external_id, Shapes::ShapeRef.new(shape: String, location_name: "externalId"))
642
+ RdsCreateCrossRegionReplicaConfiguration.add_member(:db_instance_arn_map, Shapes::ShapeRef.new(shape: RdsDbInstanceArnMap, required: true, location_name: "dbInstanceArnMap"))
643
+ RdsCreateCrossRegionReplicaConfiguration.struct_class = Types::RdsCreateCrossRegionReplicaConfiguration
644
+
645
+ RdsDbInstanceArnMap.key = Shapes::ShapeRef.new(shape: Region)
646
+ RdsDbInstanceArnMap.value = Shapes::ShapeRef.new(shape: RdsDbInstanceArn)
647
+
648
+ RdsPromoteReadReplicaConfiguration.add_member(:timeout_minutes, Shapes::ShapeRef.new(shape: RdsPromoteReadReplicaConfigurationTimeoutMinutesInteger, location_name: "timeoutMinutes"))
649
+ RdsPromoteReadReplicaConfiguration.add_member(:cross_account_role, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "crossAccountRole"))
650
+ RdsPromoteReadReplicaConfiguration.add_member(:external_id, Shapes::ShapeRef.new(shape: String, location_name: "externalId"))
651
+ RdsPromoteReadReplicaConfiguration.add_member(:db_instance_arn_map, Shapes::ShapeRef.new(shape: RdsDbInstanceArnMap, required: true, location_name: "dbInstanceArnMap"))
652
+ RdsPromoteReadReplicaConfiguration.struct_class = Types::RdsPromoteReadReplicaConfiguration
653
+
626
654
  RegionAndRoutingControls.key = Shapes::ShapeRef.new(shape: String)
627
655
  RegionAndRoutingControls.value = Shapes::ShapeRef.new(shape: ArcRoutingControlStates)
628
656
 
@@ -713,6 +741,7 @@ module Aws::ARCRegionswitch
713
741
  StartPlanExecutionRequest.add_member(:mode, Shapes::ShapeRef.new(shape: ExecutionMode, location_name: "mode"))
714
742
  StartPlanExecutionRequest.add_member(:comment, Shapes::ShapeRef.new(shape: ExecutionComment, location_name: "comment"))
715
743
  StartPlanExecutionRequest.add_member(:latest_version, Shapes::ShapeRef.new(shape: String, location_name: "latestVersion"))
744
+ StartPlanExecutionRequest.add_member(:recovery_execution_id, Shapes::ShapeRef.new(shape: RecoveryExecutionId, location_name: "recoveryExecutionId"))
716
745
  StartPlanExecutionRequest.struct_class = Types::StartPlanExecutionRequest
717
746
 
718
747
  StartPlanExecutionResponse.add_member(:execution_id, Shapes::ShapeRef.new(shape: ExecutionId, location_name: "executionId"))
@@ -62,6 +62,11 @@ module Aws::ARCRegionswitch
62
62
  # The Amazon Web Services Region for a plan execution.
63
63
  # @return [String]
64
64
  #
65
+ # @!attribute [rw] recovery_execution_id
66
+ # The unique identifier of the most recent recovery execution.
67
+ # Required when starting a post-recovery execution.
68
+ # @return [String]
69
+ #
65
70
  # @!attribute [rw] actual_recovery_time
66
71
  # The actual recovery time that Region switch calculates for a plan
67
72
  # execution. Actual recovery time includes the time for the plan to
@@ -83,6 +88,7 @@ module Aws::ARCRegionswitch
83
88
  :execution_state,
84
89
  :execution_action,
85
90
  :execution_region,
91
+ :recovery_execution_id,
86
92
  :actual_recovery_time)
87
93
  SENSITIVE = []
88
94
  include Aws::Structure
@@ -446,7 +452,11 @@ module Aws::ARCRegionswitch
446
452
  # @return [Float]
447
453
  #
448
454
  # @!attribute [rw] region_to_run
449
- # The Amazon Web Services Region for the function to run in.
455
+ # The Amazon Web Services Region for the function to run in. For
456
+ # recovery workflows use `activatingRegion` or `deactivatingRegion`.
457
+ # For post-recovery workflows, use `activeRegion` (the Region with
458
+ # customer traffic) or `inactiveRegion` (the Region with no customer
459
+ # traffic).
450
460
  # @return [String]
451
461
  #
452
462
  # @!attribute [rw] ungraceful
@@ -802,6 +812,14 @@ module Aws::ARCRegionswitch
802
812
  # switch plan.
803
813
  # @return [Types::DocumentDbConfiguration]
804
814
  #
815
+ # @!attribute [rw] rds_promote_read_replica_config
816
+ # An Amazon RDS promote read replica execution block.
817
+ # @return [Types::RdsPromoteReadReplicaConfiguration]
818
+ #
819
+ # @!attribute [rw] rds_create_cross_region_read_replica_config
820
+ # An Amazon RDS create cross-Region replica execution block.
821
+ # @return [Types::RdsCreateCrossRegionReplicaConfiguration]
822
+ #
805
823
  # @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/ExecutionBlockConfiguration AWS API Documentation
806
824
  #
807
825
  class ExecutionBlockConfiguration < Struct.new(
@@ -816,6 +834,8 @@ module Aws::ARCRegionswitch
816
834
  :eks_resource_scaling_config,
817
835
  :route53_health_check_config,
818
836
  :document_db_config,
837
+ :rds_promote_read_replica_config,
838
+ :rds_create_cross_region_read_replica_config,
819
839
  :unknown)
820
840
  SENSITIVE = []
821
841
  include Aws::Structure
@@ -832,6 +852,8 @@ module Aws::ARCRegionswitch
832
852
  class EksResourceScalingConfig < ExecutionBlockConfiguration; end
833
853
  class Route53HealthCheckConfig < ExecutionBlockConfiguration; end
834
854
  class DocumentDbConfig < ExecutionBlockConfiguration; end
855
+ class RdsPromoteReadReplicaConfig < ExecutionBlockConfiguration; end
856
+ class RdsCreateCrossRegionReadReplicaConfig < ExecutionBlockConfiguration; end
835
857
  class Unknown < ExecutionBlockConfiguration; end
836
858
  end
837
859
 
@@ -1082,6 +1104,11 @@ module Aws::ARCRegionswitch
1082
1104
  # The Amazon Web Services Region for a plan execution.
1083
1105
  # @return [String]
1084
1106
  #
1107
+ # @!attribute [rw] recovery_execution_id
1108
+ # The unique identifier of the most recent recovery execution.
1109
+ # Required when starting a post-recovery execution.
1110
+ # @return [String]
1111
+ #
1085
1112
  # @!attribute [rw] step_states
1086
1113
  # The states of the steps in the plan execution.
1087
1114
  # @return [Array<Types::StepState>]
@@ -1124,6 +1151,7 @@ module Aws::ARCRegionswitch
1124
1151
  :execution_state,
1125
1152
  :execution_action,
1126
1153
  :execution_region,
1154
+ :recovery_execution_id,
1127
1155
  :step_states,
1128
1156
  :plan,
1129
1157
  :actual_recovery_time,
@@ -1826,6 +1854,66 @@ module Aws::ARCRegionswitch
1826
1854
  include Aws::Structure
1827
1855
  end
1828
1856
 
1857
+ # Configuration for creating an Amazon RDS cross-Region read replica
1858
+ # during post-recovery in a Region switch.
1859
+ #
1860
+ # @!attribute [rw] timeout_minutes
1861
+ # The timeout value specified for the configuration.
1862
+ # @return [Integer]
1863
+ #
1864
+ # @!attribute [rw] cross_account_role
1865
+ # The cross-account role for the configuration.
1866
+ # @return [String]
1867
+ #
1868
+ # @!attribute [rw] external_id
1869
+ # The external ID (secret key) for the configuration.
1870
+ # @return [String]
1871
+ #
1872
+ # @!attribute [rw] db_instance_arn_map
1873
+ # A map of database instance ARNs for each Region in the plan.
1874
+ # @return [Hash<String,String>]
1875
+ #
1876
+ # @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/RdsCreateCrossRegionReplicaConfiguration AWS API Documentation
1877
+ #
1878
+ class RdsCreateCrossRegionReplicaConfiguration < Struct.new(
1879
+ :timeout_minutes,
1880
+ :cross_account_role,
1881
+ :external_id,
1882
+ :db_instance_arn_map)
1883
+ SENSITIVE = []
1884
+ include Aws::Structure
1885
+ end
1886
+
1887
+ # Configuration for promoting an Amazon RDS read replica to a standalone
1888
+ # database instance during a Region switch.
1889
+ #
1890
+ # @!attribute [rw] timeout_minutes
1891
+ # The timeout value specified for the configuration.
1892
+ # @return [Integer]
1893
+ #
1894
+ # @!attribute [rw] cross_account_role
1895
+ # The cross-account role for the configuration.
1896
+ # @return [String]
1897
+ #
1898
+ # @!attribute [rw] external_id
1899
+ # The external ID (secret key) for the configuration.
1900
+ # @return [String]
1901
+ #
1902
+ # @!attribute [rw] db_instance_arn_map
1903
+ # A map of database instance ARNs for each Region in the plan.
1904
+ # @return [Hash<String,String>]
1905
+ #
1906
+ # @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/RdsPromoteReadReplicaConfiguration AWS API Documentation
1907
+ #
1908
+ class RdsPromoteReadReplicaConfiguration < Struct.new(
1909
+ :timeout_minutes,
1910
+ :cross_account_role,
1911
+ :external_id,
1912
+ :db_instance_arn_map)
1913
+ SENSITIVE = []
1914
+ include Aws::Structure
1915
+ end
1916
+
1829
1917
  # Configuration for nested Region switch plans. This allows one Region
1830
1918
  # switch plan to trigger another plan as part of its execution.
1831
1919
  #
@@ -2168,6 +2256,12 @@ module Aws::ARCRegionswitch
2168
2256
  # plan. If set to false, you must specify a specific version.
2169
2257
  # @return [String]
2170
2258
  #
2259
+ # @!attribute [rw] recovery_execution_id
2260
+ # The execution identifier of the recovery execution that ran in the
2261
+ # opposite region post-recovery is ran in. Required when starting a
2262
+ # post-recovery execution.
2263
+ # @return [String]
2264
+ #
2171
2265
  # @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/StartPlanExecutionRequest AWS API Documentation
2172
2266
  #
2173
2267
  class StartPlanExecutionRequest < Struct.new(
@@ -2176,7 +2270,8 @@ module Aws::ARCRegionswitch
2176
2270
  :action,
2177
2271
  :mode,
2178
2272
  :comment,
2179
- :latest_version)
2273
+ :latest_version,
2274
+ :recovery_execution_id)
2180
2275
  SENSITIVE = []
2181
2276
  include Aws::Structure
2182
2277
  end
@@ -55,7 +55,7 @@ module Aws::ARCRegionswitch
55
55
  autoload :EndpointProvider, 'aws-sdk-arcregionswitch/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-arcregionswitch/endpoints'
57
57
 
58
- GEM_VERSION = '1.12.0'
58
+ GEM_VERSION = '1.13.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -127,7 +127,7 @@ module Aws
127
127
  },
128
128
  ],
129
129
  retry_interval_minutes: ::Float,
130
- region_to_run: ("activatingRegion" | "deactivatingRegion"),
130
+ region_to_run: ("activatingRegion" | "deactivatingRegion" | "activeRegion" | "inactiveRegion"),
131
131
  ungraceful: {
132
132
  behavior: ("skip")?
133
133
  }?
@@ -246,12 +246,24 @@ module Aws
246
246
  }?,
247
247
  global_cluster_identifier: ::String,
248
248
  database_cluster_arns: Array[::String]
249
+ }?,
250
+ rds_promote_read_replica_config: {
251
+ timeout_minutes: ::Integer?,
252
+ cross_account_role: ::String?,
253
+ external_id: ::String?,
254
+ db_instance_arn_map: Hash[::String, ::String]
255
+ }?,
256
+ rds_create_cross_region_read_replica_config: {
257
+ timeout_minutes: ::Integer?,
258
+ cross_account_role: ::String?,
259
+ external_id: ::String?,
260
+ db_instance_arn_map: Hash[::String, ::String]
249
261
  }?
250
262
  },
251
- execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb")
263
+ execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica")
252
264
  },
253
265
  ]?,
254
- workflow_target_action: ("activate" | "deactivate"),
266
+ workflow_target_action: ("activate" | "deactivate" | "postRecovery"),
255
267
  workflow_target_region: ::String?,
256
268
  workflow_description: ::String?
257
269
  },
@@ -268,7 +280,7 @@ module Aws
268
280
  {
269
281
  description: ::String?,
270
282
  target_region: ::String,
271
- action: ("activate" | "deactivate"),
283
+ action: ("activate" | "deactivate" | "postRecovery"),
272
284
  conditions: Array[
273
285
  {
274
286
  associated_alarm_name: ::String,
@@ -344,8 +356,9 @@ module Aws
344
356
  def end_time: () -> ::Time
345
357
  def mode: () -> ("graceful" | "ungraceful")
346
358
  def execution_state: () -> ("inProgress" | "pausedByFailedStep" | "pausedByOperator" | "completed" | "completedWithExceptions" | "canceled" | "planExecutionTimedOut" | "pendingManualApproval" | "failed" | "pending" | "completedMonitoringApplicationHealth")
347
- def execution_action: () -> ("activate" | "deactivate")
359
+ def execution_action: () -> ("activate" | "deactivate" | "postRecovery")
348
360
  def execution_region: () -> ::String
361
+ def recovery_execution_id: () -> ::String
349
362
  def step_states: () -> ::Array[Types::StepState]
350
363
  def plan: () -> Types::Plan
351
364
  def actual_recovery_time: () -> ::String
@@ -476,10 +489,11 @@ module Aws
476
489
  def start_plan_execution: (
477
490
  plan_arn: ::String,
478
491
  target_region: ::String,
479
- action: ("activate" | "deactivate"),
492
+ action: ("activate" | "deactivate" | "postRecovery"),
480
493
  ?mode: ("graceful" | "ungraceful"),
481
494
  ?comment: ::String,
482
- ?latest_version: ::String
495
+ ?latest_version: ::String,
496
+ ?recovery_execution_id: ::String
483
497
  ) -> _StartPlanExecutionResponseSuccess
484
498
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartPlanExecutionResponseSuccess
485
499
 
@@ -528,7 +542,7 @@ module Aws
528
542
  },
529
543
  ],
530
544
  retry_interval_minutes: ::Float,
531
- region_to_run: ("activatingRegion" | "deactivatingRegion"),
545
+ region_to_run: ("activatingRegion" | "deactivatingRegion" | "activeRegion" | "inactiveRegion"),
532
546
  ungraceful: {
533
547
  behavior: ("skip")?
534
548
  }?
@@ -647,12 +661,24 @@ module Aws
647
661
  }?,
648
662
  global_cluster_identifier: ::String,
649
663
  database_cluster_arns: Array[::String]
664
+ }?,
665
+ rds_promote_read_replica_config: {
666
+ timeout_minutes: ::Integer?,
667
+ cross_account_role: ::String?,
668
+ external_id: ::String?,
669
+ db_instance_arn_map: Hash[::String, ::String]
670
+ }?,
671
+ rds_create_cross_region_read_replica_config: {
672
+ timeout_minutes: ::Integer?,
673
+ cross_account_role: ::String?,
674
+ external_id: ::String?,
675
+ db_instance_arn_map: Hash[::String, ::String]
650
676
  }?
651
677
  },
652
- execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb")
678
+ execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica")
653
679
  },
654
680
  ]?,
655
- workflow_target_action: ("activate" | "deactivate"),
681
+ workflow_target_action: ("activate" | "deactivate" | "postRecovery"),
656
682
  workflow_target_region: ::String?,
657
683
  workflow_description: ::String?
658
684
  },
@@ -669,7 +695,7 @@ module Aws
669
695
  {
670
696
  description: ::String?,
671
697
  target_region: ::String,
672
- action: ("activate" | "deactivate"),
698
+ action: ("activate" | "deactivate" | "postRecovery"),
673
699
  conditions: Array[
674
700
  {
675
701
  associated_alarm_name: ::String,
data/sig/types.rbs CHANGED
@@ -18,8 +18,9 @@ module Aws::ARCRegionswitch
18
18
  attr_accessor end_time: ::Time
19
19
  attr_accessor mode: ("graceful" | "ungraceful")
20
20
  attr_accessor execution_state: ("inProgress" | "pausedByFailedStep" | "pausedByOperator" | "completed" | "completedWithExceptions" | "canceled" | "planExecutionTimedOut" | "pendingManualApproval" | "failed" | "pending" | "completedMonitoringApplicationHealth")
21
- attr_accessor execution_action: ("activate" | "deactivate")
21
+ attr_accessor execution_action: ("activate" | "deactivate" | "postRecovery")
22
22
  attr_accessor execution_region: ::String
23
+ attr_accessor recovery_execution_id: ::String
23
24
  attr_accessor actual_recovery_time: ::String
24
25
  SENSITIVE: []
25
26
  end
@@ -121,7 +122,7 @@ module Aws::ARCRegionswitch
121
122
  attr_accessor timeout_minutes: ::Integer
122
123
  attr_accessor lambdas: ::Array[Types::Lambdas]
123
124
  attr_accessor retry_interval_minutes: ::Float
124
- attr_accessor region_to_run: ("activatingRegion" | "deactivatingRegion")
125
+ attr_accessor region_to_run: ("activatingRegion" | "deactivatingRegion" | "activeRegion" | "inactiveRegion")
125
126
  attr_accessor ungraceful: Types::LambdaUngraceful
126
127
  SENSITIVE: []
127
128
  end
@@ -219,6 +220,8 @@ module Aws::ARCRegionswitch
219
220
  attr_accessor eks_resource_scaling_config: Types::EksResourceScalingConfiguration
220
221
  attr_accessor route53_health_check_config: Types::Route53HealthCheckConfiguration
221
222
  attr_accessor document_db_config: Types::DocumentDbConfiguration
223
+ attr_accessor rds_promote_read_replica_config: Types::RdsPromoteReadReplicaConfiguration
224
+ attr_accessor rds_create_cross_region_read_replica_config: Types::RdsCreateCrossRegionReplicaConfiguration
222
225
  attr_accessor unknown: untyped
223
226
  SENSITIVE: []
224
227
 
@@ -244,6 +247,10 @@ module Aws::ARCRegionswitch
244
247
  end
245
248
  class DocumentDbConfig < ExecutionBlockConfiguration
246
249
  end
250
+ class RdsPromoteReadReplicaConfig < ExecutionBlockConfiguration
251
+ end
252
+ class RdsCreateCrossRegionReadReplicaConfig < ExecutionBlockConfiguration
253
+ end
247
254
  class Unknown < ExecutionBlockConfiguration
248
255
  end
249
256
  end
@@ -252,7 +259,7 @@ module Aws::ARCRegionswitch
252
259
  attr_accessor timestamp: ::Time
253
260
  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")
254
261
  attr_accessor step_name: ::String
255
- attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb")
262
+ attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica")
256
263
  attr_accessor resources: ::Array[::String]
257
264
  attr_accessor error: ::String
258
265
  attr_accessor description: ::String
@@ -309,8 +316,9 @@ module Aws::ARCRegionswitch
309
316
  attr_accessor end_time: ::Time
310
317
  attr_accessor mode: ("graceful" | "ungraceful")
311
318
  attr_accessor execution_state: ("inProgress" | "pausedByFailedStep" | "pausedByOperator" | "completed" | "completedWithExceptions" | "canceled" | "planExecutionTimedOut" | "pendingManualApproval" | "failed" | "pending" | "completedMonitoringApplicationHealth")
312
- attr_accessor execution_action: ("activate" | "deactivate")
319
+ attr_accessor execution_action: ("activate" | "deactivate" | "postRecovery")
313
320
  attr_accessor execution_region: ::String
321
+ attr_accessor recovery_execution_id: ::String
314
322
  attr_accessor step_states: ::Array[Types::StepState]
315
323
  attr_accessor plan: Types::Plan
316
324
  attr_accessor actual_recovery_time: ::String
@@ -489,7 +497,7 @@ module Aws::ARCRegionswitch
489
497
  end
490
498
 
491
499
  class MinimalWorkflow
492
- attr_accessor action: ("activate" | "deactivate")
500
+ attr_accessor action: ("activate" | "deactivate" | "postRecovery")
493
501
  attr_accessor name: ::String
494
502
  SENSITIVE: []
495
503
  end
@@ -518,6 +526,22 @@ module Aws::ARCRegionswitch
518
526
  SENSITIVE: []
519
527
  end
520
528
 
529
+ class RdsCreateCrossRegionReplicaConfiguration
530
+ attr_accessor timeout_minutes: ::Integer
531
+ attr_accessor cross_account_role: ::String
532
+ attr_accessor external_id: ::String
533
+ attr_accessor db_instance_arn_map: ::Hash[::String, ::String]
534
+ SENSITIVE: []
535
+ end
536
+
537
+ class RdsPromoteReadReplicaConfiguration
538
+ attr_accessor timeout_minutes: ::Integer
539
+ attr_accessor cross_account_role: ::String
540
+ attr_accessor external_id: ::String
541
+ attr_accessor db_instance_arn_map: ::Hash[::String, ::String]
542
+ SENSITIVE: []
543
+ end
544
+
521
545
  class RegionSwitchPlanConfiguration
522
546
  attr_accessor cross_account_role: ::String
523
547
  attr_accessor external_id: ::String
@@ -618,10 +642,11 @@ module Aws::ARCRegionswitch
618
642
  class StartPlanExecutionRequest
619
643
  attr_accessor plan_arn: ::String
620
644
  attr_accessor target_region: ::String
621
- attr_accessor action: ("activate" | "deactivate")
645
+ attr_accessor action: ("activate" | "deactivate" | "postRecovery")
622
646
  attr_accessor mode: ("graceful" | "ungraceful")
623
647
  attr_accessor comment: ::String
624
648
  attr_accessor latest_version: ::String
649
+ attr_accessor recovery_execution_id: ::String
625
650
  SENSITIVE: []
626
651
  end
627
652
 
@@ -638,7 +663,7 @@ module Aws::ARCRegionswitch
638
663
  attr_accessor name: ::String
639
664
  attr_accessor description: ::String
640
665
  attr_accessor execution_block_configuration: Types::ExecutionBlockConfiguration
641
- attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb")
666
+ attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica")
642
667
  SENSITIVE: []
643
668
  end
644
669
 
@@ -663,7 +688,7 @@ module Aws::ARCRegionswitch
663
688
  class Trigger
664
689
  attr_accessor description: ::String
665
690
  attr_accessor target_region: ::String
666
- attr_accessor action: ("activate" | "deactivate")
691
+ attr_accessor action: ("activate" | "deactivate" | "postRecovery")
667
692
  attr_accessor conditions: ::Array[Types::TriggerCondition]
668
693
  attr_accessor min_delay_minutes_between_executions: ::Integer
669
694
  SENSITIVE: []
@@ -726,7 +751,7 @@ module Aws::ARCRegionswitch
726
751
 
727
752
  class Workflow
728
753
  attr_accessor steps: ::Array[Types::Step]
729
- attr_accessor workflow_target_action: ("activate" | "deactivate")
754
+ attr_accessor workflow_target_action: ("activate" | "deactivate" | "postRecovery")
730
755
  attr_accessor workflow_target_region: ::String
731
756
  attr_accessor workflow_description: ::String
732
757
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-arcregionswitch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services