@aws-sdk/client-arc-region-switch 3.999.0 → 3.1001.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 +13 -13
|
@@ -54,8 +54,9 @@ declare const GetPlanExecutionCommand_base: {
|
|
|
54
54
|
* // endTime: new Date("TIMESTAMP"),
|
|
55
55
|
* // mode: "graceful" || "ungraceful", // required
|
|
56
56
|
* // executionState: "inProgress" || "pausedByFailedStep" || "pausedByOperator" || "completed" || "completedWithExceptions" || "canceled" || "planExecutionTimedOut" || "pendingManualApproval" || "failed" || "pending" || "completedMonitoringApplicationHealth", // required
|
|
57
|
-
* // executionAction: "activate" || "deactivate", // required
|
|
57
|
+
* // executionAction: "activate" || "deactivate" || "postRecovery", // required
|
|
58
58
|
* // executionRegion: "STRING_VALUE", // required
|
|
59
|
+
* // recoveryExecutionId: "STRING_VALUE",
|
|
59
60
|
* // stepStates: [ // StepStates
|
|
60
61
|
* // { // StepState
|
|
61
62
|
* // name: "STRING_VALUE",
|
|
@@ -85,7 +86,7 @@ declare const GetPlanExecutionCommand_base: {
|
|
|
85
86
|
* // },
|
|
86
87
|
* // ],
|
|
87
88
|
* // retryIntervalMinutes: Number("float"), // required
|
|
88
|
-
* // regionToRun: "activatingRegion" || "deactivatingRegion", // required
|
|
89
|
+
* // regionToRun: "activatingRegion" || "deactivatingRegion" || "activeRegion" || "inactiveRegion", // required
|
|
89
90
|
* // ungraceful: { // LambdaUngraceful
|
|
90
91
|
* // behavior: "skip",
|
|
91
92
|
* // },
|
|
@@ -151,7 +152,7 @@ declare const GetPlanExecutionCommand_base: {
|
|
|
151
152
|
* // },
|
|
152
153
|
* // ],
|
|
153
154
|
* // retryIntervalMinutes: Number("float"), // required
|
|
154
|
-
* // regionToRun: "activatingRegion" || "deactivatingRegion", // required
|
|
155
|
+
* // regionToRun: "activatingRegion" || "deactivatingRegion" || "activeRegion" || "inactiveRegion", // required
|
|
155
156
|
* // ungraceful: {
|
|
156
157
|
* // behavior: "skip",
|
|
157
158
|
* // },
|
|
@@ -281,8 +282,24 @@ declare const GetPlanExecutionCommand_base: {
|
|
|
281
282
|
* // "STRING_VALUE",
|
|
282
283
|
* // ],
|
|
283
284
|
* // },
|
|
285
|
+
* // rdsPromoteReadReplicaConfig: { // RdsPromoteReadReplicaConfiguration
|
|
286
|
+
* // timeoutMinutes: Number("int"),
|
|
287
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
288
|
+
* // externalId: "STRING_VALUE",
|
|
289
|
+
* // dbInstanceArnMap: { // RdsDbInstanceArnMap // required
|
|
290
|
+
* // "<keys>": "STRING_VALUE",
|
|
291
|
+
* // },
|
|
292
|
+
* // },
|
|
293
|
+
* // rdsCreateCrossRegionReadReplicaConfig: { // RdsCreateCrossRegionReplicaConfiguration
|
|
294
|
+
* // timeoutMinutes: Number("int"),
|
|
295
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
296
|
+
* // externalId: "STRING_VALUE",
|
|
297
|
+
* // dbInstanceArnMap: { // required
|
|
298
|
+
* // "<keys>": "STRING_VALUE",
|
|
299
|
+
* // },
|
|
300
|
+
* // },
|
|
284
301
|
* // },
|
|
285
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb", // required
|
|
302
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica", // required
|
|
286
303
|
* // },
|
|
287
304
|
* // ],
|
|
288
305
|
* // },
|
|
@@ -363,11 +380,27 @@ declare const GetPlanExecutionCommand_base: {
|
|
|
363
380
|
* // "STRING_VALUE",
|
|
364
381
|
* // ],
|
|
365
382
|
* // },
|
|
383
|
+
* // rdsPromoteReadReplicaConfig: {
|
|
384
|
+
* // timeoutMinutes: Number("int"),
|
|
385
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
386
|
+
* // externalId: "STRING_VALUE",
|
|
387
|
+
* // dbInstanceArnMap: { // required
|
|
388
|
+
* // "<keys>": "STRING_VALUE",
|
|
389
|
+
* // },
|
|
390
|
+
* // },
|
|
391
|
+
* // rdsCreateCrossRegionReadReplicaConfig: {
|
|
392
|
+
* // timeoutMinutes: Number("int"),
|
|
393
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
394
|
+
* // externalId: "STRING_VALUE",
|
|
395
|
+
* // dbInstanceArnMap: { // required
|
|
396
|
+
* // "<keys>": "STRING_VALUE",
|
|
397
|
+
* // },
|
|
398
|
+
* // },
|
|
366
399
|
* // },
|
|
367
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb", // required
|
|
400
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica", // required
|
|
368
401
|
* // },
|
|
369
402
|
* // ],
|
|
370
|
-
* // workflowTargetAction: "activate" || "deactivate", // required
|
|
403
|
+
* // workflowTargetAction: "activate" || "deactivate" || "postRecovery", // required
|
|
371
404
|
* // workflowTargetRegion: "STRING_VALUE",
|
|
372
405
|
* // workflowDescription: "STRING_VALUE",
|
|
373
406
|
* // },
|
|
@@ -386,7 +419,7 @@ declare const GetPlanExecutionCommand_base: {
|
|
|
386
419
|
* // { // Trigger
|
|
387
420
|
* // description: "STRING_VALUE",
|
|
388
421
|
* // targetRegion: "STRING_VALUE", // required
|
|
389
|
-
* // action: "activate" || "deactivate", // required
|
|
422
|
+
* // action: "activate" || "deactivate" || "postRecovery", // required
|
|
390
423
|
* // conditions: [ // TriggerConditionList // required
|
|
391
424
|
* // { // TriggerCondition
|
|
392
425
|
* // associatedAlarmName: "STRING_VALUE", // required
|
|
@@ -62,7 +62,7 @@ declare const GetPlanInRegionCommand_base: {
|
|
|
62
62
|
* // },
|
|
63
63
|
* // ],
|
|
64
64
|
* // retryIntervalMinutes: Number("float"), // required
|
|
65
|
-
* // regionToRun: "activatingRegion" || "deactivatingRegion", // required
|
|
65
|
+
* // regionToRun: "activatingRegion" || "deactivatingRegion" || "activeRegion" || "inactiveRegion", // required
|
|
66
66
|
* // ungraceful: { // LambdaUngraceful
|
|
67
67
|
* // behavior: "skip",
|
|
68
68
|
* // },
|
|
@@ -128,7 +128,7 @@ declare const GetPlanInRegionCommand_base: {
|
|
|
128
128
|
* // },
|
|
129
129
|
* // ],
|
|
130
130
|
* // retryIntervalMinutes: Number("float"), // required
|
|
131
|
-
* // regionToRun: "activatingRegion" || "deactivatingRegion", // required
|
|
131
|
+
* // regionToRun: "activatingRegion" || "deactivatingRegion" || "activeRegion" || "inactiveRegion", // required
|
|
132
132
|
* // ungraceful: {
|
|
133
133
|
* // behavior: "skip",
|
|
134
134
|
* // },
|
|
@@ -258,8 +258,24 @@ declare const GetPlanInRegionCommand_base: {
|
|
|
258
258
|
* // "STRING_VALUE",
|
|
259
259
|
* // ],
|
|
260
260
|
* // },
|
|
261
|
+
* // rdsPromoteReadReplicaConfig: { // RdsPromoteReadReplicaConfiguration
|
|
262
|
+
* // timeoutMinutes: Number("int"),
|
|
263
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
264
|
+
* // externalId: "STRING_VALUE",
|
|
265
|
+
* // dbInstanceArnMap: { // RdsDbInstanceArnMap // required
|
|
266
|
+
* // "<keys>": "STRING_VALUE",
|
|
267
|
+
* // },
|
|
268
|
+
* // },
|
|
269
|
+
* // rdsCreateCrossRegionReadReplicaConfig: { // RdsCreateCrossRegionReplicaConfiguration
|
|
270
|
+
* // timeoutMinutes: Number("int"),
|
|
271
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
272
|
+
* // externalId: "STRING_VALUE",
|
|
273
|
+
* // dbInstanceArnMap: { // required
|
|
274
|
+
* // "<keys>": "STRING_VALUE",
|
|
275
|
+
* // },
|
|
276
|
+
* // },
|
|
261
277
|
* // },
|
|
262
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb", // required
|
|
278
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica", // required
|
|
263
279
|
* // },
|
|
264
280
|
* // ],
|
|
265
281
|
* // },
|
|
@@ -340,11 +356,27 @@ declare const GetPlanInRegionCommand_base: {
|
|
|
340
356
|
* // "STRING_VALUE",
|
|
341
357
|
* // ],
|
|
342
358
|
* // },
|
|
359
|
+
* // rdsPromoteReadReplicaConfig: {
|
|
360
|
+
* // timeoutMinutes: Number("int"),
|
|
361
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
362
|
+
* // externalId: "STRING_VALUE",
|
|
363
|
+
* // dbInstanceArnMap: { // required
|
|
364
|
+
* // "<keys>": "STRING_VALUE",
|
|
365
|
+
* // },
|
|
366
|
+
* // },
|
|
367
|
+
* // rdsCreateCrossRegionReadReplicaConfig: {
|
|
368
|
+
* // timeoutMinutes: Number("int"),
|
|
369
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
370
|
+
* // externalId: "STRING_VALUE",
|
|
371
|
+
* // dbInstanceArnMap: { // required
|
|
372
|
+
* // "<keys>": "STRING_VALUE",
|
|
373
|
+
* // },
|
|
374
|
+
* // },
|
|
343
375
|
* // },
|
|
344
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb", // required
|
|
376
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica", // required
|
|
345
377
|
* // },
|
|
346
378
|
* // ],
|
|
347
|
-
* // workflowTargetAction: "activate" || "deactivate", // required
|
|
379
|
+
* // workflowTargetAction: "activate" || "deactivate" || "postRecovery", // required
|
|
348
380
|
* // workflowTargetRegion: "STRING_VALUE",
|
|
349
381
|
* // workflowDescription: "STRING_VALUE",
|
|
350
382
|
* // },
|
|
@@ -363,7 +395,7 @@ declare const GetPlanInRegionCommand_base: {
|
|
|
363
395
|
* // { // Trigger
|
|
364
396
|
* // description: "STRING_VALUE",
|
|
365
397
|
* // targetRegion: "STRING_VALUE", // required
|
|
366
|
-
* // action: "activate" || "deactivate", // required
|
|
398
|
+
* // action: "activate" || "deactivate" || "postRecovery", // required
|
|
367
399
|
* // conditions: [ // TriggerConditionList // required
|
|
368
400
|
* // { // TriggerCondition
|
|
369
401
|
* // associatedAlarmName: "STRING_VALUE", // required
|
|
@@ -51,7 +51,7 @@ declare const ListPlanExecutionEventsCommand_base: {
|
|
|
51
51
|
* // timestamp: new Date("TIMESTAMP"),
|
|
52
52
|
* // 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",
|
|
53
53
|
* // stepName: "STRING_VALUE",
|
|
54
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb",
|
|
54
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica",
|
|
55
55
|
* // resources: [ // Resources
|
|
56
56
|
* // "STRING_VALUE",
|
|
57
57
|
* // ],
|
|
@@ -56,8 +56,9 @@ declare const ListPlanExecutionsCommand_base: {
|
|
|
56
56
|
* // endTime: new Date("TIMESTAMP"),
|
|
57
57
|
* // mode: "graceful" || "ungraceful", // required
|
|
58
58
|
* // executionState: "inProgress" || "pausedByFailedStep" || "pausedByOperator" || "completed" || "completedWithExceptions" || "canceled" || "planExecutionTimedOut" || "pendingManualApproval" || "failed" || "pending" || "completedMonitoringApplicationHealth", // required
|
|
59
|
-
* // executionAction: "activate" || "deactivate", // required
|
|
59
|
+
* // executionAction: "activate" || "deactivate" || "postRecovery", // required
|
|
60
60
|
* // executionRegion: "STRING_VALUE", // required
|
|
61
|
+
* // recoveryExecutionId: "STRING_VALUE",
|
|
61
62
|
* // actualRecoveryTime: "STRING_VALUE",
|
|
62
63
|
* // },
|
|
63
64
|
* // ],
|
|
@@ -39,10 +39,11 @@ declare const StartPlanExecutionCommand_base: {
|
|
|
39
39
|
* const input = { // StartPlanExecutionRequest
|
|
40
40
|
* planArn: "STRING_VALUE", // required
|
|
41
41
|
* targetRegion: "STRING_VALUE", // required
|
|
42
|
-
* action: "activate" || "deactivate", // required
|
|
42
|
+
* action: "activate" || "deactivate" || "postRecovery", // required
|
|
43
43
|
* mode: "graceful" || "ungraceful",
|
|
44
44
|
* comment: "STRING_VALUE",
|
|
45
45
|
* latestVersion: "STRING_VALUE",
|
|
46
|
+
* recoveryExecutionId: "STRING_VALUE",
|
|
46
47
|
* };
|
|
47
48
|
* const command = new StartPlanExecutionCommand(input);
|
|
48
49
|
* const response = await client.send(command);
|
|
@@ -56,7 +56,7 @@ declare const UpdatePlanCommand_base: {
|
|
|
56
56
|
* },
|
|
57
57
|
* ],
|
|
58
58
|
* retryIntervalMinutes: Number("float"), // required
|
|
59
|
-
* regionToRun: "activatingRegion" || "deactivatingRegion", // required
|
|
59
|
+
* regionToRun: "activatingRegion" || "deactivatingRegion" || "activeRegion" || "inactiveRegion", // required
|
|
60
60
|
* ungraceful: { // LambdaUngraceful
|
|
61
61
|
* behavior: "skip",
|
|
62
62
|
* },
|
|
@@ -122,7 +122,7 @@ declare const UpdatePlanCommand_base: {
|
|
|
122
122
|
* },
|
|
123
123
|
* ],
|
|
124
124
|
* retryIntervalMinutes: Number("float"), // required
|
|
125
|
-
* regionToRun: "activatingRegion" || "deactivatingRegion", // required
|
|
125
|
+
* regionToRun: "activatingRegion" || "deactivatingRegion" || "activeRegion" || "inactiveRegion", // required
|
|
126
126
|
* ungraceful: {
|
|
127
127
|
* behavior: "skip",
|
|
128
128
|
* },
|
|
@@ -252,8 +252,24 @@ declare const UpdatePlanCommand_base: {
|
|
|
252
252
|
* "STRING_VALUE",
|
|
253
253
|
* ],
|
|
254
254
|
* },
|
|
255
|
+
* rdsPromoteReadReplicaConfig: { // RdsPromoteReadReplicaConfiguration
|
|
256
|
+
* timeoutMinutes: Number("int"),
|
|
257
|
+
* crossAccountRole: "STRING_VALUE",
|
|
258
|
+
* externalId: "STRING_VALUE",
|
|
259
|
+
* dbInstanceArnMap: { // RdsDbInstanceArnMap // required
|
|
260
|
+
* "<keys>": "STRING_VALUE",
|
|
261
|
+
* },
|
|
262
|
+
* },
|
|
263
|
+
* rdsCreateCrossRegionReadReplicaConfig: { // RdsCreateCrossRegionReplicaConfiguration
|
|
264
|
+
* timeoutMinutes: Number("int"),
|
|
265
|
+
* crossAccountRole: "STRING_VALUE",
|
|
266
|
+
* externalId: "STRING_VALUE",
|
|
267
|
+
* dbInstanceArnMap: { // required
|
|
268
|
+
* "<keys>": "STRING_VALUE",
|
|
269
|
+
* },
|
|
270
|
+
* },
|
|
255
271
|
* },
|
|
256
|
-
* executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb", // required
|
|
272
|
+
* executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica", // required
|
|
257
273
|
* },
|
|
258
274
|
* ],
|
|
259
275
|
* },
|
|
@@ -334,11 +350,27 @@ declare const UpdatePlanCommand_base: {
|
|
|
334
350
|
* "STRING_VALUE",
|
|
335
351
|
* ],
|
|
336
352
|
* },
|
|
353
|
+
* rdsPromoteReadReplicaConfig: {
|
|
354
|
+
* timeoutMinutes: Number("int"),
|
|
355
|
+
* crossAccountRole: "STRING_VALUE",
|
|
356
|
+
* externalId: "STRING_VALUE",
|
|
357
|
+
* dbInstanceArnMap: { // required
|
|
358
|
+
* "<keys>": "STRING_VALUE",
|
|
359
|
+
* },
|
|
360
|
+
* },
|
|
361
|
+
* rdsCreateCrossRegionReadReplicaConfig: {
|
|
362
|
+
* timeoutMinutes: Number("int"),
|
|
363
|
+
* crossAccountRole: "STRING_VALUE",
|
|
364
|
+
* externalId: "STRING_VALUE",
|
|
365
|
+
* dbInstanceArnMap: { // required
|
|
366
|
+
* "<keys>": "STRING_VALUE",
|
|
367
|
+
* },
|
|
368
|
+
* },
|
|
337
369
|
* },
|
|
338
|
-
* executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb", // required
|
|
370
|
+
* executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica", // required
|
|
339
371
|
* },
|
|
340
372
|
* ],
|
|
341
|
-
* workflowTargetAction: "activate" || "deactivate", // required
|
|
373
|
+
* workflowTargetAction: "activate" || "deactivate" || "postRecovery", // required
|
|
342
374
|
* workflowTargetRegion: "STRING_VALUE",
|
|
343
375
|
* workflowDescription: "STRING_VALUE",
|
|
344
376
|
* },
|
|
@@ -357,7 +389,7 @@ declare const UpdatePlanCommand_base: {
|
|
|
357
389
|
* { // Trigger
|
|
358
390
|
* description: "STRING_VALUE",
|
|
359
391
|
* targetRegion: "STRING_VALUE", // required
|
|
360
|
-
* action: "activate" || "deactivate", // required
|
|
392
|
+
* action: "activate" || "deactivate" || "postRecovery", // required
|
|
361
393
|
* conditions: [ // TriggerConditionList // required
|
|
362
394
|
* { // TriggerCondition
|
|
363
395
|
* associatedAlarmName: "STRING_VALUE", // required
|
|
@@ -401,7 +433,7 @@ declare const UpdatePlanCommand_base: {
|
|
|
401
433
|
* // },
|
|
402
434
|
* // ],
|
|
403
435
|
* // retryIntervalMinutes: Number("float"), // required
|
|
404
|
-
* // regionToRun: "activatingRegion" || "deactivatingRegion", // required
|
|
436
|
+
* // regionToRun: "activatingRegion" || "deactivatingRegion" || "activeRegion" || "inactiveRegion", // required
|
|
405
437
|
* // ungraceful: { // LambdaUngraceful
|
|
406
438
|
* // behavior: "skip",
|
|
407
439
|
* // },
|
|
@@ -467,7 +499,7 @@ declare const UpdatePlanCommand_base: {
|
|
|
467
499
|
* // },
|
|
468
500
|
* // ],
|
|
469
501
|
* // retryIntervalMinutes: Number("float"), // required
|
|
470
|
-
* // regionToRun: "activatingRegion" || "deactivatingRegion", // required
|
|
502
|
+
* // regionToRun: "activatingRegion" || "deactivatingRegion" || "activeRegion" || "inactiveRegion", // required
|
|
471
503
|
* // ungraceful: {
|
|
472
504
|
* // behavior: "skip",
|
|
473
505
|
* // },
|
|
@@ -597,8 +629,24 @@ declare const UpdatePlanCommand_base: {
|
|
|
597
629
|
* // "STRING_VALUE",
|
|
598
630
|
* // ],
|
|
599
631
|
* // },
|
|
632
|
+
* // rdsPromoteReadReplicaConfig: { // RdsPromoteReadReplicaConfiguration
|
|
633
|
+
* // timeoutMinutes: Number("int"),
|
|
634
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
635
|
+
* // externalId: "STRING_VALUE",
|
|
636
|
+
* // dbInstanceArnMap: { // RdsDbInstanceArnMap // required
|
|
637
|
+
* // "<keys>": "STRING_VALUE",
|
|
638
|
+
* // },
|
|
639
|
+
* // },
|
|
640
|
+
* // rdsCreateCrossRegionReadReplicaConfig: { // RdsCreateCrossRegionReplicaConfiguration
|
|
641
|
+
* // timeoutMinutes: Number("int"),
|
|
642
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
643
|
+
* // externalId: "STRING_VALUE",
|
|
644
|
+
* // dbInstanceArnMap: { // required
|
|
645
|
+
* // "<keys>": "STRING_VALUE",
|
|
646
|
+
* // },
|
|
647
|
+
* // },
|
|
600
648
|
* // },
|
|
601
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb", // required
|
|
649
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica", // required
|
|
602
650
|
* // },
|
|
603
651
|
* // ],
|
|
604
652
|
* // },
|
|
@@ -679,11 +727,27 @@ declare const UpdatePlanCommand_base: {
|
|
|
679
727
|
* // "STRING_VALUE",
|
|
680
728
|
* // ],
|
|
681
729
|
* // },
|
|
730
|
+
* // rdsPromoteReadReplicaConfig: {
|
|
731
|
+
* // timeoutMinutes: Number("int"),
|
|
732
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
733
|
+
* // externalId: "STRING_VALUE",
|
|
734
|
+
* // dbInstanceArnMap: { // required
|
|
735
|
+
* // "<keys>": "STRING_VALUE",
|
|
736
|
+
* // },
|
|
737
|
+
* // },
|
|
738
|
+
* // rdsCreateCrossRegionReadReplicaConfig: {
|
|
739
|
+
* // timeoutMinutes: Number("int"),
|
|
740
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
741
|
+
* // externalId: "STRING_VALUE",
|
|
742
|
+
* // dbInstanceArnMap: { // required
|
|
743
|
+
* // "<keys>": "STRING_VALUE",
|
|
744
|
+
* // },
|
|
745
|
+
* // },
|
|
682
746
|
* // },
|
|
683
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb", // required
|
|
747
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica", // required
|
|
684
748
|
* // },
|
|
685
749
|
* // ],
|
|
686
|
-
* // workflowTargetAction: "activate" || "deactivate", // required
|
|
750
|
+
* // workflowTargetAction: "activate" || "deactivate" || "postRecovery", // required
|
|
687
751
|
* // workflowTargetRegion: "STRING_VALUE",
|
|
688
752
|
* // workflowDescription: "STRING_VALUE",
|
|
689
753
|
* // },
|
|
@@ -702,7 +766,7 @@ declare const UpdatePlanCommand_base: {
|
|
|
702
766
|
* // { // Trigger
|
|
703
767
|
* // description: "STRING_VALUE",
|
|
704
768
|
* // targetRegion: "STRING_VALUE", // required
|
|
705
|
-
* // action: "activate" || "deactivate", // required
|
|
769
|
+
* // action: "activate" || "deactivate" || "postRecovery", // required
|
|
706
770
|
* // conditions: [ // TriggerConditionList // required
|
|
707
771
|
* // { // TriggerCondition
|
|
708
772
|
* // associatedAlarmName: "STRING_VALUE", // required
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
export declare const ExecutionAction: {
|
|
6
6
|
readonly ACTIVATE: "activate";
|
|
7
7
|
readonly DEACTIVATE: "deactivate";
|
|
8
|
+
readonly POST_RECOVERY: "postRecovery";
|
|
8
9
|
};
|
|
9
10
|
/**
|
|
10
11
|
* @public
|
|
@@ -137,6 +138,7 @@ export type FailedReportErrorCode = (typeof FailedReportErrorCode)[keyof typeof
|
|
|
137
138
|
export declare const WorkflowTargetAction: {
|
|
138
139
|
readonly ACTIVATE: "activate";
|
|
139
140
|
readonly DEACTIVATE: "deactivate";
|
|
141
|
+
readonly POST_RECOVERY: "postRecovery";
|
|
140
142
|
};
|
|
141
143
|
/**
|
|
142
144
|
* @public
|
|
@@ -160,7 +162,9 @@ export type RoutingControlStateChange = (typeof RoutingControlStateChange)[keyof
|
|
|
160
162
|
*/
|
|
161
163
|
export declare const RegionToRunIn: {
|
|
162
164
|
readonly ACTIVATING_REGION: "activatingRegion";
|
|
165
|
+
readonly ACTIVE_REGION: "activeRegion";
|
|
163
166
|
readonly DEACTIVATING_REGION: "deactivatingRegion";
|
|
167
|
+
readonly INACTIVE_REGION: "inactiveRegion";
|
|
164
168
|
};
|
|
165
169
|
/**
|
|
166
170
|
* @public
|
|
@@ -271,6 +275,8 @@ export declare const ExecutionBlockType: {
|
|
|
271
275
|
readonly EKS_RESOURCE_SCALING: "EKSResourceScaling";
|
|
272
276
|
readonly EXECUTION_APPROVAL: "ManualApproval";
|
|
273
277
|
readonly PARALLEL: "Parallel";
|
|
278
|
+
readonly RDS_CREATE_CROSS_REGION_REPLICA: "RdsCreateCrossRegionReplica";
|
|
279
|
+
readonly RDS_PROMOTE_READ_REPLICA: "RdsPromoteReadReplica";
|
|
274
280
|
readonly REGION_SWITCH: "ARCRegionSwitchPlan";
|
|
275
281
|
readonly ROUTE53_HEALTH_CHECK: "Route53HealthCheck";
|
|
276
282
|
readonly ROUTING_CONTROL: "ARCRoutingControl";
|