@aws-sdk/client-wisdom 3.325.0 → 3.327.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 (32) hide show
  1. package/dist-types/commands/CreateAssistantAssociationCommand.d.ts +21 -0
  2. package/dist-types/commands/CreateAssistantCommand.d.ts +19 -0
  3. package/dist-types/commands/CreateContentCommand.d.ts +25 -0
  4. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +31 -0
  5. package/dist-types/commands/CreateSessionCommand.d.ts +14 -0
  6. package/dist-types/commands/DeleteAssistantAssociationCommand.d.ts +4 -0
  7. package/dist-types/commands/DeleteAssistantCommand.d.ts +4 -0
  8. package/dist-types/commands/DeleteContentCommand.d.ts +4 -0
  9. package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +4 -0
  10. package/dist-types/commands/GetAssistantAssociationCommand.d.ts +21 -0
  11. package/dist-types/commands/GetAssistantCommand.d.ts +19 -0
  12. package/dist-types/commands/GetContentCommand.d.ts +25 -0
  13. package/dist-types/commands/GetContentSummaryCommand.d.ts +22 -0
  14. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +31 -0
  15. package/dist-types/commands/GetRecommendationsCommand.d.ts +54 -0
  16. package/dist-types/commands/GetSessionCommand.d.ts +14 -0
  17. package/dist-types/commands/ListAssistantAssociationsCommand.d.ts +24 -0
  18. package/dist-types/commands/ListAssistantsCommand.d.ts +22 -0
  19. package/dist-types/commands/ListContentsCommand.d.ts +25 -0
  20. package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +33 -0
  21. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
  22. package/dist-types/commands/NotifyRecommendationsReceivedCommand.d.ts +14 -0
  23. package/dist-types/commands/QueryAssistantCommand.d.ts +38 -0
  24. package/dist-types/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +4 -0
  25. package/dist-types/commands/SearchContentCommand.d.ts +25 -0
  26. package/dist-types/commands/SearchSessionsCommand.d.ts +14 -0
  27. package/dist-types/commands/StartContentUploadCommand.d.ts +11 -0
  28. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  29. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  30. package/dist-types/commands/UpdateContentCommand.d.ts +25 -0
  31. package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +31 -0
  32. package/package.json +7 -7
@@ -41,6 +41,25 @@ export interface CreateAssistantAssociationCommandOutput extends CreateAssistant
41
41
  * };
42
42
  * const command = new CreateAssistantAssociationCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // CreateAssistantAssociationResponse
45
+ * // assistantAssociation: { // AssistantAssociationData
46
+ * // assistantAssociationId: "STRING_VALUE", // required
47
+ * // assistantAssociationArn: "STRING_VALUE", // required
48
+ * // assistantId: "STRING_VALUE", // required
49
+ * // assistantArn: "STRING_VALUE", // required
50
+ * // associationType: "STRING_VALUE", // required
51
+ * // associationData: { // AssistantAssociationOutputData Union: only one key present
52
+ * // knowledgeBaseAssociation: { // KnowledgeBaseAssociationData
53
+ * // knowledgeBaseId: "STRING_VALUE",
54
+ * // knowledgeBaseArn: "STRING_VALUE",
55
+ * // },
56
+ * // },
57
+ * // tags: { // Tags
58
+ * // "<keys>": "STRING_VALUE",
59
+ * // },
60
+ * // },
61
+ * // };
62
+ *
44
63
  * ```
45
64
  *
46
65
  * @param CreateAssistantAssociationCommandInput - {@link CreateAssistantAssociationCommandInput}
@@ -68,6 +87,8 @@ export interface CreateAssistantAssociationCommandOutput extends CreateAssistant
68
87
  * @throws {@link ValidationException} (client fault)
69
88
  * <p>The input fails to satisfy the constraints specified by a service.</p>
70
89
  *
90
+ * @throws {@link WisdomServiceException}
91
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
71
92
  *
72
93
  */
73
94
  export declare class CreateAssistantAssociationCommand extends $Command<CreateAssistantAssociationCommandInput, CreateAssistantAssociationCommandOutput, WisdomClientResolvedConfig> {
@@ -40,6 +40,23 @@ export interface CreateAssistantCommandOutput extends CreateAssistantResponse, _
40
40
  * };
41
41
  * const command = new CreateAssistantCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // CreateAssistantResponse
44
+ * // assistant: { // AssistantData
45
+ * // assistantId: "STRING_VALUE", // required
46
+ * // assistantArn: "STRING_VALUE", // required
47
+ * // name: "STRING_VALUE", // required
48
+ * // type: "STRING_VALUE", // required
49
+ * // status: "STRING_VALUE", // required
50
+ * // description: "STRING_VALUE",
51
+ * // tags: { // Tags
52
+ * // "<keys>": "STRING_VALUE",
53
+ * // },
54
+ * // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
55
+ * // kmsKeyId: "STRING_VALUE",
56
+ * // },
57
+ * // },
58
+ * // };
59
+ *
43
60
  * ```
44
61
  *
45
62
  * @param CreateAssistantCommandInput - {@link CreateAssistantCommandInput}
@@ -64,6 +81,8 @@ export interface CreateAssistantCommandOutput extends CreateAssistantResponse, _
64
81
  * @throws {@link ValidationException} (client fault)
65
82
  * <p>The input fails to satisfy the constraints specified by a service.</p>
66
83
  *
84
+ * @throws {@link WisdomServiceException}
85
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
67
86
  *
68
87
  */
69
88
  export declare class CreateAssistantCommand extends $Command<CreateAssistantCommandInput, CreateAssistantCommandOutput, WisdomClientResolvedConfig> {
@@ -43,6 +43,29 @@ export interface CreateContentCommandOutput extends CreateContentResponse, __Met
43
43
  * };
44
44
  * const command = new CreateContentCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // CreateContentResponse
