@aws-sdk/client-arc-region-switch 3.999.0 → 3.1000.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.
- package/dist-cjs/index.js +6 -0
- package/dist-cjs/schemas/schemas_0.js +27 -10
- package/dist-es/models/enums.js +6 -0
- package/dist-es/schemas/schemas_0.js +25 -8
- package/dist-types/commands/CreatePlanCommand.d.ts +76 -12
- package/dist-types/commands/GetPlanCommand.d.ts +38 -6
- package/dist-types/commands/GetPlanEvaluationStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetPlanExecutionCommand.d.ts +40 -7
- package/dist-types/commands/GetPlanInRegionCommand.d.ts +38 -6
- package/dist-types/commands/ListPlanExecutionEventsCommand.d.ts +1 -1
- package/dist-types/commands/ListPlanExecutionsCommand.d.ts +2 -1
- package/dist-types/commands/StartPlanExecutionCommand.d.ts +2 -1
- package/dist-types/commands/UpdatePlanCommand.d.ts +76 -12
- package/dist-types/models/enums.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +135 -2
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +79 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +1 -1
|
@@ -59,6 +59,11 @@ export interface AbbreviatedExecution {
|
|
|
59
59
|
* @public
|
|
60
60
|
*/
|
|
61
61
|
executionRegion: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* <p>The unique identifier of the most recent recovery execution. Required when starting a post-recovery execution.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
recoveryExecutionId?: string | undefined;
|
|
62
67
|
/**
|
|
63
68
|
* <p>The actual recovery time that Region switch calculates for a plan execution. Actual recovery time includes the time for the plan to run added to the time elapsed until the application health alarms that you've specified are healthy again.</p>
|
|
64
69
|
* @public
|
|
@@ -649,7 +654,7 @@ export interface CustomActionLambdaConfiguration {
|
|
|
649
654
|
*/
|
|
650
655
|
retryIntervalMinutes: number | undefined;
|
|
651
656
|
/**
|
|
652
|
-
* <p>The Amazon Web Services Region for the function to run in.</p>
|
|
657
|
+
* <p>The Amazon Web Services Region for the function to run in. For recovery workflows use <code>activatingRegion</code> or <code>deactivatingRegion</code>. For post-recovery workflows, use <code>activeRegion</code> (the Region with customer traffic) or <code>inactiveRegion</code> (the Region with no customer traffic).</p>
|
|
653
658
|
* @public
|
|
654
659
|
*/
|
|
655
660
|
regionToRun: RegionToRunIn | undefined;
|
|
@@ -1020,6 +1025,58 @@ export interface GlobalAuroraConfiguration {
|
|
|
1020
1025
|
*/
|
|
1021
1026
|
databaseClusterArns: string[] | undefined;
|
|
1022
1027
|
}
|
|
1028
|
+
/**
|
|
1029
|
+
* <p>Configuration for creating an Amazon RDS cross-Region read replica during post-recovery in a Region switch.</p>
|
|
1030
|
+
* @public
|
|
1031
|
+
*/
|
|
1032
|
+
export interface RdsCreateCrossRegionReplicaConfiguration {
|
|
1033
|
+
/**
|
|
1034
|
+
* <p>The timeout value specified for the configuration.</p>
|
|
1035
|
+
* @public
|
|
1036
|
+
*/
|
|
1037
|
+
timeoutMinutes?: number | undefined;
|
|
1038
|
+
/**
|
|
1039
|
+
* <p>The cross-account role for the configuration.</p>
|
|
1040
|
+
* @public
|
|
1041
|
+
*/
|
|
1042
|
+
crossAccountRole?: string | undefined;
|
|
1043
|
+
/**
|
|
1044
|
+
* <p>The external ID (secret key) for the configuration.</p>
|
|
1045
|
+
* @public
|
|
1046
|
+
*/
|
|
1047
|
+
externalId?: string | undefined;
|
|
1048
|
+
/**
|
|
1049
|
+
* <p>A map of database instance ARNs for each Region in the plan.</p>
|
|
1050
|
+
* @public
|
|
1051
|
+
*/
|
|
1052
|
+
dbInstanceArnMap: Record<string, string> | undefined;
|
|
1053
|
+
}
|
|
1054
|
+
/**
|
|
1055
|
+
* <p>Configuration for promoting an Amazon RDS read replica to a standalone database instance during a Region switch.</p>
|
|
1056
|
+
* @public
|
|
1057
|
+
*/
|
|
1058
|
+
export interface RdsPromoteReadReplicaConfiguration {
|
|
1059
|
+
/**
|
|
1060
|
+
* <p>The timeout value specified for the configuration.</p>
|
|
1061
|
+
* @public
|
|
1062
|
+
*/
|
|
1063
|
+
timeoutMinutes?: number | undefined;
|
|
1064
|
+
/**
|
|
1065
|
+
* <p>The cross-account role for the configuration.</p>
|
|
1066
|
+
* @public
|
|
1067
|
+
*/
|
|
1068
|
+
crossAccountRole?: string | undefined;
|
|
1069
|
+
/**
|
|
1070
|
+
* <p>The external ID (secret key) for the configuration.</p>
|
|
1071
|
+
* @public
|
|
1072
|
+
*/
|
|
1073
|
+
externalId?: string | undefined;
|
|
1074
|
+
/**
|
|
1075
|
+
* <p>A map of database instance ARNs for each Region in the plan.</p>
|
|
1076
|
+
* @public
|
|
1077
|
+
*/
|
|
1078
|
+
dbInstanceArnMap: Record<string, string> | undefined;
|
|
1079
|
+
}
|
|
1023
1080
|
/**
|
|
1024
1081
|
* <p>Configuration for nested Region switch plans. This allows one Region switch plan to trigger another plan as part of its execution.</p>
|
|
1025
1082
|
* @public
|
|
@@ -1570,6 +1627,11 @@ export interface StartPlanExecutionRequest {
|
|
|
1570
1627
|
* @public
|
|
1571
1628
|
*/
|
|
1572
1629
|
latestVersion?: string | undefined;
|
|
1630
|
+
/**
|
|
1631
|
+
* <p>The execution identifier of the recovery execution that ran in the opposite region post-recovery is ran in. Required when starting a post-recovery execution.</p>
|
|
1632
|
+
* @public
|
|
1633
|
+
*/
|
|
1634
|
+
recoveryExecutionId?: string | undefined;
|
|
1573
1635
|
}
|
|
1574
1636
|
/**
|
|
1575
1637
|
* @public
|
|
@@ -1670,7 +1732,7 @@ export interface UpdatePlanExecutionStepResponse {
|
|
|
1670
1732
|
* <p>Execution block configurations for a workflow in a Region switch plan. An execution block represents a specific type of action to perform during a Region switch.</p>
|
|
1671
1733
|
* @public
|
|
1672
1734
|
*/
|
|
1673
|
-
export type ExecutionBlockConfiguration = ExecutionBlockConfiguration.ArcRoutingControlConfigMember | ExecutionBlockConfiguration.CustomActionLambdaConfigMember | ExecutionBlockConfiguration.DocumentDbConfigMember | ExecutionBlockConfiguration.Ec2AsgCapacityIncreaseConfigMember | ExecutionBlockConfiguration.EcsCapacityIncreaseConfigMember | ExecutionBlockConfiguration.EksResourceScalingConfigMember | ExecutionBlockConfiguration.ExecutionApprovalConfigMember | ExecutionBlockConfiguration.GlobalAuroraConfigMember | ExecutionBlockConfiguration.ParallelConfigMember | ExecutionBlockConfiguration.RegionSwitchPlanConfigMember | ExecutionBlockConfiguration.Route53HealthCheckConfigMember | ExecutionBlockConfiguration.$UnknownMember;
|
|
1735
|
+
export type ExecutionBlockConfiguration = ExecutionBlockConfiguration.ArcRoutingControlConfigMember | ExecutionBlockConfiguration.CustomActionLambdaConfigMember | ExecutionBlockConfiguration.DocumentDbConfigMember | ExecutionBlockConfiguration.Ec2AsgCapacityIncreaseConfigMember | ExecutionBlockConfiguration.EcsCapacityIncreaseConfigMember | ExecutionBlockConfiguration.EksResourceScalingConfigMember | ExecutionBlockConfiguration.ExecutionApprovalConfigMember | ExecutionBlockConfiguration.GlobalAuroraConfigMember | ExecutionBlockConfiguration.ParallelConfigMember | ExecutionBlockConfiguration.RdsCreateCrossRegionReadReplicaConfigMember | ExecutionBlockConfiguration.RdsPromoteReadReplicaConfigMember | ExecutionBlockConfiguration.RegionSwitchPlanConfigMember | ExecutionBlockConfiguration.Route53HealthCheckConfigMember | ExecutionBlockConfiguration.$UnknownMember;
|
|
1674
1736
|
/**
|
|
1675
1737
|
* @public
|
|
1676
1738
|
*/
|
|
@@ -1691,6 +1753,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1691
1753
|
eksResourceScalingConfig?: never;
|
|
1692
1754
|
route53HealthCheckConfig?: never;
|
|
1693
1755
|
documentDbConfig?: never;
|
|
1756
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
1757
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
1694
1758
|
$unknown?: never;
|
|
1695
1759
|
}
|
|
1696
1760
|
/**
|
|
@@ -1709,6 +1773,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1709
1773
|
eksResourceScalingConfig?: never;
|
|
1710
1774
|
route53HealthCheckConfig?: never;
|
|
1711
1775
|
documentDbConfig?: never;
|
|
1776
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
1777
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
1712
1778
|
$unknown?: never;
|
|
1713
1779
|
}
|
|
1714
1780
|
/**
|
|
@@ -1727,6 +1793,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1727
1793
|
eksResourceScalingConfig?: never;
|
|
1728
1794
|
route53HealthCheckConfig?: never;
|
|
1729
1795
|
documentDbConfig?: never;
|
|
1796
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
1797
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
1730
1798
|
$unknown?: never;
|
|
1731
1799
|
}
|
|
1732
1800
|
/**
|
|
@@ -1745,6 +1813,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1745
1813
|
eksResourceScalingConfig?: never;
|
|
1746
1814
|
route53HealthCheckConfig?: never;
|
|
1747
1815
|
documentDbConfig?: never;
|
|
1816
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
1817
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
1748
1818
|
$unknown?: never;
|
|
1749
1819
|
}
|
|
1750
1820
|
/**
|
|
@@ -1763,6 +1833,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1763
1833
|
eksResourceScalingConfig?: never;
|
|
1764
1834
|
route53HealthCheckConfig?: never;
|
|
1765
1835
|
documentDbConfig?: never;
|
|
1836
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
1837
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
1766
1838
|
$unknown?: never;
|
|
1767
1839
|
}
|
|
1768
1840
|
/**
|
|
@@ -1781,6 +1853,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1781
1853
|
eksResourceScalingConfig?: never;
|
|
1782
1854
|
route53HealthCheckConfig?: never;
|
|
1783
1855
|
documentDbConfig?: never;
|
|
1856
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
1857
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
1784
1858
|
$unknown?: never;
|
|
1785
1859
|
}
|
|
1786
1860
|
/**
|
|
@@ -1799,6 +1873,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1799
1873
|
eksResourceScalingConfig?: never;
|
|
1800
1874
|
route53HealthCheckConfig?: never;
|
|
1801
1875
|
documentDbConfig?: never;
|
|
1876
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
1877
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
1802
1878
|
$unknown?: never;
|
|
1803
1879
|
}
|
|
1804
1880
|
/**
|
|
@@ -1817,6 +1893,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1817
1893
|
eksResourceScalingConfig?: never;
|
|
1818
1894
|
route53HealthCheckConfig?: never;
|
|
1819
1895
|
documentDbConfig?: never;
|
|
1896
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
1897
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
1820
1898
|
$unknown?: never;
|
|
1821
1899
|
}
|
|
1822
1900
|
/**
|
|
@@ -1835,6 +1913,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1835
1913
|
eksResourceScalingConfig: EksResourceScalingConfiguration;
|
|
1836
1914
|
route53HealthCheckConfig?: never;
|
|
1837
1915
|
documentDbConfig?: never;
|
|
1916
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
1917
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
1838
1918
|
$unknown?: never;
|
|
1839
1919
|
}
|
|
1840
1920
|
/**
|
|
@@ -1853,6 +1933,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1853
1933
|
eksResourceScalingConfig?: never;
|
|
1854
1934
|
route53HealthCheckConfig: Route53HealthCheckConfiguration;
|
|
1855
1935
|
documentDbConfig?: never;
|
|
1936
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
1937
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
1856
1938
|
$unknown?: never;
|
|
1857
1939
|
}
|
|
1858
1940
|
/**
|
|
@@ -1871,6 +1953,48 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1871
1953
|
eksResourceScalingConfig?: never;
|
|
1872
1954
|
route53HealthCheckConfig?: never;
|
|
1873
1955
|
documentDbConfig: DocumentDbConfiguration;
|
|
1956
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
1957
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
1958
|
+
$unknown?: never;
|
|
1959
|
+
}
|
|
1960
|
+
/**
|
|
1961
|
+
* <p>An Amazon RDS promote read replica execution block.</p>
|
|
1962
|
+
* @public
|
|
1963
|
+
*/
|
|
1964
|
+
interface RdsPromoteReadReplicaConfigMember {
|
|
1965
|
+
customActionLambdaConfig?: never;
|
|
1966
|
+
ec2AsgCapacityIncreaseConfig?: never;
|
|
1967
|
+
executionApprovalConfig?: never;
|
|
1968
|
+
arcRoutingControlConfig?: never;
|
|
1969
|
+
globalAuroraConfig?: never;
|
|
1970
|
+
parallelConfig?: never;
|
|
1971
|
+
regionSwitchPlanConfig?: never;
|
|
1972
|
+
ecsCapacityIncreaseConfig?: never;
|
|
1973
|
+
eksResourceScalingConfig?: never;
|
|
1974
|
+
route53HealthCheckConfig?: never;
|
|
1975
|
+
documentDbConfig?: never;
|
|
1976
|
+
rdsPromoteReadReplicaConfig: RdsPromoteReadReplicaConfiguration;
|
|
1977
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
1978
|
+
$unknown?: never;
|
|
1979
|
+
}
|
|
1980
|
+
/**
|
|
1981
|
+
* <p>An Amazon RDS create cross-Region replica execution block.</p>
|
|
1982
|
+
* @public
|
|
1983
|
+
*/
|
|
1984
|
+
interface RdsCreateCrossRegionReadReplicaConfigMember {
|
|
1985
|
+
customActionLambdaConfig?: never;
|
|
1986
|
+
ec2AsgCapacityIncreaseConfig?: never;
|
|
1987
|
+
executionApprovalConfig?: never;
|
|
1988
|
+
arcRoutingControlConfig?: never;
|
|
1989
|
+
globalAuroraConfig?: never;
|
|
1990
|
+
parallelConfig?: never;
|
|
1991
|
+
regionSwitchPlanConfig?: never;
|
|
1992
|
+
ecsCapacityIncreaseConfig?: never;
|
|
1993
|
+
eksResourceScalingConfig?: never;
|
|
1994
|
+
route53HealthCheckConfig?: never;
|
|
1995
|
+
documentDbConfig?: never;
|
|
1996
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
1997
|
+
rdsCreateCrossRegionReadReplicaConfig: RdsCreateCrossRegionReplicaConfiguration;
|
|
1874
1998
|
$unknown?: never;
|
|
1875
1999
|
}
|
|
1876
2000
|
/**
|
|
@@ -1888,6 +2012,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1888
2012
|
eksResourceScalingConfig?: never;
|
|
1889
2013
|
route53HealthCheckConfig?: never;
|
|
1890
2014
|
documentDbConfig?: never;
|
|
2015
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
2016
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
1891
2017
|
$unknown: [string, any];
|
|
1892
2018
|
}
|
|
1893
2019
|
/**
|
|
@@ -1906,6 +2032,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1906
2032
|
eksResourceScalingConfig: (value: EksResourceScalingConfiguration) => T;
|
|
1907
2033
|
route53HealthCheckConfig: (value: Route53HealthCheckConfiguration) => T;
|
|
1908
2034
|
documentDbConfig: (value: DocumentDbConfiguration) => T;
|
|
2035
|
+
rdsPromoteReadReplicaConfig: (value: RdsPromoteReadReplicaConfiguration) => T;
|
|
2036
|
+
rdsCreateCrossRegionReadReplicaConfig: (value: RdsCreateCrossRegionReplicaConfiguration) => T;
|
|
1909
2037
|
_: (name: string, value: any) => T;
|
|
1910
2038
|
}
|
|
1911
2039
|
}
|
|
@@ -2232,6 +2360,11 @@ export interface GetPlanExecutionResponse {
|
|
|
2232
2360
|
* @public
|
|
2233
2361
|
*/
|
|
2234
2362
|
executionRegion: string | undefined;
|
|
2363
|
+
/**
|
|
2364
|
+
* <p>The unique identifier of the most recent recovery execution. Required when starting a post-recovery execution.</p>
|
|
2365
|
+
* @public
|
|
2366
|
+
*/
|
|
2367
|
+
recoveryExecutionId?: string | undefined;
|
|
2235
2368
|
/**
|
|
2236
2369
|
* <p>The states of the steps in the plan execution.</p>
|
|
2237
2370
|
* @public
|
|
@@ -71,6 +71,8 @@ export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
|
71
71
|
export declare var MinimalWorkflow$: StaticStructureSchema;
|
|
72
72
|
export declare var ParallelExecutionBlockConfiguration$: StaticStructureSchema;
|
|
73
73
|
export declare var Plan$: StaticStructureSchema;
|
|
74
|
+
export declare var RdsCreateCrossRegionReplicaConfiguration$: StaticStructureSchema;
|
|
75
|
+
export declare var RdsPromoteReadReplicaConfiguration$: StaticStructureSchema;
|
|
74
76
|
export declare var RegionSwitchPlanConfiguration$: StaticStructureSchema;
|
|
75
77
|
export declare var ReportConfiguration$: StaticStructureSchema;
|
|
76
78
|
export declare var ResourceWarning$: StaticStructureSchema;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const ExecutionAction: {
|
|
2
2
|
readonly ACTIVATE: "activate";
|
|
3
3
|
readonly DEACTIVATE: "deactivate";
|
|
4
|
+
readonly POST_RECOVERY: "postRecovery";
|
|
4
5
|
};
|
|
5
6
|
export type ExecutionAction =
|
|
6
7
|
(typeof ExecutionAction)[keyof typeof ExecutionAction];
|
|
@@ -70,6 +71,7 @@ export type FailedReportErrorCode =
|
|
|
70
71
|
export declare const WorkflowTargetAction: {
|
|
71
72
|
readonly ACTIVATE: "activate";
|
|
72
73
|
readonly DEACTIVATE: "deactivate";
|
|
74
|
+
readonly POST_RECOVERY: "postRecovery";
|
|
73
75
|
};
|
|
74
76
|
export type WorkflowTargetAction =
|
|
75
77
|
(typeof WorkflowTargetAction)[keyof typeof WorkflowTargetAction];
|
|
@@ -81,7 +83,9 @@ export type RoutingControlStateChange =
|
|
|
81
83
|
(typeof RoutingControlStateChange)[keyof typeof RoutingControlStateChange];
|
|
82
84
|
export declare const RegionToRunIn: {
|
|
83
85
|
readonly ACTIVATING_REGION: "activatingRegion";
|
|
86
|
+
readonly ACTIVE_REGION: "activeRegion";
|
|
84
87
|
readonly DEACTIVATING_REGION: "deactivatingRegion";
|
|
88
|
+
readonly INACTIVE_REGION: "inactiveRegion";
|
|
85
89
|
};
|
|
86
90
|
export type RegionToRunIn = (typeof RegionToRunIn)[keyof typeof RegionToRunIn];
|
|
87
91
|
export declare const LambdaUngracefulBehavior: {
|
|
@@ -137,6 +141,8 @@ export declare const ExecutionBlockType: {
|
|
|
137
141
|
readonly EKS_RESOURCE_SCALING: "EKSResourceScaling";
|
|
138
142
|
readonly EXECUTION_APPROVAL: "ManualApproval";
|
|
139
143
|
readonly PARALLEL: "Parallel";
|
|
144
|
+
readonly RDS_CREATE_CROSS_REGION_REPLICA: "RdsCreateCrossRegionReplica";
|
|
145
|
+
readonly RDS_PROMOTE_READ_REPLICA: "RdsPromoteReadReplica";
|
|
140
146
|
readonly REGION_SWITCH: "ARCRegionSwitchPlan";
|
|
141
147
|
readonly ROUTE53_HEALTH_CHECK: "Route53HealthCheck";
|
|
142
148
|
readonly ROUTING_CONTROL: "ARCRoutingControl";
|
|
@@ -39,6 +39,7 @@ export interface AbbreviatedExecution {
|
|
|
39
39
|
executionState: ExecutionState | undefined;
|
|
40
40
|
executionAction: ExecutionAction | undefined;
|
|
41
41
|
executionRegion: string | undefined;
|
|
42
|
+
recoveryExecutionId?: string | undefined;
|
|
42
43
|
actualRecoveryTime?: string | undefined;
|
|
43
44
|
}
|
|
44
45
|
export interface AbbreviatedPlan {
|
|
@@ -294,6 +295,18 @@ export interface GlobalAuroraConfiguration {
|
|
|
294
295
|
globalClusterIdentifier: string | undefined;
|
|
295
296
|
databaseClusterArns: string[] | undefined;
|
|
296
297
|
}
|
|
298
|
+
export interface RdsCreateCrossRegionReplicaConfiguration {
|
|
299
|
+
timeoutMinutes?: number | undefined;
|
|
300
|
+
crossAccountRole?: string | undefined;
|
|
301
|
+
externalId?: string | undefined;
|
|
302
|
+
dbInstanceArnMap: Record<string, string> | undefined;
|
|
303
|
+
}
|
|
304
|
+
export interface RdsPromoteReadReplicaConfiguration {
|
|
305
|
+
timeoutMinutes?: number | undefined;
|
|
306
|
+
crossAccountRole?: string | undefined;
|
|
307
|
+
externalId?: string | undefined;
|
|
308
|
+
dbInstanceArnMap: Record<string, string> | undefined;
|
|
309
|
+
}
|
|
297
310
|
export interface RegionSwitchPlanConfiguration {
|
|
298
311
|
crossAccountRole?: string | undefined;
|
|
299
312
|
externalId?: string | undefined;
|
|
@@ -428,6 +441,7 @@ export interface StartPlanExecutionRequest {
|
|
|
428
441
|
mode?: ExecutionMode | undefined;
|
|
429
442
|
comment?: string | undefined;
|
|
430
443
|
latestVersion?: string | undefined;
|
|
444
|
+
recoveryExecutionId?: string | undefined;
|
|
431
445
|
}
|
|
432
446
|
export interface StartPlanExecutionResponse {
|
|
433
447
|
executionId?: string | undefined;
|
|
@@ -461,6 +475,8 @@ export type ExecutionBlockConfiguration =
|
|
|
461
475
|
| ExecutionBlockConfiguration.ExecutionApprovalConfigMember
|
|
462
476
|
| ExecutionBlockConfiguration.GlobalAuroraConfigMember
|
|
463
477
|
| ExecutionBlockConfiguration.ParallelConfigMember
|
|
478
|
+
| ExecutionBlockConfiguration.RdsCreateCrossRegionReadReplicaConfigMember
|
|
479
|
+
| ExecutionBlockConfiguration.RdsPromoteReadReplicaConfigMember
|
|
464
480
|
| ExecutionBlockConfiguration.RegionSwitchPlanConfigMember
|
|
465
481
|
| ExecutionBlockConfiguration.Route53HealthCheckConfigMember
|
|
466
482
|
| ExecutionBlockConfiguration.$UnknownMember;
|
|
@@ -477,6 +493,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
477
493
|
eksResourceScalingConfig?: never;
|
|
478
494
|
route53HealthCheckConfig?: never;
|
|
479
495
|
documentDbConfig?: never;
|
|
496
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
497
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
480
498
|
$unknown?: never;
|
|
481
499
|
}
|
|
482
500
|
interface Ec2AsgCapacityIncreaseConfigMember {
|
|
@@ -491,6 +509,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
491
509
|
eksResourceScalingConfig?: never;
|
|
492
510
|
route53HealthCheckConfig?: never;
|
|
493
511
|
documentDbConfig?: never;
|
|
512
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
513
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
494
514
|
$unknown?: never;
|
|
495
515
|
}
|
|
496
516
|
interface ExecutionApprovalConfigMember {
|
|
@@ -505,6 +525,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
505
525
|
eksResourceScalingConfig?: never;
|
|
506
526
|
route53HealthCheckConfig?: never;
|
|
507
527
|
documentDbConfig?: never;
|
|
528
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
529
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
508
530
|
$unknown?: never;
|
|
509
531
|
}
|
|
510
532
|
interface ArcRoutingControlConfigMember {
|
|
@@ -519,6 +541,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
519
541
|
eksResourceScalingConfig?: never;
|
|
520
542
|
route53HealthCheckConfig?: never;
|
|
521
543
|
documentDbConfig?: never;
|
|
544
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
545
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
522
546
|
$unknown?: never;
|
|
523
547
|
}
|
|
524
548
|
interface GlobalAuroraConfigMember {
|
|
@@ -533,6 +557,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
533
557
|
eksResourceScalingConfig?: never;
|
|
534
558
|
route53HealthCheckConfig?: never;
|
|
535
559
|
documentDbConfig?: never;
|
|
560
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
561
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
536
562
|
$unknown?: never;
|
|
537
563
|
}
|
|
538
564
|
interface ParallelConfigMember {
|
|
@@ -547,6 +573,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
547
573
|
eksResourceScalingConfig?: never;
|
|
548
574
|
route53HealthCheckConfig?: never;
|
|
549
575
|
documentDbConfig?: never;
|
|
576
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
577
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
550
578
|
$unknown?: never;
|
|
551
579
|
}
|
|
552
580
|
interface RegionSwitchPlanConfigMember {
|
|
@@ -561,6 +589,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
561
589
|
eksResourceScalingConfig?: never;
|
|
562
590
|
route53HealthCheckConfig?: never;
|
|
563
591
|
documentDbConfig?: never;
|
|
592
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
593
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
564
594
|
$unknown?: never;
|
|
565
595
|
}
|
|
566
596
|
interface EcsCapacityIncreaseConfigMember {
|
|
@@ -575,6 +605,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
575
605
|
eksResourceScalingConfig?: never;
|
|
576
606
|
route53HealthCheckConfig?: never;
|
|
577
607
|
documentDbConfig?: never;
|
|
608
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
609
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
578
610
|
$unknown?: never;
|
|
579
611
|
}
|
|
580
612
|
interface EksResourceScalingConfigMember {
|
|
@@ -589,6 +621,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
589
621
|
eksResourceScalingConfig: EksResourceScalingConfiguration;
|
|
590
622
|
route53HealthCheckConfig?: never;
|
|
591
623
|
documentDbConfig?: never;
|
|
624
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
625
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
592
626
|
$unknown?: never;
|
|
593
627
|
}
|
|
594
628
|
interface Route53HealthCheckConfigMember {
|
|
@@ -603,6 +637,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
603
637
|
eksResourceScalingConfig?: never;
|
|
604
638
|
route53HealthCheckConfig: Route53HealthCheckConfiguration;
|
|
605
639
|
documentDbConfig?: never;
|
|
640
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
641
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
606
642
|
$unknown?: never;
|
|
607
643
|
}
|
|
608
644
|
interface DocumentDbConfigMember {
|
|
@@ -617,6 +653,40 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
617
653
|
eksResourceScalingConfig?: never;
|
|
618
654
|
route53HealthCheckConfig?: never;
|
|
619
655
|
documentDbConfig: DocumentDbConfiguration;
|
|
656
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
657
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
658
|
+
$unknown?: never;
|
|
659
|
+
}
|
|
660
|
+
interface RdsPromoteReadReplicaConfigMember {
|
|
661
|
+
customActionLambdaConfig?: never;
|
|
662
|
+
ec2AsgCapacityIncreaseConfig?: never;
|
|
663
|
+
executionApprovalConfig?: never;
|
|
664
|
+
arcRoutingControlConfig?: never;
|
|
665
|
+
globalAuroraConfig?: never;
|
|
666
|
+
parallelConfig?: never;
|
|
667
|
+
regionSwitchPlanConfig?: never;
|
|
668
|
+
ecsCapacityIncreaseConfig?: never;
|
|
669
|
+
eksResourceScalingConfig?: never;
|
|
670
|
+
route53HealthCheckConfig?: never;
|
|
671
|
+
documentDbConfig?: never;
|
|
672
|
+
rdsPromoteReadReplicaConfig: RdsPromoteReadReplicaConfiguration;
|
|
673
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
674
|
+
$unknown?: never;
|
|
675
|
+
}
|
|
676
|
+
interface RdsCreateCrossRegionReadReplicaConfigMember {
|
|
677
|
+
customActionLambdaConfig?: never;
|
|
678
|
+
ec2AsgCapacityIncreaseConfig?: never;
|
|
679
|
+
executionApprovalConfig?: never;
|
|
680
|
+
arcRoutingControlConfig?: never;
|
|
681
|
+
globalAuroraConfig?: never;
|
|
682
|
+
parallelConfig?: never;
|
|
683
|
+
regionSwitchPlanConfig?: never;
|
|
684
|
+
ecsCapacityIncreaseConfig?: never;
|
|
685
|
+
eksResourceScalingConfig?: never;
|
|
686
|
+
route53HealthCheckConfig?: never;
|
|
687
|
+
documentDbConfig?: never;
|
|
688
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
689
|
+
rdsCreateCrossRegionReadReplicaConfig: RdsCreateCrossRegionReplicaConfiguration;
|
|
620
690
|
$unknown?: never;
|
|
621
691
|
}
|
|
622
692
|
interface $UnknownMember {
|
|
@@ -631,6 +701,8 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
631
701
|
eksResourceScalingConfig?: never;
|
|
632
702
|
route53HealthCheckConfig?: never;
|
|
633
703
|
documentDbConfig?: never;
|
|
704
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
705
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
634
706
|
$unknown: [string, any];
|
|
635
707
|
}
|
|
636
708
|
interface Visitor<T> {
|
|
@@ -647,6 +719,12 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
647
719
|
eksResourceScalingConfig: (value: EksResourceScalingConfiguration) => T;
|
|
648
720
|
route53HealthCheckConfig: (value: Route53HealthCheckConfiguration) => T;
|
|
649
721
|
documentDbConfig: (value: DocumentDbConfiguration) => T;
|
|
722
|
+
rdsPromoteReadReplicaConfig: (
|
|
723
|
+
value: RdsPromoteReadReplicaConfiguration
|
|
724
|
+
) => T;
|
|
725
|
+
rdsCreateCrossRegionReadReplicaConfig: (
|
|
726
|
+
value: RdsCreateCrossRegionReplicaConfiguration
|
|
727
|
+
) => T;
|
|
650
728
|
_: (name: string, value: any) => T;
|
|
651
729
|
}
|
|
652
730
|
}
|
|
@@ -721,6 +799,7 @@ export interface GetPlanExecutionResponse {
|
|
|
721
799
|
executionState: ExecutionState | undefined;
|
|
722
800
|
executionAction: ExecutionAction | undefined;
|
|
723
801
|
executionRegion: string | undefined;
|
|
802
|
+
recoveryExecutionId?: string | undefined;
|
|
724
803
|
stepStates?: StepState[] | undefined;
|
|
725
804
|
plan?: Plan | undefined;
|
|
726
805
|
actualRecoveryTime?: string | undefined;
|
|
@@ -71,6 +71,8 @@ export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
|
71
71
|
export declare var MinimalWorkflow$: StaticStructureSchema;
|
|
72
72
|
export declare var ParallelExecutionBlockConfiguration$: StaticStructureSchema;
|
|
73
73
|
export declare var Plan$: StaticStructureSchema;
|
|
74
|
+
export declare var RdsCreateCrossRegionReplicaConfiguration$: StaticStructureSchema;
|
|
75
|
+
export declare var RdsPromoteReadReplicaConfiguration$: StaticStructureSchema;
|
|
74
76
|
export declare var RegionSwitchPlanConfiguration$: StaticStructureSchema;
|
|
75
77
|
export declare var ReportConfiguration$: StaticStructureSchema;
|
|
76
78
|
export declare var ResourceWarning$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-arc-region-switch",
|
|
3
3
|
"description": "AWS SDK for JavaScript Arc Region Switch Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1000.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-arc-region-switch",
|