@aws-sdk/client-wisdom 3.288.0 → 3.290.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 (41) hide show
  1. package/README.md +4 -3
  2. package/dist-cjs/endpoint/ruleset.js +3 -3
  3. package/dist-es/endpoint/ruleset.js +3 -3
  4. package/dist-types/Wisdom.d.ts +10 -9
  5. package/dist-types/WisdomClient.d.ts +4 -3
  6. package/dist-types/commands/CreateAssistantAssociationCommand.d.ts +20 -0
  7. package/dist-types/commands/CreateAssistantCommand.d.ts +17 -0
  8. package/dist-types/commands/CreateContentCommand.d.ts +20 -0
  9. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +17 -1
  10. package/dist-types/commands/CreateSessionCommand.d.ts +15 -2
  11. package/dist-types/commands/DeleteAssistantAssociationCommand.d.ts +10 -0
  12. package/dist-types/commands/DeleteAssistantCommand.d.ts +10 -0
  13. package/dist-types/commands/DeleteContentCommand.d.ts +10 -0
  14. package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +20 -3
  15. package/dist-types/commands/GetAssistantAssociationCommand.d.ts +10 -0
  16. package/dist-types/commands/GetAssistantCommand.d.ts +10 -0
  17. package/dist-types/commands/GetContentCommand.d.ts +10 -0
  18. package/dist-types/commands/GetContentSummaryCommand.d.ts +10 -0
  19. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +10 -0
  20. package/dist-types/commands/GetRecommendationsCommand.d.ts +10 -0
  21. package/dist-types/commands/GetSessionCommand.d.ts +10 -0
  22. package/dist-types/commands/ListAssistantAssociationsCommand.d.ts +10 -0
  23. package/dist-types/commands/ListAssistantsCommand.d.ts +7 -0
  24. package/dist-types/commands/ListContentsCommand.d.ts +10 -0
  25. package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +7 -0
  26. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -0
  27. package/dist-types/commands/NotifyRecommendationsReceivedCommand.d.ts +10 -0
  28. package/dist-types/commands/QueryAssistantCommand.d.ts +10 -0
  29. package/dist-types/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +10 -0
  30. package/dist-types/commands/SearchContentCommand.d.ts +10 -0
  31. package/dist-types/commands/SearchSessionsCommand.d.ts +10 -0
  32. package/dist-types/commands/StartContentUploadCommand.d.ts +10 -0
  33. package/dist-types/commands/TagResourceCommand.d.ts +7 -0
  34. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  35. package/dist-types/commands/UpdateContentCommand.d.ts +14 -0
  36. package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +10 -0
  37. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  38. package/dist-types/models/models_0.d.ts +65 -17
  39. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  40. package/dist-types/ts3.4/models/models_0.d.ts +1 -1
  41. package/package.json +29 -29
package/README.md CHANGED
@@ -9,9 +9,10 @@
9
9
 
10
10
  AWS SDK for JavaScript Wisdom Client for Node.js, Browser and React Native.
11
11
 
12
- <p>Amazon Connect Wisdom delivers agents the information they need to solve customer issues as they're actively
13
- speaking with customers. Agents can search across connected repositories from within their agent desktop
14
- to find answers quickly. Use the Amazon Connect Wisdom APIs to create an assistant and a knowledge base, for example, or manage content by uploading custom files.</p>
12
+ <p>Amazon Connect Wisdom delivers agents the information they need to solve customer issues as they're
13
+ actively speaking with customers. Agents can search across connected repositories from within
14
+ their agent desktop to find answers quickly. Use Amazon Connect Wisdom to create an assistant and a
15
+ knowledge base, for example, or manage content by uploading custom files.</p>
15
16
 
16
17
  ## Installing
17
18
 
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const q = "fn", r = "argv", s = "ref";
5
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://wisdom-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://wisdom-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://wisdom.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://wisdom.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://wisdom-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://wisdom-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://wisdom.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://wisdom.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
- const q = "fn", r = "argv", s = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://wisdom-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://wisdom-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://wisdom.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://wisdom.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://wisdom-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://wisdom-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://wisdom.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://wisdom.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -32,9 +32,10 @@ import { UpdateContentCommandInput, UpdateContentCommandOutput } from "./command
32
32
  import { UpdateKnowledgeBaseTemplateUriCommandInput, UpdateKnowledgeBaseTemplateUriCommandOutput } from "./commands/UpdateKnowledgeBaseTemplateUriCommand";
33
33
  import { WisdomClient } from "./WisdomClient";
34
34
  /**
35
- * <p>Amazon Connect Wisdom delivers agents the information they need to solve customer issues as they're actively
36
- * speaking with customers. Agents can search across connected repositories from within their agent desktop
37
- * to find answers quickly. Use the Amazon Connect Wisdom APIs to create an assistant and a knowledge base, for example, or manage content by uploading custom files.</p>
35
+ * <p>Amazon Connect Wisdom delivers agents the information they need to solve customer issues as they're
36
+ * actively speaking with customers. Agents can search across connected repositories from within
37
+ * their agent desktop to find answers quickly. Use Amazon Connect Wisdom to create an assistant and a
38
+ * knowledge base, for example, or manage content by uploading custom files.</p>
38
39
  */
