@aws-sdk/client-wisdom 3.948.0 → 3.953.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +611 -404
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/CreateAssistantAssociationCommand.js +2 -2
- package/dist-es/commands/CreateAssistantCommand.js +2 -2
- package/dist-es/commands/CreateContentCommand.js +2 -2
- package/dist-es/commands/CreateKnowledgeBaseCommand.js +2 -2
- package/dist-es/commands/CreateQuickResponseCommand.js +2 -2
- package/dist-es/commands/CreateSessionCommand.js +2 -2
- package/dist-es/commands/DeleteAssistantAssociationCommand.js +2 -2
- package/dist-es/commands/DeleteAssistantCommand.js +2 -2
- package/dist-es/commands/DeleteContentCommand.js +2 -2
- package/dist-es/commands/DeleteImportJobCommand.js +2 -2
- package/dist-es/commands/DeleteKnowledgeBaseCommand.js +2 -2
- package/dist-es/commands/DeleteQuickResponseCommand.js +2 -2
- package/dist-es/commands/GetAssistantAssociationCommand.js +2 -2
- package/dist-es/commands/GetAssistantCommand.js +2 -2
- package/dist-es/commands/GetContentCommand.js +2 -2
- package/dist-es/commands/GetContentSummaryCommand.js +2 -2
- package/dist-es/commands/GetImportJobCommand.js +2 -2
- package/dist-es/commands/GetKnowledgeBaseCommand.js +2 -2
- package/dist-es/commands/GetQuickResponseCommand.js +2 -2
- package/dist-es/commands/GetRecommendationsCommand.js +2 -2
- package/dist-es/commands/GetSessionCommand.js +2 -2
- package/dist-es/commands/ListAssistantAssociationsCommand.js +2 -2
- package/dist-es/commands/ListAssistantsCommand.js +2 -2
- package/dist-es/commands/ListContentsCommand.js +2 -2
- package/dist-es/commands/ListImportJobsCommand.js +2 -2
- package/dist-es/commands/ListKnowledgeBasesCommand.js +2 -2
- package/dist-es/commands/ListQuickResponsesCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/NotifyRecommendationsReceivedCommand.js +2 -2
- package/dist-es/commands/QueryAssistantCommand.js +2 -2
- package/dist-es/commands/RemoveKnowledgeBaseTemplateUriCommand.js +2 -2
- package/dist-es/commands/SearchContentCommand.js +2 -2
- package/dist-es/commands/SearchQuickResponsesCommand.js +2 -2
- package/dist-es/commands/SearchSessionsCommand.js +2 -2
- package/dist-es/commands/StartContentUploadCommand.js +2 -2
- package/dist-es/commands/StartImportJobCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateContentCommand.js +2 -2
- package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +2 -2
- package/dist-es/commands/UpdateQuickResponseCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +387 -359
- package/dist-types/WisdomClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +180 -215
- package/dist-types/ts3.4/WisdomClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +179 -217
- package/package.json +34 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { StartImportJob } from "../schemas/schemas_0";
|
|
4
|
+
import { StartImportJob$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class StartImportJobCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class StartImportJobCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("WisdomService", "StartImportJob", {})
|
|
13
13
|
.n("WisdomClient", "StartImportJobCommand")
|
|
14
|
-
.sc(StartImportJob)
|
|
14
|
+
.sc(StartImportJob$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { TagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("WisdomService", "TagResource", {})
|
|
13
13
|
.n("WisdomClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource)
|
|
14
|
+
.sc(TagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UntagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UntagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("WisdomService", "UntagResource", {})
|
|
13
13
|
.n("WisdomClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource)
|
|
14
|
+
.sc(UntagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateContent } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateContent$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateContentCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateContentCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("WisdomService", "UpdateContent", {})
|
|
13
13
|
.n("WisdomClient", "UpdateContentCommand")
|
|
14
|
-
.sc(UpdateContent)
|
|
14
|
+
.sc(UpdateContent$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateKnowledgeBaseTemplateUri } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateKnowledgeBaseTemplateUri$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateKnowledgeBaseTemplateUriCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateKnowledgeBaseTemplateUriCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("WisdomService", "UpdateKnowledgeBaseTemplateUri", {})
|
|
13
13
|
.n("WisdomClient", "UpdateKnowledgeBaseTemplateUriCommand")
|
|
14
|
-
.sc(UpdateKnowledgeBaseTemplateUri)
|
|
14
|
+
.sc(UpdateKnowledgeBaseTemplateUri$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateQuickResponse } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateQuickResponse$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateQuickResponseCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateQuickResponseCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("WisdomService", "UpdateQuickResponse", {})
|
|
13
13
|
.n("WisdomClient", "UpdateQuickResponseCommand")
|
|
14
|
-
.sc(UpdateQuickResponse)
|
|
14
|
+
.sc(UpdateQuickResponse$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.wisdom",
|
|
29
|
+
version: "2020-10-19",
|
|
30
|
+
serviceTarget: "WisdomService",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "Wisdom",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|