@aws-sdk/client-wisdom 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 CHANGED
@@ -141,9 +141,6 @@ let ConflictException$1 = class ConflictException extends WisdomServiceException
141
141
  Object.setPrototypeOf(this, ConflictException.prototype);
142
142
  }
143
143
  };
144
- const AssociationType = {
145
- KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
146
- };
147
144
  let ResourceNotFoundException$1 = class ResourceNotFoundException extends WisdomServiceException$1 {
148
145
  name = "ResourceNotFoundException";
149
146
  $fault = "client";
@@ -182,33 +179,6 @@ let ValidationException$1 = class ValidationException extends WisdomServiceExcep
182
179
  Object.setPrototypeOf(this, ValidationException.prototype);
183
180
  }
184
181
  };
185
- const AssistantType = {
186
- AGENT: "AGENT",
187
- };
188
- const AssistantStatus = {
189
- ACTIVE: "ACTIVE",
190
- CREATE_FAILED: "CREATE_FAILED",
191
- CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
192
- DELETED: "DELETED",
193
- DELETE_FAILED: "DELETE_FAILED",
194
- DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
195
- };
196
- const RelevanceLevel = {
197
- HIGH: "HIGH",
198
- LOW: "LOW",
199
- MEDIUM: "MEDIUM",
200
- };
201
- const RecommendationType = {
202
- KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT",
203
- };
204
- const RecommendationSourceType = {
205
- ISSUE_DETECTION: "ISSUE_DETECTION",
206
- OTHER: "OTHER",
207
- RULE_EVALUATION: "RULE_EVALUATION",
208
- };
209
- const RecommendationTriggerType = {
210
- QUERY: "QUERY",
211
- };
212
182
  let RequestTimeoutException$1 = class RequestTimeoutException extends WisdomServiceException$1 {
213
183
  name = "RequestTimeoutException";
214
184
  $fault = "client";
@@ -222,21 +192,6 @@ let RequestTimeoutException$1 = class RequestTimeoutException extends WisdomServ
222
192
  Object.setPrototypeOf(this, RequestTimeoutException.prototype);
223
193
  }
224
194
  };
225
- const FilterField = {
226
- NAME: "NAME",
227
- };
228
- const FilterOperator = {
229
- EQUALS: "EQUALS",
230
- };
231
- const ContentStatus = {
232
- ACTIVE: "ACTIVE",
233
- CREATE_FAILED: "CREATE_FAILED",
234
- CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
235
- DELETED: "DELETED",
236
- DELETE_FAILED: "DELETE_FAILED",
237
- DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
238
- UPDATE_FAILED: "UPDATE_FAILED",
239
- };
240
195
  let PreconditionFailedException$1 = class PreconditionFailedException extends WisdomServiceException$1 {
241
196
  name = "PreconditionFailedException";
242
197
  $fault = "client";
@@ -249,60 +204,6 @@ let PreconditionFailedException$1 = class PreconditionFailedException extends Wi
249
204
  Object.setPrototypeOf(this, PreconditionFailedException.prototype);
250
205
  }
251
206
  };
