@aws-sdk/client-qbusiness 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.
Files changed (73) hide show
  1. package/dist-cjs/index.js +340 -345
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +339 -0
  4. package/dist-es/models/errors.js +137 -0
  5. package/dist-es/models/models_0.js +0 -417
  6. package/dist-es/models/models_1.js +1 -60
  7. package/dist-es/schemas/schemas_0.js +1 -1
  8. package/dist-types/commands/GetChatResponseConfigurationCommand.d.ts +1 -1
  9. package/dist-types/commands/GetDocumentContentCommand.d.ts +1 -1
  10. package/dist-types/commands/GetGroupCommand.d.ts +1 -1
  11. package/dist-types/commands/GetMediaCommand.d.ts +1 -1
  12. package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
  13. package/dist-types/commands/GetUserCommand.d.ts +1 -1
  14. package/dist-types/commands/ListAttachmentsCommand.d.ts +1 -1
  15. package/dist-types/commands/ListChatResponseConfigurationsCommand.d.ts +1 -1
  16. package/dist-types/commands/ListConversationsCommand.d.ts +1 -1
  17. package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListDocumentsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
  20. package/dist-types/commands/ListMessagesCommand.d.ts +1 -1
  21. package/dist-types/commands/ListPluginActionsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListPluginTypeActionsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListPluginTypeMetadataCommand.d.ts +1 -1
  24. package/dist-types/commands/ListSubscriptionsCommand.d.ts +1 -1
  25. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  26. package/dist-types/commands/PutFeedbackCommand.d.ts +1 -1
  27. package/dist-types/commands/PutGroupCommand.d.ts +1 -1
  28. package/dist-types/commands/SearchRelevantContentCommand.d.ts +2 -1
  29. package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
  30. package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
  31. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  32. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateChatControlsConfigurationCommand.d.ts +2 -1
  34. package/dist-types/index.d.ts +4 -1
  35. package/dist-types/models/enums.d.ts +811 -0
  36. package/dist-types/models/errors.d.ts +164 -0
  37. package/dist-types/models/models_0.d.ts +1208 -858
  38. package/dist-types/models/models_1.d.ts +2 -1325
  39. package/dist-types/ts3.4/commands/GetChatResponseConfigurationCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/GetDocumentContentCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/GetMediaCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/GetUserCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/ListAttachmentsCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/ListChatResponseConfigurationsCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ListConversationsCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/ListDataSourceSyncJobsCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/ListDocumentsCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/ListMessagesCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/ListPluginActionsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/ListPluginTypeActionsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ListPluginTypeMetadataCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/PutFeedbackCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/PutGroupCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/SearchRelevantContentCommand.d.ts +2 -4
  60. package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/UpdateChatControlsConfigurationCommand.d.ts +2 -4
  65. package/dist-types/ts3.4/index.d.ts +4 -1
  66. package/dist-types/ts3.4/models/enums.d.ts +440 -0
  67. package/dist-types/ts3.4/models/errors.d.ts +80 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +359 -453
  69. package/dist-types/ts3.4/models/models_1.d.ts +1 -392
  70. package/package.json +21 -21
  71. package/dist-es/models/index.js +0 -2
  72. package/dist-types/models/index.d.ts +0 -2
  73. package/dist-types/ts3.4/models/index.d.ts +0 -2
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./QBusinessClient";
2
2
  export * from "./QBusiness";
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 { QBusinessServiceException } from "./models/QBusinessServiceException";
@@ -0,0 +1,339 @@
1
+ export const MemberRelation = {
2
+ AND: "AND",
3
+ OR: "OR",
4
+ };
5
+ export const ReadAccessType = {
6
+ ALLOW: "ALLOW",
7
+ DENY: "DENY",
8
+ };
9
+ export const MembershipType = {
10
+ DATASOURCE: "DATASOURCE",
11
+ INDEX: "INDEX",
12
+ };
13
+ export const ActionPayloadFieldType = {
14
+ ARRAY: "ARRAY",
15
+ BOOLEAN: "BOOLEAN",
16
+ NUMBER: "NUMBER",
17
+ STRING: "STRING",
18
+ };
19
+ export const PluginType = {
20
+ ASANA: "ASANA",
21
+ ATLASSIAN_CONFLUENCE: "ATLASSIAN_CONFLUENCE",
22
+ CUSTOM: "CUSTOM",
23
+ GOOGLE_CALENDAR: "GOOGLE_CALENDAR",
24
+ JIRA: "JIRA",
25
+ JIRA_CLOUD: "JIRA_CLOUD",
26
+ MICROSOFT_EXCHANGE: "MICROSOFT_EXCHANGE",
27
+ MICROSOFT_TEAMS: "MICROSOFT_TEAMS",
28
+ PAGERDUTY_ADVANCE: "PAGERDUTY_ADVANCE",
29
+ QUICKSIGHT: "QUICKSIGHT",
30
+ SALESFORCE: "SALESFORCE",
31
+ SALESFORCE_CRM: "SALESFORCE_CRM",
32
+ SERVICENOW_NOW_PLATFORM: "SERVICENOW_NOW_PLATFORM",
33
+ SERVICE_NOW: "SERVICE_NOW",
34
+ SMARTSHEET: "SMARTSHEET",
35
+ ZENDESK: "ZENDESK",
36
+ ZENDESK_SUITE: "ZENDESK_SUITE",
37
+ };
38
+ export const APISchemaType = {
39
+ OPEN_API_V3: "OPEN_API_V3",
40
+ };
41
+ export const IdentityType = {
42
+ ANONYMOUS: "ANONYMOUS",
43
+ AWS_IAM_IDC: "AWS_IAM_IDC",
44
+ AWS_IAM_IDP_OIDC: "AWS_IAM_IDP_OIDC",
45
+ AWS_IAM_IDP_SAML: "AWS_IAM_IDP_SAML",
46
+ AWS_QUICKSIGHT_IDP: "AWS_QUICKSIGHT_IDP",
47
+ };
48
+ export const ApplicationStatus = {
49
+ ACTIVE: "ACTIVE",
50
+ CREATING: "CREATING",
51
+ DELETING: "DELETING",
52
+ FAILED: "FAILED",
53
+ UPDATING: "UPDATING",
54
+ };
55
+ export const AttachmentsControlMode = {
56
+ DISABLED: "DISABLED",
57
+ ENABLED: "ENABLED",
58
+ };
59
+ export const PersonalizationControlMode = {
60
+ DISABLED: "DISABLED",
61
+ ENABLED: "ENABLED",
62
+ };
63
+ export const QAppsControlMode = {
64
+ DISABLED: "DISABLED",
65
+ ENABLED: "ENABLED",
66
+ };
67
+ export const ValidationExceptionReason = {
68
+ CANNOT_PARSE: "CANNOT_PARSE",
69
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
70
+ UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
71
+ };
72
+ export const DataAccessorAuthenticationType = {
73
+ AWS_IAM_IDC_AUTH_CODE: "AWS_IAM_IDC_AUTH_CODE",
74
+ AWS_IAM_IDC_TTI: "AWS_IAM_IDC_TTI",
75
+ };
76
+ export const AutoSubscriptionStatus = {
77
+ DISABLED: "DISABLED",
78
+ ENABLED: "ENABLED",
79
+ };
80
+ export const SubscriptionType = {
81
+ Q_BUSINESS: "Q_BUSINESS",
82
+ Q_LITE: "Q_LITE",
83
+ };
84
+ export const ErrorCode = {
85
+ INTERNAL_ERROR: "InternalError",
86
+ INVALID_REQUEST: "InvalidRequest",
87
+ RESOURCE_INACTIVE: "ResourceInactive",
88
+ RESOURCE_NOT_FOUND: "ResourceNotFound",
89
+ };
90
+ export const IndexType = {
91
+ ENTERPRISE: "ENTERPRISE",
92
+ STARTER: "STARTER",
93
+ };
94
+ export const DocumentEnrichmentConditionOperator = {
95
+ BEGINS_WITH: "BEGINS_WITH",
96
+ CONTAINS: "CONTAINS",
97
+ EQUALS: "EQUALS",
98
+ EXISTS: "EXISTS",
99
+ GREATER_THAN: "GREATER_THAN",
100
+ GREATER_THAN_OR_EQUALS: "GREATER_THAN_OR_EQUALS",
101
+ LESS_THAN: "LESS_THAN",
102
+ LESS_THAN_OR_EQUALS: "LESS_THAN_OR_EQUALS",
103
+ NOT_CONTAINS: "NOT_CONTAINS",
104
+ NOT_EQUALS: "NOT_EQUALS",
105
+ NOT_EXISTS: "NOT_EXISTS",
106
+ };
107
+ export const DocumentContentOperator = {
108
+ DELETE: "DELETE",
109
+ };
110
+ export const AttributeValueOperator = {
111
+ DELETE: "DELETE",
112
+ };
113
+ export const AudioExtractionStatus = {
114
+ DISABLED: "DISABLED",
115
+ ENABLED: "ENABLED",
116
+ };
117
+ export const ImageExtractionStatus = {
118
+ DISABLED: "DISABLED",
119
+ ENABLED: "ENABLED",
120
+ };
121
+ export const VideoExtractionStatus = {
122
+ DISABLED: "DISABLED",
123
+ ENABLED: "ENABLED",
124
+ };
125
+ export const DataSourceStatus = {
126
+ ACTIVE: "ACTIVE",
127
+ CREATING: "CREATING",
128
+ DELETING: "DELETING",
129
+ FAILED: "FAILED",
130
+ PENDING_CREATION: "PENDING_CREATION",
131
+ UPDATING: "UPDATING",
132
+ };
133
+ export const Status = {
134
+ DISABLED: "DISABLED",
135
+ ENABLED: "ENABLED",
136
+ };
137
+ export const AttributeType = {
138
+ DATE: "DATE",
139
+ NUMBER: "NUMBER",
140
+ STRING: "STRING",
141
+ STRING_LIST: "STRING_LIST",
142
+ };
143
+ export const IndexStatus = {
144
+ ACTIVE: "ACTIVE",
145
+ CREATING: "CREATING",
146
+ DELETING: "DELETING",
147
+ FAILED: "FAILED",
148
+ UPDATING: "UPDATING",
149
+ };
150
+ export const PluginBuildStatus = {
151
+ CREATE_FAILED: "CREATE_FAILED",
152
+ CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
153
+ DELETE_FAILED: "DELETE_FAILED",
154
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
155
+ READY: "READY",
156
+ UPDATE_FAILED: "UPDATE_FAILED",
157
+ UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
158
+ };
159
+ export const PluginState = {
160
+ DISABLED: "DISABLED",
161
+ ENABLED: "ENABLED",
162
+ };
163
+ export const DocumentAttributeBoostingLevel = {
164
+ HIGH: "HIGH",
165
+ LOW: "LOW",
166
+ MEDIUM: "MEDIUM",
167
+ NONE: "NONE",
168
+ ONE: "ONE",
169
+ TWO: "TWO",
170
+ VERY_HIGH: "VERY_HIGH",
171
+ };
172
+ export const NumberAttributeBoostingType = {
173
+ PRIORITIZE_LARGER_VALUES: "PRIORITIZE_LARGER_VALUES",
174
+ PRIORITIZE_SMALLER_VALUES: "PRIORITIZE_SMALLER_VALUES",
175
+ };
176
+ export const StringAttributeValueBoostingLevel = {
177
+ FIVE: "FIVE",
178
+ FOUR: "FOUR",
179
+ HIGH: "HIGH",
180
+ LOW: "LOW",
181
+ MEDIUM: "MEDIUM",
182
+ ONE: "ONE",
183
+ THREE: "THREE",
184
+ TWO: "TWO",
185
+ VERY_HIGH: "VERY_HIGH",
186
+ };
187
+ export const RetrieverType = {
188
+ KENDRA_INDEX: "KENDRA_INDEX",
189
+ NATIVE_INDEX: "NATIVE_INDEX",
190
+ };
191
+ export const RetrieverStatus = {
192
+ ACTIVE: "ACTIVE",
193
+ CREATING: "CREATING",
194
+ FAILED: "FAILED",
195
+ };
196
+ export const WebExperienceSamplePromptsControlMode = {
197
+ DISABLED: "DISABLED",
198
+ ENABLED: "ENABLED",
199
+ };
200
+ export const WebExperienceStatus = {
201
+ ACTIVE: "ACTIVE",
202
+ CREATING: "CREATING",
203
+ DELETING: "DELETING",
204
+ FAILED: "FAILED",
205
+ PENDING_AUTH_CONFIG: "PENDING_AUTH_CONFIG",
206
+ };
207
+ export const CreatorModeControl = {
208
+ DISABLED: "DISABLED",
209
+ ENABLED: "ENABLED",
210
+ };
211
+ export const OrchestrationControl = {
212
+ DISABLED: "DISABLED",
213
+ ENABLED: "ENABLED",
214
+ };
215
+ export const PermissionConditionOperator = {
216
+ STRING_EQUALS: "StringEquals",
217
+ };
218
+ export const AttachmentStatus = {
219
+ FAILED: "FAILED",
220
+ SUCCESS: "SUCCESS",
221
+ };
222
+ export const AudioExtractionType = {
223
+ SUMMARY: "SUMMARY",
224
+ TRANSCRIPT: "TRANSCRIPT",
225
+ };
226
+ export const ContentType = {
227
+ CSV: "CSV",
228
+ HTML: "HTML",
229
+ JSON: "JSON",
230
+ MD: "MD",
231
+ MS_EXCEL: "MS_EXCEL",
232
+ MS_WORD: "MS_WORD",
233
+ PDF: "PDF",
234
+ PLAIN_TEXT: "PLAIN_TEXT",
235
+ PPT: "PPT",
236
+ RTF: "RTF",
237
+ XML: "XML",
238
+ XSLT: "XSLT",
239
+ };
240
+ export const ChatMode = {
241
+ CREATOR_MODE: "CREATOR_MODE",
242
+ PLUGIN_MODE: "PLUGIN_MODE",
243
+ RETRIEVAL_MODE: "RETRIEVAL_MODE",
244
+ };
245
+ export const VideoExtractionType = {
246
+ SUMMARY: "SUMMARY",
247
+ TRANSCRIPT: "TRANSCRIPT",
248
+ };
249
+ export const SystemMessageType = {
250
+ GROUNDED_RESPONSE: "GROUNDED_RESPONSE",
251
+ RESPONSE: "RESPONSE",
252
+ };
253
+ export const ChatResponseConfigurationStatus = {
254
+ ACTIVE: "ACTIVE",
255
+ CREATING: "CREATING",
256
+ FAILED: "FAILED",
257
+ UPDATING: "UPDATING",
258
+ };
259
+ export const ResponseConfigurationType = {
260
+ ALL: "ALL",
261
+ };
262
+ export const DataSourceSyncJobStatus = {
263
+ ABORTED: "ABORTED",
264
+ FAILED: "FAILED",
265
+ INCOMPLETE: "INCOMPLETE",
266
+ STOPPING: "STOPPING",
267
+ SUCCEEDED: "SUCCEEDED",
268
+ SYNCING: "SYNCING",
269
+ SYNCING_INDEXING: "SYNCING_INDEXING",
270
+ };
271
+ export const DocumentStatus = {
272
+ DELETED: "DELETED",
273
+ DELETING: "DELETING",
274
+ DOCUMENT_FAILED_TO_INDEX: "DOCUMENT_FAILED_TO_INDEX",
275
+ FAILED: "FAILED",
276
+ INDEXED: "INDEXED",
277
+ PROCESSING: "PROCESSING",
278
+ RECEIVED: "RECEIVED",
279
+ UPDATED: "UPDATED",
280
+ };
281
+ export const HallucinationReductionControl = {
282
+ DISABLED: "DISABLED",
283
+ ENABLED: "ENABLED",
284
+ };
285
+ export const ResponseScope = {
286
+ ENTERPRISE_CONTENT_ONLY: "ENTERPRISE_CONTENT_ONLY",
287
+ EXTENDED_KNOWLEDGE_ENABLED: "EXTENDED_KNOWLEDGE_ENABLED",
288
+ };
289
+ export const RuleType = {
290
+ CONTENT_BLOCKER_RULE: "CONTENT_BLOCKER_RULE",
291
+ CONTENT_RETRIEVAL_RULE: "CONTENT_RETRIEVAL_RULE",
292
+ };
293
+ export const OutputFormat = {
294
+ EXTRACTED: "EXTRACTED",
295
+ RAW: "RAW",
296
+ };
297
+ export const GroupStatus = {
298
+ DELETED: "DELETED",
299
+ DELETING: "DELETING",
300
+ FAILED: "FAILED",
301
+ PROCESSING: "PROCESSING",
302
+ SUCCEEDED: "SUCCEEDED",
303
+ };
304
+ export const MessageType = {
305
+ SYSTEM: "SYSTEM",
306
+ USER: "USER",
307
+ };
308
+ export const PluginTypeCategory = {
309
+ COMMUNICATION: "Communication",
310
+ CRM: "Customer relationship management (CRM)",
311
+ PRODUCTIVITY: "Productivity",
312
+ PROJECT_MANAGEMENT: "Project management",
313
+ TICKETING_MANAGEMENT: "Ticketing and incident management",
314
+ };
315
+ export const MessageUsefulnessReason = {
316
+ COMPLETE: "COMPLETE",
317
+ FACTUALLY_CORRECT: "FACTUALLY_CORRECT",
318
+ HARMFUL_OR_UNSAFE: "HARMFUL_OR_UNSAFE",
319
+ HELPFUL: "HELPFUL",
320
+ INCORRECT_OR_MISSING_SOURCES: "INCORRECT_OR_MISSING_SOURCES",
321
+ NOT_BASED_ON_DOCUMENTS: "NOT_BASED_ON_DOCUMENTS",
322
+ NOT_COMPLETE: "NOT_COMPLETE",
323
+ NOT_CONCISE: "NOT_CONCISE",
324
+ NOT_FACTUALLY_CORRECT: "NOT_FACTUALLY_CORRECT",
325
+ NOT_HELPFUL: "NOT_HELPFUL",
326
+ OTHER: "OTHER",
327
+ RELEVANT_SOURCES: "RELEVANT_SOURCES",
328
+ };
329
+ export const MessageUsefulness = {
330
+ NOT_USEFUL: "NOT_USEFUL",
331
+ USEFUL: "USEFUL",
332
+ };
333
+ export const ScoreConfidence = {
334
+ HIGH: "HIGH",
335
+ LOW: "LOW",
336
+ MEDIUM: "MEDIUM",
337
+ NOT_AVAILABLE: "NOT_AVAILABLE",
338
+ VERY_HIGH: "VERY_HIGH",
339
+ };
@@ -0,0 +1,137 @@
1
+ import { QBusinessServiceException as __BaseException } from "./QBusinessServiceException";
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 ConflictException extends __BaseException {
15
+ name = "ConflictException";
16
+ $fault = "client";
17
+ resourceId;
18
+ resourceType;
19
+ constructor(opts) {
20
+ super({
21
+ name: "ConflictException",
22
+ $fault: "client",
23
+ ...opts,
24
+ });
25
+ Object.setPrototypeOf(this, ConflictException.prototype);
26
+ this.resourceId = opts.resourceId;
27
+ this.resourceType = opts.resourceType;
28
+ }
29
+ }
30
+ export class InternalServerException extends __BaseException {
31
+ name = "InternalServerException";
32
+ $fault = "server";
33
+ constructor(opts) {
34
+ super({
35
+ name: "InternalServerException",
36
+ $fault: "server",
37
+ ...opts,
38
+ });
39
+ Object.setPrototypeOf(this, InternalServerException.prototype);
40
+ }
41
+ }
42
+ export class ResourceNotFoundException extends __BaseException {
43
+ name = "ResourceNotFoundException";
44
+ $fault = "client";
45
+ resourceId;
46
+ resourceType;
47
+ constructor(opts) {
48
+ super({
49
+ name: "ResourceNotFoundException",
50
+ $fault: "client",
51
+ ...opts,
52
+ });
53
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
54
+ this.resourceId = opts.resourceId;
55
+ this.resourceType = opts.resourceType;
56
+ }
57
+ }
58
+ export class ServiceQuotaExceededException extends __BaseException {
59
+ name = "ServiceQuotaExceededException";
60
+ $fault = "client";
61
+ resourceId;
62
+ resourceType;
63
+ constructor(opts) {
64
+ super({
65
+ name: "ServiceQuotaExceededException",
66
+ $fault: "client",
67
+ ...opts,
68
+ });
69
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
70
+ this.resourceId = opts.resourceId;
71
+ this.resourceType = opts.resourceType;
72
+ }
73
+ }
74
+ export class ThrottlingException extends __BaseException {
75
+ name = "ThrottlingException";
76
+ $fault = "client";
77
+ constructor(opts) {
78
+ super({
79
+ name: "ThrottlingException",
80
+ $fault: "client",
81
+ ...opts,
82
+ });
83
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
84
+ }
85
+ }
86
+ export class ValidationException extends __BaseException {
87
+ name = "ValidationException";
88
+ $fault = "client";
89
+ reason;
90
+ fields;
91
+ constructor(opts) {
92
+ super({
93
+ name: "ValidationException",
94
+ $fault: "client",
95
+ ...opts,
96
+ });
97
+ Object.setPrototypeOf(this, ValidationException.prototype);
98
+ this.reason = opts.reason;
99
+ this.fields = opts.fields;
100
+ }
101
+ }
102
+ export class ExternalResourceException extends __BaseException {
103
+ name = "ExternalResourceException";
104
+ $fault = "client";
105
+ constructor(opts) {
106
+ super({
107
+ name: "ExternalResourceException",
108
+ $fault: "client",
109
+ ...opts,
110
+ });
111
+ Object.setPrototypeOf(this, ExternalResourceException.prototype);
112
+ }
113
+ }
114
+ export class LicenseNotFoundException extends __BaseException {
115
+ name = "LicenseNotFoundException";
116
+ $fault = "client";
117
+ constructor(opts) {
118
+ super({
119
+ name: "LicenseNotFoundException",
120
+ $fault: "client",
121
+ ...opts,
122
+ });
123
+ Object.setPrototypeOf(this, LicenseNotFoundException.prototype);
124
+ }
125
+ }
126
+ export class MediaTooLargeException extends __BaseException {
127
+ name = "MediaTooLargeException";
128
+ $fault = "client";
129
+ constructor(opts) {
130
+ super({
131
+ name: "MediaTooLargeException",
132
+ $fault: "client",
133
+ ...opts,
134
+ });
135
+ Object.setPrototypeOf(this, MediaTooLargeException.prototype);
136
+ }
137
+ }