47
+ * // content: { // ContentData
48
+ * // contentArn: "STRING_VALUE", // required
49
+ * // contentId: "STRING_VALUE", // required
50
+ * // knowledgeBaseArn: "STRING_VALUE", // required
51
+ * // knowledgeBaseId: "STRING_VALUE", // required
52
+ * // name: "STRING_VALUE", // required
53
+ * // revisionId: "STRING_VALUE", // required
54
+ * // title: "STRING_VALUE", // required
55
+ * // contentType: "STRING_VALUE", // required
56
+ * // status: "STRING_VALUE", // required
57
+ * // metadata: { // ContentMetadata // required
58
+ * // "<keys>": "STRING_VALUE",
59
+ * // },
60
+ * // tags: { // Tags
61
+ * // "<keys>": "STRING_VALUE",
62
+ * // },
63
+ * // linkOutUri: "STRING_VALUE",
64
+ * // url: "STRING_VALUE", // required
65
+ * // urlExpiry: new Date("TIMESTAMP"), // required
66
+ * // },
67
+ * // };
68
+ *
46
69
  * ```
47
70
  *
48
71
  * @param CreateContentCommandInput - {@link CreateContentCommandInput}
@@ -70,6 +93,8 @@ export interface CreateContentCommandOutput extends CreateContentResponse, __Met
70
93
  * @throws {@link ValidationException} (client fault)
71
94
  * <p>The input fails to satisfy the constraints specified by a service.</p>
72
95
  *
96
+ * @throws {@link WisdomServiceException}
97
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
73
98
  *
74
99
  */
75
100
  export declare class CreateContentCommand extends $Command<CreateContentCommandInput, CreateContentCommandOutput, WisdomClientResolvedConfig> {
@@ -74,6 +74,35 @@ export interface CreateKnowledgeBaseCommandOutput extends CreateKnowledgeBaseRes
74
74
  * };
75
75
  * const command = new CreateKnowledgeBaseCommand(input);
76
76
  * const response = await client.send(command);
77
+ * // { // CreateKnowledgeBaseResponse
78
+ * // knowledgeBase: { // KnowledgeBaseData
79
+ * // knowledgeBaseId: "STRING_VALUE", // required
80
+ * // knowledgeBaseArn: "STRING_VALUE", // required
81
+ * // name: "STRING_VALUE", // required
82
+ * // knowledgeBaseType: "STRING_VALUE", // required
83
+ * // status: "STRING_VALUE", // required
84
+ * // lastContentModificationTime: new Date("TIMESTAMP"),
85
+ * // sourceConfiguration: { // SourceConfiguration Union: only one key present
86
+ * // appIntegrations: { // AppIntegrationsConfiguration
87
+ * // appIntegrationArn: "STRING_VALUE", // required
88
+ * // objectFields: [ // ObjectFieldsList
89
+ * // "STRING_VALUE",
90
+ * // ],
91
+ * // },
92
+ * // },
93
+ * // renderingConfiguration: { // RenderingConfiguration
94
+ * // templateUri: "STRING_VALUE",
95
+ * // },
96
+ * // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
97
+ * // kmsKeyId: "STRING_VALUE",
98
+ * // },
99
+ * // description: "STRING_VALUE",
100
+ * // tags: { // Tags
101
+ * // "<keys>": "STRING_VALUE",
102
+ * // },
103
+ * // },
104
+ * // };
105
+ *
77
106
  * ```
78
107
  *
79
108
  * @param CreateKnowledgeBaseCommandInput - {@link CreateKnowledgeBaseCommandInput}
@@ -98,6 +127,8 @@ export interface CreateKnowledgeBaseCommandOutput extends CreateKnowledgeBaseRes
98
127
  * @throws {@link ValidationException} (client fault)
99
128
  * <p>The input fails to satisfy the constraints specified by a service.</p>
100
129
  *
130
+ * @throws {@link WisdomServiceException}
131
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
101
132
  *
102
133
  */
103
134
  export declare class CreateKnowledgeBaseCommand extends $Command<CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput, WisdomClientResolvedConfig> {
@@ -39,6 +39,18 @@ export interface CreateSessionCommandOutput extends CreateSessionResponse, __Met
39
39
  * };
40
40
  * const command = new CreateSessionCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // CreateSessionResponse
43
+ * // session: { // SessionData
44
+ * // sessionArn: "STRING_VALUE", // required
45
+ * // sessionId: "STRING_VALUE", // required
46
+ * // name: "STRING_VALUE", // required
47
+ * // description: "STRING_VALUE",
48
+ * // tags: { // Tags
49
+ * // "<keys>": "STRING_VALUE",
50
+ * // },
51
+ * // },
52
+ * // };
53
+ *
42
54
  * ```
43
55
  *
44
56
  * @param CreateSessionCommandInput - {@link CreateSessionCommandInput}
@@ -59,6 +71,8 @@ export interface CreateSessionCommandOutput extends CreateSessionResponse, __Met
59
71
  * @throws {@link ValidationException} (client fault)
60
72
  * <p>The input fails to satisfy the constraints specified by a service.</p>
61
73
  *
74
+ * @throws {@link WisdomServiceException}
75
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
62
76
  *
63
77
  */
64
78
  export declare class CreateSessionCommand extends $Command<CreateSessionCommandInput, CreateSessionCommandOutput, WisdomClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface DeleteAssistantAssociationCommandOutput extends DeleteAssistant
32
32
  * };
33
33
  * const command = new DeleteAssistantAssociationCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param DeleteAssistantAssociationCommandInput - {@link DeleteAssistantAssociationCommandInput}
@@ -49,6 +51,8 @@ export interface DeleteAssistantAssociationCommandOutput extends DeleteAssistant
49
51
  * @throws {@link ValidationException} (client fault)
50
52
  * <p>The input fails to satisfy the constraints specified by a service.</p>
51
53
  *
54
+ * @throws {@link WisdomServiceException}
55
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
52
56
  *
53
57
  */
54
58
  export declare class DeleteAssistantAssociationCommand extends $Command<DeleteAssistantAssociationCommandInput, DeleteAssistantAssociationCommandOutput, WisdomClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface DeleteAssistantCommandOutput extends DeleteAssistantResponse, _
31
31
  * };
32
32
  * const command = new DeleteAssistantCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param DeleteAssistantCommandInput - {@link DeleteAssistantCommandInput}
@@ -48,6 +50,8 @@ export interface DeleteAssistantCommandOutput extends DeleteAssistantResponse, _
48
50
  * @throws {@link ValidationException} (client fault)
49
51
  * <p>The input fails to satisfy the constraints specified by a service.</p>
50
52
  *
53
+ * @throws {@link WisdomServiceException}
54
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
51
55
  *
52
56
  */
53
57
  export declare class DeleteAssistantCommand extends $Command<DeleteAssistantCommandInput, DeleteAssistantCommandOutput, WisdomClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface DeleteContentCommandOutput extends DeleteContentResponse, __Met
32
32
  * };
33
33
  * const command = new DeleteContentCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param DeleteContentCommandInput - {@link DeleteContentCommandInput}
@@ -49,6 +51,8 @@ export interface DeleteContentCommandOutput extends DeleteContentResponse, __Met
49
51
  * @throws {@link ValidationException} (client fault)
50
52
  * <p>The input fails to satisfy the constraints specified by a service.</p>
51
53
  *
54
+ * @throws {@link WisdomServiceException}
55
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
52
56
  *
53
57
  */
54
58
  export declare class DeleteContentCommand extends $Command<DeleteContentCommandInput, DeleteContentCommandOutput, WisdomClientResolvedConfig> {
@@ -39,6 +39,8 @@ export interface DeleteKnowledgeBaseCommandOutput extends DeleteKnowledgeBaseRes
39
39
  * };
40
40
  * const command = new DeleteKnowledgeBaseCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // {};
43
+ *
42
44
  * ```