252
- const KnowledgeBaseType = {
253
- CUSTOM: "CUSTOM",
254
- EXTERNAL: "EXTERNAL",
255
- QUICK_RESPONSES: "QUICK_RESPONSES",
256
- };
257
- const KnowledgeBaseStatus = {
258
- ACTIVE: "ACTIVE",
259
- CREATE_FAILED: "CREATE_FAILED",
260
- CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
261
- DELETED: "DELETED",
262
- DELETE_FAILED: "DELETE_FAILED",
263
- DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
264
- };
265
- const QuickResponseStatus = {
266
- CREATED: "CREATED",
267
- CREATE_FAILED: "CREATE_FAILED",
268
- CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
269
- DELETED: "DELETED",
270
- DELETE_FAILED: "DELETE_FAILED",
271
- DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
272
- UPDATE_FAILED: "UPDATE_FAILED",
273
- UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
274
- };
275
- const ExternalSource = {
276
- AMAZON_CONNECT: "AMAZON_CONNECT",
277
- };
278
- const ImportJobType = {
279
- QUICK_RESPONSES: "QUICK_RESPONSES",
280
- };
281
- const ImportJobStatus = {
282
- COMPLETE: "COMPLETE",
283
- DELETED: "DELETED",
284
- DELETE_FAILED: "DELETE_FAILED",
285
- DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
286
- FAILED: "FAILED",
287
- START_IN_PROGRESS: "START_IN_PROGRESS",
288
- };
289
- const QuickResponseFilterOperator = {
290
- EQUALS: "EQUALS",
291
- PREFIX: "PREFIX",
292
- };
293
- const Order = {
294
- ASC: "ASC",
295
- DESC: "DESC",
296
- };
297
- const QuickResponseQueryOperator = {
298
- CONTAINS: "CONTAINS",
299
- CONTAINS_AND_PREFIX: "CONTAINS_AND_PREFIX",
300
- };
301
- const Priority = {
302
- HIGH: "HIGH",
303
- LOW: "LOW",
304
- MEDIUM: "MEDIUM",
305
- };
306
207
  let TooManyTagsException$1 = class TooManyTagsException extends WisdomServiceException$1 {
307
208
  name = "TooManyTagsException";
308
209
  $fault = "client";
@@ -2688,11 +2589,7 @@ Object.defineProperty(exports, "__Client", {
2688
2589
  get: function () { return smithyClient.Client; }
2689
2590
  });
2690
2591
  exports.AccessDeniedException = AccessDeniedException$1;
2691
- exports.AssistantStatus = AssistantStatus;
2692
- exports.AssistantType = AssistantType;
2693
- exports.AssociationType = AssociationType;
2694
2592
  exports.ConflictException = ConflictException$1;
2695
- exports.ContentStatus = ContentStatus;
2696
2593
  exports.CreateAssistantAssociationCommand = CreateAssistantAssociationCommand;
2697
2594
  exports.CreateAssistantCommand = CreateAssistantCommand;
2698
2595
  exports.CreateContentCommand = CreateContentCommand;
@@ -2705,9 +2602,6 @@ exports.DeleteContentCommand = DeleteContentCommand;
2705
2602
  exports.DeleteImportJobCommand = DeleteImportJobCommand;
2706
2603
  exports.DeleteKnowledgeBaseCommand = DeleteKnowledgeBaseCommand;
2707
2604
  exports.DeleteQuickResponseCommand = DeleteQuickResponseCommand;
2708
- exports.ExternalSource = ExternalSource;
2709
- exports.FilterField = FilterField;
2710
- exports.FilterOperator = FilterOperator;
2711
2605
  exports.GetAssistantAssociationCommand = GetAssistantAssociationCommand;
2712
2606
  exports.GetAssistantCommand = GetAssistantCommand;
2713
2607
  exports.GetContentCommand = GetContentCommand;
@@ -2717,10 +2611,6 @@ exports.GetKnowledgeBaseCommand = GetKnowledgeBaseCommand;
2717
2611
  exports.GetQuickResponseCommand = GetQuickResponseCommand;
2718
2612
  exports.GetRecommendationsCommand = GetRecommendationsCommand;
2719
2613
  exports.GetSessionCommand = GetSessionCommand;
2720
- exports.ImportJobStatus = ImportJobStatus;
2721
- exports.ImportJobType = ImportJobType;
2722
- exports.KnowledgeBaseStatus = KnowledgeBaseStatus;
2723
- exports.KnowledgeBaseType = KnowledgeBaseType;
2724
2614
  exports.ListAssistantAssociationsCommand = ListAssistantAssociationsCommand;
2725
2615
  exports.ListAssistantsCommand = ListAssistantsCommand;
2726
2616
  exports.ListContentsCommand = ListContentsCommand;
@@ -2729,17 +2619,8 @@ exports.ListKnowledgeBasesCommand = ListKnowledgeBasesCommand;
2729
2619
  exports.ListQuickResponsesCommand = ListQuickResponsesCommand;
2730
2620
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2731
2621
  exports.NotifyRecommendationsReceivedCommand = NotifyRecommendationsReceivedCommand;
2732
- exports.Order = Order;
2733
2622
  exports.PreconditionFailedException = PreconditionFailedException$1;
2734
- exports.Priority = Priority;
2735
2623
  exports.QueryAssistantCommand = QueryAssistantCommand;
2736
- exports.QuickResponseFilterOperator = QuickResponseFilterOperator;
2737
- exports.QuickResponseQueryOperator = QuickResponseQueryOperator;
2738
- exports.QuickResponseStatus = QuickResponseStatus;
2739
- exports.RecommendationSourceType = RecommendationSourceType;
2740
- exports.RecommendationTriggerType = RecommendationTriggerType;
2741
- exports.RecommendationType = RecommendationType;
2742
- exports.RelevanceLevel = RelevanceLevel;
2743
2624
  exports.RemoveKnowledgeBaseTemplateUriCommand = RemoveKnowledgeBaseTemplateUriCommand;
2744
2625
  exports.RequestTimeoutException = RequestTimeoutException$1;
2745
2626
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
package/dist-es/index.js CHANGED
@@ -2,5 +2,5 @@ export * from "./WisdomClient";
2
2
  export * from "./Wisdom";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/errors";
6
6
  export { WisdomServiceException } from "./models/WisdomServiceException";
@@ -0,0 +1,102 @@
1
+ import { WisdomServiceException as __BaseException } from "./WisdomServiceException";
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
+ constructor(opts) {
18
+ super({
19
+ name: "ConflictException",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, ConflictException.prototype);
24
+ }
25
+ }
26
+ export class ResourceNotFoundException extends __BaseException {
27
+ name = "ResourceNotFoundException";
28
+ $fault = "client";
29
+ resourceName;
30
+ constructor(opts) {
31
+ super({
32
+ name: "ResourceNotFoundException",
33
+ $fault: "client",
34
+ ...opts,
35
+ });
36
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
37
+ this.resourceName = opts.resourceName;
38
+ }
39
+ }
40
+ export class ServiceQuotaExceededException extends __BaseException {
41
+ name = "ServiceQuotaExceededException";
42
+ $fault = "client";
43
+ constructor(opts) {
44
+ super({
45
+ name: "ServiceQuotaExceededException",
46
+ $fault: "client",
47
+ ...opts,
48
+ });
49
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
50
+ }
51
+ }
52
+ export class ValidationException extends __BaseException {
53
+ name = "ValidationException";
54
+ $fault = "client";
55
+ constructor(opts) {
56
+ super({
57
+ name: "ValidationException",
58
+ $fault: "client",
59
+ ...opts,
60
+ });
61
+ Object.setPrototypeOf(this, ValidationException.prototype);
62
+ }
63
+ }
64
+ export class RequestTimeoutException extends __BaseException {
65
+ name = "RequestTimeoutException";
66
+ $fault = "client";
67
+ $retryable = {};
68
+ constructor(opts) {
69
+ super({
70
+ name: "RequestTimeoutException",
71
+ $fault: "client",
72
+ ...opts,
73
+ });
74
+ Object.setPrototypeOf(this, RequestTimeoutException.prototype);
75
+ }
76
+ }
77
+ export class PreconditionFailedException extends __BaseException {
78
+ name = "PreconditionFailedException";
79
+ $fault = "client";
80
+ constructor(opts) {
81
+ super({
82
+ name: "PreconditionFailedException",
83
+ $fault: "client",
84
+ ...opts,
85
+ });
86
+ Object.setPrototypeOf(this, PreconditionFailedException.prototype);
87
+ }
88
+ }
89
+ export class TooManyTagsException extends __BaseException {
90
+ name = "TooManyTagsException";
91
+ $fault = "client";
92
+ resourceName;
93
+ constructor(opts) {
94
+ super({
95
+ name: "TooManyTagsException",
96
+ $fault: "client",
97
+ ...opts,
98
+ });
99
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
100
+ this.resourceName = opts.resourceName;
101
+ }
102
+ }
@@ -1,69 +1,6 @@
1
- import { WisdomServiceException as __BaseException } from "./WisdomServiceException";
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
- constructor(opts) {
18
- super({
19
- name: "ConflictException",
20
- $fault: "client",
21
- ...opts,
22
- });
23
- Object.setPrototypeOf(this, ConflictException.prototype);
24
- }
25
- }
26
1
  export const AssociationType = {
27
2
  KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
28
3
  };
