aws-sdk-arcregionswitch 1.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b923b3453a4b595a065c3681c5b056df13d9f77cdfdd64c910c569e1e5539e64
4
- data.tar.gz: 2b151c0bf47e6f133fcce2fdb2be74f734ce2eaade919aea80472a734dc6bee8
3
+ metadata.gz: acbdc5fd5764ef4b2094fdaf4b2dd94b44dde88a584ae867ead50305a7060c9b
4
+ data.tar.gz: daee6cd1dcf6f17f12faf4f8ca28f2faeac9b7997c570e5f7747ea86516046f1
5
5
  SHA512:
6
- metadata.gz: 7b2ebf0cfbc87181d62855bf50194fb9f05e923cb97a1c02d2a6a7e8d2e7a7e83c818e96ba89b7589750dc829faa0e9585d3c6c02c56906f2248bea07a3ade45
7
- data.tar.gz: 192e72a3dc6282429542c94209338faa6d7379d9f504d83d126fbe24c9347076cb3ddd9a4f34ca9e76dee5e304180fdf2a9815f6b86203d8d1b708b2aa0162e9
6
+ metadata.gz: 5b2785c5c7a2bf14778e5027e54f7d7dd6d8ef38411f389b5d5382bd9867ca5035665969264eebcf1b5b1588af32439abdf47cf54a377ff04ff615ff11ac7583
7
+ data.tar.gz: 1ae8f57b5b6e0fe08778afbbaf0a1eb05560d5dd826734490a694ea6667873745cb93a0b5b5b33aaa82e3b3a38eb4ae5cfea1b69e5b9ec40925b544cfaaa2291
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.6.0 (2025-12-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0
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].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck"
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].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck"
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&lt;Types::StepState&gt;
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&lt;Types::GeneratedReport&gt;
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].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck"
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].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck"
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
@@ -2017,6 +2094,9 @@ module Aws::ARCRegionswitch
2017
2094
  # The updated conditions that can automatically trigger the execution of
2018
2095
  # the plan.
2019
2096
  #
2097
+ # @option params [Types::ReportConfiguration] :report_configuration
2098
+ # The updated report configuration for the plan.
2099
+ #
2020
2100
  # @return [Types::UpdatePlanResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2021
2101
  #
2022
2102
  # * {Types::UpdatePlanResponse#plan #plan} => Types::Plan
@@ -2160,8 +2240,19 @@ module Aws::ARCRegionswitch
2160
2240
  # },
2161
2241
  # ],
2162
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
+ # },
2163
2254
  # },
2164
- # 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
2165
2256
  # },
2166
2257
  # ],
2167
2258
  # workflow_target_action: "activate", # required, accepts activate, deactivate
@@ -2193,6 +2284,16 @@ module Aws::ARCRegionswitch
2193
2284
  # min_delay_minutes_between_executions: 1, # required
2194
2285
  # },
2195
2286
  # ],
2287
+ # report_configuration: {
2288
+ # report_output: [
2289
+ # {
2290
+ # s3_configuration: {
2291
+ # bucket_path: "S3ReportOutputConfigurationBucketPathString",
2292
+ # bucket_owner: "AccountId",
2293
+ # },
2294
+ # },
2295
+ # ],
2296
+ # },
2196
2297
  # })
2197
2298
  #
2198
2299
  # @example Response structure
@@ -2273,7 +2374,15 @@ module Aws::ARCRegionswitch
2273
2374
  # resp.plan.workflows[0].steps[0].execution_block_configuration.route53_health_check_config.record_sets #=> Array
2274
2375
  # resp.plan.workflows[0].steps[0].execution_block_configuration.route53_health_check_config.record_sets[0].record_set_identifier #=> String
2275
2376
  # resp.plan.workflows[0].steps[0].execution_block_configuration.route53_health_check_config.record_sets[0].region #=> String
2276
- # resp.plan.workflows[0].steps[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck"
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"
2277
2386
  # resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate"
2278
2387
  # resp.plan.workflows[0].workflow_target_region #=> String
2279
2388
  # resp.plan.workflows[0].workflow_description #=> String
@@ -2292,6 +2401,9 @@ module Aws::ARCRegionswitch
2292
2401
  # resp.plan.triggers[0].conditions[0].associated_alarm_name #=> String
2293
2402
  # resp.plan.triggers[0].conditions[0].condition #=> String, one of "red", "green"
2294
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
2295
2407
  # resp.plan.name #=> String
2296
2408
  # resp.plan.regions #=> Array
2297
2409
  # resp.plan.regions[0] #=> String
@@ -2408,7 +2520,7 @@ module Aws::ARCRegionswitch
2408
2520
  tracer: tracer
2409
2521
  )
2410
2522
  context[:gem_name] = 'aws-sdk-arcregionswitch'
2411
- context[:gem_version] = '1.6.0'
2523
+ context[:gem_version] = '1.7.0'
2412
2524
  Seahorse::Client::Request.new(handlers, context)
2413
2525
  end
2414
2526
 
@@ -45,6 +45,14 @@ module Aws::ARCRegionswitch
45
45
  CustomActionLambdaConfigurationTimeoutMinutesInteger = Shapes::IntegerShape.new(name: 'CustomActionLambdaConfigurationTimeoutMinutesInteger')
46
46
  DeletePlanRequest = Shapes::StructureShape.new(name: 'DeletePlanRequest')
47
47
  DeletePlanResponse = Shapes::StructureShape.new(name: 'DeletePlanResponse')
48
+ DocumentDbClusterArn = Shapes::StringShape.new(name: 'DocumentDbClusterArn')
49
+ DocumentDbClusterArns = Shapes::ListShape.new(name: 'DocumentDbClusterArns')
50
+ DocumentDbConfiguration = Shapes::StructureShape.new(name: 'DocumentDbConfiguration')
51
+ DocumentDbConfigurationTimeoutMinutesInteger = Shapes::IntegerShape.new(name: 'DocumentDbConfigurationTimeoutMinutesInteger')
52
+ DocumentDbDefaultBehavior = Shapes::StringShape.new(name: 'DocumentDbDefaultBehavior')
53
+ DocumentDbGlobalClusterIdentifier = Shapes::StringShape.new(name: 'DocumentDbGlobalClusterIdentifier')
54
+ DocumentDbUngraceful = Shapes::StructureShape.new(name: 'DocumentDbUngraceful')
55
+ DocumentDbUngracefulBehavior = Shapes::StringShape.new(name: 'DocumentDbUngracefulBehavior')
48
56
  Duration = Shapes::StringShape.new(name: 'Duration')
