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
|
@@ -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
|
|
@@ -1447,6 +1568,63 @@ module Aws::ARCRegionswitch
|
|
|
1447
1568
|
include Aws::Structure
|
|
1448
1569
|
end
|
|
1449
1570
|
|
|
1571
|
+
# @!attribute [rw] arn
|
|
1572
|
+
# The Amazon Resource Name (ARN) of the Arc Region Switch Plan.
|
|
1573
|
+
# @return [String]
|
|
1574
|
+
#
|
|
1575
|
+
# @!attribute [rw] hosted_zone_id
|
|
1576
|
+
# The hosted zone ID for the health checks.
|
|
1577
|
+
# @return [String]
|
|
1578
|
+
#
|
|
1579
|
+
# @!attribute [rw] record_name
|
|
1580
|
+
# The record name for the health checks.
|
|
1581
|
+
# @return [String]
|
|
1582
|
+
#
|
|
1583
|
+
# @!attribute [rw] max_results
|
|
1584
|
+
# The number of objects that you want to return with this call.
|
|
1585
|
+
# @return [Integer]
|
|
1586
|
+
#
|
|
1587
|
+
# @!attribute [rw] next_token
|
|
1588
|
+
# Specifies that you want to receive the next page of results. Valid
|
|
1589
|
+
# only if you received a `nextToken` response in the previous request.
|
|
1590
|
+
# If you did, it indicates that more output is available. Set this
|
|
1591
|
+
# parameter to the value provided by the previous call's `nextToken`
|
|
1592
|
+
# response to request the next page of results.
|
|
1593
|
+
# @return [String]
|
|
1594
|
+
#
|
|
1595
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/ListRoute53HealthChecksInRegionRequest AWS API Documentation
|
|
1596
|
+
#
|
|
1597
|
+
class ListRoute53HealthChecksInRegionRequest < Struct.new(
|
|
1598
|
+
:arn,
|
|
1599
|
+
:hosted_zone_id,
|
|
1600
|
+
:record_name,
|
|
1601
|
+
:max_results,
|
|
1602
|
+
:next_token)
|
|
1603
|
+
SENSITIVE = []
|
|
1604
|
+
include Aws::Structure
|
|
1605
|
+
end
|
|
1606
|
+
|
|
1607
|
+
# @!attribute [rw] health_checks
|
|
1608
|
+
# List of the health checks requested.
|
|
1609
|
+
# @return [Array<Types::Route53HealthCheck>]
|
|
1610
|
+
#
|
|
1611
|
+
# @!attribute [rw] next_token
|
|
1612
|
+
# Specifies that you want to receive the next page of results. Valid
|
|
1613
|
+
# only if you received a `nextToken` response in the previous request.
|
|
1614
|
+
# If you did, it indicates that more output is available. Set this
|
|
1615
|
+
# parameter to the value provided by the previous call's `nextToken`
|
|
1616
|
+
# response to request the next page of results.
|
|
1617
|
+
# @return [String]
|
|
1618
|
+
#
|
|
1619
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/ListRoute53HealthChecksInRegionResponse AWS API Documentation
|
|
1620
|
+
#
|
|
1621
|
+
class ListRoute53HealthChecksInRegionResponse < Struct.new(
|
|
1622
|
+
:health_checks,
|
|
1623
|
+
:next_token)
|
|
1624
|
+
SENSITIVE = []
|
|
1625
|
+
include Aws::Structure
|
|
1626
|
+
end
|
|
1627
|
+
|
|
1450
1628
|
# @!attribute [rw] arn
|
|
1451
1629
|
# The Amazon Resource Name (ARN) of the Amazon Route 53 health check
|
|
1452
1630
|
# request.
|
|
@@ -1595,6 +1773,10 @@ module Aws::ARCRegionswitch
|
|
|
1595
1773
|
# The triggers for a plan.
|
|
1596
1774
|
# @return [Array<Types::Trigger>]
|
|
1597
1775
|
#
|
|
1776
|
+
# @!attribute [rw] report_configuration
|
|
1777
|
+
# The report configuration for a plan.
|
|
1778
|
+
# @return [Types::ReportConfiguration]
|
|
1779
|
+
#
|
|
1598
1780
|
# @!attribute [rw] name
|
|
1599
1781
|
# The name for a plan.
|
|
1600
1782
|
# @return [String]
|
|
@@ -1634,6 +1816,7 @@ module Aws::ARCRegionswitch
|
|
|
1634
1816
|
:recovery_time_objective_minutes,
|
|
1635
1817
|
:associated_alarms,
|
|
1636
1818
|
:triggers,
|
|
1819
|
+
:report_configuration,
|
|
1637
1820
|
:name,
|
|
1638
1821
|
:regions,
|
|
1639
1822
|
:recovery_approach,
|
|
@@ -1670,6 +1853,74 @@ module Aws::ARCRegionswitch
|
|
|
1670
1853
|
include Aws::Structure
|
|
1671
1854
|
end
|
|
1672
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
|
+
|
|
1673
1924
|
# The specified resource was not found.
|
|
1674
1925
|
#
|
|
1675
1926
|
# HTTP Status Code: 404
|
|
@@ -1743,6 +1994,10 @@ module Aws::ARCRegionswitch
|
|
|
1743
1994
|
# The Amazon Route 53 health check ID.
|
|
1744
1995
|
# @return [String]
|
|
1745
1996
|
#
|
|
1997
|
+
# @!attribute [rw] status
|
|
1998
|
+
# The Amazon Route 53 health check status.
|
|
1999
|
+
# @return [String]
|
|
2000
|
+
#
|
|
1746
2001
|
# @!attribute [rw] region
|
|
1747
2002
|
# The Amazon Route 53 Region.
|
|
1748
2003
|
# @return [String]
|
|
@@ -1753,6 +2008,7 @@ module Aws::ARCRegionswitch
|
|
|
1753
2008
|
:hosted_zone_id,
|
|
1754
2009
|
:record_name,
|
|
1755
2010
|
:health_check_id,
|
|
2011
|
+
:status,
|
|
1756
2012
|
:region)
|
|
1757
2013
|
SENSITIVE = []
|
|
1758
2014
|
include Aws::Structure
|
|
@@ -1817,6 +2073,42 @@ module Aws::ARCRegionswitch
|
|
|
1817
2073
|
include Aws::Structure
|
|
1818
2074
|
end
|
|
1819
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
|
+
|
|
1820
2112
|
# The service for a cross account role.
|
|
1821
2113
|
#
|
|
1822
2114
|
# @!attribute [rw] cross_account_role
|
|
@@ -2191,6 +2483,10 @@ module Aws::ARCRegionswitch
|
|
|
2191
2483
|
# of the plan.
|
|
2192
2484
|
# @return [Array<Types::Trigger>]
|
|
2193
2485
|
#
|
|
2486
|
+
# @!attribute [rw] report_configuration
|
|
2487
|
+
# The updated report configuration for the plan.
|
|
2488
|
+
# @return [Types::ReportConfiguration]
|
|
2489
|
+
#
|
|
2194
2490
|
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/UpdatePlanRequest AWS API Documentation
|
|
2195
2491
|
#
|
|
2196
2492
|
class UpdatePlanRequest < Struct.new(
|
|
@@ -2200,7 +2496,8 @@ module Aws::ARCRegionswitch
|
|
|
2200
2496
|
:execution_role,
|
|
2201
2497
|
:recovery_time_objective_minutes,
|
|
2202
2498
|
:associated_alarms,
|
|
2203
|
-
:triggers
|
|
2499
|
+
:triggers,
|
|
2500
|
+
:report_configuration)
|
|
2204
2501
|
SENSITIVE = []
|
|
2205
2502
|
include Aws::Structure
|
|
2206
2503
|
end
|
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
|
|
@@ -417,6 +439,21 @@ module Aws
|
|
|
417
439
|
) -> _ListRoute53HealthChecksResponseSuccess
|
|
418
440
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRoute53HealthChecksResponseSuccess
|
|
419
441
|
|
|
442
|
+
interface _ListRoute53HealthChecksInRegionResponseSuccess
|
|
443
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListRoute53HealthChecksInRegionResponse]
|
|
444
|
+
def health_checks: () -> ::Array[Types::Route53HealthCheck]
|
|
445
|
+
def next_token: () -> ::String
|
|
446
|
+
end
|
|
447
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCRegionswitch/Client.html#list_route_53_health_checks_in_region-instance_method
|
|
448
|
+
def list_route_53_health_checks_in_region: (
|
|
449
|
+
arn: ::String,
|
|
450
|
+
?hosted_zone_id: ::String,
|
|
451
|
+
?record_name: ::String,
|
|
452
|
+
?max_results: ::Integer,
|
|
453
|
+
?next_token: ::String
|
|
454
|
+
) -> _ListRoute53HealthChecksInRegionResponseSuccess
|
|
455
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRoute53HealthChecksInRegionResponseSuccess
|
|
456
|
+
|
|
420
457
|
interface _ListTagsForResourceResponseSuccess
|
|
421
458
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
|
422
459
|
def resource_tags: () -> ::Hash[::String, ::String]
|
|
@@ -599,9 +636,20 @@ module Aws
|
|
|
599
636
|
region: ::String?
|
|
600
637
|
},
|
|
601
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]
|
|
602
650
|
}?
|
|
603
651
|
},
|
|
604
|
-
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")
|
|
605
653
|
},
|
|
606
654
|
]?,
|
|
607
655
|
workflow_target_action: ("activate" | "deactivate"),
|
|
@@ -630,7 +678,17 @@ module Aws
|
|
|
630
678
|
],
|
|
631
679
|
min_delay_minutes_between_executions: ::Integer
|
|
632
680
|
},
|
|
633
|
-
]
|
|
681
|
+
],
|
|
682
|
+
?report_configuration: {
|
|
683
|
+
report_output: Array[
|
|
684
|
+
{
|
|
685
|
+
s3_configuration: {
|
|
686
|
+
bucket_path: ::String?,
|
|
687
|
+
bucket_owner: ::String?
|
|
688
|
+
}?
|
|
689
|
+
},
|
|
690
|
+
]?
|
|
691
|
+
}
|
|
634
692
|
) -> _UpdatePlanResponseSuccess
|
|
635
693
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePlanResponseSuccess
|
|
636
694
|
|