@aws-sdk/client-arc-region-switch 3.859.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/LICENSE +201 -0
- package/README.md +365 -0
- package/dist-cjs/ARCRegionSwitch.js +51 -0
- package/dist-cjs/ARCRegionSwitchClient.js +52 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/ApprovePlanExecutionStepCommand.js +26 -0
- package/dist-cjs/commands/CancelPlanExecutionCommand.js +26 -0
- package/dist-cjs/commands/CreatePlanCommand.js +29 -0
- package/dist-cjs/commands/DeletePlanCommand.js +29 -0
- package/dist-cjs/commands/GetPlanCommand.js +29 -0
- package/dist-cjs/commands/GetPlanEvaluationStatusCommand.js +26 -0
- package/dist-cjs/commands/GetPlanExecutionCommand.js +26 -0
- package/dist-cjs/commands/GetPlanInRegionCommand.js +26 -0
- package/dist-cjs/commands/ListPlanExecutionEventsCommand.js +26 -0
- package/dist-cjs/commands/ListPlanExecutionsCommand.js +26 -0
- package/dist-cjs/commands/ListPlansCommand.js +29 -0
- package/dist-cjs/commands/ListPlansInRegionCommand.js +26 -0
- package/dist-cjs/commands/ListRoute53HealthChecksCommand.js +29 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +29 -0
- package/dist-cjs/commands/StartPlanExecutionCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +29 -0
- package/dist-cjs/commands/UntagResourceCommand.js +29 -0
- package/dist-cjs/commands/UpdatePlanCommand.js +29 -0
- package/dist-cjs/commands/UpdatePlanExecutionCommand.js +26 -0
- package/dist-cjs/commands/UpdatePlanExecutionStepCommand.js +26 -0
- package/dist-cjs/commands/index.js +23 -0
- package/dist-cjs/endpoint/EndpointParameters.js +15 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/ARCRegionSwitchServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +233 -0
- package/dist-cjs/pagination/GetPlanEvaluationStatusPaginator.js +7 -0
- package/dist-cjs/pagination/GetPlanExecutionPaginator.js +7 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListPlanExecutionEventsPaginator.js +7 -0
- package/dist-cjs/pagination/ListPlanExecutionsPaginator.js +7 -0
- package/dist-cjs/pagination/ListPlansInRegionPaginator.js +7 -0
- package/dist-cjs/pagination/ListPlansPaginator.js +7 -0
- package/dist-cjs/pagination/ListRoute53HealthChecksPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +11 -0
- package/dist-cjs/protocols/Aws_json1_0.js +919 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +13 -0
- package/dist-cjs/waiters/index.js +5 -0
- package/dist-cjs/waiters/waitForPlanEvaluationStatusPassed.js +54 -0
- package/dist-cjs/waiters/waitForPlanExecutionCompleted.js +72 -0
- package/dist-es/ARCRegionSwitch.js +47 -0
- package/dist-es/ARCRegionSwitchClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/ApprovePlanExecutionStepCommand.js +22 -0
- package/dist-es/commands/CancelPlanExecutionCommand.js +22 -0
- package/dist-es/commands/CreatePlanCommand.js +25 -0
- package/dist-es/commands/DeletePlanCommand.js +25 -0
- package/dist-es/commands/GetPlanCommand.js +25 -0
- package/dist-es/commands/GetPlanEvaluationStatusCommand.js +22 -0
- package/dist-es/commands/GetPlanExecutionCommand.js +22 -0
- package/dist-es/commands/GetPlanInRegionCommand.js +22 -0
- package/dist-es/commands/ListPlanExecutionEventsCommand.js +22 -0
- package/dist-es/commands/ListPlanExecutionsCommand.js +22 -0
- package/dist-es/commands/ListPlansCommand.js +25 -0
- package/dist-es/commands/ListPlansInRegionCommand.js +22 -0
- package/dist-es/commands/ListRoute53HealthChecksCommand.js +25 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +25 -0
- package/dist-es/commands/StartPlanExecutionCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +25 -0
- package/dist-es/commands/UntagResourceCommand.js +25 -0
- package/dist-es/commands/UpdatePlanCommand.js +25 -0
- package/dist-es/commands/UpdatePlanExecutionCommand.js +22 -0
- package/dist-es/commands/UpdatePlanExecutionStepCommand.js +22 -0
- package/dist-es/commands/index.js +20 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/ARCRegionSwitchServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +225 -0
- package/dist-es/pagination/GetPlanEvaluationStatusPaginator.js +4 -0
- package/dist-es/pagination/GetPlanExecutionPaginator.js +4 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListPlanExecutionEventsPaginator.js +4 -0
- package/dist-es/pagination/ListPlanExecutionsPaginator.js +4 -0
- package/dist-es/pagination/ListPlansInRegionPaginator.js +4 -0
- package/dist-es/pagination/ListPlansPaginator.js +4 -0
- package/dist-es/pagination/ListRoute53HealthChecksPaginator.js +4 -0
- package/dist-es/pagination/index.js +8 -0
- package/dist-es/protocols/Aws_json1_0.js +876 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForPlanEvaluationStatusPassed.js +49 -0
- package/dist-es/waiters/waitForPlanExecutionCompleted.js +67 -0
- package/dist-types/ARCRegionSwitch.d.ts +152 -0
- package/dist-types/ARCRegionSwitchClient.d.ts +207 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/ApprovePlanExecutionStepCommand.d.ts +80 -0
- package/dist-types/commands/CancelPlanExecutionCommand.d.ts +78 -0
- package/dist-types/commands/CreatePlanCommand.d.ts +697 -0
- package/dist-types/commands/DeletePlanCommand.d.ts +76 -0
- package/dist-types/commands/GetPlanCommand.d.ts +389 -0
- package/dist-types/commands/GetPlanEvaluationStatusCommand.d.ts +99 -0
- package/dist-types/commands/GetPlanExecutionCommand.d.ts +417 -0
- package/dist-types/commands/GetPlanInRegionCommand.d.ts +392 -0
- package/dist-types/commands/ListPlanExecutionEventsCommand.d.ts +97 -0
- package/dist-types/commands/ListPlanExecutionsCommand.d.ts +97 -0
- package/dist-types/commands/ListPlansCommand.d.ts +91 -0
- package/dist-types/commands/ListPlansInRegionCommand.d.ts +94 -0
- package/dist-types/commands/ListRoute53HealthChecksCommand.d.ts +93 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +80 -0
- package/dist-types/commands/StartPlanExecutionCommand.d.ts +93 -0
- package/dist-types/commands/TagResourceCommand.d.ts +79 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +79 -0
- package/dist-types/commands/UpdatePlanCommand.d.ts +692 -0
- package/dist-types/commands/UpdatePlanExecutionCommand.d.ts +82 -0
- package/dist-types/commands/UpdatePlanExecutionStepCommand.d.ts +80 -0
- package/dist-types/commands/index.d.ts +20 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +15 -0
- package/dist-types/models/ARCRegionSwitchServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2370 -0
- package/dist-types/pagination/GetPlanEvaluationStatusPaginator.d.ts +7 -0
- package/dist-types/pagination/GetPlanExecutionPaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListPlanExecutionEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPlanExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPlansInRegionPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPlansPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRoute53HealthChecksPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +182 -0
- package/dist-types/runtimeConfig.browser.d.ts +50 -0
- package/dist-types/runtimeConfig.d.ts +50 -0
- package/dist-types/runtimeConfig.native.d.ts +49 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/ARCRegionSwitch.d.ts +349 -0
- package/dist-types/ts3.4/ARCRegionSwitchClient.d.ts +240 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/ApprovePlanExecutionStepCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CancelPlanExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreatePlanCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeletePlanCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetPlanCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetPlanEvaluationStatusCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPlanExecutionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetPlanInRegionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListPlanExecutionEventsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPlanExecutionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPlansCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListPlansInRegionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListRoute53HealthChecksCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartPlanExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdatePlanCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdatePlanExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdatePlanExecutionStepCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +20 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +46 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/ARCRegionSwitchServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +813 -0
- package/dist-types/ts3.4/pagination/GetPlanEvaluationStatusPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetPlanExecutionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListPlanExecutionEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPlanExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPlansInRegionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPlansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRoute53HealthChecksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +245 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForPlanEvaluationStatusPassed.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPlanExecutionCompleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForPlanEvaluationStatusPassed.d.ts +14 -0
- package/dist-types/waiters/waitForPlanExecutionCompleted.d.ts +14 -0
- package/package.json +100 -0
|
@@ -0,0 +1,813 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ARCRegionSwitchServiceException as __BaseException } from "./ARCRegionSwitchServiceException";
|
|
3
|
+
export declare const ExecutionAction: {
|
|
4
|
+
readonly ACTIVATE: "activate";
|
|
5
|
+
readonly DEACTIVATE: "deactivate";
|
|
6
|
+
};
|
|
7
|
+
export type ExecutionAction =
|
|
8
|
+
(typeof ExecutionAction)[keyof typeof ExecutionAction];
|
|
9
|
+
export declare const ExecutionState: {
|
|
10
|
+
readonly CANCELLED: "canceled";
|
|
11
|
+
readonly COMPLETED: "completed";
|
|
12
|
+
readonly COMPLETED_MONITORING_APPLICATION_HEALTH: "completedMonitoringApplicationHealth";
|
|
13
|
+
readonly COMPLETED_WITH_EXCEPTIONS: "completedWithExceptions";
|
|
14
|
+
readonly FAILED: "failed";
|
|
15
|
+
readonly IN_PROGRESS: "inProgress";
|
|
16
|
+
readonly PAUSED_BY_FAILED_STEP: "pausedByFailedStep";
|
|
17
|
+
readonly PAUSED_BY_OPERATOR: "pausedByOperator";
|
|
18
|
+
readonly PENDING: "pending";
|
|
19
|
+
readonly PENDING_MANUAL_APPROVAL: "pendingManualApproval";
|
|
20
|
+
readonly PLAN_EXECUTION_TIMED_OUT: "planExecutionTimedOut";
|
|
21
|
+
};
|
|
22
|
+
export type ExecutionState =
|
|
23
|
+
(typeof ExecutionState)[keyof typeof ExecutionState];
|
|
24
|
+
export declare const ExecutionMode: {
|
|
25
|
+
readonly GRACEFUL: "graceful";
|
|
26
|
+
readonly UNGRACEFUL: "ungraceful";
|
|
27
|
+
};
|
|
28
|
+
export type ExecutionMode = (typeof ExecutionMode)[keyof typeof ExecutionMode];
|
|
29
|
+
export interface AbbreviatedExecution {
|
|
30
|
+
planArn: string | undefined;
|
|
31
|
+
executionId: string | undefined;
|
|
32
|
+
version?: string | undefined;
|
|
33
|
+
updatedAt?: Date | undefined;
|
|
34
|
+
comment?: string | undefined;
|
|
35
|
+
startTime: Date | undefined;
|
|
36
|
+
endTime?: Date | undefined;
|
|
37
|
+
mode: ExecutionMode | undefined;
|
|
38
|
+
executionState: ExecutionState | undefined;
|
|
39
|
+
executionAction: ExecutionAction | undefined;
|
|
40
|
+
executionRegion: string | undefined;
|
|
41
|
+
actualRecoveryTime?: string | undefined;
|
|
42
|
+
}
|
|
43
|
+
export declare const RecoveryApproach: {
|
|
44
|
+
readonly ACTIVE_ACTIVE: "activeActive";
|
|
45
|
+
readonly ACTIVE_PASSIVE: "activePassive";
|
|
46
|
+
};
|
|
47
|
+
export type RecoveryApproach =
|
|
48
|
+
(typeof RecoveryApproach)[keyof typeof RecoveryApproach];
|
|
49
|
+
export interface AbbreviatedPlan {
|
|
50
|
+
arn: string | undefined;
|
|
51
|
+
owner: string | undefined;
|
|
52
|
+
name: string | undefined;
|
|
53
|
+
regions: string[] | undefined;
|
|
54
|
+
recoveryApproach: RecoveryApproach | undefined;
|
|
55
|
+
primaryRegion?: string | undefined;
|
|
56
|
+
version?: string | undefined;
|
|
57
|
+
updatedAt?: Date | undefined;
|
|
58
|
+
description?: string | undefined;
|
|
59
|
+
executionRole?: string | undefined;
|
|
60
|
+
activePlanExecution?: string | undefined;
|
|
61
|
+
recoveryTimeObjectiveMinutes?: number | undefined;
|
|
62
|
+
}
|
|
63
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
64
|
+
readonly name: "AccessDeniedException";
|
|
65
|
+
readonly $fault: "client";
|
|
66
|
+
constructor(
|
|
67
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
export declare const AlarmCondition: {
|
|
71
|
+
readonly GREEN: "green";
|
|
72
|
+
readonly RED: "red";
|
|
73
|
+
};
|
|
74
|
+
export type AlarmCondition =
|
|
75
|
+
(typeof AlarmCondition)[keyof typeof AlarmCondition];
|
|
76
|
+
export declare const AlarmType: {
|
|
77
|
+
readonly APPLICATION_HEALTH: "applicationHealth";
|
|
78
|
+
readonly TRIGGER: "trigger";
|
|
79
|
+
};
|
|
80
|
+
export type AlarmType = (typeof AlarmType)[keyof typeof AlarmType];
|
|
81
|
+
export declare const Approval: {
|
|
82
|
+
readonly APPROVE: "approve";
|
|
83
|
+
readonly DECLINE: "decline";
|
|
84
|
+
};
|
|
85
|
+
export type Approval = (typeof Approval)[keyof typeof Approval];
|
|
86
|
+
export interface ApprovePlanExecutionStepRequest {
|
|
87
|
+
planArn: string | undefined;
|
|
88
|
+
executionId: string | undefined;
|
|
89
|
+
stepName: string | undefined;
|
|
90
|
+
approval: Approval | undefined;
|
|
91
|
+
comment?: string | undefined;
|
|
92
|
+
}
|
|
93
|
+
export interface ApprovePlanExecutionStepResponse {}
|
|
94
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
95
|
+
readonly name: "ResourceNotFoundException";
|
|
96
|
+
readonly $fault: "client";
|
|
97
|
+
constructor(
|
|
98
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
export interface CancelPlanExecutionRequest {
|
|
102
|
+
planArn: string | undefined;
|
|
103
|
+
executionId: string | undefined;
|
|
104
|
+
comment?: string | undefined;
|
|
105
|
+
}
|
|
106
|
+
export interface CancelPlanExecutionResponse {}
|
|
107
|
+
export interface GetPlanEvaluationStatusRequest {
|
|
108
|
+
planArn: string | undefined;
|
|
109
|
+
maxResults?: number | undefined;
|
|
110
|
+
nextToken?: string | undefined;
|
|
111
|
+
}
|
|
112
|
+
export declare const EvaluationStatus: {
|
|
113
|
+
readonly ACTION_REQUIRED: "actionRequired";
|
|
114
|
+
readonly PASSED: "passed";
|
|
115
|
+
readonly PENDING_EVALUATION: "pendingEvaluation";
|
|
116
|
+
readonly UNKNOWN: "unknown";
|
|
117
|
+
};
|
|
118
|
+
export type EvaluationStatus =
|
|
119
|
+
(typeof EvaluationStatus)[keyof typeof EvaluationStatus];
|
|
120
|
+
export declare const ResourceWarningStatus: {
|
|
121
|
+
readonly ACTIVE: "active";
|
|
122
|
+
readonly RESOLVED: "resolved";
|
|
123
|
+
};
|
|
124
|
+
export type ResourceWarningStatus =
|
|
125
|
+
(typeof ResourceWarningStatus)[keyof typeof ResourceWarningStatus];
|
|
126
|
+
export interface MinimalWorkflow {
|
|
127
|
+
action?: ExecutionAction | undefined;
|
|
128
|
+
name?: string | undefined;
|
|
129
|
+
}
|
|
130
|
+
export interface ResourceWarning {
|
|
131
|
+
workflow?: MinimalWorkflow | undefined;
|
|
132
|
+
version: string | undefined;
|
|
133
|
+
stepName?: string | undefined;
|
|
134
|
+
resourceArn?: string | undefined;
|
|
135
|
+
warningStatus: ResourceWarningStatus | undefined;
|
|
136
|
+
warningUpdatedTime: Date | undefined;
|
|
137
|
+
warningMessage: string | undefined;
|
|
138
|
+
}
|
|
139
|
+
export interface GetPlanEvaluationStatusResponse {
|
|
140
|
+
planArn: string | undefined;
|
|
141
|
+
lastEvaluationTime?: Date | undefined;
|
|
142
|
+
lastEvaluatedVersion?: string | undefined;
|
|
143
|
+
region?: string | undefined;
|
|
144
|
+
evaluationState?: EvaluationStatus | undefined;
|
|
145
|
+
warnings?: ResourceWarning[] | undefined;
|
|
146
|
+
nextToken?: string | undefined;
|
|
147
|
+
}
|
|
148
|
+
export interface GetPlanExecutionRequest {
|
|
149
|
+
planArn: string | undefined;
|
|
150
|
+
executionId: string | undefined;
|
|
151
|
+
maxResults?: number | undefined;
|
|
152
|
+
nextToken?: string | undefined;
|
|
153
|
+
}
|
|
154
|
+
export interface AssociatedAlarm {
|
|
155
|
+
crossAccountRole?: string | undefined;
|
|
156
|
+
externalId?: string | undefined;
|
|
157
|
+
resourceIdentifier: string | undefined;
|
|
158
|
+
alarmType: AlarmType | undefined;
|
|
159
|
+
}
|
|
160
|
+
export declare const WorkflowTargetAction: {
|
|
161
|
+
readonly ACTIVATE: "activate";
|
|
162
|
+
readonly DEACTIVATE: "deactivate";
|
|
163
|
+
};
|
|
164
|
+
export type WorkflowTargetAction =
|
|
165
|
+
(typeof WorkflowTargetAction)[keyof typeof WorkflowTargetAction];
|
|
166
|
+
export interface TriggerCondition {
|
|
167
|
+
associatedAlarmName: string | undefined;
|
|
168
|
+
condition: AlarmCondition | undefined;
|
|
169
|
+
}
|
|
170
|
+
export interface Trigger {
|
|
171
|
+
description?: string | undefined;
|
|
172
|
+
targetRegion: string | undefined;
|
|
173
|
+
action: WorkflowTargetAction | undefined;
|
|
174
|
+
conditions: TriggerCondition[] | undefined;
|
|
175
|
+
minDelayMinutesBetweenExecutions: number | undefined;
|
|
176
|
+
}
|
|
177
|
+
export declare const RoutingControlStateChange: {
|
|
178
|
+
readonly OFF: "Off";
|
|
179
|
+
readonly ON: "On";
|
|
180
|
+
};
|
|
181
|
+
export type RoutingControlStateChange =
|
|
182
|
+
(typeof RoutingControlStateChange)[keyof typeof RoutingControlStateChange];
|
|
183
|
+
export interface ArcRoutingControlState {
|
|
184
|
+
routingControlArn: string | undefined;
|
|
185
|
+
state: RoutingControlStateChange | undefined;
|
|
186
|
+
}
|
|
187
|
+
export interface ArcRoutingControlConfiguration {
|
|
188
|
+
timeoutMinutes?: number | undefined;
|
|
189
|
+
crossAccountRole?: string | undefined;
|
|
190
|
+
externalId?: string | undefined;
|
|
191
|
+
regionAndRoutingControls:
|
|
192
|
+
| Record<string, ArcRoutingControlState[]>
|
|
193
|
+
| undefined;
|
|
194
|
+
}
|
|
195
|
+
export interface Lambdas {
|
|
196
|
+
crossAccountRole?: string | undefined;
|
|
197
|
+
externalId?: string | undefined;
|
|
198
|
+
arn?: string | undefined;
|
|
199
|
+
}
|
|
200
|
+
export declare const RegionToRunIn: {
|
|
201
|
+
readonly ACTIVATING_REGION: "activatingRegion";
|
|
202
|
+
readonly DEACTIVATING_REGION: "deactivatingRegion";
|
|
203
|
+
};
|
|
204
|
+
export type RegionToRunIn = (typeof RegionToRunIn)[keyof typeof RegionToRunIn];
|
|
205
|
+
export declare const LambdaUngracefulBehavior: {
|
|
206
|
+
readonly SKIP: "skip";
|
|
207
|
+
};
|
|
208
|
+
export type LambdaUngracefulBehavior =
|
|
209
|
+
(typeof LambdaUngracefulBehavior)[keyof typeof LambdaUngracefulBehavior];
|
|
210
|
+
export interface LambdaUngraceful {
|
|
211
|
+
behavior?: LambdaUngracefulBehavior | undefined;
|
|
212
|
+
}
|
|
213
|
+
export interface CustomActionLambdaConfiguration {
|
|
214
|
+
timeoutMinutes?: number | undefined;
|
|
215
|
+
lambdas: Lambdas[] | undefined;
|
|
216
|
+
retryIntervalMinutes: number | undefined;
|
|
217
|
+
regionToRun: RegionToRunIn | undefined;
|
|
218
|
+
ungraceful?: LambdaUngraceful | undefined;
|
|
219
|
+
}
|
|
220
|
+
export interface Asg {
|
|
221
|
+
crossAccountRole?: string | undefined;
|
|
222
|
+
externalId?: string | undefined;
|
|
223
|
+
arn?: string | undefined;
|
|
224
|
+
}
|
|
225
|
+
export declare const Ec2AsgCapacityMonitoringApproach: {
|
|
226
|
+
readonly AUTOSCALING_MAX_IN_LAST_24_HOURS: "autoscalingMaxInLast24Hours";
|
|
227
|
+
readonly SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours";
|
|
228
|
+
};
|
|
229
|
+
export type Ec2AsgCapacityMonitoringApproach =
|
|
230
|
+
(typeof Ec2AsgCapacityMonitoringApproach)[keyof typeof Ec2AsgCapacityMonitoringApproach];
|
|
231
|
+
export interface Ec2Ungraceful {
|
|
232
|
+
minimumSuccessPercentage: number | undefined;
|
|
233
|
+
}
|
|
234
|
+
export interface Ec2AsgCapacityIncreaseConfiguration {
|
|
235
|
+
timeoutMinutes?: number | undefined;
|
|
236
|
+
asgs: Asg[] | undefined;
|
|
237
|
+
ungraceful?: Ec2Ungraceful | undefined;
|
|
238
|
+
targetPercent?: number | undefined;
|
|
239
|
+
capacityMonitoringApproach?: Ec2AsgCapacityMonitoringApproach | undefined;
|
|
240
|
+
}
|
|
241
|
+
export declare const EcsCapacityMonitoringApproach: {
|
|
242
|
+
readonly CONTAINER_INSIGHTS_MAX_IN_LAST_24_HOURS: "containerInsightsMaxInLast24Hours";
|
|
243
|
+
readonly SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours";
|
|
244
|
+
};
|
|
245
|
+
export type EcsCapacityMonitoringApproach =
|
|
246
|
+
(typeof EcsCapacityMonitoringApproach)[keyof typeof EcsCapacityMonitoringApproach];
|
|
247
|
+
export interface Service {
|
|
248
|
+
crossAccountRole?: string | undefined;
|
|
249
|
+
externalId?: string | undefined;
|
|
250
|
+
clusterArn?: string | undefined;
|
|
251
|
+
serviceArn?: string | undefined;
|
|
252
|
+
}
|
|
253
|
+
export interface EcsUngraceful {
|
|
254
|
+
minimumSuccessPercentage: number | undefined;
|
|
255
|
+
}
|
|
256
|
+
export interface EcsCapacityIncreaseConfiguration {
|
|
257
|
+
timeoutMinutes?: number | undefined;
|
|
258
|
+
services: Service[] | undefined;
|
|
259
|
+
ungraceful?: EcsUngraceful | undefined;
|
|
260
|
+
targetPercent?: number | undefined;
|
|
261
|
+
capacityMonitoringApproach?: EcsCapacityMonitoringApproach | undefined;
|
|
262
|
+
}
|
|
263
|
+
export declare const EksCapacityMonitoringApproach: {
|
|
264
|
+
readonly SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours";
|
|
265
|
+
};
|
|
266
|
+
export type EksCapacityMonitoringApproach =
|
|
267
|
+
(typeof EksCapacityMonitoringApproach)[keyof typeof EksCapacityMonitoringApproach];
|
|
268
|
+
export interface EksCluster {
|
|
269
|
+
crossAccountRole?: string | undefined;
|
|
270
|
+
externalId?: string | undefined;
|
|
271
|
+
clusterArn: string | undefined;
|
|
272
|
+
}
|
|
273
|
+
export interface KubernetesResourceType {
|
|
274
|
+
apiVersion: string | undefined;
|
|
275
|
+
kind: string | undefined;
|
|
276
|
+
}
|
|
277
|
+
export interface KubernetesScalingResource {
|
|
278
|
+
namespace: string | undefined;
|
|
279
|
+
name: string | undefined;
|
|
280
|
+
hpaName?: string | undefined;
|
|
281
|
+
}
|
|
282
|
+
export interface EksResourceScalingUngraceful {
|
|
283
|
+
minimumSuccessPercentage: number | undefined;
|
|
284
|
+
}
|
|
285
|
+
export interface EksResourceScalingConfiguration {
|
|
286
|
+
timeoutMinutes?: number | undefined;
|
|
287
|
+
kubernetesResourceType: KubernetesResourceType | undefined;
|
|
288
|
+
scalingResources?:
|
|
289
|
+
| Record<string, Record<string, KubernetesScalingResource>>[]
|
|
290
|
+
| undefined;
|
|
291
|
+
eksClusters?: EksCluster[] | undefined;
|
|
292
|
+
ungraceful?: EksResourceScalingUngraceful | undefined;
|
|
293
|
+
targetPercent?: number | undefined;
|
|
294
|
+
capacityMonitoringApproach?: EksCapacityMonitoringApproach | undefined;
|
|
295
|
+
}
|
|
296
|
+
export interface ExecutionApprovalConfiguration {
|
|
297
|
+
timeoutMinutes?: number | undefined;
|
|
298
|
+
approvalRole: string | undefined;
|
|
299
|
+
}
|
|
300
|
+
export declare const GlobalAuroraDefaultBehavior: {
|
|
301
|
+
readonly FAILOVER: "failover";
|
|
302
|
+
readonly SWITCHOVER_ONLY: "switchoverOnly";
|
|
303
|
+
};
|
|
304
|
+
export type GlobalAuroraDefaultBehavior =
|
|
305
|
+
(typeof GlobalAuroraDefaultBehavior)[keyof typeof GlobalAuroraDefaultBehavior];
|
|
306
|
+
export declare const GlobalAuroraUngracefulBehavior: {
|
|
307
|
+
readonly FAILOVER: "failover";
|
|
308
|
+
};
|
|
309
|
+
export type GlobalAuroraUngracefulBehavior =
|
|
310
|
+
(typeof GlobalAuroraUngracefulBehavior)[keyof typeof GlobalAuroraUngracefulBehavior];
|
|
311
|
+
export interface GlobalAuroraUngraceful {
|
|
312
|
+
ungraceful?: GlobalAuroraUngracefulBehavior | undefined;
|
|
313
|
+
}
|
|
314
|
+
export interface GlobalAuroraConfiguration {
|
|
315
|
+
timeoutMinutes?: number | undefined;
|
|
316
|
+
crossAccountRole?: string | undefined;
|
|
317
|
+
externalId?: string | undefined;
|
|
318
|
+
behavior: GlobalAuroraDefaultBehavior | undefined;
|
|
319
|
+
ungraceful?: GlobalAuroraUngraceful | undefined;
|
|
320
|
+
globalClusterIdentifier: string | undefined;
|
|
321
|
+
databaseClusterArns: string[] | undefined;
|
|
322
|
+
}
|
|
323
|
+
export interface RegionSwitchPlanConfiguration {
|
|
324
|
+
crossAccountRole?: string | undefined;
|
|
325
|
+
externalId?: string | undefined;
|
|
326
|
+
arn: string | undefined;
|
|
327
|
+
}
|
|
328
|
+
export interface Route53ResourceRecordSet {
|
|
329
|
+
recordSetIdentifier?: string | undefined;
|
|
330
|
+
region?: string | undefined;
|
|
331
|
+
}
|
|
332
|
+
export interface Route53HealthCheckConfiguration {
|
|
333
|
+
timeoutMinutes?: number | undefined;
|
|
334
|
+
crossAccountRole?: string | undefined;
|
|
335
|
+
externalId?: string | undefined;
|
|
336
|
+
hostedZoneId: string | undefined;
|
|
337
|
+
recordName: string | undefined;
|
|
338
|
+
recordSets?: Route53ResourceRecordSet[] | undefined;
|
|
339
|
+
}
|
|
340
|
+
export declare const ExecutionBlockType: {
|
|
341
|
+
readonly AURORA: "AuroraGlobalDatabase";
|
|
342
|
+
readonly CUSTOM_ACTION_LAMBDA: "CustomActionLambda";
|
|
343
|
+
readonly EC2_ASG: "EC2AutoScaling";
|
|
344
|
+
readonly ECS: "ECSServiceScaling";
|
|
345
|
+
readonly EKS_RESOURCE_SCALING: "EKSResourceScaling";
|
|
346
|
+
readonly EXECUTION_APPROVAL: "ManualApproval";
|
|
347
|
+
readonly PARALLEL: "Parallel";
|
|
348
|
+
readonly REGION_SWITCH: "ARCRegionSwitchPlan";
|
|
349
|
+
readonly ROUTE53_HEALTH_CHECK: "Route53HealthCheck";
|
|
350
|
+
readonly ROUTING_CONTROL: "ARCRoutingControl";
|
|
351
|
+
};
|
|
352
|
+
export type ExecutionBlockType =
|
|
353
|
+
(typeof ExecutionBlockType)[keyof typeof ExecutionBlockType];
|
|
354
|
+
export declare const StepStatus: {
|
|
355
|
+
readonly CANCELLED: "canceled";
|
|
356
|
+
readonly COMPLETED: "completed";
|
|
357
|
+
readonly FAILED: "failed";
|
|
358
|
+
readonly NOT_STARTED: "notStarted";
|
|
359
|
+
readonly PENDING_APPROVAL: "pendingApproval";
|
|
360
|
+
readonly RUNNING: "running";
|
|
361
|
+
readonly SKIPPED: "skipped";
|
|
362
|
+
};
|
|
363
|
+
export type StepStatus = (typeof StepStatus)[keyof typeof StepStatus];
|
|
364
|
+
export interface StepState {
|
|
365
|
+
name?: string | undefined;
|
|
366
|
+
status?: StepStatus | undefined;
|
|
367
|
+
startTime?: Date | undefined;
|
|
368
|
+
endTime?: Date | undefined;
|
|
369
|
+
stepMode?: ExecutionMode | undefined;
|
|
370
|
+
}
|
|
371
|
+
export interface GetPlanInRegionRequest {
|
|
372
|
+
arn: string | undefined;
|
|
373
|
+
}
|
|
374
|
+
export interface ListPlanExecutionEventsRequest {
|
|
375
|
+
planArn: string | undefined;
|
|
376
|
+
executionId: string | undefined;
|
|
377
|
+
maxResults?: number | undefined;
|
|
378
|
+
nextToken?: string | undefined;
|
|
379
|
+
name?: string | undefined;
|
|
380
|
+
}
|
|
381
|
+
export declare const ExecutionEventType: {
|
|
382
|
+
readonly EXECUTION_BEHAVIOR_CHANGED_TO_GRACEFUL: "executionBehaviorChangedToGraceful";
|
|
383
|
+
readonly EXECUTION_BEHAVIOR_CHANGED_TO_UNGRACEFUL: "executionBehaviorChangedToUngraceful";
|
|
384
|
+
readonly EXECUTION_CANCELED: "executionCanceled";
|
|
385
|
+
readonly EXECUTION_CANCELING: "executionCanceling";
|
|
386
|
+
readonly EXECUTION_FAILED: "executionFailed";
|
|
387
|
+
readonly EXECUTION_PAUSED: "executionPaused";
|
|
388
|
+
readonly EXECUTION_PAUSING: "executionPausing";
|
|
389
|
+
readonly EXECUTION_PENDING: "executionPending";
|
|
390
|
+
readonly EXECUTION_PENDING_APPROVAL: "executionPendingApproval";
|
|
391
|
+
readonly EXECUTION_PENDING_CHILD_PLAN_MANUAL_APPROVAL: "executionPendingChildPlanManualApproval";
|
|
392
|
+
readonly EXECUTION_STARTED: "executionStarted";
|
|
393
|
+
readonly EXECUTION_SUCCEEDED: "executionSucceeded";
|
|
394
|
+
readonly EXECUTION_SUCCESS_MONITORING_APPLICATION_HEALTH: "executionSuccessMonitoringApplicationHealth";
|
|
395
|
+
readonly STEP_CANCELED: "stepCanceled";
|
|
396
|
+
readonly STEP_EXECUTION_BEHAVIOR_CHANGED_TO_UNGRACEFUL: "stepExecutionBehaviorChangedToUngraceful";
|
|
397
|
+
readonly STEP_FAILED: "stepFailed";
|
|
398
|
+
readonly STEP_PAUSED_BY_ERROR: "stepPausedByError";
|
|
399
|
+
readonly STEP_PAUSED_BY_OPERATOR: "stepPausedByOperator";
|
|
400
|
+
readonly STEP_PENDING_APPLICATION_HEALTH_MONITOR: "stepPendingApplicationHealthMonitor";
|
|
401
|
+
readonly STEP_PENDING_APPROVAL: "stepPendingApproval";
|
|
402
|
+
readonly STEP_SKIPPED: "stepSkipped";
|
|
403
|
+
readonly STEP_STARTED: "stepStarted";
|
|
404
|
+
readonly STEP_SUCCEEDED: "stepSucceeded";
|
|
405
|
+
readonly STEP_UPDATE: "stepUpdate";
|
|
406
|
+
readonly UNKNOWN: "unknown";
|
|
407
|
+
};
|
|
408
|
+
export type ExecutionEventType =
|
|
409
|
+
(typeof ExecutionEventType)[keyof typeof ExecutionEventType];
|
|
410
|
+
export interface ExecutionEvent {
|
|
411
|
+
timestamp?: Date | undefined;
|
|
412
|
+
type?: ExecutionEventType | undefined;
|
|
413
|
+
stepName?: string | undefined;
|
|
414
|
+
executionBlockType?: ExecutionBlockType | undefined;
|
|
415
|
+
resources?: string[] | undefined;
|
|
416
|
+
error?: string | undefined;
|
|
417
|
+
description?: string | undefined;
|
|
418
|
+
eventId: string | undefined;
|
|
419
|
+
previousEventId?: string | undefined;
|
|
420
|
+
}
|
|
421
|
+
export interface ListPlanExecutionEventsResponse {
|
|
422
|
+
items?: ExecutionEvent[] | undefined;
|
|
423
|
+
nextToken?: string | undefined;
|
|
424
|
+
}
|
|
425
|
+
export interface ListPlanExecutionsRequest {
|
|
426
|
+
planArn: string | undefined;
|
|
427
|
+
maxResults?: number | undefined;
|
|
428
|
+
nextToken?: string | undefined;
|
|
429
|
+
state?: ExecutionState | undefined;
|
|
430
|
+
}
|
|
431
|
+
export interface ListPlanExecutionsResponse {
|
|
432
|
+
items?: AbbreviatedExecution[] | undefined;
|
|
433
|
+
nextToken?: string | undefined;
|
|
434
|
+
}
|
|
435
|
+
export interface ListPlansInRegionRequest {
|
|
436
|
+
maxResults?: number | undefined;
|
|
437
|
+
nextToken?: string | undefined;
|
|
438
|
+
}
|
|
439
|
+
export interface ListPlansInRegionResponse {
|
|
440
|
+
plans?: AbbreviatedPlan[] | undefined;
|
|
441
|
+
nextToken?: string | undefined;
|
|
442
|
+
}
|
|
443
|
+
export declare class InternalServerException extends __BaseException {
|
|
444
|
+
readonly name: "InternalServerException";
|
|
445
|
+
readonly $fault: "server";
|
|
446
|
+
constructor(
|
|
447
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
448
|
+
);
|
|
449
|
+
}
|
|
450
|
+
export interface ListRoute53HealthChecksRequest {
|
|
451
|
+
arn: string | undefined;
|
|
452
|
+
hostedZoneId?: string | undefined;
|
|
453
|
+
recordName?: string | undefined;
|
|
454
|
+
maxResults?: number | undefined;
|
|
455
|
+
nextToken?: string | undefined;
|
|
456
|
+
}
|
|
457
|
+
export interface Route53HealthCheck {
|
|
458
|
+
hostedZoneId: string | undefined;
|
|
459
|
+
recordName: string | undefined;
|
|
460
|
+
healthCheckId?: string | undefined;
|
|
461
|
+
region: string | undefined;
|
|
462
|
+
}
|
|
463
|
+
export interface ListRoute53HealthChecksResponse {
|
|
464
|
+
healthChecks?: Route53HealthCheck[] | undefined;
|
|
465
|
+
nextToken?: string | undefined;
|
|
466
|
+
}
|
|
467
|
+
export interface DeletePlanRequest {
|
|
468
|
+
arn: string | undefined;
|
|
469
|
+
}
|
|
470
|
+
export interface DeletePlanResponse {}
|
|
471
|
+
export declare class IllegalStateException extends __BaseException {
|
|
472
|
+
readonly name: "IllegalStateException";
|
|
473
|
+
readonly $fault: "client";
|
|
474
|
+
constructor(
|
|
475
|
+
opts: __ExceptionOptionType<IllegalStateException, __BaseException>
|
|
476
|
+
);
|
|
477
|
+
}
|
|
478
|
+
export interface GetPlanRequest {
|
|
479
|
+
arn: string | undefined;
|
|
480
|
+
}
|
|
481
|
+
export interface ListPlansRequest {
|
|
482
|
+
maxResults?: number | undefined;
|
|
483
|
+
nextToken?: string | undefined;
|
|
484
|
+
}
|
|
485
|
+
export interface ListPlansResponse {
|
|
486
|
+
plans?: AbbreviatedPlan[] | undefined;
|
|
487
|
+
nextToken?: string | undefined;
|
|
488
|
+
}
|
|
489
|
+
export interface ListTagsForResourceRequest {
|
|
490
|
+
arn: string | undefined;
|
|
491
|
+
}
|
|
492
|
+
export interface ListTagsForResourceResponse {
|
|
493
|
+
resourceTags?: Record<string, string> | undefined;
|
|
494
|
+
}
|
|
495
|
+
export interface TagResourceRequest {
|
|
496
|
+
arn: string | undefined;
|
|
497
|
+
tags: Record<string, string> | undefined;
|
|
498
|
+
}
|
|
499
|
+
export interface TagResourceResponse {}
|
|
500
|
+
export interface UntagResourceRequest {
|
|
501
|
+
arn: string | undefined;
|
|
502
|
+
resourceTagKeys: string[] | undefined;
|
|
503
|
+
}
|
|
504
|
+
export interface UntagResourceResponse {}
|
|
505
|
+
export declare class IllegalArgumentException extends __BaseException {
|
|
506
|
+
readonly name: "IllegalArgumentException";
|
|
507
|
+
readonly $fault: "client";
|
|
508
|
+
constructor(
|
|
509
|
+
opts: __ExceptionOptionType<IllegalArgumentException, __BaseException>
|
|
510
|
+
);
|
|
511
|
+
}
|
|
512
|
+
export interface StartPlanExecutionRequest {
|
|
513
|
+
planArn: string | undefined;
|
|
514
|
+
targetRegion: string | undefined;
|
|
515
|
+
action: ExecutionAction | undefined;
|
|
516
|
+
mode?: ExecutionMode | undefined;
|
|
517
|
+
comment?: string | undefined;
|
|
518
|
+
latestVersion?: string | undefined;
|
|
519
|
+
}
|
|
520
|
+
export interface StartPlanExecutionResponse {
|
|
521
|
+
executionId?: string | undefined;
|
|
522
|
+
plan?: string | undefined;
|
|
523
|
+
planVersion?: string | undefined;
|
|
524
|
+
activateRegion?: string | undefined;
|
|
525
|
+
deactivateRegion?: string | undefined;
|
|
526
|
+
}
|
|
527
|
+
export declare const UpdatePlanExecutionAction: {
|
|
528
|
+
readonly PAUSE: "pause";
|
|
529
|
+
readonly RESUME: "resume";
|
|
530
|
+
readonly SWITCH_TO_GRACEFUL: "switchToGraceful";
|
|
531
|
+
readonly SWITCH_TO_UNGRACEFUL: "switchToUngraceful";
|
|
532
|
+
};
|
|
533
|
+
export type UpdatePlanExecutionAction =
|
|
534
|
+
(typeof UpdatePlanExecutionAction)[keyof typeof UpdatePlanExecutionAction];
|
|
535
|
+
export interface UpdatePlanExecutionRequest {
|
|
536
|
+
planArn: string | undefined;
|
|
537
|
+
executionId: string | undefined;
|
|
538
|
+
action: UpdatePlanExecutionAction | undefined;
|
|
539
|
+
comment?: string | undefined;
|
|
540
|
+
}
|
|
541
|
+
export interface UpdatePlanExecutionResponse {}
|
|
542
|
+
export declare const UpdatePlanExecutionStepAction: {
|
|
543
|
+
readonly SKIP: "skip";
|
|
544
|
+
readonly SWITCH_TO_UNGRACEFUL: "switchToUngraceful";
|
|
545
|
+
};
|
|
546
|
+
export type UpdatePlanExecutionStepAction =
|
|
547
|
+
(typeof UpdatePlanExecutionStepAction)[keyof typeof UpdatePlanExecutionStepAction];
|
|
548
|
+
export interface UpdatePlanExecutionStepRequest {
|
|
549
|
+
planArn: string | undefined;
|
|
550
|
+
executionId: string | undefined;
|
|
551
|
+
comment: string | undefined;
|
|
552
|
+
stepName: string | undefined;
|
|
553
|
+
actionToTake: UpdatePlanExecutionStepAction | undefined;
|
|
554
|
+
}
|
|
555
|
+
export interface UpdatePlanExecutionStepResponse {}
|
|
556
|
+
export type ExecutionBlockConfiguration =
|
|
557
|
+
| ExecutionBlockConfiguration.ArcRoutingControlConfigMember
|
|
558
|
+
| ExecutionBlockConfiguration.CustomActionLambdaConfigMember
|
|
559
|
+
| ExecutionBlockConfiguration.Ec2AsgCapacityIncreaseConfigMember
|
|
560
|
+
| ExecutionBlockConfiguration.EcsCapacityIncreaseConfigMember
|
|
561
|
+
| ExecutionBlockConfiguration.EksResourceScalingConfigMember
|
|
562
|
+
| ExecutionBlockConfiguration.ExecutionApprovalConfigMember
|
|
563
|
+
| ExecutionBlockConfiguration.GlobalAuroraConfigMember
|
|
564
|
+
| ExecutionBlockConfiguration.ParallelConfigMember
|
|
565
|
+
| ExecutionBlockConfiguration.RegionSwitchPlanConfigMember
|
|
566
|
+
| ExecutionBlockConfiguration.Route53HealthCheckConfigMember
|
|
567
|
+
| ExecutionBlockConfiguration.$UnknownMember;
|
|
568
|
+
export declare namespace ExecutionBlockConfiguration {
|
|
569
|
+
interface CustomActionLambdaConfigMember {
|
|
570
|
+
customActionLambdaConfig: CustomActionLambdaConfiguration;
|
|
571
|
+
ec2AsgCapacityIncreaseConfig?: never;
|
|
572
|
+
executionApprovalConfig?: never;
|
|
573
|
+
arcRoutingControlConfig?: never;
|
|
574
|
+
globalAuroraConfig?: never;
|
|
575
|
+
parallelConfig?: never;
|
|
576
|
+
regionSwitchPlanConfig?: never;
|
|
577
|
+
ecsCapacityIncreaseConfig?: never;
|
|
578
|
+
eksResourceScalingConfig?: never;
|
|
579
|
+
route53HealthCheckConfig?: never;
|
|
580
|
+
$unknown?: never;
|
|
581
|
+
}
|
|
582
|
+
interface Ec2AsgCapacityIncreaseConfigMember {
|
|
583
|
+
customActionLambdaConfig?: never;
|
|
584
|
+
ec2AsgCapacityIncreaseConfig: Ec2AsgCapacityIncreaseConfiguration;
|
|
585
|
+
executionApprovalConfig?: never;
|
|
586
|
+
arcRoutingControlConfig?: never;
|
|
587
|
+
globalAuroraConfig?: never;
|
|
588
|
+
parallelConfig?: never;
|
|
589
|
+
regionSwitchPlanConfig?: never;
|
|
590
|
+
ecsCapacityIncreaseConfig?: never;
|
|
591
|
+
eksResourceScalingConfig?: never;
|
|
592
|
+
route53HealthCheckConfig?: never;
|
|
593
|
+
$unknown?: never;
|
|
594
|
+
}
|
|
595
|
+
interface ExecutionApprovalConfigMember {
|
|
596
|
+
customActionLambdaConfig?: never;
|
|
597
|
+
ec2AsgCapacityIncreaseConfig?: never;
|
|
598
|
+
executionApprovalConfig: ExecutionApprovalConfiguration;
|
|
599
|
+
arcRoutingControlConfig?: never;
|
|
600
|
+
globalAuroraConfig?: never;
|
|
601
|
+
parallelConfig?: never;
|
|
602
|
+
regionSwitchPlanConfig?: never;
|
|
603
|
+
ecsCapacityIncreaseConfig?: never;
|
|
604
|
+
eksResourceScalingConfig?: never;
|
|
605
|
+
route53HealthCheckConfig?: never;
|
|
606
|
+
$unknown?: never;
|
|
607
|
+
}
|
|
608
|
+
interface ArcRoutingControlConfigMember {
|
|
609
|
+
customActionLambdaConfig?: never;
|
|
610
|
+
ec2AsgCapacityIncreaseConfig?: never;
|
|
611
|
+
executionApprovalConfig?: never;
|
|
612
|
+
arcRoutingControlConfig: ArcRoutingControlConfiguration;
|
|
613
|
+
globalAuroraConfig?: never;
|
|
614
|
+
parallelConfig?: never;
|
|
615
|
+
regionSwitchPlanConfig?: never;
|
|
616
|
+
ecsCapacityIncreaseConfig?: never;
|
|
617
|
+
eksResourceScalingConfig?: never;
|
|
618
|
+
route53HealthCheckConfig?: never;
|
|
619
|
+
$unknown?: never;
|
|
620
|
+
}
|
|
621
|
+
interface GlobalAuroraConfigMember {
|
|
622
|
+
customActionLambdaConfig?: never;
|
|
623
|
+
ec2AsgCapacityIncreaseConfig?: never;
|
|
624
|
+
executionApprovalConfig?: never;
|
|
625
|
+
arcRoutingControlConfig?: never;
|
|
626
|
+
globalAuroraConfig: GlobalAuroraConfiguration;
|
|
627
|
+
parallelConfig?: never;
|
|
628
|
+
regionSwitchPlanConfig?: never;
|
|
629
|
+
ecsCapacityIncreaseConfig?: never;
|
|
630
|
+
eksResourceScalingConfig?: never;
|
|
631
|
+
route53HealthCheckConfig?: never;
|
|
632
|
+
$unknown?: never;
|
|
633
|
+
}
|
|
634
|
+
interface ParallelConfigMember {
|
|
635
|
+
customActionLambdaConfig?: never;
|
|
636
|
+
ec2AsgCapacityIncreaseConfig?: never;
|
|
637
|
+
executionApprovalConfig?: never;
|
|
638
|
+
arcRoutingControlConfig?: never;
|
|
639
|
+
globalAuroraConfig?: never;
|
|
640
|
+
parallelConfig: ParallelExecutionBlockConfiguration;
|
|
641
|
+
regionSwitchPlanConfig?: never;
|
|
642
|
+
ecsCapacityIncreaseConfig?: never;
|
|
643
|
+
eksResourceScalingConfig?: never;
|
|
644
|
+
route53HealthCheckConfig?: never;
|
|
645
|
+
$unknown?: never;
|
|
646
|
+
}
|
|
647
|
+
interface RegionSwitchPlanConfigMember {
|
|
648
|
+
customActionLambdaConfig?: never;
|
|
649
|
+
ec2AsgCapacityIncreaseConfig?: never;
|
|
650
|
+
executionApprovalConfig?: never;
|
|
651
|
+
arcRoutingControlConfig?: never;
|
|
652
|
+
globalAuroraConfig?: never;
|
|
653
|
+
parallelConfig?: never;
|
|
654
|
+
regionSwitchPlanConfig: RegionSwitchPlanConfiguration;
|
|
655
|
+
ecsCapacityIncreaseConfig?: never;
|
|
656
|
+
eksResourceScalingConfig?: never;
|
|
657
|
+
route53HealthCheckConfig?: never;
|
|
658
|
+
$unknown?: never;
|
|
659
|
+
}
|
|
660
|
+
interface EcsCapacityIncreaseConfigMember {
|
|
661
|
+
customActionLambdaConfig?: never;
|
|
662
|
+
ec2AsgCapacityIncreaseConfig?: never;
|
|
663
|
+
executionApprovalConfig?: never;
|
|
664
|
+
arcRoutingControlConfig?: never;
|
|
665
|
+
globalAuroraConfig?: never;
|
|
666
|
+
parallelConfig?: never;
|
|
667
|
+
regionSwitchPlanConfig?: never;
|
|
668
|
+
ecsCapacityIncreaseConfig: EcsCapacityIncreaseConfiguration;
|
|
669
|
+
eksResourceScalingConfig?: never;
|
|
670
|
+
route53HealthCheckConfig?: never;
|
|
671
|
+
$unknown?: never;
|
|
672
|
+
}
|
|
673
|
+
interface EksResourceScalingConfigMember {
|
|
674
|
+
customActionLambdaConfig?: never;
|
|
675
|
+
ec2AsgCapacityIncreaseConfig?: never;
|
|
676
|
+
executionApprovalConfig?: never;
|
|
677
|
+
arcRoutingControlConfig?: never;
|
|
678
|
+
globalAuroraConfig?: never;
|
|
679
|
+
parallelConfig?: never;
|
|
680
|
+
regionSwitchPlanConfig?: never;
|
|
681
|
+
ecsCapacityIncreaseConfig?: never;
|
|
682
|
+
eksResourceScalingConfig: EksResourceScalingConfiguration;
|
|
683
|
+
route53HealthCheckConfig?: never;
|
|
684
|
+
$unknown?: never;
|
|
685
|
+
}
|
|
686
|
+
interface Route53HealthCheckConfigMember {
|
|
687
|
+
customActionLambdaConfig?: never;
|
|
688
|
+
ec2AsgCapacityIncreaseConfig?: never;
|
|
689
|
+
executionApprovalConfig?: never;
|
|
690
|
+
arcRoutingControlConfig?: never;
|
|
691
|
+
globalAuroraConfig?: never;
|
|
692
|
+
parallelConfig?: never;
|
|
693
|
+
regionSwitchPlanConfig?: never;
|
|
694
|
+
ecsCapacityIncreaseConfig?: never;
|
|
695
|
+
eksResourceScalingConfig?: never;
|
|
696
|
+
route53HealthCheckConfig: Route53HealthCheckConfiguration;
|
|
697
|
+
$unknown?: never;
|
|
698
|
+
}
|
|
699
|
+
interface $UnknownMember {
|
|
700
|
+
customActionLambdaConfig?: never;
|
|
701
|
+
ec2AsgCapacityIncreaseConfig?: never;
|
|
702
|
+
executionApprovalConfig?: never;
|
|
703
|
+
arcRoutingControlConfig?: never;
|
|
704
|
+
globalAuroraConfig?: never;
|
|
705
|
+
parallelConfig?: never;
|
|
706
|
+
regionSwitchPlanConfig?: never;
|
|
707
|
+
ecsCapacityIncreaseConfig?: never;
|
|
708
|
+
eksResourceScalingConfig?: never;
|
|
709
|
+
route53HealthCheckConfig?: never;
|
|
710
|
+
$unknown: [string, any];
|
|
711
|
+
}
|
|
712
|
+
interface Visitor<T> {
|
|
713
|
+
customActionLambdaConfig: (value: CustomActionLambdaConfiguration) => T;
|
|
714
|
+
ec2AsgCapacityIncreaseConfig: (
|
|
715
|
+
value: Ec2AsgCapacityIncreaseConfiguration
|
|
716
|
+
) => T;
|
|
717
|
+
executionApprovalConfig: (value: ExecutionApprovalConfiguration) => T;
|
|
718
|
+
arcRoutingControlConfig: (value: ArcRoutingControlConfiguration) => T;
|
|
719
|
+
globalAuroraConfig: (value: GlobalAuroraConfiguration) => T;
|
|
720
|
+
parallelConfig: (value: ParallelExecutionBlockConfiguration) => T;
|
|
721
|
+
regionSwitchPlanConfig: (value: RegionSwitchPlanConfiguration) => T;
|
|
722
|
+
ecsCapacityIncreaseConfig: (value: EcsCapacityIncreaseConfiguration) => T;
|
|
723
|
+
eksResourceScalingConfig: (value: EksResourceScalingConfiguration) => T;
|
|
724
|
+
route53HealthCheckConfig: (value: Route53HealthCheckConfiguration) => T;
|
|
725
|
+
_: (name: string, value: any) => T;
|
|
726
|
+
}
|
|
727
|
+
const visit: <T>(
|
|
728
|
+
value: ExecutionBlockConfiguration,
|
|
729
|
+
visitor: Visitor<T>
|
|
730
|
+
) => T;
|
|
731
|
+
}
|
|
732
|
+
export interface ParallelExecutionBlockConfiguration {
|
|
733
|
+
steps: Step[] | undefined;
|
|
734
|
+
}
|
|
735
|
+
export interface Step {
|
|
736
|
+
name: string | undefined;
|
|
737
|
+
description?: string | undefined;
|
|
738
|
+
executionBlockConfiguration: ExecutionBlockConfiguration | undefined;
|
|
739
|
+
executionBlockType: ExecutionBlockType | undefined;
|
|
740
|
+
}
|
|
741
|
+
export interface Workflow {
|
|
742
|
+
steps?: Step[] | undefined;
|
|
743
|
+
workflowTargetAction: WorkflowTargetAction | undefined;
|
|
744
|
+
workflowTargetRegion?: string | undefined;
|
|
745
|
+
workflowDescription?: string | undefined;
|
|
746
|
+
}
|
|
747
|
+
export interface CreatePlanRequest {
|
|
748
|
+
description?: string | undefined;
|
|
749
|
+
workflows: Workflow[] | undefined;
|
|
750
|
+
executionRole: string | undefined;
|
|
751
|
+
recoveryTimeObjectiveMinutes?: number | undefined;
|
|
752
|
+
associatedAlarms?: Record<string, AssociatedAlarm> | undefined;
|
|
753
|
+
triggers?: Trigger[] | undefined;
|
|
754
|
+
name: string | undefined;
|
|
755
|
+
regions: string[] | undefined;
|
|
756
|
+
recoveryApproach: RecoveryApproach | undefined;
|
|
757
|
+
primaryRegion?: string | undefined;
|
|
758
|
+
tags?: Record<string, string> | undefined;
|
|
759
|
+
}
|
|
760
|
+
export interface Plan {
|
|
761
|
+
arn: string | undefined;
|
|
762
|
+
description?: string | undefined;
|
|
763
|
+
workflows: Workflow[] | undefined;
|
|
764
|
+
executionRole: string | undefined;
|
|
765
|
+
recoveryTimeObjectiveMinutes?: number | undefined;
|
|
766
|
+
associatedAlarms?: Record<string, AssociatedAlarm> | undefined;
|
|
767
|
+
triggers?: Trigger[] | undefined;
|
|
768
|
+
name: string | undefined;
|
|
769
|
+
regions: string[] | undefined;
|
|
770
|
+
recoveryApproach: RecoveryApproach | undefined;
|
|
771
|
+
primaryRegion?: string | undefined;
|
|
772
|
+
owner: string | undefined;
|
|
773
|
+
version?: string | undefined;
|
|
774
|
+
updatedAt?: Date | undefined;
|
|
775
|
+
}
|
|
776
|
+
export interface UpdatePlanRequest {
|
|
777
|
+
arn: string | undefined;
|
|
778
|
+
description?: string | undefined;
|
|
779
|
+
workflows: Workflow[] | undefined;
|
|
780
|
+
executionRole: string | undefined;
|
|
781
|
+
recoveryTimeObjectiveMinutes?: number | undefined;
|
|
782
|
+
associatedAlarms?: Record<string, AssociatedAlarm> | undefined;
|
|
783
|
+
triggers?: Trigger[] | undefined;
|
|
784
|
+
}
|
|
785
|
+
export interface CreatePlanResponse {
|
|
786
|
+
plan?: Plan | undefined;
|
|
787
|
+
}
|
|
788
|
+
export interface GetPlanExecutionResponse {
|
|
789
|
+
planArn: string | undefined;
|
|
790
|
+
executionId: string | undefined;
|
|
791
|
+
version?: string | undefined;
|
|
792
|
+
updatedAt?: Date | undefined;
|
|
793
|
+
comment?: string | undefined;
|
|
794
|
+
startTime: Date | undefined;
|
|
795
|
+
endTime?: Date | undefined;
|
|
796
|
+
mode: ExecutionMode | undefined;
|
|
797
|
+
executionState: ExecutionState | undefined;
|
|
798
|
+
executionAction: ExecutionAction | undefined;
|
|
799
|
+
executionRegion: string | undefined;
|
|
800
|
+
stepStates?: StepState[] | undefined;
|
|
801
|
+
plan?: Plan | undefined;
|
|
802
|
+
actualRecoveryTime?: string | undefined;
|
|
803
|
+
nextToken?: string | undefined;
|
|
804
|
+
}
|
|
805
|
+
export interface GetPlanInRegionResponse {
|
|
806
|
+
plan?: Plan | undefined;
|
|
807
|
+
}
|
|
808
|
+
export interface GetPlanResponse {
|
|
809
|
+
plan?: Plan | undefined;
|
|
810
|
+
}
|
|
811
|
+
export interface UpdatePlanResponse {
|
|
812
|
+
plan?: Plan | undefined;
|
|
813
|
+
}
|