49
57
  Ec2AsgCapacityIncreaseConfiguration = Shapes::StructureShape.new(name: 'Ec2AsgCapacityIncreaseConfiguration')
50
58
  Ec2AsgCapacityIncreaseConfigurationTimeoutMinutesInteger = Shapes::IntegerShape.new(name: 'Ec2AsgCapacityIncreaseConfigurationTimeoutMinutesInteger')
@@ -80,7 +88,11 @@ module Aws::ARCRegionswitch
80
88
  ExecutionId = Shapes::StringShape.new(name: 'ExecutionId')
81
89
  ExecutionMode = Shapes::StringShape.new(name: 'ExecutionMode')
82
90
  ExecutionState = Shapes::StringShape.new(name: 'ExecutionState')
91
+ FailedReportErrorCode = Shapes::StringShape.new(name: 'FailedReportErrorCode')
92
+ FailedReportOutput = Shapes::StructureShape.new(name: 'FailedReportOutput')
83
93
  Float = Shapes::FloatShape.new(name: 'Float')
94
+ GeneratedReport = Shapes::StructureShape.new(name: 'GeneratedReport')
95
+ GeneratedReportDetails = Shapes::ListShape.new(name: 'GeneratedReportDetails')
84
96
  GetPlanEvaluationStatusRequest = Shapes::StructureShape.new(name: 'GetPlanEvaluationStatusRequest')
85
97
  GetPlanEvaluationStatusResponse = Shapes::StructureShape.new(name: 'GetPlanEvaluationStatusResponse')
86
98
  GetPlanExecutionRequest = Shapes::StructureShape.new(name: 'GetPlanExecutionRequest')
@@ -146,6 +158,10 @@ module Aws::ARCRegionswitch
146
158
  RegionSwitchPlanConfiguration = Shapes::StructureShape.new(name: 'RegionSwitchPlanConfiguration')
147
159
  RegionToRunIn = Shapes::StringShape.new(name: 'RegionToRunIn')
148
160
  RegionalScalingResource = Shapes::MapShape.new(name: 'RegionalScalingResource')
161
+ ReportConfiguration = Shapes::StructureShape.new(name: 'ReportConfiguration')
162
+ ReportOutput = Shapes::UnionShape.new(name: 'ReportOutput')
163
+ ReportOutputConfiguration = Shapes::UnionShape.new(name: 'ReportOutputConfiguration')
164
+ ReportOutputList = Shapes::ListShape.new(name: 'ReportOutputList')
149
165
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
150
166
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
151
167
  ResourceWarning = Shapes::StructureShape.new(name: 'ResourceWarning')
@@ -165,6 +181,9 @@ module Aws::ARCRegionswitch
165
181
  Route53ResourceRecordSetList = Shapes::ListShape.new(name: 'Route53ResourceRecordSetList')
166
182
  RoutingControlArn = Shapes::StringShape.new(name: 'RoutingControlArn')
167
183
  RoutingControlStateChange = Shapes::StringShape.new(name: 'RoutingControlStateChange')
184
+ S3ReportOutput = Shapes::StructureShape.new(name: 'S3ReportOutput')
185
+ S3ReportOutputConfiguration = Shapes::StructureShape.new(name: 'S3ReportOutputConfiguration')
186
+ S3ReportOutputConfigurationBucketPathString = Shapes::StringShape.new(name: 'S3ReportOutputConfigurationBucketPathString')
168
187
  Service = Shapes::StructureShape.new(name: 'Service')
169
188
  ServiceList = Shapes::ListShape.new(name: 'ServiceList')
170
189
  StartPlanExecutionRequest = Shapes::StructureShape.new(name: 'StartPlanExecutionRequest')
@@ -287,6 +306,7 @@ module Aws::ARCRegionswitch
287
306
  CreatePlanRequest.add_member(:recovery_time_objective_minutes, Shapes::ShapeRef.new(shape: CreatePlanRequestRecoveryTimeObjectiveMinutesInteger, location_name: "recoveryTimeObjectiveMinutes"))
288
307
  CreatePlanRequest.add_member(:associated_alarms, Shapes::ShapeRef.new(shape: AssociatedAlarmMap, location_name: "associatedAlarms"))
289
308
  CreatePlanRequest.add_member(:triggers, Shapes::ShapeRef.new(shape: TriggerList, location_name: "triggers"))
309
+ CreatePlanRequest.add_member(:report_configuration, Shapes::ShapeRef.new(shape: ReportConfiguration, location_name: "reportConfiguration"))
290
310
  CreatePlanRequest.add_member(:name, Shapes::ShapeRef.new(shape: PlanName, required: true, location_name: "name"))
291
311
  CreatePlanRequest.add_member(:regions, Shapes::ShapeRef.new(shape: RegionList, required: true, location_name: "regions"))
292
312
  CreatePlanRequest.add_member(:recovery_approach, Shapes::ShapeRef.new(shape: RecoveryApproach, required: true, location_name: "recoveryApproach"))
@@ -309,6 +329,20 @@ module Aws::ARCRegionswitch
309
329
 
310
330
  DeletePlanResponse.struct_class = Types::DeletePlanResponse
311
331
 
