@aws-sdk/client-wisdom 3.300.0 → 3.303.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 (36) hide show
  1. package/dist-cjs/models/models_0.js +57 -69
  2. package/dist-es/models/models_0.js +57 -69
  3. package/dist-types/commands/CreateAssistantAssociationCommand.d.ts +3 -3
  4. package/dist-types/commands/CreateAssistantCommand.d.ts +3 -3
  5. package/dist-types/commands/CreateContentCommand.d.ts +3 -3
  6. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +7 -7
  7. package/dist-types/commands/CreateSessionCommand.d.ts +2 -2
  8. package/dist-types/commands/DeleteAssistantAssociationCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteAssistantCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteContentCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
  12. package/dist-types/commands/GetAssistantAssociationCommand.d.ts +1 -1
  13. package/dist-types/commands/GetAssistantCommand.d.ts +1 -1
  14. package/dist-types/commands/GetContentCommand.d.ts +1 -1
  15. package/dist-types/commands/GetContentSummaryCommand.d.ts +1 -1
  16. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +1 -1
  17. package/dist-types/commands/GetRecommendationsCommand.d.ts +1 -1
  18. package/dist-types/commands/GetSessionCommand.d.ts +1 -1
  19. package/dist-types/commands/ListAssistantAssociationsCommand.d.ts +1 -1
  20. package/dist-types/commands/ListAssistantsCommand.d.ts +1 -1
  21. package/dist-types/commands/ListContentsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +1 -1
  23. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  24. package/dist-types/commands/NotifyRecommendationsReceivedCommand.d.ts +2 -2
  25. package/dist-types/commands/QueryAssistantCommand.d.ts +1 -1
  26. package/dist-types/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +1 -1
  27. package/dist-types/commands/SearchContentCommand.d.ts +4 -4
  28. package/dist-types/commands/SearchSessionsCommand.d.ts +4 -4
  29. package/dist-types/commands/StartContentUploadCommand.d.ts +1 -1
  30. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  31. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  32. package/dist-types/commands/UpdateContentCommand.d.ts +2 -2
  33. package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +1 -1
  34. package/dist-types/models/models_0.d.ts +117 -57
  35. package/dist-types/ts3.4/models/models_0.d.ts +78 -57
  36. package/package.json +34 -34
@@ -37,10 +37,9 @@ var AssistantAssociationInputData;
37
37
  return visitor._(value.$unknown[0], value.$unknown[1]);
38
38
  };
39
39
  })(AssistantAssociationInputData = exports.AssistantAssociationInputData || (exports.AssistantAssociationInputData = {}));
40
- var AssociationType;
41
- (function (AssociationType) {
42
- AssociationType["KNOWLEDGE_BASE"] = "KNOWLEDGE_BASE";
43
- })(AssociationType = exports.AssociationType || (exports.AssociationType = {}));
40
+ exports.AssociationType = {
41
+ KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
42
+ };
44
43
  var AssistantAssociationOutputData;
