@aws-sdk/client-arc-zonal-shift 3.934.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 +73 -72
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +72 -0
- package/dist-es/models/errors.js +79 -0
- package/dist-es/models/models_0.js +1 -151
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +160 -0
- package/dist-types/models/errors.d.ts +90 -0
- package/dist-types/models/models_0.d.ts +1 -249
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +92 -0
- package/dist-types/ts3.4/models/errors.d.ts +46 -0
- package/dist-types/ts3.4/models/models_0.d.ts +11 -137
- 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
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ARCZonalShiftServiceException as __BaseException } from "./ARCZonalShiftServiceException";
|
|
3
|
+
import { ConflictExceptionReason, ValidationExceptionReason } from "./enums";
|
|
4
|
+
/**
|
|
5
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>There was an internal server error.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare class InternalServerException extends __BaseException {
|
|
21
|
+
readonly name: "InternalServerException";
|
|
22
|
+
readonly $fault: "server";
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
26
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* <p>The request was denied due to request throttling.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export declare class ThrottlingException extends __BaseException {
|
|
33
|
+
readonly name: "ThrottlingException";
|
|
34
|
+
readonly $fault: "client";
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
export declare class ValidationException extends __BaseException {
|
|
45
|
+
readonly name: "ValidationException";
|
|
46
|
+
readonly $fault: "client";
|
|
47
|
+
/**
|
|
48
|
+
* <p>The reason for the validation exception.</p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
reason: ValidationExceptionReason | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* <p>The request could not be processed because of conflict in the current state of the resource.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export declare class ConflictException extends __BaseException {
|
|
62
|
+
readonly name: "ConflictException";
|
|
63
|
+
readonly $fault: "client";
|
|
64
|
+
/**
|
|
65
|
+
* <p>The reason for the conflict exception.</p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
reason: ConflictExceptionReason | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* <p>The zonal shift ID associated with the conflict exception.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
zonalShiftId?: string | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* <p>The input requested a resource that was not found.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
84
|
+
readonly name: "ResourceNotFoundException";
|
|
85
|
+
readonly $fault: "client";
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
90
|
+
}
|
|
@@ -1,53 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ARCZonalShiftServiceException as __BaseException } from "./ARCZonalShiftServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>You do not have sufficient access to perform this action.</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
|
-
* @public
|
|
17
|
-
* @enum
|
|
18
|
-
*/
|
|
19
|
-
export declare const AppliedStatus: {
|
|
20
|
-
readonly APPLIED: "APPLIED";
|
|
21
|
-
readonly NOT_APPLIED: "NOT_APPLIED";
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @public
|
|
25
|
-
*/
|
|
26
|
-
export type AppliedStatus = (typeof AppliedStatus)[keyof typeof AppliedStatus];
|
|
27
|
-
/**
|
|
28
|
-
* <p>There was an internal server error.</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
|
-
* @public
|
|
41
|
-
* @enum
|
|
42
|
-
*/
|
|
43
|
-
export declare const AutoshiftExecutionStatus: {
|
|
44
|
-
readonly ACTIVE: "ACTIVE";
|
|
45
|
-
readonly COMPLETED: "COMPLETED";
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* @public
|
|
49
|
-
*/
|
|
50
|
-
export type AutoshiftExecutionStatus = (typeof AutoshiftExecutionStatus)[keyof typeof AutoshiftExecutionStatus];
|
|
1
|
+
import { AppliedStatus, AutoshiftAppliedStatus, AutoshiftExecutionStatus, AutoshiftObserverNotificationStatus, ControlConditionType, PracticeRunOutcome, ShiftType, ZonalAutoshiftStatus, ZonalShiftStatus } from "./enums";
|
|
51
2
|
/**
|
|
52
3
|
* @public
|
|
53
4
|
*/
|
|
@@ -109,72 +60,6 @@ export interface ListAutoshiftsResponse {
|
|
|
109
60
|
*/
|
|
110
61
|
nextToken?: string | undefined;
|
|
111
62
|
}
|
|
112
|
-
/**
|
|
113
|
-
* <p>The request was denied due to request throttling.</p>
|
|
114
|
-
* @public
|
|
115
|
-
*/
|
|
116
|
-
export declare class ThrottlingException extends __BaseException {
|
|
117
|
-
readonly name: "ThrottlingException";
|
|
118
|
-
readonly $fault: "client";
|
|
119
|
-
/**
|
|
120
|
-
* @internal
|
|
121
|
-
*/
|
|
122
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* @public
|
|
126
|
-
* @enum
|
|
127
|
-
*/
|
|
128
|
-
export declare const ValidationExceptionReason: {
|
|
129
|
-
readonly AUTOSHIFT_UPDATE_NOT_ALLOWED: "AutoshiftUpdateNotAllowed";
|
|
130
|
-
readonly CONFLICTING_PRACTICE_WINDOWS: "InvalidPracticeWindows";
|
|
131
|
-
readonly FIS_EXPERIMENT_UPDATE_NOT_ALLOWED: "FISExperimentUpdateNotAllowed";
|
|
132
|
-
readonly INVALID_ALARM_CONDITION: "InvalidAlarmCondition";
|
|
133
|
-
readonly INVALID_AZ: "InvalidAz";
|
|
134
|
-
readonly INVALID_CONDITION_TYPE: "InvalidConditionType";
|
|
135
|
-
readonly INVALID_EXPIRES_IN: "InvalidExpiresIn";
|
|
136
|
-
readonly INVALID_PRACTICE_ALLOWED_WINDOW: "InvalidPracticeAllowedWindow";
|
|
137
|
-
readonly INVALID_PRACTICE_BLOCKER: "InvalidPracticeBlocker";
|
|
138
|
-
readonly INVALID_RESOURCE_IDENTIFIER: "InvalidResourceIdentifier";
|
|
139
|
-
readonly INVALID_STATUS: "InvalidStatus";
|
|
140
|
-
readonly INVALID_TOKEN: "InvalidToken";
|
|
141
|
-
readonly MISSING_VALUE: "MissingValue";
|
|
142
|
-
readonly UNSUPPORTED_AZ: "UnsupportedAz";
|
|
143
|
-
readonly UNSUPPORTED_PRACTICE_CANCEL_SHIFT_TYPE: "UnsupportedPracticeCancelShiftType";
|
|
144
|
-
};
|
|
145
|
-
/**
|
|
146
|
-
* @public
|
|
147
|
-
*/
|
|
148
|
-
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
149
|
-
/**
|
|
150
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
151
|
-
* @public
|
|
152
|
-
*/
|
|
153
|
-
export declare class ValidationException extends __BaseException {
|
|
154
|
-
readonly name: "ValidationException";
|
|
155
|
-
readonly $fault: "client";
|
|
156
|
-
/**
|
|
157
|
-
* <p>The reason for the validation exception.</p>
|
|
158
|
-
* @public
|
|
159
|
-
*/
|
|
160
|
-
reason: ValidationExceptionReason | undefined;
|
|
161
|
-
/**
|
|
162
|
-
* @internal
|
|
163
|
-
*/
|
|
164
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
165
|
-
}
|
|
166
|
-
/**
|
|
167
|
-
* @public
|
|
168
|
-
* @enum
|
|
169
|
-
*/
|
|
170
|
-
export declare const AutoshiftAppliedStatus: {
|
|
171
|
-
readonly APPLIED: "APPLIED";
|
|
172
|
-
readonly NOT_APPLIED: "NOT_APPLIED";
|
|
173
|
-
};
|
|
174
|
-
/**
|
|
175
|
-
* @public
|
|
176
|
-
*/
|
|
177
|
-
export type AutoshiftAppliedStatus = (typeof AutoshiftAppliedStatus)[keyof typeof AutoshiftAppliedStatus];
|
|
178
63
|
/**
|
|
179
64
|
* <p>A complex structure that lists an autoshift that is currently active for a managed resource and information about the autoshift.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html">How zonal autoshift and practice runs work</a> in the Amazon Application Recovery Controller Developer Guide.</p>
|
|
180
65
|
* @public
|
|
@@ -201,18 +86,6 @@ export interface AutoshiftInResource {
|
|
|
201
86
|
*/
|
|
202
87
|
export interface GetAutoshiftObserverNotificationStatusRequest {
|
|
203
88
|
}
|
|
204
|
-
/**
|
|
205
|
-
* @public
|
|
206
|
-
* @enum
|
|
207
|
-
*/
|
|
208
|
-
export declare const AutoshiftObserverNotificationStatus: {
|
|
209
|
-
readonly DISABLED: "DISABLED";
|
|
210
|
-
readonly ENABLED: "ENABLED";
|
|
211
|
-
};
|
|
212
|
-
/**
|
|
213
|
-
* @public
|
|
214
|
-
*/
|
|
215
|
-
export type AutoshiftObserverNotificationStatus = (typeof AutoshiftObserverNotificationStatus)[keyof typeof AutoshiftObserverNotificationStatus];
|
|
216
89
|
/**
|
|
217
90
|
* @public
|
|
218
91
|
*/
|
|
@@ -243,17 +116,6 @@ export interface UpdateAutoshiftObserverNotificationStatusResponse {
|
|
|
243
116
|
*/
|
|
244
117
|
status: AutoshiftObserverNotificationStatus | undefined;
|
|
245
118
|
}
|
|
246
|
-
/**
|
|
247
|
-
* @public
|
|
248
|
-
* @enum
|
|
249
|
-
*/
|
|
250
|
-
export declare const ControlConditionType: {
|
|
251
|
-
readonly CLOUDWATCH: "CLOUDWATCH";
|
|
252
|
-
};
|
|
253
|
-
/**
|
|
254
|
-
* @public
|
|
255
|
-
*/
|
|
256
|
-
export type ControlConditionType = (typeof ControlConditionType)[keyof typeof ControlConditionType];
|
|
257
119
|
/**
|
|
258
120
|
* <p>A control condition is an alarm that you specify for a practice run. When you configure practice runs with zonal autoshift for a resource, you specify Amazon CloudWatch alarms, which you create in CloudWatch to use with the practice run. The alarms that you specify are an <i>outcome alarm</i>, to monitor application health during practice runs and, optionally, a <i>blocking alarm</i>, to block practice runs from starting or to interrupt a practice run in progress.</p> <p>Control condition alarms do not apply for autoshifts.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.considerations.html"> Considerations when you configure zonal autoshift</a> in the Amazon Application Recovery Controller Developer Guide.</p>
|
|
259
121
|
* @public
|
|
@@ -280,19 +142,6 @@ export interface CancelPracticeRunRequest {
|
|
|
280
142
|
*/
|
|
281
143
|
zonalShiftId: string | undefined;
|
|
282
144
|
}
|
|
283
|
-
/**
|
|
284
|
-
* @public
|
|
285
|
-
* @enum
|
|
286
|
-
*/
|
|
287
|
-
export declare const ZonalShiftStatus: {
|
|
288
|
-
readonly ACTIVE: "ACTIVE";
|
|
289
|
-
readonly CANCELED: "CANCELED";
|
|
290
|
-
readonly EXPIRED: "EXPIRED";
|
|
291
|
-
};
|
|
292
|
-
/**
|
|
293
|
-
* @public
|
|
294
|
-
*/
|
|
295
|
-
export type ZonalShiftStatus = (typeof ZonalShiftStatus)[keyof typeof ZonalShiftStatus];
|
|
296
145
|
/**
|
|
297
146
|
* @public
|
|
298
147
|
*/
|
|
@@ -333,62 +182,6 @@ export interface CancelPracticeRunResponse {
|
|
|
333
182
|
*/
|
|
334
183
|
comment: string | undefined;
|
|
335
184
|
}
|
|
336
|
-
/**
|
|
337
|
-
* @public
|
|
338
|
-
* @enum
|
|
339
|
-
*/
|
|
340
|
-
export declare const ConflictExceptionReason: {
|
|
341
|
-
readonly AUTOSHIFT_ENABLED: "AutoShiftEnabled";
|
|
342
|
-
readonly PRACTICE_BLOCKING_ALARMS_RED: "PracticeBlockingAlarmsRed";
|
|
343
|
-
readonly PRACTICE_CONFIGURATION_ALREADY_EXISTS: "PracticeConfigurationAlreadyExists";
|
|
344
|
-
readonly PRACTICE_CONFIGURATION_DOES_NOT_EXIST: "PracticeConfigurationDoesNotExist";
|
|
345
|
-
readonly PRACTICE_IN_BLOCKED_DATES: "PracticeInBlockedDates";
|
|
346
|
-
readonly PRACTICE_IN_BLOCKED_WINDOWS: "PracticeInBlockedWindows";
|
|
347
|
-
readonly PRACTICE_OUTCOME_ALARMS_RED: "PracticeOutcomeAlarmsRed";
|
|
348
|
-
readonly PRACTICE_OUTSIDE_ALLOWED_WINDOWS: "PracticeOutsideAllowedWindows";
|
|
349
|
-
readonly SIMULTANEOUS_ZONAL_SHIFTS_CONFLICT: "SimultaneousZonalShiftsConflict";
|
|
350
|
-
readonly ZONAL_AUTOSHIFT_ACTIVE: "ZonalAutoshiftActive";
|
|
351
|
-
readonly ZONAL_SHIFT_ALREADY_EXISTS: "ZonalShiftAlreadyExists";
|
|
352
|
-
readonly ZONAL_SHIFT_STATUS_NOT_ACTIVE: "ZonalShiftStatusNotActive";
|
|
353
|
-
};
|
|
354
|
-
/**
|
|
355
|
-
* @public
|
|
356
|
-
*/
|
|
357
|
-
export type ConflictExceptionReason = (typeof ConflictExceptionReason)[keyof typeof ConflictExceptionReason];
|
|
358
|
-
/**
|
|
359
|
-
* <p>The request could not be processed because of conflict in the current state of the resource.</p>
|
|
360
|
-
* @public
|
|
361
|
-
*/
|
|
362
|
-
export declare class ConflictException extends __BaseException {
|
|
363
|
-
readonly name: "ConflictException";
|
|
364
|
-
readonly $fault: "client";
|
|
365
|
-
/**
|
|
366
|
-
* <p>The reason for the conflict exception.</p>
|
|
367
|
-
* @public
|
|
368
|
-
*/
|
|
369
|
-
reason: ConflictExceptionReason | undefined;
|
|
370
|
-
/**
|
|
371
|
-
* <p>The zonal shift ID associated with the conflict exception.</p>
|
|
372
|
-
* @public
|
|
373
|
-
*/
|
|
374
|
-
zonalShiftId?: string | undefined;
|
|
375
|
-
/**
|
|
376
|
-
* @internal
|
|
377
|
-
*/
|
|
378
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
379
|
-
}
|
|
380
|
-
/**
|
|
381
|
-
* <p>The input requested a resource that was not found.</p>
|
|
382
|
-
* @public
|
|
383
|
-
*/
|
|
384
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
385
|
-
readonly name: "ResourceNotFoundException";
|
|
386
|
-
readonly $fault: "client";
|
|
387
|
-
/**
|
|
388
|
-
* @internal
|
|
389
|
-
*/
|
|
390
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
391
|
-
}
|
|
392
185
|
/**
|
|
393
186
|
* @public
|
|
394
187
|
*/
|
|
@@ -505,18 +298,6 @@ export interface PracticeRunConfiguration {
|
|
|
505
298
|
*/
|
|
506
299
|
blockedDates?: string[] | undefined;
|
|
507
300
|
}
|
|
508
|
-
/**
|
|
509
|
-
* @public
|
|
510
|
-
* @enum
|
|
511
|
-
*/
|
|
512
|
-
export declare const ZonalAutoshiftStatus: {
|
|
513
|
-
readonly DISABLED: "DISABLED";
|
|
514
|
-
readonly ENABLED: "ENABLED";
|
|
515
|
-
};
|
|
516
|
-
/**
|
|
517
|
-
* @public
|
|
518
|
-
*/
|
|
519
|
-
export type ZonalAutoshiftStatus = (typeof ZonalAutoshiftStatus)[keyof typeof ZonalAutoshiftStatus];
|
|
520
301
|
/**
|
|
521
302
|
* @public
|
|
522
303
|
*/
|
|
@@ -582,35 +363,6 @@ export interface GetManagedResourceRequest {
|
|
|
582
363
|
*/
|
|
583
364
|
resourceIdentifier: string | undefined;
|
|
584
365
|
}
|
|
585
|
-
/**
|
|
586
|
-
* @public
|
|
587
|
-
* @enum
|
|
588
|
-
*/
|
|
589
|
-
export declare const PracticeRunOutcome: {
|
|
590
|
-
readonly CAPACITY_CHECK_FAILED: "CAPACITY_CHECK_FAILED";
|
|
591
|
-
readonly FAILED: "FAILED";
|
|
592
|
-
readonly INTERRUPTED: "INTERRUPTED";
|
|
593
|
-
readonly PENDING: "PENDING";
|
|
594
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
595
|
-
};
|
|
596
|
-
/**
|
|
597
|
-
* @public
|
|
598
|
-
*/
|
|
599
|
-
export type PracticeRunOutcome = (typeof PracticeRunOutcome)[keyof typeof PracticeRunOutcome];
|
|
600
|
-
/**
|
|
601
|
-
* @public
|
|
602
|
-
* @enum
|
|
603
|
-
*/
|
|
604
|
-
export declare const ShiftType: {
|
|
605
|
-
readonly FIS_EXPERIMENT: "FIS_EXPERIMENT";
|
|
606
|
-
readonly PRACTICE_RUN: "PRACTICE_RUN";
|
|
607
|
-
readonly ZONAL_AUTOSHIFT: "ZONAL_AUTOSHIFT";
|
|
608
|
-
readonly ZONAL_SHIFT: "ZONAL_SHIFT";
|
|
609
|
-
};
|
|
610
|
-
/**
|
|
611
|
-
* @public
|
|
612
|
-
*/
|
|
613
|
-
export type ShiftType = (typeof ShiftType)[keyof typeof ShiftType];
|
|
614
366
|
/**
|
|
615
367
|
* <p>A complex structure that lists the zonal shifts for a managed resource and their statuses for the resource.</p>
|
|
616
368
|
* @public
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { ARCZonalShiftExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { ARCZonalShiftServiceException } from "./models/ARCZonalShiftServiceException";
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
export declare const AppliedStatus: {
|
|
2
|
+
readonly APPLIED: "APPLIED";
|
|
3
|
+
readonly NOT_APPLIED: "NOT_APPLIED";
|
|
4
|
+
};
|
|
5
|
+
export type AppliedStatus = (typeof AppliedStatus)[keyof typeof AppliedStatus];
|
|
6
|
+
export declare const AutoshiftExecutionStatus: {
|
|
7
|
+
readonly ACTIVE: "ACTIVE";
|
|
8
|
+
readonly COMPLETED: "COMPLETED";
|
|
9
|
+
};
|
|
10
|
+
export type AutoshiftExecutionStatus =
|
|
11
|
+
(typeof AutoshiftExecutionStatus)[keyof typeof AutoshiftExecutionStatus];
|
|
12
|
+
export declare const ValidationExceptionReason: {
|
|
13
|
+
readonly AUTOSHIFT_UPDATE_NOT_ALLOWED: "AutoshiftUpdateNotAllowed";
|
|
14
|
+
readonly CONFLICTING_PRACTICE_WINDOWS: "InvalidPracticeWindows";
|
|
15
|
+
readonly FIS_EXPERIMENT_UPDATE_NOT_ALLOWED: "FISExperimentUpdateNotAllowed";
|
|
16
|
+
readonly INVALID_ALARM_CONDITION: "InvalidAlarmCondition";
|
|
17
|
+
readonly INVALID_AZ: "InvalidAz";
|
|
18
|
+
readonly INVALID_CONDITION_TYPE: "InvalidConditionType";
|
|
19
|
+
readonly INVALID_EXPIRES_IN: "InvalidExpiresIn";
|
|
20
|
+
readonly INVALID_PRACTICE_ALLOWED_WINDOW: "InvalidPracticeAllowedWindow";
|
|
21
|
+
readonly INVALID_PRACTICE_BLOCKER: "InvalidPracticeBlocker";
|
|
22
|
+
readonly INVALID_RESOURCE_IDENTIFIER: "InvalidResourceIdentifier";
|
|
23
|
+
readonly INVALID_STATUS: "InvalidStatus";
|
|
24
|
+
readonly INVALID_TOKEN: "InvalidToken";
|
|
25
|
+
readonly MISSING_VALUE: "MissingValue";
|
|
26
|
+
readonly UNSUPPORTED_AZ: "UnsupportedAz";
|
|
27
|
+
readonly UNSUPPORTED_PRACTICE_CANCEL_SHIFT_TYPE: "UnsupportedPracticeCancelShiftType";
|
|
28
|
+
};
|
|
29
|
+
export type ValidationExceptionReason =
|
|
30
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
31
|
+
export declare const AutoshiftAppliedStatus: {
|
|
32
|
+
readonly APPLIED: "APPLIED";
|
|
33
|
+
readonly NOT_APPLIED: "NOT_APPLIED";
|
|
34
|
+
};
|
|
35
|
+
export type AutoshiftAppliedStatus =
|
|
36
|
+
(typeof AutoshiftAppliedStatus)[keyof typeof AutoshiftAppliedStatus];
|
|
37
|
+
export declare const AutoshiftObserverNotificationStatus: {
|
|
38
|
+
readonly DISABLED: "DISABLED";
|
|
39
|
+
readonly ENABLED: "ENABLED";
|
|
40
|
+
};
|
|
41
|
+
export type AutoshiftObserverNotificationStatus =
|
|
42
|
+
(typeof AutoshiftObserverNotificationStatus)[keyof typeof AutoshiftObserverNotificationStatus];
|
|
43
|
+
export declare const ControlConditionType: {
|
|
44
|
+
readonly CLOUDWATCH: "CLOUDWATCH";
|
|
45
|
+
};
|
|
46
|
+
export type ControlConditionType =
|
|
47
|
+
(typeof ControlConditionType)[keyof typeof ControlConditionType];
|
|
48
|
+
export declare const ZonalShiftStatus: {
|
|
49
|
+
readonly ACTIVE: "ACTIVE";
|
|
50
|
+
readonly CANCELED: "CANCELED";
|
|
51
|
+
readonly EXPIRED: "EXPIRED";
|
|
52
|
+
};
|
|
53
|
+
export type ZonalShiftStatus =
|
|
54
|
+
(typeof ZonalShiftStatus)[keyof typeof ZonalShiftStatus];
|
|
55
|
+
export declare const ConflictExceptionReason: {
|
|
56
|
+
readonly AUTOSHIFT_ENABLED: "AutoShiftEnabled";
|
|
57
|
+
readonly PRACTICE_BLOCKING_ALARMS_RED: "PracticeBlockingAlarmsRed";
|
|
58
|
+
readonly PRACTICE_CONFIGURATION_ALREADY_EXISTS: "PracticeConfigurationAlreadyExists";
|
|
59
|
+
readonly PRACTICE_CONFIGURATION_DOES_NOT_EXIST: "PracticeConfigurationDoesNotExist";
|
|
60
|
+
readonly PRACTICE_IN_BLOCKED_DATES: "PracticeInBlockedDates";
|
|
61
|
+
readonly PRACTICE_IN_BLOCKED_WINDOWS: "PracticeInBlockedWindows";
|
|
62
|
+
readonly PRACTICE_OUTCOME_ALARMS_RED: "PracticeOutcomeAlarmsRed";
|
|
63
|
+
readonly PRACTICE_OUTSIDE_ALLOWED_WINDOWS: "PracticeOutsideAllowedWindows";
|
|
64
|
+
readonly SIMULTANEOUS_ZONAL_SHIFTS_CONFLICT: "SimultaneousZonalShiftsConflict";
|
|
65
|
+
readonly ZONAL_AUTOSHIFT_ACTIVE: "ZonalAutoshiftActive";
|
|
66
|
+
readonly ZONAL_SHIFT_ALREADY_EXISTS: "ZonalShiftAlreadyExists";
|
|
67
|
+
readonly ZONAL_SHIFT_STATUS_NOT_ACTIVE: "ZonalShiftStatusNotActive";
|
|
68
|
+
};
|
|
69
|
+
export type ConflictExceptionReason =
|
|
70
|
+
(typeof ConflictExceptionReason)[keyof typeof ConflictExceptionReason];
|
|
71
|
+
export declare const ZonalAutoshiftStatus: {
|
|
72
|
+
readonly DISABLED: "DISABLED";
|
|
73
|
+
readonly ENABLED: "ENABLED";
|
|
74
|
+
};
|
|
75
|
+
export type ZonalAutoshiftStatus =
|
|
76
|
+
(typeof ZonalAutoshiftStatus)[keyof typeof ZonalAutoshiftStatus];
|
|
77
|
+
export declare const PracticeRunOutcome: {
|
|
78
|
+
readonly CAPACITY_CHECK_FAILED: "CAPACITY_CHECK_FAILED";
|
|
79
|
+
readonly FAILED: "FAILED";
|
|
80
|
+
readonly INTERRUPTED: "INTERRUPTED";
|
|
81
|
+
readonly PENDING: "PENDING";
|
|
82
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
83
|
+
};
|
|
84
|
+
export type PracticeRunOutcome =
|
|
85
|
+
(typeof PracticeRunOutcome)[keyof typeof PracticeRunOutcome];
|
|
86
|
+
export declare const ShiftType: {
|
|
87
|
+
readonly FIS_EXPERIMENT: "FIS_EXPERIMENT";
|
|
88
|
+
readonly PRACTICE_RUN: "PRACTICE_RUN";
|
|
89
|
+
readonly ZONAL_AUTOSHIFT: "ZONAL_AUTOSHIFT";
|
|
90
|
+
readonly ZONAL_SHIFT: "ZONAL_SHIFT";
|
|
91
|
+
};
|
|
92
|
+
export type ShiftType = (typeof ShiftType)[keyof typeof ShiftType];
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ARCZonalShiftServiceException as __BaseException } from "./ARCZonalShiftServiceException";
|
|
3
|
+
import { ConflictExceptionReason, ValidationExceptionReason } from "./enums";
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class InternalServerException extends __BaseException {
|
|
12
|
+
readonly name: "InternalServerException";
|
|
13
|
+
readonly $fault: "server";
|
|
14
|
+
constructor(
|
|
15
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
export declare class ThrottlingException extends __BaseException {
|
|
19
|
+
readonly name: "ThrottlingException";
|
|
20
|
+
readonly $fault: "client";
|
|
21
|
+
constructor(
|
|
22
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
export declare class ValidationException extends __BaseException {
|
|
26
|
+
readonly name: "ValidationException";
|
|
27
|
+
readonly $fault: "client";
|
|
28
|
+
reason: ValidationExceptionReason | undefined;
|
|
29
|
+
constructor(
|
|
30
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
export declare class ConflictException extends __BaseException {
|
|
34
|
+
readonly name: "ConflictException";
|
|
35
|
+
readonly $fault: "client";
|
|
36
|
+
reason: ConflictExceptionReason | undefined;
|
|
37
|
+
zonalShiftId?: string | undefined;
|
|
38
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
39
|
+
}
|
|
40
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
41
|
+
readonly name: "ResourceNotFoundException";
|
|
42
|
+
readonly $fault: "client";
|
|
43
|
+
constructor(
|
|
44
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
45
|
+
);
|
|
46
|
+
}
|