@aws-sdk/client-wisdom 3.50.0 → 3.53.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/WisdomServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +97 -2
- package/dist-cjs/protocols/Aws_restJson1.js +282 -930
- package/dist-es/index.js +1 -0
- package/dist-es/models/WisdomServiceException.js +12 -0
- package/dist-es/models/models_0.js +88 -1
- package/dist-es/protocols/Aws_restJson1.js +611 -1063
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/WisdomServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -29
- package/dist-types/ts3.4/Wisdom.d.ts +156 -0
- package/dist-types/ts3.4/WisdomClient.d.ts +104 -0
- package/dist-types/ts3.4/commands/CreateAssistantAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateAssistantCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateContentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateKnowledgeBaseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAssistantAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAssistantCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteContentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAssistantAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAssistantCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetContentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetContentSummaryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetKnowledgeBaseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRecommendationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAssistantAssociationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAssistantsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListContentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListKnowledgeBasesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/NotifyRecommendationsReceivedCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/QueryAssistantCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SearchContentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SearchSessionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartContentUploadCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateContentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +8 -0
- package/dist-types/ts3.4/commands/index.d.ts +31 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/WisdomServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1235 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAssistantAssociationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListAssistantsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListContentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListKnowledgeBasesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/QueryAssistantPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/SearchContentPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/SearchSessionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Wisdom service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class WisdomServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { WisdomServiceException as __BaseException } from "./WisdomServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
name: "AccessDeniedException";
|
|
7
|
-
$fault: "client";
|
|
8
|
-
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
13
|
}
|
|
10
14
|
/**
|
|
11
15
|
* <p>Configuration information for Amazon AppIntegrations to automatically ingest content.</p>
|
|
@@ -46,10 +50,13 @@ export declare namespace AppIntegrationsConfiguration {
|
|
|
46
50
|
* <code>CreateAssistant</code>) that accepts name, a conflicting resource (usually with the
|
|
47
51
|
* same name) is being created or mutated.</p>
|
|
48
52
|
*/
|
|
49
|
-
export
|
|
50
|
-
name: "ConflictException";
|
|
51
|
-
$fault: "client";
|
|
52
|
-
|
|
53
|
+
export declare class ConflictException extends __BaseException {
|
|
54
|
+
readonly name: "ConflictException";
|
|
55
|
+
readonly $fault: "client";
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
53
60
|
}
|
|
54
61
|
/**
|
|
55
62
|
* <p>The data that is input into Wisdom as a result of the assistant association.</p>
|
|
@@ -212,31 +219,40 @@ export declare namespace CreateAssistantAssociationResponse {
|
|
|
212
219
|
/**
|
|
213
220
|
* <p>The specified resource does not exist.</p>
|
|
214
221
|
*/
|
|
215
|
-
export
|
|
216
|
-
name: "ResourceNotFoundException";
|
|
217
|
-
$fault: "client";
|
|
218
|
-
message?: string;
|
|
222
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
223
|
+
readonly name: "ResourceNotFoundException";
|
|
224
|
+
readonly $fault: "client";
|
|
219
225
|
/**
|
|
220
226
|
* <p>The specified resource name.</p>
|
|
221
227
|
*/
|
|
222
228
|
resourceName?: string;
|
|
229
|
+
/**
|
|
230
|
+
* @internal
|
|
231
|
+
*/
|
|
232
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
223
233
|
}
|
|
224
234
|
/**
|
|
225
235
|
* <p>You've exceeded your service quota. To perform the requested action, remove some of the
|
|
226
236
|
* relevant resources, or use service quotas to request a service quota increase.</p>
|
|
227
237
|
*/
|
|
228
|
-
export
|
|
229
|
-
name: "ServiceQuotaExceededException";
|
|
230
|
-
$fault: "client";
|
|
231
|
-
|
|
238
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
239
|
+
readonly name: "ServiceQuotaExceededException";
|
|
240
|
+
readonly $fault: "client";
|
|
241
|
+
/**
|
|
242
|
+
* @internal
|
|
243
|
+
*/
|
|
244
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
232
245
|
}
|
|
233
246
|
/**
|
|
234
247
|
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
235
248
|
*/
|
|
236
|
-
export
|
|
237
|
-
name: "ValidationException";
|
|
238
|
-
$fault: "client";
|
|
239
|
-
|
|
249
|
+
export declare class ValidationException extends __BaseException {
|
|
250
|
+
readonly name: "ValidationException";
|
|
251
|
+
readonly $fault: "client";
|
|
252
|
+
/**
|
|
253
|
+
* @internal
|
|
254
|
+
*/
|
|
255
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
240
256
|
}
|
|
241
257
|
export interface DeleteAssistantAssociationRequest {
|
|
242
258
|
/**
|
|
@@ -1427,10 +1443,13 @@ export declare namespace ListContentsResponse {
|
|
|
1427
1443
|
* <p>The provided <code>revisionId</code> does not match, indicating the content has been
|
|
1428
1444
|
* modified since it was last read.</p>
|
|
1429
1445
|
*/
|
|
1430
|
-
export
|
|
1431
|
-
name: "PreconditionFailedException";
|
|
1432
|
-
$fault: "client";
|
|
1433
|
-
|
|
1446
|
+
export declare class PreconditionFailedException extends __BaseException {
|
|
1447
|
+
readonly name: "PreconditionFailedException";
|
|
1448
|
+
readonly $fault: "client";
|
|
1449
|
+
/**
|
|
1450
|
+
* @internal
|
|
1451
|
+
*/
|
|
1452
|
+
constructor(opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>);
|
|
1434
1453
|
}
|
|
1435
1454
|
export interface UpdateContentRequest {
|
|
1436
1455
|
/**
|
|
@@ -1996,14 +2015,17 @@ export declare namespace TagResourceResponse {
|
|
|
1996
2015
|
/**
|
|
1997
2016
|
* <p>Amazon Connect Wisdom throws this exception if you have too many tags in your tag set.</p>
|
|
1998
2017
|
*/
|
|
1999
|
-
export
|
|
2000
|
-
name: "TooManyTagsException";
|
|
2001
|
-
$fault: "client";
|
|
2002
|
-
message?: string;
|
|
2018
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
2019
|
+
readonly name: "TooManyTagsException";
|
|
2020
|
+
readonly $fault: "client";
|
|
2003
2021
|
/**
|
|
2004
2022
|
* <p>The specified resource name.</p>
|
|
2005
2023
|
*/
|
|
2006
2024
|
resourceName?: string;
|
|
2025
|
+
/**
|
|
2026
|
+
* @internal
|
|
2027
|
+
*/
|
|
2028
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
2007
2029
|
}
|
|
2008
2030
|
export interface UntagResourceRequest {
|
|
2009
2031
|
/**
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { CreateAssistantAssociationCommandInput, CreateAssistantAssociationCommandOutput } from "./commands/CreateAssistantAssociationCommand";
|
|
3
|
+
import { CreateAssistantCommandInput, CreateAssistantCommandOutput } from "./commands/CreateAssistantCommand";
|
|
4
|
+
import { CreateContentCommandInput, CreateContentCommandOutput } from "./commands/CreateContentCommand";
|
|
5
|
+
import { CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput } from "./commands/CreateKnowledgeBaseCommand";
|
|
6
|
+
import { CreateSessionCommandInput, CreateSessionCommandOutput } from "./commands/CreateSessionCommand";
|
|
7
|
+
import { DeleteAssistantAssociationCommandInput, DeleteAssistantAssociationCommandOutput } from "./commands/DeleteAssistantAssociationCommand";
|
|
8
|
+
import { DeleteAssistantCommandInput, DeleteAssistantCommandOutput } from "./commands/DeleteAssistantCommand";
|
|
9
|
+
import { DeleteContentCommandInput, DeleteContentCommandOutput } from "./commands/DeleteContentCommand";
|
|
10
|
+
import { DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput } from "./commands/DeleteKnowledgeBaseCommand";
|
|
11
|
+
import { GetAssistantAssociationCommandInput, GetAssistantAssociationCommandOutput } from "./commands/GetAssistantAssociationCommand";
|
|
12
|
+
import { GetAssistantCommandInput, GetAssistantCommandOutput } from "./commands/GetAssistantCommand";
|
|
13
|
+
import { GetContentCommandInput, GetContentCommandOutput } from "./commands/GetContentCommand";
|
|
14
|
+
import { GetContentSummaryCommandInput, GetContentSummaryCommandOutput } from "./commands/GetContentSummaryCommand";
|
|
15
|
+
import { GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput } from "./commands/GetKnowledgeBaseCommand";
|
|
16
|
+
import { GetRecommendationsCommandInput, GetRecommendationsCommandOutput } from "./commands/GetRecommendationsCommand";
|
|
17
|
+
import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
18
|
+
import { ListAssistantAssociationsCommandInput, ListAssistantAssociationsCommandOutput } from "./commands/ListAssistantAssociationsCommand";
|
|
19
|
+
import { ListAssistantsCommandInput, ListAssistantsCommandOutput } from "./commands/ListAssistantsCommand";
|
|
20
|
+
import { ListContentsCommandInput, ListContentsCommandOutput } from "./commands/ListContentsCommand";
|
|
21
|
+
import { ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput } from "./commands/ListKnowledgeBasesCommand";
|
|
22
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
23
|
+
import { NotifyRecommendationsReceivedCommandInput, NotifyRecommendationsReceivedCommandOutput } from "./commands/NotifyRecommendationsReceivedCommand";
|
|
24
|
+
import { QueryAssistantCommandInput, QueryAssistantCommandOutput } from "./commands/QueryAssistantCommand";
|
|
25
|
+
import { RemoveKnowledgeBaseTemplateUriCommandInput, RemoveKnowledgeBaseTemplateUriCommandOutput } from "./commands/RemoveKnowledgeBaseTemplateUriCommand";
|
|
26
|
+
import { SearchContentCommandInput, SearchContentCommandOutput } from "./commands/SearchContentCommand";
|
|
27
|
+
import { SearchSessionsCommandInput, SearchSessionsCommandOutput } from "./commands/SearchSessionsCommand";
|
|
28
|
+
import { StartContentUploadCommandInput, StartContentUploadCommandOutput } from "./commands/StartContentUploadCommand";
|
|
29
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
30
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
31
|
+
import { UpdateContentCommandInput, UpdateContentCommandOutput } from "./commands/UpdateContentCommand";
|
|
32
|
+
import { UpdateKnowledgeBaseTemplateUriCommandInput, UpdateKnowledgeBaseTemplateUriCommandOutput } from "./commands/UpdateKnowledgeBaseTemplateUriCommand";
|
|
33
|
+
import { WisdomClient } from "./WisdomClient";
|
|
34
|
+
|
|
35
|
+
export declare class Wisdom extends WisdomClient {
|
|
36
|
+
|
|
37
|
+
createAssistant(args: CreateAssistantCommandInput, options?: __HttpHandlerOptions): Promise<CreateAssistantCommandOutput>;
|
|
38
|
+
createAssistant(args: CreateAssistantCommandInput, cb: (err: any, data?: CreateAssistantCommandOutput) => void): void;
|
|
39
|
+
createAssistant(args: CreateAssistantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAssistantCommandOutput) => void): void;
|
|
40
|
+
|
|
41
|
+
createAssistantAssociation(args: CreateAssistantAssociationCommandInput, options?: __HttpHandlerOptions): Promise<CreateAssistantAssociationCommandOutput>;
|
|
42
|
+
createAssistantAssociation(args: CreateAssistantAssociationCommandInput, cb: (err: any, data?: CreateAssistantAssociationCommandOutput) => void): void;
|
|
43
|
+
createAssistantAssociation(args: CreateAssistantAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAssistantAssociationCommandOutput) => void): void;
|
|
44
|
+
|
|
45
|
+
createContent(args: CreateContentCommandInput, options?: __HttpHandlerOptions): Promise<CreateContentCommandOutput>;
|
|
46
|
+
createContent(args: CreateContentCommandInput, cb: (err: any, data?: CreateContentCommandOutput) => void): void;
|
|
47
|
+
createContent(args: CreateContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateContentCommandOutput) => void): void;
|
|
48
|
+
|
|
49
|
+
createKnowledgeBase(args: CreateKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<CreateKnowledgeBaseCommandOutput>;
|
|
50
|
+
createKnowledgeBase(args: CreateKnowledgeBaseCommandInput, cb: (err: any, data?: CreateKnowledgeBaseCommandOutput) => void): void;
|
|
51
|
+
createKnowledgeBase(args: CreateKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateKnowledgeBaseCommandOutput) => void): void;
|
|
52
|
+
|
|
53
|
+
createSession(args: CreateSessionCommandInput, options?: __HttpHandlerOptions): Promise<CreateSessionCommandOutput>;
|
|
54
|
+
createSession(args: CreateSessionCommandInput, cb: (err: any, data?: CreateSessionCommandOutput) => void): void;
|
|
55
|
+
createSession(args: CreateSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSessionCommandOutput) => void): void;
|
|
56
|
+
|
|
57
|
+
deleteAssistant(args: DeleteAssistantCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssistantCommandOutput>;
|
|
58
|
+
deleteAssistant(args: DeleteAssistantCommandInput, cb: (err: any, data?: DeleteAssistantCommandOutput) => void): void;
|
|
59
|
+
deleteAssistant(args: DeleteAssistantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssistantCommandOutput) => void): void;
|
|
60
|
+
|
|
61
|
+
deleteAssistantAssociation(args: DeleteAssistantAssociationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssistantAssociationCommandOutput>;
|
|
62
|
+
deleteAssistantAssociation(args: DeleteAssistantAssociationCommandInput, cb: (err: any, data?: DeleteAssistantAssociationCommandOutput) => void): void;
|
|
63
|
+
deleteAssistantAssociation(args: DeleteAssistantAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssistantAssociationCommandOutput) => void): void;
|
|
64
|
+
|
|
65
|
+
deleteContent(args: DeleteContentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteContentCommandOutput>;
|
|
66
|
+
deleteContent(args: DeleteContentCommandInput, cb: (err: any, data?: DeleteContentCommandOutput) => void): void;
|
|
67
|
+
deleteContent(args: DeleteContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteContentCommandOutput) => void): void;
|
|
68
|
+
|
|
69
|
+
deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<DeleteKnowledgeBaseCommandOutput>;
|
|
70
|
+
deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, cb: (err: any, data?: DeleteKnowledgeBaseCommandOutput) => void): void;
|
|
71
|
+
deleteKnowledgeBase(args: DeleteKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteKnowledgeBaseCommandOutput) => void): void;
|
|
72
|
+
|
|
73
|
+
getAssistant(args: GetAssistantCommandInput, options?: __HttpHandlerOptions): Promise<GetAssistantCommandOutput>;
|
|
74
|
+
getAssistant(args: GetAssistantCommandInput, cb: (err: any, data?: GetAssistantCommandOutput) => void): void;
|
|
75
|
+
getAssistant(args: GetAssistantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssistantCommandOutput) => void): void;
|
|
76
|
+
|
|
77
|
+
getAssistantAssociation(args: GetAssistantAssociationCommandInput, options?: __HttpHandlerOptions): Promise<GetAssistantAssociationCommandOutput>;
|
|
78
|
+
getAssistantAssociation(args: GetAssistantAssociationCommandInput, cb: (err: any, data?: GetAssistantAssociationCommandOutput) => void): void;
|
|
79
|
+
getAssistantAssociation(args: GetAssistantAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssistantAssociationCommandOutput) => void): void;
|
|
80
|
+
|
|
81
|
+
getContent(args: GetContentCommandInput, options?: __HttpHandlerOptions): Promise<GetContentCommandOutput>;
|
|
82
|
+
getContent(args: GetContentCommandInput, cb: (err: any, data?: GetContentCommandOutput) => void): void;
|
|
83
|
+
getContent(args: GetContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetContentCommandOutput) => void): void;
|
|
84
|
+
|
|
85
|
+
getContentSummary(args: GetContentSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetContentSummaryCommandOutput>;
|
|
86
|
+
getContentSummary(args: GetContentSummaryCommandInput, cb: (err: any, data?: GetContentSummaryCommandOutput) => void): void;
|
|
87
|
+
getContentSummary(args: GetContentSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetContentSummaryCommandOutput) => void): void;
|
|
88
|
+
|
|
89
|
+
getKnowledgeBase(args: GetKnowledgeBaseCommandInput, options?: __HttpHandlerOptions): Promise<GetKnowledgeBaseCommandOutput>;
|
|
90
|
+
getKnowledgeBase(args: GetKnowledgeBaseCommandInput, cb: (err: any, data?: GetKnowledgeBaseCommandOutput) => void): void;
|
|
91
|
+
getKnowledgeBase(args: GetKnowledgeBaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetKnowledgeBaseCommandOutput) => void): void;
|
|
92
|
+
|
|
93
|
+
getRecommendations(args: GetRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<GetRecommendationsCommandOutput>;
|
|
94
|
+
getRecommendations(args: GetRecommendationsCommandInput, cb: (err: any, data?: GetRecommendationsCommandOutput) => void): void;
|
|
95
|
+
getRecommendations(args: GetRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecommendationsCommandOutput) => void): void;
|
|
96
|
+
|
|
97
|
+
getSession(args: GetSessionCommandInput, options?: __HttpHandlerOptions): Promise<GetSessionCommandOutput>;
|
|
98
|
+
getSession(args: GetSessionCommandInput, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
|
|
99
|
+
getSession(args: GetSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
|
|
100
|
+
|
|
101
|
+
listAssistantAssociations(args: ListAssistantAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssistantAssociationsCommandOutput>;
|
|
102
|
+
listAssistantAssociations(args: ListAssistantAssociationsCommandInput, cb: (err: any, data?: ListAssistantAssociationsCommandOutput) => void): void;
|
|
103
|
+
listAssistantAssociations(args: ListAssistantAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssistantAssociationsCommandOutput) => void): void;
|
|
104
|
+
|
|
105
|
+
listAssistants(args: ListAssistantsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssistantsCommandOutput>;
|
|
106
|
+
listAssistants(args: ListAssistantsCommandInput, cb: (err: any, data?: ListAssistantsCommandOutput) => void): void;
|
|
107
|
+
listAssistants(args: ListAssistantsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssistantsCommandOutput) => void): void;
|
|
108
|
+
|
|
109
|
+
listContents(args: ListContentsCommandInput, options?: __HttpHandlerOptions): Promise<ListContentsCommandOutput>;
|
|
110
|
+
listContents(args: ListContentsCommandInput, cb: (err: any, data?: ListContentsCommandOutput) => void): void;
|
|
111
|
+
listContents(args: ListContentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListContentsCommandOutput) => void): void;
|
|
112
|
+
|
|
113
|
+
listKnowledgeBases(args: ListKnowledgeBasesCommandInput, options?: __HttpHandlerOptions): Promise<ListKnowledgeBasesCommandOutput>;
|
|
114
|
+
listKnowledgeBases(args: ListKnowledgeBasesCommandInput, cb: (err: any, data?: ListKnowledgeBasesCommandOutput) => void): void;
|
|
115
|
+
listKnowledgeBases(args: ListKnowledgeBasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListKnowledgeBasesCommandOutput) => void): void;
|
|
116
|
+
|
|
117
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
118
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
119
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
120
|
+
|
|
121
|
+
notifyRecommendationsReceived(args: NotifyRecommendationsReceivedCommandInput, options?: __HttpHandlerOptions): Promise<NotifyRecommendationsReceivedCommandOutput>;
|
|
122
|
+
notifyRecommendationsReceived(args: NotifyRecommendationsReceivedCommandInput, cb: (err: any, data?: NotifyRecommendationsReceivedCommandOutput) => void): void;
|
|
123
|
+
notifyRecommendationsReceived(args: NotifyRecommendationsReceivedCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: NotifyRecommendationsReceivedCommandOutput) => void): void;
|
|
124
|
+
|
|
125
|
+
queryAssistant(args: QueryAssistantCommandInput, options?: __HttpHandlerOptions): Promise<QueryAssistantCommandOutput>;
|
|
126
|
+
queryAssistant(args: QueryAssistantCommandInput, cb: (err: any, data?: QueryAssistantCommandOutput) => void): void;
|
|
127
|
+
queryAssistant(args: QueryAssistantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryAssistantCommandOutput) => void): void;
|
|
128
|
+
|
|
129
|
+
removeKnowledgeBaseTemplateUri(args: RemoveKnowledgeBaseTemplateUriCommandInput, options?: __HttpHandlerOptions): Promise<RemoveKnowledgeBaseTemplateUriCommandOutput>;
|
|
130
|
+
removeKnowledgeBaseTemplateUri(args: RemoveKnowledgeBaseTemplateUriCommandInput, cb: (err: any, data?: RemoveKnowledgeBaseTemplateUriCommandOutput) => void): void;
|
|
131
|
+
removeKnowledgeBaseTemplateUri(args: RemoveKnowledgeBaseTemplateUriCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveKnowledgeBaseTemplateUriCommandOutput) => void): void;
|
|
132
|
+
|
|
133
|
+
searchContent(args: SearchContentCommandInput, options?: __HttpHandlerOptions): Promise<SearchContentCommandOutput>;
|
|
134
|
+
searchContent(args: SearchContentCommandInput, cb: (err: any, data?: SearchContentCommandOutput) => void): void;
|
|
135
|
+
searchContent(args: SearchContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchContentCommandOutput) => void): void;
|
|
136
|
+
|
|
137
|
+
searchSessions(args: SearchSessionsCommandInput, options?: __HttpHandlerOptions): Promise<SearchSessionsCommandOutput>;
|
|
138
|
+
searchSessions(args: SearchSessionsCommandInput, cb: (err: any, data?: SearchSessionsCommandOutput) => void): void;
|
|
139
|
+
searchSessions(args: SearchSessionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchSessionsCommandOutput) => void): void;
|
|
140
|
+
|
|
141
|
+
startContentUpload(args: StartContentUploadCommandInput, options?: __HttpHandlerOptions): Promise<StartContentUploadCommandOutput>;
|
|
142
|
+
startContentUpload(args: StartContentUploadCommandInput, cb: (err: any, data?: StartContentUploadCommandOutput) => void): void;
|
|
143
|
+
startContentUpload(args: StartContentUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartContentUploadCommandOutput) => void): void;
|
|
144
|
+
|
|
145
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
146
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
147
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
148
|
+
|
|
149
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
150
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
151
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
152
|
+
|
|
153
|
+
updateContent(args: UpdateContentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateContentCommandOutput>;
|
|
154
|
+
updateContent(args: UpdateContentCommandInput, cb: (err: any, data?: UpdateContentCommandOutput) => void): void;
|
|
155
|
+
updateContent(args: UpdateContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateContentCommandOutput) => void): void;
|
|
156
|
+
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { CreateAssistantAssociationCommandInput, CreateAssistantAssociationCommandOutput } from "./commands/CreateAssistantAssociationCommand";
|
|
10
|
+
import { CreateAssistantCommandInput, CreateAssistantCommandOutput } from "./commands/CreateAssistantCommand";
|
|
11
|
+
import { CreateContentCommandInput, CreateContentCommandOutput } from "./commands/CreateContentCommand";
|
|
12
|
+
import { CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput } from "./commands/CreateKnowledgeBaseCommand";
|
|
13
|
+
import { CreateSessionCommandInput, CreateSessionCommandOutput } from "./commands/CreateSessionCommand";
|
|
14
|
+
import { DeleteAssistantAssociationCommandInput, DeleteAssistantAssociationCommandOutput } from "./commands/DeleteAssistantAssociationCommand";
|
|
15
|
+
import { DeleteAssistantCommandInput, DeleteAssistantCommandOutput } from "./commands/DeleteAssistantCommand";
|
|
16
|
+
import { DeleteContentCommandInput, DeleteContentCommandOutput } from "./commands/DeleteContentCommand";
|
|
17
|
+
import { DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput } from "./commands/DeleteKnowledgeBaseCommand";
|
|
18
|
+
import { GetAssistantAssociationCommandInput, GetAssistantAssociationCommandOutput } from "./commands/GetAssistantAssociationCommand";
|
|
19
|
+
import { GetAssistantCommandInput, GetAssistantCommandOutput } from "./commands/GetAssistantCommand";
|
|
20
|
+
import { GetContentCommandInput, GetContentCommandOutput } from "./commands/GetContentCommand";
|
|
21
|
+
import { GetContentSummaryCommandInput, GetContentSummaryCommandOutput } from "./commands/GetContentSummaryCommand";
|
|
22
|
+
import { GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput } from "./commands/GetKnowledgeBaseCommand";
|
|
23
|
+
import { GetRecommendationsCommandInput, GetRecommendationsCommandOutput } from "./commands/GetRecommendationsCommand";
|
|
24
|
+
import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
25
|
+
import { ListAssistantAssociationsCommandInput, ListAssistantAssociationsCommandOutput } from "./commands/ListAssistantAssociationsCommand";
|
|
26
|
+
import { ListAssistantsCommandInput, ListAssistantsCommandOutput } from "./commands/ListAssistantsCommand";
|
|
27
|
+
import { ListContentsCommandInput, ListContentsCommandOutput } from "./commands/ListContentsCommand";
|
|
28
|
+
import { ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput } from "./commands/ListKnowledgeBasesCommand";
|
|
29
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
30
|
+
import { NotifyRecommendationsReceivedCommandInput, NotifyRecommendationsReceivedCommandOutput } from "./commands/NotifyRecommendationsReceivedCommand";
|
|
31
|
+
import { QueryAssistantCommandInput, QueryAssistantCommandOutput } from "./commands/QueryAssistantCommand";
|
|
32
|
+
import { RemoveKnowledgeBaseTemplateUriCommandInput, RemoveKnowledgeBaseTemplateUriCommandOutput } from "./commands/RemoveKnowledgeBaseTemplateUriCommand";
|
|
33
|
+
import { SearchContentCommandInput, SearchContentCommandOutput } from "./commands/SearchContentCommand";
|
|
34
|
+
import { SearchSessionsCommandInput, SearchSessionsCommandOutput } from "./commands/SearchSessionsCommand";
|
|
35
|
+
import { StartContentUploadCommandInput, StartContentUploadCommandOutput } from "./commands/StartContentUploadCommand";
|
|
36
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
37
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
38
|
+
import { UpdateContentCommandInput, UpdateContentCommandOutput } from "./commands/UpdateContentCommand";
|
|
39
|
+
import { UpdateKnowledgeBaseTemplateUriCommandInput, UpdateKnowledgeBaseTemplateUriCommandOutput } from "./commands/UpdateKnowledgeBaseTemplateUriCommand";
|
|
40
|
+
export declare type ServiceInputTypes = CreateAssistantAssociationCommandInput | CreateAssistantCommandInput | CreateContentCommandInput | CreateKnowledgeBaseCommandInput | CreateSessionCommandInput | DeleteAssistantAssociationCommandInput | DeleteAssistantCommandInput | DeleteContentCommandInput | DeleteKnowledgeBaseCommandInput | GetAssistantAssociationCommandInput | GetAssistantCommandInput | GetContentCommandInput | GetContentSummaryCommandInput | GetKnowledgeBaseCommandInput | GetRecommendationsCommandInput | GetSessionCommandInput | ListAssistantAssociationsCommandInput | ListAssistantsCommandInput | ListContentsCommandInput | ListKnowledgeBasesCommandInput | ListTagsForResourceCommandInput | NotifyRecommendationsReceivedCommandInput | QueryAssistantCommandInput | RemoveKnowledgeBaseTemplateUriCommandInput | SearchContentCommandInput | SearchSessionsCommandInput | StartContentUploadCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateContentCommandInput | UpdateKnowledgeBaseTemplateUriCommandInput;
|
|
41
|
+
export declare type ServiceOutputTypes = CreateAssistantAssociationCommandOutput | CreateAssistantCommandOutput | CreateContentCommandOutput | CreateKnowledgeBaseCommandOutput | CreateSessionCommandOutput | DeleteAssistantAssociationCommandOutput | DeleteAssistantCommandOutput | DeleteContentCommandOutput | DeleteKnowledgeBaseCommandOutput | GetAssistantAssociationCommandOutput | GetAssistantCommandOutput | GetContentCommandOutput | GetContentSummaryCommandOutput | GetKnowledgeBaseCommandOutput | GetRecommendationsCommandOutput | GetSessionCommandOutput | ListAssistantAssociationsCommandOutput | ListAssistantsCommandOutput | ListContentsCommandOutput | ListKnowledgeBasesCommandOutput | ListTagsForResourceCommandOutput | NotifyRecommendationsReceivedCommandOutput | QueryAssistantCommandOutput | RemoveKnowledgeBaseTemplateUriCommandOutput | SearchContentCommandOutput | SearchSessionsCommandOutput | StartContentUploadCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateContentCommandOutput | UpdateKnowledgeBaseTemplateUriCommandOutput;
|
|
42
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
43
|
+
|
|
44
|
+
requestHandler?: __HttpHandler;
|
|
45
|
+
|
|
46
|
+
sha256?: __HashConstructor;
|
|
47
|
+
|
|
48
|
+
urlParser?: __UrlParser;
|
|
49
|
+
|
|
50
|
+
bodyLengthChecker?: (body: any) => number | undefined;
|
|
51
|
+
|
|
52
|
+
streamCollector?: __StreamCollector;
|
|
53
|
+
|
|
54
|
+
base64Decoder?: __Decoder;
|
|
55
|
+
|
|
56
|
+
base64Encoder?: __Encoder;
|
|
57
|
+
|
|
58
|
+
utf8Decoder?: __Decoder;
|
|
59
|
+
|
|
60
|
+
utf8Encoder?: __Encoder;
|
|
61
|
+
|
|
62
|
+
runtime?: string;
|
|
63
|
+
|
|
64
|
+
disableHostPrefix?: boolean;
|
|
65
|
+
|
|
66
|
+
maxAttempts?: number | __Provider<number>;
|
|
67
|
+
|
|
68
|
+
retryMode?: string | __Provider<string>;
|
|
69
|
+
|
|
70
|
+
logger?: __Logger;
|
|
71
|
+
|
|
72
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
73
|
+
|
|
74
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
75
|
+
|
|
76
|
+
serviceId?: string;
|
|
77
|
+
|
|
78
|
+
region?: string | __Provider<string>;
|
|
79
|
+
|
|
80
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
81
|
+
|
|
82
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
83
|
+
|
|
84
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
85
|
+
|
|
86
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
87
|
+
}
|
|
88
|
+
declare type WisdomClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
89
|
+
|
|
90
|
+
export interface WisdomClientConfig extends WisdomClientConfigType {
|
|
91
|
+
}
|
|
92
|
+
declare type WisdomClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
93
|
+
|
|
94
|
+
export interface WisdomClientResolvedConfig extends WisdomClientResolvedConfigType {
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export declare class WisdomClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig> {
|
|
98
|
+
|
|
99
|
+
readonly config: WisdomClientResolvedConfig;
|
|
100
|
+
constructor(configuration: WisdomClientConfig);
|
|
101
|
+
|
|
102
|
+
destroy(): void;
|
|
103
|
+
}
|
|
104
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CreateAssistantAssociationRequest, CreateAssistantAssociationResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface CreateAssistantAssociationCommandInput extends CreateAssistantAssociationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateAssistantAssociationCommandOutput extends CreateAssistantAssociationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CreateAssistantAssociationCommand extends $Command<CreateAssistantAssociationCommandInput, CreateAssistantAssociationCommandOutput, WisdomClientResolvedConfig> {
|
|
11
|
+
readonly input: CreateAssistantAssociationCommandInput;
|
|
12
|
+
constructor(input: CreateAssistantAssociationCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAssistantAssociationCommandInput, CreateAssistantAssociationCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CreateAssistantRequest, CreateAssistantResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface CreateAssistantCommandInput extends CreateAssistantRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateAssistantCommandOutput extends CreateAssistantResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CreateAssistantCommand extends $Command<CreateAssistantCommandInput, CreateAssistantCommandOutput, WisdomClientResolvedConfig> {
|
|
11
|
+
readonly input: CreateAssistantCommandInput;
|
|
12
|
+
constructor(input: CreateAssistantCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAssistantCommandInput, CreateAssistantCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CreateContentRequest, CreateContentResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface CreateContentCommandInput extends CreateContentRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateContentCommandOutput extends CreateContentResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CreateContentCommand extends $Command<CreateContentCommandInput, CreateContentCommandOutput, WisdomClientResolvedConfig> {
|
|
11
|
+
readonly input: CreateContentCommandInput;
|
|
12
|
+
constructor(input: CreateContentCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateContentCommandInput, CreateContentCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CreateKnowledgeBaseRequest, CreateKnowledgeBaseResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface CreateKnowledgeBaseCommandInput extends CreateKnowledgeBaseRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateKnowledgeBaseCommandOutput extends CreateKnowledgeBaseResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CreateKnowledgeBaseCommand extends $Command<CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput, WisdomClientResolvedConfig> {
|
|
11
|
+
readonly input: CreateKnowledgeBaseCommandInput;
|
|
12
|
+
constructor(input: CreateKnowledgeBaseCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CreateSessionRequest, CreateSessionResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface CreateSessionCommandInput extends CreateSessionRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateSessionCommandOutput extends CreateSessionResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CreateSessionCommand extends $Command<CreateSessionCommandInput, CreateSessionCommandOutput, WisdomClientResolvedConfig> {
|
|
11
|
+
readonly input: CreateSessionCommandInput;
|
|
12
|
+
constructor(input: CreateSessionCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSessionCommandInput, CreateSessionCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DeleteAssistantAssociationRequest, DeleteAssistantAssociationResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface DeleteAssistantAssociationCommandInput extends DeleteAssistantAssociationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteAssistantAssociationCommandOutput extends DeleteAssistantAssociationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DeleteAssistantAssociationCommand extends $Command<DeleteAssistantAssociationCommandInput, DeleteAssistantAssociationCommandOutput, WisdomClientResolvedConfig> {
|
|
11
|
+
readonly input: DeleteAssistantAssociationCommandInput;
|
|
12
|
+
constructor(input: DeleteAssistantAssociationCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAssistantAssociationCommandInput, DeleteAssistantAssociationCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DeleteAssistantRequest, DeleteAssistantResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface DeleteAssistantCommandInput extends DeleteAssistantRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteAssistantCommandOutput extends DeleteAssistantResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DeleteAssistantCommand extends $Command<DeleteAssistantCommandInput, DeleteAssistantCommandOutput, WisdomClientResolvedConfig> {
|
|
11
|
+
readonly input: DeleteAssistantCommandInput;
|
|
12
|
+
constructor(input: DeleteAssistantCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAssistantCommandInput, DeleteAssistantCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DeleteContentRequest, DeleteContentResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface DeleteContentCommandInput extends DeleteContentRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteContentCommandOutput extends DeleteContentResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DeleteContentCommand extends $Command<DeleteContentCommandInput, DeleteContentCommandOutput, WisdomClientResolvedConfig> {
|
|
11
|
+
readonly input: DeleteContentCommandInput;
|
|
12
|
+
constructor(input: DeleteContentCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteContentCommandInput, DeleteContentCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DeleteKnowledgeBaseRequest, DeleteKnowledgeBaseResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface DeleteKnowledgeBaseCommandInput extends DeleteKnowledgeBaseRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteKnowledgeBaseCommandOutput extends DeleteKnowledgeBaseResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DeleteKnowledgeBaseCommand extends $Command<DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput, WisdomClientResolvedConfig> {
|
|
11
|
+
readonly input: DeleteKnowledgeBaseCommandInput;
|
|
12
|
+
constructor(input: DeleteKnowledgeBaseCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetAssistantAssociationRequest, GetAssistantAssociationResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface GetAssistantAssociationCommandInput extends GetAssistantAssociationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetAssistantAssociationCommandOutput extends GetAssistantAssociationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetAssistantAssociationCommand extends $Command<GetAssistantAssociationCommandInput, GetAssistantAssociationCommandOutput, WisdomClientResolvedConfig> {
|
|
11
|
+
readonly input: GetAssistantAssociationCommandInput;
|
|
12
|
+
constructor(input: GetAssistantAssociationCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAssistantAssociationCommandInput, GetAssistantAssociationCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetAssistantRequest, GetAssistantResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WisdomClientResolvedConfig } from "../WisdomClient";
|
|
5
|
+
export interface GetAssistantCommandInput extends GetAssistantRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetAssistantCommandOutput extends GetAssistantResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetAssistantCommand extends $Command<GetAssistantCommandInput, GetAssistantCommandOutput, WisdomClientResolvedConfig> {
|
|
11
|
+
readonly input: GetAssistantCommandInput;
|
|
12
|
+
constructor(input: GetAssistantCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WisdomClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAssistantCommandInput, GetAssistantCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|