@aws-sdk/client-wisdom 3.299.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 +11 -0
- package/dist-types/commands/CreateAssistantCommand.d.ts +12 -0
- package/dist-types/commands/CreateContentCommand.d.ts +14 -0
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +23 -0
- package/dist-types/commands/CreateSessionCommand.d.ts +9 -0
- package/dist-types/commands/DeleteAssistantAssociationCommand.d.ts +4 -0
- package/dist-types/commands/DeleteAssistantCommand.d.ts +3 -0
- package/dist-types/commands/DeleteContentCommand.d.ts +4 -0
- package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +3 -0
- package/dist-types/commands/GetAssistantAssociationCommand.d.ts +4 -0
- package/dist-types/commands/GetAssistantCommand.d.ts +3 -0
- package/dist-types/commands/GetContentCommand.d.ts +4 -0
- package/dist-types/commands/GetContentSummaryCommand.d.ts +4 -0
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +3 -0
- package/dist-types/commands/GetRecommendationsCommand.d.ts +6 -0
- package/dist-types/commands/GetSessionCommand.d.ts +4 -0
- package/dist-types/commands/ListAssistantAssociationsCommand.d.ts +5 -0
- package/dist-types/commands/ListAssistantsCommand.d.ts +4 -0
- package/dist-types/commands/ListContentsCommand.d.ts +5 -0
- package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/NotifyRecommendationsReceivedCommand.d.ts +7 -0
- package/dist-types/commands/QueryAssistantCommand.d.ts +6 -0
- package/dist-types/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +3 -0
- package/dist-types/commands/SearchContentCommand.d.ts +14 -0
- package/dist-types/commands/SearchSessionsCommand.d.ts +14 -0
- package/dist-types/commands/StartContentUploadCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateContentCommand.d.ts +12 -0
- package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +4 -0
- package/package.json +8 -8
|
@@ -28,6 +28,17 @@ 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 = { // CreateAssistantAssociationRequest
|
|
32
|
+
* assistantId: "STRING_VALUE", // required
|
|
33
|
+
* associationType: "STRING_VALUE", // required
|
|
34
|
+
* association: { // AssistantAssociationInputData Union: only one key present
|
|
35
|
+
* knowledgeBaseId: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* clientToken: "STRING_VALUE",
|
|
38
|
+
* tags: { // Tags
|
|
39
|
+
* "<keys>": "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* };
|
|
31
42
|
* const command = new CreateAssistantAssociationCommand(input);
|
|
32
43
|
* const response = await client.send(command);
|
|
33
44
|
* ```
|
|
@@ -26,6 +26,18 @@ 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 = { // CreateAssistantRequest
|
|
30
|
+
* clientToken: "STRING_VALUE",
|
|
31
|
+
* name: "STRING_VALUE", // required
|
|
32
|
+
* type: "STRING_VALUE", // required
|
|
33
|
+
* description: "STRING_VALUE",
|
|
34
|
+
* tags: { // Tags
|
|
35
|
+
* "<keys>": "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
38
|
+
* kmsKeyId: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
29
41
|
* const command = new CreateAssistantCommand(input);
|
|
30
42
|
* const response = await client.send(command);
|
|
31
43
|
* ```
|
|
@@ -27,6 +27,20 @@ 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 = { // CreateContentRequest
|
|
31
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
32
|
+
* name: "STRING_VALUE", // required
|
|
33
|
+
* title: "STRING_VALUE",
|
|
34
|
+
* overrideLinkOutUri: "STRING_VALUE",
|
|
35
|
+
* metadata: { // ContentMetadata
|
|
36
|
+
* "<keys>": "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* uploadId: "STRING_VALUE", // required
|
|
39
|
+
* clientToken: "STRING_VALUE",
|
|
40
|
+
* tags: { // Tags
|
|
41
|
+
* "<keys>": "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* };
|
|
30
44
|
* const command = new CreateContentCommand(input);
|
|
31
45
|
* const response = await client.send(command);
|
|
32
46
|
* ```
|
|
@@ -49,6 +49,29 @@ 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 = { // CreateKnowledgeBaseRequest
|
|
53
|
+
* clientToken: "STRING_VALUE",
|
|
54
|
+
* name: "STRING_VALUE", // required
|
|
55
|
+
* knowledgeBaseType: "STRING_VALUE", // required
|
|
56
|
+
* sourceConfiguration: { // SourceConfiguration Union: only one key present
|
|
57
|
+
* appIntegrations: { // AppIntegrationsConfiguration
|
|
58
|
+
* appIntegrationArn: "STRING_VALUE", // required
|
|
59
|
+
* objectFields: [ // ObjectFieldsList
|
|
60
|
+
* "STRING_VALUE",
|
|
61
|
+
* ],
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
64
|
+
* renderingConfiguration: { // RenderingConfiguration
|
|
65
|
+
* templateUri: "STRING_VALUE",
|
|
66
|
+
* },
|
|
67
|
+
* serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
68
|
+
* kmsKeyId: "STRING_VALUE",
|
|
69
|
+
* },
|
|
70
|
+
* description: "STRING_VALUE",
|
|
71
|
+
* tags: { // Tags
|
|
72
|
+
* "<keys>": "STRING_VALUE",
|
|
73
|
+
* },
|
|
74
|
+
* };
|
|
52
75
|
* const command = new CreateKnowledgeBaseCommand(input);
|
|
53
76
|
* const response = await client.send(command);
|
|
54
77
|
* ```
|
|
@@ -28,6 +28,15 @@ 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 = { // CreateSessionRequest
|
|
32
|
+
* clientToken: "STRING_VALUE",
|
|
33
|
+
* assistantId: "STRING_VALUE", // required
|
|
34
|
+
* name: "STRING_VALUE", // required
|
|
35
|
+
* description: "STRING_VALUE",
|
|
36
|
+
* tags: { // Tags
|
|
37
|
+
* "<keys>": "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* };
|
|
31
40
|
* const command = new CreateSessionCommand(input);
|
|
32
41
|
* const response = await client.send(command);
|
|
33
42
|
* ```
|
|
@@ -26,6 +26,10 @@ 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 = { // DeleteAssistantAssociationRequest
|
|
30
|
+
* assistantAssociationId: "STRING_VALUE", // required
|
|
31
|
+
* assistantId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteAssistantAssociationCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = { // DeleteAssistantRequest
|
|
30
|
+
* assistantId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteAssistantCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ 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 = { // DeleteContentRequest
|
|
30
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
31
|
+
* contentId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteContentCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -34,6 +34,9 @@ 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 = { // DeleteKnowledgeBaseRequest
|
|
38
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new DeleteKnowledgeBaseCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|
|
@@ -26,6 +26,10 @@ 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 = { // GetAssistantAssociationRequest
|
|
30
|
+
* assistantAssociationId: "STRING_VALUE", // required
|
|
31
|
+
* assistantId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetAssistantAssociationCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = { // GetAssistantRequest
|
|
30
|
+
* assistantId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetAssistantCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ 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 = { // GetContentRequest
|
|
30
|
+
* contentId: "STRING_VALUE", // required
|
|
31
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetContentCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ 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 = { // GetContentSummaryRequest
|
|
30
|
+
* contentId: "STRING_VALUE", // required
|
|
31
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetContentSummaryCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = { // GetKnowledgeBaseRequest
|
|
30
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetKnowledgeBaseCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -29,6 +29,12 @@ 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 = { // GetRecommendationsRequest
|
|
33
|
+
* assistantId: "STRING_VALUE", // required
|
|
34
|
+
* sessionId: "STRING_VALUE", // required
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* waitTimeSeconds: Number("int"),
|
|
37
|
+
* };
|
|
32
38
|
* const command = new GetRecommendationsCommand(input);
|
|
33
39
|
* const response = await client.send(command);
|
|
34
40
|
* ```
|
|
@@ -26,6 +26,10 @@ 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 = { // GetSessionRequest
|
|
30
|
+
* assistantId: "STRING_VALUE", // required
|
|
31
|
+
* sessionId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetSessionCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,11 @@ 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 = { // ListAssistantAssociationsRequest
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* assistantId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListAssistantAssociationsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ 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 = { // ListAssistantsRequest
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListAssistantsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,11 @@ 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 = { // ListContentsRequest
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListContentsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ 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 = { // ListKnowledgeBasesRequest
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListKnowledgeBasesCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = { // ListTagsForResourceRequest
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -28,6 +28,13 @@ 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 = { // NotifyRecommendationsReceivedRequest
|
|
32
|
+
* assistantId: "STRING_VALUE", // required
|
|
33
|
+
* sessionId: "STRING_VALUE", // required
|
|
34
|
+
* recommendationIds: [ // RecommendationIdList // required
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
31
38
|
* const command = new NotifyRecommendationsReceivedCommand(input);
|
|
32
39
|
* const response = await client.send(command);
|
|
33
40
|
* ```
|
|
@@ -28,6 +28,12 @@ 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 = { // QueryAssistantRequest
|
|
32
|
+
* assistantId: "STRING_VALUE", // required
|
|
33
|
+
* queryText: "STRING_VALUE", // required
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* };
|
|
31
37
|
* const command = new QueryAssistantCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = { // RemoveKnowledgeBaseTemplateUriRequest
|
|
30
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new RemoveKnowledgeBaseTemplateUriCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,20 @@ 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 = { // SearchContentRequest
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
34
|
+
* searchExpression: { // SearchExpression
|
|
35
|
+
* filters: [ // FilterList // required
|
|
36
|
+
* { // Filter
|
|
37
|
+
* field: "STRING_VALUE", // required
|
|
38
|
+
* operator: "STRING_VALUE", // required
|
|
39
|
+
* value: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* },
|
|
43
|
+
* };
|
|
30
44
|
* const command = new SearchContentCommand(input);
|
|
31
45
|
* const response = await client.send(command);
|
|
32
46
|
* ```
|
|
@@ -26,6 +26,20 @@ 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 = { // SearchSessionsRequest
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* assistantId: "STRING_VALUE", // required
|
|
33
|
+
* searchExpression: { // SearchExpression
|
|
34
|
+
* filters: [ // FilterList // required
|
|
35
|
+
* { // Filter
|
|
36
|
+
* field: "STRING_VALUE", // required
|
|
37
|
+
* operator: "STRING_VALUE", // required
|
|
38
|
+
* value: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
29
43
|
* const command = new SearchSessionsCommand(input);
|
|
30
44
|
* const response = await client.send(command);
|
|
31
45
|
* ```
|
|
@@ -29,6 +29,10 @@ 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 = { // StartContentUploadRequest
|
|
33
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
34
|
+
* contentType: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new StartContentUploadCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -26,6 +26,12 @@ 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 = { // TagResourceRequest
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tags: { // Tags // required
|
|
32
|
+
* "<keys>": "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* };
|
|
29
35
|
* const command = new TagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ 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 = { // UntagResourceRequest
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [ // TagKeyList // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,18 @@ 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 = { // UpdateContentRequest
|
|
30
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
31
|
+
* contentId: "STRING_VALUE", // required
|
|
32
|
+
* revisionId: "STRING_VALUE",
|
|
33
|
+
* title: "STRING_VALUE",
|
|
34
|
+
* overrideLinkOutUri: "STRING_VALUE",
|
|
35
|
+
* removeOverrideLinkOutUri: true || false,
|
|
36
|
+
* metadata: { // ContentMetadata
|
|
37
|
+
* "<keys>": "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* uploadId: "STRING_VALUE",
|
|
40
|
+
* };
|
|
29
41
|
* const command = new UpdateContentCommand(input);
|
|
30
42
|
* const response = await client.send(command);
|
|
31
43
|
* ```
|
|
@@ -31,6 +31,10 @@ 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 = { // UpdateKnowledgeBaseTemplateUriRequest
|
|
35
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
36
|
+
* templateUri: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
34
38
|
* const command = new UpdateKnowledgeBaseTemplateUriCommand(input);
|
|
35
39
|
* const response = await client.send(command);
|
|
36
40
|
* ```
|
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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
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",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|