332
+ DocumentDbClusterArns.member = Shapes::ShapeRef.new(shape: DocumentDbClusterArn)
333
+
334
+ DocumentDbConfiguration.add_member(:timeout_minutes, Shapes::ShapeRef.new(shape: DocumentDbConfigurationTimeoutMinutesInteger, location_name: "timeoutMinutes"))
335
+ DocumentDbConfiguration.add_member(:cross_account_role, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "crossAccountRole"))
336
+ DocumentDbConfiguration.add_member(:external_id, Shapes::ShapeRef.new(shape: String, location_name: "externalId"))
337
+ DocumentDbConfiguration.add_member(:behavior, Shapes::ShapeRef.new(shape: DocumentDbDefaultBehavior, required: true, location_name: "behavior"))
338
+ DocumentDbConfiguration.add_member(:ungraceful, Shapes::ShapeRef.new(shape: DocumentDbUngraceful, location_name: "ungraceful"))
339
+ DocumentDbConfiguration.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: DocumentDbGlobalClusterIdentifier, required: true, location_name: "globalClusterIdentifier"))
340
+ DocumentDbConfiguration.add_member(:database_cluster_arns, Shapes::ShapeRef.new(shape: DocumentDbClusterArns, required: true, location_name: "databaseClusterArns"))
341
+ DocumentDbConfiguration.struct_class = Types::DocumentDbConfiguration
342
+
343
+ DocumentDbUngraceful.add_member(:ungraceful, Shapes::ShapeRef.new(shape: DocumentDbUngracefulBehavior, location_name: "ungraceful"))
344
+ DocumentDbUngraceful.struct_class = Types::DocumentDbUngraceful
345
+
312
346
  Ec2AsgCapacityIncreaseConfiguration.add_member(:timeout_minutes, Shapes::ShapeRef.new(shape: Ec2AsgCapacityIncreaseConfigurationTimeoutMinutesInteger, location_name: "timeoutMinutes"))
313
347
  Ec2AsgCapacityIncreaseConfiguration.add_member(:asgs, Shapes::ShapeRef.new(shape: AsgList, required: true, location_name: "asgs"))
314
348
  Ec2AsgCapacityIncreaseConfiguration.add_member(:ungraceful, Shapes::ShapeRef.new(shape: Ec2Ungraceful, location_name: "ungraceful"))
@@ -362,6 +396,7 @@ module Aws::ARCRegionswitch
362
396
  ExecutionBlockConfiguration.add_member(:ecs_capacity_increase_config, Shapes::ShapeRef.new(shape: EcsCapacityIncreaseConfiguration, location_name: "ecsCapacityIncreaseConfig"))
363
397
  ExecutionBlockConfiguration.add_member(:eks_resource_scaling_config, Shapes::ShapeRef.new(shape: EksResourceScalingConfiguration, location_name: "eksResourceScalingConfig"))
364
398
  ExecutionBlockConfiguration.add_member(:route53_health_check_config, Shapes::ShapeRef.new(shape: Route53HealthCheckConfiguration, location_name: "route53HealthCheckConfig"))
399
+ ExecutionBlockConfiguration.add_member(:document_db_config, Shapes::ShapeRef.new(shape: DocumentDbConfiguration, location_name: "documentDbConfig"))
365
400
  ExecutionBlockConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
366
401
  ExecutionBlockConfiguration.add_member_subclass(:custom_action_lambda_config, Types::ExecutionBlockConfiguration::CustomActionLambdaConfig)
367
402
  ExecutionBlockConfiguration.add_member_subclass(:ec2_asg_capacity_increase_config, Types::ExecutionBlockConfiguration::Ec2AsgCapacityIncreaseConfig)
@@ -373,6 +408,7 @@ module Aws::ARCRegionswitch
373
408
  ExecutionBlockConfiguration.add_member_subclass(:ecs_capacity_increase_config, Types::ExecutionBlockConfiguration::EcsCapacityIncreaseConfig)
374
409
  ExecutionBlockConfiguration.add_member_subclass(:eks_resource_scaling_config, Types::ExecutionBlockConfiguration::EksResourceScalingConfig)
375
410
  ExecutionBlockConfiguration.add_member_subclass(:route53_health_check_config, Types::ExecutionBlockConfiguration::Route53HealthCheckConfig)
411
+ ExecutionBlockConfiguration.add_member_subclass(:document_db_config, Types::ExecutionBlockConfiguration::DocumentDbConfig)
376
412
  ExecutionBlockConfiguration.add_member_subclass(:unknown, Types::ExecutionBlockConfiguration::Unknown)
377
413
  ExecutionBlockConfiguration.struct_class = Types::ExecutionBlockConfiguration
378
414
 
@@ -389,6 +425,16 @@ module Aws::ARCRegionswitch
389
425
 
390
426
  ExecutionEventList.member = Shapes::ShapeRef.new(shape: ExecutionEvent)
391
427
 
428
+ FailedReportOutput.add_member(:error_code, Shapes::ShapeRef.new(shape: FailedReportErrorCode, location_name: "errorCode"))
429
+ FailedReportOutput.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "errorMessage"))
430
+ FailedReportOutput.struct_class = Types::FailedReportOutput
431
+
432
+ GeneratedReport.add_member(:report_generation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "reportGenerationTime"))
433
+ GeneratedReport.add_member(:report_output, Shapes::ShapeRef.new(shape: ReportOutput, location_name: "reportOutput"))
434
+ GeneratedReport.struct_class = Types::GeneratedReport
435
+
436
+ GeneratedReportDetails.member = Shapes::ShapeRef.new(shape: GeneratedReport)
437
+
392
438
  GetPlanEvaluationStatusRequest.add_member(:plan_arn, Shapes::ShapeRef.new(shape: PlanArn, required: true, location_name: "planArn"))
393
439
  GetPlanEvaluationStatusRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
394
440
  GetPlanEvaluationStatusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
@@ -423,6 +469,7 @@ module Aws::ARCRegionswitch
423
469
  GetPlanExecutionResponse.add_member(:step_states, Shapes::ShapeRef.new(shape: StepStates, location_name: "stepStates"))
424
470
  GetPlanExecutionResponse.add_member(:plan, Shapes::ShapeRef.new(shape: Plan, location_name: "plan"))
425
471
  GetPlanExecutionResponse.add_member(:actual_recovery_time, Shapes::ShapeRef.new(shape: Duration, location_name: "actualRecoveryTime"))
472
+ GetPlanExecutionResponse.add_member(:generated_report_details, Shapes::ShapeRef.new(shape: GeneratedReportDetails, location_name: "generatedReportDetails"))
426
473
  GetPlanExecutionResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
