aws-sdk-arcregionswitch 1.20.0 → 1.22.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 +77 -9
- data/lib/aws-sdk-arcregionswitch/client_api.rb +25 -0
- data/lib/aws-sdk-arcregionswitch/errors.rb +26 -0
- data/lib/aws-sdk-arcregionswitch/types.rb +102 -1
- data/lib/aws-sdk-arcregionswitch.rb +1 -1
- data/sig/client.rbs +2 -1
- data/sig/errors.rbs +5 -0
- data/sig/params.rbs +13 -2
- data/sig/types.rbs +27 -2
- 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: b0bb8737723a89d35382a58ce7a864d1d8ef690238caab7c6165e58d125fff3c
|
|
4
|
+
data.tar.gz: 8d548aca5e734bd9498ab0fed171bb6a84d5e91f88b46049fd0c32862e59ef13
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2267e4db60919d67ca06d57fa2ac3e105297997b1a07814802c07d635dee509b23194ac20abdcb02d6e084a827a66ce8268e2a15e1a0dbe807137c3d159608c
|
|
7
|
+
data.tar.gz: 3b6a4e05a37b07e0d6476f1a920770c8744554e838e32b338421fd3c1410a9be5850ad4599538326709913a58cbbadf618ab02d837e7ccf29ee1eced6932a52b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.22.0 (2026-08-20)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support for Rds switchover read replica for Oracle databases in Region switch plans
|
|
8
|
+
|
|
9
|
+
1.21.0 (2026-07-22)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adds support for a client token in StartPlanExecution to make plan execution requests idempotent for safe retries.
|
|
13
|
+
|
|
4
14
|
1.20.0 (2026-07-09)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.22.0
|
|
@@ -831,8 +831,19 @@ module Aws::ARCRegionswitch
|
|
|
831
831
|
# "Region" => "NeptuneClusterArn",
|
|
832
832
|
# },
|
|
833
833
|
# },
|
|
834
|
+
# rds_switchover_read_replica_config: {
|
|
835
|
+
# timeout_minutes: 1,
|
|
836
|
+
# cross_account_role: "IamRoleArn",
|
|
837
|
+
# external_id: "String",
|
|
838
|
+
# db_instance_arn_map: { # required
|
|
839
|
+
# "Region" => "RdsDbInstanceArn",
|
|
840
|
+
# },
|
|
841
|
+
# ungraceful: {
|
|
842
|
+
# ungraceful: "promoteReadReplica", # accepts promoteReadReplica
|
|
843
|
+
# },
|
|
844
|
+
# },
|
|
834
845
|
# },
|
|
835
|
-
# execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb, RdsPromoteReadReplica, RdsCreateCrossRegionReplica, LambdaEventSourceMapping, AuroraServerlessScaling, AuroraProvisionedScaling, NeptuneGlobalDatabase
|
|
846
|
+
# execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb, RdsPromoteReadReplica, RdsCreateCrossRegionReplica, LambdaEventSourceMapping, AuroraServerlessScaling, AuroraProvisionedScaling, NeptuneGlobalDatabase, RdsSwitchoverReadReplica
|
|
836
847
|
# },
|
|
837
848
|
# ],
|
|
838
849
|
# workflow_target_action: "activate", # required, accepts activate, deactivate, postRecovery
|
|
@@ -1009,7 +1020,13 @@ module Aws::ARCRegionswitch
|
|
|
1009
1020
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.neptune_global_database_config.global_cluster_identifier #=> String
|
|
1010
1021
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.neptune_global_database_config.region_database_cluster_arns #=> Hash
|
|
1011
1022
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.neptune_global_database_config.region_database_cluster_arns["Region"] #=> String
|
|
1012
|
-
# resp.plan.workflows[0].steps[0].
|
|
1023
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.timeout_minutes #=> Integer
|
|
1024
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.cross_account_role #=> String
|
|
1025
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.external_id #=> String
|
|
1026
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map #=> Hash
|
|
1027
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map["Region"] #=> String
|
|
1028
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.ungraceful.ungraceful #=> String, one of "promoteReadReplica"
|
|
1029
|
+
# 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"
|
|
1013
1030
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
1014
1031
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
1015
1032
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -1216,7 +1233,13 @@ module Aws::ARCRegionswitch
|
|
|
1216
1233
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.neptune_global_database_config.global_cluster_identifier #=> String
|
|
1217
1234
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.neptune_global_database_config.region_database_cluster_arns #=> Hash
|
|
1218
1235
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.neptune_global_database_config.region_database_cluster_arns["Region"] #=> String
|
|
1219
|
-
# resp.plan.workflows[0].steps[0].
|
|
1236
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.timeout_minutes #=> Integer
|
|
1237
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.cross_account_role #=> String
|
|
1238
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.external_id #=> String
|
|
1239
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map #=> Hash
|
|
1240
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map["Region"] #=> String
|
|
1241
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.ungraceful.ungraceful #=> String, one of "promoteReadReplica"
|
|
1242
|
+
# 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"
|
|
1220
1243
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
1221
1244
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
1222
1245
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -1521,7 +1544,13 @@ module Aws::ARCRegionswitch
|
|
|
1521
1544
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.neptune_global_database_config.global_cluster_identifier #=> String
|
|
1522
1545
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.neptune_global_database_config.region_database_cluster_arns #=> Hash
|
|
1523
1546
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.neptune_global_database_config.region_database_cluster_arns["Region"] #=> String
|
|
1524
|
-
# resp.plan.workflows[0].steps[0].
|
|
1547
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.timeout_minutes #=> Integer
|
|
1548
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.cross_account_role #=> String
|
|
1549
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.external_id #=> String
|
|
1550
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map #=> Hash
|
|
1551
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map["Region"] #=> String
|
|
1552
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.ungraceful.ungraceful #=> String, one of "promoteReadReplica"
|
|
1553
|
+
# 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"
|
|
1525
1554
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
1526
1555
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
1527
1556
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -1716,7 +1745,13 @@ module Aws::ARCRegionswitch
|
|
|
1716
1745
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.neptune_global_database_config.global_cluster_identifier #=> String
|
|
1717
1746
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.neptune_global_database_config.region_database_cluster_arns #=> Hash
|
|
1718
1747
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.neptune_global_database_config.region_database_cluster_arns["Region"] #=> String
|
|
1719
|
-
# resp.plan.workflows[0].steps[0].
|
|
1748
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.timeout_minutes #=> Integer
|
|
1749
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.cross_account_role #=> String
|
|
1750
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.external_id #=> String
|
|
1751
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map #=> Hash
|
|
1752
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map["Region"] #=> String
|
|
1753
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.ungraceful.ungraceful #=> String, one of "promoteReadReplica"
|
|
1754
|
+
# 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"
|
|
1720
1755
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
1721
1756
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
1722
1757
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -1801,7 +1836,7 @@ module Aws::ARCRegionswitch
|
|
|
1801
1836
|
# resp.items[0].timestamp #=> Time
|
|
1802
1837
|
# 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"
|
|
1803
1838
|
# resp.items[0].step_name #=> String
|
|
1804
|
-
# 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"
|
|
1839
|
+
# 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"
|
|
1805
1840
|
# resp.items[0].resources #=> Array
|
|
1806
1841
|
# resp.items[0].resources[0] #=> String
|
|
1807
1842
|
# resp.items[0].error #=> String
|
|
@@ -2202,6 +2237,21 @@ module Aws::ARCRegionswitch
|
|
|
2202
2237
|
# opposite region post-recovery is ran in. Required when starting a
|
|
2203
2238
|
# post-recovery execution.
|
|
2204
2239
|
#
|
|
2240
|
+
# @option params [String] :client_token
|
|
2241
|
+
# A unique, case-sensitive identifier to ensure that the operation
|
|
2242
|
+
# completes no more than one time. If this token matches a previous
|
|
2243
|
+
# request, the service ignores the request and returns the result of the
|
|
2244
|
+
# original successful request. If you don't provide a client token, the
|
|
2245
|
+
# service automatically generates one. For more information about
|
|
2246
|
+
# idempotency, see [Making retries safe with idempotent APIs][1].
|
|
2247
|
+
#
|
|
2248
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2249
|
+
# not need to pass this option.**
|
|
2250
|
+
#
|
|
2251
|
+
#
|
|
2252
|
+
#
|
|
2253
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
|
2254
|
+
#
|
|
2205
2255
|
# @return [Types::StartPlanExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2206
2256
|
#
|
|
2207
2257
|
# * {Types::StartPlanExecutionResponse#execution_id #execution_id} => String
|
|
@@ -2220,6 +2270,7 @@ module Aws::ARCRegionswitch
|
|
|
2220
2270
|
# comment: "ExecutionComment",
|
|
2221
2271
|
# latest_version: "String",
|
|
2222
2272
|
# recovery_execution_id: "RecoveryExecutionId",
|
|
2273
|
+
# client_token: "StartPlanExecutionRequestClientTokenString",
|
|
2223
2274
|
# })
|
|
2224
2275
|
#
|
|
2225
2276
|
# @example Response structure
|
|
@@ -2546,8 +2597,19 @@ module Aws::ARCRegionswitch
|
|
|
2546
2597
|
# "Region" => "NeptuneClusterArn",
|
|
2547
2598
|
# },
|
|
2548
2599
|
# },
|
|
2600
|
+
# rds_switchover_read_replica_config: {
|
|
2601
|
+
# timeout_minutes: 1,
|
|
2602
|
+
# cross_account_role: "IamRoleArn",
|
|
2603
|
+
# external_id: "String",
|
|
2604
|
+
# db_instance_arn_map: { # required
|
|
2605
|
+
# "Region" => "RdsDbInstanceArn",
|
|
2606
|
+
# },
|
|
2607
|
+
# ungraceful: {
|
|
2608
|
+
# ungraceful: "promoteReadReplica", # accepts promoteReadReplica
|
|
2609
|
+
# },
|
|
2610
|
+
# },
|
|
2549
2611
|
# },
|
|
2550
|
-
# execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb, RdsPromoteReadReplica, RdsCreateCrossRegionReplica, LambdaEventSourceMapping, AuroraServerlessScaling, AuroraProvisionedScaling, NeptuneGlobalDatabase
|
|
2612
|
+
# execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb, RdsPromoteReadReplica, RdsCreateCrossRegionReplica, LambdaEventSourceMapping, AuroraServerlessScaling, AuroraProvisionedScaling, NeptuneGlobalDatabase, RdsSwitchoverReadReplica
|
|
2551
2613
|
# },
|
|
2552
2614
|
# ],
|
|
2553
2615
|
# workflow_target_action: "activate", # required, accepts activate, deactivate, postRecovery
|
|
@@ -2717,7 +2779,13 @@ module Aws::ARCRegionswitch
|
|
|
2717
2779
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.neptune_global_database_config.global_cluster_identifier #=> String
|
|
2718
2780
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.neptune_global_database_config.region_database_cluster_arns #=> Hash
|
|
2719
2781
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.neptune_global_database_config.region_database_cluster_arns["Region"] #=> String
|
|
2720
|
-
# resp.plan.workflows[0].steps[0].
|
|
2782
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.timeout_minutes #=> Integer
|
|
2783
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.cross_account_role #=> String
|
|
2784
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.external_id #=> String
|
|
2785
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map #=> Hash
|
|
2786
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map["Region"] #=> String
|
|
2787
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.ungraceful.ungraceful #=> String, one of "promoteReadReplica"
|
|
2788
|
+
# 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"
|
|
2721
2789
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
2722
2790
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
2723
2791
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -2855,7 +2923,7 @@ module Aws::ARCRegionswitch
|
|
|
2855
2923
|
tracer: tracer
|
|
2856
2924
|
)
|
|
2857
2925
|
context[:gem_name] = 'aws-sdk-arcregionswitch'
|
|
2858
|
-
context[:gem_version] = '1.
|
|
2926
|
+
context[:gem_version] = '1.22.0'
|
|
2859
2927
|
Seahorse::Client::Request.new(handlers, context)
|
|
2860
2928
|
end
|
|
2861
2929
|
|
|
@@ -43,6 +43,7 @@ module Aws::ARCRegionswitch
|
|
|
43
43
|
AuroraServerlessScalingConfigurationTimeoutMinutesInteger = Shapes::IntegerShape.new(name: 'AuroraServerlessScalingConfigurationTimeoutMinutesInteger')
|
|
44
44
|
CancelPlanExecutionRequest = Shapes::StructureShape.new(name: 'CancelPlanExecutionRequest')
|
|
45
45
|
CancelPlanExecutionResponse = Shapes::StructureShape.new(name: 'CancelPlanExecutionResponse')
|
|
46
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
46
47
|
CreatePlanRequest = Shapes::StructureShape.new(name: 'CreatePlanRequest')
|
|
47
48
|
CreatePlanRequestRecoveryTimeObjectiveMinutesInteger = Shapes::IntegerShape.new(name: 'CreatePlanRequestRecoveryTimeObjectiveMinutesInteger')
|
|
48
49
|
CreatePlanResponse = Shapes::StructureShape.new(name: 'CreatePlanResponse')
|
|
@@ -176,6 +177,10 @@ module Aws::ARCRegionswitch
|
|
|
176
177
|
RdsDbInstanceArnMap = Shapes::MapShape.new(name: 'RdsDbInstanceArnMap')
|
|
177
178
|
RdsPromoteReadReplicaConfiguration = Shapes::StructureShape.new(name: 'RdsPromoteReadReplicaConfiguration')
|
|
178
179
|
RdsPromoteReadReplicaConfigurationTimeoutMinutesInteger = Shapes::IntegerShape.new(name: 'RdsPromoteReadReplicaConfigurationTimeoutMinutesInteger')
|
|
180
|
+
RdsSwitchoverReadReplicaConfiguration = Shapes::StructureShape.new(name: 'RdsSwitchoverReadReplicaConfiguration')
|
|
181
|
+
RdsSwitchoverReadReplicaConfigurationTimeoutMinutesInteger = Shapes::IntegerShape.new(name: 'RdsSwitchoverReadReplicaConfigurationTimeoutMinutesInteger')
|
|
182
|
+
RdsUngraceful = Shapes::StructureShape.new(name: 'RdsUngraceful')
|
|
183
|
+
RdsUngracefulBehavior = Shapes::StringShape.new(name: 'RdsUngracefulBehavior')
|
|
179
184
|
RecoveryApproach = Shapes::StringShape.new(name: 'RecoveryApproach')
|
|
180
185
|
RecoveryExecutionId = Shapes::StringShape.new(name: 'RecoveryExecutionId')
|
|
181
186
|
Region = Shapes::StringShape.new(name: 'Region')
|
|
@@ -217,6 +222,7 @@ module Aws::ARCRegionswitch
|
|
|
217
222
|
Service = Shapes::StructureShape.new(name: 'Service')
|
|
218
223
|
ServiceList = Shapes::ListShape.new(name: 'ServiceList')
|
|
219
224
|
StartPlanExecutionRequest = Shapes::StructureShape.new(name: 'StartPlanExecutionRequest')
|
|
225
|
+
StartPlanExecutionRequestClientTokenString = Shapes::StringShape.new(name: 'StartPlanExecutionRequestClientTokenString')
|
|
220
226
|
StartPlanExecutionResponse = Shapes::StructureShape.new(name: 'StartPlanExecutionResponse')
|
|
221
227
|
Step = Shapes::StructureShape.new(name: 'Step')
|
|
222
228
|
StepName = Shapes::StringShape.new(name: 'StepName')
|
|
@@ -347,6 +353,11 @@ module Aws::ARCRegionswitch
|
|
|
347
353
|
|
|
348
354
|
CancelPlanExecutionResponse.struct_class = Types::CancelPlanExecutionResponse
|
|
349
355
|
|
|
356
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
357
|
+
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
|
|
358
|
+
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
|
359
|
+
ConflictException.struct_class = Types::ConflictException
|
|
360
|
+
|
|
350
361
|
CreatePlanRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
|
351
362
|
CreatePlanRequest.add_member(:workflows, Shapes::ShapeRef.new(shape: WorkflowList, required: true, location_name: "workflows"))
|
|
352
363
|
CreatePlanRequest.add_member(:execution_role, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "executionRole"))
|
|
@@ -455,6 +466,7 @@ module Aws::ARCRegionswitch
|
|
|
455
466
|
ExecutionBlockConfiguration.add_member(:aurora_serverless_scaling_config, Shapes::ShapeRef.new(shape: AuroraServerlessScalingConfiguration, location_name: "auroraServerlessScalingConfig"))
|
|
456
467
|
ExecutionBlockConfiguration.add_member(:aurora_provisioned_scaling_config, Shapes::ShapeRef.new(shape: AuroraProvisionedScalingConfiguration, location_name: "auroraProvisionedScalingConfig"))
|
|
457
468
|
ExecutionBlockConfiguration.add_member(:neptune_global_database_config, Shapes::ShapeRef.new(shape: NeptuneGlobalDatabaseConfiguration, location_name: "neptuneGlobalDatabaseConfig"))
|
|
469
|
+
ExecutionBlockConfiguration.add_member(:rds_switchover_read_replica_config, Shapes::ShapeRef.new(shape: RdsSwitchoverReadReplicaConfiguration, location_name: "rdsSwitchoverReadReplicaConfig"))
|
|
458
470
|
ExecutionBlockConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
459
471
|
ExecutionBlockConfiguration.add_member_subclass(:custom_action_lambda_config, Types::ExecutionBlockConfiguration::CustomActionLambdaConfig)
|
|
460
472
|
ExecutionBlockConfiguration.add_member_subclass(:ec2_asg_capacity_increase_config, Types::ExecutionBlockConfiguration::Ec2AsgCapacityIncreaseConfig)
|
|
@@ -473,6 +485,7 @@ module Aws::ARCRegionswitch
|
|
|
473
485
|
ExecutionBlockConfiguration.add_member_subclass(:aurora_serverless_scaling_config, Types::ExecutionBlockConfiguration::AuroraServerlessScalingConfig)
|
|
474
486
|
ExecutionBlockConfiguration.add_member_subclass(:aurora_provisioned_scaling_config, Types::ExecutionBlockConfiguration::AuroraProvisionedScalingConfig)
|
|
475
487
|
ExecutionBlockConfiguration.add_member_subclass(:neptune_global_database_config, Types::ExecutionBlockConfiguration::NeptuneGlobalDatabaseConfig)
|
|
488
|
+
ExecutionBlockConfiguration.add_member_subclass(:rds_switchover_read_replica_config, Types::ExecutionBlockConfiguration::RdsSwitchoverReadReplicaConfig)
|
|
476
489
|
ExecutionBlockConfiguration.add_member_subclass(:unknown, Types::ExecutionBlockConfiguration::Unknown)
|
|
477
490
|
ExecutionBlockConfiguration.struct_class = Types::ExecutionBlockConfiguration
|
|
478
491
|
|
|
@@ -724,6 +737,16 @@ module Aws::ARCRegionswitch
|
|
|
724
737
|
RdsPromoteReadReplicaConfiguration.add_member(:db_instance_arn_map, Shapes::ShapeRef.new(shape: RdsDbInstanceArnMap, required: true, location_name: "dbInstanceArnMap"))
|
|
725
738
|
RdsPromoteReadReplicaConfiguration.struct_class = Types::RdsPromoteReadReplicaConfiguration
|
|
726
739
|
|
|
740
|
+
RdsSwitchoverReadReplicaConfiguration.add_member(:timeout_minutes, Shapes::ShapeRef.new(shape: RdsSwitchoverReadReplicaConfigurationTimeoutMinutesInteger, location_name: "timeoutMinutes"))
|
|
741
|
+
RdsSwitchoverReadReplicaConfiguration.add_member(:cross_account_role, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "crossAccountRole"))
|
|
742
|
+
RdsSwitchoverReadReplicaConfiguration.add_member(:external_id, Shapes::ShapeRef.new(shape: String, location_name: "externalId"))
|
|
743
|
+
RdsSwitchoverReadReplicaConfiguration.add_member(:db_instance_arn_map, Shapes::ShapeRef.new(shape: RdsDbInstanceArnMap, required: true, location_name: "dbInstanceArnMap"))
|
|
744
|
+
RdsSwitchoverReadReplicaConfiguration.add_member(:ungraceful, Shapes::ShapeRef.new(shape: RdsUngraceful, location_name: "ungraceful"))
|
|
745
|
+
RdsSwitchoverReadReplicaConfiguration.struct_class = Types::RdsSwitchoverReadReplicaConfiguration
|
|
746
|
+
|
|
747
|
+
RdsUngraceful.add_member(:ungraceful, Shapes::ShapeRef.new(shape: RdsUngracefulBehavior, location_name: "ungraceful"))
|
|
748
|
+
RdsUngraceful.struct_class = Types::RdsUngraceful
|
|
749
|
+
|
|
727
750
|
RegionAndRoutingControls.key = Shapes::ShapeRef.new(shape: String)
|
|
728
751
|
RegionAndRoutingControls.value = Shapes::ShapeRef.new(shape: ArcRoutingControlStates)
|
|
729
752
|
|
|
@@ -827,6 +850,7 @@ module Aws::ARCRegionswitch
|
|
|
827
850
|
StartPlanExecutionRequest.add_member(:comment, Shapes::ShapeRef.new(shape: ExecutionComment, location_name: "comment"))
|
|
828
851
|
StartPlanExecutionRequest.add_member(:latest_version, Shapes::ShapeRef.new(shape: String, location_name: "latestVersion"))
|
|
829
852
|
StartPlanExecutionRequest.add_member(:recovery_execution_id, Shapes::ShapeRef.new(shape: RecoveryExecutionId, location_name: "recoveryExecutionId"))
|
|
853
|
+
StartPlanExecutionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: StartPlanExecutionRequestClientTokenString, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
830
854
|
StartPlanExecutionRequest.struct_class = Types::StartPlanExecutionRequest
|
|
831
855
|
|
|
832
856
|
StartPlanExecutionResponse.add_member(:execution_id, Shapes::ShapeRef.new(shape: ExecutionId, location_name: "executionId"))
|
|
@@ -1150,6 +1174,7 @@ module Aws::ARCRegionswitch
|
|
|
1150
1174
|
o.errors << Shapes::ShapeRef.new(shape: IllegalStateException)
|
|
1151
1175
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1152
1176
|
o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
|
|
1177
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
1153
1178
|
end)
|
|
1154
1179
|
|
|
1155
1180
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -28,6 +28,7 @@ module Aws::ARCRegionswitch
|
|
|
28
28
|
#
|
|
29
29
|
# ## Error Classes
|
|
30
30
|
# * {AccessDeniedException}
|
|
31
|
+
# * {ConflictException}
|
|
31
32
|
# * {IllegalArgumentException}
|
|
32
33
|
# * {IllegalStateException}
|
|
33
34
|
# * {InternalServerException}
|
|
@@ -54,6 +55,31 @@ module Aws::ARCRegionswitch
|
|
|
54
55
|
end
|
|
55
56
|
end
|
|
56
57
|
|
|
58
|
+
class ConflictException < ServiceError
|
|
59
|
+
|
|
60
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
61
|
+
# @param [String] message
|
|
62
|
+
# @param [Aws::ARCRegionswitch::Types::ConflictException] data
|
|
63
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
64
|
+
super(context, message, data)
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# @return [String]
|
|
68
|
+
def message
|
|
69
|
+
@message || @data[:message]
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# @return [String]
|
|
73
|
+
def resource_id
|
|
74
|
+
@data[:resource_id]
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# @return [String]
|
|
78
|
+
def resource_type
|
|
79
|
+
@data[:resource_type]
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
57
83
|
class IllegalArgumentException < ServiceError
|
|
58
84
|
|
|
59
85
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -432,6 +432,32 @@ module Aws::ARCRegionswitch
|
|
|
432
432
|
#
|
|
433
433
|
class CancelPlanExecutionResponse < Aws::EmptyStructure; end
|
|
434
434
|
|
|
435
|
+
# The client token was already used with different request parameters. A
|
|
436
|
+
# client token must map to the same parameters for every request. To
|
|
437
|
+
# retry this operation, provide a new client token.
|
|
438
|
+
#
|
|
439
|
+
# @!attribute [rw] message
|
|
440
|
+
# @return [String]
|
|
441
|
+
#
|
|
442
|
+
# @!attribute [rw] resource_id
|
|
443
|
+
# The identifier of the resource involved in the client token
|
|
444
|
+
# conflict.
|
|
445
|
+
# @return [String]
|
|
446
|
+
#
|
|
447
|
+
# @!attribute [rw] resource_type
|
|
448
|
+
# The type of the resource involved in the client token conflict.
|
|
449
|
+
# @return [String]
|
|
450
|
+
#
|
|
451
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/ConflictException AWS API Documentation
|
|
452
|
+
#
|
|
453
|
+
class ConflictException < Struct.new(
|
|
454
|
+
:message,
|
|
455
|
+
:resource_id,
|
|
456
|
+
:resource_type)
|
|
457
|
+
SENSITIVE = []
|
|
458
|
+
include Aws::Structure
|
|
459
|
+
end
|
|
460
|
+
|
|
435
461
|
# @!attribute [rw] description
|
|
436
462
|
# The description of a Region switch plan.
|
|
437
463
|
# @return [String]
|
|
@@ -946,6 +972,10 @@ module Aws::ARCRegionswitch
|
|
|
946
972
|
# A Neptune global database execution block.
|
|
947
973
|
# @return [Types::NeptuneGlobalDatabaseConfiguration]
|
|
948
974
|
#
|
|
975
|
+
# @!attribute [rw] rds_switchover_read_replica_config
|
|
976
|
+
# An Amazon RDS switchover read replica execution block.
|
|
977
|
+
# @return [Types::RdsSwitchoverReadReplicaConfiguration]
|
|
978
|
+
#
|
|
949
979
|
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/ExecutionBlockConfiguration AWS API Documentation
|
|
950
980
|
#
|
|
951
981
|
class ExecutionBlockConfiguration < Struct.new(
|
|
@@ -966,6 +996,7 @@ module Aws::ARCRegionswitch
|
|
|
966
996
|
:aurora_serverless_scaling_config,
|
|
967
997
|
:aurora_provisioned_scaling_config,
|
|
968
998
|
:neptune_global_database_config,
|
|
999
|
+
:rds_switchover_read_replica_config,
|
|
969
1000
|
:unknown)
|
|
970
1001
|
SENSITIVE = []
|
|
971
1002
|
include Aws::Structure
|
|
@@ -988,6 +1019,7 @@ module Aws::ARCRegionswitch
|
|
|
988
1019
|
class AuroraServerlessScalingConfig < ExecutionBlockConfiguration; end
|
|
989
1020
|
class AuroraProvisionedScalingConfig < ExecutionBlockConfiguration; end
|
|
990
1021
|
class NeptuneGlobalDatabaseConfig < ExecutionBlockConfiguration; end
|
|
1022
|
+
class RdsSwitchoverReadReplicaConfig < ExecutionBlockConfiguration; end
|
|
991
1023
|
class Unknown < ExecutionBlockConfiguration; end
|
|
992
1024
|
end
|
|
993
1025
|
|
|
@@ -2154,6 +2186,57 @@ module Aws::ARCRegionswitch
|
|
|
2154
2186
|
include Aws::Structure
|
|
2155
2187
|
end
|
|
2156
2188
|
|
|
2189
|
+
# Configuration for switching over an Amazon RDS read replica to become
|
|
2190
|
+
# the new primary database instance during a Region switch.
|
|
2191
|
+
#
|
|
2192
|
+
# @!attribute [rw] timeout_minutes
|
|
2193
|
+
# The timeout value specified for the configuration.
|
|
2194
|
+
# @return [Integer]
|
|
2195
|
+
#
|
|
2196
|
+
# @!attribute [rw] cross_account_role
|
|
2197
|
+
# The cross-account role for the configuration.
|
|
2198
|
+
# @return [String]
|
|
2199
|
+
#
|
|
2200
|
+
# @!attribute [rw] external_id
|
|
2201
|
+
# The external ID (secret key) for the configuration.
|
|
2202
|
+
# @return [String]
|
|
2203
|
+
#
|
|
2204
|
+
# @!attribute [rw] db_instance_arn_map
|
|
2205
|
+
# A map of database instance ARNs for each Region in the plan.
|
|
2206
|
+
# @return [Hash<String,String>]
|
|
2207
|
+
#
|
|
2208
|
+
# @!attribute [rw] ungraceful
|
|
2209
|
+
# The ungraceful execution settings for the configuration.
|
|
2210
|
+
# @return [Types::RdsUngraceful]
|
|
2211
|
+
#
|
|
2212
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/RdsSwitchoverReadReplicaConfiguration AWS API Documentation
|
|
2213
|
+
#
|
|
2214
|
+
class RdsSwitchoverReadReplicaConfiguration < Struct.new(
|
|
2215
|
+
:timeout_minutes,
|
|
2216
|
+
:cross_account_role,
|
|
2217
|
+
:external_id,
|
|
2218
|
+
:db_instance_arn_map,
|
|
2219
|
+
:ungraceful)
|
|
2220
|
+
SENSITIVE = []
|
|
2221
|
+
include Aws::Structure
|
|
2222
|
+
end
|
|
2223
|
+
|
|
2224
|
+
# The ungraceful execution settings for an Amazon RDS switchover read
|
|
2225
|
+
# replica execution block.
|
|
2226
|
+
#
|
|
2227
|
+
# @!attribute [rw] ungraceful
|
|
2228
|
+
# The ungraceful behavior to perform if switching to ungraceful
|
|
2229
|
+
# execution.
|
|
2230
|
+
# @return [String]
|
|
2231
|
+
#
|
|
2232
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/RdsUngraceful AWS API Documentation
|
|
2233
|
+
#
|
|
2234
|
+
class RdsUngraceful < Struct.new(
|
|
2235
|
+
:ungraceful)
|
|
2236
|
+
SENSITIVE = []
|
|
2237
|
+
include Aws::Structure
|
|
2238
|
+
end
|
|
2239
|
+
|
|
2157
2240
|
# Configuration for nested Region switch plans. This allows one Region
|
|
2158
2241
|
# switch plan to trigger another plan as part of its execution.
|
|
2159
2242
|
#
|
|
@@ -2502,6 +2585,23 @@ module Aws::ARCRegionswitch
|
|
|
2502
2585
|
# post-recovery execution.
|
|
2503
2586
|
# @return [String]
|
|
2504
2587
|
#
|
|
2588
|
+
# @!attribute [rw] client_token
|
|
2589
|
+
# A unique, case-sensitive identifier to ensure that the operation
|
|
2590
|
+
# completes no more than one time. If this token matches a previous
|
|
2591
|
+
# request, the service ignores the request and returns the result of
|
|
2592
|
+
# the original successful request. If you don't provide a client
|
|
2593
|
+
# token, the service automatically generates one. For more information
|
|
2594
|
+
# about idempotency, see [Making retries safe with idempotent
|
|
2595
|
+
# APIs][1].
|
|
2596
|
+
#
|
|
2597
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2598
|
+
# not need to pass this option.
|
|
2599
|
+
#
|
|
2600
|
+
#
|
|
2601
|
+
#
|
|
2602
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
|
2603
|
+
# @return [String]
|
|
2604
|
+
#
|
|
2505
2605
|
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/StartPlanExecutionRequest AWS API Documentation
|
|
2506
2606
|
#
|
|
2507
2607
|
class StartPlanExecutionRequest < Struct.new(
|
|
@@ -2511,7 +2611,8 @@ module Aws::ARCRegionswitch
|
|
|
2511
2611
|
:mode,
|
|
2512
2612
|
:comment,
|
|
2513
2613
|
:latest_version,
|
|
2514
|
-
:recovery_execution_id
|
|
2614
|
+
:recovery_execution_id,
|
|
2615
|
+
:client_token)
|
|
2515
2616
|
SENSITIVE = []
|
|
2516
2617
|
include Aws::Structure
|
|
2517
2618
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -318,7 +318,8 @@ module Aws
|
|
|
318
318
|
?mode: ("graceful" | "ungraceful"),
|
|
319
319
|
?comment: ::String,
|
|
320
320
|
?latest_version: ::String,
|
|
321
|
-
?recovery_execution_id: ::String
|
|
321
|
+
?recovery_execution_id: ::String,
|
|
322
|
+
?client_token: ::String
|
|
322
323
|
) -> _StartPlanExecutionResponseSuccess
|
|
323
324
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartPlanExecutionResponseSuccess
|
|
324
325
|
|
data/sig/errors.rbs
CHANGED
|
@@ -14,6 +14,11 @@ module Aws
|
|
|
14
14
|
class AccessDeniedException < ::Aws::Errors::ServiceError
|
|
15
15
|
def message: () -> ::String
|
|
16
16
|
end
|
|
17
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
|
18
|
+
def message: () -> ::String
|
|
19
|
+
def resource_id: () -> ::String
|
|
20
|
+
def resource_type: () -> ::String
|
|
21
|
+
end
|
|
17
22
|
class IllegalArgumentException < ::Aws::Errors::ServiceError
|
|
18
23
|
def message: () -> ::String
|
|
19
24
|
end
|
data/sig/params.rbs
CHANGED
|
@@ -174,6 +174,16 @@ module Aws
|
|
|
174
174
|
region_database_cluster_arns: Hash[::String, ::String]
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
+
type rds_switchover_read_replica_configuration = {
|
|
178
|
+
timeout_minutes: ::Integer?,
|
|
179
|
+
cross_account_role: ::String?,
|
|
180
|
+
external_id: ::String?,
|
|
181
|
+
db_instance_arn_map: Hash[::String, ::String],
|
|
182
|
+
ungraceful: {
|
|
183
|
+
ungraceful: ("promoteReadReplica")?
|
|
184
|
+
}?
|
|
185
|
+
}
|
|
186
|
+
|
|
177
187
|
type execution_block_configuration = {
|
|
178
188
|
custom_action_lambda_config: Params::custom_action_lambda_configuration?,
|
|
179
189
|
ec2_asg_capacity_increase_config: Params::ec2_asg_capacity_increase_configuration?,
|
|
@@ -222,14 +232,15 @@ module Aws
|
|
|
222
232
|
lambda_event_source_mapping_config: Params::lambda_event_source_mapping_configuration?,
|
|
223
233
|
aurora_serverless_scaling_config: Params::aurora_serverless_scaling_configuration?,
|
|
224
234
|
aurora_provisioned_scaling_config: Params::aurora_provisioned_scaling_configuration?,
|
|
225
|
-
neptune_global_database_config: Params::neptune_global_database_configuration
|
|
235
|
+
neptune_global_database_config: Params::neptune_global_database_configuration?,
|
|
236
|
+
rds_switchover_read_replica_config: Params::rds_switchover_read_replica_configuration?
|
|
226
237
|
}
|
|
227
238
|
|
|
228
239
|
type step = {
|
|
229
240
|
name: ::String,
|
|
230
241
|
description: ::String?,
|
|
231
242
|
execution_block_configuration: Params::execution_block_configuration,
|
|
232
|
-
execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping" | "AuroraServerlessScaling" | "AuroraProvisionedScaling" | "NeptuneGlobalDatabase")
|
|
243
|
+
execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping" | "AuroraServerlessScaling" | "AuroraProvisionedScaling" | "NeptuneGlobalDatabase" | "RdsSwitchoverReadReplica")
|
|
233
244
|
}
|
|
234
245
|
|
|
235
246
|
type trigger = {
|
data/sig/types.rbs
CHANGED
|
@@ -117,6 +117,13 @@ module Aws::ARCRegionswitch
|
|
|
117
117
|
class CancelPlanExecutionResponse < Aws::EmptyStructure
|
|
118
118
|
end
|
|
119
119
|
|
|
120
|
+
class ConflictException
|
|
121
|
+
attr_accessor message: ::String
|
|
122
|
+
attr_accessor resource_id: ::String
|
|
123
|
+
attr_accessor resource_type: ::String
|
|
124
|
+
SENSITIVE: []
|
|
125
|
+
end
|
|
126
|
+
|
|
120
127
|
class CreatePlanRequest
|
|
121
128
|
attr_accessor description: ::String
|
|
122
129
|
attr_accessor workflows: ::Array[Types::Workflow]
|
|
@@ -253,6 +260,7 @@ module Aws::ARCRegionswitch
|
|
|
253
260
|
attr_accessor aurora_serverless_scaling_config: Types::AuroraServerlessScalingConfiguration
|
|
254
261
|
attr_accessor aurora_provisioned_scaling_config: Types::AuroraProvisionedScalingConfiguration
|
|
255
262
|
attr_accessor neptune_global_database_config: Types::NeptuneGlobalDatabaseConfiguration
|
|
263
|
+
attr_accessor rds_switchover_read_replica_config: Types::RdsSwitchoverReadReplicaConfiguration
|
|
256
264
|
attr_accessor unknown: untyped
|
|
257
265
|
SENSITIVE: []
|
|
258
266
|
|
|
@@ -290,6 +298,8 @@ module Aws::ARCRegionswitch
|
|
|
290
298
|
end
|
|
291
299
|
class NeptuneGlobalDatabaseConfig < ExecutionBlockConfiguration
|
|
292
300
|
end
|
|
301
|
+
class RdsSwitchoverReadReplicaConfig < ExecutionBlockConfiguration
|
|
302
|
+
end
|
|
293
303
|
class Unknown < ExecutionBlockConfiguration
|
|
294
304
|
end
|
|
295
305
|
end
|
|
@@ -298,7 +308,7 @@ module Aws::ARCRegionswitch
|
|
|
298
308
|
attr_accessor timestamp: ::Time
|
|
299
309
|
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")
|
|
300
310
|
attr_accessor step_name: ::String
|
|
301
|
-
attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping" | "AuroraServerlessScaling" | "AuroraProvisionedScaling" | "NeptuneGlobalDatabase")
|
|
311
|
+
attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping" | "AuroraServerlessScaling" | "AuroraProvisionedScaling" | "NeptuneGlobalDatabase" | "RdsSwitchoverReadReplica")
|
|
302
312
|
attr_accessor resources: ::Array[::String]
|
|
303
313
|
attr_accessor error: ::String
|
|
304
314
|
attr_accessor description: ::String
|
|
@@ -610,6 +620,20 @@ module Aws::ARCRegionswitch
|
|
|
610
620
|
SENSITIVE: []
|
|
611
621
|
end
|
|
612
622
|
|
|
623
|
+
class RdsSwitchoverReadReplicaConfiguration
|
|
624
|
+
attr_accessor timeout_minutes: ::Integer
|
|
625
|
+
attr_accessor cross_account_role: ::String
|
|
626
|
+
attr_accessor external_id: ::String
|
|
627
|
+
attr_accessor db_instance_arn_map: ::Hash[::String, ::String]
|
|
628
|
+
attr_accessor ungraceful: Types::RdsUngraceful
|
|
629
|
+
SENSITIVE: []
|
|
630
|
+
end
|
|
631
|
+
|
|
632
|
+
class RdsUngraceful
|
|
633
|
+
attr_accessor ungraceful: ("promoteReadReplica")
|
|
634
|
+
SENSITIVE: []
|
|
635
|
+
end
|
|
636
|
+
|
|
613
637
|
class RegionSwitchPlanConfiguration
|
|
614
638
|
attr_accessor cross_account_role: ::String
|
|
615
639
|
attr_accessor external_id: ::String
|
|
@@ -715,6 +739,7 @@ module Aws::ARCRegionswitch
|
|
|
715
739
|
attr_accessor comment: ::String
|
|
716
740
|
attr_accessor latest_version: ::String
|
|
717
741
|
attr_accessor recovery_execution_id: ::String
|
|
742
|
+
attr_accessor client_token: ::String
|
|
718
743
|
SENSITIVE: []
|
|
719
744
|
end
|
|
720
745
|
|
|
@@ -731,7 +756,7 @@ module Aws::ARCRegionswitch
|
|
|
731
756
|
attr_accessor name: ::String
|
|
732
757
|
attr_accessor description: ::String
|
|
733
758
|
attr_accessor execution_block_configuration: Types::ExecutionBlockConfiguration
|
|
734
|
-
attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping" | "AuroraServerlessScaling" | "AuroraProvisionedScaling" | "NeptuneGlobalDatabase")
|
|
759
|
+
attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping" | "AuroraServerlessScaling" | "AuroraProvisionedScaling" | "NeptuneGlobalDatabase" | "RdsSwitchoverReadReplica")
|
|
735
760
|
SENSITIVE: []
|
|
736
761
|
end
|
|
737
762
|
|