43
45
  *
44
46
  * @param DeleteKnowledgeBaseCommandInput - {@link DeleteKnowledgeBaseCommandInput}
@@ -62,6 +64,8 @@ export interface DeleteKnowledgeBaseCommandOutput extends DeleteKnowledgeBaseRes
62
64
  * @throws {@link ValidationException} (client fault)
63
65
  * <p>The input fails to satisfy the constraints specified by a service.</p>
64
66
  *
67
+ * @throws {@link WisdomServiceException}
68
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
65
69
  *
66
70
  */
67
71
  export declare class DeleteKnowledgeBaseCommand extends $Command<DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput, WisdomClientResolvedConfig> {
@@ -32,6 +32,25 @@ export interface GetAssistantAssociationCommandOutput extends GetAssistantAssoci
32
32
  * };
33
33
  * const command = new GetAssistantAssociationCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetAssistantAssociationResponse
36
+ * // assistantAssociation: { // AssistantAssociationData
37
+ * // assistantAssociationId: "STRING_VALUE", // required
38
+ * // assistantAssociationArn: "STRING_VALUE", // required
39
+ * // assistantId: "STRING_VALUE", // required
40
+ * // assistantArn: "STRING_VALUE", // required
41
+ * // associationType: "STRING_VALUE", // required
42
+ * // associationData: { // AssistantAssociationOutputData Union: only one key present
43
+ * // knowledgeBaseAssociation: { // KnowledgeBaseAssociationData
44
+ * // knowledgeBaseId: "STRING_VALUE",
45
+ * // knowledgeBaseArn: "STRING_VALUE",
46
+ * // },
47
+ * // },
48
+ * // tags: { // Tags
49
+ * // "<keys>": "STRING_VALUE",
50
+ * // },
51
+ * // },
52
+ * // };
53
+ *
35
54
  * ```
36
55
  *
37
56
  * @param GetAssistantAssociationCommandInput - {@link GetAssistantAssociationCommandInput}
@@ -49,6 +68,8 @@ export interface GetAssistantAssociationCommandOutput extends GetAssistantAssoci
49
68
  * @throws {@link ValidationException} (client fault)
50
69
  * <p>The input fails to satisfy the constraints specified by a service.</p>
51
70
  *
71
+ * @throws {@link WisdomServiceException}
72
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
52
73
  *
53
74
  */
54
75
  export declare class GetAssistantAssociationCommand extends $Command<GetAssistantAssociationCommandInput, GetAssistantAssociationCommandOutput, WisdomClientResolvedConfig> {
@@ -31,6 +31,23 @@ export interface GetAssistantCommandOutput extends GetAssistantResponse, __Metad
31
31
  * };
32
32
  * const command = new GetAssistantCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetAssistantResponse
35
+ * // assistant: { // AssistantData
36
+ * // assistantId: "STRING_VALUE", // required
37
+ * // assistantArn: "STRING_VALUE", // required
38
+ * // name: "STRING_VALUE", // required
39
+ * // type: "STRING_VALUE", // required
40
+ * // status: "STRING_VALUE", // required
41
+ * // description: "STRING_VALUE",
42
+ * // tags: { // Tags
43
+ * // "<keys>": "STRING_VALUE",
44
+ * // },
45
+ * // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
46
+ * // kmsKeyId: "STRING_VALUE",
47
+ * // },
48
+ * // },
49
+ * // };
50
+ *
34
51
  * ```
35
52
  *
36
53
  * @param GetAssistantCommandInput - {@link GetAssistantCommandInput}
@@ -48,6 +65,8 @@ export interface GetAssistantCommandOutput extends GetAssistantResponse, __Metad
48
65
  * @throws {@link ValidationException} (client fault)
49
66
  * <p>The input fails to satisfy the constraints specified by a service.</p>
50
67
  *
68
+ * @throws {@link WisdomServiceException}
69
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
51
70
  *
52
71
  */
53
72
  export declare class GetAssistantCommand extends $Command<GetAssistantCommandInput, GetAssistantCommandOutput, WisdomClientResolvedConfig> {
@@ -32,6 +32,29 @@ export interface GetContentCommandOutput extends GetContentResponse, __MetadataB
32
32
  * };
33
33
  * const command = new GetContentCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetContentResponse
36
+ * // content: { // ContentData
37
+ * // contentArn: "STRING_VALUE", // required
38
+ * // contentId: "STRING_VALUE", // required
39
+ * // knowledgeBaseArn: "STRING_VALUE", // required
40
+ * // knowledgeBaseId: "STRING_VALUE", // required
41
+ * // name: "STRING_VALUE", // required
42
+ * // revisionId: "STRING_VALUE", // required
43
+ * // title: "STRING_VALUE", // required
44
+ * // contentType: "STRING_VALUE", // required
45
+ * // status: "STRING_VALUE", // required
46
+ * // metadata: { // ContentMetadata // required
47
+ * // "<keys>": "STRING_VALUE",
48
+ * // },
49
+ * // tags: { // Tags
50
+ * // "<keys>": "STRING_VALUE",
51
+ * // },
52
+ * // linkOutUri: "STRING_VALUE",
53
+ * // url: "STRING_VALUE", // required
54
+ * // urlExpiry: new Date("TIMESTAMP"), // required
55
+ * // },
56
+ * // };
57
+ *
35
58
  * ```
36
59
  *
37
60
  * @param GetContentCommandInput - {@link GetContentCommandInput}
@@ -49,6 +72,8 @@ export interface GetContentCommandOutput extends GetContentResponse, __MetadataB
49
72
  * @throws {@link ValidationException} (client fault)
50
73
  * <p>The input fails to satisfy the constraints specified by a service.</p>
51
74
  *
75
+ * @throws {@link WisdomServiceException}
76
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
52
77
  *
53
78
  */
54
79
  export declare class GetContentCommand extends $Command<GetContentCommandInput, GetContentCommandOutput, WisdomClientResolvedConfig> {
@@ -32,6 +32,26 @@ export interface GetContentSummaryCommandOutput extends GetContentSummaryRespons
32
32
  * };
33
33
  * const command = new GetContentSummaryCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetContentSummaryResponse
36
+ * // contentSummary: { // ContentSummary
37
+ * // contentArn: "STRING_VALUE", // required
38
+ * // contentId: "STRING_VALUE", // required
39
+ * // knowledgeBaseArn: "STRING_VALUE", // required
40
+ * // knowledgeBaseId: "STRING_VALUE", // required
41
+ * // name: "STRING_VALUE", // required
42
+ * // revisionId: "STRING_VALUE", // required
43
+ * // title: "STRING_VALUE", // required
44
+ * // contentType: "STRING_VALUE", // required
45
+ * // status: "STRING_VALUE", // required
46
+ * // metadata: { // ContentMetadata // required
47
+ * // "<keys>": "STRING_VALUE",
48
+ * // },
49
+ * // tags: { // Tags
50
+ * // "<keys>": "STRING_VALUE",
51
+ * // },
52
+ * // },
53
+ * // };
54
+ *
35
55
  * ```
36
56
  *
37
57
  * @param GetContentSummaryCommandInput - {@link GetContentSummaryCommandInput}
@@ -49,6 +69,8 @@ export interface GetContentSummaryCommandOutput extends GetContentSummaryRespons
49
69
  * @throws {@link ValidationException} (client fault)
50
70
  * <p>The input fails to satisfy the constraints specified by a service.</p>
51
71
  *
72
+ * @throws {@link WisdomServiceException}
73
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
52
74
  *
53
75
  */
54
76
  export declare class GetContentSummaryCommand extends $Command<GetContentSummaryCommandInput, GetContentSummaryCommandOutput, WisdomClientResolvedConfig> {
@@ -31,6 +31,35 @@ export interface GetKnowledgeBaseCommandOutput extends GetKnowledgeBaseResponse,
31
31
  * };
32
32
  * const command = new GetKnowledgeBaseCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetKnowledgeBaseResponse
35
+ * // knowledgeBase: { // KnowledgeBaseData
36
+ * // knowledgeBaseId: "STRING_VALUE", // required
37
+ * // knowledgeBaseArn: "STRING_VALUE", // required
38
+ * // name: "STRING_VALUE", // required
39
+ * // knowledgeBaseType: "STRING_VALUE", // required
40
+ * // status: "STRING_VALUE", // required
41
+ * // lastContentModificationTime: new Date("TIMESTAMP"),
42
+ * // sourceConfiguration: { // SourceConfiguration Union: only one key present
43
+ * // appIntegrations: { // AppIntegrationsConfiguration
44
+ * // appIntegrationArn: "STRING_VALUE", // required
45
+ * // objectFields: [ // ObjectFieldsList
46
+ * // "STRING_VALUE",
47
+ * // ],
48
+ * // },
49
+ * // },
50
+ * // renderingConfiguration: { // RenderingConfiguration
51
+ * // templateUri: "STRING_VALUE",
52
+ * // },
53
+ * // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
54
+ * // kmsKeyId: "STRING_VALUE",
55
+ * // },
56
+ * // description: "STRING_VALUE",
57
+ * // tags: { // Tags
58
+ * // "<keys>": "STRING_VALUE",
59
+ * // },
60
+ * // },
61
+ * // };
62
+ *
34
63
  * ```
35
64
  *
36
65
  * @param GetKnowledgeBaseCommandInput - {@link GetKnowledgeBaseCommandInput}
@@ -48,6 +77,8 @@ export interface GetKnowledgeBaseCommandOutput extends GetKnowledgeBaseResponse,
48
77
  * @throws {@link ValidationException} (client fault)
49
78
  * <p>The input fails to satisfy the constraints specified by a service.</p>
50
79
  *
80
+ * @throws {@link WisdomServiceException}
81
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
51
82
  *
52
83
  */
53
84
  export declare class GetKnowledgeBaseCommand extends $Command<GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput, WisdomClientResolvedConfig> {
@@ -37,6 +37,58 @@ export interface GetRecommendationsCommandOutput extends GetRecommendationsRespo
37
37
  * };
38
38
  * const command = new GetRecommendationsCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // GetRecommendationsResponse
41
+ * // recommendations: [ // RecommendationList // required
42
+ * // { // RecommendationData
43
+ * // recommendationId: "STRING_VALUE", // required
44
+ * // document: { // Document
45
+ * // contentReference: { // ContentReference
46
+ * // knowledgeBaseArn: "STRING_VALUE",
47
+ * // knowledgeBaseId: "STRING_VALUE",
48
+ * // contentArn: "STRING_VALUE",
49
+ * // contentId: "STRING_VALUE",
50
+ * // },
51
+ * // title: { // DocumentText
52
+ * // text: "STRING_VALUE",
53
+ * // highlights: [ // Highlights
54
+ * // { // Highlight
55
+ * // beginOffsetInclusive: Number("int"),
56
+ * // endOffsetExclusive: Number("int"),
57
+ * // },
58
+ * // ],
59
+ * // },
60
+ * // excerpt: {
61
+ * // text: "STRING_VALUE",
62
+ * // highlights: [
63
+ * // {
64
+ * // beginOffsetInclusive: Number("int"),
65
+ * // endOffsetExclusive: Number("int"),
66
+ * // },
67
+ * // ],
68
+ * // },
69
+ * // },
70
+ * // relevanceScore: Number("double"),
71
+ * // relevanceLevel: "STRING_VALUE",
72
+ * // type: "STRING_VALUE",
73
+ * // },
74
+ * // ],
75
+ * // triggers: [ // RecommendationTriggerList
76
+ * // { // RecommendationTrigger
77
+ * // id: "STRING_VALUE", // required
78
+ * // type: "STRING_VALUE", // required
79
+ * // source: "STRING_VALUE", // required
80
+ * // data: { // RecommendationTriggerData Union: only one key present
81
+ * // query: { // QueryRecommendationTriggerData
82
+ * // text: "STRING_VALUE",
83
+ * // },
84
+ * // },
85
+ * // recommendationIds: [ // RecommendationIdList // required
86
+ * // "STRING_VALUE",
87
+ * // ],
88
+ * // },
89
+ * // ],
90
+ * // };
91
+ *
40
92
  * ```
