aws-sdk-arcregionswitch 1.21.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-arcregionswitch/client.rb +61 -9
- data/lib/aws-sdk-arcregionswitch/client_api.rb +16 -0
- data/lib/aws-sdk-arcregionswitch/types.rb +57 -0
- data/lib/aws-sdk-arcregionswitch.rb +1 -1
- data/sig/params.rbs +13 -2
- data/sig/types.rbs +19 -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
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
|
|
@@ -2562,8 +2597,19 @@ module Aws::ARCRegionswitch
|
|
|
2562
2597
|
# "Region" => "NeptuneClusterArn",
|
|
2563
2598
|
# },
|
|
2564
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
|
+
# },
|
|
2565
2611
|
# },
|
|
2566
|
-
# 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
|
|
2567
2613
|
# },
|
|
2568
2614
|
# ],
|
|
2569
2615
|
# workflow_target_action: "activate", # required, accepts activate, deactivate, postRecovery
|
|
@@ -2733,7 +2779,13 @@ module Aws::ARCRegionswitch
|
|
|
2733
2779
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.neptune_global_database_config.global_cluster_identifier #=> String
|
|
2734
2780
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.neptune_global_database_config.region_database_cluster_arns #=> Hash
|
|
2735
2781
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.neptune_global_database_config.region_database_cluster_arns["Region"] #=> String
|
|
2736
|
-
# 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"
|
|
2737
2789
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
2738
2790
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
2739
2791
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -2871,7 +2923,7 @@ module Aws::ARCRegionswitch
|
|
|
2871
2923
|
tracer: tracer
|
|
2872
2924
|
)
|
|
2873
2925
|
context[:gem_name] = 'aws-sdk-arcregionswitch'
|
|
2874
|
-
context[:gem_version] = '1.
|
|
2926
|
+
context[:gem_version] = '1.22.0'
|
|
2875
2927
|
Seahorse::Client::Request.new(handlers, context)
|
|
2876
2928
|
end
|
|
2877
2929
|
|
|
@@ -177,6 +177,10 @@ module Aws::ARCRegionswitch
|
|
|
177
177
|
RdsDbInstanceArnMap = Shapes::MapShape.new(name: 'RdsDbInstanceArnMap')
|
|
178
178
|
RdsPromoteReadReplicaConfiguration = Shapes::StructureShape.new(name: 'RdsPromoteReadReplicaConfiguration')
|
|
179
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')
|
|
180
184
|
RecoveryApproach = Shapes::StringShape.new(name: 'RecoveryApproach')
|
|
181
185
|
RecoveryExecutionId = Shapes::StringShape.new(name: 'RecoveryExecutionId')
|
|
182
186
|
Region = Shapes::StringShape.new(name: 'Region')
|
|
@@ -462,6 +466,7 @@ module Aws::ARCRegionswitch
|
|
|
462
466
|
ExecutionBlockConfiguration.add_member(:aurora_serverless_scaling_config, Shapes::ShapeRef.new(shape: AuroraServerlessScalingConfiguration, location_name: "auroraServerlessScalingConfig"))
|
|
463
467
|
ExecutionBlockConfiguration.add_member(:aurora_provisioned_scaling_config, Shapes::ShapeRef.new(shape: AuroraProvisionedScalingConfiguration, location_name: "auroraProvisionedScalingConfig"))
|
|
464
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"))
|
|
465
470
|
ExecutionBlockConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
466
471
|
ExecutionBlockConfiguration.add_member_subclass(:custom_action_lambda_config, Types::ExecutionBlockConfiguration::CustomActionLambdaConfig)
|
|
467
472
|
ExecutionBlockConfiguration.add_member_subclass(:ec2_asg_capacity_increase_config, Types::ExecutionBlockConfiguration::Ec2AsgCapacityIncreaseConfig)
|
|
@@ -480,6 +485,7 @@ module Aws::ARCRegionswitch
|
|
|
480
485
|
ExecutionBlockConfiguration.add_member_subclass(:aurora_serverless_scaling_config, Types::ExecutionBlockConfiguration::AuroraServerlessScalingConfig)
|
|
481
486
|
ExecutionBlockConfiguration.add_member_subclass(:aurora_provisioned_scaling_config, Types::ExecutionBlockConfiguration::AuroraProvisionedScalingConfig)
|
|
482
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)
|
|
483
489
|
ExecutionBlockConfiguration.add_member_subclass(:unknown, Types::ExecutionBlockConfiguration::Unknown)
|
|
484
490
|
ExecutionBlockConfiguration.struct_class = Types::ExecutionBlockConfiguration
|
|
485
491
|
|
|
@@ -731,6 +737,16 @@ module Aws::ARCRegionswitch
|
|
|
731
737
|
RdsPromoteReadReplicaConfiguration.add_member(:db_instance_arn_map, Shapes::ShapeRef.new(shape: RdsDbInstanceArnMap, required: true, location_name: "dbInstanceArnMap"))
|
|
732
738
|
RdsPromoteReadReplicaConfiguration.struct_class = Types::RdsPromoteReadReplicaConfiguration
|
|
733
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
|
+
|
|
734
750
|
RegionAndRoutingControls.key = Shapes::ShapeRef.new(shape: String)
|
|
735
751
|
RegionAndRoutingControls.value = Shapes::ShapeRef.new(shape: ArcRoutingControlStates)
|
|
736
752
|
|
|
@@ -972,6 +972,10 @@ module Aws::ARCRegionswitch
|
|
|
972
972
|
# A Neptune global database execution block.
|
|
973
973
|
# @return [Types::NeptuneGlobalDatabaseConfiguration]
|
|
974
974
|
#
|
|
975
|
+
# @!attribute [rw] rds_switchover_read_replica_config
|
|
976
|
+
# An Amazon RDS switchover read replica execution block.
|
|
977
|
+
# @return [Types::RdsSwitchoverReadReplicaConfiguration]
|
|
978
|
+
#
|
|
975
979
|
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/ExecutionBlockConfiguration AWS API Documentation
|
|
976
980
|
#
|
|
977
981
|
class ExecutionBlockConfiguration < Struct.new(
|
|
@@ -992,6 +996,7 @@ module Aws::ARCRegionswitch
|
|
|
992
996
|
:aurora_serverless_scaling_config,
|
|
993
997
|
:aurora_provisioned_scaling_config,
|
|
994
998
|
:neptune_global_database_config,
|
|
999
|
+
:rds_switchover_read_replica_config,
|
|
995
1000
|
:unknown)
|
|
996
1001
|
SENSITIVE = []
|
|
997
1002
|
include Aws::Structure
|
|
@@ -1014,6 +1019,7 @@ module Aws::ARCRegionswitch
|
|
|
1014
1019
|
class AuroraServerlessScalingConfig < ExecutionBlockConfiguration; end
|
|
1015
1020
|
class AuroraProvisionedScalingConfig < ExecutionBlockConfiguration; end
|
|
1016
1021
|
class NeptuneGlobalDatabaseConfig < ExecutionBlockConfiguration; end
|
|
1022
|
+
class RdsSwitchoverReadReplicaConfig < ExecutionBlockConfiguration; end
|
|
1017
1023
|
class Unknown < ExecutionBlockConfiguration; end
|
|
1018
1024
|
end
|
|
1019
1025
|
|
|
@@ -2180,6 +2186,57 @@ module Aws::ARCRegionswitch
|
|
|
2180
2186
|
include Aws::Structure
|
|
2181
2187
|
end
|
|
2182
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
|
+
|
|
2183
2240
|
# Configuration for nested Region switch plans. This allows one Region
|
|
2184
2241
|
# switch plan to trigger another plan as part of its execution.
|
|
2185
2242
|
#
|
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
|
@@ -260,6 +260,7 @@ module Aws::ARCRegionswitch
|
|
|
260
260
|
attr_accessor aurora_serverless_scaling_config: Types::AuroraServerlessScalingConfiguration
|
|
261
261
|
attr_accessor aurora_provisioned_scaling_config: Types::AuroraProvisionedScalingConfiguration
|
|
262
262
|
attr_accessor neptune_global_database_config: Types::NeptuneGlobalDatabaseConfiguration
|
|
263
|
+
attr_accessor rds_switchover_read_replica_config: Types::RdsSwitchoverReadReplicaConfiguration
|
|
263
264
|
attr_accessor unknown: untyped
|
|
264
265
|
SENSITIVE: []
|
|
265
266
|
|
|
@@ -297,6 +298,8 @@ module Aws::ARCRegionswitch
|
|
|
297
298
|
end
|
|
298
299
|
class NeptuneGlobalDatabaseConfig < ExecutionBlockConfiguration
|
|
299
300
|
end
|
|
301
|
+
class RdsSwitchoverReadReplicaConfig < ExecutionBlockConfiguration
|
|
302
|
+
end
|
|
300
303
|
class Unknown < ExecutionBlockConfiguration
|
|
301
304
|
end
|
|
302
305
|
end
|
|
@@ -305,7 +308,7 @@ module Aws::ARCRegionswitch
|
|
|
305
308
|
attr_accessor timestamp: ::Time
|
|
306
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")
|
|
307
310
|
attr_accessor step_name: ::String
|
|
308
|
-
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")
|
|
309
312
|
attr_accessor resources: ::Array[::String]
|
|
310
313
|
attr_accessor error: ::String
|
|
311
314
|
attr_accessor description: ::String
|
|
@@ -617,6 +620,20 @@ module Aws::ARCRegionswitch
|
|
|
617
620
|
SENSITIVE: []
|
|
618
621
|
end
|
|
619
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
|
+
|
|
620
637
|
class RegionSwitchPlanConfiguration
|
|
621
638
|
attr_accessor cross_account_role: ::String
|
|
622
639
|
attr_accessor external_id: ::String
|
|
@@ -739,7 +756,7 @@ module Aws::ARCRegionswitch
|
|
|
739
756
|
attr_accessor name: ::String
|
|
740
757
|
attr_accessor description: ::String
|
|
741
758
|
attr_accessor execution_block_configuration: Types::ExecutionBlockConfiguration
|
|
742
|
-
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")
|
|
743
760
|
SENSITIVE: []
|
|
744
761
|
end
|
|
745
762
|
|