29
- export class ResourceNotFoundException extends __BaseException {
30
- name = "ResourceNotFoundException";
31
- $fault = "client";
32
- resourceName;
33
- constructor(opts) {
34
- super({
35
- name: "ResourceNotFoundException",
36
- $fault: "client",
37
- ...opts,
38
- });
39
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
40
- this.resourceName = opts.resourceName;
41
- }
42
- }
43
- export class ServiceQuotaExceededException extends __BaseException {
44
- name = "ServiceQuotaExceededException";
45
- $fault = "client";
46
- constructor(opts) {
47
- super({
48
- name: "ServiceQuotaExceededException",
49
- $fault: "client",
50
- ...opts,
51
- });
52
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
53
- }
54
- }
55
- export class ValidationException extends __BaseException {
56
- name = "ValidationException";
57
- $fault = "client";
58
- constructor(opts) {
59
- super({
60
- name: "ValidationException",
61
- $fault: "client",
62
- ...opts,
63
- });
64
- Object.setPrototypeOf(this, ValidationException.prototype);
65
- }
66
- }
67
4
  export const AssistantType = {
68
5
  AGENT: "AGENT",
69
6
  };
@@ -91,19 +28,6 @@ export const RecommendationSourceType = {
91
28
  export const RecommendationTriggerType = {
92
29
  QUERY: "QUERY",
93
30
  };
94
- export class RequestTimeoutException extends __BaseException {
95
- name = "RequestTimeoutException";
96
- $fault = "client";
97
- $retryable = {};
98
- constructor(opts) {
99
- super({
100
- name: "RequestTimeoutException",
101
- $fault: "client",
102
- ...opts,
103
- });
104
- Object.setPrototypeOf(this, RequestTimeoutException.prototype);
105
- }
106
- }
107
31
  export const FilterField = {
108
32
  NAME: "NAME",
109
33
  };
@@ -119,18 +43,6 @@ export const ContentStatus = {
119
43
  DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
120
44
  UPDATE_FAILED: "UPDATE_FAILED",
121
45
  };
122
- export class PreconditionFailedException extends __BaseException {
123
- name = "PreconditionFailedException";
124
- $fault = "client";
125
- constructor(opts) {
126
- super({
127
- name: "PreconditionFailedException",
128
- $fault: "client",
129
- ...opts,
130
- });
131
- Object.setPrototypeOf(this, PreconditionFailedException.prototype);
132
- }
133
- }
134
46
  export const KnowledgeBaseType = {
135
47
  CUSTOM: "CUSTOM",
136
48
  EXTERNAL: "EXTERNAL",
@@ -185,17 +97,3 @@ export const Priority = {
185
97
  LOW: "LOW",
186
98
  MEDIUM: "MEDIUM",
187
99
  };
188
- export class TooManyTagsException extends __BaseException {
189
- name = "TooManyTagsException";
190
- $fault = "client";
191
- resourceName;
192
- constructor(opts) {
193
- super({
194
- name: "TooManyTagsException",
195
- $fault: "client",
196
- ...opts,
197
- });
198
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
199
- this.resourceName = opts.resourceName;
200
- }
201
- }
@@ -337,7 +337,7 @@ const _va = "values";
337
337
  const _wTS = "waitTimeSeconds";
338
338
  const n0 = "com.amazonaws.wisdom";
339
339
  import { TypeRegistry } from "@smithy/core/schema";
340
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, PreconditionFailedException as __PreconditionFailedException, RequestTimeoutException as __RequestTimeoutException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, TooManyTagsException as __TooManyTagsException, ValidationException as __ValidationException, } from "../models/index";
340
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, PreconditionFailedException as __PreconditionFailedException, RequestTimeoutException as __RequestTimeoutException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, TooManyTagsException as __TooManyTagsException, ValidationException as __ValidationException, } from "../models/errors";
341
341
  import { WisdomServiceException as __WisdomServiceException } from "../models/WisdomServiceException";