427
474
  GetPlanExecutionResponse.struct_class = Types::GetPlanExecutionResponse
428
475
 
@@ -562,6 +609,7 @@ module Aws::ARCRegionswitch
562
609
  Plan.add_member(:recovery_time_objective_minutes, Shapes::ShapeRef.new(shape: PlanRecoveryTimeObjectiveMinutesInteger, location_name: "recoveryTimeObjectiveMinutes"))
563
610
  Plan.add_member(:associated_alarms, Shapes::ShapeRef.new(shape: AssociatedAlarmMap, location_name: "associatedAlarms"))
564
611
  Plan.add_member(:triggers, Shapes::ShapeRef.new(shape: TriggerList, location_name: "triggers"))
612
+ Plan.add_member(:report_configuration, Shapes::ShapeRef.new(shape: ReportConfiguration, location_name: "reportConfiguration"))
565
613
  Plan.add_member(:name, Shapes::ShapeRef.new(shape: PlanName, required: true, location_name: "name"))
566
614
  Plan.add_member(:regions, Shapes::ShapeRef.new(shape: RegionList, required: true, location_name: "regions"))
567
615
  Plan.add_member(:recovery_approach, Shapes::ShapeRef.new(shape: RecoveryApproach, required: true, location_name: "recoveryApproach"))
@@ -588,6 +636,25 @@ module Aws::ARCRegionswitch
588
636
  RegionalScalingResource.key = Shapes::ShapeRef.new(shape: Region)
589
637
  RegionalScalingResource.value = Shapes::ShapeRef.new(shape: KubernetesScalingResource)
590
638
 
639
+ ReportConfiguration.add_member(:report_output, Shapes::ShapeRef.new(shape: ReportOutputList, location_name: "reportOutput"))
640
+ ReportConfiguration.struct_class = Types::ReportConfiguration
641
+
642
+ ReportOutput.add_member(:s3_report_output, Shapes::ShapeRef.new(shape: S3ReportOutput, location_name: "s3ReportOutput"))
643
+ ReportOutput.add_member(:failed_report_output, Shapes::ShapeRef.new(shape: FailedReportOutput, location_name: "failedReportOutput"))
644
+ ReportOutput.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
645
+ ReportOutput.add_member_subclass(:s3_report_output, Types::ReportOutput::S3ReportOutput)
646
+ ReportOutput.add_member_subclass(:failed_report_output, Types::ReportOutput::FailedReportOutput)
647
+ ReportOutput.add_member_subclass(:unknown, Types::ReportOutput::Unknown)
648
+ ReportOutput.struct_class = Types::ReportOutput
649
+
650
+ ReportOutputConfiguration.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3ReportOutputConfiguration, location_name: "s3Configuration"))
651
+ ReportOutputConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
652
+ ReportOutputConfiguration.add_member_subclass(:s3_configuration, Types::ReportOutputConfiguration::S3Configuration)
653
+ ReportOutputConfiguration.add_member_subclass(:unknown, Types::ReportOutputConfiguration::Unknown)
654
+ ReportOutputConfiguration.struct_class = Types::ReportOutputConfiguration
655
+
656
+ ReportOutputList.member = Shapes::ShapeRef.new(shape: ReportOutputConfiguration)
657
+
591
658
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
592
659
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
593
660
 
@@ -625,6 +692,13 @@ module Aws::ARCRegionswitch
625
692
 
626
693
  Route53ResourceRecordSetList.member = Shapes::ShapeRef.new(shape: Route53ResourceRecordSet)
627
694
 
695
+ S3ReportOutput.add_member(:s3_object_key, Shapes::ShapeRef.new(shape: String, location_name: "s3ObjectKey"))
696
+ S3ReportOutput.struct_class = Types::S3ReportOutput
697
+
698
+ S3ReportOutputConfiguration.add_member(:bucket_path, Shapes::ShapeRef.new(shape: S3ReportOutputConfigurationBucketPathString, location_name: "bucketPath"))
699
+ S3ReportOutputConfiguration.add_member(:bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "bucketOwner"))
700
+ S3ReportOutputConfiguration.struct_class = Types::S3ReportOutputConfiguration
701
+
628
702
  Service.add_member(:cross_account_role, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "crossAccountRole"))
629
703
  Service.add_member(:external_id, Shapes::ShapeRef.new(shape: String, location_name: "externalId"))
630
704
  Service.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: EcsClusterArn, location_name: "clusterArn"))
@@ -721,6 +795,7 @@ module Aws::ARCRegionswitch
721
795
  UpdatePlanRequest.add_member(:recovery_time_objective_minutes, Shapes::ShapeRef.new(shape: UpdatePlanRequestRecoveryTimeObjectiveMinutesInteger, location_name: "recoveryTimeObjectiveMinutes"))
722
796
  UpdatePlanRequest.add_member(:associated_alarms, Shapes::ShapeRef.new(shape: AssociatedAlarmMap, location_name: "associatedAlarms"))
723
797
  UpdatePlanRequest.add_member(:triggers, Shapes::ShapeRef.new(shape: TriggerList, location_name: "triggers"))
798
+ UpdatePlanRequest.add_member(:report_configuration, Shapes::ShapeRef.new(shape: ReportConfiguration, location_name: "reportConfiguration"))
724
799
  UpdatePlanRequest.struct_class = Types::UpdatePlanRequest
725
800
 
726
801
  UpdatePlanResponse.add_member(:plan, Shapes::ShapeRef.new(shape: Plan, location_name: "plan"))
@@ -369,6 +369,13 @@ module Aws::ARCRegionswitch
369
369
  # The triggers associated with a Region switch plan.
370
370
  # @return [Array<Types::Trigger>]
371
371
  #
372
+ # @!attribute [rw] report_configuration
373
+ # Configuration for automatic report generation for plan executions.
374
+ # When configured, Region switch automatically generates a report
375
+ # after each plan execution that includes execution events, plan
376
+ # configuration, and CloudWatch alarm states.
377
+ # @return [Types::ReportConfiguration]
378
+ #
372
379
  # @!attribute [rw] name
373
380
  # The name of a Region switch plan.
