@aws-sdk/client-arc-region-switch 3.934.0 → 3.936.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 +139 -138
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +138 -0
- package/dist-es/models/errors.js +61 -0
- package/dist-es/models/models_0.js +1 -199
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +322 -0
- package/dist-types/models/errors.d.ts +62 -0
- package/dist-types/models/models_0.d.ts +1 -384
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +179 -0
- package/dist-types/ts3.4/models/errors.d.ts +37 -0
- package/dist-types/ts3.4/models/models_0.d.ts +25 -216
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,50 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ARCRegionSwitchServiceException as __BaseException } from "./ARCRegionSwitchServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
* @enum
|
|
6
|
-
*/
|
|
7
|
-
export declare const ExecutionAction: {
|
|
8
|
-
readonly ACTIVATE: "activate";
|
|
9
|
-
readonly DEACTIVATE: "deactivate";
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
export type ExecutionAction = (typeof ExecutionAction)[keyof typeof ExecutionAction];
|
|
15
|
-
/**
|
|
16
|
-
* @public
|
|
17
|
-
* @enum
|
|
18
|
-
*/
|
|
19
|
-
export declare const ExecutionState: {
|
|
20
|
-
readonly CANCELLED: "canceled";
|
|
21
|
-
readonly COMPLETED: "completed";
|
|
22
|
-
readonly COMPLETED_MONITORING_APPLICATION_HEALTH: "completedMonitoringApplicationHealth";
|
|
23
|
-
readonly COMPLETED_WITH_EXCEPTIONS: "completedWithExceptions";
|
|
24
|
-
readonly FAILED: "failed";
|
|
25
|
-
readonly IN_PROGRESS: "inProgress";
|
|
26
|
-
readonly PAUSED_BY_FAILED_STEP: "pausedByFailedStep";
|
|
27
|
-
readonly PAUSED_BY_OPERATOR: "pausedByOperator";
|
|
28
|
-
readonly PENDING: "pending";
|
|
29
|
-
readonly PENDING_MANUAL_APPROVAL: "pendingManualApproval";
|
|
30
|
-
readonly PLAN_EXECUTION_TIMED_OUT: "planExecutionTimedOut";
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* @public
|
|
34
|
-
*/
|
|
35
|
-
export type ExecutionState = (typeof ExecutionState)[keyof typeof ExecutionState];
|
|
36
|
-
/**
|
|
37
|
-
* @public
|
|
38
|
-
* @enum
|
|
39
|
-
*/
|
|
40
|
-
export declare const ExecutionMode: {
|
|
41
|
-
readonly GRACEFUL: "graceful";
|
|
42
|
-
readonly UNGRACEFUL: "ungraceful";
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* @public
|
|
46
|
-
*/
|
|
47
|
-
export type ExecutionMode = (typeof ExecutionMode)[keyof typeof ExecutionMode];
|
|
1
|
+
import { AlarmCondition, AlarmType, Approval, Ec2AsgCapacityMonitoringApproach, EcsCapacityMonitoringApproach, EksCapacityMonitoringApproach, EvaluationStatus, ExecutionAction, ExecutionBlockType, ExecutionEventType, ExecutionMode, ExecutionState, GlobalAuroraDefaultBehavior, GlobalAuroraUngracefulBehavior, LambdaUngracefulBehavior, RecoveryApproach, RegionToRunIn, ResourceWarningStatus, RoutingControlStateChange, StepStatus, UpdatePlanExecutionAction, UpdatePlanExecutionStepAction, WorkflowTargetAction } from "./enums";
|
|
48
2
|
/**
|
|
49
3
|
* <p>A summarized representation of a plan execution. This structure contains key information about an execution without all the detailed step data.</p>
|
|
50
4
|
* @public
|
|
@@ -111,18 +65,6 @@ export interface AbbreviatedExecution {
|
|
|
111
65
|
*/
|
|
112
66
|
actualRecoveryTime?: string | undefined;
|
|
113
67
|
}
|
|
114
|
-
/**
|
|
115
|
-
* @public
|
|
116
|
-
* @enum
|
|
117
|
-
*/
|
|
118
|
-
export declare const RecoveryApproach: {
|
|
119
|
-
readonly ACTIVE_ACTIVE: "activeActive";
|
|
120
|
-
readonly ACTIVE_PASSIVE: "activePassive";
|
|
121
|
-
};
|
|
122
|
-
/**
|
|
123
|
-
* @public
|
|
124
|
-
*/
|
|
125
|
-
export type RecoveryApproach = (typeof RecoveryApproach)[keyof typeof RecoveryApproach];
|
|
126
68
|
/**
|
|
127
69
|
* <p>A summarized representation of a Region switch plan. This structure contains key information about a plan without all the detailed workflow and step data.</p>
|
|
128
70
|
* @public
|
|
@@ -189,54 +131,6 @@ export interface AbbreviatedPlan {
|
|
|
189
131
|
*/
|
|
190
132
|
recoveryTimeObjectiveMinutes?: number | undefined;
|
|
191
133
|
}
|
|
192
|
-
/**
|
|
193
|
-
* <p>You do not have sufficient access to perform this action.</p> <p>HTTP Status Code: 403</p>
|
|
194
|
-
* @public
|
|
195
|
-
*/
|
|
196
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
197
|
-
readonly name: "AccessDeniedException";
|
|
198
|
-
readonly $fault: "client";
|
|
199
|
-
/**
|
|
200
|
-
* @internal
|
|
201
|
-
*/
|
|
202
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
203
|
-
}
|
|
204
|
-
/**
|
|
205
|
-
* @public
|
|
206
|
-
* @enum
|
|
207
|
-
*/
|
|
208
|
-
export declare const AlarmCondition: {
|
|
209
|
-
readonly GREEN: "green";
|
|
210
|
-
readonly RED: "red";
|
|
211
|
-
};
|
|
212
|
-
/**
|
|
213
|
-
* @public
|
|
214
|
-
*/
|
|
215
|
-
export type AlarmCondition = (typeof AlarmCondition)[keyof typeof AlarmCondition];
|
|
216
|
-
/**
|
|
217
|
-
* @public
|
|
218
|
-
* @enum
|
|
219
|
-
*/
|
|
220
|
-
export declare const AlarmType: {
|
|
221
|
-
readonly APPLICATION_HEALTH: "applicationHealth";
|
|
222
|
-
readonly TRIGGER: "trigger";
|
|
223
|
-
};
|
|
224
|
-
/**
|
|
225
|
-
* @public
|
|
226
|
-
*/
|
|
227
|
-
export type AlarmType = (typeof AlarmType)[keyof typeof AlarmType];
|
|
228
|
-
/**
|
|
229
|
-
* @public
|
|
230
|
-
* @enum
|
|
231
|
-
*/
|
|
232
|
-
export declare const Approval: {
|
|
233
|
-
readonly APPROVE: "approve";
|
|
234
|
-
readonly DECLINE: "decline";
|
|
235
|
-
};
|
|
236
|
-
/**
|
|
237
|
-
* @public
|
|
238
|
-
*/
|
|
239
|
-
export type Approval = (typeof Approval)[keyof typeof Approval];
|
|
240
134
|
/**
|
|
241
135
|
* @public
|
|
242
136
|
*/
|
|
@@ -272,18 +166,6 @@ export interface ApprovePlanExecutionStepRequest {
|
|
|
272
166
|
*/
|
|
273
167
|
export interface ApprovePlanExecutionStepResponse {
|
|
274
168
|
}
|
|
275
|
-
/**
|
|
276
|
-
* <p>The specified resource was not found.</p> <p>HTTP Status Code: 404</p>
|
|
277
|
-
* @public
|
|
278
|
-
*/
|
|
279
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
280
|
-
readonly name: "ResourceNotFoundException";
|
|
281
|
-
readonly $fault: "client";
|
|
282
|
-
/**
|
|
283
|
-
* @internal
|
|
284
|
-
*/
|
|
285
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
286
|
-
}
|
|
287
169
|
/**
|
|
288
170
|
* @public
|
|
289
171
|
*/
|
|
@@ -329,32 +211,6 @@ export interface GetPlanEvaluationStatusRequest {
|
|
|
329
211
|
*/
|
|
330
212
|
nextToken?: string | undefined;
|
|
331
213
|
}
|
|
332
|
-
/**
|
|
333
|
-
* @public
|
|
334
|
-
* @enum
|
|
335
|
-
*/
|
|
336
|
-
export declare const EvaluationStatus: {
|
|
337
|
-
readonly ACTION_REQUIRED: "actionRequired";
|
|
338
|
-
readonly PASSED: "passed";
|
|
339
|
-
readonly PENDING_EVALUATION: "pendingEvaluation";
|
|
340
|
-
readonly UNKNOWN: "unknown";
|
|
341
|
-
};
|
|
342
|
-
/**
|
|
343
|
-
* @public
|
|
344
|
-
*/
|
|
345
|
-
export type EvaluationStatus = (typeof EvaluationStatus)[keyof typeof EvaluationStatus];
|
|
346
|
-
/**
|
|
347
|
-
* @public
|
|
348
|
-
* @enum
|
|
349
|
-
*/
|
|
350
|
-
export declare const ResourceWarningStatus: {
|
|
351
|
-
readonly ACTIVE: "active";
|
|
352
|
-
readonly RESOLVED: "resolved";
|
|
353
|
-
};
|
|
354
|
-
/**
|
|
355
|
-
* @public
|
|
356
|
-
*/
|
|
357
|
-
export type ResourceWarningStatus = (typeof ResourceWarningStatus)[keyof typeof ResourceWarningStatus];
|
|
358
214
|
/**
|
|
359
215
|
* <p>A simplified representation of a workflow in a Region switch plan.</p>
|
|
360
216
|
* @public
|
|
@@ -503,18 +359,6 @@ export interface AssociatedAlarm {
|
|
|
503
359
|
*/
|
|
504
360
|
alarmType: AlarmType | undefined;
|
|
505
361
|
}
|
|
506
|
-
/**
|
|
507
|
-
* @public
|
|
508
|
-
* @enum
|
|
509
|
-
*/
|
|
510
|
-
export declare const WorkflowTargetAction: {
|
|
511
|
-
readonly ACTIVATE: "activate";
|
|
512
|
-
readonly DEACTIVATE: "deactivate";
|
|
513
|
-
};
|
|
514
|
-
/**
|
|
515
|
-
* @public
|
|
516
|
-
*/
|
|
517
|
-
export type WorkflowTargetAction = (typeof WorkflowTargetAction)[keyof typeof WorkflowTargetAction];
|
|
518
362
|
/**
|
|
519
363
|
* <p>Defines a condition that must be met for a trigger to fire.</p>
|
|
520
364
|
* @public
|
|
@@ -562,18 +406,6 @@ export interface Trigger {
|
|
|
562
406
|
*/
|
|
563
407
|
minDelayMinutesBetweenExecutions: number | undefined;
|
|
564
408
|
}
|
|
565
|
-
/**
|
|
566
|
-
* @public
|
|
567
|
-
* @enum
|
|
568
|
-
*/
|
|
569
|
-
export declare const RoutingControlStateChange: {
|
|
570
|
-
readonly OFF: "Off";
|
|
571
|
-
readonly ON: "On";
|
|
572
|
-
};
|
|
573
|
-
/**
|
|
574
|
-
* @public
|
|
575
|
-
*/
|
|
576
|
-
export type RoutingControlStateChange = (typeof RoutingControlStateChange)[keyof typeof RoutingControlStateChange];
|
|
577
409
|
/**
|
|
578
410
|
* <p>Represents the state of an ARC routing control.</p>
|
|
579
411
|
* @public
|
|
@@ -637,29 +469,6 @@ export interface Lambdas {
|
|
|
637
469
|
*/
|
|
638
470
|
arn?: string | undefined;
|
|
639
471
|
}
|
|
640
|
-
/**
|
|
641
|
-
* @public
|
|
642
|
-
* @enum
|
|
643
|
-
*/
|
|
644
|
-
export declare const RegionToRunIn: {
|
|
645
|
-
readonly ACTIVATING_REGION: "activatingRegion";
|
|
646
|
-
readonly DEACTIVATING_REGION: "deactivatingRegion";
|
|
647
|
-
};
|
|
648
|
-
/**
|
|
649
|
-
* @public
|
|
650
|
-
*/
|
|
651
|
-
export type RegionToRunIn = (typeof RegionToRunIn)[keyof typeof RegionToRunIn];
|
|
652
|
-
/**
|
|
653
|
-
* @public
|
|
654
|
-
* @enum
|
|
655
|
-
*/
|
|
656
|
-
export declare const LambdaUngracefulBehavior: {
|
|
657
|
-
readonly SKIP: "skip";
|
|
658
|
-
};
|
|
659
|
-
/**
|
|
660
|
-
* @public
|
|
661
|
-
*/
|
|
662
|
-
export type LambdaUngracefulBehavior = (typeof LambdaUngracefulBehavior)[keyof typeof LambdaUngracefulBehavior];
|
|
663
472
|
/**
|
|
664
473
|
* <p>Configuration for handling failures when invoking Lambda functions.</p>
|
|
665
474
|
* @public
|
|
@@ -723,18 +532,6 @@ export interface Asg {
|
|
|
723
532
|
*/
|
|
724
533
|
arn?: string | undefined;
|
|
725
534
|
}
|
|
726
|
-
/**
|
|
727
|
-
* @public
|
|
728
|
-
* @enum
|
|
729
|
-
*/
|
|
730
|
-
export declare const Ec2AsgCapacityMonitoringApproach: {
|
|
731
|
-
readonly AUTOSCALING_MAX_IN_LAST_24_HOURS: "autoscalingMaxInLast24Hours";
|
|
732
|
-
readonly SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours";
|
|
733
|
-
};
|
|
734
|
-
/**
|
|
735
|
-
* @public
|
|
736
|
-
*/
|
|
737
|
-
export type Ec2AsgCapacityMonitoringApproach = (typeof Ec2AsgCapacityMonitoringApproach)[keyof typeof Ec2AsgCapacityMonitoringApproach];
|
|
738
535
|
/**
|
|
739
536
|
* <p>Configuration for handling failures when performing operations on EC2 resources.</p>
|
|
740
537
|
* @public
|
|
@@ -777,18 +574,6 @@ export interface Ec2AsgCapacityIncreaseConfiguration {
|
|
|
777
574
|
*/
|
|
778
575
|
capacityMonitoringApproach?: Ec2AsgCapacityMonitoringApproach | undefined;
|
|
779
576
|
}
|
|
780
|
-
/**
|
|
781
|
-
* @public
|
|
782
|
-
* @enum
|
|
783
|
-
*/
|
|
784
|
-
export declare const EcsCapacityMonitoringApproach: {
|
|
785
|
-
readonly CONTAINER_INSIGHTS_MAX_IN_LAST_24_HOURS: "containerInsightsMaxInLast24Hours";
|
|
786
|
-
readonly SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours";
|
|
787
|
-
};
|
|
788
|
-
/**
|
|
789
|
-
* @public
|
|
790
|
-
*/
|
|
791
|
-
export type EcsCapacityMonitoringApproach = (typeof EcsCapacityMonitoringApproach)[keyof typeof EcsCapacityMonitoringApproach];
|
|
792
577
|
/**
|
|
793
578
|
* <p>The service for a cross account role.</p>
|
|
794
579
|
* @public
|
|
@@ -857,17 +642,6 @@ export interface EcsCapacityIncreaseConfiguration {
|
|
|
857
642
|
*/
|
|
858
643
|
capacityMonitoringApproach?: EcsCapacityMonitoringApproach | undefined;
|
|
859
644
|
}
|
|
860
|
-
/**
|
|
861
|
-
* @public
|
|
862
|
-
* @enum
|
|
863
|
-
*/
|
|
864
|
-
export declare const EksCapacityMonitoringApproach: {
|
|
865
|
-
readonly SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours";
|
|
866
|
-
};
|
|
867
|
-
/**
|
|
868
|
-
* @public
|
|
869
|
-
*/
|
|
870
|
-
export type EksCapacityMonitoringApproach = (typeof EksCapacityMonitoringApproach)[keyof typeof EksCapacityMonitoringApproach];
|
|
871
645
|
/**
|
|
872
646
|
* <p>The Amazon Web Services EKS cluster execution block configuration.</p>
|
|
873
647
|
* @public
|
|
@@ -994,29 +768,6 @@ export interface ExecutionApprovalConfiguration {
|
|
|
994
768
|
*/
|
|
995
769
|
approvalRole: string | undefined;
|
|
996
770
|
}
|
|
997
|
-
/**
|
|
998
|
-
* @public
|
|
999
|
-
* @enum
|
|
1000
|
-
*/
|
|
1001
|
-
export declare const GlobalAuroraDefaultBehavior: {
|
|
1002
|
-
readonly FAILOVER: "failover";
|
|
1003
|
-
readonly SWITCHOVER_ONLY: "switchoverOnly";
|
|
1004
|
-
};
|
|
1005
|
-
/**
|
|
1006
|
-
* @public
|
|
1007
|
-
*/
|
|
1008
|
-
export type GlobalAuroraDefaultBehavior = (typeof GlobalAuroraDefaultBehavior)[keyof typeof GlobalAuroraDefaultBehavior];
|
|
1009
|
-
/**
|
|
1010
|
-
* @public
|
|
1011
|
-
* @enum
|
|
1012
|
-
*/
|
|
1013
|
-
export declare const GlobalAuroraUngracefulBehavior: {
|
|
1014
|
-
readonly FAILOVER: "failover";
|
|
1015
|
-
};
|
|
1016
|
-
/**
|
|
1017
|
-
* @public
|
|
1018
|
-
*/
|
|
1019
|
-
export type GlobalAuroraUngracefulBehavior = (typeof GlobalAuroraUngracefulBehavior)[keyof typeof GlobalAuroraUngracefulBehavior];
|
|
1020
771
|
/**
|
|
1021
772
|
* <p>Configuration for handling failures when performing operations on Aurora global databases.</p>
|
|
1022
773
|
* @public
|
|
@@ -1142,43 +893,6 @@ export interface Route53HealthCheckConfiguration {
|
|
|
1142
893
|
*/
|
|
1143
894
|
recordSets?: Route53ResourceRecordSet[] | undefined;
|
|
1144
895
|
}
|
|
1145
|
-
/**
|
|
1146
|
-
* @public
|
|
1147
|
-
* @enum
|
|
1148
|
-
*/
|
|
1149
|
-
export declare const ExecutionBlockType: {
|
|
1150
|
-
readonly AURORA: "AuroraGlobalDatabase";
|
|
1151
|
-
readonly CUSTOM_ACTION_LAMBDA: "CustomActionLambda";
|
|
1152
|
-
readonly EC2_ASG: "EC2AutoScaling";
|
|
1153
|
-
readonly ECS: "ECSServiceScaling";
|
|
1154
|
-
readonly EKS_RESOURCE_SCALING: "EKSResourceScaling";
|
|
1155
|
-
readonly EXECUTION_APPROVAL: "ManualApproval";
|
|
1156
|
-
readonly PARALLEL: "Parallel";
|
|
1157
|
-
readonly REGION_SWITCH: "ARCRegionSwitchPlan";
|
|
1158
|
-
readonly ROUTE53_HEALTH_CHECK: "Route53HealthCheck";
|
|
1159
|
-
readonly ROUTING_CONTROL: "ARCRoutingControl";
|
|
1160
|
-
};
|
|
1161
|
-
/**
|
|
1162
|
-
* @public
|
|
1163
|
-
*/
|
|
1164
|
-
export type ExecutionBlockType = (typeof ExecutionBlockType)[keyof typeof ExecutionBlockType];
|
|
1165
|
-
/**
|
|
1166
|
-
* @public
|
|
1167
|
-
* @enum
|
|
1168
|
-
*/
|
|
1169
|
-
export declare const StepStatus: {
|
|
1170
|
-
readonly CANCELLED: "canceled";
|
|
1171
|
-
readonly COMPLETED: "completed";
|
|
1172
|
-
readonly FAILED: "failed";
|
|
1173
|
-
readonly NOT_STARTED: "notStarted";
|
|
1174
|
-
readonly PENDING_APPROVAL: "pendingApproval";
|
|
1175
|
-
readonly RUNNING: "running";
|
|
1176
|
-
readonly SKIPPED: "skipped";
|
|
1177
|
-
};
|
|
1178
|
-
/**
|
|
1179
|
-
* @public
|
|
1180
|
-
*/
|
|
1181
|
-
export type StepStatus = (typeof StepStatus)[keyof typeof StepStatus];
|
|
1182
896
|
/**
|
|
1183
897
|
* <p>Represents the state of a step in a plan execution.</p>
|
|
1184
898
|
* @public
|
|
@@ -1250,41 +964,6 @@ export interface ListPlanExecutionEventsRequest {
|
|
|
1250
964
|
*/
|
|
1251
965
|
name?: string | undefined;
|
|
1252
966
|
}
|
|
1253
|
-
/**
|
|
1254
|
-
* @public
|
|
1255
|
-
* @enum
|
|
1256
|
-
*/
|
|
1257
|
-
export declare const ExecutionEventType: {
|
|
1258
|
-
readonly EXECUTION_BEHAVIOR_CHANGED_TO_GRACEFUL: "executionBehaviorChangedToGraceful";
|
|
1259
|
-
readonly EXECUTION_BEHAVIOR_CHANGED_TO_UNGRACEFUL: "executionBehaviorChangedToUngraceful";
|
|
1260
|
-
readonly EXECUTION_CANCELED: "executionCanceled";
|
|
1261
|
-
readonly EXECUTION_CANCELING: "executionCanceling";
|
|
1262
|
-
readonly EXECUTION_FAILED: "executionFailed";
|
|
1263
|
-
readonly EXECUTION_PAUSED: "executionPaused";
|
|
1264
|
-
readonly EXECUTION_PAUSING: "executionPausing";
|
|
1265
|
-
readonly EXECUTION_PENDING: "executionPending";
|
|
1266
|
-
readonly EXECUTION_PENDING_APPROVAL: "executionPendingApproval";
|
|
1267
|
-
readonly EXECUTION_PENDING_CHILD_PLAN_MANUAL_APPROVAL: "executionPendingChildPlanManualApproval";
|
|
1268
|
-
readonly EXECUTION_STARTED: "executionStarted";
|
|
1269
|
-
readonly EXECUTION_SUCCEEDED: "executionSucceeded";
|
|
1270
|
-
readonly EXECUTION_SUCCESS_MONITORING_APPLICATION_HEALTH: "executionSuccessMonitoringApplicationHealth";
|
|
1271
|
-
readonly STEP_CANCELED: "stepCanceled";
|
|
1272
|
-
readonly STEP_EXECUTION_BEHAVIOR_CHANGED_TO_UNGRACEFUL: "stepExecutionBehaviorChangedToUngraceful";
|
|
1273
|
-
readonly STEP_FAILED: "stepFailed";
|
|
1274
|
-
readonly STEP_PAUSED_BY_ERROR: "stepPausedByError";
|
|
1275
|
-
readonly STEP_PAUSED_BY_OPERATOR: "stepPausedByOperator";
|
|
1276
|
-
readonly STEP_PENDING_APPLICATION_HEALTH_MONITOR: "stepPendingApplicationHealthMonitor";
|
|
1277
|
-
readonly STEP_PENDING_APPROVAL: "stepPendingApproval";
|
|
1278
|
-
readonly STEP_SKIPPED: "stepSkipped";
|
|
1279
|
-
readonly STEP_STARTED: "stepStarted";
|
|
1280
|
-
readonly STEP_SUCCEEDED: "stepSucceeded";
|
|
1281
|
-
readonly STEP_UPDATE: "stepUpdate";
|
|
1282
|
-
readonly UNKNOWN: "unknown";
|
|
1283
|
-
};
|
|
1284
|
-
/**
|
|
1285
|
-
* @public
|
|
1286
|
-
*/
|
|
1287
|
-
export type ExecutionEventType = (typeof ExecutionEventType)[keyof typeof ExecutionEventType];
|
|
1288
967
|
/**
|
|
1289
968
|
* <p>Represents an event that occurred during a plan execution. These events provide a detailed timeline of the execution process.</p>
|
|
1290
969
|
* @public
|
|
@@ -1421,18 +1100,6 @@ export interface ListPlansInRegionResponse {
|
|
|
1421
1100
|
*/
|
|
1422
1101
|
nextToken?: string | undefined;
|
|
1423
1102
|
}
|
|
1424
|
-
/**
|
|
1425
|
-
* <p>The request processing has failed because of an unknown error, exception, or failure.</p> <p>HTTP Status Code: 500</p>
|
|
1426
|
-
* @public
|
|
1427
|
-
*/
|
|
1428
|
-
export declare class InternalServerException extends __BaseException {
|
|
1429
|
-
readonly name: "InternalServerException";
|
|
1430
|
-
readonly $fault: "server";
|
|
1431
|
-
/**
|
|
1432
|
-
* @internal
|
|
1433
|
-
*/
|
|
1434
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
1435
|
-
}
|
|
1436
1103
|
/**
|
|
1437
1104
|
* @public
|
|
1438
1105
|
*/
|
|
@@ -1519,18 +1186,6 @@ export interface DeletePlanRequest {
|
|
|
1519
1186
|
*/
|
|
1520
1187
|
export interface DeletePlanResponse {
|
|
1521
1188
|
}
|
|
1522
|
-
/**
|
|
1523
|
-
* <p>The operation failed because the current state of the resource doesn't allow the operation to proceed.</p> <p>HTTP Status Code: 400</p>
|
|
1524
|
-
* @public
|
|
1525
|
-
*/
|
|
1526
|
-
export declare class IllegalStateException extends __BaseException {
|
|
1527
|
-
readonly name: "IllegalStateException";
|
|
1528
|
-
readonly $fault: "client";
|
|
1529
|
-
/**
|
|
1530
|
-
* @internal
|
|
1531
|
-
*/
|
|
1532
|
-
constructor(opts: __ExceptionOptionType<IllegalStateException, __BaseException>);
|
|
1533
|
-
}
|
|
1534
1189
|
/**
|
|
1535
1190
|
* @public
|
|
1536
1191
|
*/
|
|
@@ -1631,18 +1286,6 @@ export interface UntagResourceRequest {
|
|
|
1631
1286
|
*/
|
|
1632
1287
|
export interface UntagResourceResponse {
|
|
1633
1288
|
}
|
|
1634
|
-
/**
|
|
1635
|
-
* <p>The request processing has an invalid argument.</p>
|
|
1636
|
-
* @public
|
|
1637
|
-
*/
|
|
1638
|
-
export declare class IllegalArgumentException extends __BaseException {
|
|
1639
|
-
readonly name: "IllegalArgumentException";
|
|
1640
|
-
readonly $fault: "client";
|
|
1641
|
-
/**
|
|
1642
|
-
* @internal
|
|
1643
|
-
*/
|
|
1644
|
-
constructor(opts: __ExceptionOptionType<IllegalArgumentException, __BaseException>);
|
|
1645
|
-
}
|
|
1646
1289
|
/**
|
|
1647
1290
|
* @public
|
|
1648
1291
|
*/
|
|
@@ -1708,20 +1351,6 @@ export interface StartPlanExecutionResponse {
|
|
|
1708
1351
|
*/
|
|
1709
1352
|
deactivateRegion?: string | undefined;
|
|
1710
1353
|
}
|
|
1711
|
-
/**
|
|
1712
|
-
* @public
|
|
1713
|
-
* @enum
|
|
1714
|
-
*/
|
|
1715
|
-
export declare const UpdatePlanExecutionAction: {
|
|
1716
|
-
readonly PAUSE: "pause";
|
|
1717
|
-
readonly RESUME: "resume";
|
|
1718
|
-
readonly SWITCH_TO_GRACEFUL: "switchToGraceful";
|
|
1719
|
-
readonly SWITCH_TO_UNGRACEFUL: "switchToUngraceful";
|
|
1720
|
-
};
|
|
1721
|
-
/**
|
|
1722
|
-
* @public
|
|
1723
|
-
*/
|
|
1724
|
-
export type UpdatePlanExecutionAction = (typeof UpdatePlanExecutionAction)[keyof typeof UpdatePlanExecutionAction];
|
|
1725
1354
|
/**
|
|
1726
1355
|
* @public
|
|
1727
1356
|
*/
|
|
@@ -1752,18 +1381,6 @@ export interface UpdatePlanExecutionRequest {
|
|
|
1752
1381
|
*/
|
|
1753
1382
|
export interface UpdatePlanExecutionResponse {
|
|
1754
1383
|
}
|
|
1755
|
-
/**
|
|
1756
|
-
* @public
|
|
1757
|
-
* @enum
|
|
1758
|
-
*/
|
|
1759
|
-
export declare const UpdatePlanExecutionStepAction: {
|
|
1760
|
-
readonly SKIP: "skip";
|
|
1761
|
-
readonly SWITCH_TO_UNGRACEFUL: "switchToUngraceful";
|
|
1762
|
-
};
|
|
1763
|
-
/**
|
|
1764
|
-
* @public
|
|
1765
|
-
*/
|
|
1766
|
-
export type UpdatePlanExecutionStepAction = (typeof UpdatePlanExecutionStepAction)[keyof typeof UpdatePlanExecutionStepAction];
|
|
1767
1384
|
/**
|
|
1768
1385
|
* @public
|
|
1769
1386
|
*/
|
|
@@ -6,5 +6,7 @@ export { ARCRegionSwitchExtensionConfiguration } from "./extensionConfiguration"
|
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
8
|
export * from "./waiters";
|
|
9
|
-
export * from "./models";
|
|
9
|
+
export * from "./models/enums";
|
|
10
|
+
export * from "./models/errors";
|
|
11
|
+
export * from "./models/models_0";
|
|
10
12
|
export { ARCRegionSwitchServiceException } from "./models/ARCRegionSwitchServiceException";
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
export declare const ExecutionAction: {
|
|
2
|
+
readonly ACTIVATE: "activate";
|
|
3
|
+
readonly DEACTIVATE: "deactivate";
|
|
4
|
+
};
|
|
5
|
+
export type ExecutionAction =
|
|
6
|
+
(typeof ExecutionAction)[keyof typeof ExecutionAction];
|
|
7
|
+
export declare const ExecutionState: {
|
|
8
|
+
readonly CANCELLED: "canceled";
|
|
9
|
+
readonly COMPLETED: "completed";
|
|
10
|
+
readonly COMPLETED_MONITORING_APPLICATION_HEALTH: "completedMonitoringApplicationHealth";
|
|
11
|
+
readonly COMPLETED_WITH_EXCEPTIONS: "completedWithExceptions";
|
|
12
|
+
readonly FAILED: "failed";
|
|
13
|
+
readonly IN_PROGRESS: "inProgress";
|
|
14
|
+
readonly PAUSED_BY_FAILED_STEP: "pausedByFailedStep";
|
|
15
|
+
readonly PAUSED_BY_OPERATOR: "pausedByOperator";
|
|
16
|
+
readonly PENDING: "pending";
|
|
17
|
+
readonly PENDING_MANUAL_APPROVAL: "pendingManualApproval";
|
|
18
|
+
readonly PLAN_EXECUTION_TIMED_OUT: "planExecutionTimedOut";
|
|
19
|
+
};
|
|
20
|
+
export type ExecutionState =
|
|
21
|
+
(typeof ExecutionState)[keyof typeof ExecutionState];
|
|
22
|
+
export declare const ExecutionMode: {
|
|
23
|
+
readonly GRACEFUL: "graceful";
|
|
24
|
+
readonly UNGRACEFUL: "ungraceful";
|
|
25
|
+
};
|
|
26
|
+
export type ExecutionMode = (typeof ExecutionMode)[keyof typeof ExecutionMode];
|
|
27
|
+
export declare const RecoveryApproach: {
|
|
28
|
+
readonly ACTIVE_ACTIVE: "activeActive";
|
|
29
|
+
readonly ACTIVE_PASSIVE: "activePassive";
|
|
30
|
+
};
|
|
31
|
+
export type RecoveryApproach =
|
|
32
|
+
(typeof RecoveryApproach)[keyof typeof RecoveryApproach];
|
|
33
|
+
export declare const AlarmCondition: {
|
|
34
|
+
readonly GREEN: "green";
|
|
35
|
+
readonly RED: "red";
|
|
36
|
+
};
|
|
37
|
+
export type AlarmCondition =
|
|
38
|
+
(typeof AlarmCondition)[keyof typeof AlarmCondition];
|
|
39
|
+
export declare const AlarmType: {
|
|
40
|
+
readonly APPLICATION_HEALTH: "applicationHealth";
|
|
41
|
+
readonly TRIGGER: "trigger";
|
|
42
|
+
};
|
|
43
|
+
export type AlarmType = (typeof AlarmType)[keyof typeof AlarmType];
|
|
44
|
+
export declare const Approval: {
|
|
45
|
+
readonly APPROVE: "approve";
|
|
46
|
+
readonly DECLINE: "decline";
|
|
47
|
+
};
|
|
48
|
+
export type Approval = (typeof Approval)[keyof typeof Approval];
|
|
49
|
+
export declare const EvaluationStatus: {
|
|
50
|
+
readonly ACTION_REQUIRED: "actionRequired";
|
|
51
|
+
readonly PASSED: "passed";
|
|
52
|
+
readonly PENDING_EVALUATION: "pendingEvaluation";
|
|
53
|
+
readonly UNKNOWN: "unknown";
|
|
54
|
+
};
|
|
55
|
+
export type EvaluationStatus =
|
|
56
|
+
(typeof EvaluationStatus)[keyof typeof EvaluationStatus];
|
|
57
|
+
export declare const ResourceWarningStatus: {
|
|
58
|
+
readonly ACTIVE: "active";
|
|
59
|
+
readonly RESOLVED: "resolved";
|
|
60
|
+
};
|
|
61
|
+
export type ResourceWarningStatus =
|
|
62
|
+
(typeof ResourceWarningStatus)[keyof typeof ResourceWarningStatus];
|
|
63
|
+
export declare const WorkflowTargetAction: {
|
|
64
|
+
readonly ACTIVATE: "activate";
|
|
65
|
+
readonly DEACTIVATE: "deactivate";
|
|
66
|
+
};
|
|
67
|
+
export type WorkflowTargetAction =
|
|
68
|
+
(typeof WorkflowTargetAction)[keyof typeof WorkflowTargetAction];
|
|
69
|
+
export declare const RoutingControlStateChange: {
|
|
70
|
+
readonly OFF: "Off";
|
|
71
|
+
readonly ON: "On";
|
|
72
|
+
};
|
|
73
|
+
export type RoutingControlStateChange =
|
|
74
|
+
(typeof RoutingControlStateChange)[keyof typeof RoutingControlStateChange];
|
|
75
|
+
export declare const RegionToRunIn: {
|
|
76
|
+
readonly ACTIVATING_REGION: "activatingRegion";
|
|
77
|
+
readonly DEACTIVATING_REGION: "deactivatingRegion";
|
|
78
|
+
};
|
|
79
|
+
export type RegionToRunIn = (typeof RegionToRunIn)[keyof typeof RegionToRunIn];
|
|
80
|
+
export declare const LambdaUngracefulBehavior: {
|
|
81
|
+
readonly SKIP: "skip";
|
|
82
|
+
};
|
|
83
|
+
export type LambdaUngracefulBehavior =
|
|
84
|
+
(typeof LambdaUngracefulBehavior)[keyof typeof LambdaUngracefulBehavior];
|
|
85
|
+
export declare const Ec2AsgCapacityMonitoringApproach: {
|
|
86
|
+
readonly AUTOSCALING_MAX_IN_LAST_24_HOURS: "autoscalingMaxInLast24Hours";
|
|
87
|
+
readonly SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours";
|
|
88
|
+
};
|
|
89
|
+
export type Ec2AsgCapacityMonitoringApproach =
|
|
90
|
+
(typeof Ec2AsgCapacityMonitoringApproach)[keyof typeof Ec2AsgCapacityMonitoringApproach];
|
|
91
|
+
export declare const EcsCapacityMonitoringApproach: {
|
|
92
|
+
readonly CONTAINER_INSIGHTS_MAX_IN_LAST_24_HOURS: "containerInsightsMaxInLast24Hours";
|
|
93
|
+
readonly SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours";
|
|
94
|
+
};
|
|
95
|
+
export type EcsCapacityMonitoringApproach =
|
|
96
|
+
(typeof EcsCapacityMonitoringApproach)[keyof typeof EcsCapacityMonitoringApproach];
|
|
97
|
+
export declare const EksCapacityMonitoringApproach: {
|
|
98
|
+
readonly SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours";
|
|
99
|
+
};
|
|
100
|
+
export type EksCapacityMonitoringApproach =
|
|
101
|
+
(typeof EksCapacityMonitoringApproach)[keyof typeof EksCapacityMonitoringApproach];
|
|
102
|
+
export declare const GlobalAuroraDefaultBehavior: {
|
|
103
|
+
readonly FAILOVER: "failover";
|
|
104
|
+
readonly SWITCHOVER_ONLY: "switchoverOnly";
|
|
105
|
+
};
|
|
106
|
+
export type GlobalAuroraDefaultBehavior =
|
|
107
|
+
(typeof GlobalAuroraDefaultBehavior)[keyof typeof GlobalAuroraDefaultBehavior];
|
|
108
|
+
export declare const GlobalAuroraUngracefulBehavior: {
|
|
109
|
+
readonly FAILOVER: "failover";
|
|
110
|
+
};
|
|
111
|
+
export type GlobalAuroraUngracefulBehavior =
|
|
112
|
+
(typeof GlobalAuroraUngracefulBehavior)[keyof typeof GlobalAuroraUngracefulBehavior];
|
|
113
|
+
export declare const ExecutionBlockType: {
|
|
114
|
+
readonly AURORA: "AuroraGlobalDatabase";
|
|
115
|
+
readonly CUSTOM_ACTION_LAMBDA: "CustomActionLambda";
|
|
116
|
+
readonly EC2_ASG: "EC2AutoScaling";
|
|
117
|
+
readonly ECS: "ECSServiceScaling";
|
|
118
|
+
readonly EKS_RESOURCE_SCALING: "EKSResourceScaling";
|
|
119
|
+
readonly EXECUTION_APPROVAL: "ManualApproval";
|
|
120
|
+
readonly PARALLEL: "Parallel";
|
|
121
|
+
readonly REGION_SWITCH: "ARCRegionSwitchPlan";
|
|
122
|
+
readonly ROUTE53_HEALTH_CHECK: "Route53HealthCheck";
|
|
123
|
+
readonly ROUTING_CONTROL: "ARCRoutingControl";
|
|
124
|
+
};
|
|
125
|
+
export type ExecutionBlockType =
|
|
126
|
+
(typeof ExecutionBlockType)[keyof typeof ExecutionBlockType];
|
|
127
|
+
export declare const StepStatus: {
|
|
128
|
+
readonly CANCELLED: "canceled";
|
|
129
|
+
readonly COMPLETED: "completed";
|
|
130
|
+
readonly FAILED: "failed";
|
|
131
|
+
readonly NOT_STARTED: "notStarted";
|
|
132
|
+
readonly PENDING_APPROVAL: "pendingApproval";
|
|
133
|
+
readonly RUNNING: "running";
|
|
134
|
+
readonly SKIPPED: "skipped";
|
|
135
|
+
};
|
|
136
|
+
export type StepStatus = (typeof StepStatus)[keyof typeof StepStatus];
|
|
137
|
+
export declare const ExecutionEventType: {
|
|
138
|
+
readonly EXECUTION_BEHAVIOR_CHANGED_TO_GRACEFUL: "executionBehaviorChangedToGraceful";
|
|
139
|
+
readonly EXECUTION_BEHAVIOR_CHANGED_TO_UNGRACEFUL: "executionBehaviorChangedToUngraceful";
|
|
140
|
+
readonly EXECUTION_CANCELED: "executionCanceled";
|
|
141
|
+
readonly EXECUTION_CANCELING: "executionCanceling";
|
|
142
|
+
readonly EXECUTION_FAILED: "executionFailed";
|
|
143
|
+
readonly EXECUTION_PAUSED: "executionPaused";
|
|
144
|
+
readonly EXECUTION_PAUSING: "executionPausing";
|
|
145
|
+
readonly EXECUTION_PENDING: "executionPending";
|
|
146
|
+
readonly EXECUTION_PENDING_APPROVAL: "executionPendingApproval";
|
|
147
|
+
readonly EXECUTION_PENDING_CHILD_PLAN_MANUAL_APPROVAL: "executionPendingChildPlanManualApproval";
|
|
148
|
+
readonly EXECUTION_STARTED: "executionStarted";
|
|
149
|
+
readonly EXECUTION_SUCCEEDED: "executionSucceeded";
|
|
150
|
+
readonly EXECUTION_SUCCESS_MONITORING_APPLICATION_HEALTH: "executionSuccessMonitoringApplicationHealth";
|
|
151
|
+
readonly STEP_CANCELED: "stepCanceled";
|
|
152
|
+
readonly STEP_EXECUTION_BEHAVIOR_CHANGED_TO_UNGRACEFUL: "stepExecutionBehaviorChangedToUngraceful";
|
|
153
|
+
readonly STEP_FAILED: "stepFailed";
|
|
154
|
+
readonly STEP_PAUSED_BY_ERROR: "stepPausedByError";
|
|
155
|
+
readonly STEP_PAUSED_BY_OPERATOR: "stepPausedByOperator";
|
|
156
|
+
readonly STEP_PENDING_APPLICATION_HEALTH_MONITOR: "stepPendingApplicationHealthMonitor";
|
|
157
|
+
readonly STEP_PENDING_APPROVAL: "stepPendingApproval";
|
|
158
|
+
readonly STEP_SKIPPED: "stepSkipped";
|
|
159
|
+
readonly STEP_STARTED: "stepStarted";
|
|
160
|
+
readonly STEP_SUCCEEDED: "stepSucceeded";
|
|
161
|
+
readonly STEP_UPDATE: "stepUpdate";
|
|
162
|
+
readonly UNKNOWN: "unknown";
|
|
163
|
+
};
|
|
164
|
+
export type ExecutionEventType =
|
|
165
|
+
(typeof ExecutionEventType)[keyof typeof ExecutionEventType];
|
|
166
|
+
export declare const UpdatePlanExecutionAction: {
|
|
167
|
+
readonly PAUSE: "pause";
|
|
168
|
+
readonly RESUME: "resume";
|
|
169
|
+
readonly SWITCH_TO_GRACEFUL: "switchToGraceful";
|
|
170
|
+
readonly SWITCH_TO_UNGRACEFUL: "switchToUngraceful";
|
|
171
|
+
};
|
|
172
|
+
export type UpdatePlanExecutionAction =
|
|
173
|
+
(typeof UpdatePlanExecutionAction)[keyof typeof UpdatePlanExecutionAction];
|
|
174
|
+
export declare const UpdatePlanExecutionStepAction: {
|
|
175
|
+
readonly SKIP: "skip";
|
|
176
|
+
readonly SWITCH_TO_UNGRACEFUL: "switchToUngraceful";
|
|
177
|
+
};
|
|
178
|
+
export type UpdatePlanExecutionStepAction =
|
|
179
|
+
(typeof UpdatePlanExecutionStepAction)[keyof typeof UpdatePlanExecutionStepAction];
|