@aws-sdk/client-arc-region-switch 3.933.0 → 3.935.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 +12 -12
- 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,199 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const ExecutionAction = {
|
|
3
|
-
ACTIVATE: "activate",
|
|
4
|
-
DEACTIVATE: "deactivate",
|
|
5
|
-
};
|
|
6
|
-
export const ExecutionState = {
|
|
7
|
-
CANCELLED: "canceled",
|
|
8
|
-
COMPLETED: "completed",
|
|
9
|
-
COMPLETED_MONITORING_APPLICATION_HEALTH: "completedMonitoringApplicationHealth",
|
|
10
|
-
COMPLETED_WITH_EXCEPTIONS: "completedWithExceptions",
|
|
11
|
-
FAILED: "failed",
|
|
12
|
-
IN_PROGRESS: "inProgress",
|
|
13
|
-
PAUSED_BY_FAILED_STEP: "pausedByFailedStep",
|
|
14
|
-
PAUSED_BY_OPERATOR: "pausedByOperator",
|
|
15
|
-
PENDING: "pending",
|
|
16
|
-
PENDING_MANUAL_APPROVAL: "pendingManualApproval",
|
|
17
|
-
PLAN_EXECUTION_TIMED_OUT: "planExecutionTimedOut",
|
|
18
|
-
};
|
|
19
|
-
export const ExecutionMode = {
|
|
20
|
-
GRACEFUL: "graceful",
|
|
21
|
-
UNGRACEFUL: "ungraceful",
|
|
22
|
-
};
|
|
23
|
-
export const RecoveryApproach = {
|
|
24
|
-
ACTIVE_ACTIVE: "activeActive",
|
|
25
|
-
ACTIVE_PASSIVE: "activePassive",
|
|
26
|
-
};
|
|
27
|
-
export class AccessDeniedException extends __BaseException {
|
|
28
|
-
name = "AccessDeniedException";
|
|
29
|
-
$fault = "client";
|
|
30
|
-
constructor(opts) {
|
|
31
|
-
super({
|
|
32
|
-
name: "AccessDeniedException",
|
|
33
|
-
$fault: "client",
|
|
34
|
-
...opts,
|
|
35
|
-
});
|
|
36
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
export const AlarmCondition = {
|
|
40
|
-
GREEN: "green",
|
|
41
|
-
RED: "red",
|
|
42
|
-
};
|
|
43
|
-
export const AlarmType = {
|
|
44
|
-
APPLICATION_HEALTH: "applicationHealth",
|
|
45
|
-
TRIGGER: "trigger",
|
|
46
|
-
};
|
|
47
|
-
export const Approval = {
|
|
48
|
-
APPROVE: "approve",
|
|
49
|
-
DECLINE: "decline",
|
|
50
|
-
};
|
|
51
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
52
|
-
name = "ResourceNotFoundException";
|
|
53
|
-
$fault = "client";
|
|
54
|
-
constructor(opts) {
|
|
55
|
-
super({
|
|
56
|
-
name: "ResourceNotFoundException",
|
|
57
|
-
$fault: "client",
|
|
58
|
-
...opts,
|
|
59
|
-
});
|
|
60
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
export const EvaluationStatus = {
|
|
64
|
-
ACTION_REQUIRED: "actionRequired",
|
|
65
|
-
PASSED: "passed",
|
|
66
|
-
PENDING_EVALUATION: "pendingEvaluation",
|
|
67
|
-
UNKNOWN: "unknown",
|
|
68
|
-
};
|
|
69
|
-
export const ResourceWarningStatus = {
|
|
70
|
-
ACTIVE: "active",
|
|
71
|
-
RESOLVED: "resolved",
|
|
72
|
-
};
|
|
73
|
-
export const WorkflowTargetAction = {
|
|
74
|
-
ACTIVATE: "activate",
|
|
75
|
-
DEACTIVATE: "deactivate",
|
|
76
|
-
};
|
|
77
|
-
export const RoutingControlStateChange = {
|
|
78
|
-
OFF: "Off",
|
|
79
|
-
ON: "On",
|
|
80
|
-
};
|
|
81
|
-
export const RegionToRunIn = {
|
|
82
|
-
ACTIVATING_REGION: "activatingRegion",
|
|
83
|
-
DEACTIVATING_REGION: "deactivatingRegion",
|
|
84
|
-
};
|
|
85
|
-
export const LambdaUngracefulBehavior = {
|
|
86
|
-
SKIP: "skip",
|
|
87
|
-
};
|
|
88
|
-
export const Ec2AsgCapacityMonitoringApproach = {
|
|
89
|
-
AUTOSCALING_MAX_IN_LAST_24_HOURS: "autoscalingMaxInLast24Hours",
|
|
90
|
-
SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours",
|
|
91
|
-
};
|
|
92
|
-
export const EcsCapacityMonitoringApproach = {
|
|
93
|
-
CONTAINER_INSIGHTS_MAX_IN_LAST_24_HOURS: "containerInsightsMaxInLast24Hours",
|
|
94
|
-
SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours",
|
|
95
|
-
};
|
|
96
|
-
export const EksCapacityMonitoringApproach = {
|
|
97
|
-
SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours",
|
|
98
|
-
};
|
|
99
|
-
export const GlobalAuroraDefaultBehavior = {
|
|
100
|
-
FAILOVER: "failover",
|
|
101
|
-
SWITCHOVER_ONLY: "switchoverOnly",
|
|
102
|
-
};
|
|
103
|
-
export const GlobalAuroraUngracefulBehavior = {
|
|
104
|
-
FAILOVER: "failover",
|
|
105
|
-
};
|
|
106
|
-
export const ExecutionBlockType = {
|
|
107
|
-
AURORA: "AuroraGlobalDatabase",
|
|
108
|
-
CUSTOM_ACTION_LAMBDA: "CustomActionLambda",
|
|
109
|
-
EC2_ASG: "EC2AutoScaling",
|
|
110
|
-
ECS: "ECSServiceScaling",
|
|
111
|
-
EKS_RESOURCE_SCALING: "EKSResourceScaling",
|
|
112
|
-
EXECUTION_APPROVAL: "ManualApproval",
|
|
113
|
-
PARALLEL: "Parallel",
|
|
114
|
-
REGION_SWITCH: "ARCRegionSwitchPlan",
|
|
115
|
-
ROUTE53_HEALTH_CHECK: "Route53HealthCheck",
|
|
116
|
-
ROUTING_CONTROL: "ARCRoutingControl",
|
|
117
|
-
};
|
|
118
|
-
export const StepStatus = {
|
|
119
|
-
CANCELLED: "canceled",
|
|
120
|
-
COMPLETED: "completed",
|
|
121
|
-
FAILED: "failed",
|
|
122
|
-
NOT_STARTED: "notStarted",
|
|
123
|
-
PENDING_APPROVAL: "pendingApproval",
|
|
124
|
-
RUNNING: "running",
|
|
125
|
-
SKIPPED: "skipped",
|
|
126
|
-
};
|
|
127
|
-
export const ExecutionEventType = {
|
|
128
|
-
EXECUTION_BEHAVIOR_CHANGED_TO_GRACEFUL: "executionBehaviorChangedToGraceful",
|
|
129
|
-
EXECUTION_BEHAVIOR_CHANGED_TO_UNGRACEFUL: "executionBehaviorChangedToUngraceful",
|
|
130
|
-
EXECUTION_CANCELED: "executionCanceled",
|
|
131
|
-
EXECUTION_CANCELING: "executionCanceling",
|
|
132
|
-
EXECUTION_FAILED: "executionFailed",
|
|
133
|
-
EXECUTION_PAUSED: "executionPaused",
|
|
134
|
-
EXECUTION_PAUSING: "executionPausing",
|
|
135
|
-
EXECUTION_PENDING: "executionPending",
|
|
136
|
-
EXECUTION_PENDING_APPROVAL: "executionPendingApproval",
|
|
137
|
-
EXECUTION_PENDING_CHILD_PLAN_MANUAL_APPROVAL: "executionPendingChildPlanManualApproval",
|
|
138
|
-
EXECUTION_STARTED: "executionStarted",
|
|
139
|
-
EXECUTION_SUCCEEDED: "executionSucceeded",
|
|
140
|
-
EXECUTION_SUCCESS_MONITORING_APPLICATION_HEALTH: "executionSuccessMonitoringApplicationHealth",
|
|
141
|
-
STEP_CANCELED: "stepCanceled",
|
|
142
|
-
STEP_EXECUTION_BEHAVIOR_CHANGED_TO_UNGRACEFUL: "stepExecutionBehaviorChangedToUngraceful",
|
|
143
|
-
STEP_FAILED: "stepFailed",
|
|
144
|
-
STEP_PAUSED_BY_ERROR: "stepPausedByError",
|
|
145
|
-
STEP_PAUSED_BY_OPERATOR: "stepPausedByOperator",
|
|
146
|
-
STEP_PENDING_APPLICATION_HEALTH_MONITOR: "stepPendingApplicationHealthMonitor",
|
|
147
|
-
STEP_PENDING_APPROVAL: "stepPendingApproval",
|
|
148
|
-
STEP_SKIPPED: "stepSkipped",
|
|
149
|
-
STEP_STARTED: "stepStarted",
|
|
150
|
-
STEP_SUCCEEDED: "stepSucceeded",
|
|
151
|
-
STEP_UPDATE: "stepUpdate",
|
|
152
|
-
UNKNOWN: "unknown",
|
|
153
|
-
};
|
|
154
|
-
export class InternalServerException extends __BaseException {
|
|
155
|
-
name = "InternalServerException";
|
|
156
|
-
$fault = "server";
|
|
157
|
-
constructor(opts) {
|
|
158
|
-
super({
|
|
159
|
-
name: "InternalServerException",
|
|
160
|
-
$fault: "server",
|
|
161
|
-
...opts,
|
|
162
|
-
});
|
|
163
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
export class IllegalStateException extends __BaseException {
|
|
167
|
-
name = "IllegalStateException";
|
|
168
|
-
$fault = "client";
|
|
169
|
-
constructor(opts) {
|
|
170
|
-
super({
|
|
171
|
-
name: "IllegalStateException",
|
|
172
|
-
$fault: "client",
|
|
173
|
-
...opts,
|
|
174
|
-
});
|
|
175
|
-
Object.setPrototypeOf(this, IllegalStateException.prototype);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
export class IllegalArgumentException extends __BaseException {
|
|
179
|
-
name = "IllegalArgumentException";
|
|
180
|
-
$fault = "client";
|
|
181
|
-
constructor(opts) {
|
|
182
|
-
super({
|
|
183
|
-
name: "IllegalArgumentException",
|
|
184
|
-
$fault: "client",
|
|
185
|
-
...opts,
|
|
186
|
-
});
|
|
187
|
-
Object.setPrototypeOf(this, IllegalArgumentException.prototype);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
export const UpdatePlanExecutionAction = {
|
|
191
|
-
PAUSE: "pause",
|
|
192
|
-
RESUME: "resume",
|
|
193
|
-
SWITCH_TO_GRACEFUL: "switchToGraceful",
|
|
194
|
-
SWITCH_TO_UNGRACEFUL: "switchToUngraceful",
|
|
195
|
-
};
|
|
196
|
-
export const UpdatePlanExecutionStepAction = {
|
|
197
|
-
SKIP: "skip",
|
|
198
|
-
SWITCH_TO_UNGRACEFUL: "switchToUngraceful",
|
|
199
|
-
};
|
|
1
|
+
export {};
|
|
@@ -246,7 +246,7 @@ const _wo = "workflow";
|
|
|
246
246
|
const n0 = "com.amazonaws.arcregionswitch";
|
|
247
247
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
248
248
|
import { ARCRegionSwitchServiceException as __ARCRegionSwitchServiceException } from "../models/ARCRegionSwitchServiceException";
|
|
249
|
-
import { AccessDeniedException as __AccessDeniedException, IllegalArgumentException as __IllegalArgumentException, IllegalStateException as __IllegalStateException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, } from "../models/
|
|
249
|
+
import { AccessDeniedException as __AccessDeniedException, IllegalArgumentException as __IllegalArgumentException, IllegalStateException as __IllegalStateException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, } from "../models/errors";
|
|
250
250
|
export var AbbreviatedExecution = [
|
|
251
251
|
3,
|
|
252
252
|
n0,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -11,5 +11,7 @@ export type { ARCRegionSwitchExtensionConfiguration } from "./extensionConfigura
|
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
13
|
export * from "./waiters";
|
|
14
|
-
export * from "./models";
|
|
14
|
+
export * from "./models/enums";
|
|
15
|
+
export * from "./models/errors";
|
|
16
|
+
export type * from "./models/models_0";
|
|
15
17
|
export { ARCRegionSwitchServiceException } from "./models/ARCRegionSwitchServiceException";
|
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ExecutionAction: {
|
|
6
|
+
readonly ACTIVATE: "activate";
|
|
7
|
+
readonly DEACTIVATE: "deactivate";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type ExecutionAction = (typeof ExecutionAction)[keyof typeof ExecutionAction];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const ExecutionState: {
|
|
18
|
+
readonly CANCELLED: "canceled";
|
|
19
|
+
readonly COMPLETED: "completed";
|
|
20
|
+
readonly COMPLETED_MONITORING_APPLICATION_HEALTH: "completedMonitoringApplicationHealth";
|
|
21
|
+
readonly COMPLETED_WITH_EXCEPTIONS: "completedWithExceptions";
|
|
22
|
+
readonly FAILED: "failed";
|
|
23
|
+
readonly IN_PROGRESS: "inProgress";
|
|
24
|
+
readonly PAUSED_BY_FAILED_STEP: "pausedByFailedStep";
|
|
25
|
+
readonly PAUSED_BY_OPERATOR: "pausedByOperator";
|
|
26
|
+
readonly PENDING: "pending";
|
|
27
|
+
readonly PENDING_MANUAL_APPROVAL: "pendingManualApproval";
|
|
28
|
+
readonly PLAN_EXECUTION_TIMED_OUT: "planExecutionTimedOut";
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export type ExecutionState = (typeof ExecutionState)[keyof typeof ExecutionState];
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
* @enum
|
|
37
|
+
*/
|
|
38
|
+
export declare const ExecutionMode: {
|
|
39
|
+
readonly GRACEFUL: "graceful";
|
|
40
|
+
readonly UNGRACEFUL: "ungraceful";
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export type ExecutionMode = (typeof ExecutionMode)[keyof typeof ExecutionMode];
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
* @enum
|
|
49
|
+
*/
|
|
50
|
+
export declare const RecoveryApproach: {
|
|
51
|
+
readonly ACTIVE_ACTIVE: "activeActive";
|
|
52
|
+
readonly ACTIVE_PASSIVE: "activePassive";
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
export type RecoveryApproach = (typeof RecoveryApproach)[keyof typeof RecoveryApproach];
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
* @enum
|
|
61
|
+
*/
|
|
62
|
+
export declare const AlarmCondition: {
|
|
63
|
+
readonly GREEN: "green";
|
|
64
|
+
readonly RED: "red";
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export type AlarmCondition = (typeof AlarmCondition)[keyof typeof AlarmCondition];
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
* @enum
|
|
73
|
+
*/
|
|
74
|
+
export declare const AlarmType: {
|
|
75
|
+
readonly APPLICATION_HEALTH: "applicationHealth";
|
|
76
|
+
readonly TRIGGER: "trigger";
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export type AlarmType = (typeof AlarmType)[keyof typeof AlarmType];
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
* @enum
|
|
85
|
+
*/
|
|
86
|
+
export declare const Approval: {
|
|
87
|
+
readonly APPROVE: "approve";
|
|
88
|
+
readonly DECLINE: "decline";
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export type Approval = (typeof Approval)[keyof typeof Approval];
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
* @enum
|
|
97
|
+
*/
|
|
98
|
+
export declare const EvaluationStatus: {
|
|
99
|
+
readonly ACTION_REQUIRED: "actionRequired";
|
|
100
|
+
readonly PASSED: "passed";
|
|
101
|
+
readonly PENDING_EVALUATION: "pendingEvaluation";
|
|
102
|
+
readonly UNKNOWN: "unknown";
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export type EvaluationStatus = (typeof EvaluationStatus)[keyof typeof EvaluationStatus];
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
* @enum
|
|
111
|
+
*/
|
|
112
|
+
export declare const ResourceWarningStatus: {
|
|
113
|
+
readonly ACTIVE: "active";
|
|
114
|
+
readonly RESOLVED: "resolved";
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
export type ResourceWarningStatus = (typeof ResourceWarningStatus)[keyof typeof ResourceWarningStatus];
|
|
120
|
+
/**
|
|
121
|
+
* @public
|
|
122
|
+
* @enum
|
|
123
|
+
*/
|
|
124
|
+
export declare const WorkflowTargetAction: {
|
|
125
|
+
readonly ACTIVATE: "activate";
|
|
126
|
+
readonly DEACTIVATE: "deactivate";
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
export type WorkflowTargetAction = (typeof WorkflowTargetAction)[keyof typeof WorkflowTargetAction];
|
|
132
|
+
/**
|
|
133
|
+
* @public
|
|
134
|
+
* @enum
|
|
135
|
+
*/
|
|
136
|
+
export declare const RoutingControlStateChange: {
|
|
137
|
+
readonly OFF: "Off";
|
|
138
|
+
readonly ON: "On";
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
export type RoutingControlStateChange = (typeof RoutingControlStateChange)[keyof typeof RoutingControlStateChange];
|
|
144
|
+
/**
|
|
145
|
+
* @public
|
|
146
|
+
* @enum
|
|
147
|
+
*/
|
|
148
|
+
export declare const RegionToRunIn: {
|
|
149
|
+
readonly ACTIVATING_REGION: "activatingRegion";
|
|
150
|
+
readonly DEACTIVATING_REGION: "deactivatingRegion";
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
export type RegionToRunIn = (typeof RegionToRunIn)[keyof typeof RegionToRunIn];
|
|
156
|
+
/**
|
|
157
|
+
* @public
|
|
158
|
+
* @enum
|
|
159
|
+
*/
|
|
160
|
+
export declare const LambdaUngracefulBehavior: {
|
|
161
|
+
readonly SKIP: "skip";
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
export type LambdaUngracefulBehavior = (typeof LambdaUngracefulBehavior)[keyof typeof LambdaUngracefulBehavior];
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
* @enum
|
|
170
|
+
*/
|
|
171
|
+
export declare const Ec2AsgCapacityMonitoringApproach: {
|
|
172
|
+
readonly AUTOSCALING_MAX_IN_LAST_24_HOURS: "autoscalingMaxInLast24Hours";
|
|
173
|
+
readonly SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours";
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
export type Ec2AsgCapacityMonitoringApproach = (typeof Ec2AsgCapacityMonitoringApproach)[keyof typeof Ec2AsgCapacityMonitoringApproach];
|
|
179
|
+
/**
|
|
180
|
+
* @public
|
|
181
|
+
* @enum
|
|
182
|
+
*/
|
|
183
|
+
export declare const EcsCapacityMonitoringApproach: {
|
|
184
|
+
readonly CONTAINER_INSIGHTS_MAX_IN_LAST_24_HOURS: "containerInsightsMaxInLast24Hours";
|
|
185
|
+
readonly SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours";
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* @public
|
|
189
|
+
*/
|
|
190
|
+
export type EcsCapacityMonitoringApproach = (typeof EcsCapacityMonitoringApproach)[keyof typeof EcsCapacityMonitoringApproach];
|
|
191
|
+
/**
|
|
192
|
+
* @public
|
|
193
|
+
* @enum
|
|
194
|
+
*/
|
|
195
|
+
export declare const EksCapacityMonitoringApproach: {
|
|
196
|
+
readonly SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours";
|
|
197
|
+
};
|
|
198
|
+
/**
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
export type EksCapacityMonitoringApproach = (typeof EksCapacityMonitoringApproach)[keyof typeof EksCapacityMonitoringApproach];
|
|
202
|
+
/**
|
|
203
|
+
* @public
|
|
204
|
+
* @enum
|
|
205
|
+
*/
|
|
206
|
+
export declare const GlobalAuroraDefaultBehavior: {
|
|
207
|
+
readonly FAILOVER: "failover";
|
|
208
|
+
readonly SWITCHOVER_ONLY: "switchoverOnly";
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* @public
|
|
212
|
+
*/
|
|
213
|
+
export type GlobalAuroraDefaultBehavior = (typeof GlobalAuroraDefaultBehavior)[keyof typeof GlobalAuroraDefaultBehavior];
|
|
214
|
+
/**
|
|
215
|
+
* @public
|
|
216
|
+
* @enum
|
|
217
|
+
*/
|
|
218
|
+
export declare const GlobalAuroraUngracefulBehavior: {
|
|
219
|
+
readonly FAILOVER: "failover";
|
|
220
|
+
};
|
|
221
|
+
/**
|
|
222
|
+
* @public
|
|
223
|
+
*/
|
|
224
|
+
export type GlobalAuroraUngracefulBehavior = (typeof GlobalAuroraUngracefulBehavior)[keyof typeof GlobalAuroraUngracefulBehavior];
|
|
225
|
+
/**
|
|
226
|
+
* @public
|
|
227
|
+
* @enum
|
|
228
|
+
*/
|
|
229
|
+
export declare const ExecutionBlockType: {
|
|
230
|
+
readonly AURORA: "AuroraGlobalDatabase";
|
|
231
|
+
readonly CUSTOM_ACTION_LAMBDA: "CustomActionLambda";
|
|
232
|
+
readonly EC2_ASG: "EC2AutoScaling";
|
|
233
|
+
readonly ECS: "ECSServiceScaling";
|
|
234
|
+
readonly EKS_RESOURCE_SCALING: "EKSResourceScaling";
|
|
235
|
+
readonly EXECUTION_APPROVAL: "ManualApproval";
|
|
236
|
+
readonly PARALLEL: "Parallel";
|
|
237
|
+
readonly REGION_SWITCH: "ARCRegionSwitchPlan";
|
|
238
|
+
readonly ROUTE53_HEALTH_CHECK: "Route53HealthCheck";
|
|
239
|
+
readonly ROUTING_CONTROL: "ARCRoutingControl";
|
|
240
|
+
};
|
|
241
|
+
/**
|
|
242
|
+
* @public
|
|
243
|
+
*/
|
|
244
|
+
export type ExecutionBlockType = (typeof ExecutionBlockType)[keyof typeof ExecutionBlockType];
|
|
245
|
+
/**
|
|
246
|
+
* @public
|
|
247
|
+
* @enum
|
|
248
|
+
*/
|
|
249
|
+
export declare const StepStatus: {
|
|
250
|
+
readonly CANCELLED: "canceled";
|
|
251
|
+
readonly COMPLETED: "completed";
|
|
252
|
+
readonly FAILED: "failed";
|
|
253
|
+
readonly NOT_STARTED: "notStarted";
|
|
254
|
+
readonly PENDING_APPROVAL: "pendingApproval";
|
|
255
|
+
readonly RUNNING: "running";
|
|
256
|
+
readonly SKIPPED: "skipped";
|
|
257
|
+
};
|
|
258
|
+
/**
|
|
259
|
+
* @public
|
|
260
|
+
*/
|
|
261
|
+
export type StepStatus = (typeof StepStatus)[keyof typeof StepStatus];
|
|
262
|
+
/**
|
|
263
|
+
* @public
|
|
264
|
+
* @enum
|
|
265
|
+
*/
|
|
266
|
+
export declare const ExecutionEventType: {
|
|
267
|
+
readonly EXECUTION_BEHAVIOR_CHANGED_TO_GRACEFUL: "executionBehaviorChangedToGraceful";
|
|
268
|
+
readonly EXECUTION_BEHAVIOR_CHANGED_TO_UNGRACEFUL: "executionBehaviorChangedToUngraceful";
|
|
269
|
+
readonly EXECUTION_CANCELED: "executionCanceled";
|
|
270
|
+
readonly EXECUTION_CANCELING: "executionCanceling";
|
|
271
|
+
readonly EXECUTION_FAILED: "executionFailed";
|
|
272
|
+
readonly EXECUTION_PAUSED: "executionPaused";
|
|
273
|
+
readonly EXECUTION_PAUSING: "executionPausing";
|
|
274
|
+
readonly EXECUTION_PENDING: "executionPending";
|
|
275
|
+
readonly EXECUTION_PENDING_APPROVAL: "executionPendingApproval";
|
|
276
|
+
readonly EXECUTION_PENDING_CHILD_PLAN_MANUAL_APPROVAL: "executionPendingChildPlanManualApproval";
|
|
277
|
+
readonly EXECUTION_STARTED: "executionStarted";
|
|
278
|
+
readonly EXECUTION_SUCCEEDED: "executionSucceeded";
|
|
279
|
+
readonly EXECUTION_SUCCESS_MONITORING_APPLICATION_HEALTH: "executionSuccessMonitoringApplicationHealth";
|
|
280
|
+
readonly STEP_CANCELED: "stepCanceled";
|
|
281
|
+
readonly STEP_EXECUTION_BEHAVIOR_CHANGED_TO_UNGRACEFUL: "stepExecutionBehaviorChangedToUngraceful";
|
|
282
|
+
readonly STEP_FAILED: "stepFailed";
|
|
283
|
+
readonly STEP_PAUSED_BY_ERROR: "stepPausedByError";
|
|
284
|
+
readonly STEP_PAUSED_BY_OPERATOR: "stepPausedByOperator";
|
|
285
|
+
readonly STEP_PENDING_APPLICATION_HEALTH_MONITOR: "stepPendingApplicationHealthMonitor";
|
|
286
|
+
readonly STEP_PENDING_APPROVAL: "stepPendingApproval";
|
|
287
|
+
readonly STEP_SKIPPED: "stepSkipped";
|
|
288
|
+
readonly STEP_STARTED: "stepStarted";
|
|
289
|
+
readonly STEP_SUCCEEDED: "stepSucceeded";
|
|
290
|
+
readonly STEP_UPDATE: "stepUpdate";
|
|
291
|
+
readonly UNKNOWN: "unknown";
|
|
292
|
+
};
|
|
293
|
+
/**
|
|
294
|
+
* @public
|
|
295
|
+
*/
|
|
296
|
+
export type ExecutionEventType = (typeof ExecutionEventType)[keyof typeof ExecutionEventType];
|
|
297
|
+
/**
|
|
298
|
+
* @public
|
|
299
|
+
* @enum
|
|
300
|
+
*/
|
|
301
|
+
export declare const UpdatePlanExecutionAction: {
|
|
302
|
+
readonly PAUSE: "pause";
|
|
303
|
+
readonly RESUME: "resume";
|
|
304
|
+
readonly SWITCH_TO_GRACEFUL: "switchToGraceful";
|
|
305
|
+
readonly SWITCH_TO_UNGRACEFUL: "switchToUngraceful";
|
|
306
|
+
};
|
|
307
|
+
/**
|
|
308
|
+
* @public
|
|
309
|
+
*/
|
|
310
|
+
export type UpdatePlanExecutionAction = (typeof UpdatePlanExecutionAction)[keyof typeof UpdatePlanExecutionAction];
|
|
311
|
+
/**
|
|
312
|
+
* @public
|
|
313
|
+
* @enum
|
|
314
|
+
*/
|
|
315
|
+
export declare const UpdatePlanExecutionStepAction: {
|
|
316
|
+
readonly SKIP: "skip";
|
|
317
|
+
readonly SWITCH_TO_UNGRACEFUL: "switchToUngraceful";
|
|
318
|
+
};
|
|
319
|
+
/**
|
|
320
|
+
* @public
|
|
321
|
+
*/
|
|
322
|
+
export type UpdatePlanExecutionStepAction = (typeof UpdatePlanExecutionStepAction)[keyof typeof UpdatePlanExecutionStepAction];
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ARCRegionSwitchServiceException as __BaseException } from "./ARCRegionSwitchServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You do not have sufficient access to perform this action.</p> <p>HTTP Status Code: 403</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>The specified resource was not found.</p> <p>HTTP Status Code: 404</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
20
|
+
readonly name: "ResourceNotFoundException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure.</p> <p>HTTP Status Code: 500</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export declare class InternalServerException extends __BaseException {
|
|
32
|
+
readonly name: "InternalServerException";
|
|
33
|
+
readonly $fault: "server";
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* <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>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export declare class IllegalStateException extends __BaseException {
|
|
44
|
+
readonly name: "IllegalStateException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
constructor(opts: __ExceptionOptionType<IllegalStateException, __BaseException>);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* <p>The request processing has an invalid argument.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
export declare class IllegalArgumentException extends __BaseException {
|
|
56
|
+
readonly name: "IllegalArgumentException";
|
|
57
|
+
readonly $fault: "client";
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
constructor(opts: __ExceptionOptionType<IllegalArgumentException, __BaseException>);
|
|
62
|
+
}
|