374
381
  # @return [String]
@@ -402,6 +409,7 @@ module Aws::ARCRegionswitch
402
409
  :recovery_time_objective_minutes,
403
410
  :associated_alarms,
404
411
  :triggers,
412
+ :report_configuration,
405
413
  :name,
406
414
  :regions,
407
415
  :recovery_approach,
@@ -474,6 +482,68 @@ module Aws::ARCRegionswitch
474
482
  #
475
483
  class DeletePlanResponse < Aws::EmptyStructure; end
476
484
 
485
+ # Configuration for Amazon DocumentDB global clusters used in a Region
486
+ # switch plan.
487
+ #
488
+ # @!attribute [rw] timeout_minutes
489
+ # The timeout value specified for the configuration.
490
+ # @return [Integer]
491
+ #
492
+ # @!attribute [rw] cross_account_role
493
+ # The cross account role for the configuration.
494
+ # @return [String]
495
+ #
496
+ # @!attribute [rw] external_id
497
+ # The external ID (secret key) for the configuration.
498
+ # @return [String]
499
+ #
500
+ # @!attribute [rw] behavior
501
+ # The behavior for a global cluster, that is, only allow switchover or
502
+ # also allow failover.
503
+ # @return [String]
504
+ #
505
+ # @!attribute [rw] ungraceful
506
+ # The settings for ungraceful execution.
507
+ # @return [Types::DocumentDbUngraceful]
508
+ #
509
+ # @!attribute [rw] global_cluster_identifier
510
+ # The global cluster identifier for a DocumentDB global cluster.
511
+ # @return [String]
512
+ #
513
+ # @!attribute [rw] database_cluster_arns
514
+ # The database cluster Amazon Resource Names (ARNs) for a DocumentDB
515
+ # global cluster.
516
+ # @return [Array<String>]
517
+ #
518
+ # @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/DocumentDbConfiguration AWS API Documentation
519
+ #
520
+ class DocumentDbConfiguration < Struct.new(
521
+ :timeout_minutes,
522
+ :cross_account_role,
523
+ :external_id,
524
+ :behavior,
525
+ :ungraceful,
526
+ :global_cluster_identifier,
527
+ :database_cluster_arns)
528
+ SENSITIVE = []
529
+ include Aws::Structure
530
+ end
531
+
532
+ # Configuration for handling failures when performing operations on
533
+ # DocumentDB global clusters.
534
+ #
535
+ # @!attribute [rw] ungraceful
536
+ # The settings for ungraceful execution.
537
+ # @return [String]
538
+ #
539
+ # @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/DocumentDbUngraceful AWS API Documentation
540
+ #
541
+ class DocumentDbUngraceful < Struct.new(
542
+ :ungraceful)
543
+ SENSITIVE = []
544
+ include Aws::Structure
545
+ end
546
+
477
547
  # Configuration for increasing the capacity of Amazon EC2 Auto Scaling
478
548
  # groups during a Region switch.
479
549
  #
@@ -728,6 +798,11 @@ module Aws::ARCRegionswitch
728
798
  # The Amazon Route 53 health check configuration.
729
799
  # @return [Types::Route53HealthCheckConfiguration]
730
800
  #
801
+ # @!attribute [rw] document_db_config
802
+ # Configuration for Amazon DocumentDB global clusters used in a Region
803
+ # switch plan.
804
+ # @return [Types::DocumentDbConfiguration]
805
+ #
731
806
  # @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/ExecutionBlockConfiguration AWS API Documentation
732
807
  #
733
808
  class ExecutionBlockConfiguration < Struct.new(
@@ -741,6 +816,7 @@ module Aws::ARCRegionswitch
741
816
  :ecs_capacity_increase_config,
742
817
  :eks_resource_scaling_config,
743
818
  :route53_health_check_config,
819
+ :document_db_config,
744
820
  :unknown)
745
821
  SENSITIVE = []
746
822
  include Aws::Structure
@@ -756,6 +832,7 @@ module Aws::ARCRegionswitch
756
832
  class EcsCapacityIncreaseConfig < ExecutionBlockConfiguration; end
757
833
  class EksResourceScalingConfig < ExecutionBlockConfiguration; end
758
834
  class Route53HealthCheckConfig < ExecutionBlockConfiguration; end
835
+ class DocumentDbConfig < ExecutionBlockConfiguration; end
759
836
  class Unknown < ExecutionBlockConfiguration; end
760
837
  end
761
838
 
@@ -814,6 +891,44 @@ module Aws::ARCRegionswitch
814
891
  include Aws::Structure
815
892
  end
816
893
 
894
+ # Information about a report generation that failed.
895
+ #
896
+ # @!attribute [rw] error_code
897
+ # The error code for the failed report generation.
898
+ # @return [String]
899
+ #
900
+ # @!attribute [rw] error_message
901
+ # The error message for the failed report generation.
902
+ # @return [String]
903
+ #
904
+ # @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/FailedReportOutput AWS API Documentation
905
+ #
906
+ class FailedReportOutput < Struct.new(
907
+ :error_code,
908
+ :error_message)
909
+ SENSITIVE = []
910
+ include Aws::Structure
911
+ end
912
+
913
+ # Information about a generated execution report.
914
+ #
915
+ # @!attribute [rw] report_generation_time
916
+ # The timestamp when the report was generated.
917
+ # @return [Time]
918
+ #
919
+ # @!attribute [rw] report_output
920
+ # The output location or cause of a failure in report generation.
921
+ # @return [Types::ReportOutput]
922
+ #
923
+ # @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/GeneratedReport AWS API Documentation
924
+ #
925
+ class GeneratedReport < Struct.new(
926
+ :report_generation_time,
927
+ :report_output)
928
+ SENSITIVE = []
929
+ include Aws::Structure
930
+ end
931
+
817
932
  # @!attribute [rw] plan_arn
818
933
  # The Amazon Resource Name (ARN) of the Region switch plan to retrieve
819
934
  # evaluation status for.
@@ -984,6 +1099,11 @@ module Aws::ARCRegionswitch
984
1099
  # that you've specified are healthy again.
985
1100
  # @return [String]
