@aws-sdk/client-wisdom 3.437.0 → 3.439.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/endpoint/endpointResolver.js +1 -1
- package/dist-cjs/index.js +1 -0
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/index.js +1 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +63 -10
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/package.json +6 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const util_endpoints_1 = require("@
|
|
4
|
+
const util_endpoints_1 = require("@smithy/util-endpoints");
|
|
5
5
|
const ruleset_1 = require("./ruleset");
|
|
6
6
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
7
|
return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
|
package/dist-cjs/index.js
CHANGED
|
@@ -7,5 +7,6 @@ tslib_1.__exportStar(require("./Wisdom"), exports);
|
|
|
7
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./models"), exports);
|
|
10
|
+
require("@aws-sdk/util-endpoints");
|
|
10
11
|
var WisdomServiceException_1 = require("./models/WisdomServiceException");
|
|
11
12
|
Object.defineProperty(exports, "WisdomServiceException", { enumerable: true, get: function () { return WisdomServiceException_1.WisdomServiceException; } });
|
package/dist-es/index.js
CHANGED
package/dist-types/index.d.ts
CHANGED
|
@@ -12,4 +12,5 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
12
12
|
export * from "./commands";
|
|
13
13
|
export * from "./pagination";
|
|
14
14
|
export * from "./models";
|
|
15
|
+
import "@aws-sdk/util-endpoints";
|
|
15
16
|
export { WisdomServiceException } from "./models/WisdomServiceException";
|
|
@@ -41,10 +41,23 @@ export interface AppIntegrationsConfiguration {
|
|
|
41
41
|
* </p>
|
|
42
42
|
* </li>
|
|
43
43
|
* <li>
|
|
44
|
-
* <p> For <a href="https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/sharepoint-net-server-csom-jsom-and-rest-api-index">
|
|
44
|
+
* <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,
|
|
45
45
|
* including only file extensions that are among <code>docx</code>, <code>pdf</code>,
|
|
46
46
|
* <code>html</code>, <code>htm</code>, and <code>txt</code>. </p>
|
|
47
47
|
* </li>
|
|
48
|
+
* <li>
|
|
49
|
+
* <p> For <a href="https://aws.amazon.com/s3/">Amazon S3</a>, the
|
|
50
|
+
* ObjectConfiguration and FileConfiguration of your AppIntegrations
|
|
51
|
+
* DataIntegration must be null. The <code>SourceURI</code> of your
|
|
52
|
+
* DataIntegration must use the following format:
|
|
53
|
+
* <code>s3://your_s3_bucket_name</code>.</p>
|
|
54
|
+
* <important>
|
|
55
|
+
* <p>The bucket policy of the corresponding S3 bucket must allow the Amazon Web Services
|
|
56
|
+
* principal <code>app-integrations.amazonaws.com</code> to perform
|
|
57
|
+
* <code>s3:ListBucket</code>, <code>s3:GetObject</code>, and <code>s3:GetBucketLocation</code>
|
|
58
|
+
* against the bucket.</p>
|
|
59
|
+
* </important>
|
|
60
|
+
* </li>
|
|
48
61
|
* </ul>
|
|
49
62
|
*/
|
|
50
63
|
appIntegrationArn: string | undefined;
|
|
@@ -426,13 +439,14 @@ export interface ListAssistantAssociationsResponse {
|
|
|
426
439
|
}
|
|
427
440
|
/**
|
|
428
441
|
* @public
|
|
429
|
-
* <p>The
|
|
442
|
+
* <p>The configuration information for the customer managed key used for encryption.</p>
|
|
430
443
|
*/
|
|
431
444
|
export interface ServerSideEncryptionConfiguration {
|
|
432
445
|
/**
|
|
433
446
|
* @public
|
|
434
|
-
* <p>The
|
|
435
|
-
*
|
|
447
|
+
* <p>The customer managed key used for encryption. For more information about setting up a
|
|
448
|
+
* customer managed key for Wisdom, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/enable-wisdom.html">Enable Amazon Connect Wisdom for your
|
|
449
|
+
* instance</a>. 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>
|
|
436
450
|
*/
|
|
437
451
|
kmsKeyId?: string;
|
|
438
452
|
}
|
|
@@ -481,7 +495,15 @@ export interface CreateAssistantRequest {
|
|
|
481
495
|
tags?: Record<string, string>;
|
|
482
496
|
/**
|
|
483
497
|
* @public
|
|
484
|
-
* <p>The
|
|
498
|
+
* <p>The configuration information for the customer managed key used for encryption. </p>
|
|
499
|
+
* <p>The customer managed key must have a policy that allows <code>kms:CreateGrant</code>
|
|
500
|
+
* and <code> kms:DescribeKey</code> permissions to the IAM identity using the key
|
|
501
|
+
* to invoke Wisdom. To use Wisdom with chat, the key policy must also allow
|
|
502
|
+
* <code>kms:Decrypt</code>, <code>kms:GenerateDataKey*</code>, and
|
|
503
|
+
* <code>kms:DescribeKey</code> permissions to the <code>connect.amazonaws.com</code> service
|
|
504
|
+
* principal. </p>
|
|
505
|
+
* <p>For more information about setting up a customer managed key for Wisdom, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/enable-wisdom.html">Enable Amazon Connect Wisdom
|
|
506
|
+
* for your instance</a>.</p>
|
|
485
507
|
*/
|
|
486
508
|
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
487
509
|
}
|
|
@@ -554,7 +576,15 @@ export interface AssistantData {
|
|
|
554
576
|
tags?: Record<string, string>;
|
|
555
577
|
/**
|
|
556
578
|
* @public
|
|
557
|
-
* <p>The
|
|
579
|
+
* <p>The configuration information for the customer managed key used for encryption. </p>
|
|
580
|
+
* <p>This KMS key must have a policy that allows <code>kms:CreateGrant</code>
|
|
581
|
+
* and <code>kms:DescribeKey</code> permissions to the IAM identity using the key
|
|
582
|
+
* to invoke Wisdom. To use Wisdom with chat, the key policy must also allow
|
|
583
|
+
* <code>kms:Decrypt</code>, <code>kms:GenerateDataKey*</code>, and
|
|
584
|
+
* <code>kms:DescribeKey</code> permissions to the <code>connect.amazonaws.com</code> service
|
|
585
|
+
* principal. </p>
|
|
586
|
+
* <p>For more information about setting up a customer managed key for Wisdom, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/enable-wisdom.html">Enable Amazon Connect Wisdom
|
|
587
|
+
* for your instance</a>.</p>
|
|
558
588
|
*/
|
|
559
589
|
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
560
590
|
/**
|
|
@@ -952,7 +982,15 @@ export interface AssistantSummary {
|
|
|
952
982
|
tags?: Record<string, string>;
|
|
953
983
|
/**
|
|
954
984
|
* @public
|
|
955
|
-
* <p>The
|
|
985
|
+
* <p>The configuration information for the customer managed key used for encryption. </p>
|
|
986
|
+
* <p>This KMS key must have a policy that allows <code>kms:CreateGrant</code>
|
|
987
|
+
* and <code>kms:DescribeKey</code> permissions to the IAM identity using the key
|
|
988
|
+
* to invoke Wisdom. To use Wisdom with chat, the key policy must also allow
|
|
989
|
+
* <code>kms:Decrypt</code>, <code>kms:GenerateDataKey*</code>, and
|
|
990
|
+
* <code>kms:DescribeKey</code> permissions to the <code>connect.amazonaws.com</code> service
|
|
991
|
+
* principal. </p>
|
|
992
|
+
* <p>For more information about setting up a customer managed key for Wisdom, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/enable-wisdom.html">Enable Amazon Connect Wisdom
|
|
993
|
+
* for your instance</a>.</p>
|
|
956
994
|
*/
|
|
957
995
|
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
958
996
|
/**
|
|
@@ -1836,7 +1874,12 @@ export interface CreateKnowledgeBaseRequest {
|
|
|
1836
1874
|
renderingConfiguration?: RenderingConfiguration;
|
|
1837
1875
|
/**
|
|
1838
1876
|
* @public
|
|
1839
|
-
* <p>The
|
|
1877
|
+
* <p>The configuration information for the customer managed key used for encryption. </p>
|
|
1878
|
+
* <p>This KMS key must have a policy that allows <code>kms:CreateGrant</code>
|
|
1879
|
+
* and <code>kms:DescribeKey</code> permissions to the IAM identity using the key
|
|
1880
|
+
* to invoke Wisdom.</p>
|
|
1881
|
+
* <p>For more information about setting up a customer managed key for Wisdom, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/enable-wisdom.html">Enable Amazon Connect Wisdom
|
|
1882
|
+
* for your instance</a>.</p>
|
|
1840
1883
|
*/
|
|
1841
1884
|
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
1842
1885
|
/**
|
|
@@ -1914,7 +1957,12 @@ export interface KnowledgeBaseData {
|
|
|
1914
1957
|
renderingConfiguration?: RenderingConfiguration;
|
|
1915
1958
|
/**
|
|
1916
1959
|
* @public
|
|
1917
|
-
* <p>The
|
|
1960
|
+
* <p>The configuration information for the customer managed key used for encryption. </p>
|
|
1961
|
+
* <p>This KMS key must have a policy that allows <code>kms:CreateGrant</code>
|
|
1962
|
+
* and <code>kms:DescribeKey</code> permissions to the IAM identity using the key
|
|
1963
|
+
* to invoke Wisdom. </p>
|
|
1964
|
+
* <p>For more information about setting up a customer managed key for Wisdom, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/enable-wisdom.html">Enable Amazon Connect Wisdom
|
|
1965
|
+
* for your instance</a>.</p>
|
|
1918
1966
|
*/
|
|
1919
1967
|
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
1920
1968
|
/**
|
|
@@ -2031,7 +2079,12 @@ export interface KnowledgeBaseSummary {
|
|
|
2031
2079
|
renderingConfiguration?: RenderingConfiguration;
|
|
2032
2080
|
/**
|
|
2033
2081
|
* @public
|
|
2034
|
-
* <p>The
|
|
2082
|
+
* <p>The configuration information for the customer managed key used for encryption. </p>
|
|
2083
|
+
* <p>This KMS key must have a policy that allows <code>kms:CreateGrant</code>
|
|
2084
|
+
* and <code>kms:DescribeKey</code> permissions to the IAM identity using the key
|
|
2085
|
+
* to invoke Wisdom. </p>
|
|
2086
|
+
* <p>For more information about setting up a customer managed key for Wisdom, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/enable-wisdom.html">Enable Amazon Connect Wisdom
|
|
2087
|
+
* for your instance</a>.</p>
|
|
2035
2088
|
*/
|
|
2036
2089
|
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
2037
2090
|
/**
|
|
@@ -4,4 +4,5 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export * from "./commands";
|
|
5
5
|
export * from "./pagination";
|
|
6
6
|
export * from "./models";
|
|
7
|
+
import "@aws-sdk/util-endpoints";
|
|
7
8
|
export { WisdomServiceException } from "./models/WisdomServiceException";
|
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.
|
|
4
|
+
"version": "3.439.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",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.438.0",
|
|
25
25
|
"@aws-sdk/core": "3.436.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.438.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.433.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.433.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.433.0",
|
|
30
30
|
"@aws-sdk/middleware-signing": "3.433.0",
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.438.0",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "3.433.0",
|
|
33
33
|
"@aws-sdk/types": "3.433.0",
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.438.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.433.0",
|
|
36
36
|
"@aws-sdk/util-user-agent-node": "3.437.0",
|
|
37
37
|
"@smithy/config-resolver": "^2.0.16",
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
55
55
|
"@smithy/util-defaults-mode-browser": "^2.0.16",
|
|
56
56
|
"@smithy/util-defaults-mode-node": "^2.0.21",
|
|
57
|
+
"@smithy/util-endpoints": "^1.0.2",
|
|
57
58
|
"@smithy/util-retry": "^2.0.5",
|
|
58
59
|
"@smithy/util-utf8": "^2.0.0",
|
|
59
60
|
"tslib": "^2.5.0",
|