342
342
  export var Channel = [0, n0, _C, 8, 0];
343
343
  export var GroupingCriteria = [0, n0, _GC, 8, 0];
@@ -13,5 +13,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
13
13
  export type { WisdomExtensionConfiguration } from "./extensionConfiguration";
14
14
  export * from "./commands";
15
15
  export * from "./pagination";
16
- export * from "./models";
16
+ export * from "./models/errors";
17
+ export type * from "./models/models_0";
17
18
  export { WisdomServiceException } from "./models/WisdomServiceException";
@@ -0,0 +1,116 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { WisdomServiceException as __BaseException } from "./WisdomServiceException";
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
+ * <p>The request could not be processed because of conflict in the current state of the
17
+ * resource. For example, if you're using a <code>Create</code> API (such as
18
+ * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
19
+ * same name) is being created or mutated.</p>
20
+ * @public
21
+ */
22
+ export declare class ConflictException extends __BaseException {
23
+ readonly name: "ConflictException";
24
+ readonly $fault: "client";
25
+ /**
26
+ * @internal
27
+ */
28
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
29
+ }
30
+ /**
31
+ * <p>The specified resource does not exist.</p>
32
+ * @public
33
+ */
34
+ export declare class ResourceNotFoundException extends __BaseException {
35
+ readonly name: "ResourceNotFoundException";
36
+ readonly $fault: "client";
37
+ /**
38
+ * <p>The specified resource name.</p>
39
+ * @public
40
+ */
41
+ resourceName?: string | undefined;
42
+ /**
43
+ * @internal
44
+ */
45
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
46
+ }
47
+ /**
48
+ * <p>You've exceeded your service quota. To perform the requested action, remove some of the
49
+ * relevant resources, or use service quotas to request a service quota increase.</p>
50
+ * @public
51
+ */
52
+ export declare class ServiceQuotaExceededException extends __BaseException {
53
+ readonly name: "ServiceQuotaExceededException";
54
+ readonly $fault: "client";
55
+ /**
56
+ * @internal
57
+ */
58
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
59
+ }
60
+ /**
61
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
62
+ * @public
63
+ */
64
+ export declare class ValidationException extends __BaseException {
65
+ readonly name: "ValidationException";
66
+ readonly $fault: "client";
67
+ /**
68
+ * @internal
69
+ */
70
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
71
+ }
72
+ /**
73
+ * <p>The request reached the service more than 15 minutes after the date stamp on the request
74
+ * or more than 15 minutes after the request expiration date (such as for pre-signed URLs), or
75
+ * the date stamp on the request is more than 15 minutes in the future.</p>
76
+ * @public
77
+ */
78
+ export declare class RequestTimeoutException extends __BaseException {
79
+ readonly name: "RequestTimeoutException";
80
+ readonly $fault: "client";
81
+ $retryable: {};
82
+ /**
83
+ * @internal
84
+ */
85
+ constructor(opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>);
86
+ }
87
+ /**
88
+ * <p>The provided <code>revisionId</code> does not match, indicating the content has been
89
+ * modified since it was last read.</p>
90
+ * @public
91
+ */
92
+ export declare class PreconditionFailedException extends __BaseException {
93
+ readonly name: "PreconditionFailedException";
94
+ readonly $fault: "client";
95
+ /**
96
+ * @internal
97
+ */
98
+ constructor(opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>);
99
+ }
100
+ /**
101
+ * <p>Amazon Connect Wisdom throws this exception if you have too many tags in your tag set.</p>
102
+ * @public
103
+ */
104
+ export declare class TooManyTagsException extends __BaseException {
105
+ readonly name: "TooManyTagsException";
106
+ readonly $fault: "client";
107
+ /**
108
+ * <p>The specified resource name.</p>
109
+ * @public
110
+ */
111
+ resourceName?: string | undefined;
112
+ /**
113
+ * @internal
114
+ */
115
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
116
+ }
@@ -1,17 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { WisdomServiceException as __BaseException } from "./WisdomServiceException";
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
1
  /**
16
2
  * <p>Configuration information for Amazon AppIntegrations to automatically ingest content.</p>
17
3
  * @public
@@ -87,21 +73,6 @@ export interface AppIntegrationsConfiguration {
87
73
  */