986
1101
  #
1102
+ # @!attribute [rw] generated_report_details
1103
+ # Information about the location of a generated report, or the cause
1104
+ # of its failure.
1105
+ # @return [Array<Types::GeneratedReport>]
1106
+ #
987
1107
  # @!attribute [rw] next_token
988
1108
  # Specifies that you want to receive the next page of results. Valid
989
1109
  # only if you received a `nextToken` response in the previous request.
@@ -1009,6 +1129,7 @@ module Aws::ARCRegionswitch
1009
1129
  :step_states,
1010
1130
  :plan,
1011
1131
  :actual_recovery_time,
1132
+ :generated_report_details,
1012
1133
  :next_token)
1013
1134
  SENSITIVE = []
1014
1135
  include Aws::Structure
@@ -1652,6 +1773,10 @@ module Aws::ARCRegionswitch
1652
1773
  # The triggers for a plan.
1653
1774
  # @return [Array<Types::Trigger>]
1654
1775
  #
1776
+ # @!attribute [rw] report_configuration
1777
+ # The report configuration for a plan.
1778
+ # @return [Types::ReportConfiguration]
1779
+ #
1655
1780
  # @!attribute [rw] name
1656
1781
  # The name for a plan.
1657
1782
  # @return [String]
@@ -1691,6 +1816,7 @@ module Aws::ARCRegionswitch
1691
1816
  :recovery_time_objective_minutes,
1692
1817
  :associated_alarms,
1693
1818
  :triggers,
1819
+ :report_configuration,
1694
1820
  :name,
1695
1821
  :regions,
1696
1822
  :recovery_approach,
@@ -1727,6 +1853,74 @@ module Aws::ARCRegionswitch
1727
1853
  include Aws::Structure
1728
1854
  end
1729
1855
 
1856
+ # Configuration for automatic report generation for plan executions.
1857
+ # When configured, Region switch automatically generates a report after
1858
+ # each plan execution that includes execution events, plan
1859
+ # configuration, and CloudWatch alarm states.
1860
+ #
1861
+ # @!attribute [rw] report_output
1862
+ # The output configuration for the report.
1863
+ # @return [Array<Types::ReportOutputConfiguration>]
1864
+ #
1865
+ # @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/ReportConfiguration AWS API Documentation
1866
+ #
1867
+ class ReportConfiguration < Struct.new(
1868
+ :report_output)
1869
+ SENSITIVE = []
1870
+ include Aws::Structure
1871
+ end
1872
+
1873
+ # The output location or cause of a failure in report generation.
1874
+ #
1875
+ # @note ReportOutput is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ReportOutput corresponding to the set member.
1876
+ #
1877
+ # @!attribute [rw] s3_report_output
1878
+ # Information about a report delivered to Amazon S3.
1879
+ # @return [Types::S3ReportOutput]
1880
+ #
1881
+ # @!attribute [rw] failed_report_output
1882
+ # The details about a failed report generation.
1883
+ # @return [Types::FailedReportOutput]
1884
+ #
1885
+ # @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/ReportOutput AWS API Documentation
1886
+ #
1887
+ class ReportOutput < Struct.new(
1888
+ :s3_report_output,
1889
+ :failed_report_output,
1890
+ :unknown)
1891
+ SENSITIVE = []
1892
+ include Aws::Structure
1893
+ include Aws::Structure::Union
1894
+
1895
+ class S3ReportOutput < ReportOutput; end
1896
+ class FailedReportOutput < ReportOutput; end
1897
+ class Unknown < ReportOutput; end
1898
+ end
1899
+
1900
+ # Configuration for report output destinations used in a Region switch
1901
+ # plan.
1902
+ #
1903
+ # @note ReportOutputConfiguration is a union - when making an API calls you must set exactly one of the members.
1904
+ #
1905
+ # @note ReportOutputConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ReportOutputConfiguration corresponding to the set member.
1906
+ #
1907
+ # @!attribute [rw] s3_configuration
1908
+ # Configuration for delivering reports to an Amazon S3 bucket.
1909
+ # @return [Types::S3ReportOutputConfiguration]
1910
+ #
1911
+ # @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/ReportOutputConfiguration AWS API Documentation
1912
+ #
1913
+ class ReportOutputConfiguration < Struct.new(
1914
+ :s3_configuration,
1915
+ :unknown)
1916
+ SENSITIVE = []
1917
+ include Aws::Structure
1918
+ include Aws::Structure::Union
1919
+
1920
+ class S3Configuration < ReportOutputConfiguration; end
1921
+ class Unknown < ReportOutputConfiguration; end
1922
+ end
1923
+
1730
1924
  # The specified resource was not found.
1731
1925
  #
1732
1926
  # HTTP Status Code: 404
@@ -1879,6 +2073,42 @@ module Aws::ARCRegionswitch
1879
2073
  include Aws::Structure
1880
2074
  end
1881
2075
 
2076
+ # Information about a report delivered to Amazon S3.
2077
+ #
2078
+ # @!attribute [rw] s3_object_key
2079
+ # The S3 object key where the generated report is stored.
2080
+ # @return [String]
2081
+ #
2082
+ # @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/S3ReportOutput AWS API Documentation
2083
+ #
2084
+ class S3ReportOutput < Struct.new(
2085
+ :s3_object_key)
2086
+ SENSITIVE = []
2087
+ include Aws::Structure
2088
+ end
2089
+
2090
+ # Configuration for delivering generated reports to an Amazon S3 bucket.
2091
+ #
2092
+ # @!attribute [rw] bucket_path
2093
+ # The S3 bucket name and optional prefix where reports are stored.
2094
+ # Format: bucket-name or bucket-name/prefix.
2095
+ # @return [String]
2096
+ #
2097
+ # @!attribute [rw] bucket_owner
2098
+ # The Amazon Web Services account ID that owns the S3 bucket. Required
2099
+ # to ensure the bucket is still owned by the same expected owner at
2100
+ # generation time.
2101
+ # @return [String]
2102
+ #
2103
+ # @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/S3ReportOutputConfiguration AWS API Documentation
2104
+ #
2105
+ class S3ReportOutputConfiguration < Struct.new(
2106
+ :bucket_path,
2107
+ :bucket_owner)
2108
+ SENSITIVE = []
2109
+ include Aws::Structure
2110
+ end
2111
+
1882
2112
  # The service for a cross account role.
