@aws-sdk/client-lex-model-building-service 3.934.0 → 3.936.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +121 -120
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +120 -0
- package/dist-es/models/errors.js +103 -0
- package/dist-es/models/models_0.js +1 -223
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +312 -0
- package/dist-types/models/errors.d.ts +131 -0
- package/dist-types/models/models_0.d.ts +1 -441
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +153 -0
- package/dist-types/ts3.4/models/errors.d.ts +59 -0
- package/dist-types/ts3.4/models/models_0.d.ts +25 -210
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -153,33 +153,6 @@ let ConflictException$1 = class ConflictException extends LexModelBuildingServic
|
|
|
153
153
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
|
-
const ContentType = {
|
|
157
|
-
CUSTOM_PAYLOAD: "CustomPayload",
|
|
158
|
-
PLAIN_TEXT: "PlainText",
|
|
159
|
-
SSML: "SSML",
|
|
160
|
-
};
|
|
161
|
-
const Locale = {
|
|
162
|
-
DE_DE: "de-DE",
|
|
163
|
-
EN_AU: "en-AU",
|
|
164
|
-
EN_GB: "en-GB",
|
|
165
|
-
EN_IN: "en-IN",
|
|
166
|
-
EN_US: "en-US",
|
|
167
|
-
ES_419: "es-419",
|
|
168
|
-
ES_ES: "es-ES",
|
|
169
|
-
ES_US: "es-US",
|
|
170
|
-
FR_CA: "fr-CA",
|
|
171
|
-
FR_FR: "fr-FR",
|
|
172
|
-
IT_IT: "it-IT",
|
|
173
|
-
JA_JP: "ja-JP",
|
|
174
|
-
KO_KR: "ko-KR",
|
|
175
|
-
};
|
|
176
|
-
const Status = {
|
|
177
|
-
BUILDING: "BUILDING",
|
|
178
|
-
FAILED: "FAILED",
|
|
179
|
-
NOT_BUILT: "NOT_BUILT",
|
|
180
|
-
READY: "READY",
|
|
181
|
-
READY_BASIC_TESTING: "READY_BASIC_TESTING",
|
|
182
|
-
};
|
|
183
156
|
let InternalFailureException$1 = class InternalFailureException extends LexModelBuildingServiceServiceException$1 {
|
|
184
157
|
name = "InternalFailureException";
|
|
185
158
|
$fault = "server";
|
|
@@ -230,28 +203,6 @@ let PreconditionFailedException$1 = class PreconditionFailedException extends Le
|
|
|
230
203
|
Object.setPrototypeOf(this, PreconditionFailedException.prototype);
|
|
231
204
|
}
|
|
232
205
|
};
|
|
233
|
-
const FulfillmentActivityType = {
|
|
234
|
-
CODE_HOOK: "CodeHook",
|
|
235
|
-
RETURN_INTENT: "ReturnIntent",
|
|
236
|
-
};
|
|
237
|
-
const ObfuscationSetting = {
|
|
238
|
-
DEFAULT_OBFUSCATION: "DEFAULT_OBFUSCATION",
|
|
239
|
-
NONE: "NONE",
|
|
240
|
-
};
|
|
241
|
-
const SlotConstraint = {
|
|
242
|
-
OPTIONAL: "Optional",
|
|
243
|
-
REQUIRED: "Required",
|
|
244
|
-
};
|
|
245
|
-
const SlotValueSelectionStrategy = {
|
|
246
|
-
ORIGINAL_VALUE: "ORIGINAL_VALUE",
|
|
247
|
-
TOP_RESOLUTION: "TOP_RESOLUTION",
|
|
248
|
-
};
|
|
249
|
-
const ReferenceType = {
|
|
250
|
-
BOT: "Bot",
|
|
251
|
-
BOTALIAS: "BotAlias",
|
|
252
|
-
BOTCHANNEL: "BotChannel",
|
|
253
|
-
INTENT: "Intent",
|
|
254
|
-
};
|
|
255
206
|
let ResourceInUseException$1 = class ResourceInUseException extends LexModelBuildingServiceServiceException$1 {
|
|
256
207
|
name = "ResourceInUseException";
|
|
257
208
|
$fault = "client";
|
|
@@ -268,77 +219,6 @@ let ResourceInUseException$1 = class ResourceInUseException extends LexModelBuil
|
|
|
268
219
|
this.exampleReference = opts.exampleReference;
|
|
269
220
|
}
|
|
270
221
|
};
|
|
271
|
-
const Destination = {
|
|
272
|
-
CLOUDWATCH_LOGS: "CLOUDWATCH_LOGS",
|
|
273
|
-
S3: "S3",
|
|
274
|
-
};
|
|
275
|
-
const LogType = {
|
|
276
|
-
AUDIO: "AUDIO",
|
|
277
|
-
TEXT: "TEXT",
|
|
278
|
-
};
|
|
279
|
-
const ChannelStatus = {
|
|
280
|
-
CREATED: "CREATED",
|
|
281
|
-
FAILED: "FAILED",
|
|
282
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
283
|
-
};
|
|
284
|
-
const ChannelType = {
|
|
285
|
-
FACEBOOK: "Facebook",
|
|
286
|
-
KIK: "Kik",
|
|
287
|
-
SLACK: "Slack",
|
|
288
|
-
TWILIO_SMS: "Twilio-Sms",
|
|
289
|
-
};
|
|
290
|
-
const ExportType = {
|
|
291
|
-
ALEXA_SKILLS_KIT: "ALEXA_SKILLS_KIT",
|
|
292
|
-
LEX: "LEX",
|
|
293
|
-
};
|
|
294
|
-
const ResourceType = {
|
|
295
|
-
BOT: "BOT",
|
|
296
|
-
INTENT: "INTENT",
|
|
297
|
-
SLOT_TYPE: "SLOT_TYPE",
|
|
298
|
-
};
|
|
299
|
-
const ExportStatus = {
|
|
300
|
-
FAILED: "FAILED",
|
|
301
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
302
|
-
READY: "READY",
|
|
303
|
-
};
|
|
304
|
-
const ImportStatus = {
|
|
305
|
-
COMPLETE: "COMPLETE",
|
|
306
|
-
FAILED: "FAILED",
|
|
307
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
308
|
-
};
|
|
309
|
-
const MergeStrategy = {
|
|
310
|
-
FAIL_ON_CONFLICT: "FAIL_ON_CONFLICT",
|
|
311
|
-
OVERWRITE_LATEST: "OVERWRITE_LATEST",
|
|
312
|
-
};
|
|
313
|
-
const MigrationAlertType = {
|
|
314
|
-
ERROR: "ERROR",
|
|
315
|
-
WARN: "WARN",
|
|
316
|
-
};
|
|
317
|
-
const MigrationStatus = {
|
|
318
|
-
COMPLETED: "COMPLETED",
|
|
319
|
-
FAILED: "FAILED",
|
|
320
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
321
|
-
};
|
|
322
|
-
const MigrationStrategy = {
|
|
323
|
-
CREATE_NEW: "CREATE_NEW",
|
|
324
|
-
UPDATE_EXISTING: "UPDATE_EXISTING",
|
|
325
|
-
};
|
|
326
|
-
const MigrationSortAttribute = {
|
|
327
|
-
MIGRATION_DATE_TIME: "MIGRATION_DATE_TIME",
|
|
328
|
-
V1_BOT_NAME: "V1_BOT_NAME",
|
|
329
|
-
};
|
|
330
|
-
const SortOrder = {
|
|
331
|
-
ASCENDING: "ASCENDING",
|
|
332
|
-
DESCENDING: "DESCENDING",
|
|
333
|
-
};
|
|
334
|
-
const StatusType = {
|
|
335
|
-
DETECTED: "Detected",
|
|
336
|
-
MISSED: "Missed",
|
|
337
|
-
};
|
|
338
|
-
const ProcessBehavior = {
|
|
339
|
-
BUILD: "BUILD",
|
|
340
|
-
SAVE: "SAVE",
|
|
341
|
-
};
|
|
342
222
|
|
|
343
223
|
const _ADE = "AccessDeniedException";
|
|
344
224
|
const _BA = "BotAliases";
|
|
@@ -2741,6 +2621,127 @@ const paginateGetSlotTypeVersions = core.createPaginator(LexModelBuildingService
|
|
|
2741
2621
|
|
|
2742
2622
|
const paginateGetSlotTypes = core.createPaginator(LexModelBuildingServiceClient, GetSlotTypesCommand, "nextToken", "nextToken", "maxResults");
|
|
2743
2623
|
|
|
2624
|
+
const ContentType = {
|
|
2625
|
+
CUSTOM_PAYLOAD: "CustomPayload",
|
|
2626
|
+
PLAIN_TEXT: "PlainText",
|
|
2627
|
+
SSML: "SSML",
|
|
2628
|
+
};
|
|
2629
|
+
const Locale = {
|
|
2630
|
+
DE_DE: "de-DE",
|
|
2631
|
+
EN_AU: "en-AU",
|
|
2632
|
+
EN_GB: "en-GB",
|
|
2633
|
+
EN_IN: "en-IN",
|
|
2634
|
+
EN_US: "en-US",
|
|
2635
|
+
ES_419: "es-419",
|
|
2636
|
+
ES_ES: "es-ES",
|
|
2637
|
+
ES_US: "es-US",
|
|
2638
|
+
FR_CA: "fr-CA",
|
|
2639
|
+
FR_FR: "fr-FR",
|
|
2640
|
+
IT_IT: "it-IT",
|
|
2641
|
+
JA_JP: "ja-JP",
|
|
2642
|
+
KO_KR: "ko-KR",
|
|
2643
|
+
};
|
|
2644
|
+
const Status = {
|
|
2645
|
+
BUILDING: "BUILDING",
|
|
2646
|
+
FAILED: "FAILED",
|
|
2647
|
+
NOT_BUILT: "NOT_BUILT",
|
|
2648
|
+
READY: "READY",
|
|
2649
|
+
READY_BASIC_TESTING: "READY_BASIC_TESTING",
|
|
2650
|
+
};
|
|
2651
|
+
const FulfillmentActivityType = {
|
|
2652
|
+
CODE_HOOK: "CodeHook",
|
|
2653
|
+
RETURN_INTENT: "ReturnIntent",
|
|
2654
|
+
};
|
|
2655
|
+
const ObfuscationSetting = {
|
|
2656
|
+
DEFAULT_OBFUSCATION: "DEFAULT_OBFUSCATION",
|
|
2657
|
+
NONE: "NONE",
|
|
2658
|
+
};
|
|
2659
|
+
const SlotConstraint = {
|
|
2660
|
+
OPTIONAL: "Optional",
|
|
2661
|
+
REQUIRED: "Required",
|
|
2662
|
+
};
|
|
2663
|
+
const SlotValueSelectionStrategy = {
|
|
2664
|
+
ORIGINAL_VALUE: "ORIGINAL_VALUE",
|
|
2665
|
+
TOP_RESOLUTION: "TOP_RESOLUTION",
|
|
2666
|
+
};
|
|
2667
|
+
const ReferenceType = {
|
|
2668
|
+
BOT: "Bot",
|
|
2669
|
+
BOTALIAS: "BotAlias",
|
|
2670
|
+
BOTCHANNEL: "BotChannel",
|
|
2671
|
+
INTENT: "Intent",
|
|
2672
|
+
};
|
|
2673
|
+
const Destination = {
|
|
2674
|
+
CLOUDWATCH_LOGS: "CLOUDWATCH_LOGS",
|
|
2675
|
+
S3: "S3",
|
|
2676
|
+
};
|
|
2677
|
+
const LogType = {
|
|
2678
|
+
AUDIO: "AUDIO",
|
|
2679
|
+
TEXT: "TEXT",
|
|
2680
|
+
};
|
|
2681
|
+
const ChannelStatus = {
|
|
2682
|
+
CREATED: "CREATED",
|
|
2683
|
+
FAILED: "FAILED",
|
|
2684
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
2685
|
+
};
|
|
2686
|
+
const ChannelType = {
|
|
2687
|
+
FACEBOOK: "Facebook",
|
|
2688
|
+
KIK: "Kik",
|
|
2689
|
+
SLACK: "Slack",
|
|
2690
|
+
TWILIO_SMS: "Twilio-Sms",
|
|
2691
|
+
};
|
|
2692
|
+
const ExportType = {
|
|
2693
|
+
ALEXA_SKILLS_KIT: "ALEXA_SKILLS_KIT",
|
|
2694
|
+
LEX: "LEX",
|
|
2695
|
+
};
|
|
2696
|
+
const ResourceType = {
|
|
2697
|
+
BOT: "BOT",
|
|
2698
|
+
INTENT: "INTENT",
|
|
2699
|
+
SLOT_TYPE: "SLOT_TYPE",
|
|
2700
|
+
};
|
|
2701
|
+
const ExportStatus = {
|
|
2702
|
+
FAILED: "FAILED",
|
|
2703
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
2704
|
+
READY: "READY",
|
|
2705
|
+
};
|
|
2706
|
+
const ImportStatus = {
|
|
2707
|
+
COMPLETE: "COMPLETE",
|
|
2708
|
+
FAILED: "FAILED",
|
|
2709
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
2710
|
+
};
|
|
2711
|
+
const MergeStrategy = {
|
|
2712
|
+
FAIL_ON_CONFLICT: "FAIL_ON_CONFLICT",
|
|
2713
|
+
OVERWRITE_LATEST: "OVERWRITE_LATEST",
|
|
2714
|
+
};
|
|
2715
|
+
const MigrationAlertType = {
|
|
2716
|
+
ERROR: "ERROR",
|
|
2717
|
+
WARN: "WARN",
|
|
2718
|
+
};
|
|
2719
|
+
const MigrationStatus = {
|
|
2720
|
+
COMPLETED: "COMPLETED",
|
|
2721
|
+
FAILED: "FAILED",
|
|
2722
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
2723
|
+
};
|
|
2724
|
+
const MigrationStrategy = {
|
|
2725
|
+
CREATE_NEW: "CREATE_NEW",
|
|
2726
|
+
UPDATE_EXISTING: "UPDATE_EXISTING",
|
|
2727
|
+
};
|
|
2728
|
+
const MigrationSortAttribute = {
|
|
2729
|
+
MIGRATION_DATE_TIME: "MIGRATION_DATE_TIME",
|
|
2730
|
+
V1_BOT_NAME: "V1_BOT_NAME",
|
|
2731
|
+
};
|
|
2732
|
+
const SortOrder = {
|
|
2733
|
+
ASCENDING: "ASCENDING",
|
|
2734
|
+
DESCENDING: "DESCENDING",
|
|
2735
|
+
};
|
|
2736
|
+
const StatusType = {
|
|
2737
|
+
DETECTED: "Detected",
|
|
2738
|
+
MISSED: "Missed",
|
|
2739
|
+
};
|
|
2740
|
+
const ProcessBehavior = {
|
|
2741
|
+
BUILD: "BUILD",
|
|
2742
|
+
SAVE: "SAVE",
|
|
2743
|
+
};
|
|
2744
|
+
|
|
2744
2745
|
Object.defineProperty(exports, "$Command", {
|
|
2745
2746
|
enumerable: true,
|
|
2746
2747
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./LexModelBuildingServiceClient";
|
|
|
2
2
|
export * from "./LexModelBuildingService";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { LexModelBuildingServiceServiceException } from "./models/LexModelBuildingServiceServiceException";
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
export const ContentType = {
|
|
2
|
+
CUSTOM_PAYLOAD: "CustomPayload",
|
|
3
|
+
PLAIN_TEXT: "PlainText",
|
|
4
|
+
SSML: "SSML",
|
|
5
|
+
};
|
|
6
|
+
export const Locale = {
|
|
7
|
+
DE_DE: "de-DE",
|
|
8
|
+
EN_AU: "en-AU",
|
|
9
|
+
EN_GB: "en-GB",
|
|
10
|
+
EN_IN: "en-IN",
|
|
11
|
+
EN_US: "en-US",
|
|
12
|
+
ES_419: "es-419",
|
|
13
|
+
ES_ES: "es-ES",
|
|
14
|
+
ES_US: "es-US",
|
|
15
|
+
FR_CA: "fr-CA",
|
|
16
|
+
FR_FR: "fr-FR",
|
|
17
|
+
IT_IT: "it-IT",
|
|
18
|
+
JA_JP: "ja-JP",
|
|
19
|
+
KO_KR: "ko-KR",
|
|
20
|
+
};
|
|
21
|
+
export const Status = {
|
|
22
|
+
BUILDING: "BUILDING",
|
|
23
|
+
FAILED: "FAILED",
|
|
24
|
+
NOT_BUILT: "NOT_BUILT",
|
|
25
|
+
READY: "READY",
|
|
26
|
+
READY_BASIC_TESTING: "READY_BASIC_TESTING",
|
|
27
|
+
};
|
|
28
|
+
export const FulfillmentActivityType = {
|
|
29
|
+
CODE_HOOK: "CodeHook",
|
|
30
|
+
RETURN_INTENT: "ReturnIntent",
|
|
31
|
+
};
|
|
32
|
+
export const ObfuscationSetting = {
|
|
33
|
+
DEFAULT_OBFUSCATION: "DEFAULT_OBFUSCATION",
|
|
34
|
+
NONE: "NONE",
|
|
35
|
+
};
|
|
36
|
+
export const SlotConstraint = {
|
|
37
|
+
OPTIONAL: "Optional",
|
|
38
|
+
REQUIRED: "Required",
|
|
39
|
+
};
|
|
40
|
+
export const SlotValueSelectionStrategy = {
|
|
41
|
+
ORIGINAL_VALUE: "ORIGINAL_VALUE",
|
|
42
|
+
TOP_RESOLUTION: "TOP_RESOLUTION",
|
|
43
|
+
};
|
|
44
|
+
export const ReferenceType = {
|
|
45
|
+
BOT: "Bot",
|
|
46
|
+
BOTALIAS: "BotAlias",
|
|
47
|
+
BOTCHANNEL: "BotChannel",
|
|
48
|
+
INTENT: "Intent",
|
|
49
|
+
};
|
|
50
|
+
export const Destination = {
|
|
51
|
+
CLOUDWATCH_LOGS: "CLOUDWATCH_LOGS",
|
|
52
|
+
S3: "S3",
|
|
53
|
+
};
|
|
54
|
+
export const LogType = {
|
|
55
|
+
AUDIO: "AUDIO",
|
|
56
|
+
TEXT: "TEXT",
|
|
57
|
+
};
|
|
58
|
+
export const ChannelStatus = {
|
|
59
|
+
CREATED: "CREATED",
|
|
60
|
+
FAILED: "FAILED",
|
|
61
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
62
|
+
};
|
|
63
|
+
export const ChannelType = {
|
|
64
|
+
FACEBOOK: "Facebook",
|
|
65
|
+
KIK: "Kik",
|
|
66
|
+
SLACK: "Slack",
|
|
67
|
+
TWILIO_SMS: "Twilio-Sms",
|
|
68
|
+
};
|
|
69
|
+
export const ExportType = {
|
|
70
|
+
ALEXA_SKILLS_KIT: "ALEXA_SKILLS_KIT",
|
|
71
|
+
LEX: "LEX",
|
|
72
|
+
};
|
|
73
|
+
export const ResourceType = {
|
|
74
|
+
BOT: "BOT",
|
|
75
|
+
INTENT: "INTENT",
|
|
76
|
+
SLOT_TYPE: "SLOT_TYPE",
|
|
77
|
+
};
|
|
78
|
+
export const ExportStatus = {
|
|
79
|
+
FAILED: "FAILED",
|
|
80
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
81
|
+
READY: "READY",
|
|
82
|
+
};
|
|
83
|
+
export const ImportStatus = {
|
|
84
|
+
COMPLETE: "COMPLETE",
|
|
85
|
+
FAILED: "FAILED",
|
|
86
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
87
|
+
};
|
|
88
|
+
export const MergeStrategy = {
|
|
89
|
+
FAIL_ON_CONFLICT: "FAIL_ON_CONFLICT",
|
|
90
|
+
OVERWRITE_LATEST: "OVERWRITE_LATEST",
|
|
91
|
+
};
|
|
92
|
+
export const MigrationAlertType = {
|
|
93
|
+
ERROR: "ERROR",
|
|
94
|
+
WARN: "WARN",
|
|
95
|
+
};
|
|
96
|
+
export const MigrationStatus = {
|
|
97
|
+
COMPLETED: "COMPLETED",
|
|
98
|
+
FAILED: "FAILED",
|
|
99
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
100
|
+
};
|
|
101
|
+
export const MigrationStrategy = {
|
|
102
|
+
CREATE_NEW: "CREATE_NEW",
|
|
103
|
+
UPDATE_EXISTING: "UPDATE_EXISTING",
|
|
104
|
+
};
|
|
105
|
+
export const MigrationSortAttribute = {
|
|
106
|
+
MIGRATION_DATE_TIME: "MIGRATION_DATE_TIME",
|
|
107
|
+
V1_BOT_NAME: "V1_BOT_NAME",
|
|
108
|
+
};
|
|
109
|
+
export const SortOrder = {
|
|
110
|
+
ASCENDING: "ASCENDING",
|
|
111
|
+
DESCENDING: "DESCENDING",
|
|
112
|
+
};
|
|
113
|
+
export const StatusType = {
|
|
114
|
+
DETECTED: "Detected",
|
|
115
|
+
MISSED: "Missed",
|
|
116
|
+
};
|
|
117
|
+
export const ProcessBehavior = {
|
|
118
|
+
BUILD: "BUILD",
|
|
119
|
+
SAVE: "SAVE",
|
|
120
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { LexModelBuildingServiceServiceException as __BaseException } from "./LexModelBuildingServiceServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class BadRequestException extends __BaseException {
|
|
15
|
+
name = "BadRequestException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "BadRequestException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class ConflictException extends __BaseException {
|
|
27
|
+
name = "ConflictException";
|
|
28
|
+
$fault = "client";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "ConflictException",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class InternalFailureException extends __BaseException {
|
|
39
|
+
name = "InternalFailureException";
|
|
40
|
+
$fault = "server";
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "InternalFailureException",
|
|
44
|
+
$fault: "server",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class LimitExceededException extends __BaseException {
|
|
51
|
+
name = "LimitExceededException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
retryAfterSeconds;
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "LimitExceededException",
|
|
57
|
+
$fault: "client",
|
|
58
|
+
...opts,
|
|
59
|
+
});
|
|
60
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
61
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
export class NotFoundException extends __BaseException {
|
|
65
|
+
name = "NotFoundException";
|
|
66
|
+
$fault = "client";
|
|
67
|
+
constructor(opts) {
|
|
68
|
+
super({
|
|
69
|
+
name: "NotFoundException",
|
|
70
|
+
$fault: "client",
|
|
71
|
+
...opts,
|
|
72
|
+
});
|
|
73
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
export class PreconditionFailedException extends __BaseException {
|
|
77
|
+
name = "PreconditionFailedException";
|
|
78
|
+
$fault = "client";
|
|
79
|
+
constructor(opts) {
|
|
80
|
+
super({
|
|
81
|
+
name: "PreconditionFailedException",
|
|
82
|
+
$fault: "client",
|
|
83
|
+
...opts,
|
|
84
|
+
});
|
|
85
|
+
Object.setPrototypeOf(this, PreconditionFailedException.prototype);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
export class ResourceInUseException extends __BaseException {
|
|
89
|
+
name = "ResourceInUseException";
|
|
90
|
+
$fault = "client";
|
|
91
|
+
referenceType;
|
|
92
|
+
exampleReference;
|
|
93
|
+
constructor(opts) {
|
|
94
|
+
super({
|
|
95
|
+
name: "ResourceInUseException",
|
|
96
|
+
$fault: "client",
|
|
97
|
+
...opts,
|
|
98
|
+
});
|
|
99
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
100
|
+
this.referenceType = opts.referenceType;
|
|
101
|
+
this.exampleReference = opts.exampleReference;
|
|
102
|
+
}
|
|
103
|
+
}
|