88
74
  objectFields?: string[] | undefined;
89
75
  }
90
- /**
91
- * <p>The request could not be processed because of conflict in the current state of the
92
- * resource. For example, if you're using a <code>Create</code> API (such as
93
- * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
94
- * same name) is being created or mutated.</p>
95
- * @public
96
- */
97
- export declare class ConflictException extends __BaseException {
98
- readonly name: "ConflictException";
99
- readonly $fault: "client";
100
- /**
101
- * @internal
102
- */
103
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
104
- }
105
76
  /**
106
77
  * <p>The data that is input into Wisdom as a result of the assistant association.</p>
107
78
  * @public
@@ -281,48 +252,6 @@ export interface CreateAssistantAssociationResponse {
281
252
  */
282
253
  assistantAssociation?: AssistantAssociationData | undefined;
283
254
  }
284
- /**
285
- * <p>The specified resource does not exist.</p>
286
- * @public
287
- */
288
- export declare class ResourceNotFoundException extends __BaseException {
289
- readonly name: "ResourceNotFoundException";
290
- readonly $fault: "client";
291
- /**
292
- * <p>The specified resource name.</p>
293
- * @public
294
- */
295
- resourceName?: string | undefined;
296
- /**
297
- * @internal
298
- */
299
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
300
- }
301
- /**
302
- * <p>You've exceeded your service quota. To perform the requested action, remove some of the
303
- * relevant resources, or use service quotas to request a service quota increase.</p>
304
- * @public
305
- */
306
- export declare class ServiceQuotaExceededException extends __BaseException {
307
- readonly name: "ServiceQuotaExceededException";
308
- readonly $fault: "client";
309
- /**
310
- * @internal
311
- */
312
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
313
- }
314
- /**
315
- * <p>The input fails to satisfy the constraints specified by a service.</p>
316
- * @public
317
- */
318
- export declare class ValidationException extends __BaseException {
319
- readonly name: "ValidationException";
320
- readonly $fault: "client";
321
- /**
322
- * @internal
323
- */
324
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
325
- }
326
255
  /**
327
256
  * @public
328
257
  */