41
93
  *
42
94
  * @param GetRecommendationsCommandInput - {@link GetRecommendationsCommandInput}
@@ -54,6 +106,8 @@ export interface GetRecommendationsCommandOutput extends GetRecommendationsRespo
54
106
  * @throws {@link ValidationException} (client fault)
55
107
  * <p>The input fails to satisfy the constraints specified by a service.</p>
56
108
  *
109
+ * @throws {@link WisdomServiceException}
110
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
57
111
  *
58
112
  */
59
113
  export declare class GetRecommendationsCommand extends $Command<GetRecommendationsCommandInput, GetRecommendationsCommandOutput, WisdomClientResolvedConfig> {
@@ -32,6 +32,18 @@ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataB
32
32
  * };
33
33
  * const command = new GetSessionCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetSessionResponse
36
+ * // session: { // SessionData
37
+ * // sessionArn: "STRING_VALUE", // required
38
+ * // sessionId: "STRING_VALUE", // required
39
+ * // name: "STRING_VALUE", // required
40
+ * // description: "STRING_VALUE",
41
+ * // tags: { // Tags
42
+ * // "<keys>": "STRING_VALUE",
43
+ * // },
44
+ * // },
45
+ * // };
46
+ *
35
47
  * ```
36
48
  *
37
49
  * @param GetSessionCommandInput - {@link GetSessionCommandInput}
@@ -49,6 +61,8 @@ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataB
49
61
  * @throws {@link ValidationException} (client fault)
50
62
  * <p>The input fails to satisfy the constraints specified by a service.</p>
51
63
  *
64
+ * @throws {@link WisdomServiceException}
65
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
52
66
  *
53
67
  */
54
68
  export declare class GetSessionCommand extends $Command<GetSessionCommandInput, GetSessionCommandOutput, WisdomClientResolvedConfig> {
@@ -33,6 +33,28 @@ export interface ListAssistantAssociationsCommandOutput extends ListAssistantAss
33
33
  * };
34
34
  * const command = new ListAssistantAssociationsCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListAssistantAssociationsResponse
37
+ * // assistantAssociationSummaries: [ // AssistantAssociationSummaryList // required
38
+ * // { // AssistantAssociationSummary
39
+ * // assistantAssociationId: "STRING_VALUE", // required
40
+ * // assistantAssociationArn: "STRING_VALUE", // required
41
+ * // assistantId: "STRING_VALUE", // required
42
+ * // assistantArn: "STRING_VALUE", // required
43
+ * // associationType: "STRING_VALUE", // required
44
+ * // associationData: { // AssistantAssociationOutputData Union: only one key present
45
+ * // knowledgeBaseAssociation: { // KnowledgeBaseAssociationData
46
+ * // knowledgeBaseId: "STRING_VALUE",
47
+ * // knowledgeBaseArn: "STRING_VALUE",
48
+ * // },
49
+ * // },
50
+ * // tags: { // Tags
51
+ * // "<keys>": "STRING_VALUE",
52
+ * // },
53
+ * // },
54
+ * // ],
55
+ * // nextToken: "STRING_VALUE",
56
+ * // };
57
+ *
36
58
  * ```
37
59
  *
38
60
  * @param ListAssistantAssociationsCommandInput - {@link ListAssistantAssociationsCommandInput}
@@ -50,6 +72,8 @@ export interface ListAssistantAssociationsCommandOutput extends ListAssistantAss
50
72
  * @throws {@link ValidationException} (client fault)
51
73
  * <p>The input fails to satisfy the constraints specified by a service.</p>
52
74
  *
75
+ * @throws {@link WisdomServiceException}
76
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
53
77
  *
54
78
  */
55
79
  export declare class ListAssistantAssociationsCommand extends $Command<ListAssistantAssociationsCommandInput, ListAssistantAssociationsCommandOutput, WisdomClientResolvedConfig> {
@@ -32,6 +32,26 @@ export interface ListAssistantsCommandOutput extends ListAssistantsResponse, __M
32
32
  * };
33
33
  * const command = new ListAssistantsCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListAssistantsResponse
36
+ * // assistantSummaries: [ // AssistantList // required
37
+ * // { // AssistantSummary
38
+ * // assistantId: "STRING_VALUE", // required
39
+ * // assistantArn: "STRING_VALUE", // required
40
+ * // name: "STRING_VALUE", // required
41
+ * // type: "STRING_VALUE", // required
42
+ * // status: "STRING_VALUE", // required
43
+ * // description: "STRING_VALUE",
44
+ * // tags: { // Tags
45
+ * // "<keys>": "STRING_VALUE",
46
+ * // },
47
+ * // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
48
+ * // kmsKeyId: "STRING_VALUE",
49
+ * // },
50
+ * // },
51
+ * // ],
52
+ * // nextToken: "STRING_VALUE",
53
+ * // };
54
+ *
35
55
  * ```
36
56
  *
37
57
  * @param ListAssistantsCommandInput - {@link ListAssistantsCommandInput}
@@ -46,6 +66,8 @@ export interface ListAssistantsCommandOutput extends ListAssistantsResponse, __M
46
66
  * @throws {@link ValidationException} (client fault)
47
67
  * <p>The input fails to satisfy the constraints specified by a service.</p>
48
68
  *
69
+ * @throws {@link WisdomServiceException}
70
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
49
71
  *
50
72
  */
51
73
  export declare class ListAssistantsCommand extends $Command<ListAssistantsCommandInput, ListAssistantsCommandOutput, WisdomClientResolvedConfig> {
@@ -33,6 +33,29 @@ export interface ListContentsCommandOutput extends ListContentsResponse, __Metad
33
33
  * };
34
34
  * const command = new ListContentsCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListContentsResponse
37
+ * // contentSummaries: [ // ContentSummaryList // required
38
+ * // { // ContentSummary
39
+ * // contentArn: "STRING_VALUE", // required
40
+ * // contentId: "STRING_VALUE", // required
41
+ * // knowledgeBaseArn: "STRING_VALUE", // required
42
+ * // knowledgeBaseId: "STRING_VALUE", // required
43
+ * // name: "STRING_VALUE", // required
44
+ * // revisionId: "STRING_VALUE", // required
45
+ * // title: "STRING_VALUE", // required
46
+ * // contentType: "STRING_VALUE", // required
47
+ * // status: "STRING_VALUE", // required
48
+ * // metadata: { // ContentMetadata // required
49
+ * // "<keys>": "STRING_VALUE",
50
+ * // },
51
+ * // tags: { // Tags
52
+ * // "<keys>": "STRING_VALUE",
53
+ * // },
54
+ * // },
55
+ * // ],
56
+ * // nextToken: "STRING_VALUE",
57
+ * // };
58
+ *
36
59
  * ```