45
44
  (function (AssistantAssociationOutputData) {
46
45
  AssistantAssociationOutputData.visit = (value, visitor) => {
@@ -89,29 +88,25 @@ class ValidationException extends WisdomServiceException_1.WisdomServiceExceptio
89
88
  }
90
89
  }
91
90
  exports.ValidationException = ValidationException;
92
- var AssistantType;
93
- (function (AssistantType) {
94
- AssistantType["AGENT"] = "AGENT";
95
- })(AssistantType = exports.AssistantType || (exports.AssistantType = {}));
96
- var AssistantStatus;
97
- (function (AssistantStatus) {
98
- AssistantStatus["ACTIVE"] = "ACTIVE";
99
- AssistantStatus["CREATE_FAILED"] = "CREATE_FAILED";
100
- AssistantStatus["CREATE_IN_PROGRESS"] = "CREATE_IN_PROGRESS";
101
- AssistantStatus["DELETED"] = "DELETED";
102
- AssistantStatus["DELETE_FAILED"] = "DELETE_FAILED";
103
- AssistantStatus["DELETE_IN_PROGRESS"] = "DELETE_IN_PROGRESS";
104
- })(AssistantStatus = exports.AssistantStatus || (exports.AssistantStatus = {}));
105
- var RelevanceLevel;
106
- (function (RelevanceLevel) {
107
- RelevanceLevel["HIGH"] = "HIGH";
108
- RelevanceLevel["LOW"] = "LOW";
109
- RelevanceLevel["MEDIUM"] = "MEDIUM";
110
- })(RelevanceLevel = exports.RelevanceLevel || (exports.RelevanceLevel = {}));
111
- var RecommendationType;
112
- (function (RecommendationType) {
113
- RecommendationType["KNOWLEDGE_CONTENT"] = "KNOWLEDGE_CONTENT";
114
- })(RecommendationType = exports.RecommendationType || (exports.RecommendationType = {}));
91
+ exports.AssistantType = {
92
+ AGENT: "AGENT",
93
+ };
94
+ exports.AssistantStatus = {
95
+ ACTIVE: "ACTIVE",
96
+ CREATE_FAILED: "CREATE_FAILED",
97
+ CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
98
+ DELETED: "DELETED",
99
+ DELETE_FAILED: "DELETE_FAILED",
100
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
101
+ };
102
+ exports.RelevanceLevel = {
103
+ HIGH: "HIGH",
104
+ LOW: "LOW",
105
+ MEDIUM: "MEDIUM",
106
+ };
107
+ exports.RecommendationType = {
108
+ KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT",
109
+ };
115
110
  var RecommendationTriggerData;
116
111
  (function (RecommendationTriggerData) {
117
112
  RecommendationTriggerData.visit = (value, visitor) => {
@@ -120,34 +115,29 @@ var RecommendationTriggerData;
120
115
  return visitor._(value.$unknown[0], value.$unknown[1]);
121
116
  };
122
117
  })(RecommendationTriggerData = exports.RecommendationTriggerData || (exports.RecommendationTriggerData = {}));
123
- var RecommendationSourceType;
124
- (function (RecommendationSourceType) {
125
- RecommendationSourceType["ISSUE_DETECTION"] = "ISSUE_DETECTION";
126
- RecommendationSourceType["OTHER"] = "OTHER";
127
- RecommendationSourceType["RULE_EVALUATION"] = "RULE_EVALUATION";
128
- })(RecommendationSourceType = exports.RecommendationSourceType || (exports.RecommendationSourceType = {}));
129
- var RecommendationTriggerType;
130
- (function (RecommendationTriggerType) {
131
- RecommendationTriggerType["QUERY"] = "QUERY";
132
- })(RecommendationTriggerType = exports.RecommendationTriggerType || (exports.RecommendationTriggerType = {}));
133
- var FilterField;
134
- (function (FilterField) {
135
- FilterField["NAME"] = "NAME";
136
- })(FilterField = exports.FilterField || (exports.FilterField = {}));
137
- var FilterOperator;
138
- (function (FilterOperator) {
139
- FilterOperator["EQUALS"] = "EQUALS";
140
- })(FilterOperator = exports.FilterOperator || (exports.FilterOperator = {}));
141
- var ContentStatus;
142
- (function (ContentStatus) {
143
- ContentStatus["ACTIVE"] = "ACTIVE";
144
- ContentStatus["CREATE_FAILED"] = "CREATE_FAILED";
145
- ContentStatus["CREATE_IN_PROGRESS"] = "CREATE_IN_PROGRESS";
146
- ContentStatus["DELETED"] = "DELETED";
147
- ContentStatus["DELETE_FAILED"] = "DELETE_FAILED";
148
- ContentStatus["DELETE_IN_PROGRESS"] = "DELETE_IN_PROGRESS";
149
- ContentStatus["UPDATE_FAILED"] = "UPDATE_FAILED";
150
- })(ContentStatus = exports.ContentStatus || (exports.ContentStatus = {}));
118
+ exports.RecommendationSourceType = {
119
+ ISSUE_DETECTION: "ISSUE_DETECTION",
120
+ OTHER: "OTHER",
121
+ RULE_EVALUATION: "RULE_EVALUATION",
122
+ };
123
+ exports.RecommendationTriggerType = {
124
+ QUERY: "QUERY",
125
+ };
126
+ exports.FilterField = {
127
+ NAME: "NAME",
128
+ };
129
+ exports.FilterOperator = {
130
+ EQUALS: "EQUALS",
131
+ };
132
+ exports.ContentStatus = {
133
+ ACTIVE: "ACTIVE",
134
+ CREATE_FAILED: "CREATE_FAILED",
135
+ CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
136
+ DELETED: "DELETED",
137
+ DELETE_FAILED: "DELETE_FAILED",
138
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
139
+ UPDATE_FAILED: "UPDATE_FAILED",
140
+ };
151
141
  class PreconditionFailedException extends WisdomServiceException_1.WisdomServiceException {
152
142
  constructor(opts) {
153
143
  super({
@@ -161,11 +151,10 @@ class PreconditionFailedException extends WisdomServiceException_1.WisdomService
161
151
  }
162
152
  }
163
153
  exports.PreconditionFailedException = PreconditionFailedException;
164
- var KnowledgeBaseType;
165
- (function (KnowledgeBaseType) {
166
- KnowledgeBaseType["CUSTOM"] = "CUSTOM";
167
- KnowledgeBaseType["EXTERNAL"] = "EXTERNAL";
168
- })(KnowledgeBaseType = exports.KnowledgeBaseType || (exports.KnowledgeBaseType = {}));
154
+ exports.KnowledgeBaseType = {
155
+ CUSTOM: "CUSTOM",
156
+ EXTERNAL: "EXTERNAL",
157
+ };
169
158
  var SourceConfiguration;
170
159
  (function (SourceConfiguration) {
171
160
  SourceConfiguration.visit = (value, visitor) => {
@@ -174,15 +163,14 @@ var SourceConfiguration;
174
163
  return visitor._(value.$unknown[0], value.$unknown[1]);
175
164
  };
176
165
  })(SourceConfiguration = exports.SourceConfiguration || (exports.SourceConfiguration = {}));
177
- var KnowledgeBaseStatus;
178
- (function (KnowledgeBaseStatus) {
179
- KnowledgeBaseStatus["ACTIVE"] = "ACTIVE";
180
- KnowledgeBaseStatus["CREATE_FAILED"] = "CREATE_FAILED";
181
- KnowledgeBaseStatus["CREATE_IN_PROGRESS"] = "CREATE_IN_PROGRESS";
182
- KnowledgeBaseStatus["DELETED"] = "DELETED";
183
- KnowledgeBaseStatus["DELETE_FAILED"] = "DELETE_FAILED";
184
- KnowledgeBaseStatus["DELETE_IN_PROGRESS"] = "DELETE_IN_PROGRESS";
185
- })(KnowledgeBaseStatus = exports.KnowledgeBaseStatus || (exports.KnowledgeBaseStatus = {}));
166
+ exports.KnowledgeBaseStatus = {
167
+ ACTIVE: "ACTIVE",
168
+ CREATE_FAILED: "CREATE_FAILED",
169
+ CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
170
+ DELETED: "DELETED",
171
+ DELETE_FAILED: "DELETE_FAILED",
172
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
173
+ };
186
174
  class TooManyTagsException extends WisdomServiceException_1.WisdomServiceException {
187
175
  constructor(opts) {
188
176
  super({
@@ -32,10 +32,9 @@ export var AssistantAssociationInputData;
32
32
  return visitor._(value.$unknown[0], value.$unknown[1]);
33
33
  };
34
34
  })(AssistantAssociationInputData || (AssistantAssociationInputData = {}));
35
- export var AssociationType;
36
- (function (AssociationType) {
37
- AssociationType["KNOWLEDGE_BASE"] = "KNOWLEDGE_BASE";
38
- })(AssociationType || (AssociationType = {}));
35
+ export const AssociationType = {
36
+ KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
37
+ };
39
38
  export var AssistantAssociationOutputData;
40
39
  (function (AssistantAssociationOutputData) {
41
40
  AssistantAssociationOutputData.visit = (value, visitor) => {
@@ -81,29 +80,25 @@ export class ValidationException extends __BaseException {
81
80
  Object.setPrototypeOf(this, ValidationException.prototype);
82
81
  }
83
82
  }
84
- export var AssistantType;
85
- (function (AssistantType) {
86
- AssistantType["AGENT"] = "AGENT";
87
- })(AssistantType || (AssistantType = {}));
88
- export var AssistantStatus;
89
- (function (AssistantStatus) {
90
- AssistantStatus["ACTIVE"] = "ACTIVE";
91
- AssistantStatus["CREATE_FAILED"] = "CREATE_FAILED";
92
- AssistantStatus["CREATE_IN_PROGRESS"] = "CREATE_IN_PROGRESS";
93
- AssistantStatus["DELETED"] = "DELETED";
94
- AssistantStatus["DELETE_FAILED"] = "DELETE_FAILED";
95
- AssistantStatus["DELETE_IN_PROGRESS"] = "DELETE_IN_PROGRESS";
96
- })(AssistantStatus || (AssistantStatus = {}));
97
- export var RelevanceLevel;
98
- (function (RelevanceLevel) {
99
- RelevanceLevel["HIGH"] = "HIGH";
100
- RelevanceLevel["LOW"] = "LOW";
101
- RelevanceLevel["MEDIUM"] = "MEDIUM";
102
- })(RelevanceLevel || (RelevanceLevel = {}));
103
- export var RecommendationType;
104
- (function (RecommendationType) {
105
- RecommendationType["KNOWLEDGE_CONTENT"] = "KNOWLEDGE_CONTENT";
106
- })(RecommendationType || (RecommendationType = {}));
83
+ export const AssistantType = {
84
+ AGENT: "AGENT",
85
+ };
86
+ export const AssistantStatus = {
87
+ ACTIVE: "ACTIVE",
88
+ CREATE_FAILED: "CREATE_FAILED",
89
+ CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
90
+ DELETED: "DELETED",
91
+ DELETE_FAILED: "DELETE_FAILED",
92
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
93
+ };
94
+ export const RelevanceLevel = {
95
+ HIGH: "HIGH",
96
+ LOW: "LOW",
97
+ MEDIUM: "MEDIUM",
98
+ };
99
+ export const RecommendationType = {
100
+ KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT",
101
+ };
107
102
  export var RecommendationTriggerData;
108
103
  (function (RecommendationTriggerData) {
109
104
  RecommendationTriggerData.visit = (value, visitor) => {
@@ -112,34 +107,29 @@ export var RecommendationTriggerData;
112
107
  return visitor._(value.$unknown[0], value.$unknown[1]);
113
108
  };
114
109
  })(RecommendationTriggerData || (RecommendationTriggerData = {}));
115
- export var RecommendationSourceType;
116
- (function (RecommendationSourceType) {
117
- RecommendationSourceType["ISSUE_DETECTION"] = "ISSUE_DETECTION";
118
- RecommendationSourceType["OTHER"] = "OTHER";
119
- RecommendationSourceType["RULE_EVALUATION"] = "RULE_EVALUATION";
120
- })(RecommendationSourceType || (RecommendationSourceType = {}));
121
- export var RecommendationTriggerType;
122
- (function (RecommendationTriggerType) {
123
- RecommendationTriggerType["QUERY"] = "QUERY";
124
- })(RecommendationTriggerType || (RecommendationTriggerType = {}));
125
- export var FilterField;
126
- (function (FilterField) {
127
- FilterField["NAME"] = "NAME";
128
- })(FilterField || (FilterField = {}));
129
- export var FilterOperator;
130
- (function (FilterOperator) {
131
- FilterOperator["EQUALS"] = "EQUALS";
132
- })(FilterOperator || (FilterOperator = {}));
133
- export var ContentStatus;
134
- (function (ContentStatus) {
135
- ContentStatus["ACTIVE"] = "ACTIVE";
136
- ContentStatus["CREATE_FAILED"] = "CREATE_FAILED";
137
- ContentStatus["CREATE_IN_PROGRESS"] = "CREATE_IN_PROGRESS";
138
- ContentStatus["DELETED"] = "DELETED";
139
- ContentStatus["DELETE_FAILED"] = "DELETE_FAILED";
140
- ContentStatus["DELETE_IN_PROGRESS"] = "DELETE_IN_PROGRESS";
141
- ContentStatus["UPDATE_FAILED"] = "UPDATE_FAILED";
142
- })(ContentStatus || (ContentStatus = {}));
110
+ export const RecommendationSourceType = {
111
+ ISSUE_DETECTION: "ISSUE_DETECTION",
112
+ OTHER: "OTHER",
113
+ RULE_EVALUATION: "RULE_EVALUATION",
114
+ };
115
+ export const RecommendationTriggerType = {
116
+ QUERY: "QUERY",
117
+ };
118
+ export const FilterField = {
119
+ NAME: "NAME",
120
+ };
121
+ export const FilterOperator = {
122
+ EQUALS: "EQUALS",
123
+ };
124
+ export const ContentStatus = {
125
+ ACTIVE: "ACTIVE",
126
+ CREATE_FAILED: "CREATE_FAILED",
127
+ CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
128
+ DELETED: "DELETED",
129
+ DELETE_FAILED: "DELETE_FAILED",
130
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
131
+ UPDATE_FAILED: "UPDATE_FAILED",
132
+ };
143
133
  export class PreconditionFailedException extends __BaseException {
144
134
  constructor(opts) {
145
135
  super({
@@ -152,11 +142,10 @@ export class PreconditionFailedException extends __BaseException {
152
142
  Object.setPrototypeOf(this, PreconditionFailedException.prototype);
153
143
  }
154
144
  }
155
- export var KnowledgeBaseType;
156
- (function (KnowledgeBaseType) {
157
- KnowledgeBaseType["CUSTOM"] = "CUSTOM";
158
- KnowledgeBaseType["EXTERNAL"] = "EXTERNAL";
159
- })(KnowledgeBaseType || (KnowledgeBaseType = {}));
145
+ export const KnowledgeBaseType = {
146
+ CUSTOM: "CUSTOM",
147
+ EXTERNAL: "EXTERNAL",
148
+ };
160
149
  export var SourceConfiguration;
161
150
  (function (SourceConfiguration) {
162
151
  SourceConfiguration.visit = (value, visitor) => {
@@ -165,15 +154,14 @@ export var SourceConfiguration;
165
154
  return visitor._(value.$unknown[0], value.$unknown[1]);
166
155
  };
167
156
  })(SourceConfiguration || (SourceConfiguration = {}));
168
- export var KnowledgeBaseStatus;
169
- (function (KnowledgeBaseStatus) {
170
- KnowledgeBaseStatus["ACTIVE"] = "ACTIVE";
171
- KnowledgeBaseStatus["CREATE_FAILED"] = "CREATE_FAILED";
172
- KnowledgeBaseStatus["CREATE_IN_PROGRESS"] = "CREATE_IN_PROGRESS";
173
- KnowledgeBaseStatus["DELETED"] = "DELETED";
174
- KnowledgeBaseStatus["DELETE_FAILED"] = "DELETE_FAILED";
175
- KnowledgeBaseStatus["DELETE_IN_PROGRESS"] = "DELETE_IN_PROGRESS";
176
- })(KnowledgeBaseStatus || (KnowledgeBaseStatus = {}));
157
+ export const KnowledgeBaseStatus = {
158
+ ACTIVE: "ACTIVE",
159
+ CREATE_FAILED: "CREATE_FAILED",
160
+ CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
161
+ DELETED: "DELETED",
162
+ DELETE_FAILED: "DELETE_FAILED",
163
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
164
+ };
177
165
  export class TooManyTagsException extends __BaseException {
178
166
  constructor(opts) {
179
167
  super({
@@ -28,14 +28,14 @@ export interface CreateAssistantAssociationCommandOutput extends CreateAssistant
28
28
  * import { WisdomClient, CreateAssistantAssociationCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
29
29
  * // const { WisdomClient, CreateAssistantAssociationCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
30
30
  * const client = new WisdomClient(config);
31
- * const input = {
31
+ * const input = { // CreateAssistantAssociationRequest
32
32
  * assistantId: "STRING_VALUE", // required
33
33
  * associationType: "STRING_VALUE", // required
34
- * association: { // Union: only one key present
34
+ * association: { // AssistantAssociationInputData Union: only one key present
35
35
  * knowledgeBaseId: "STRING_VALUE",
36
36
  * },
37
37
  * clientToken: "STRING_VALUE",
38
- * tags: {
38
+ * tags: { // Tags
39
39
  * "<keys>": "STRING_VALUE",
40
40
  * },
41
41
  * };
@@ -26,15 +26,15 @@ export interface CreateAssistantCommandOutput extends CreateAssistantResponse, _
26
26
  * import { WisdomClient, CreateAssistantCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
27
27
  * // const { WisdomClient, CreateAssistantCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
28
28
  * const client = new WisdomClient(config);
29
- * const input = {
29
+ * const input = { // CreateAssistantRequest
30
30
  * clientToken: "STRING_VALUE",
31
31
  * name: "STRING_VALUE", // required
32
32
  * type: "STRING_VALUE", // required
33
33
  * description: "STRING_VALUE",
34
- * tags: {
34
+ * tags: { // Tags
35
35
  * "<keys>": "STRING_VALUE",
36
36
  * },
37
- * serverSideEncryptionConfiguration: {
37
+ * serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
38
38
  * kmsKeyId: "STRING_VALUE",
39
39
  * },
40
40
  * };
@@ -27,17 +27,17 @@ export interface CreateContentCommandOutput extends CreateContentResponse, __Met
27
27
  * import { WisdomClient, CreateContentCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
28
28
  * // const { WisdomClient, CreateContentCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
29
29
  * const client = new WisdomClient(config);
30
- * const input = {
30
+ * const input = { // CreateContentRequest
31
31
  * knowledgeBaseId: "STRING_VALUE", // required
32
32
  * name: "STRING_VALUE", // required
33
33
  * title: "STRING_VALUE",
34
34
  * overrideLinkOutUri: "STRING_VALUE",
35
- * metadata: {
35
+ * metadata: { // ContentMetadata
36
36
  * "<keys>": "STRING_VALUE",
37
37
  * },
38
38
  * uploadId: "STRING_VALUE", // required
39
39
  * clientToken: "STRING_VALUE",
40
- * tags: {
40
+ * tags: { // Tags
41
41
  * "<keys>": "STRING_VALUE",
42
42
  * },
43
43
  * };
@@ -49,26 +49,26 @@ export interface CreateKnowledgeBaseCommandOutput extends CreateKnowledgeBaseRes
49
49
  * import { WisdomClient, CreateKnowledgeBaseCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
50
50
  * // const { WisdomClient, CreateKnowledgeBaseCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
51
51
  * const client = new WisdomClient(config);
52
- * const input = {
52
+ * const input = { // CreateKnowledgeBaseRequest
53
53
  * clientToken: "STRING_VALUE",
54
54
  * name: "STRING_VALUE", // required
55
55
  * knowledgeBaseType: "STRING_VALUE", // required
56
- * sourceConfiguration: { // Union: only one key present
57
- * appIntegrations: {
56
+ * sourceConfiguration: { // SourceConfiguration Union: only one key present
57
+ * appIntegrations: { // AppIntegrationsConfiguration
58
58
  * appIntegrationArn: "STRING_VALUE", // required
59
- * objectFields: [
59
+ * objectFields: [ // ObjectFieldsList
60
60
  * "STRING_VALUE",
61
61
  * ],
62
62
  * },
63
63
  * },
64
- * renderingConfiguration: {
64
+ * renderingConfiguration: { // RenderingConfiguration
65
65
  * templateUri: "STRING_VALUE",
66
66
  * },
67
- * serverSideEncryptionConfiguration: {
67
+ * serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
68
68
  * kmsKeyId: "STRING_VALUE",
69
69
  * },
70
70
  * description: "STRING_VALUE",
71
- * tags: {
71
+ * tags: { // Tags
72
72
  * "<keys>": "STRING_VALUE",
73
73
  * },
74
74
  * };
@@ -28,12 +28,12 @@ export interface CreateSessionCommandOutput extends CreateSessionResponse, __Met
28
28
  * import { WisdomClient, CreateSessionCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
29
29
  * // const { WisdomClient, CreateSessionCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
30
30
  * const client = new WisdomClient(config);
31
- * const input = {
31
+ * const input = { // CreateSessionRequest
32
32
  * clientToken: "STRING_VALUE",
33
33
  * assistantId: "STRING_VALUE", // required
34
34
  * name: "STRING_VALUE", // required
35
35
  * description: "STRING_VALUE",
36
- * tags: {
36
+ * tags: { // Tags
37
37
  * "<keys>": "STRING_VALUE",
38
38
  * },
39
39
  * };
@@ -26,7 +26,7 @@ export interface DeleteAssistantAssociationCommandOutput extends DeleteAssistant
26
26
  * import { WisdomClient, DeleteAssistantAssociationCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
27
27
  * // const { WisdomClient, DeleteAssistantAssociationCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
28
28
  * const client = new WisdomClient(config);
29
- * const input = {
29
+ * const input = { // DeleteAssistantAssociationRequest
30
30
  * assistantAssociationId: "STRING_VALUE", // required
31
31
  * assistantId: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ export interface DeleteAssistantCommandOutput extends DeleteAssistantResponse, _
26
26
  * import { WisdomClient, DeleteAssistantCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
27
27
  * // const { WisdomClient, DeleteAssistantCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
28
28
  * const client = new WisdomClient(config);
29
- * const input = {
29
+ * const input = { // DeleteAssistantRequest
30
30
  * assistantId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteAssistantCommand(input);
@@ -26,7 +26,7 @@ export interface DeleteContentCommandOutput extends DeleteContentResponse, __Met
26
26
  * import { WisdomClient, DeleteContentCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
27
27
  * // const { WisdomClient, DeleteContentCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
28
28
  * const client = new WisdomClient(config);
29
- * const input = {
29
+ * const input = { // DeleteContentRequest
30
30
  * knowledgeBaseId: "STRING_VALUE", // required
31
31
  * contentId: "STRING_VALUE", // required
32
32
  * };
@@ -34,7 +34,7 @@ export interface DeleteKnowledgeBaseCommandOutput extends DeleteKnowledgeBaseRes
34
34
  * import { WisdomClient, DeleteKnowledgeBaseCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
35
35
  * // const { WisdomClient, DeleteKnowledgeBaseCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
36
36
  * const client = new WisdomClient(config);
37
- * const input = {
37
+ * const input = { // DeleteKnowledgeBaseRequest
38
38
  * knowledgeBaseId: "STRING_VALUE", // required
39
39
  * };
40
40
  * const command = new DeleteKnowledgeBaseCommand(input);
@@ -26,7 +26,7 @@ export interface GetAssistantAssociationCommandOutput extends GetAssistantAssoci
26
26
  * import { WisdomClient, GetAssistantAssociationCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
27
27
  * // const { WisdomClient, GetAssistantAssociationCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
28
28
  * const client = new WisdomClient(config);
29
- * const input = {
29
+ * const input = { // GetAssistantAssociationRequest
30
30
  * assistantAssociationId: "STRING_VALUE", // required
31
31
  * assistantId: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ export interface GetAssistantCommandOutput extends GetAssistantResponse, __Metad
26
26
  * import { WisdomClient, GetAssistantCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
27
27
  * // const { WisdomClient, GetAssistantCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
28
28
  * const client = new WisdomClient(config);
29
- * const input = {
29
+ * const input = { // GetAssistantRequest
30
30
  * assistantId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetAssistantCommand(input);
@@ -26,7 +26,7 @@ export interface GetContentCommandOutput extends GetContentResponse, __MetadataB
26
26
  * import { WisdomClient, GetContentCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
27
27
  * // const { WisdomClient, GetContentCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
28
28
  * const client = new WisdomClient(config);
29
- * const input = {
29
+ * const input = { // GetContentRequest
30
30
  * contentId: "STRING_VALUE", // required
31
31
  * knowledgeBaseId: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ export interface GetContentSummaryCommandOutput extends GetContentSummaryRespons
26
26
  * import { WisdomClient, GetContentSummaryCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
27
27
  * // const { WisdomClient, GetContentSummaryCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
28
28
  * const client = new WisdomClient(config);
29
- * const input = {
29
+ * const input = { // GetContentSummaryRequest
30
30
  * contentId: "STRING_VALUE", // required
31
31
  * knowledgeBaseId: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ export interface GetKnowledgeBaseCommandOutput extends GetKnowledgeBaseResponse,
26
26
  * import { WisdomClient, GetKnowledgeBaseCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
27
27
  * // const { WisdomClient, GetKnowledgeBaseCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
28
28
  * const client = new WisdomClient(config);
29
- * const input = {
29
+ * const input = { // GetKnowledgeBaseRequest
30
30
  * knowledgeBaseId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetKnowledgeBaseCommand(input);
@@ -29,7 +29,7 @@ export interface GetRecommendationsCommandOutput extends GetRecommendationsRespo
29
29
  * import { WisdomClient, GetRecommendationsCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
30
30
  * // const { WisdomClient, GetRecommendationsCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
31
31
  * const client = new WisdomClient(config);
32
- * const input = {
32
+ * const input = { // GetRecommendationsRequest
33
33
  * assistantId: "STRING_VALUE", // required
34
34
  * sessionId: "STRING_VALUE", // required
35
35
  * maxResults: Number("int"),
@@ -26,7 +26,7 @@ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataB
26
26
  * import { WisdomClient, GetSessionCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
27
27
  * // const { WisdomClient, GetSessionCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
28
28
  * const client = new WisdomClient(config);
29
- * const input = {
29
+ * const input = { // GetSessionRequest
30
30
  * assistantId: "STRING_VALUE", // required
31
31
  * sessionId: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ export interface ListAssistantAssociationsCommandOutput extends ListAssistantAss
26
26
  * import { WisdomClient, ListAssistantAssociationsCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
27
27
  * // const { WisdomClient, ListAssistantAssociationsCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
28
28
  * const client = new WisdomClient(config);
29
- * const input = {
29
+ * const input = { // ListAssistantAssociationsRequest
30
30
  * nextToken: "STRING_VALUE",
31
31
  * maxResults: Number("int"),
32
32
  * assistantId: "STRING_VALUE", // required
@@ -26,7 +26,7 @@ export interface ListAssistantsCommandOutput extends ListAssistantsResponse, __M
26
26
  * import { WisdomClient, ListAssistantsCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
27
27
  * // const { WisdomClient, ListAssistantsCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
28
28
  * const client = new WisdomClient(config);
29
- * const input = {
29
+ * const input = { // ListAssistantsRequest
30
30
  * nextToken: "STRING_VALUE",
31
31
  * maxResults: Number("int"),
32
32
  * };
@@ -26,7 +26,7 @@ export interface ListContentsCommandOutput extends ListContentsResponse, __Metad
26
26
  * import { WisdomClient, ListContentsCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
27
27
  * // const { WisdomClient, ListContentsCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
28
28
  * const client = new WisdomClient(config);
29
- * const input = {
29
+ * const input = { // ListContentsRequest
30
30
  * nextToken: "STRING_VALUE",
31
31
  * maxResults: Number("int"),
32
32
  * knowledgeBaseId: "STRING_VALUE", // required
@@ -26,7 +26,7 @@ export interface ListKnowledgeBasesCommandOutput extends ListKnowledgeBasesRespo
26
26
  * import { WisdomClient, ListKnowledgeBasesCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
27
27
  * // const { WisdomClient, ListKnowledgeBasesCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
28
28
  * const client = new WisdomClient(config);
29
- * const input = {
29
+ * const input = { // ListKnowledgeBasesRequest
30
30
  * nextToken: "STRING_VALUE",
31
31
  * maxResults: Number("int"),
32
32
  * };
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { WisdomClient, ListTagsForResourceCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
27
27
  * // const { WisdomClient, ListTagsForResourceCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
28
28
  * const client = new WisdomClient(config);
29
- * const input = {
29
+ * const input = { // ListTagsForResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
@@ -28,10 +28,10 @@ export interface NotifyRecommendationsReceivedCommandOutput extends NotifyRecomm
28
28
  * import { WisdomClient, NotifyRecommendationsReceivedCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
29
29
  * // const { WisdomClient, NotifyRecommendationsReceivedCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
30
30
  * const client = new WisdomClient(config);
31
- * const input = {
31
+ * const input = { // NotifyRecommendationsReceivedRequest
32
32
  * assistantId: "STRING_VALUE", // required
33
33
  * sessionId: "STRING_VALUE", // required
34
- * recommendationIds: [ // required
34
+ * recommendationIds: [ // RecommendationIdList // required
35
35
  * "STRING_VALUE",
36
36
  * ],
37
37
  * };
@@ -28,7 +28,7 @@ export interface QueryAssistantCommandOutput extends QueryAssistantResponse, __M
28
28
  * import { WisdomClient, QueryAssistantCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
29
29
  * // const { WisdomClient, QueryAssistantCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
30
30
  * const client = new WisdomClient(config);
31
- * const input = {
31
+ * const input = { // QueryAssistantRequest
32
32
  * assistantId: "STRING_VALUE", // required
33
33
  * queryText: "STRING_VALUE", // required
34
34
  * nextToken: "STRING_VALUE",