@@ -1139,21 +1068,6 @@ export interface QueryAssistantResponse {
1139
1068
  */
1140
1069
  nextToken?: string | undefined;
1141
1070
  }
1142
- /**
1143
- * <p>The request reached the service more than 15 minutes after the date stamp on the request
1144
- * or more than 15 minutes after the request expiration date (such as for pre-signed URLs), or
1145
- * the date stamp on the request is more than 15 minutes in the future.</p>
1146
- * @public
1147
- */
1148
- export declare class RequestTimeoutException extends __BaseException {
1149
- readonly name: "RequestTimeoutException";
1150
- readonly $fault: "client";
1151
- $retryable: {};
1152
- /**
1153
- * @internal
1154
- */
1155
- constructor(opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>);
1156
- }
1157
1071
  /**
1158
1072
  * @public
1159
1073
  * @enum
@@ -1765,19 +1679,6 @@ export interface ListContentsResponse {
1765
1679
  */
1766
1680
  nextToken?: string | undefined;
1767
1681
  }
1768
- /**
1769
- * <p>The provided <code>revisionId</code> does not match, indicating the content has been
1770
- * modified since it was last read.</p>
1771
- * @public
1772
- */
1773
- export declare class PreconditionFailedException extends __BaseException {
1774
- readonly name: "PreconditionFailedException";
1775
- readonly $fault: "client";
1776
- /**
1777
- * @internal
1778
- */
1779
- constructor(opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>);
1780
- }
1781
1682
  /**
1782
1683
  * @public
1783
1684
  */
@@ -3687,23 +3588,6 @@ export interface TagResourceRequest {
3687
3588
  */
3688
3589
  export interface TagResourceResponse {
3689
3590
  }
3690
- /**
3691
- * <p>Amazon Connect Wisdom throws this exception if you have too many tags in your tag set.</p>
3692
- * @public
3693
- */
3694
- export declare class TooManyTagsException extends __BaseException {
3695
- readonly name: "TooManyTagsException";
3696
- readonly $fault: "client";
3697
- /**
3698
- * <p>The specified resource name.</p>
3699
- * @public
3700
- */
3701
- resourceName?: string | undefined;
3702
- /**
3703
- * @internal
3704
- */
3705
- constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
3706
- }
3707
3591
  /**
3708
3592
  * @public
3709
3593
  */
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { WisdomExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
9
10
  export { WisdomServiceException } from "./models/WisdomServiceException";
@@ -0,0 +1,59 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { WisdomServiceException as __BaseException } from "./WisdomServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
+ );
9
+ }
10
+ export declare class ConflictException extends __BaseException {
11
+ readonly name: "ConflictException";
12
+ readonly $fault: "client";
13
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
14
+ }
15
+ export declare class ResourceNotFoundException extends __BaseException {
16
+ readonly name: "ResourceNotFoundException";
17
+ readonly $fault: "client";
18
+ resourceName?: string | undefined;
19
+ constructor(
20
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
21
+ );
22
+ }
23
+ export declare class ServiceQuotaExceededException extends __BaseException {
24
+ readonly name: "ServiceQuotaExceededException";
25
+ readonly $fault: "client";
26
+ constructor(
27
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
28
+ );
29
+ }
30
+ export declare class ValidationException extends __BaseException {
31
+ readonly name: "ValidationException";
32
+ readonly $fault: "client";
33
+ constructor(
34
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
35
+ );
36
+ }
37
+ export declare class RequestTimeoutException extends __BaseException {
38
+ readonly name: "RequestTimeoutException";
39
+ readonly $fault: "client";
40
+ $retryable: {};
41
+ constructor(
42
+ opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>
43
+ );
44
+ }
45
+ export declare class PreconditionFailedException extends __BaseException {
46
+ readonly name: "PreconditionFailedException";
47
+ readonly $fault: "client";
48
+ constructor(
49
+ opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>
50
+ );
51
+ }
52
+ export declare class TooManyTagsException extends __BaseException {
53
+ readonly name: "TooManyTagsException";
54
+ readonly $fault: "client";
55
+ resourceName?: string | undefined;
56
+ constructor(
57
+ opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
58
+ );
59
+ }
@@ -1,21 +1,7 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { WisdomServiceException as __BaseException } from "./WisdomServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
- );
9
- }
10
1
  export interface AppIntegrationsConfiguration {
11
2
  appIntegrationArn: string | undefined;
12
3
  objectFields?: string[] | undefined;
13
4
  }