37
60
  *
38
61
  * @param ListContentsCommandInput - {@link ListContentsCommandInput}
@@ -50,6 +73,8 @@ export interface ListContentsCommandOutput extends ListContentsResponse, __Metad
50
73
  * @throws {@link ValidationException} (client fault)
51
74
  * <p>The input fails to satisfy the constraints specified by a service.</p>
52
75
  *
76
+ * @throws {@link WisdomServiceException}
77
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
53
78
  *
54
79
  */
55
80
  export declare class ListContentsCommand extends $Command<ListContentsCommandInput, ListContentsCommandOutput, WisdomClientResolvedConfig> {
@@ -32,6 +32,37 @@ export interface ListKnowledgeBasesCommandOutput extends ListKnowledgeBasesRespo
32
32
  * };
33
33
  * const command = new ListKnowledgeBasesCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListKnowledgeBasesResponse
36
+ * // knowledgeBaseSummaries: [ // KnowledgeBaseList // required
37
+ * // { // KnowledgeBaseSummary
38
+ * // knowledgeBaseId: "STRING_VALUE", // required
39
+ * // knowledgeBaseArn: "STRING_VALUE", // required
40
+ * // name: "STRING_VALUE", // required
41
+ * // knowledgeBaseType: "STRING_VALUE", // required
42
+ * // status: "STRING_VALUE", // required
43
+ * // sourceConfiguration: { // SourceConfiguration Union: only one key present
44
+ * // appIntegrations: { // AppIntegrationsConfiguration
45
+ * // appIntegrationArn: "STRING_VALUE", // required
46
+ * // objectFields: [ // ObjectFieldsList
47
+ * // "STRING_VALUE",
48
+ * // ],
49
+ * // },
50
+ * // },
51
+ * // renderingConfiguration: { // RenderingConfiguration
52
+ * // templateUri: "STRING_VALUE",
53
+ * // },
54
+ * // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
55
+ * // kmsKeyId: "STRING_VALUE",
56
+ * // },
57
+ * // description: "STRING_VALUE",
58
+ * // tags: { // Tags
59
+ * // "<keys>": "STRING_VALUE",
60
+ * // },
61
+ * // },
62
+ * // ],
63
+ * // nextToken: "STRING_VALUE",
64
+ * // };
65
+ *
35
66
  * ```
36
67
  *
37
68
  * @param ListKnowledgeBasesCommandInput - {@link ListKnowledgeBasesCommandInput}
@@ -46,6 +77,8 @@ export interface ListKnowledgeBasesCommandOutput extends ListKnowledgeBasesRespo
46
77
  * @throws {@link ValidationException} (client fault)
47
78
  * <p>The input fails to satisfy the constraints specified by a service.</p>
48
79
  *
80
+ * @throws {@link WisdomServiceException}
81
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
49
82
  *
50
83
  */
51
84
  export declare class ListKnowledgeBasesCommand extends $Command<ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput, WisdomClientResolvedConfig> {
@@ -31,6 +31,12 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceResponse
35
+ * // tags: { // Tags
36
+ * // "<keys>": "STRING_VALUE",
37
+ * // },
38
+ * // };
39
+ *
34
40
  * ```
35
41
  *
36
42
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -42,6 +48,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
42
48
  * @throws {@link ResourceNotFoundException} (client fault)
43
49
  * <p>The specified resource does not exist.</p>
44
50
  *
51
+ * @throws {@link WisdomServiceException}
52
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
45
53
  *
46
54
  */
47
55
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, WisdomClientResolvedConfig> {
@@ -37,6 +37,18 @@ export interface NotifyRecommendationsReceivedCommandOutput extends NotifyRecomm
37
37
  * };
38
38
  * const command = new NotifyRecommendationsReceivedCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // NotifyRecommendationsReceivedResponse
41
+ * // recommendationIds: [ // RecommendationIdList
42
+ * // "STRING_VALUE",
43
+ * // ],
44
+ * // errors: [ // NotifyRecommendationsReceivedErrorList
45
+ * // { // NotifyRecommendationsReceivedError
46
+ * // recommendationId: "STRING_VALUE",
47
+ * // message: "STRING_VALUE",
48
+ * // },
49
+ * // ],
50
+ * // };
51
+ *
40
52
  * ```
41
53
  *
42
54
  * @param NotifyRecommendationsReceivedCommandInput - {@link NotifyRecommendationsReceivedCommandInput}
@@ -54,6 +66,8 @@ export interface NotifyRecommendationsReceivedCommandOutput extends NotifyRecomm
54
66
  * @throws {@link ValidationException} (client fault)
55
67
  * <p>The input fails to satisfy the constraints specified by a service.</p>
56
68
  *
69
+ * @throws {@link WisdomServiceException}
70
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
57
71
  *
58
72
  */
59
73
  export declare class NotifyRecommendationsReceivedCommand extends $Command<NotifyRecommendationsReceivedCommandInput, NotifyRecommendationsReceivedCommandOutput, WisdomClientResolvedConfig> {
@@ -36,6 +36,42 @@ export interface QueryAssistantCommandOutput extends QueryAssistantResponse, __M
36
36
  * };
37
37
  * const command = new QueryAssistantCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // QueryAssistantResponse
40
+ * // results: [ // QueryResultsList // required
41
+ * // { // ResultData
42
+ * // resultId: "STRING_VALUE", // required
43
+ * // document: { // Document
44
+ * // contentReference: { // ContentReference
45
+ * // knowledgeBaseArn: "STRING_VALUE",
46
+ * // knowledgeBaseId: "STRING_VALUE",
47
+ * // contentArn: "STRING_VALUE",
48
+ * // contentId: "STRING_VALUE",
49
+ * // },
50
+ * // title: { // DocumentText
51
+ * // text: "STRING_VALUE",
52
+ * // highlights: [ // Highlights
53
+ * // { // Highlight
54
+ * // beginOffsetInclusive: Number("int"),
55
+ * // endOffsetExclusive: Number("int"),
56
+ * // },
57
+ * // ],
58
+ * // },
59
+ * // excerpt: {
60
+ * // text: "STRING_VALUE",
61
+ * // highlights: [
62
+ * // {
63
+ * // beginOffsetInclusive: Number("int"),
64
+ * // endOffsetExclusive: Number("int"),
65
+ * // },
66
+ * // ],
67
+ * // },
68
+ * // },
69
+ * // relevanceScore: Number("double"),
70
+ * // },
71
+ * // ],
72
+ * // nextToken: "STRING_VALUE",
73
+ * // };
74
+ *
39
75
  * ```
