@aws-sdk/client-wisdom 3.300.0 → 3.301.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-types/commands/CreateAssistantAssociationCommand.d.ts +3 -3
- package/dist-types/commands/CreateAssistantCommand.d.ts +3 -3
- package/dist-types/commands/CreateContentCommand.d.ts +3 -3
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +7 -7
- package/dist-types/commands/CreateSessionCommand.d.ts +2 -2
- package/dist-types/commands/DeleteAssistantAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAssistantCommand.d.ts +1 -1
- package/dist-types/commands/DeleteContentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/GetAssistantAssociationCommand.d.ts +1 -1
- package/dist-types/commands/GetAssistantCommand.d.ts +1 -1
- package/dist-types/commands/GetContentCommand.d.ts +1 -1
- package/dist-types/commands/GetContentSummaryCommand.d.ts +1 -1
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/GetRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/GetSessionCommand.d.ts +1 -1
- package/dist-types/commands/ListAssistantAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListAssistantsCommand.d.ts +1 -1
- package/dist-types/commands/ListContentsCommand.d.ts +1 -1
- package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/NotifyRecommendationsReceivedCommand.d.ts +2 -2
- package/dist-types/commands/QueryAssistantCommand.d.ts +1 -1
- package/dist-types/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +1 -1
- package/dist-types/commands/SearchContentCommand.d.ts +4 -4
- package/dist-types/commands/SearchSessionsCommand.d.ts +4 -4
- package/dist-types/commands/StartContentUploadCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateContentCommand.d.ts +2 -2
- package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +1 -1
- package/package.json +3 -3
|
@@ -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",
|
|
@@ -26,7 +26,7 @@ export interface RemoveKnowledgeBaseTemplateUriCommandOutput extends RemoveKnowl
|
|
|
26
26
|
* import { WisdomClient, RemoveKnowledgeBaseTemplateUriCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
27
27
|
* // const { WisdomClient, RemoveKnowledgeBaseTemplateUriCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
28
28
|
* const client = new WisdomClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // RemoveKnowledgeBaseTemplateUriRequest
|
|
30
30
|
* knowledgeBaseId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new RemoveKnowledgeBaseTemplateUriCommand(input);
|
|
@@ -27,13 +27,13 @@ export interface SearchContentCommandOutput extends SearchContentResponse, __Met
|
|
|
27
27
|
* import { WisdomClient, SearchContentCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
28
28
|
* // const { WisdomClient, SearchContentCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
29
29
|
* const client = new WisdomClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // SearchContentRequest
|
|
31
31
|
* nextToken: "STRING_VALUE",
|
|
32
32
|
* maxResults: Number("int"),
|
|
33
33
|
* knowledgeBaseId: "STRING_VALUE", // required
|
|
34
|
-
* searchExpression: {
|
|
35
|
-
* filters: [ // required
|
|
36
|
-
* {
|
|
34
|
+
* searchExpression: { // SearchExpression
|
|
35
|
+
* filters: [ // FilterList // required
|
|
36
|
+
* { // Filter
|
|
37
37
|
* field: "STRING_VALUE", // required
|
|
38
38
|
* operator: "STRING_VALUE", // required
|
|
39
39
|
* value: "STRING_VALUE", // required
|
|
@@ -26,13 +26,13 @@ export interface SearchSessionsCommandOutput extends SearchSessionsResponse, __M
|
|
|
26
26
|
* import { WisdomClient, SearchSessionsCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
27
27
|
* // const { WisdomClient, SearchSessionsCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
28
28
|
* const client = new WisdomClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // SearchSessionsRequest
|
|
30
30
|
* nextToken: "STRING_VALUE",
|
|
31
31
|
* maxResults: Number("int"),
|
|
32
32
|
* assistantId: "STRING_VALUE", // required
|
|
33
|
-
* searchExpression: {
|
|
34
|
-
* filters: [ // required
|
|
35
|
-
* {
|
|
33
|
+
* searchExpression: { // SearchExpression
|
|
34
|
+
* filters: [ // FilterList // required
|
|
35
|
+
* { // Filter
|
|
36
36
|
* field: "STRING_VALUE", // required
|
|
37
37
|
* operator: "STRING_VALUE", // required
|
|
38
38
|
* value: "STRING_VALUE", // required
|
|
@@ -29,7 +29,7 @@ export interface StartContentUploadCommandOutput extends StartContentUploadRespo
|
|
|
29
29
|
* import { WisdomClient, StartContentUploadCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
30
30
|
* // const { WisdomClient, StartContentUploadCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
31
31
|
* const client = new WisdomClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // StartContentUploadRequest
|
|
33
33
|
* knowledgeBaseId: "STRING_VALUE", // required
|
|
34
34
|
* contentType: "STRING_VALUE", // required
|
|
35
35
|
* };
|
|
@@ -26,9 +26,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
26
|
* import { WisdomClient, TagResourceCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
27
27
|
* // const { WisdomClient, TagResourceCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
28
28
|
* const client = new WisdomClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // TagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tags: { // required
|
|
31
|
+
* tags: { // Tags // required
|
|
32
32
|
* "<keys>": "STRING_VALUE",
|
|
33
33
|
* },
|
|
34
34
|
* };
|
|
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { WisdomClient, UntagResourceCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
27
27
|
* // const { WisdomClient, UntagResourceCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
28
28
|
* const client = new WisdomClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tagKeys: [ // required
|
|
31
|
+
* tagKeys: [ // TagKeyList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -26,14 +26,14 @@ export interface UpdateContentCommandOutput extends UpdateContentResponse, __Met
|
|
|
26
26
|
* import { WisdomClient, UpdateContentCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
27
27
|
* // const { WisdomClient, UpdateContentCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
28
28
|
* const client = new WisdomClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateContentRequest
|
|
30
30
|
* knowledgeBaseId: "STRING_VALUE", // required
|
|
31
31
|
* contentId: "STRING_VALUE", // required
|
|
32
32
|
* revisionId: "STRING_VALUE",
|
|
33
33
|
* title: "STRING_VALUE",
|
|
34
34
|
* overrideLinkOutUri: "STRING_VALUE",
|
|
35
35
|
* removeOverrideLinkOutUri: true || false,
|
|
36
|
-
* metadata: {
|
|
36
|
+
* metadata: { // ContentMetadata
|
|
37
37
|
* "<keys>": "STRING_VALUE",
|
|
38
38
|
* },
|
|
39
39
|
* uploadId: "STRING_VALUE",
|
|
@@ -31,7 +31,7 @@ export interface UpdateKnowledgeBaseTemplateUriCommandOutput extends UpdateKnowl
|
|
|
31
31
|
* import { WisdomClient, UpdateKnowledgeBaseTemplateUriCommand } from "@aws-sdk/client-wisdom"; // ES Modules import
|
|
32
32
|
* // const { WisdomClient, UpdateKnowledgeBaseTemplateUriCommand } = require("@aws-sdk/client-wisdom"); // CommonJS import
|
|
33
33
|
* const client = new WisdomClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // UpdateKnowledgeBaseTemplateUriRequest
|
|
35
35
|
* knowledgeBaseId: "STRING_VALUE", // required
|
|
36
36
|
* templateUri: "STRING_VALUE", // required
|
|
37
37
|
* };
|
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.301.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,9 +21,9 @@
|
|
|
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.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|