aws-sdk-arcregionswitch 1.5.0 → 1.7.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 +212 -10
- data/lib/aws-sdk-arcregionswitch/client_api.rb +109 -0
- data/lib/aws-sdk-arcregionswitch/endpoint_parameters.rb +4 -4
- data/lib/aws-sdk-arcregionswitch/types.rb +298 -1
- data/lib/aws-sdk-arcregionswitch.rb +1 -1
- data/sig/client.rbs +61 -3
- data/sig/types.rbs +95 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: acbdc5fd5764ef4b2094fdaf4b2dd94b44dde88a584ae867ead50305a7060c9b
|
|
4
|
+
data.tar.gz: daee6cd1dcf6f17f12faf4f8ca28f2faeac9b7997c570e5f7747ea86516046f1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5b2785c5c7a2bf14778e5027e54f7d7dd6d8ef38411f389b5d5382bd9867ca5035665969264eebcf1b5b1588af32439abdf47cf54a377ff04ff615ff11ac7583
|
|
7
|
+
data.tar.gz: 1ae8f57b5b6e0fe08778afbbaf0a1eb05560d5dd826734490a694ea6667873745cb93a0b5b5b33aaa82e3b3a38eb4ae5cfea1b69e5b9ec40925b544cfaaa2291
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.7.0 (2025-12-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Automatic Plan Execution Reports allow customers to maintain a concise record of their Region switch Plan executions. This enables customer SREs and leadership to have a clear view of their recovery posture based on the generated reports for their Plan executions.
|
|
8
|
+
|
|
9
|
+
1.6.0 (2025-12-18)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - New API to list Route 53 health checks created by ARC region switch for a plan in a specific AWS Region using the Region switch Regional data plane.
|
|
13
|
+
|
|
4
14
|
1.5.0 (2025-11-21)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.7.0
|
|
@@ -590,6 +590,12 @@ module Aws::ARCRegionswitch
|
|
|
590
590
|
# @option params [Array<Types::Trigger>] :triggers
|
|
591
591
|
# The triggers associated with a Region switch plan.
|
|
592
592
|
#
|
|
593
|
+
# @option params [Types::ReportConfiguration] :report_configuration
|
|
594
|
+
# Configuration for automatic report generation for plan executions.
|
|
595
|
+
# When configured, Region switch automatically generates a report after
|
|
596
|
+
# each plan execution that includes execution events, plan
|
|
597
|
+
# configuration, and CloudWatch alarm states.
|
|
598
|
+
#
|
|
593
599
|
# @option params [required, String] :name
|
|
594
600
|
# The name of a Region switch plan.
|
|
595
601
|
#
|
|
@@ -751,8 +757,19 @@ module Aws::ARCRegionswitch
|
|
|
751
757
|
# },
|
|
752
758
|
# ],
|
|
753
759
|
# },
|
|
760
|
+
# document_db_config: {
|
|
761
|
+
# timeout_minutes: 1,
|
|
762
|
+
# cross_account_role: "IamRoleArn",
|
|
763
|
+
# external_id: "String",
|
|
764
|
+
# behavior: "switchoverOnly", # required, accepts switchoverOnly, failover
|
|
765
|
+
# ungraceful: {
|
|
766
|
+
# ungraceful: "failover", # accepts failover
|
|
767
|
+
# },
|
|
768
|
+
# global_cluster_identifier: "DocumentDbGlobalClusterIdentifier", # required
|
|
769
|
+
# database_cluster_arns: ["DocumentDbClusterArn"], # required
|
|
770
|
+
# },
|
|
754
771
|
# },
|
|
755
|
-
# execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck
|
|
772
|
+
# execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb
|
|
756
773
|
# },
|
|
757
774
|
# ],
|
|
758
775
|
# workflow_target_action: "activate", # required, accepts activate, deactivate
|
|
@@ -784,6 +801,16 @@ module Aws::ARCRegionswitch
|
|
|
784
801
|
# min_delay_minutes_between_executions: 1, # required
|
|
785
802
|
# },
|
|
786
803
|
# ],
|
|
804
|
+
# report_configuration: {
|
|
805
|
+
# report_output: [
|
|
806
|
+
# {
|
|
807
|
+
# s3_configuration: {
|
|
808
|
+
# bucket_path: "S3ReportOutputConfigurationBucketPathString",
|
|
809
|
+
# bucket_owner: "AccountId",
|
|
810
|
+
# },
|
|
811
|
+
# },
|
|
812
|
+
# ],
|
|
813
|
+
# },
|
|
787
814
|
# name: "PlanName", # required
|
|
788
815
|
# regions: ["Region"], # required
|
|
789
816
|
# recovery_approach: "activeActive", # required, accepts activeActive, activePassive
|
|
@@ -871,7 +898,15 @@ module Aws::ARCRegionswitch
|
|
|
871
898
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.route53_health_check_config.record_sets #=> Array
|
|
872
899
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.route53_health_check_config.record_sets[0].record_set_identifier #=> String
|
|
873
900
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.route53_health_check_config.record_sets[0].region #=> String
|
|
874
|
-
# resp.plan.workflows[0].steps[0].
|
|
901
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.timeout_minutes #=> Integer
|
|
902
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.cross_account_role #=> String
|
|
903
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.external_id #=> String
|
|
904
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.behavior #=> String, one of "switchoverOnly", "failover"
|
|
905
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.ungraceful.ungraceful #=> String, one of "failover"
|
|
906
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.global_cluster_identifier #=> String
|
|
907
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.database_cluster_arns #=> Array
|
|
908
|
+
# 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"
|
|
875
910
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate"
|
|
876
911
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
877
912
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -890,6 +925,9 @@ module Aws::ARCRegionswitch
|
|
|
890
925
|
# resp.plan.triggers[0].conditions[0].associated_alarm_name #=> String
|
|
891
926
|
# resp.plan.triggers[0].conditions[0].condition #=> String, one of "red", "green"
|
|
892
927
|
# resp.plan.triggers[0].min_delay_minutes_between_executions #=> Integer
|
|
928
|
+
# resp.plan.report_configuration.report_output #=> Array
|
|
929
|
+
# resp.plan.report_configuration.report_output[0].s3_configuration.bucket_path #=> String
|
|
930
|
+
# resp.plan.report_configuration.report_output[0].s3_configuration.bucket_owner #=> String
|
|
893
931
|
# resp.plan.name #=> String
|
|
894
932
|
# resp.plan.regions #=> Array
|
|
895
933
|
# resp.plan.regions[0] #=> String
|
|
@@ -1027,7 +1065,15 @@ module Aws::ARCRegionswitch
|
|
|
1027
1065
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.route53_health_check_config.record_sets #=> Array
|
|
1028
1066
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.route53_health_check_config.record_sets[0].record_set_identifier #=> String
|
|
1029
1067
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.route53_health_check_config.record_sets[0].region #=> String
|
|
1030
|
-
# resp.plan.workflows[0].steps[0].
|
|
1068
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.timeout_minutes #=> Integer
|
|
1069
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.cross_account_role #=> String
|
|
1070
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.external_id #=> String
|
|
1071
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.behavior #=> String, one of "switchoverOnly", "failover"
|
|
1072
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.ungraceful.ungraceful #=> String, one of "failover"
|
|
1073
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.global_cluster_identifier #=> String
|
|
1074
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.database_cluster_arns #=> Array
|
|
1075
|
+
# 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"
|
|
1031
1077
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate"
|
|
1032
1078
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
1033
1079
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -1046,6 +1092,9 @@ module Aws::ARCRegionswitch
|
|
|
1046
1092
|
# resp.plan.triggers[0].conditions[0].associated_alarm_name #=> String
|
|
1047
1093
|
# resp.plan.triggers[0].conditions[0].condition #=> String, one of "red", "green"
|
|
1048
1094
|
# resp.plan.triggers[0].min_delay_minutes_between_executions #=> Integer
|
|
1095
|
+
# resp.plan.report_configuration.report_output #=> Array
|
|
1096
|
+
# resp.plan.report_configuration.report_output[0].s3_configuration.bucket_path #=> String
|
|
1097
|
+
# resp.plan.report_configuration.report_output[0].s3_configuration.bucket_owner #=> String
|
|
1049
1098
|
# resp.plan.name #=> String
|
|
1050
1099
|
# resp.plan.regions #=> Array
|
|
1051
1100
|
# resp.plan.regions[0] #=> String
|
|
@@ -1170,6 +1219,7 @@ module Aws::ARCRegionswitch
|
|
|
1170
1219
|
# * {Types::GetPlanExecutionResponse#step_states #step_states} => Array<Types::StepState>
|
|
1171
1220
|
# * {Types::GetPlanExecutionResponse#plan #plan} => Types::Plan
|
|
1172
1221
|
# * {Types::GetPlanExecutionResponse#actual_recovery_time #actual_recovery_time} => String
|
|
1222
|
+
# * {Types::GetPlanExecutionResponse#generated_report_details #generated_report_details} => Array<Types::GeneratedReport>
|
|
1173
1223
|
# * {Types::GetPlanExecutionResponse#next_token #next_token} => String
|
|
1174
1224
|
#
|
|
1175
1225
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
@@ -1278,7 +1328,15 @@ module Aws::ARCRegionswitch
|
|
|
1278
1328
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.route53_health_check_config.record_sets #=> Array
|
|
1279
1329
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.route53_health_check_config.record_sets[0].record_set_identifier #=> String
|
|
1280
1330
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.route53_health_check_config.record_sets[0].region #=> String
|
|
1281
|
-
# resp.plan.workflows[0].steps[0].
|
|
1331
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.timeout_minutes #=> Integer
|
|
1332
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.cross_account_role #=> String
|
|
1333
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.external_id #=> String
|
|
1334
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.behavior #=> String, one of "switchoverOnly", "failover"
|
|
1335
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.ungraceful.ungraceful #=> String, one of "failover"
|
|
1336
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.global_cluster_identifier #=> String
|
|
1337
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.database_cluster_arns #=> Array
|
|
1338
|
+
# 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"
|
|
1282
1340
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate"
|
|
1283
1341
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
1284
1342
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -1297,6 +1355,9 @@ module Aws::ARCRegionswitch
|
|
|
1297
1355
|
# resp.plan.triggers[0].conditions[0].associated_alarm_name #=> String
|
|
1298
1356
|
# resp.plan.triggers[0].conditions[0].condition #=> String, one of "red", "green"
|
|
1299
1357
|
# resp.plan.triggers[0].min_delay_minutes_between_executions #=> Integer
|
|
1358
|
+
# resp.plan.report_configuration.report_output #=> Array
|
|
1359
|
+
# resp.plan.report_configuration.report_output[0].s3_configuration.bucket_path #=> String
|
|
1360
|
+
# resp.plan.report_configuration.report_output[0].s3_configuration.bucket_owner #=> String
|
|
1300
1361
|
# resp.plan.name #=> String
|
|
1301
1362
|
# resp.plan.regions #=> Array
|
|
1302
1363
|
# resp.plan.regions[0] #=> String
|
|
@@ -1306,6 +1367,11 @@ module Aws::ARCRegionswitch
|
|
|
1306
1367
|
# resp.plan.version #=> String
|
|
1307
1368
|
# resp.plan.updated_at #=> Time
|
|
1308
1369
|
# resp.actual_recovery_time #=> String
|
|
1370
|
+
# resp.generated_report_details #=> Array
|
|
1371
|
+
# resp.generated_report_details[0].report_generation_time #=> Time
|
|
1372
|
+
# resp.generated_report_details[0].report_output.s3_report_output.s3_object_key #=> String
|
|
1373
|
+
# resp.generated_report_details[0].report_output.failed_report_output.error_code #=> String, one of "insufficientPermissions", "invalidResource", "configurationError"
|
|
1374
|
+
# resp.generated_report_details[0].report_output.failed_report_output.error_message #=> String
|
|
1309
1375
|
# resp.next_token #=> String
|
|
1310
1376
|
#
|
|
1311
1377
|
#
|
|
@@ -1417,7 +1483,15 @@ module Aws::ARCRegionswitch
|
|
|
1417
1483
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.route53_health_check_config.record_sets #=> Array
|
|
1418
1484
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.route53_health_check_config.record_sets[0].record_set_identifier #=> String
|
|
1419
1485
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.route53_health_check_config.record_sets[0].region #=> String
|
|
1420
|
-
# resp.plan.workflows[0].steps[0].
|
|
1486
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.timeout_minutes #=> Integer
|
|
1487
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.cross_account_role #=> String
|
|
1488
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.external_id #=> String
|
|
1489
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.behavior #=> String, one of "switchoverOnly", "failover"
|
|
1490
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.ungraceful.ungraceful #=> String, one of "failover"
|
|
1491
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.global_cluster_identifier #=> String
|
|
1492
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.database_cluster_arns #=> Array
|
|
1493
|
+
# 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"
|
|
1421
1495
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate"
|
|
1422
1496
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
1423
1497
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -1436,6 +1510,9 @@ module Aws::ARCRegionswitch
|
|
|
1436
1510
|
# resp.plan.triggers[0].conditions[0].associated_alarm_name #=> String
|
|
1437
1511
|
# resp.plan.triggers[0].conditions[0].condition #=> String, one of "red", "green"
|
|
1438
1512
|
# resp.plan.triggers[0].min_delay_minutes_between_executions #=> Integer
|
|
1513
|
+
# resp.plan.report_configuration.report_output #=> Array
|
|
1514
|
+
# resp.plan.report_configuration.report_output[0].s3_configuration.bucket_path #=> String
|
|
1515
|
+
# resp.plan.report_configuration.report_output[0].s3_configuration.bucket_owner #=> String
|
|
1439
1516
|
# resp.plan.name #=> String
|
|
1440
1517
|
# resp.plan.regions #=> Array
|
|
1441
1518
|
# resp.plan.regions[0] #=> String
|
|
@@ -1497,9 +1574,9 @@ module Aws::ARCRegionswitch
|
|
|
1497
1574
|
#
|
|
1498
1575
|
# resp.items #=> Array
|
|
1499
1576
|
# resp.items[0].timestamp #=> Time
|
|
1500
|
-
# 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"
|
|
1577
|
+
# 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"
|
|
1501
1578
|
# resp.items[0].step_name #=> String
|
|
1502
|
-
# resp.items[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck"
|
|
1579
|
+
# resp.items[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb"
|
|
1503
1580
|
# resp.items[0].resources #=> Array
|
|
1504
1581
|
# resp.items[0].resources[0] #=> String
|
|
1505
1582
|
# resp.items[0].error #=> String
|
|
@@ -1731,6 +1808,7 @@ module Aws::ARCRegionswitch
|
|
|
1731
1808
|
# resp.health_checks[0].hosted_zone_id #=> String
|
|
1732
1809
|
# resp.health_checks[0].record_name #=> String
|
|
1733
1810
|
# resp.health_checks[0].health_check_id #=> String
|
|
1811
|
+
# resp.health_checks[0].status #=> String, one of "healthy", "unhealthy", "unknown"
|
|
1734
1812
|
# resp.health_checks[0].region #=> String
|
|
1735
1813
|
# resp.next_token #=> String
|
|
1736
1814
|
#
|
|
@@ -1743,6 +1821,95 @@ module Aws::ARCRegionswitch
|
|
|
1743
1821
|
req.send_request(options)
|
|
1744
1822
|
end
|
|
1745
1823
|
|
|
1824
|
+
# List the Amazon Route 53 health checks in a specific Amazon Web
|
|
1825
|
+
# Services Region.
|
|
1826
|
+
#
|
|
1827
|
+
# @option params [required, String] :arn
|
|
1828
|
+
# The Amazon Resource Name (ARN) of the Arc Region Switch Plan.
|
|
1829
|
+
#
|
|
1830
|
+
# @option params [String] :hosted_zone_id
|
|
1831
|
+
# The hosted zone ID for the health checks.
|
|
1832
|
+
#
|
|
1833
|
+
# @option params [String] :record_name
|
|
1834
|
+
# The record name for the health checks.
|
|
1835
|
+
#
|
|
1836
|
+
# @option params [Integer] :max_results
|
|
1837
|
+
# The number of objects that you want to return with this call.
|
|
1838
|
+
#
|
|
1839
|
+
# @option params [String] :next_token
|
|
1840
|
+
# Specifies that you want to receive the next page of results. Valid
|
|
1841
|
+
# only if you received a `nextToken` response in the previous request.
|
|
1842
|
+
# If you did, it indicates that more output is available. Set this
|
|
1843
|
+
# parameter to the value provided by the previous call's `nextToken`
|
|
1844
|
+
# response to request the next page of results.
|
|
1845
|
+
#
|
|
1846
|
+
# @return [Types::ListRoute53HealthChecksInRegionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1847
|
+
#
|
|
1848
|
+
# * {Types::ListRoute53HealthChecksInRegionResponse#health_checks #health_checks} => Array<Types::Route53HealthCheck>
|
|
1849
|
+
# * {Types::ListRoute53HealthChecksInRegionResponse#next_token #next_token} => String
|
|
1850
|
+
#
|
|
1851
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1852
|
+
#
|
|
1853
|
+
#
|
|
1854
|
+
# @example Example: Example ListRoute53HealthChecksInRegion
|
|
1855
|
+
#
|
|
1856
|
+
# resp = client.list_route_53_health_checks_in_region({
|
|
1857
|
+
# arn: "arn:aws:arc-region-switch::123456789012:plan/example:000000",
|
|
1858
|
+
# hosted_zone_id: "Z0123456789ABCDEFGHI",
|
|
1859
|
+
# max_results: 10,
|
|
1860
|
+
# next_token: "eyJNYXJrZXIiOiBudWxsLCAiYm90b190cnVuY2F0ZV9hbW91bnQiOiAxfQ",
|
|
1861
|
+
# record_name: "my.record.name",
|
|
1862
|
+
# })
|
|
1863
|
+
#
|
|
1864
|
+
# resp.to_h outputs the following:
|
|
1865
|
+
# {
|
|
1866
|
+
# health_checks: [
|
|
1867
|
+
# {
|
|
1868
|
+
# health_check_id: "01234567-8901-abcd-efgh-ijklmnop0123",
|
|
1869
|
+
# hosted_zone_id: "Z0123456789ABCDEFGHI",
|
|
1870
|
+
# record_name: "my.record.name",
|
|
1871
|
+
# region: "us-west-2",
|
|
1872
|
+
# status: "healthy",
|
|
1873
|
+
# },
|
|
1874
|
+
# {
|
|
1875
|
+
# health_check_id: "zyxwvuts-rqpo-9876-5432-10nmlkji0123",
|
|
1876
|
+
# hosted_zone_id: "Z0123456789ABCDEFGHI",
|
|
1877
|
+
# record_name: "my.record.name",
|
|
1878
|
+
# region: "us-east-1",
|
|
1879
|
+
# status: "healthy",
|
|
1880
|
+
# },
|
|
1881
|
+
# ],
|
|
1882
|
+
# }
|
|
1883
|
+
#
|
|
1884
|
+
# @example Request syntax with placeholder values
|
|
1885
|
+
#
|
|
1886
|
+
# resp = client.list_route_53_health_checks_in_region({
|
|
1887
|
+
# arn: "PlanArn", # required
|
|
1888
|
+
# hosted_zone_id: "Route53HostedZoneId",
|
|
1889
|
+
# record_name: "Route53RecordName",
|
|
1890
|
+
# max_results: 1,
|
|
1891
|
+
# next_token: "NextToken",
|
|
1892
|
+
# })
|
|
1893
|
+
#
|
|
1894
|
+
# @example Response structure
|
|
1895
|
+
#
|
|
1896
|
+
# resp.health_checks #=> Array
|
|
1897
|
+
# resp.health_checks[0].hosted_zone_id #=> String
|
|
1898
|
+
# resp.health_checks[0].record_name #=> String
|
|
1899
|
+
# resp.health_checks[0].health_check_id #=> String
|
|
1900
|
+
# resp.health_checks[0].status #=> String, one of "healthy", "unhealthy", "unknown"
|
|
1901
|
+
# resp.health_checks[0].region #=> String
|
|
1902
|
+
# resp.next_token #=> String
|
|
1903
|
+
#
|
|
1904
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/ListRoute53HealthChecksInRegion AWS API Documentation
|
|
1905
|
+
#
|
|
1906
|
+
# @overload list_route_53_health_checks_in_region(params = {})
|
|
1907
|
+
# @param [Hash] params ({})
|
|
1908
|
+
def list_route_53_health_checks_in_region(params = {}, options = {})
|
|
1909
|
+
req = build_request(:list_route_53_health_checks_in_region, params)
|
|
1910
|
+
req.send_request(options)
|
|
1911
|
+
end
|
|
1912
|
+
|
|
1746
1913
|
# Lists the tags attached to a Region switch resource.
|
|
1747
1914
|
#
|
|
1748
1915
|
# @option params [required, String] :arn
|
|
@@ -1927,6 +2094,9 @@ module Aws::ARCRegionswitch
|
|
|
1927
2094
|
# The updated conditions that can automatically trigger the execution of
|
|
1928
2095
|
# the plan.
|
|
1929
2096
|
#
|
|
2097
|
+
# @option params [Types::ReportConfiguration] :report_configuration
|
|
2098
|
+
# The updated report configuration for the plan.
|
|
2099
|
+
#
|
|
1930
2100
|
# @return [Types::UpdatePlanResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1931
2101
|
#
|
|
1932
2102
|
# * {Types::UpdatePlanResponse#plan #plan} => Types::Plan
|
|
@@ -2070,8 +2240,19 @@ module Aws::ARCRegionswitch
|
|
|
2070
2240
|
# },
|
|
2071
2241
|
# ],
|
|
2072
2242
|
# },
|
|
2243
|
+
# document_db_config: {
|
|
2244
|
+
# timeout_minutes: 1,
|
|
2245
|
+
# cross_account_role: "IamRoleArn",
|
|
2246
|
+
# external_id: "String",
|
|
2247
|
+
# behavior: "switchoverOnly", # required, accepts switchoverOnly, failover
|
|
2248
|
+
# ungraceful: {
|
|
2249
|
+
# ungraceful: "failover", # accepts failover
|
|
2250
|
+
# },
|
|
2251
|
+
# global_cluster_identifier: "DocumentDbGlobalClusterIdentifier", # required
|
|
2252
|
+
# database_cluster_arns: ["DocumentDbClusterArn"], # required
|
|
2253
|
+
# },
|
|
2073
2254
|
# },
|
|
2074
|
-
# execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck
|
|
2255
|
+
# execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb
|
|
2075
2256
|
# },
|
|
2076
2257
|
# ],
|
|
2077
2258
|
# workflow_target_action: "activate", # required, accepts activate, deactivate
|
|
@@ -2103,6 +2284,16 @@ module Aws::ARCRegionswitch
|
|
|
2103
2284
|
# min_delay_minutes_between_executions: 1, # required
|
|
2104
2285
|
# },
|
|
2105
2286
|
# ],
|
|
2287
|
+
# report_configuration: {
|
|
2288
|
+
# report_output: [
|
|
2289
|
+
# {
|
|
2290
|
+
# s3_configuration: {
|
|
2291
|
+
# bucket_path: "S3ReportOutputConfigurationBucketPathString",
|
|
2292
|
+
# bucket_owner: "AccountId",
|
|
2293
|
+
# },
|
|
2294
|
+
# },
|
|
2295
|
+
# ],
|
|
2296
|
+
# },
|
|
2106
2297
|
# })
|
|
2107
2298
|
#
|
|
2108
2299
|
# @example Response structure
|
|
@@ -2183,7 +2374,15 @@ module Aws::ARCRegionswitch
|
|
|
2183
2374
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.route53_health_check_config.record_sets #=> Array
|
|
2184
2375
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.route53_health_check_config.record_sets[0].record_set_identifier #=> String
|
|
2185
2376
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.route53_health_check_config.record_sets[0].region #=> String
|
|
2186
|
-
# resp.plan.workflows[0].steps[0].
|
|
2377
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.timeout_minutes #=> Integer
|
|
2378
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.cross_account_role #=> String
|
|
2379
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.external_id #=> String
|
|
2380
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.behavior #=> String, one of "switchoverOnly", "failover"
|
|
2381
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.ungraceful.ungraceful #=> String, one of "failover"
|
|
2382
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.global_cluster_identifier #=> String
|
|
2383
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.database_cluster_arns #=> Array
|
|
2384
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.document_db_config.database_cluster_arns[0] #=> String
|
|
2385
|
+
# resp.plan.workflows[0].steps[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb"
|
|
2187
2386
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate"
|
|
2188
2387
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
2189
2388
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -2202,6 +2401,9 @@ module Aws::ARCRegionswitch
|
|
|
2202
2401
|
# resp.plan.triggers[0].conditions[0].associated_alarm_name #=> String
|
|
2203
2402
|
# resp.plan.triggers[0].conditions[0].condition #=> String, one of "red", "green"
|
|
2204
2403
|
# resp.plan.triggers[0].min_delay_minutes_between_executions #=> Integer
|
|
2404
|
+
# resp.plan.report_configuration.report_output #=> Array
|
|
2405
|
+
# resp.plan.report_configuration.report_output[0].s3_configuration.bucket_path #=> String
|
|
2406
|
+
# resp.plan.report_configuration.report_output[0].s3_configuration.bucket_owner #=> String
|
|
2205
2407
|
# resp.plan.name #=> String
|
|
2206
2408
|
# resp.plan.regions #=> Array
|
|
2207
2409
|
# resp.plan.regions[0] #=> String
|
|
@@ -2318,7 +2520,7 @@ module Aws::ARCRegionswitch
|
|
|
2318
2520
|
tracer: tracer
|
|
2319
2521
|
)
|
|
2320
2522
|
context[:gem_name] = 'aws-sdk-arcregionswitch'
|
|
2321
|
-
context[:gem_version] = '1.
|
|
2523
|
+
context[:gem_version] = '1.7.0'
|
|
2322
2524
|
Seahorse::Client::Request.new(handlers, context)
|
|
2323
2525
|
end
|
|
2324
2526
|
|