40
76
  *
41
77
  * @param QueryAssistantCommandInput - {@link QueryAssistantCommandInput}
@@ -53,6 +89,8 @@ export interface QueryAssistantCommandOutput extends QueryAssistantResponse, __M
53
89
  * @throws {@link ValidationException} (client fault)
54
90
  * <p>The input fails to satisfy the constraints specified by a service.</p>
55
91
  *
92
+ * @throws {@link WisdomServiceException}
93
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
56
94
  *
57
95
  */
58
96
  export declare class QueryAssistantCommand extends $Command<QueryAssistantCommandInput, QueryAssistantCommandOutput, WisdomClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface RemoveKnowledgeBaseTemplateUriCommandOutput extends RemoveKnowl
31
31
  * };
32
32
  * const command = new RemoveKnowledgeBaseTemplateUriCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param RemoveKnowledgeBaseTemplateUriCommandInput - {@link RemoveKnowledgeBaseTemplateUriCommandInput}
@@ -48,6 +50,8 @@ export interface RemoveKnowledgeBaseTemplateUriCommandOutput extends RemoveKnowl
48
50
  * @throws {@link ValidationException} (client fault)
49
51
  * <p>The input fails to satisfy the constraints specified by a service.</p>
50
52
  *
53
+ * @throws {@link WisdomServiceException}
54
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
51
55
  *
52
56
  */
53
57
  export declare class RemoveKnowledgeBaseTemplateUriCommand extends $Command<RemoveKnowledgeBaseTemplateUriCommandInput, RemoveKnowledgeBaseTemplateUriCommandOutput, WisdomClientResolvedConfig> {
@@ -43,6 +43,29 @@ export interface SearchContentCommandOutput extends SearchContentResponse, __Met
43
43
  * };
44
44
  * const command = new SearchContentCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // SearchContentResponse
47
+ * // contentSummaries: [ // ContentSummaryList // required
48
+ * // { // ContentSummary
49
+ * // contentArn: "STRING_VALUE", // required
50
+ * // contentId: "STRING_VALUE", // required
51
+ * // knowledgeBaseArn: "STRING_VALUE", // required
52
+ * // knowledgeBaseId: "STRING_VALUE", // required
53
+ * // name: "STRING_VALUE", // required
54
+ * // revisionId: "STRING_VALUE", // required
55
+ * // title: "STRING_VALUE", // required
56
+ * // contentType: "STRING_VALUE", // required
57
+ * // status: "STRING_VALUE", // required
58
+ * // metadata: { // ContentMetadata // required
59
+ * // "<keys>": "STRING_VALUE",
60
+ * // },
61
+ * // tags: { // Tags
62
+ * // "<keys>": "STRING_VALUE",
63
+ * // },
64
+ * // },
65
+ * // ],
66
+ * // nextToken: "STRING_VALUE",
67
+ * // };
68
+ *
46
69
  * ```
47
70
  *
48
71
  * @param SearchContentCommandInput - {@link SearchContentCommandInput}
@@ -60,6 +83,8 @@ export interface SearchContentCommandOutput extends SearchContentResponse, __Met
60
83
  * @throws {@link ValidationException} (client fault)
61
84
  * <p>The input fails to satisfy the constraints specified by a service.</p>
62
85
  *
86
+ * @throws {@link WisdomServiceException}
87
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
63
88
  *
64
89
  */
65
90
  export declare class SearchContentCommand extends $Command<SearchContentCommandInput, SearchContentCommandOutput, WisdomClientResolvedConfig> {
@@ -42,6 +42,18 @@ export interface SearchSessionsCommandOutput extends SearchSessionsResponse, __M
42
42
  * };
43
43
  * const command = new SearchSessionsCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // SearchSessionsResponse
46
+ * // sessionSummaries: [ // SessionSummaries // required
47
+ * // { // SessionSummary
48
+ * // sessionId: "STRING_VALUE", // required
49
+ * // sessionArn: "STRING_VALUE", // required
50
+ * // assistantId: "STRING_VALUE", // required
51
+ * // assistantArn: "STRING_VALUE", // required
52
+ * // },
53
+ * // ],
54
+ * // nextToken: "STRING_VALUE",
55
+ * // };
56
+ *
45
57
  * ```
46
58
  *
47
59
  * @param SearchSessionsCommandInput - {@link SearchSessionsCommandInput}
@@ -59,6 +71,8 @@ export interface SearchSessionsCommandOutput extends SearchSessionsResponse, __M
59
71
  * @throws {@link ValidationException} (client fault)
60
72
  * <p>The input fails to satisfy the constraints specified by a service.</p>
61
73
  *
74
+ * @throws {@link WisdomServiceException}
75
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
62
76
  *
63
77
  */
64
78
  export declare class SearchSessionsCommand extends $Command<SearchSessionsCommandInput, SearchSessionsCommandOutput, WisdomClientResolvedConfig> {
@@ -35,6 +35,15 @@ export interface StartContentUploadCommandOutput extends StartContentUploadRespo
35
35
  * };
36
36
  * const command = new StartContentUploadCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // StartContentUploadResponse