1883
2113
  #
1884
2114
  # @!attribute [rw] cross_account_role
@@ -2253,6 +2483,10 @@ module Aws::ARCRegionswitch
2253
2483
  # of the plan.
2254
2484
  # @return [Array<Types::Trigger>]
2255
2485
  #
2486
+ # @!attribute [rw] report_configuration
2487
+ # The updated report configuration for the plan.
2488
+ # @return [Types::ReportConfiguration]
2489
+ #
2256
2490
  # @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/UpdatePlanRequest AWS API Documentation
2257
2491
  #
2258
2492
  class UpdatePlanRequest < Struct.new(
@@ -2262,7 +2496,8 @@ module Aws::ARCRegionswitch
2262
2496
  :execution_role,
2263
2497
  :recovery_time_objective_minutes,
2264
2498
  :associated_alarms,
2265
- :triggers)
2499
+ :triggers,
2500
+ :report_configuration)
2266
2501
  SENSITIVE = []
2267
2502
  include Aws::Structure
2268
2503
  end
@@ -55,7 +55,7 @@ module Aws::ARCRegionswitch
55
55
  autoload :EndpointProvider, 'aws-sdk-arcregionswitch/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-arcregionswitch/endpoints'
57
57
 
58
- GEM_VERSION = '1.6.0'
58
+ GEM_VERSION = '1.7.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -235,9 +235,20 @@ module Aws
235
235
  region: ::String?
236
236
  },
237
237
  ]?
238
+ }?,
239
+ document_db_config: {
240
+ timeout_minutes: ::Integer?,
241
+ cross_account_role: ::String?,
242
+ external_id: ::String?,
243
+ behavior: ("switchoverOnly" | "failover"),
244
+ ungraceful: {
245
+ ungraceful: ("failover")?
246
+ }?,
247
+ global_cluster_identifier: ::String,
248
+ database_cluster_arns: Array[::String]
238
249
  }?
239
250
  },
240
- execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck")
251
+ execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb")
241
252
  },
242
253
  ]?,
243
254
  workflow_target_action: ("activate" | "deactivate"),
@@ -267,6 +278,16 @@ module Aws
267
278
  min_delay_minutes_between_executions: ::Integer
268
279
  },
269
280
  ],
281
+ ?report_configuration: {
282
+ report_output: Array[
283
+ {
284
+ s3_configuration: {
285
+ bucket_path: ::String?,
286
+ bucket_owner: ::String?
287
+ }?
288
+ },
289
+ ]?
290
+ },
270
291
  name: ::String,
271
292
  regions: Array[::String],
272
293
  recovery_approach: ("activeActive" | "activePassive"),
@@ -328,6 +349,7 @@ module Aws
328
349
  def step_states: () -> ::Array[Types::StepState]
329
350
  def plan: () -> Types::Plan
330
351
  def actual_recovery_time: () -> ::String
352
+ def generated_report_details: () -> ::Array[Types::GeneratedReport]
331
353
  def next_token: () -> ::String
332
354
  end
333
355
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCRegionswitch/Client.html#get_plan_execution-instance_method
@@ -614,9 +636,20 @@ module Aws
614
636
  region: ::String?
615
637
  },
616
638
  ]?
639
+ }?,
640
+ document_db_config: {
641
+ timeout_minutes: ::Integer?,
642
+ cross_account_role: ::String?,
643
+ external_id: ::String?,
644
+ behavior: ("switchoverOnly" | "failover"),
645
+ ungraceful: {
646
+ ungraceful: ("failover")?
647
+ }?,
648
+ global_cluster_identifier: ::String,
649
+ database_cluster_arns: Array[::String]
617
650
  }?
618
651
  },
619
- execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck")
652
+ execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb")
620
653
  },
621
654
  ]?,
622
655
  workflow_target_action: ("activate" | "deactivate"),
@@ -645,7 +678,17 @@ module Aws
645
678
  ],
646
679
  min_delay_minutes_between_executions: ::Integer
647
680
  },
648
- ]
681
+ ],
682
+ ?report_configuration: {
683
+ report_output: Array[
684
+ {
685
+ s3_configuration: {
686
+ bucket_path: ::String?,
687
+ bucket_owner: ::String?
688
+ }?
689
+ },
690
+ ]?
691
+ }
649
692
  ) -> _UpdatePlanResponseSuccess
650
693
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePlanResponseSuccess
651
694
 
data/sig/types.rbs CHANGED
@@ -103,6 +103,7 @@ module Aws::ARCRegionswitch
103
103
  attr_accessor recovery_time_objective_minutes: ::Integer
104
104
  attr_accessor associated_alarms: ::Hash[::String, Types::AssociatedAlarm]
105
105
  attr_accessor triggers: ::Array[Types::Trigger]
106
+ attr_accessor report_configuration: Types::ReportConfiguration
106
107
  attr_accessor name: ::String
107
108
  attr_accessor regions: ::Array[::String]
108
109
  attr_accessor recovery_approach: ("activeActive" | "activePassive")
@@ -133,6 +134,22 @@ module Aws::ARCRegionswitch
133
134
  class DeletePlanResponse < Aws::EmptyStructure
134
135
  end
135
136
 
137
+ class DocumentDbConfiguration
138
+ attr_accessor timeout_minutes: ::Integer
139
+ attr_accessor cross_account_role: ::String
140
+ attr_accessor external_id: ::String
141
+ attr_accessor behavior: ("switchoverOnly" | "failover")
142
+ attr_accessor ungraceful: Types::DocumentDbUngraceful
143
+ attr_accessor global_cluster_identifier: ::String
144
+ attr_accessor database_cluster_arns: ::Array[::String]
145
+ SENSITIVE: []
146
+ end
147
+
148
+ class DocumentDbUngraceful
149
+ attr_accessor ungraceful: ("failover")
150
+ SENSITIVE: []
151
+ end
152
+
136
153
  class Ec2AsgCapacityIncreaseConfiguration