14
- export declare class ConflictException extends __BaseException {
15
- readonly name: "ConflictException";
16
- readonly $fault: "client";
17
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
18
- }
19
5
  export type AssistantAssociationInputData =
20
6
  | AssistantAssociationInputData.KnowledgeBaseIdMember
21
7
  | AssistantAssociationInputData.$UnknownMember;
@@ -78,28 +64,6 @@ export interface AssistantAssociationData {
78
64
  export interface CreateAssistantAssociationResponse {
79
65
  assistantAssociation?: AssistantAssociationData | undefined;
80
66
  }
81
- export declare class ResourceNotFoundException extends __BaseException {
82
- readonly name: "ResourceNotFoundException";
83
- readonly $fault: "client";
84
- resourceName?: string | undefined;
85
- constructor(
86
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
87
- );
88
- }
89
- export declare class ServiceQuotaExceededException extends __BaseException {
90
- readonly name: "ServiceQuotaExceededException";
91
- readonly $fault: "client";
92
- constructor(
93
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
94
- );
95
- }
96
- export declare class ValidationException extends __BaseException {
97
- readonly name: "ValidationException";
98
- readonly $fault: "client";
99
- constructor(
100
- opts: __ExceptionOptionType<ValidationException, __BaseException>
101
- );
102
- }
103
67
  export interface DeleteAssistantAssociationRequest {
104
68
  assistantAssociationId: string | undefined;
105
69
  assistantId: string | undefined;
@@ -322,14 +286,6 @@ export interface QueryAssistantResponse {
322
286
  results: ResultData[] | undefined;
323
287
  nextToken?: string | undefined;
324
288
  }
325
- export declare class RequestTimeoutException extends __BaseException {
326
- readonly name: "RequestTimeoutException";
327
- readonly $fault: "client";
328
- $retryable: {};
329
- constructor(
330
- opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>
331
- );
332
- }
333
289
  export declare const FilterField: {
334
290
  readonly NAME: "NAME";
335
291
  };
@@ -491,13 +447,6 @@ export interface ListContentsResponse {
491
447
  contentSummaries: ContentSummary[] | undefined;
492
448
  nextToken?: string | undefined;
493
449
  }
494
- export declare class PreconditionFailedException extends __BaseException {
495
- readonly name: "PreconditionFailedException";
496
- readonly $fault: "client";
497
- constructor(
498
- opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>
499
- );
500
- }
501
450
  export interface UpdateContentRequest {
502
451
  knowledgeBaseId: string | undefined;
503
452
  contentId: string | undefined;
@@ -960,14 +909,6 @@ export interface TagResourceRequest {
960
909
  tags: Record<string, string> | undefined;
961
910
  }
962
911
  export interface TagResourceResponse {}
963
- export declare class TooManyTagsException extends __BaseException {
964
- readonly name: "TooManyTagsException";
965
- readonly $fault: "client";
966
- resourceName?: string | undefined;
967
- constructor(
968
- opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
969
- );
970
- }
971
912
  export interface UntagResourceRequest {
972
913
  resourceArn: string | undefined;
973
914
  tagKeys: string[] | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-wisdom",
3
3
  "description": "AWS SDK for JavaScript Wisdom Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.936.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-wisdom",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";