39
+ * // uploadId: "STRING_VALUE", // required
40
+ * // url: "STRING_VALUE", // required
41
+ * // urlExpiry: new Date("TIMESTAMP"), // required
42
+ * // headersToInclude: { // Headers // required
43
+ * // "<keys>": "STRING_VALUE",
44
+ * // },
45
+ * // };
46
+ *
38
47
  * ```
39
48
  *
40
49
  * @param StartContentUploadCommandInput - {@link StartContentUploadCommandInput}
@@ -52,6 +61,8 @@ export interface StartContentUploadCommandOutput extends StartContentUploadRespo
52
61
  * @throws {@link ValidationException} (client fault)
53
62
  * <p>The input fails to satisfy the constraints specified by a service.</p>
54
63
  *
64
+ * @throws {@link WisdomServiceException}
65
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
55
66
  *
56
67
  */
57
68
  export declare class StartContentUploadCommand extends $Command<StartContentUploadCommandInput, StartContentUploadCommandOutput, WisdomClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
34
34
  * };
35
35
  * const command = new TagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -48,6 +50,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
48
50
  * @throws {@link TooManyTagsException} (client fault)
49
51
  * <p>Amazon Connect Wisdom throws this exception if you have too many tags in your tag set.</p>
50
52
  *
53
+ * @throws {@link WisdomServiceException}
54
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
51
55
  *
52
56
  */
53
57
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, WisdomClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -45,6 +47,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
45
47
  * @throws {@link ResourceNotFoundException} (client fault)
46
48
  * <p>The specified resource does not exist.</p>
47
49
  *
50
+ * @throws {@link WisdomServiceException}
51
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
48
52
  *
49
53
  */
50
54
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, WisdomClientResolvedConfig> {
@@ -40,6 +40,29 @@ export interface UpdateContentCommandOutput extends UpdateContentResponse, __Met
40
40
  * };
41
41
  * const command = new UpdateContentCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // UpdateContentResponse
44
+ * // content: { // ContentData
45
+ * // contentArn: "STRING_VALUE", // required
46
+ * // contentId: "STRING_VALUE", // required
47
+ * // knowledgeBaseArn: "STRING_VALUE", // required
48
+ * // knowledgeBaseId: "STRING_VALUE", // required
49
+ * // name: "STRING_VALUE", // required
50
+ * // revisionId: "STRING_VALUE", // required
51
+ * // title: "STRING_VALUE", // required
52
+ * // contentType: "STRING_VALUE", // required
53
+ * // status: "STRING_VALUE", // required
54
+ * // metadata: { // ContentMetadata // required
55
+ * // "<keys>": "STRING_VALUE",
56
+ * // },
57
+ * // tags: { // Tags
58
+ * // "<keys>": "STRING_VALUE",
59
+ * // },
60
+ * // linkOutUri: "STRING_VALUE",
61
+ * // url: "STRING_VALUE", // required
62
+ * // urlExpiry: new Date("TIMESTAMP"), // required
63
+ * // },
64
+ * // };
65
+ *
43
66
  * ```
44
67
  *
45
68
  * @param UpdateContentCommandInput - {@link UpdateContentCommandInput}
@@ -61,6 +84,8 @@ export interface UpdateContentCommandOutput extends UpdateContentResponse, __Met
61
84
  * @throws {@link ValidationException} (client fault)
62
85
  * <p>The input fails to satisfy the constraints specified by a service.</p>
63
86
  *
87
+ * @throws {@link WisdomServiceException}
88
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
64
89
  *
65
90
  */
66
91
  export declare class UpdateContentCommand extends $Command<UpdateContentCommandInput, UpdateContentCommandOutput, WisdomClientResolvedConfig> {
@@ -37,6 +37,35 @@ export interface UpdateKnowledgeBaseTemplateUriCommandOutput extends UpdateKnowl
37
37
  * };
38
38
  * const command = new UpdateKnowledgeBaseTemplateUriCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // UpdateKnowledgeBaseTemplateUriResponse
41
+ * // knowledgeBase: { // KnowledgeBaseData
42
+ * // knowledgeBaseId: "STRING_VALUE", // required
43
+ * // knowledgeBaseArn: "STRING_VALUE", // required
44
+ * // name: "STRING_VALUE", // required
45
+ * // knowledgeBaseType: "STRING_VALUE", // required
46
+ * // status: "STRING_VALUE", // required
47
+ * // lastContentModificationTime: new Date("TIMESTAMP"),
48
+ * // sourceConfiguration: { // SourceConfiguration Union: only one key present
49
+ * // appIntegrations: { // AppIntegrationsConfiguration
50
+ * // appIntegrationArn: "STRING_VALUE", // required
51
+ * // objectFields: [ // ObjectFieldsList
52
+ * // "STRING_VALUE",
53
+ * // ],
54
+ * // },
55
+ * // },
56
+ * // renderingConfiguration: { // RenderingConfiguration
57
+ * // templateUri: "STRING_VALUE",
58
+ * // },
59
+ * // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
60
+ * // kmsKeyId: "STRING_VALUE",
61
+ * // },
62
+ * // description: "STRING_VALUE",
63
+ * // tags: { // Tags
64
+ * // "<keys>": "STRING_VALUE",
65
+ * // },
66
+ * // },
67
+ * // };
68
+ *
40
69
  * ```
41
70
  *
42
71
  * @param UpdateKnowledgeBaseTemplateUriCommandInput - {@link UpdateKnowledgeBaseTemplateUriCommandInput}
@@ -54,6 +83,8 @@ export interface UpdateKnowledgeBaseTemplateUriCommandOutput extends UpdateKnowl
54
83
  * @throws {@link ValidationException} (client fault)
55
84
  * <p>The input fails to satisfy the constraints specified by a service.</p>
56
85
  *
86
+ * @throws {@link WisdomServiceException}
87
+ * <p>Base exception class for all service exceptions from Wisdom service.</p>
57
88
  *
58
89
  */
59
90
  export declare class UpdateKnowledgeBaseTemplateUriCommand extends $Command<UpdateKnowledgeBaseTemplateUriCommandInput, UpdateKnowledgeBaseTemplateUriCommandOutput, WisdomClientResolvedConfig> {
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.325.0",
4
+ "version": "3.327.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.325.0",
24
+ "@aws-sdk/client-sts": "3.327.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.327.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -32,11 +32,11 @@
32
32
  "@aws-sdk/middleware-host-header": "3.325.0",
33
33
  "@aws-sdk/middleware-logger": "3.325.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
- "@aws-sdk/middleware-retry": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.327.0",
36
36
  "@aws-sdk/middleware-serde": "3.325.0",
37
37
  "@aws-sdk/middleware-signing": "3.325.0",
38
38
  "@aws-sdk/middleware-stack": "3.325.0",
39
- "@aws-sdk/middleware-user-agent": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.327.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
@@ -48,8 +48,8 @@
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
50
  "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
- "@aws-sdk/util-endpoints": "3.319.0",
52
- "@aws-sdk/util-retry": "3.310.0",
51
+ "@aws-sdk/util-endpoints": "3.327.0",
52
+ "@aws-sdk/util-retry": "3.327.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.310.0",
55
55
  "@aws-sdk/util-utf8": "3.310.0",