137
154
  attr_accessor timeout_minutes: ::Integer
138
155
  attr_accessor asgs: ::Array[Types::Asg]
@@ -201,6 +218,7 @@ module Aws::ARCRegionswitch
201
218
  attr_accessor ecs_capacity_increase_config: Types::EcsCapacityIncreaseConfiguration
202
219
  attr_accessor eks_resource_scaling_config: Types::EksResourceScalingConfiguration
203
220
  attr_accessor route53_health_check_config: Types::Route53HealthCheckConfiguration
221
+ attr_accessor document_db_config: Types::DocumentDbConfiguration
204
222
  attr_accessor unknown: untyped
205
223
  SENSITIVE: []
206
224
 
@@ -224,15 +242,17 @@ module Aws::ARCRegionswitch
224
242
  end
225
243
  class Route53HealthCheckConfig < ExecutionBlockConfiguration
226
244
  end
245
+ class DocumentDbConfig < ExecutionBlockConfiguration
246
+ end
227
247
  class Unknown < ExecutionBlockConfiguration
228
248
  end
229
249
  end
230
250
 
231
251
  class ExecutionEvent
232
252
  attr_accessor timestamp: ::Time
233
- 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")
253
+ 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")
234
254
  attr_accessor step_name: ::String
235
- attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck")
255
+ attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb")
236
256
  attr_accessor resources: ::Array[::String]
237
257
  attr_accessor error: ::String
238
258
  attr_accessor description: ::String
@@ -241,6 +261,18 @@ module Aws::ARCRegionswitch
241
261
  SENSITIVE: []
242
262
  end
243
263
 
264
+ class FailedReportOutput
265
+ attr_accessor error_code: ("insufficientPermissions" | "invalidResource" | "configurationError")
266
+ attr_accessor error_message: ::String
267
+ SENSITIVE: []
268
+ end
269
+
270
+ class GeneratedReport
271
+ attr_accessor report_generation_time: ::Time
272
+ attr_accessor report_output: Types::ReportOutput
273
+ SENSITIVE: []
274
+ end
275
+
244
276
  class GetPlanEvaluationStatusRequest
245
277
  attr_accessor plan_arn: ::String
246
278
  attr_accessor max_results: ::Integer
@@ -282,6 +314,7 @@ module Aws::ARCRegionswitch
282
314
  attr_accessor step_states: ::Array[Types::StepState]
283
315
  attr_accessor plan: Types::Plan
284
316
  attr_accessor actual_recovery_time: ::String
317
+ attr_accessor generated_report_details: ::Array[Types::GeneratedReport]
285
318
  attr_accessor next_token: ::String
286
319
  SENSITIVE: []
287
320
  end
@@ -474,6 +507,7 @@ module Aws::ARCRegionswitch
474
507
  attr_accessor recovery_time_objective_minutes: ::Integer
475
508
  attr_accessor associated_alarms: ::Hash[::String, Types::AssociatedAlarm]
476
509
  attr_accessor triggers: ::Array[Types::Trigger]
510
+ attr_accessor report_configuration: Types::ReportConfiguration
477
511
  attr_accessor name: ::String
478
512
  attr_accessor regions: ::Array[::String]
479
513
  attr_accessor recovery_approach: ("activeActive" | "activePassive")
@@ -491,6 +525,36 @@ module Aws::ARCRegionswitch
491
525
  SENSITIVE: []
492
526
  end
493
527
 
528
+ class ReportConfiguration
529
+ attr_accessor report_output: ::Array[Types::ReportOutputConfiguration]
530
+ SENSITIVE: []
531
+ end
532
+
533
+ class ReportOutput
534
+ attr_accessor s3_report_output: Types::S3ReportOutput
535
+ attr_accessor failed_report_output: Types::FailedReportOutput
536
+ attr_accessor unknown: untyped
537
+ SENSITIVE: []
538
+
539
+ class S3ReportOutput < ReportOutput
540
+ end
541
+ class FailedReportOutput < ReportOutput
542
+ end
543
+ class Unknown < ReportOutput
544
+ end
545
+ end
546
+
547
+ class ReportOutputConfiguration
548
+ attr_accessor s3_configuration: Types::S3ReportOutputConfiguration
549
+ attr_accessor unknown: untyped
550
+ SENSITIVE: []
551
+
552
+ class S3Configuration < ReportOutputConfiguration
553
+ end
554
+ class Unknown < ReportOutputConfiguration
555
+ end
556
+ end
557
+
494
558
  class ResourceNotFoundException
495
559
  attr_accessor message: ::String
496
560
  SENSITIVE: []
@@ -532,6 +596,17 @@ module Aws::ARCRegionswitch
532
596
  SENSITIVE: []
533
597
  end
534
598
 
599
+ class S3ReportOutput
600
+ attr_accessor s3_object_key: ::String
601
+ SENSITIVE: []
602
+ end
603
+
604
+ class S3ReportOutputConfiguration
605
+ attr_accessor bucket_path: ::String
606
+ attr_accessor bucket_owner: ::String
607
+ SENSITIVE: []
608
+ end
609
+
535
610
  class Service
536
611
  attr_accessor cross_account_role: ::String
537
612
  attr_accessor external_id: ::String
@@ -563,7 +638,7 @@ module Aws::ARCRegionswitch
563
638
  attr_accessor name: ::String
564
639
  attr_accessor description: ::String
565
640
  attr_accessor execution_block_configuration: Types::ExecutionBlockConfiguration
566
- attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck")
641
+ attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb")
567
642
  SENSITIVE: []
568
643
  end
569
644
 
@@ -640,6 +715,7 @@ module Aws::ARCRegionswitch
640
715
  attr_accessor recovery_time_objective_minutes: ::Integer
641
716
  attr_accessor associated_alarms: ::Hash[::String, Types::AssociatedAlarm]
642
717
  attr_accessor triggers: ::Array[Types::Trigger]
718
+ attr_accessor report_configuration: Types::ReportConfiguration
643
719
  SENSITIVE: []
644
720
  end
645
721
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-arcregionswitch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services