@aws-sdk/client-qconnect 3.665.0 → 3.666.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/README.md +166 -0
- package/dist-cjs/index.js +1501 -102
- package/dist-es/QConnect.js +38 -0
- package/dist-es/commands/CreateAIAgentCommand.js +22 -0
- package/dist-es/commands/CreateAIAgentVersionCommand.js +22 -0
- package/dist-es/commands/CreateAIPromptCommand.js +23 -0
- package/dist-es/commands/CreateAIPromptVersionCommand.js +23 -0
- package/dist-es/commands/CreateKnowledgeBaseCommand.js +2 -1
- package/dist-es/commands/DeleteAIAgentCommand.js +22 -0
- package/dist-es/commands/DeleteAIAgentVersionCommand.js +22 -0
- package/dist-es/commands/DeleteAIPromptCommand.js +22 -0
- package/dist-es/commands/DeleteAIPromptVersionCommand.js +22 -0
- package/dist-es/commands/GetAIAgentCommand.js +22 -0
- package/dist-es/commands/GetAIPromptCommand.js +23 -0
- package/dist-es/commands/GetKnowledgeBaseCommand.js +2 -1
- package/dist-es/commands/ListAIAgentVersionsCommand.js +22 -0
- package/dist-es/commands/ListAIAgentsCommand.js +22 -0
- package/dist-es/commands/ListAIPromptVersionsCommand.js +22 -0
- package/dist-es/commands/ListAIPromptsCommand.js +22 -0
- package/dist-es/commands/ListKnowledgeBasesCommand.js +2 -1
- package/dist-es/commands/RemoveAssistantAIAgentCommand.js +22 -0
- package/dist-es/commands/UpdateAIAgentCommand.js +22 -0
- package/dist-es/commands/UpdateAIPromptCommand.js +23 -0
- package/dist-es/commands/UpdateAssistantAIAgentCommand.js +22 -0
- package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +2 -1
- package/dist-es/commands/UpdateSessionDataCommand.js +23 -0
- package/dist-es/commands/index.js +19 -0
- package/dist-es/models/models_0.js +310 -46
- package/dist-es/pagination/ListAIAgentVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListAIAgentsPaginator.js +4 -0
- package/dist-es/pagination/ListAIPromptVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListAIPromptsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +692 -8
- package/dist-types/QConnect.d.ts +148 -1
- package/dist-types/QConnectClient.d.ts +36 -3
- package/dist-types/commands/CreateAIAgentCommand.d.ts +252 -0
- package/dist-types/commands/CreateAIAgentVersionCommand.d.ts +180 -0
- package/dist-types/commands/CreateAIPromptCommand.d.ts +132 -0
- package/dist-types/commands/CreateAIPromptVersionCommand.d.ts +120 -0
- package/dist-types/commands/CreateAssistantCommand.d.ts +5 -0
- package/dist-types/commands/CreateContentAssociationCommand.d.ts +5 -6
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +108 -0
- package/dist-types/commands/CreateSessionCommand.d.ts +10 -0
- package/dist-types/commands/DeleteAIAgentCommand.d.ts +82 -0
- package/dist-types/commands/DeleteAIAgentVersionCommand.d.ts +89 -0
- package/dist-types/commands/DeleteAIPromptCommand.d.ts +82 -0
- package/dist-types/commands/DeleteAIPromptVersionCommand.d.ts +89 -0
- package/dist-types/commands/GetAIAgentCommand.d.ts +168 -0
- package/dist-types/commands/GetAIPromptCommand.d.ts +108 -0
- package/dist-types/commands/GetAssistantCommand.d.ts +5 -0
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +56 -0
- package/dist-types/commands/GetRecommendationsCommand.d.ts +20 -0
- package/dist-types/commands/GetSessionCommand.d.ts +5 -0
- package/dist-types/commands/ListAIAgentVersionsCommand.d.ts +176 -0
- package/dist-types/commands/ListAIAgentsCommand.d.ts +172 -0
- package/dist-types/commands/ListAIPromptVersionsCommand.d.ts +111 -0
- package/dist-types/commands/ListAIPromptsCommand.d.ts +107 -0
- package/dist-types/commands/ListAssistantsCommand.d.ts +5 -0
- package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +52 -0
- package/dist-types/commands/QueryAssistantCommand.d.ts +30 -1
- package/dist-types/commands/RemoveAssistantAIAgentCommand.d.ts +83 -0
- package/dist-types/commands/UpdateAIAgentCommand.d.ts +244 -0
- package/dist-types/commands/UpdateAIPromptCommand.d.ts +121 -0
- package/dist-types/commands/UpdateAssistantAIAgentCommand.d.ts +112 -0
- package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +56 -0
- package/dist-types/commands/UpdateSessionCommand.d.ts +10 -0
- package/dist-types/commands/UpdateSessionDataCommand.d.ts +100 -0
- package/dist-types/commands/index.d.ts +19 -0
- package/dist-types/index.d.ts +15 -1
- package/dist-types/models/models_0.d.ts +2454 -275
- package/dist-types/pagination/ListAIAgentVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAIAgentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAIPromptVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAIPromptsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +171 -0
- package/dist-types/ts3.4/QConnect.d.ts +323 -0
- package/dist-types/ts3.4/QConnectClient.d.ts +116 -2
- package/dist-types/ts3.4/commands/CreateAIAgentCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateAIAgentVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAIPromptCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateAIPromptVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAIAgentCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteAIAgentVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAIPromptCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteAIPromptVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAIAgentCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetAIPromptCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListAIAgentVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAIAgentsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListAIPromptVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAIPromptsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/RemoveAssistantAIAgentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAIAgentCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateAIPromptCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateAssistantAIAgentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateSessionDataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +19 -0
- package/dist-types/ts3.4/models/models_0.d.ts +794 -103
- package/dist-types/ts3.4/pagination/ListAIAgentVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAIAgentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAIPromptVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAIPromptsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +228 -0
- package/package.json +12 -12
|
@@ -7,22 +7,497 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
7
7
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
8
|
);
|
|
9
9
|
}
|
|
10
|
-
export
|
|
11
|
-
|
|
10
|
+
export declare class ConflictException extends __BaseException {
|
|
11
|
+
readonly name: "ConflictException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
12
14
|
}
|
|
13
15
|
export interface TagCondition {
|
|
14
16
|
key: string | undefined;
|
|
15
17
|
value?: string;
|
|
16
18
|
}
|
|
19
|
+
export type OrCondition =
|
|
20
|
+
| OrCondition.AndConditionsMember
|
|
21
|
+
| OrCondition.TagConditionMember
|
|
22
|
+
| OrCondition.$UnknownMember;
|
|
23
|
+
export declare namespace OrCondition {
|
|
24
|
+
interface AndConditionsMember {
|
|
25
|
+
andConditions: TagCondition[];
|
|
26
|
+
tagCondition?: never;
|
|
27
|
+
$unknown?: never;
|
|
28
|
+
}
|
|
29
|
+
interface TagConditionMember {
|
|
30
|
+
andConditions?: never;
|
|
31
|
+
tagCondition: TagCondition;
|
|
32
|
+
$unknown?: never;
|
|
33
|
+
}
|
|
34
|
+
interface $UnknownMember {
|
|
35
|
+
andConditions?: never;
|
|
36
|
+
tagCondition?: never;
|
|
37
|
+
$unknown: [string, any];
|
|
38
|
+
}
|
|
39
|
+
interface Visitor<T> {
|
|
40
|
+
andConditions: (value: TagCondition[]) => T;
|
|
41
|
+
tagCondition: (value: TagCondition) => T;
|
|
42
|
+
_: (name: string, value: any) => T;
|
|
43
|
+
}
|
|
44
|
+
const visit: <T>(value: OrCondition, visitor: Visitor<T>) => T;
|
|
45
|
+
}
|
|
46
|
+
export type TagFilter =
|
|
47
|
+
| TagFilter.AndConditionsMember
|
|
48
|
+
| TagFilter.OrConditionsMember
|
|
49
|
+
| TagFilter.TagConditionMember
|
|
50
|
+
| TagFilter.$UnknownMember;
|
|
51
|
+
export declare namespace TagFilter {
|
|
52
|
+
interface TagConditionMember {
|
|
53
|
+
tagCondition: TagCondition;
|
|
54
|
+
andConditions?: never;
|
|
55
|
+
orConditions?: never;
|
|
56
|
+
$unknown?: never;
|
|
57
|
+
}
|
|
58
|
+
interface AndConditionsMember {
|
|
59
|
+
tagCondition?: never;
|
|
60
|
+
andConditions: TagCondition[];
|
|
61
|
+
orConditions?: never;
|
|
62
|
+
$unknown?: never;
|
|
63
|
+
}
|
|
64
|
+
interface OrConditionsMember {
|
|
65
|
+
tagCondition?: never;
|
|
66
|
+
andConditions?: never;
|
|
67
|
+
orConditions: OrCondition[];
|
|
68
|
+
$unknown?: never;
|
|
69
|
+
}
|
|
70
|
+
interface $UnknownMember {
|
|
71
|
+
tagCondition?: never;
|
|
72
|
+
andConditions?: never;
|
|
73
|
+
orConditions?: never;
|
|
74
|
+
$unknown: [string, any];
|
|
75
|
+
}
|
|
76
|
+
interface Visitor<T> {
|
|
77
|
+
tagCondition: (value: TagCondition) => T;
|
|
78
|
+
andConditions: (value: TagCondition[]) => T;
|
|
79
|
+
orConditions: (value: OrCondition[]) => T;
|
|
80
|
+
_: (name: string, value: any) => T;
|
|
81
|
+
}
|
|
82
|
+
const visit: <T>(value: TagFilter, visitor: Visitor<T>) => T;
|
|
83
|
+
}
|
|
84
|
+
export declare const KnowledgeBaseSearchType: {
|
|
85
|
+
readonly HYBRID: "HYBRID";
|
|
86
|
+
readonly SEMANTIC: "SEMANTIC";
|
|
87
|
+
};
|
|
88
|
+
export type KnowledgeBaseSearchType =
|
|
89
|
+
(typeof KnowledgeBaseSearchType)[keyof typeof KnowledgeBaseSearchType];
|
|
90
|
+
export interface KnowledgeBaseAssociationConfigurationData {
|
|
91
|
+
contentTagFilter?: TagFilter;
|
|
92
|
+
maxResults?: number;
|
|
93
|
+
overrideKnowledgeBaseSearchType?: KnowledgeBaseSearchType;
|
|
94
|
+
}
|
|
95
|
+
export type AssociationConfigurationData =
|
|
96
|
+
| AssociationConfigurationData.KnowledgeBaseAssociationConfigurationDataMember
|
|
97
|
+
| AssociationConfigurationData.$UnknownMember;
|
|
98
|
+
export declare namespace AssociationConfigurationData {
|
|
99
|
+
interface KnowledgeBaseAssociationConfigurationDataMember {
|
|
100
|
+
knowledgeBaseAssociationConfigurationData: KnowledgeBaseAssociationConfigurationData;
|
|
101
|
+
$unknown?: never;
|
|
102
|
+
}
|
|
103
|
+
interface $UnknownMember {
|
|
104
|
+
knowledgeBaseAssociationConfigurationData?: never;
|
|
105
|
+
$unknown: [string, any];
|
|
106
|
+
}
|
|
107
|
+
interface Visitor<T> {
|
|
108
|
+
knowledgeBaseAssociationConfigurationData: (
|
|
109
|
+
value: KnowledgeBaseAssociationConfigurationData
|
|
110
|
+
) => T;
|
|
111
|
+
_: (name: string, value: any) => T;
|
|
112
|
+
}
|
|
113
|
+
const visit: <T>(
|
|
114
|
+
value: AssociationConfigurationData,
|
|
115
|
+
visitor: Visitor<T>
|
|
116
|
+
) => T;
|
|
117
|
+
}
|
|
118
|
+
export declare const AIAgentAssociationConfigurationType: {
|
|
119
|
+
readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
|
|
120
|
+
};
|
|
121
|
+
export type AIAgentAssociationConfigurationType =
|
|
122
|
+
(typeof AIAgentAssociationConfigurationType)[keyof typeof AIAgentAssociationConfigurationType];
|
|
123
|
+
export interface AssociationConfiguration {
|
|
124
|
+
associationId?: string;
|
|
125
|
+
associationType?: AIAgentAssociationConfigurationType;
|
|
126
|
+
associationConfigurationData?: AssociationConfigurationData;
|
|
127
|
+
}
|
|
128
|
+
export interface AnswerRecommendationAIAgentConfiguration {
|
|
129
|
+
intentLabelingGenerationAIPromptId?: string;
|
|
130
|
+
queryReformulationAIPromptId?: string;
|
|
131
|
+
answerGenerationAIPromptId?: string;
|
|
132
|
+
associationConfigurations?: AssociationConfiguration[];
|
|
133
|
+
}
|
|
134
|
+
export interface ManualSearchAIAgentConfiguration {
|
|
135
|
+
answerGenerationAIPromptId?: string;
|
|
136
|
+
associationConfigurations?: AssociationConfiguration[];
|
|
137
|
+
}
|
|
138
|
+
export type AIAgentConfiguration =
|
|
139
|
+
| AIAgentConfiguration.AnswerRecommendationAIAgentConfigurationMember
|
|
140
|
+
| AIAgentConfiguration.ManualSearchAIAgentConfigurationMember
|
|
141
|
+
| AIAgentConfiguration.$UnknownMember;
|
|
142
|
+
export declare namespace AIAgentConfiguration {
|
|
143
|
+
interface ManualSearchAIAgentConfigurationMember {
|
|
144
|
+
manualSearchAIAgentConfiguration: ManualSearchAIAgentConfiguration;
|
|
145
|
+
answerRecommendationAIAgentConfiguration?: never;
|
|
146
|
+
$unknown?: never;
|
|
147
|
+
}
|
|
148
|
+
interface AnswerRecommendationAIAgentConfigurationMember {
|
|
149
|
+
manualSearchAIAgentConfiguration?: never;
|
|
150
|
+
answerRecommendationAIAgentConfiguration: AnswerRecommendationAIAgentConfiguration;
|
|
151
|
+
$unknown?: never;
|
|
152
|
+
}
|
|
153
|
+
interface $UnknownMember {
|
|
154
|
+
manualSearchAIAgentConfiguration?: never;
|
|
155
|
+
answerRecommendationAIAgentConfiguration?: never;
|
|
156
|
+
$unknown: [string, any];
|
|
157
|
+
}
|
|
158
|
+
interface Visitor<T> {
|
|
159
|
+
manualSearchAIAgentConfiguration: (
|
|
160
|
+
value: ManualSearchAIAgentConfiguration
|
|
161
|
+
) => T;
|
|
162
|
+
answerRecommendationAIAgentConfiguration: (
|
|
163
|
+
value: AnswerRecommendationAIAgentConfiguration
|
|
164
|
+
) => T;
|
|
165
|
+
_: (name: string, value: any) => T;
|
|
166
|
+
}
|
|
167
|
+
const visit: <T>(value: AIAgentConfiguration, visitor: Visitor<T>) => T;
|
|
168
|
+
}
|
|
169
|
+
export declare const AIAgentType: {
|
|
170
|
+
readonly ANSWER_RECOMMENDATION: "ANSWER_RECOMMENDATION";
|
|
171
|
+
readonly MANUAL_SEARCH: "MANUAL_SEARCH";
|
|
172
|
+
};
|
|
173
|
+
export type AIAgentType = (typeof AIAgentType)[keyof typeof AIAgentType];
|
|
174
|
+
export declare const VisibilityStatus: {
|
|
175
|
+
readonly PUBLISHED: "PUBLISHED";
|
|
176
|
+
readonly SAVED: "SAVED";
|
|
177
|
+
};
|
|
178
|
+
export type VisibilityStatus =
|
|
179
|
+
(typeof VisibilityStatus)[keyof typeof VisibilityStatus];
|
|
180
|
+
export interface CreateAIAgentRequest {
|
|
181
|
+
clientToken?: string;
|
|
182
|
+
assistantId: string | undefined;
|
|
183
|
+
name: string | undefined;
|
|
184
|
+
type: AIAgentType | undefined;
|
|
185
|
+
configuration: AIAgentConfiguration | undefined;
|
|
186
|
+
visibilityStatus: VisibilityStatus | undefined;
|
|
187
|
+
tags?: Record<string, string>;
|
|
188
|
+
description?: string;
|
|
189
|
+
}
|
|
190
|
+
export declare const Origin: {
|
|
191
|
+
readonly CUSTOMER: "CUSTOMER";
|
|
192
|
+
readonly SYSTEM: "SYSTEM";
|
|
193
|
+
};
|
|
194
|
+
export type Origin = (typeof Origin)[keyof typeof Origin];
|
|
195
|
+
export declare const Status: {
|
|
196
|
+
readonly ACTIVE: "ACTIVE";
|
|
197
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
198
|
+
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
199
|
+
readonly DELETED: "DELETED";
|
|
200
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
201
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
202
|
+
};
|
|
203
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
204
|
+
export interface AIAgentData {
|
|
205
|
+
assistantId: string | undefined;
|
|
206
|
+
assistantArn: string | undefined;
|
|
207
|
+
aiAgentId: string | undefined;
|
|
208
|
+
aiAgentArn: string | undefined;
|
|
209
|
+
name: string | undefined;
|
|
210
|
+
type: AIAgentType | undefined;
|
|
211
|
+
configuration: AIAgentConfiguration | undefined;
|
|
212
|
+
modifiedTime?: Date;
|
|
213
|
+
description?: string;
|
|
214
|
+
visibilityStatus: VisibilityStatus | undefined;
|
|
215
|
+
tags?: Record<string, string>;
|
|
216
|
+
origin?: Origin;
|
|
217
|
+
status?: Status;
|
|
218
|
+
}
|
|
219
|
+
export interface CreateAIAgentResponse {
|
|
220
|
+
aiAgent?: AIAgentData;
|
|
221
|
+
}
|
|
222
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
223
|
+
readonly name: "ResourceNotFoundException";
|
|
224
|
+
readonly $fault: "client";
|
|
225
|
+
resourceName?: string;
|
|
226
|
+
constructor(
|
|
227
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
228
|
+
);
|
|
229
|
+
}
|
|
230
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
231
|
+
readonly name: "ServiceQuotaExceededException";
|
|
232
|
+
readonly $fault: "client";
|
|
233
|
+
constructor(
|
|
234
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
235
|
+
);
|
|
236
|
+
}
|
|
237
|
+
export declare class ThrottlingException extends __BaseException {
|
|
238
|
+
readonly name: "ThrottlingException";
|
|
239
|
+
readonly $fault: "client";
|
|
240
|
+
$retryable: {};
|
|
241
|
+
constructor(
|
|
242
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
243
|
+
);
|
|
244
|
+
}
|
|
245
|
+
export declare class ValidationException extends __BaseException {
|
|
246
|
+
readonly name: "ValidationException";
|
|
247
|
+
readonly $fault: "client";
|
|
248
|
+
constructor(
|
|
249
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
250
|
+
);
|
|
251
|
+
}
|
|
252
|
+
export interface CreateAIAgentVersionRequest {
|
|
253
|
+
assistantId: string | undefined;
|
|
254
|
+
aiAgentId: string | undefined;
|
|
255
|
+
modifiedTime?: Date;
|
|
256
|
+
clientToken?: string;
|
|
257
|
+
}
|
|
258
|
+
export interface CreateAIAgentVersionResponse {
|
|
259
|
+
aiAgent?: AIAgentData;
|
|
260
|
+
versionNumber?: number;
|
|
261
|
+
}
|
|
262
|
+
export interface DeleteAIAgentRequest {
|
|
263
|
+
assistantId: string | undefined;
|
|
264
|
+
aiAgentId: string | undefined;
|
|
265
|
+
}
|
|
266
|
+
export interface DeleteAIAgentResponse {}
|
|
267
|
+
export interface DeleteAIAgentVersionRequest {
|
|
268
|
+
assistantId: string | undefined;
|
|
269
|
+
aiAgentId: string | undefined;
|
|
270
|
+
versionNumber: number | undefined;
|
|
271
|
+
}
|
|
272
|
+
export interface DeleteAIAgentVersionResponse {}
|
|
273
|
+
export interface GetAIAgentRequest {
|
|
274
|
+
assistantId: string | undefined;
|
|
275
|
+
aiAgentId: string | undefined;
|
|
276
|
+
}
|
|
277
|
+
export interface GetAIAgentResponse {
|
|
278
|
+
aiAgent?: AIAgentData;
|
|
279
|
+
versionNumber?: number;
|
|
280
|
+
}
|
|
281
|
+
export interface ListAIAgentsRequest {
|
|
282
|
+
assistantId: string | undefined;
|
|
283
|
+
nextToken?: string;
|
|
284
|
+
maxResults?: number;
|
|
285
|
+
origin?: Origin;
|
|
286
|
+
}
|
|
287
|
+
export interface AIAgentSummary {
|
|
288
|
+
name: string | undefined;
|
|
289
|
+
assistantId: string | undefined;
|
|
290
|
+
assistantArn: string | undefined;
|
|
291
|
+
aiAgentId: string | undefined;
|
|
292
|
+
type: AIAgentType | undefined;
|
|
293
|
+
aiAgentArn: string | undefined;
|
|
294
|
+
modifiedTime?: Date;
|
|
295
|
+
visibilityStatus: VisibilityStatus | undefined;
|
|
296
|
+
configuration?: AIAgentConfiguration;
|
|
297
|
+
origin?: Origin;
|
|
298
|
+
description?: string;
|
|
299
|
+
status?: Status;
|
|
300
|
+
tags?: Record<string, string>;
|
|
301
|
+
}
|
|
302
|
+
export interface ListAIAgentsResponse {
|
|
303
|
+
aiAgentSummaries: AIAgentSummary[] | undefined;
|
|
304
|
+
nextToken?: string;
|
|
305
|
+
}
|
|
306
|
+
export interface ListAIAgentVersionsRequest {
|
|
307
|
+
assistantId: string | undefined;
|
|
308
|
+
aiAgentId: string | undefined;
|
|
309
|
+
nextToken?: string;
|
|
310
|
+
maxResults?: number;
|
|
311
|
+
origin?: Origin;
|
|
312
|
+
}
|
|
313
|
+
export interface AIAgentVersionSummary {
|
|
314
|
+
aiAgentSummary?: AIAgentSummary;
|
|
315
|
+
versionNumber?: number;
|
|
316
|
+
}
|
|
317
|
+
export interface ListAIAgentVersionsResponse {
|
|
318
|
+
aiAgentVersionSummaries: AIAgentVersionSummary[] | undefined;
|
|
319
|
+
nextToken?: string;
|
|
320
|
+
}
|
|
321
|
+
export interface UpdateAIAgentRequest {
|
|
322
|
+
clientToken?: string;
|
|
323
|
+
assistantId: string | undefined;
|
|
324
|
+
aiAgentId: string | undefined;
|
|
325
|
+
visibilityStatus: VisibilityStatus | undefined;
|
|
326
|
+
configuration?: AIAgentConfiguration;
|
|
327
|
+
description?: string;
|
|
328
|
+
}
|
|
329
|
+
export interface UpdateAIAgentResponse {
|
|
330
|
+
aiAgent?: AIAgentData;
|
|
331
|
+
}
|
|
332
|
+
export interface AIAgentConfigurationData {
|
|
333
|
+
aiAgentId: string | undefined;
|
|
334
|
+
}
|
|
335
|
+
export declare const AIPromptAPIFormat: {
|
|
336
|
+
readonly ANTHROPIC_CLAUDE_MESSAGES: "ANTHROPIC_CLAUDE_MESSAGES";
|
|
337
|
+
readonly ANTHROPIC_CLAUDE_TEXT_COMPLETIONS: "ANTHROPIC_CLAUDE_TEXT_COMPLETIONS";
|
|
338
|
+
};
|
|
339
|
+
export type AIPromptAPIFormat =
|
|
340
|
+
(typeof AIPromptAPIFormat)[keyof typeof AIPromptAPIFormat];
|
|
341
|
+
export interface TextFullAIPromptEditTemplateConfiguration {
|
|
342
|
+
text: string | undefined;
|
|
343
|
+
}
|
|
344
|
+
export type AIPromptTemplateConfiguration =
|
|
345
|
+
| AIPromptTemplateConfiguration.TextFullAIPromptEditTemplateConfigurationMember
|
|
346
|
+
| AIPromptTemplateConfiguration.$UnknownMember;
|
|
347
|
+
export declare namespace AIPromptTemplateConfiguration {
|
|
348
|
+
interface TextFullAIPromptEditTemplateConfigurationMember {
|
|
349
|
+
textFullAIPromptEditTemplateConfiguration: TextFullAIPromptEditTemplateConfiguration;
|
|
350
|
+
$unknown?: never;
|
|
351
|
+
}
|
|
352
|
+
interface $UnknownMember {
|
|
353
|
+
textFullAIPromptEditTemplateConfiguration?: never;
|
|
354
|
+
$unknown: [string, any];
|
|
355
|
+
}
|
|
356
|
+
interface Visitor<T> {
|
|
357
|
+
textFullAIPromptEditTemplateConfiguration: (
|
|
358
|
+
value: TextFullAIPromptEditTemplateConfiguration
|
|
359
|
+
) => T;
|
|
360
|
+
_: (name: string, value: any) => T;
|
|
361
|
+
}
|
|
362
|
+
const visit: <T>(
|
|
363
|
+
value: AIPromptTemplateConfiguration,
|
|
364
|
+
visitor: Visitor<T>
|
|
365
|
+
) => T;
|
|
366
|
+
}
|
|
367
|
+
export declare const AIPromptTemplateType: {
|
|
368
|
+
readonly TEXT: "TEXT";
|
|
369
|
+
};
|
|
370
|
+
export type AIPromptTemplateType =
|
|
371
|
+
(typeof AIPromptTemplateType)[keyof typeof AIPromptTemplateType];
|
|
372
|
+
export declare const AIPromptType: {
|
|
373
|
+
readonly ANSWER_GENERATION: "ANSWER_GENERATION";
|
|
374
|
+
readonly INTENT_LABELING_GENERATION: "INTENT_LABELING_GENERATION";
|
|
375
|
+
readonly QUERY_REFORMULATION: "QUERY_REFORMULATION";
|
|
376
|
+
};
|
|
377
|
+
export type AIPromptType = (typeof AIPromptType)[keyof typeof AIPromptType];
|
|
378
|
+
export interface CreateAIPromptRequest {
|
|
379
|
+
clientToken?: string;
|
|
380
|
+
assistantId: string | undefined;
|
|
381
|
+
name: string | undefined;
|
|
382
|
+
type: AIPromptType | undefined;
|
|
383
|
+
templateConfiguration: AIPromptTemplateConfiguration | undefined;
|
|
384
|
+
visibilityStatus: VisibilityStatus | undefined;
|
|
385
|
+
templateType: AIPromptTemplateType | undefined;
|
|
386
|
+
modelId: string | undefined;
|
|
387
|
+
apiFormat: AIPromptAPIFormat | undefined;
|
|
388
|
+
tags?: Record<string, string>;
|
|
389
|
+
description?: string;
|
|
390
|
+
}
|
|
391
|
+
export interface AIPromptData {
|
|
392
|
+
assistantId: string | undefined;
|
|
393
|
+
assistantArn: string | undefined;
|
|
394
|
+
aiPromptId: string | undefined;
|
|
395
|
+
aiPromptArn: string | undefined;
|
|
396
|
+
name: string | undefined;
|
|
397
|
+
type: AIPromptType | undefined;
|
|
398
|
+
templateType: AIPromptTemplateType | undefined;
|
|
399
|
+
modelId: string | undefined;
|
|
400
|
+
apiFormat: AIPromptAPIFormat | undefined;
|
|
401
|
+
templateConfiguration: AIPromptTemplateConfiguration | undefined;
|
|
402
|
+
modifiedTime?: Date;
|
|
403
|
+
description?: string;
|
|
404
|
+
visibilityStatus: VisibilityStatus | undefined;
|
|
405
|
+
tags?: Record<string, string>;
|
|
406
|
+
origin?: Origin;
|
|
407
|
+
status?: Status;
|
|
408
|
+
}
|
|
409
|
+
export interface CreateAIPromptResponse {
|
|
410
|
+
aiPrompt?: AIPromptData;
|
|
411
|
+
}
|
|
412
|
+
export interface CreateAIPromptVersionRequest {
|
|
413
|
+
assistantId: string | undefined;
|
|
414
|
+
aiPromptId: string | undefined;
|
|
415
|
+
modifiedTime?: Date;
|
|
416
|
+
clientToken?: string;
|
|
417
|
+
}
|
|
418
|
+
export interface CreateAIPromptVersionResponse {
|
|
419
|
+
aiPrompt?: AIPromptData;
|
|
420
|
+
versionNumber?: number;
|
|
421
|
+
}
|
|
422
|
+
export interface DeleteAIPromptRequest {
|
|
423
|
+
assistantId: string | undefined;
|
|
424
|
+
aiPromptId: string | undefined;
|
|
425
|
+
}
|
|
426
|
+
export interface DeleteAIPromptResponse {}
|
|
427
|
+
export interface DeleteAIPromptVersionRequest {
|
|
428
|
+
assistantId: string | undefined;
|
|
429
|
+
aiPromptId: string | undefined;
|
|
430
|
+
versionNumber: number | undefined;
|
|
431
|
+
}
|
|
432
|
+
export interface DeleteAIPromptVersionResponse {}
|
|
433
|
+
export interface GetAIPromptRequest {
|
|
434
|
+
assistantId: string | undefined;
|
|
435
|
+
aiPromptId: string | undefined;
|
|
436
|
+
}
|
|
437
|
+
export interface GetAIPromptResponse {
|
|
438
|
+
aiPrompt?: AIPromptData;
|
|
439
|
+
versionNumber?: number;
|
|
440
|
+
}
|
|
441
|
+
export interface ListAIPromptsRequest {
|
|
442
|
+
assistantId: string | undefined;
|
|
443
|
+
nextToken?: string;
|
|
444
|
+
maxResults?: number;
|
|
445
|
+
origin?: Origin;
|
|
446
|
+
}
|
|
447
|
+
export interface AIPromptSummary {
|
|
448
|
+
name: string | undefined;
|
|
449
|
+
assistantId: string | undefined;
|
|
450
|
+
assistantArn: string | undefined;
|
|
451
|
+
aiPromptId: string | undefined;
|
|
452
|
+
type: AIPromptType | undefined;
|
|
453
|
+
aiPromptArn: string | undefined;
|
|
454
|
+
modifiedTime?: Date;
|
|
455
|
+
templateType: AIPromptTemplateType | undefined;
|
|
456
|
+
modelId: string | undefined;
|
|
457
|
+
apiFormat: AIPromptAPIFormat | undefined;
|
|
458
|
+
visibilityStatus: VisibilityStatus | undefined;
|
|
459
|
+
origin?: Origin;
|
|
460
|
+
description?: string;
|
|
461
|
+
status?: Status;
|
|
462
|
+
tags?: Record<string, string>;
|
|
463
|
+
}
|
|
464
|
+
export interface ListAIPromptsResponse {
|
|
465
|
+
aiPromptSummaries: AIPromptSummary[] | undefined;
|
|
466
|
+
nextToken?: string;
|
|
467
|
+
}
|
|
468
|
+
export interface ListAIPromptVersionsRequest {
|
|
469
|
+
assistantId: string | undefined;
|
|
470
|
+
aiPromptId: string | undefined;
|
|
471
|
+
nextToken?: string;
|
|
472
|
+
maxResults?: number;
|
|
473
|
+
origin?: Origin;
|
|
474
|
+
}
|
|
475
|
+
export interface AIPromptVersionSummary {
|
|
476
|
+
aiPromptSummary?: AIPromptSummary;
|
|
477
|
+
versionNumber?: number;
|
|
478
|
+
}
|
|
479
|
+
export interface ListAIPromptVersionsResponse {
|
|
480
|
+
aiPromptVersionSummaries: AIPromptVersionSummary[] | undefined;
|
|
481
|
+
nextToken?: string;
|
|
482
|
+
}
|
|
483
|
+
export interface UpdateAIPromptRequest {
|
|
484
|
+
clientToken?: string;
|
|
485
|
+
assistantId: string | undefined;
|
|
486
|
+
aiPromptId: string | undefined;
|
|
487
|
+
visibilityStatus: VisibilityStatus | undefined;
|
|
488
|
+
templateConfiguration?: AIPromptTemplateConfiguration;
|
|
489
|
+
description?: string;
|
|
490
|
+
}
|
|
491
|
+
export interface UpdateAIPromptResponse {
|
|
492
|
+
aiPrompt?: AIPromptData;
|
|
493
|
+
}
|
|
494
|
+
export interface AmazonConnectGuideAssociationData {
|
|
495
|
+
flowId?: string;
|
|
496
|
+
}
|
|
17
497
|
export interface AppIntegrationsConfiguration {
|
|
18
498
|
appIntegrationArn: string | undefined;
|
|
19
499
|
objectFields?: string[];
|
|
20
500
|
}
|
|
21
|
-
export declare class ConflictException extends __BaseException {
|
|
22
|
-
readonly name: "ConflictException";
|
|
23
|
-
readonly $fault: "client";
|
|
24
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
25
|
-
}
|
|
26
501
|
export type AssistantAssociationInputData =
|
|
27
502
|
| AssistantAssociationInputData.KnowledgeBaseIdMember
|
|
28
503
|
| AssistantAssociationInputData.$UnknownMember;
|
|
@@ -93,28 +568,6 @@ export interface AssistantAssociationData {
|
|
|
93
568
|
export interface CreateAssistantAssociationResponse {
|
|
94
569
|
assistantAssociation?: AssistantAssociationData;
|
|
95
570
|
}
|
|
96
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
97
|
-
readonly name: "ResourceNotFoundException";
|
|
98
|
-
readonly $fault: "client";
|
|
99
|
-
resourceName?: string;
|
|
100
|
-
constructor(
|
|
101
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
102
|
-
);
|
|
103
|
-
}
|
|
104
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
105
|
-
readonly name: "ServiceQuotaExceededException";
|
|
106
|
-
readonly $fault: "client";
|
|
107
|
-
constructor(
|
|
108
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
|
-
export declare class ValidationException extends __BaseException {
|
|
112
|
-
readonly name: "ValidationException";
|
|
113
|
-
readonly $fault: "client";
|
|
114
|
-
constructor(
|
|
115
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
116
|
-
);
|
|
117
|
-
}
|
|
118
571
|
export interface DeleteAssistantAssociationRequest {
|
|
119
572
|
assistantAssociationId: string | undefined;
|
|
120
573
|
assistantId: string | undefined;
|
|
@@ -193,6 +646,7 @@ export interface AssistantData {
|
|
|
193
646
|
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
194
647
|
integrationConfiguration?: AssistantIntegrationConfiguration;
|
|
195
648
|
capabilityConfiguration?: AssistantCapabilityConfiguration;
|
|
649
|
+
aiAgentConfiguration?: Partial<Record<AIAgentType, AIAgentConfigurationData>>;
|
|
196
650
|
}
|
|
197
651
|
export interface CreateAssistantResponse {
|
|
198
652
|
assistant?: AssistantData;
|
|
@@ -240,6 +694,14 @@ export interface ContentDataDetails {
|
|
|
240
694
|
textData: TextData | undefined;
|
|
241
695
|
rankingData: RankingData | undefined;
|
|
242
696
|
}
|
|
697
|
+
export interface IntentDetectedDataDetails {
|
|
698
|
+
intent: string | undefined;
|
|
699
|
+
intentId: string | undefined;
|
|
700
|
+
}
|
|
701
|
+
export interface CitationSpan {
|
|
702
|
+
beginOffsetInclusive?: number;
|
|
703
|
+
endOffsetExclusive?: number;
|
|
704
|
+
}
|
|
243
705
|
export declare const SourceContentType: {
|
|
244
706
|
readonly KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT";
|
|
245
707
|
};
|
|
@@ -250,12 +712,20 @@ export interface SourceContentDataDetails {
|
|
|
250
712
|
type: SourceContentType | undefined;
|
|
251
713
|
textData: TextData | undefined;
|
|
252
714
|
rankingData: RankingData | undefined;
|
|
715
|
+
citationSpan?: CitationSpan;
|
|
253
716
|
}
|
|
717
|
+
export declare const ReferenceType: {
|
|
718
|
+
readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
|
|
719
|
+
readonly WEB_CRAWLER: "WEB_CRAWLER";
|
|
720
|
+
};
|
|
721
|
+
export type ReferenceType = (typeof ReferenceType)[keyof typeof ReferenceType];
|
|
254
722
|
export interface ContentReference {
|
|
255
723
|
knowledgeBaseArn?: string;
|
|
256
724
|
knowledgeBaseId?: string;
|
|
257
725
|
contentArn?: string;
|
|
258
726
|
contentId?: string;
|
|
727
|
+
sourceURL?: string;
|
|
728
|
+
referenceType?: ReferenceType;
|
|
259
729
|
}
|
|
260
730
|
export interface GenerativeReference {
|
|
261
731
|
modelId?: string;
|
|
@@ -294,6 +764,7 @@ export interface Document {
|
|
|
294
764
|
excerpt?: DocumentText;
|
|
295
765
|
}
|
|
296
766
|
export declare const RecommendationType: {
|
|
767
|
+
readonly DETECTED_INTENT: "DETECTED_INTENT";
|
|
297
768
|
readonly GENERATIVE_ANSWER: "GENERATIVE_ANSWER";
|
|
298
769
|
readonly GENERATIVE_RESPONSE: "GENERATIVE_RESPONSE";
|
|
299
770
|
readonly KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT";
|
|
@@ -356,6 +827,7 @@ export interface AssistantSummary {
|
|
|
356
827
|
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
357
828
|
integrationConfiguration?: AssistantIntegrationConfiguration;
|
|
358
829
|
capabilityConfiguration?: AssistantCapabilityConfiguration;
|
|
830
|
+
aiAgentConfiguration?: Partial<Record<AIAgentType, AIAgentConfigurationData>>;
|
|
359
831
|
}
|
|
360
832
|
export interface ListAssistantsResponse {
|
|
361
833
|
assistantSummaries: AssistantSummary[] | undefined;
|
|
@@ -451,16 +923,52 @@ export declare namespace QueryCondition {
|
|
|
451
923
|
}
|
|
452
924
|
const visit: <T>(value: QueryCondition, visitor: Visitor<T>) => T;
|
|
453
925
|
}
|
|
926
|
+
export interface IntentInputData {
|
|
927
|
+
intentId: string | undefined;
|
|
928
|
+
}
|
|
929
|
+
export interface QueryTextInputData {
|
|
930
|
+
text: string | undefined;
|
|
931
|
+
}
|
|
932
|
+
export type QueryInputData =
|
|
933
|
+
| QueryInputData.IntentInputDataMember
|
|
934
|
+
| QueryInputData.QueryTextInputDataMember
|
|
935
|
+
| QueryInputData.$UnknownMember;
|
|
936
|
+
export declare namespace QueryInputData {
|
|
937
|
+
interface QueryTextInputDataMember {
|
|
938
|
+
queryTextInputData: QueryTextInputData;
|
|
939
|
+
intentInputData?: never;
|
|
940
|
+
$unknown?: never;
|
|
941
|
+
}
|
|
942
|
+
interface IntentInputDataMember {
|
|
943
|
+
queryTextInputData?: never;
|
|
944
|
+
intentInputData: IntentInputData;
|
|
945
|
+
$unknown?: never;
|
|
946
|
+
}
|
|
947
|
+
interface $UnknownMember {
|
|
948
|
+
queryTextInputData?: never;
|
|
949
|
+
intentInputData?: never;
|
|
950
|
+
$unknown: [string, any];
|
|
951
|
+
}
|
|
952
|
+
interface Visitor<T> {
|
|
953
|
+
queryTextInputData: (value: QueryTextInputData) => T;
|
|
954
|
+
intentInputData: (value: IntentInputData) => T;
|
|
955
|
+
_: (name: string, value: any) => T;
|
|
956
|
+
}
|
|
957
|
+
const visit: <T>(value: QueryInputData, visitor: Visitor<T>) => T;
|
|
958
|
+
}
|
|
454
959
|
export interface QueryAssistantRequest {
|
|
455
960
|
assistantId: string | undefined;
|
|
456
|
-
queryText
|
|
961
|
+
queryText?: string;
|
|
457
962
|
nextToken?: string;
|
|
458
963
|
maxResults?: number;
|
|
459
964
|
sessionId?: string;
|
|
460
965
|
queryCondition?: QueryCondition[];
|
|
966
|
+
queryInputData?: QueryInputData;
|
|
967
|
+
overrideKnowledgeBaseSearchType?: KnowledgeBaseSearchType;
|
|
461
968
|
}
|
|
462
969
|
export declare const QueryResultType: {
|
|
463
970
|
readonly GENERATIVE_ANSWER: "GENERATIVE_ANSWER";
|
|
971
|
+
readonly INTENT_ANSWER: "INTENT_ANSWER";
|
|
464
972
|
readonly KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT";
|
|
465
973
|
};
|
|
466
974
|
export type QueryResultType =
|
|
@@ -473,6 +981,11 @@ export declare class RequestTimeoutException extends __BaseException {
|
|
|
473
981
|
opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>
|
|
474
982
|
);
|
|
475
983
|
}
|
|
984
|
+
export interface RemoveAssistantAIAgentRequest {
|
|
985
|
+
assistantId: string | undefined;
|
|
986
|
+
aiAgentType: AIAgentType | undefined;
|
|
987
|
+
}
|
|
988
|
+
export interface RemoveAssistantAIAgentResponse {}
|
|
476
989
|
export declare const FilterField: {
|
|
477
990
|
readonly NAME: "NAME";
|
|
478
991
|
};
|
|
@@ -506,71 +1019,6 @@ export interface SearchSessionsResponse {
|
|
|
506
1019
|
sessionSummaries: SessionSummary[] | undefined;
|
|
507
1020
|
nextToken?: string;
|
|
508
1021
|
}
|
|
509
|
-
export type OrCondition =
|
|
510
|
-
| OrCondition.AndConditionsMember
|
|
511
|
-
| OrCondition.TagConditionMember
|
|
512
|
-
| OrCondition.$UnknownMember;
|
|
513
|
-
export declare namespace OrCondition {
|
|
514
|
-
interface AndConditionsMember {
|
|
515
|
-
andConditions: TagCondition[];
|
|
516
|
-
tagCondition?: never;
|
|
517
|
-
$unknown?: never;
|
|
518
|
-
}
|
|
519
|
-
interface TagConditionMember {
|
|
520
|
-
andConditions?: never;
|
|
521
|
-
tagCondition: TagCondition;
|
|
522
|
-
$unknown?: never;
|
|
523
|
-
}
|
|
524
|
-
interface $UnknownMember {
|
|
525
|
-
andConditions?: never;
|
|
526
|
-
tagCondition?: never;
|
|
527
|
-
$unknown: [string, any];
|
|
528
|
-
}
|
|
529
|
-
interface Visitor<T> {
|
|
530
|
-
andConditions: (value: TagCondition[]) => T;
|
|
531
|
-
tagCondition: (value: TagCondition) => T;
|
|
532
|
-
_: (name: string, value: any) => T;
|
|
533
|
-
}
|
|
534
|
-
const visit: <T>(value: OrCondition, visitor: Visitor<T>) => T;
|
|
535
|
-
}
|
|
536
|
-
export type TagFilter =
|
|
537
|
-
| TagFilter.AndConditionsMember
|
|
538
|
-
| TagFilter.OrConditionsMember
|
|
539
|
-
| TagFilter.TagConditionMember
|
|
540
|
-
| TagFilter.$UnknownMember;
|
|
541
|
-
export declare namespace TagFilter {
|
|
542
|
-
interface TagConditionMember {
|
|
543
|
-
tagCondition: TagCondition;
|
|
544
|
-
andConditions?: never;
|
|
545
|
-
orConditions?: never;
|
|
546
|
-
$unknown?: never;
|
|
547
|
-
}
|
|
548
|
-
interface AndConditionsMember {
|
|
549
|
-
tagCondition?: never;
|
|
550
|
-
andConditions: TagCondition[];
|
|
551
|
-
orConditions?: never;
|
|
552
|
-
$unknown?: never;
|
|
553
|
-
}
|
|
554
|
-
interface OrConditionsMember {
|
|
555
|
-
tagCondition?: never;
|
|
556
|
-
andConditions?: never;
|
|
557
|
-
orConditions: OrCondition[];
|
|
558
|
-
$unknown?: never;
|
|
559
|
-
}
|
|
560
|
-
interface $UnknownMember {
|
|
561
|
-
tagCondition?: never;
|
|
562
|
-
andConditions?: never;
|
|
563
|
-
orConditions?: never;
|
|
564
|
-
$unknown: [string, any];
|
|
565
|
-
}
|
|
566
|
-
interface Visitor<T> {
|
|
567
|
-
tagCondition: (value: TagCondition) => T;
|
|
568
|
-
andConditions: (value: TagCondition[]) => T;
|
|
569
|
-
orConditions: (value: OrCondition[]) => T;
|
|
570
|
-
_: (name: string, value: any) => T;
|
|
571
|
-
}
|
|
572
|
-
const visit: <T>(value: TagFilter, visitor: Visitor<T>) => T;
|
|
573
|
-
}
|
|
574
1022
|
export interface CreateSessionRequest {
|
|
575
1023
|
clientToken?: string;
|
|
576
1024
|
assistantId: string | undefined;
|
|
@@ -578,6 +1026,7 @@ export interface CreateSessionRequest {
|
|
|
578
1026
|
description?: string;
|
|
579
1027
|
tags?: Record<string, string>;
|
|
580
1028
|
tagFilter?: TagFilter;
|
|
1029
|
+
aiAgentConfiguration?: Partial<Record<AIAgentType, AIAgentConfigurationData>>;
|
|
581
1030
|
}
|
|
582
1031
|
export interface SessionIntegrationConfiguration {
|
|
583
1032
|
topicIntegrationArn?: string;
|
|
@@ -590,6 +1039,7 @@ export interface SessionData {
|
|
|
590
1039
|
tags?: Record<string, string>;
|
|
591
1040
|
integrationConfiguration?: SessionIntegrationConfiguration;
|
|
592
1041
|
tagFilter?: TagFilter;
|
|
1042
|
+
aiAgentConfiguration?: Partial<Record<AIAgentType, AIAgentConfigurationData>>;
|
|
593
1043
|
}
|
|
594
1044
|
export interface CreateSessionResponse {
|
|
595
1045
|
session?: SessionData;
|
|
@@ -606,10 +1056,95 @@ export interface UpdateSessionRequest {
|
|
|
606
1056
|
sessionId: string | undefined;
|
|
607
1057
|
description?: string;
|
|
608
1058
|
tagFilter?: TagFilter;
|
|
1059
|
+
aiAgentConfiguration?: Partial<Record<AIAgentType, AIAgentConfigurationData>>;
|
|
609
1060
|
}
|
|
610
1061
|
export interface UpdateSessionResponse {
|
|
611
1062
|
session?: SessionData;
|
|
612
1063
|
}
|
|
1064
|
+
export type RuntimeSessionDataValue =
|
|
1065
|
+
| RuntimeSessionDataValue.StringValueMember
|
|
1066
|
+
| RuntimeSessionDataValue.$UnknownMember;
|
|
1067
|
+
export declare namespace RuntimeSessionDataValue {
|
|
1068
|
+
interface StringValueMember {
|
|
1069
|
+
stringValue: string;
|
|
1070
|
+
$unknown?: never;
|
|
1071
|
+
}
|
|
1072
|
+
interface $UnknownMember {
|
|
1073
|
+
stringValue?: never;
|
|
1074
|
+
$unknown: [string, any];
|
|
1075
|
+
}
|
|
1076
|
+
interface Visitor<T> {
|
|
1077
|
+
stringValue: (value: string) => T;
|
|
1078
|
+
_: (name: string, value: any) => T;
|
|
1079
|
+
}
|
|
1080
|
+
const visit: <T>(value: RuntimeSessionDataValue, visitor: Visitor<T>) => T;
|
|
1081
|
+
}
|
|
1082
|
+
export interface RuntimeSessionData {
|
|
1083
|
+
key: string | undefined;
|
|
1084
|
+
value: RuntimeSessionDataValue | undefined;
|
|
1085
|
+
}
|
|
1086
|
+
export declare const SessionDataNamespace: {
|
|
1087
|
+
readonly Custom: "Custom";
|
|
1088
|
+
};
|
|
1089
|
+
export type SessionDataNamespace =
|
|
1090
|
+
(typeof SessionDataNamespace)[keyof typeof SessionDataNamespace];
|
|
1091
|
+
export interface UpdateSessionDataRequest {
|
|
1092
|
+
assistantId: string | undefined;
|
|
1093
|
+
sessionId: string | undefined;
|
|
1094
|
+
namespace?: SessionDataNamespace;
|
|
1095
|
+
data: RuntimeSessionData[] | undefined;
|
|
1096
|
+
}
|
|
1097
|
+
export interface UpdateSessionDataResponse {
|
|
1098
|
+
sessionArn: string | undefined;
|
|
1099
|
+
sessionId: string | undefined;
|
|
1100
|
+
namespace: SessionDataNamespace | undefined;
|
|
1101
|
+
data: RuntimeSessionData[] | undefined;
|
|
1102
|
+
}
|
|
1103
|
+
export interface UpdateAssistantAIAgentRequest {
|
|
1104
|
+
assistantId: string | undefined;
|
|
1105
|
+
aiAgentType: AIAgentType | undefined;
|
|
1106
|
+
configuration: AIAgentConfigurationData | undefined;
|
|
1107
|
+
}
|
|
1108
|
+
export interface UpdateAssistantAIAgentResponse {
|
|
1109
|
+
assistant?: AssistantData;
|
|
1110
|
+
}
|
|
1111
|
+
export interface ParsingPrompt {
|
|
1112
|
+
parsingPromptText: string | undefined;
|
|
1113
|
+
}
|
|
1114
|
+
export interface BedrockFoundationModelConfigurationForParsing {
|
|
1115
|
+
modelArn: string | undefined;
|
|
1116
|
+
parsingPrompt?: ParsingPrompt;
|
|
1117
|
+
}
|
|
1118
|
+
export declare const ChunkingStrategy: {
|
|
1119
|
+
readonly FIXED_SIZE: "FIXED_SIZE";
|
|
1120
|
+
readonly HIERARCHICAL: "HIERARCHICAL";
|
|
1121
|
+
readonly NONE: "NONE";
|
|
1122
|
+
readonly SEMANTIC: "SEMANTIC";
|
|
1123
|
+
};
|
|
1124
|
+
export type ChunkingStrategy =
|
|
1125
|
+
(typeof ChunkingStrategy)[keyof typeof ChunkingStrategy];
|
|
1126
|
+
export interface FixedSizeChunkingConfiguration {
|
|
1127
|
+
maxTokens: number | undefined;
|
|
1128
|
+
overlapPercentage: number | undefined;
|
|
1129
|
+
}
|
|
1130
|
+
export interface HierarchicalChunkingLevelConfiguration {
|
|
1131
|
+
maxTokens: number | undefined;
|
|
1132
|
+
}
|
|
1133
|
+
export interface HierarchicalChunkingConfiguration {
|
|
1134
|
+
levelConfigurations: HierarchicalChunkingLevelConfiguration[] | undefined;
|
|
1135
|
+
overlapTokens: number | undefined;
|
|
1136
|
+
}
|
|
1137
|
+
export interface SemanticChunkingConfiguration {
|
|
1138
|
+
maxTokens: number | undefined;
|
|
1139
|
+
bufferSize: number | undefined;
|
|
1140
|
+
breakpointPercentileThreshold: number | undefined;
|
|
1141
|
+
}
|
|
1142
|
+
export interface ChunkingConfiguration {
|
|
1143
|
+
chunkingStrategy: ChunkingStrategy | undefined;
|
|
1144
|
+
fixedSizeChunkingConfiguration?: FixedSizeChunkingConfiguration;
|
|
1145
|
+
hierarchicalChunkingConfiguration?: HierarchicalChunkingConfiguration;
|
|
1146
|
+
semanticChunkingConfiguration?: SemanticChunkingConfiguration;
|
|
1147
|
+
}
|
|
613
1148
|
export interface ConnectConfiguration {
|
|
614
1149
|
instanceId?: string;
|
|
615
1150
|
}
|
|
@@ -678,14 +1213,6 @@ export interface ContentAssociationData {
|
|
|
678
1213
|
export interface CreateContentAssociationResponse {
|
|
679
1214
|
contentAssociation?: ContentAssociationData;
|
|
680
1215
|
}
|
|
681
|
-
export declare class ThrottlingException extends __BaseException {
|
|
682
|
-
readonly name: "ThrottlingException";
|
|
683
|
-
readonly $fault: "client";
|
|
684
|
-
$retryable: {};
|
|
685
|
-
constructor(
|
|
686
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
687
|
-
);
|
|
688
|
-
}
|
|
689
1216
|
export interface DeleteContentAssociationRequest {
|
|
690
1217
|
knowledgeBaseId: string | undefined;
|
|
691
1218
|
contentId: string | undefined;
|
|
@@ -824,6 +1351,8 @@ export interface UpdateContentResponse {
|
|
|
824
1351
|
export declare const KnowledgeBaseType: {
|
|
825
1352
|
readonly CUSTOM: "CUSTOM";
|
|
826
1353
|
readonly EXTERNAL: "EXTERNAL";
|
|
1354
|
+
readonly MANAGED: "MANAGED";
|
|
1355
|
+
readonly MESSAGE_TEMPLATES: "MESSAGE_TEMPLATES";
|
|
827
1356
|
readonly QUICK_RESPONSES: "QUICK_RESPONSES";
|
|
828
1357
|
};
|
|
829
1358
|
export type KnowledgeBaseType =
|
|
@@ -831,34 +1360,103 @@ export type KnowledgeBaseType =
|
|
|
831
1360
|
export interface RenderingConfiguration {
|
|
832
1361
|
templateUri?: string;
|
|
833
1362
|
}
|
|
1363
|
+
export interface WebCrawlerLimits {
|
|
1364
|
+
rateLimit?: number;
|
|
1365
|
+
}
|
|
1366
|
+
export declare const WebScopeType: {
|
|
1367
|
+
readonly HOST_ONLY: "HOST_ONLY";
|
|
1368
|
+
readonly SUBDOMAINS: "SUBDOMAINS";
|
|
1369
|
+
};
|
|
1370
|
+
export type WebScopeType = (typeof WebScopeType)[keyof typeof WebScopeType];
|
|
1371
|
+
export interface SeedUrl {
|
|
1372
|
+
url?: string;
|
|
1373
|
+
}
|
|
1374
|
+
export interface UrlConfiguration {
|
|
1375
|
+
seedUrls?: SeedUrl[];
|
|
1376
|
+
}
|
|
1377
|
+
export interface WebCrawlerConfiguration {
|
|
1378
|
+
urlConfiguration: UrlConfiguration | undefined;
|
|
1379
|
+
crawlerLimits?: WebCrawlerLimits;
|
|
1380
|
+
inclusionFilters?: string[];
|
|
1381
|
+
exclusionFilters?: string[];
|
|
1382
|
+
scope?: WebScopeType;
|
|
1383
|
+
}
|
|
1384
|
+
export type ManagedSourceConfiguration =
|
|
1385
|
+
| ManagedSourceConfiguration.WebCrawlerConfigurationMember
|
|
1386
|
+
| ManagedSourceConfiguration.$UnknownMember;
|
|
1387
|
+
export declare namespace ManagedSourceConfiguration {
|
|
1388
|
+
interface WebCrawlerConfigurationMember {
|
|
1389
|
+
webCrawlerConfiguration: WebCrawlerConfiguration;
|
|
1390
|
+
$unknown?: never;
|
|
1391
|
+
}
|
|
1392
|
+
interface $UnknownMember {
|
|
1393
|
+
webCrawlerConfiguration?: never;
|
|
1394
|
+
$unknown: [string, any];
|
|
1395
|
+
}
|
|
1396
|
+
interface Visitor<T> {
|
|
1397
|
+
webCrawlerConfiguration: (value: WebCrawlerConfiguration) => T;
|
|
1398
|
+
_: (name: string, value: any) => T;
|
|
1399
|
+
}
|
|
1400
|
+
const visit: <T>(value: ManagedSourceConfiguration, visitor: Visitor<T>) => T;
|
|
1401
|
+
}
|
|
834
1402
|
export type SourceConfiguration =
|
|
835
1403
|
| SourceConfiguration.AppIntegrationsMember
|
|
1404
|
+
| SourceConfiguration.ManagedSourceConfigurationMember
|
|
836
1405
|
| SourceConfiguration.$UnknownMember;
|
|
837
1406
|
export declare namespace SourceConfiguration {
|
|
838
1407
|
interface AppIntegrationsMember {
|
|
839
1408
|
appIntegrations: AppIntegrationsConfiguration;
|
|
1409
|
+
managedSourceConfiguration?: never;
|
|
1410
|
+
$unknown?: never;
|
|
1411
|
+
}
|
|
1412
|
+
interface ManagedSourceConfigurationMember {
|
|
1413
|
+
appIntegrations?: never;
|
|
1414
|
+
managedSourceConfiguration: ManagedSourceConfiguration;
|
|
840
1415
|
$unknown?: never;
|
|
841
1416
|
}
|
|
842
1417
|
interface $UnknownMember {
|
|
843
1418
|
appIntegrations?: never;
|
|
1419
|
+
managedSourceConfiguration?: never;
|
|
844
1420
|
$unknown: [string, any];
|
|
845
1421
|
}
|
|
846
1422
|
interface Visitor<T> {
|
|
847
1423
|
appIntegrations: (value: AppIntegrationsConfiguration) => T;
|
|
1424
|
+
managedSourceConfiguration: (value: ManagedSourceConfiguration) => T;
|
|
848
1425
|
_: (name: string, value: any) => T;
|
|
849
1426
|
}
|
|
850
1427
|
const visit: <T>(value: SourceConfiguration, visitor: Visitor<T>) => T;
|
|
851
1428
|
}
|
|
1429
|
+
export declare const ParsingStrategy: {
|
|
1430
|
+
readonly BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL";
|
|
1431
|
+
};
|
|
1432
|
+
export type ParsingStrategy =
|
|
1433
|
+
(typeof ParsingStrategy)[keyof typeof ParsingStrategy];
|
|
1434
|
+
export interface ParsingConfiguration {
|
|
1435
|
+
parsingStrategy: ParsingStrategy | undefined;
|
|
1436
|
+
bedrockFoundationModelConfiguration?: BedrockFoundationModelConfigurationForParsing;
|
|
1437
|
+
}
|
|
1438
|
+
export interface VectorIngestionConfiguration {
|
|
1439
|
+
chunkingConfiguration?: ChunkingConfiguration;
|
|
1440
|
+
parsingConfiguration?: ParsingConfiguration;
|
|
1441
|
+
}
|
|
852
1442
|
export interface CreateKnowledgeBaseRequest {
|
|
853
1443
|
clientToken?: string;
|
|
854
1444
|
name: string | undefined;
|
|
855
1445
|
knowledgeBaseType: KnowledgeBaseType | undefined;
|
|
856
1446
|
sourceConfiguration?: SourceConfiguration;
|
|
857
1447
|
renderingConfiguration?: RenderingConfiguration;
|
|
1448
|
+
vectorIngestionConfiguration?: VectorIngestionConfiguration;
|
|
858
1449
|
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
859
1450
|
description?: string;
|
|
860
1451
|
tags?: Record<string, string>;
|
|
861
1452
|
}
|
|
1453
|
+
export declare const SyncStatus: {
|
|
1454
|
+
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
1455
|
+
readonly SYNCING_IN_PROGRESS: "SYNCING_IN_PROGRESS";
|
|
1456
|
+
readonly SYNC_FAILED: "SYNC_FAILED";
|
|
1457
|
+
readonly SYNC_SUCCESS: "SYNC_SUCCESS";
|
|
1458
|
+
};
|
|
1459
|
+
export type SyncStatus = (typeof SyncStatus)[keyof typeof SyncStatus];
|
|
862
1460
|
export declare const KnowledgeBaseStatus: {
|
|
863
1461
|
readonly ACTIVE: "ACTIVE";
|
|
864
1462
|
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
@@ -876,11 +1474,14 @@ export interface KnowledgeBaseData {
|
|
|
876
1474
|
knowledgeBaseType: KnowledgeBaseType | undefined;
|
|
877
1475
|
status: KnowledgeBaseStatus | undefined;
|
|
878
1476
|
lastContentModificationTime?: Date;
|
|
1477
|
+
vectorIngestionConfiguration?: VectorIngestionConfiguration;
|
|
879
1478
|
sourceConfiguration?: SourceConfiguration;
|
|
880
1479
|
renderingConfiguration?: RenderingConfiguration;
|
|
881
1480
|
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
882
1481
|
description?: string;
|
|
883
1482
|
tags?: Record<string, string>;
|
|
1483
|
+
ingestionStatus?: SyncStatus;
|
|
1484
|
+
ingestionFailureReasons?: string[];
|
|
884
1485
|
}
|
|
885
1486
|
export interface CreateKnowledgeBaseResponse {
|
|
886
1487
|
knowledgeBase?: KnowledgeBaseData;
|
|
@@ -1085,6 +1686,7 @@ export interface KnowledgeBaseSummary {
|
|
|
1085
1686
|
knowledgeBaseType: KnowledgeBaseType | undefined;
|
|
1086
1687
|
status: KnowledgeBaseStatus | undefined;
|
|
1087
1688
|
sourceConfiguration?: SourceConfiguration;
|
|
1689
|
+
vectorIngestionConfiguration?: VectorIngestionConfiguration;
|
|
1088
1690
|
renderingConfiguration?: RenderingConfiguration;
|
|
1089
1691
|
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
|
1090
1692
|
description?: string;
|
|
@@ -1286,36 +1888,49 @@ export interface UntagResourceResponse {}
|
|
|
1286
1888
|
export type DataDetails =
|
|
1287
1889
|
| DataDetails.ContentDataMember
|
|
1288
1890
|
| DataDetails.GenerativeDataMember
|
|
1891
|
+
| DataDetails.IntentDetectedDataMember
|
|
1289
1892
|
| DataDetails.SourceContentDataMember
|
|
1290
1893
|
| DataDetails.$UnknownMember;
|
|
1291
1894
|
export declare namespace DataDetails {
|
|
1292
1895
|
interface ContentDataMember {
|
|
1293
1896
|
contentData: ContentDataDetails;
|
|
1294
1897
|
generativeData?: never;
|
|
1898
|
+
intentDetectedData?: never;
|
|
1295
1899
|
sourceContentData?: never;
|
|
1296
1900
|
$unknown?: never;
|
|
1297
1901
|
}
|
|
1298
1902
|
interface GenerativeDataMember {
|
|
1299
1903
|
contentData?: never;
|
|
1300
1904
|
generativeData: GenerativeDataDetails;
|
|
1905
|
+
intentDetectedData?: never;
|
|
1906
|
+
sourceContentData?: never;
|
|
1907
|
+
$unknown?: never;
|
|
1908
|
+
}
|
|
1909
|
+
interface IntentDetectedDataMember {
|
|
1910
|
+
contentData?: never;
|
|
1911
|
+
generativeData?: never;
|
|
1912
|
+
intentDetectedData: IntentDetectedDataDetails;
|
|
1301
1913
|
sourceContentData?: never;
|
|
1302
1914
|
$unknown?: never;
|
|
1303
1915
|
}
|
|
1304
1916
|
interface SourceContentDataMember {
|
|
1305
1917
|
contentData?: never;
|
|
1306
1918
|
generativeData?: never;
|
|
1919
|
+
intentDetectedData?: never;
|
|
1307
1920
|
sourceContentData: SourceContentDataDetails;
|
|
1308
1921
|
$unknown?: never;
|
|
1309
1922
|
}
|
|
1310
1923
|
interface $UnknownMember {
|
|
1311
1924
|
contentData?: never;
|
|
1312
1925
|
generativeData?: never;
|
|
1926
|
+
intentDetectedData?: never;
|
|
1313
1927
|
sourceContentData?: never;
|
|
1314
1928
|
$unknown: [string, any];
|
|
1315
1929
|
}
|
|
1316
1930
|
interface Visitor<T> {
|
|
1317
1931
|
contentData: (value: ContentDataDetails) => T;
|
|
1318
1932
|
generativeData: (value: GenerativeDataDetails) => T;
|
|
1933
|
+
intentDetectedData: (value: IntentDetectedDataDetails) => T;
|
|
1319
1934
|
sourceContentData: (value: SourceContentDataDetails) => T;
|
|
1320
1935
|
_: (name: string, value: any) => T;
|
|
1321
1936
|
}
|
|
@@ -1353,11 +1968,39 @@ export interface QueryAssistantResponse {
|
|
|
1353
1968
|
results: ResultData[] | undefined;
|
|
1354
1969
|
nextToken?: string;
|
|
1355
1970
|
}
|
|
1971
|
+
export declare const TextFullAIPromptEditTemplateConfigurationFilterSensitiveLog: (
|
|
1972
|
+
obj: TextFullAIPromptEditTemplateConfiguration
|
|
1973
|
+
) => any;
|
|
1974
|
+
export declare const AIPromptTemplateConfigurationFilterSensitiveLog: (
|
|
1975
|
+
obj: AIPromptTemplateConfiguration
|
|
1976
|
+
) => any;
|
|
1977
|
+
export declare const CreateAIPromptRequestFilterSensitiveLog: (
|
|
1978
|
+
obj: CreateAIPromptRequest
|
|
1979
|
+
) => any;
|
|
1980
|
+
export declare const AIPromptDataFilterSensitiveLog: (obj: AIPromptData) => any;
|
|
1981
|
+
export declare const CreateAIPromptResponseFilterSensitiveLog: (
|
|
1982
|
+
obj: CreateAIPromptResponse
|
|
1983
|
+
) => any;
|
|
1984
|
+
export declare const CreateAIPromptVersionResponseFilterSensitiveLog: (
|
|
1985
|
+
obj: CreateAIPromptVersionResponse
|
|
1986
|
+
) => any;
|
|
1987
|
+
export declare const GetAIPromptResponseFilterSensitiveLog: (
|
|
1988
|
+
obj: GetAIPromptResponse
|
|
1989
|
+
) => any;
|
|
1990
|
+
export declare const UpdateAIPromptRequestFilterSensitiveLog: (
|
|
1991
|
+
obj: UpdateAIPromptRequest
|
|
1992
|
+
) => any;
|
|
1993
|
+
export declare const UpdateAIPromptResponseFilterSensitiveLog: (
|
|
1994
|
+
obj: UpdateAIPromptResponse
|
|
1995
|
+
) => any;
|
|
1356
1996
|
export declare const DocumentTextFilterSensitiveLog: (obj: DocumentText) => any;
|
|
1357
1997
|
export declare const TextDataFilterSensitiveLog: (obj: TextData) => any;
|
|
1358
1998
|
export declare const ContentDataDetailsFilterSensitiveLog: (
|
|
1359
1999
|
obj: ContentDataDetails
|
|
1360
2000
|
) => any;
|
|
2001
|
+
export declare const IntentDetectedDataDetailsFilterSensitiveLog: (
|
|
2002
|
+
obj: IntentDetectedDataDetails
|
|
2003
|
+
) => any;
|
|
1361
2004
|
export declare const SourceContentDataDetailsFilterSensitiveLog: (
|
|
1362
2005
|
obj: SourceContentDataDetails
|
|
1363
2006
|
) => any;
|
|
@@ -1371,9 +2014,27 @@ export declare const RecommendationTriggerDataFilterSensitiveLog: (
|
|
|
1371
2014
|
export declare const RecommendationTriggerFilterSensitiveLog: (
|
|
1372
2015
|
obj: RecommendationTrigger
|
|
1373
2016
|
) => any;
|
|
2017
|
+
export declare const QueryTextInputDataFilterSensitiveLog: (
|
|
2018
|
+
obj: QueryTextInputData
|
|
2019
|
+
) => any;
|
|
2020
|
+
export declare const QueryInputDataFilterSensitiveLog: (
|
|
2021
|
+
obj: QueryInputData
|
|
2022
|
+
) => any;
|
|
1374
2023
|
export declare const QueryAssistantRequestFilterSensitiveLog: (
|
|
1375
2024
|
obj: QueryAssistantRequest
|
|
1376
2025
|
) => any;
|
|
2026
|
+
export declare const RuntimeSessionDataValueFilterSensitiveLog: (
|
|
2027
|
+
obj: RuntimeSessionDataValue
|
|
2028
|
+
) => any;
|
|
2029
|
+
export declare const RuntimeSessionDataFilterSensitiveLog: (
|
|
2030
|
+
obj: RuntimeSessionData
|
|
2031
|
+
) => any;
|
|
2032
|
+
export declare const UpdateSessionDataRequestFilterSensitiveLog: (
|
|
2033
|
+
obj: UpdateSessionDataRequest
|
|
2034
|
+
) => any;
|
|
2035
|
+
export declare const UpdateSessionDataResponseFilterSensitiveLog: (
|
|
2036
|
+
obj: UpdateSessionDataResponse
|
|
2037
|
+
) => any;
|
|
1377
2038
|
export declare const ContentDataFilterSensitiveLog: (obj: ContentData) => any;
|
|
1378
2039
|
export declare const CreateContentResponseFilterSensitiveLog: (
|
|
1379
2040
|
obj: CreateContentResponse
|
|
@@ -1384,6 +2045,24 @@ export declare const GetContentResponseFilterSensitiveLog: (
|
|
|
1384
2045
|
export declare const UpdateContentResponseFilterSensitiveLog: (
|
|
1385
2046
|
obj: UpdateContentResponse
|
|
1386
2047
|
) => any;
|
|
2048
|
+
export declare const WebCrawlerConfigurationFilterSensitiveLog: (
|
|
2049
|
+
obj: WebCrawlerConfiguration
|
|
2050
|
+
) => any;
|
|
2051
|
+
export declare const ManagedSourceConfigurationFilterSensitiveLog: (
|
|
2052
|
+
obj: ManagedSourceConfiguration
|
|
2053
|
+
) => any;
|
|
2054
|
+
export declare const SourceConfigurationFilterSensitiveLog: (
|
|
2055
|
+
obj: SourceConfiguration
|
|
2056
|
+
) => any;
|
|
2057
|
+
export declare const CreateKnowledgeBaseRequestFilterSensitiveLog: (
|
|
2058
|
+
obj: CreateKnowledgeBaseRequest
|
|
2059
|
+
) => any;
|
|
2060
|
+
export declare const KnowledgeBaseDataFilterSensitiveLog: (
|
|
2061
|
+
obj: KnowledgeBaseData
|
|
2062
|
+
) => any;
|
|
2063
|
+
export declare const CreateKnowledgeBaseResponseFilterSensitiveLog: (
|
|
2064
|
+
obj: CreateKnowledgeBaseResponse
|
|
2065
|
+
) => any;
|
|
1387
2066
|
export declare const QuickResponseDataProviderFilterSensitiveLog: (
|
|
1388
2067
|
obj: QuickResponseDataProvider
|
|
1389
2068
|
) => any;
|
|
@@ -1411,9 +2090,18 @@ export declare const ImportJobDataFilterSensitiveLog: (
|
|
|
1411
2090
|
export declare const GetImportJobResponseFilterSensitiveLog: (
|
|
1412
2091
|
obj: GetImportJobResponse
|
|
1413
2092
|
) => any;
|
|
2093
|
+
export declare const GetKnowledgeBaseResponseFilterSensitiveLog: (
|
|
2094
|
+
obj: GetKnowledgeBaseResponse
|
|
2095
|
+
) => any;
|
|
1414
2096
|
export declare const GetQuickResponseResponseFilterSensitiveLog: (
|
|
1415
2097
|
obj: GetQuickResponseResponse
|
|
1416
2098
|
) => any;
|
|
2099
|
+
export declare const KnowledgeBaseSummaryFilterSensitiveLog: (
|
|
2100
|
+
obj: KnowledgeBaseSummary
|
|
2101
|
+
) => any;
|
|
2102
|
+
export declare const ListKnowledgeBasesResponseFilterSensitiveLog: (
|
|
2103
|
+
obj: ListKnowledgeBasesResponse
|
|
2104
|
+
) => any;
|
|
1417
2105
|
export declare const QuickResponseSummaryFilterSensitiveLog: (
|
|
1418
2106
|
obj: QuickResponseSummary
|
|
1419
2107
|
) => any;
|
|
@@ -1441,6 +2129,9 @@ export declare const StartContentUploadResponseFilterSensitiveLog: (
|
|
|
1441
2129
|
export declare const StartImportJobResponseFilterSensitiveLog: (
|
|
1442
2130
|
obj: StartImportJobResponse
|
|
1443
2131
|
) => any;
|
|
2132
|
+
export declare const UpdateKnowledgeBaseTemplateUriResponseFilterSensitiveLog: (
|
|
2133
|
+
obj: UpdateKnowledgeBaseTemplateUriResponse
|
|
2134
|
+
) => any;
|
|
1444
2135
|
export declare const DataDetailsFilterSensitiveLog: (obj: DataDetails) => any;
|
|
1445
2136
|
export declare const DataSummaryFilterSensitiveLog: (obj: DataSummary) => any;
|
|
1446
2137
|
export declare const GenerativeDataDetailsFilterSensitiveLog: (
|