39
40
  export declare class Wisdom extends WisdomClient {
40
41
  /**
@@ -64,7 +65,6 @@ export declare class Wisdom extends WisdomClient {
64
65
  * <p>When using this API, you cannot reuse <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/Welcome.html">Amazon AppIntegrations</a>
65
66
  * DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do,
66
67
  * you'll get an <code>InvalidRequestException</code> error. </p>
67
- *
68
68
  * <p>For example, you're programmatically managing your external knowledge base, and you want
69
69
  * to add or remove one of the fields that is being ingested from Salesforce. Do the
70
70
  * following:</p>
@@ -90,8 +90,8 @@ export declare class Wisdom extends WisdomClient {
90
90
  createKnowledgeBase(args: CreateKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateKnowledgeBaseCommandOutput) => void): void;
91
91
  /**
92
92
  * <p>Creates a session. A session is a contextual container used for generating
93
- * recommendations. Amazon Connect creates a new Wisdom session for each contact on which Wisdom is
94
- * enabled.</p>
93
+ * recommendations. Amazon Connect creates a new Wisdom session for each contact on which
94
+ * Wisdom is enabled.</p>
95
95
  */
96
96
  createSession(args: CreateSessionCommandInput, options?: __HttpHandlerOptions): Promise<CreateSessionCommandOutput>;
97
97
  createSession(args: CreateSessionCommandInput, cb: (err: any, data?: CreateSessionCommandOutput) => void): void;
@@ -118,9 +118,10 @@ export declare class Wisdom extends WisdomClient {
118
118
  * <p>Deletes the knowledge base.</p>
119
119
  * <note>
120
120
  * <p>When you use this API to delete an external knowledge base such as Salesforce or
121
- * ServiceNow, you must also delete the <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/Welcome.html">Amazon AppIntegrations</a> DataIntegration.
122
- * This is because you can't reuse the DataIntegration after it's been associated with an
123
- * external knowledge base. However, you can delete and recreate it. See <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html">DeleteDataIntegration</a> and <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> in the <i>Amazon AppIntegrations API
121
+ * ServiceNow, you must also delete the <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/Welcome.html">Amazon AppIntegrations</a>
122
+ * DataIntegration. This is because you can't reuse the DataIntegration after it's been
123
+ * associated with an external knowledge base. However, you can delete and recreate it. See
124
+ * <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html">DeleteDataIntegration</a> and <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> in the <i>Amazon AppIntegrations API
124
125
  * Reference</i>.</p>
125
126
  * </note>
126
127
  */
@@ -154,9 +154,10 @@ declare type WisdomClientResolvedConfigType = __SmithyResolvedConfiguration<__Ht
154
154
  export interface WisdomClientResolvedConfig extends WisdomClientResolvedConfigType {
155
155
  }
156
156
  /**
157
- * <p>Amazon Connect Wisdom delivers agents the information they need to solve customer issues as they're actively
158
- * speaking with customers. Agents can search across connected repositories from within their agent desktop
159
- * to find answers quickly. Use the Amazon Connect Wisdom APIs to create an assistant and a knowledge base, for example, or manage content by uploading custom files.</p>
157
+ * <p>Amazon Connect Wisdom delivers agents the information they need to solve customer issues as they're
158
+ * actively speaking with customers. Agents can search across connected repositories from within
159
+ * their agent desktop to find answers quickly. Use Amazon Connect Wisdom to create an assistant and a
160
+ * knowledge base, for example, or manage content by uploading custom files.</p>
160
161
  */
161
162
  export declare class WisdomClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig> {
162
163
  /**
@@ -31,6 +31,26 @@ export interface CreateAssistantAssociationCommandOutput extends CreateAssistant
31
31
  * @see {@link CreateAssistantAssociationCommandOutput} for command's `response` shape.
32
32
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
33
33
  *
34
+ * @throws {@link AccessDeniedException} (client fault)
35
+ * <p>You do not have sufficient access to perform this action.</p>
36
+ *
37
+ * @throws {@link ConflictException} (client fault)
38
+ * <p>The request could not be processed because of conflict in the current state of the
39
+ * resource. For example, if you're using a <code>Create</code> API (such as
40
+ * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
41
+ * same name) is being created or mutated.</p>
42
+ *
43
+ * @throws {@link ResourceNotFoundException} (client fault)
44
+ * <p>The specified resource does not exist.</p>
45
+ *
46
+ * @throws {@link ServiceQuotaExceededException} (client fault)
47
+ * <p>You've exceeded your service quota. To perform the requested action, remove some of the
48
+ * relevant resources, or use service quotas to request a service quota increase.</p>
49
+ *
50
+ * @throws {@link ValidationException} (client fault)
51
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
52
+ *
53
+ *
34
54
  */
35
55
  export declare class CreateAssistantAssociationCommand extends $Command<CreateAssistantAssociationCommandInput, CreateAssistantAssociationCommandOutput, WisdomClientResolvedConfig> {
36
56
  readonly input: CreateAssistantAssociationCommandInput;
@@ -29,6 +29,23 @@ export interface CreateAssistantCommandOutput extends CreateAssistantResponse, _
29
29
  * @see {@link CreateAssistantCommandOutput} for command's `response` shape.
30
30
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDeniedException} (client fault)
33
+ * <p>You do not have sufficient access to perform this action.</p>
34
+ *
35
+ * @throws {@link ConflictException} (client fault)
36
+ * <p>The request could not be processed because of conflict in the current state of the
37
+ * resource. For example, if you're using a <code>Create</code> API (such as
38
+ * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
39
+ * same name) is being created or mutated.</p>
40
+ *
41
+ * @throws {@link ServiceQuotaExceededException} (client fault)
42
+ * <p>You've exceeded your service quota. To perform the requested action, remove some of the
43
+ * relevant resources, or use service quotas to request a service quota increase.</p>
44
+ *
45
+ * @throws {@link ValidationException} (client fault)
46
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
47
+ *
48
+ *
32
49
  */
33
50
  export declare class CreateAssistantCommand extends $Command<CreateAssistantCommandInput, CreateAssistantCommandOutput, WisdomClientResolvedConfig> {
34
51
  readonly input: CreateAssistantCommandInput;
@@ -30,6 +30,26 @@ export interface CreateContentCommandOutput extends CreateContentResponse, __Met
30
30
  * @see {@link CreateContentCommandOutput} for command's `response` shape.
31
31
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
32
32
  *
33
+ * @throws {@link AccessDeniedException} (client fault)
34
+ * <p>You do not have sufficient access to perform this action.</p>
35
+ *
36
+ * @throws {@link ConflictException} (client fault)
37
+ * <p>The request could not be processed because of conflict in the current state of the
38
+ * resource. For example, if you're using a <code>Create</code> API (such as
39
+ * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
40
+ * same name) is being created or mutated.</p>
41
+ *
42
+ * @throws {@link ResourceNotFoundException} (client fault)
43
+ * <p>The specified resource does not exist.</p>
44
+ *
45
+ * @throws {@link ServiceQuotaExceededException} (client fault)
46
+ * <p>You've exceeded your service quota. To perform the requested action, remove some of the
47
+ * relevant resources, or use service quotas to request a service quota increase.</p>
48
+ *
49
+ * @throws {@link ValidationException} (client fault)
50
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
51
+ *
52
+ *
33
53
  */
34
54
  export declare class CreateContentCommand extends $Command<CreateContentCommandInput, CreateContentCommandOutput, WisdomClientResolvedConfig> {
35
55
  readonly input: CreateContentCommandInput;
@@ -19,7 +19,6 @@ export interface CreateKnowledgeBaseCommandOutput extends CreateKnowledgeBaseRes
19
19
  * <p>When using this API, you cannot reuse <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/Welcome.html">Amazon AppIntegrations</a>
20
20
  * DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do,
21
21
  * you'll get an <code>InvalidRequestException</code> error. </p>
22
- *
23
22
  * <p>For example, you're programmatically managing your external knowledge base, and you want
24
23
  * to add or remove one of the fields that is being ingested from Salesforce. Do the
25
24
  * following:</p>
@@ -53,6 +52,23 @@ export interface CreateKnowledgeBaseCommandOutput extends CreateKnowledgeBaseRes
53
52
  * @see {@link CreateKnowledgeBaseCommandOutput} for command's `response` shape.
54
53
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
55
54
  *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>You do not have sufficient access to perform this action.</p>
57
+ *
58
+ * @throws {@link ConflictException} (client fault)
59
+ * <p>The request could not be processed because of conflict in the current state of the
60
+ * resource. For example, if you're using a <code>Create</code> API (such as
61
+ * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
62
+ * same name) is being created or mutated.</p>
63
+ *
64
+ * @throws {@link ServiceQuotaExceededException} (client fault)
65
+ * <p>You've exceeded your service quota. To perform the requested action, remove some of the
66
+ * relevant resources, or use service quotas to request a service quota increase.</p>
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
70
+ *
71
+ *
56
72
  */
57
73
  export declare class CreateKnowledgeBaseCommand extends $Command<CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput, WisdomClientResolvedConfig> {
58
74
  readonly input: CreateKnowledgeBaseCommandInput;
@@ -15,8 +15,8 @@ export interface CreateSessionCommandOutput extends CreateSessionResponse, __Met
15
15
  }
16
16
  /**
17
17
  * <p>Creates a session. A session is a contextual container used for generating
18
- * recommendations. Amazon Connect creates a new Wisdom session for each contact on which Wisdom is
19
- * enabled.</p>
18
+ * recommendations. Amazon Connect creates a new Wisdom session for each contact on which
19
+ * Wisdom is enabled.</p>
20
20
  * @example
21
21
  * Use a bare-bones client and the command you need to make an API call.
22
22
  * ```javascript
@@ -31,6 +31,19 @@ export interface CreateSessionCommandOutput extends CreateSessionResponse, __Met
31
31
  * @see {@link CreateSessionCommandOutput} for command's `response` shape.
32
32
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
33
33
  *
34
+ * @throws {@link ConflictException} (client fault)
35
+ * <p>The request could not be processed because of conflict in the current state of the
36
+ * resource. For example, if you're using a <code>Create</code> API (such as
37
+ * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
38
+ * same name) is being created or mutated.</p>
39
+ *
40
+ * @throws {@link ResourceNotFoundException} (client fault)
41
+ * <p>The specified resource does not exist.</p>
42
+ *
43
+ * @throws {@link ValidationException} (client fault)
44
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
45
+ *
46
+ *
34
47
  */
35
48
  export declare class CreateSessionCommand extends $Command<CreateSessionCommandInput, CreateSessionCommandOutput, WisdomClientResolvedConfig> {
36
49
  readonly input: CreateSessionCommandInput;
@@ -29,6 +29,16 @@ export interface DeleteAssistantAssociationCommandOutput extends DeleteAssistant
29
29
  * @see {@link DeleteAssistantAssociationCommandOutput} for command's `response` shape.
30
30
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDeniedException} (client fault)
33
+ * <p>You do not have sufficient access to perform this action.</p>
34
+ *
35
+ * @throws {@link ResourceNotFoundException} (client fault)
36
+ * <p>The specified resource does not exist.</p>
37
+ *
38
+ * @throws {@link ValidationException} (client fault)
39
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class DeleteAssistantAssociationCommand extends $Command<DeleteAssistantAssociationCommandInput, DeleteAssistantAssociationCommandOutput, WisdomClientResolvedConfig> {
34
44
  readonly input: DeleteAssistantAssociationCommandInput;
@@ -29,6 +29,16 @@ export interface DeleteAssistantCommandOutput extends DeleteAssistantResponse, _
29
29
  * @see {@link DeleteAssistantCommandOutput} for command's `response` shape.
30
30
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDeniedException} (client fault)
33
+ * <p>You do not have sufficient access to perform this action.</p>
34
+ *
35
+ * @throws {@link ResourceNotFoundException} (client fault)
36
+ * <p>The specified resource does not exist.</p>
37
+ *
38
+ * @throws {@link ValidationException} (client fault)
39
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class DeleteAssistantCommand extends $Command<DeleteAssistantCommandInput, DeleteAssistantCommandOutput, WisdomClientResolvedConfig> {
34
44
  readonly input: DeleteAssistantCommandInput;
@@ -29,6 +29,16 @@ export interface DeleteContentCommandOutput extends DeleteContentResponse, __Met
29
29
  * @see {@link DeleteContentCommandOutput} for command's `response` shape.
30
30
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDeniedException} (client fault)
33
+ * <p>You do not have sufficient access to perform this action.</p>
34
+ *
35
+ * @throws {@link ResourceNotFoundException} (client fault)
36
+ * <p>The specified resource does not exist.</p>
37
+ *
38
+ * @throws {@link ValidationException} (client fault)
39
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class DeleteContentCommand extends $Command<DeleteContentCommandInput, DeleteContentCommandOutput, WisdomClientResolvedConfig> {
34
44
  readonly input: DeleteContentCommandInput;
@@ -17,9 +17,10 @@ export interface DeleteKnowledgeBaseCommandOutput extends DeleteKnowledgeBaseRes
17
17
  * <p>Deletes the knowledge base.</p>
18
18
  * <note>
19
19
  * <p>When you use this API to delete an external knowledge base such as Salesforce or
20
- * ServiceNow, you must also delete the <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/Welcome.html">Amazon AppIntegrations</a> DataIntegration.
21
- * This is because you can't reuse the DataIntegration after it's been associated with an
22
- * external knowledge base. However, you can delete and recreate it. See <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html">DeleteDataIntegration</a> and <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> in the <i>Amazon AppIntegrations API
20
+ * ServiceNow, you must also delete the <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/Welcome.html">Amazon AppIntegrations</a>
21
+ * DataIntegration. This is because you can't reuse the DataIntegration after it's been
22
+ * associated with an external knowledge base. However, you can delete and recreate it. See
23
+ * <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html">DeleteDataIntegration</a> and <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> in the <i>Amazon AppIntegrations API
23
24
  * Reference</i>.</p>
24
25
  * </note>
25
26
  * @example
@@ -36,6 +37,22 @@ export interface DeleteKnowledgeBaseCommandOutput extends DeleteKnowledgeBaseRes
36
37
  * @see {@link DeleteKnowledgeBaseCommandOutput} for command's `response` shape.
37
38
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
38
39
  *
40
+ * @throws {@link AccessDeniedException} (client fault)
41
+ * <p>You do not have sufficient access to perform this action.</p>
42
+ *
43
+ * @throws {@link ConflictException} (client fault)
44
+ * <p>The request could not be processed because of conflict in the current state of the
45
+ * resource. For example, if you're using a <code>Create</code> API (such as
46
+ * <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
47
+ * same name) is being created or mutated.</p>
48
+ *
49
+ * @throws {@link ResourceNotFoundException} (client fault)
50
+ * <p>The specified resource does not exist.</p>
51
+ *
52
+ * @throws {@link ValidationException} (client fault)
53
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
54
+ *
55
+ *
39
56
  */
40
57
  export declare class DeleteKnowledgeBaseCommand extends $Command<DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput, WisdomClientResolvedConfig> {
41
58
  readonly input: DeleteKnowledgeBaseCommandInput;
@@ -29,6 +29,16 @@ export interface GetAssistantAssociationCommandOutput extends GetAssistantAssoci
29
29
  * @see {@link GetAssistantAssociationCommandOutput} for command's `response` shape.
30
30
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDeniedException} (client fault)
33
+ * <p>You do not have sufficient access to perform this action.</p>
34
+ *
35
+ * @throws {@link ResourceNotFoundException} (client fault)
36
+ * <p>The specified resource does not exist.</p>
37
+ *
38
+ * @throws {@link ValidationException} (client fault)
39
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class GetAssistantAssociationCommand extends $Command<GetAssistantAssociationCommandInput, GetAssistantAssociationCommandOutput, WisdomClientResolvedConfig> {
34
44
  readonly input: GetAssistantAssociationCommandInput;
@@ -29,6 +29,16 @@ export interface GetAssistantCommandOutput extends GetAssistantResponse, __Metad
29
29
  * @see {@link GetAssistantCommandOutput} for command's `response` shape.
30
30
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDeniedException} (client fault)
33
+ * <p>You do not have sufficient access to perform this action.</p>
34
+ *
35
+ * @throws {@link ResourceNotFoundException} (client fault)
36
+ * <p>The specified resource does not exist.</p>
37
+ *
38
+ * @throws {@link ValidationException} (client fault)
39
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class GetAssistantCommand extends $Command<GetAssistantCommandInput, GetAssistantCommandOutput, WisdomClientResolvedConfig> {
34
44
  readonly input: GetAssistantCommandInput;
@@ -29,6 +29,16 @@ export interface GetContentCommandOutput extends GetContentResponse, __MetadataB
29
29
  * @see {@link GetContentCommandOutput} for command's `response` shape.
30
30
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDeniedException} (client fault)
33
+ * <p>You do not have sufficient access to perform this action.</p>
34
+ *
35
+ * @throws {@link ResourceNotFoundException} (client fault)
36
+ * <p>The specified resource does not exist.</p>
37
+ *
38
+ * @throws {@link ValidationException} (client fault)
39
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class GetContentCommand extends $Command<GetContentCommandInput, GetContentCommandOutput, WisdomClientResolvedConfig> {
34
44
  readonly input: GetContentCommandInput;
@@ -29,6 +29,16 @@ export interface GetContentSummaryCommandOutput extends GetContentSummaryRespons
29
29
  * @see {@link GetContentSummaryCommandOutput} for command's `response` shape.
30
30
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDeniedException} (client fault)
33
+ * <p>You do not have sufficient access to perform this action.</p>
34
+ *
35
+ * @throws {@link ResourceNotFoundException} (client fault)
36
+ * <p>The specified resource does not exist.</p>
37
+ *
38
+ * @throws {@link ValidationException} (client fault)
39
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class GetContentSummaryCommand extends $Command<GetContentSummaryCommandInput, GetContentSummaryCommandOutput, WisdomClientResolvedConfig> {
34
44
  readonly input: GetContentSummaryCommandInput;
@@ -29,6 +29,16 @@ export interface GetKnowledgeBaseCommandOutput extends GetKnowledgeBaseResponse,
29
29
  * @see {@link GetKnowledgeBaseCommandOutput} for command's `response` shape.
30
30
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDeniedException} (client fault)
33
+ * <p>You do not have sufficient access to perform this action.</p>
34
+ *
35
+ * @throws {@link ResourceNotFoundException} (client fault)
36
+ * <p>The specified resource does not exist.</p>
37
+ *
38
+ * @throws {@link ValidationException} (client fault)
39
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class GetKnowledgeBaseCommand extends $Command<GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput, WisdomClientResolvedConfig> {
34
44
  readonly input: GetKnowledgeBaseCommandInput;
@@ -32,6 +32,16 @@ export interface GetRecommendationsCommandOutput extends GetRecommendationsRespo
32
32
  * @see {@link GetRecommendationsCommandOutput} for command's `response` shape.
33
33
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
34
34
  *
35
+ * @throws {@link AccessDeniedException} (client fault)
36
+ * <p>You do not have sufficient access to perform this action.</p>
37
+ *
38
+ * @throws {@link ResourceNotFoundException} (client fault)
39
+ * <p>The specified resource does not exist.</p>
40
+ *
41
+ * @throws {@link ValidationException} (client fault)
42
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
43
+ *
44
+ *
35
45
  */
36
46
  export declare class GetRecommendationsCommand extends $Command<GetRecommendationsCommandInput, GetRecommendationsCommandOutput, WisdomClientResolvedConfig> {
37
47
  readonly input: GetRecommendationsCommandInput;
@@ -29,6 +29,16 @@ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataB
29
29
  * @see {@link GetSessionCommandOutput} for command's `response` shape.
30
30
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDeniedException} (client fault)
33
+ * <p>You do not have sufficient access to perform this action.</p>
34
+ *
35
+ * @throws {@link ResourceNotFoundException} (client fault)
36
+ * <p>The specified resource does not exist.</p>
37
+ *
38
+ * @throws {@link ValidationException} (client fault)
39
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class GetSessionCommand extends $Command<GetSessionCommandInput, GetSessionCommandOutput, WisdomClientResolvedConfig> {
34
44
  readonly input: GetSessionCommandInput;
@@ -29,6 +29,16 @@ export interface ListAssistantAssociationsCommandOutput extends ListAssistantAss
29
29
  * @see {@link ListAssistantAssociationsCommandOutput} for command's `response` shape.
30
30
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDeniedException} (client fault)
33
+ * <p>You do not have sufficient access to perform this action.</p>
34
+ *
35
+ * @throws {@link ResourceNotFoundException} (client fault)
36
+ * <p>The specified resource does not exist.</p>
37
+ *
38
+ * @throws {@link ValidationException} (client fault)
39
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class ListAssistantAssociationsCommand extends $Command<ListAssistantAssociationsCommandInput, ListAssistantAssociationsCommandOutput, WisdomClientResolvedConfig> {
34
44
  readonly input: ListAssistantAssociationsCommandInput;
@@ -29,6 +29,13 @@ export interface ListAssistantsCommandOutput extends ListAssistantsResponse, __M
29
29
  * @see {@link ListAssistantsCommandOutput} for command's `response` shape.
30
30
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDeniedException} (client fault)
33
+ * <p>You do not have sufficient access to perform this action.</p>
34
+ *
35
+ * @throws {@link ValidationException} (client fault)
36
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
37
+ *
38
+ *
32
39
  */
33
40
  export declare class ListAssistantsCommand extends $Command<ListAssistantsCommandInput, ListAssistantsCommandOutput, WisdomClientResolvedConfig> {
34
41
  readonly input: ListAssistantsCommandInput;
@@ -29,6 +29,16 @@ export interface ListContentsCommandOutput extends ListContentsResponse, __Metad
29
29
  * @see {@link ListContentsCommandOutput} for command's `response` shape.
30
30
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDeniedException} (client fault)
33
+ * <p>You do not have sufficient access to perform this action.</p>
34
+ *
35
+ * @throws {@link ResourceNotFoundException} (client fault)
36
+ * <p>The specified resource does not exist.</p>
37
+ *
38
+ * @throws {@link ValidationException} (client fault)
39
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class ListContentsCommand extends $Command<ListContentsCommandInput, ListContentsCommandOutput, WisdomClientResolvedConfig> {
34
44
  readonly input: ListContentsCommandInput;
@@ -29,6 +29,13 @@ export interface ListKnowledgeBasesCommandOutput extends ListKnowledgeBasesRespo
29
29
  * @see {@link ListKnowledgeBasesCommandOutput} for command's `response` shape.
30
30
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDeniedException} (client fault)
33
+ * <p>You do not have sufficient access to perform this action.</p>
34
+ *
35
+ * @throws {@link ValidationException} (client fault)
36
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
37
+ *
38
+ *
32
39
  */
33
40
  export declare class ListKnowledgeBasesCommand extends $Command<ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput, WisdomClientResolvedConfig> {
34
41
  readonly input: ListKnowledgeBasesCommandInput;
@@ -29,6 +29,10 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
29
29
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
30
30
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
31
31
  *
32
+ * @throws {@link ResourceNotFoundException} (client fault)
33
+ * <p>The specified resource does not exist.</p>
34
+ *
35
+ *
32
36
  */
33
37
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, WisdomClientResolvedConfig> {
34
38
  readonly input: ListTagsForResourceCommandInput;
@@ -31,6 +31,16 @@ export interface NotifyRecommendationsReceivedCommandOutput extends NotifyRecomm
31
31
  * @see {@link NotifyRecommendationsReceivedCommandOutput} for command's `response` shape.
32
32
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
33
33
  *
34
+ * @throws {@link AccessDeniedException} (client fault)
35
+ * <p>You do not have sufficient access to perform this action.</p>
36
+ *
37
+ * @throws {@link ResourceNotFoundException} (client fault)
38
+ * <p>The specified resource does not exist.</p>
39
+ *
40
+ * @throws {@link ValidationException} (client fault)
41
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
42
+ *
43
+ *
34
44
  */
35
45
  export declare class NotifyRecommendationsReceivedCommand extends $Command<NotifyRecommendationsReceivedCommandInput, NotifyRecommendationsReceivedCommandOutput, WisdomClientResolvedConfig> {
36
46
  readonly input: NotifyRecommendationsReceivedCommandInput;
@@ -31,6 +31,16 @@ export interface QueryAssistantCommandOutput extends QueryAssistantResponse, __M
31
31
  * @see {@link QueryAssistantCommandOutput} for command's `response` shape.
32
32
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
33
33
  *
34
+ * @throws {@link AccessDeniedException} (client fault)
35
+ * <p>You do not have sufficient access to perform this action.</p>
36
+ *
37
+ * @throws {@link ResourceNotFoundException} (client fault)
38
+ * <p>The specified resource does not exist.</p>
39
+ *
40
+ * @throws {@link ValidationException} (client fault)
41
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
42
+ *
43
+ *
34
44
  */
35
45
  export declare class QueryAssistantCommand extends $Command<QueryAssistantCommandInput, QueryAssistantCommandOutput, WisdomClientResolvedConfig> {
36
46
  readonly input: QueryAssistantCommandInput;
@@ -29,6 +29,16 @@ export interface RemoveKnowledgeBaseTemplateUriCommandOutput extends RemoveKnowl
29
29
  * @see {@link RemoveKnowledgeBaseTemplateUriCommandOutput} for command's `response` shape.
30
30
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDeniedException} (client fault)
33
+ * <p>You do not have sufficient access to perform this action.</p>
34
+ *
35
+ * @throws {@link ResourceNotFoundException} (client fault)
36
+ * <p>The specified resource does not exist.</p>
37
+ *
38
+ * @throws {@link ValidationException} (client fault)
39
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class RemoveKnowledgeBaseTemplateUriCommand extends $Command<RemoveKnowledgeBaseTemplateUriCommandInput, RemoveKnowledgeBaseTemplateUriCommandOutput, WisdomClientResolvedConfig> {
34
44
  readonly input: RemoveKnowledgeBaseTemplateUriCommandInput;
@@ -30,6 +30,16 @@ export interface SearchContentCommandOutput extends SearchContentResponse, __Met
30
30
  * @see {@link SearchContentCommandOutput} for command's `response` shape.
31
31
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
32
32
  *
33
+ * @throws {@link AccessDeniedException} (client fault)
34
+ * <p>You do not have sufficient access to perform this action.</p>
35
+ *
36
+ * @throws {@link ResourceNotFoundException} (client fault)
37
+ * <p>The specified resource does not exist.</p>
38
+ *
39
+ * @throws {@link ValidationException} (client fault)
40
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
41
+ *
42
+ *
33
43
  */
34
44
  export declare class SearchContentCommand extends $Command<SearchContentCommandInput, SearchContentCommandOutput, WisdomClientResolvedConfig> {
35
45
  readonly input: SearchContentCommandInput;
@@ -29,6 +29,16 @@ export interface SearchSessionsCommandOutput extends SearchSessionsResponse, __M
29
29
  * @see {@link SearchSessionsCommandOutput} for command's `response` shape.
30
30
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDeniedException} (client fault)
33
+ * <p>You do not have sufficient access to perform this action.</p>
34
+ *
35
+ * @throws {@link ResourceNotFoundException} (client fault)
36
+ * <p>The specified resource does not exist.</p>
37
+ *
38
+ * @throws {@link ValidationException} (client fault)
39
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class SearchSessionsCommand extends $Command<SearchSessionsCommandInput, SearchSessionsCommandOutput, WisdomClientResolvedConfig> {
34
44
  readonly input: SearchSessionsCommandInput;
@@ -32,6 +32,16 @@ export interface StartContentUploadCommandOutput extends StartContentUploadRespo
32
32
  * @see {@link StartContentUploadCommandOutput} for command's `response` shape.
33
33
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
34
34
  *
35
+ * @throws {@link AccessDeniedException} (client fault)
36
+ * <p>You do not have sufficient access to perform this action.</p>
37
+ *
38
+ * @throws {@link ResourceNotFoundException} (client fault)
39
+ * <p>The specified resource does not exist.</p>
40
+ *
41
+ * @throws {@link ValidationException} (client fault)
42
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
43
+ *
44
+ *
35
45
  */
36
46
  export declare class StartContentUploadCommand extends $Command<StartContentUploadCommandInput, StartContentUploadCommandOutput, WisdomClientResolvedConfig> {
37
47
  readonly input: StartContentUploadCommandInput;
@@ -29,6 +29,13 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
29
29
  * @see {@link TagResourceCommandOutput} for command's `response` shape.
30
30
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
31
31
  *
32
+ * @throws {@link ResourceNotFoundException} (client fault)
33
+ * <p>The specified resource does not exist.</p>
34
+ *
35
+ * @throws {@link TooManyTagsException} (client fault)
36
+ * <p>Amazon Connect Wisdom throws this exception if you have too many tags in your tag set.</p>
37
+ *
38
+ *
32
39
  */
33
40
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, WisdomClientResolvedConfig> {
34
41
  readonly input: TagResourceCommandInput;
@@ -29,6 +29,10 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
29
29
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
30
30
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
31
31
  *
32
+ * @throws {@link ResourceNotFoundException} (client fault)
33
+ * <p>The specified resource does not exist.</p>
34
+ *
35
+ *
32
36
  */
33
37
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, WisdomClientResolvedConfig> {
34
38
  readonly input: UntagResourceCommandInput;
@@ -29,6 +29,20 @@ export interface UpdateContentCommandOutput extends UpdateContentResponse, __Met
29
29
  * @see {@link UpdateContentCommandOutput} for command's `response` shape.
30
30
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDeniedException} (client fault)
33
+ * <p>You do not have sufficient access to perform this action.</p>
34
+ *
35
+ * @throws {@link PreconditionFailedException} (client fault)
36
+ * <p>The provided <code>revisionId</code> does not match, indicating the content has been
37
+ * modified since it was last read.</p>
38
+ *
39
+ * @throws {@link ResourceNotFoundException} (client fault)
40
+ * <p>The specified resource does not exist.</p>
41
+ *
42
+ * @throws {@link ValidationException} (client fault)
43
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
44
+ *
45
+ *
32
46
  */
33
47
  export declare class UpdateContentCommand extends $Command<UpdateContentCommandInput, UpdateContentCommandOutput, WisdomClientResolvedConfig> {
34
48
  readonly input: UpdateContentCommandInput;
@@ -34,6 +34,16 @@ export interface UpdateKnowledgeBaseTemplateUriCommandOutput extends UpdateKnowl
34
34
  * @see {@link UpdateKnowledgeBaseTemplateUriCommandOutput} for command's `response` shape.
35
35
  * @see {@link WisdomClientResolvedConfig | config} for WisdomClient's `config` shape.
36
36
  *
37
+ * @throws {@link AccessDeniedException} (client fault)
38
+ * <p>You do not have sufficient access to perform this action.</p>
39
+ *
40
+ * @throws {@link ResourceNotFoundException} (client fault)
41
+ * <p>The specified resource does not exist.</p>
42
+ *
43
+ * @throws {@link ValidationException} (client fault)
44
+ * <p>The input fails to satisfy the constraints specified by a service.</p>
45
+ *
46
+ *
37
47
  */
38
48
  export declare class UpdateKnowledgeBaseTemplateUriCommand extends $Command<UpdateKnowledgeBaseTemplateUriCommandInput, UpdateKnowledgeBaseTemplateUriCommandOutput, WisdomClientResolvedConfig> {
39
49
  readonly input: UpdateKnowledgeBaseTemplateUriCommandInput;
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -17,10 +17,37 @@ export declare class AccessDeniedException extends __BaseException {
17
17
  export interface AppIntegrationsConfiguration {
18
18
  /**
19
19
  * <p>The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting content.</p>
20
+ * <ul>
21
+ * <li>
22
+ * <p> For <a href="https://developer.salesforce.com/docs/atlas.en-us.knowledge_dev.meta/knowledge_dev/sforce_api_objects_knowledge__kav.htm"> Salesforce</a>, your AppIntegrations DataIntegration must have an ObjectConfiguration if
23
+ * objectFields is not provided, including at least <code>Id</code>,
24
+ * <code>ArticleNumber</code>, <code>VersionNumber</code>, <code>Title</code>,
25
+ * <code>PublishStatus</code>, and <code>IsDeleted</code> as source fields. </p>
26
+ * </li>
27
+ * <li>
28
+ * <p> For <a href="https://developer.servicenow.com/dev.do#!/reference/api/rome/rest/knowledge-management-api"> ServiceNow</a>, your AppIntegrations DataIntegration must have an ObjectConfiguration if
29
+ * objectFields is not provided, including at least <code>number</code>,
30
+ * <code>short_description</code>, <code>sys_mod_count</code>, <code>workflow_state</code>,
31
+ * and <code>active</code> as source fields. </p>
32
+ * </li>
33
+ * <li>
34
+ * <p> For <a href="https://developer.zendesk.com/api-reference/help_center/help-center-api/articles/">
35
+ * Zendesk</a>, your AppIntegrations DataIntegration must have an ObjectConfiguration if
36
+ * <code>objectFields</code> is not provided, including at least <code>id</code>,
37
+ * <code>title</code>, <code>updated_at</code>, and <code>draft</code> as source fields.
38
+ * </p>
39
+ * </li>
40
+ * <li>
41
+ * <p> For <a href="https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/sharepoint-net-server-csom-jsom-and-rest-api-index"> SharePoint</a>, your AppIntegrations DataIntegration must have a FileConfiguration,
42
+ * including only file extensions that are among <code>docx</code>, <code>pdf</code>,
43
+ * <code>html</code>, <code>htm</code>, and <code>txt</code>. </p>
44
+ * </li>
45
+ * </ul>
20
46
  */
21
47
  appIntegrationArn: string | undefined;
22
48
  /**
23
- * <p>The fields from the source that are made available to your agents in Wisdom. </p>
49
+ * <p>The fields from the source that are made available to your agents in Wisdom. Optional if
50
+ * ObjectConfiguration is included in the provided DataIntegration. </p>
24
51
  * <ul>
25
52
  * <li>
26
53
  * <p> For <a href="https://developer.salesforce.com/docs/atlas.en-us.knowledge_dev.meta/knowledge_dev/sforce_api_objects_knowledge__kav.htm"> Salesforce</a>, you must include at least <code>Id</code>,
@@ -32,11 +59,16 @@ export interface AppIntegrationsConfiguration {
32
59
  * <code>short_description</code>, <code>sys_mod_count</code>, <code>workflow_state</code>,
33
60
  * and <code>active</code>. </p>
34
61
  * </li>
62
+ * <li>
63
+ * <p>For <a href="https://developer.zendesk.com/api-reference/help_center/help-center-api/articles/">
64
+ * Zendesk</a>, you must include at least <code>id</code>, <code>title</code>,
65
+ * <code>updated_at</code>, and <code>draft</code>. </p>
66
+ * </li>
35
67
  * </ul>
36
68
  * <p>Make sure to include additional fields. These fields are indexed and used to source
37
69
  * recommendations. </p>
38
70
  */
39
- objectFields: string[] | undefined;
71
+ objectFields?: string[];
40
72
  }
41
73
  /**
42
74
  * <p>The request could not be processed because of conflict in the current state of the
@@ -92,7 +124,9 @@ export interface CreateAssistantAssociationRequest {
92
124
  association: AssistantAssociationInputData | undefined;
93
125
  /**
94
126
  * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
95
- * request.</p>
127
+ * request. If not provided, the Amazon Web Services
128
+ * SDK populates this field. For more information about idempotency, see
129
+ * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
96
130
  */
97
131
  clientToken?: string;
98
132
  /**
@@ -303,7 +337,8 @@ export interface ListAssistantAssociationsResponse {
303
337
  */
304
338
  export interface ServerSideEncryptionConfiguration {
305
339
  /**
306
- * <p>The KMS key. For information about valid ID values, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id">Key identifiers (KeyId)</a>.</p>
340
+ * <p>The KMS key. For information about valid ID values, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id">Key identifiers
341
+ * (KeyId)</a>.</p>
307
342
  */
308
343
  kmsKeyId?: string;
309
344
  }
@@ -313,7 +348,9 @@ export declare enum AssistantType {
313
348
  export interface CreateAssistantRequest {
314
349
  /**
315
350
  * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
316
- * request.</p>
351
+ * request. If not provided, the Amazon Web Services
352
+ * SDK populates this field. For more information about idempotency, see
353
+ * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
317
354
  */
318
355
  clientToken?: string;
319
356
  /**
@@ -567,8 +604,9 @@ export declare enum RecommendationTriggerType {
567
604
  QUERY = "QUERY"
568
605
  }
569
606
  /**
570
- * <p>A recommendation trigger provides context on the event that produced the referenced recommendations.
571
- * Recommendations are only referenced in <code>recommendationIds</code> by a single RecommendationTrigger.</p>
607
+ * <p>A recommendation trigger provides context on the event that produced the referenced
608
+ * recommendations. Recommendations are only referenced in <code>recommendationIds</code> by a
609
+ * single RecommendationTrigger.</p>
572
610
  */
573
611
  export interface RecommendationTrigger {
574
612
  /**
@@ -583,12 +621,12 @@ export interface RecommendationTrigger {
583
621
  * <p>The source of the recommendation trigger.</p>
584
622
  * <ul>
585
623
  * <li>
586
- * <p>ISSUE_DETECTION: The corresponding recommendations were triggered
587
- * by a Contact Lens issue.</p>
624
+ * <p>ISSUE_DETECTION: The corresponding recommendations were triggered by a Contact Lens
625
+ * issue.</p>
588
626
  * </li>
589
627
  * <li>
590
- * <p>RULE_EVALUATION: The corresponding recommendations were triggered
591
- * by a Contact Lens rule.</p>
628
+ * <p>RULE_EVALUATION: The corresponding recommendations were triggered by a Contact Lens
629
+ * rule.</p>
592
630
  * </li>
593
631
  * </ul>
594
632
  */
@@ -838,7 +876,9 @@ export interface SearchSessionsResponse {
838
876
  export interface CreateSessionRequest {
839
877
  /**
840
878
  * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
841
- * request.</p>
879
+ * request. If not provided, the Amazon Web Services
880
+ * SDK populates this field. For more information about idempotency, see
881
+ * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
842
882
  */
843
883
  clientToken?: string;
844
884
  /**
@@ -936,7 +976,9 @@ export interface CreateContentRequest {
936
976
  uploadId: string | undefined;
937
977
  /**
938
978
  * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
939
- * request.</p>
979
+ * request. If not provided, the Amazon Web Services
980
+ * SDK populates this field. For more information about idempotency, see
981
+ * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
940
982
  */
941
983
  clientToken?: string;
942
984
  /**
@@ -1211,8 +1253,8 @@ export declare enum KnowledgeBaseType {
1211
1253
  export interface RenderingConfiguration {
1212
1254
  /**
1213
1255
  * <p>A URI template containing exactly one variable in <code>${variableName} </code>format.
1214
- * This can only be set for <code>EXTERNAL</code> knowledge bases. For Salesforce and ServiceNow,
1215
- * the variable must be one of the following:</p>
1256
+ * This can only be set for <code>EXTERNAL</code> knowledge bases. For Salesforce, ServiceNow,
1257
+ * and Zendesk, the variable must be one of the following:</p>
1216
1258
  * <ul>
1217
1259
  * <li>
1218
1260
  * <p>Salesforce: <code>Id</code>, <code>ArticleNumber</code>, <code>VersionNumber</code>,
@@ -1224,8 +1266,12 @@ export interface RenderingConfiguration {
1224
1266
  * <code>sys_mod_count</code>, <code>workflow_state</code>, or <code>active</code>
1225
1267
  * </p>
1226
1268
  * </li>
1269
+ * <li>
1270
+ * <p>Zendesk: <code>id</code>, <code>title</code>, <code>updated_at</code>, or
1271
+ * <code>draft</code>
1272
+ * </p>
1273
+ * </li>
1227
1274
  * </ul>
1228
- *
1229
1275
  * <p>The variable is replaced with the actual value for a piece of content when calling <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetContent.html">GetContent</a>. </p>
1230
1276
  */
1231
1277
  templateUri?: string;
@@ -1255,7 +1301,9 @@ export declare namespace SourceConfiguration {
1255
1301
  export interface CreateKnowledgeBaseRequest {
1256
1302
  /**
1257
1303
  * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
1258
- * request.</p>
1304
+ * request. If not provided, the Amazon Web Services
1305
+ * SDK populates this field. For more information about idempotency, see
1306
+ * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
1259
1307
  */
1260
1308
  clientToken?: string;
1261
1309
  /**
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region: string;
30
+ Region?: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -9,7 +9,7 @@ export declare class AccessDeniedException extends __BaseException {
9
9
  }
10
10
  export interface AppIntegrationsConfiguration {
11
11
  appIntegrationArn: string | undefined;
12
- objectFields: string[] | undefined;
12
+ objectFields?: string[];
13
13
  }
14
14
  export declare class ConflictException extends __BaseException {
15
15
  readonly name: "ConflictException";
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.288.0",
4
+ "version": "3.290.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,37 +20,37 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.288.0",
24
- "@aws-sdk/config-resolver": "3.287.0",
25
- "@aws-sdk/credential-provider-node": "3.288.0",
26
- "@aws-sdk/fetch-http-handler": "3.282.0",
27
- "@aws-sdk/hash-node": "3.272.0",
28
- "@aws-sdk/invalid-dependency": "3.272.0",
29
- "@aws-sdk/middleware-content-length": "3.282.0",
30
- "@aws-sdk/middleware-endpoint": "3.282.0",
31
- "@aws-sdk/middleware-host-header": "3.282.0",
32
- "@aws-sdk/middleware-logger": "3.288.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.282.0",
34
- "@aws-sdk/middleware-retry": "3.287.0",
35
- "@aws-sdk/middleware-serde": "3.272.0",
36
- "@aws-sdk/middleware-signing": "3.282.0",
37
- "@aws-sdk/middleware-stack": "3.272.0",
38
- "@aws-sdk/middleware-user-agent": "3.282.0",
39
- "@aws-sdk/node-config-provider": "3.287.0",
40
- "@aws-sdk/node-http-handler": "3.282.0",
41
- "@aws-sdk/protocol-http": "3.282.0",
42
- "@aws-sdk/smithy-client": "3.279.0",
43
- "@aws-sdk/types": "3.272.0",
44
- "@aws-sdk/url-parser": "3.272.0",
23
+ "@aws-sdk/client-sts": "3.290.0",
24
+ "@aws-sdk/config-resolver": "3.290.0",
25
+ "@aws-sdk/credential-provider-node": "3.290.0",
26
+ "@aws-sdk/fetch-http-handler": "3.290.0",
27
+ "@aws-sdk/hash-node": "3.290.0",
28
+ "@aws-sdk/invalid-dependency": "3.290.0",
29
+ "@aws-sdk/middleware-content-length": "3.290.0",
30
+ "@aws-sdk/middleware-endpoint": "3.290.0",
31
+ "@aws-sdk/middleware-host-header": "3.290.0",
32
+ "@aws-sdk/middleware-logger": "3.290.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.290.0",
34
+ "@aws-sdk/middleware-retry": "3.290.0",
35
+ "@aws-sdk/middleware-serde": "3.290.0",
36
+ "@aws-sdk/middleware-signing": "3.290.0",
37
+ "@aws-sdk/middleware-stack": "3.290.0",
38
+ "@aws-sdk/middleware-user-agent": "3.290.0",
39
+ "@aws-sdk/node-config-provider": "3.290.0",
40
+ "@aws-sdk/node-http-handler": "3.290.0",
41
+ "@aws-sdk/protocol-http": "3.290.0",
42
+ "@aws-sdk/smithy-client": "3.290.0",
43
+ "@aws-sdk/types": "3.290.0",
44
+ "@aws-sdk/url-parser": "3.290.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.279.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.287.0",
50
- "@aws-sdk/util-endpoints": "3.272.0",
51
- "@aws-sdk/util-retry": "3.272.0",
52
- "@aws-sdk/util-user-agent-browser": "3.282.0",
53
- "@aws-sdk/util-user-agent-node": "3.287.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.290.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.290.0",
50
+ "@aws-sdk/util-endpoints": "3.290.0",
51
+ "@aws-sdk/util-retry": "3.290.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.290.0",
53
+ "@aws-sdk/util-user-agent-node": "3.290.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "tslib": "^2.3.1",
56
56
  "uuid": "^8.3.2"