@aws-sdk/client-bedrock-agent 3.933.0 → 3.935.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +373 -373
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +372 -0
- package/dist-es/models/errors.js +87 -0
- package/dist-es/models/models_0.js +1 -347
- package/dist-es/models/models_1.js +1 -112
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/GetIngestionJobCommand.d.ts +1 -2
- package/dist-types/commands/GetKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/ListIngestionJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/StartIngestionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopIngestionJobCommand.d.ts +1 -1
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/enums.d.ts +938 -0
- package/dist-types/models/errors.d.ts +92 -0
- package/dist-types/models/models_0.d.ts +1045 -742
- package/dist-types/models/models_1.d.ts +2 -1332
- package/dist-types/ts3.4/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetIngestionJobCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListIngestionJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartIngestionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopIngestionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +4 -1
- package/dist-types/ts3.4/models/enums.d.ts +501 -0
- package/dist-types/ts3.4/models/errors.d.ts +51 -0
- package/dist-types/ts3.4/models/models_0.d.ts +330 -396
- package/dist-types/ts3.4/models/models_1.d.ts +14 -424
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -2
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/index.d.ts +0 -2
|
@@ -1,25 +1,32 @@
|
|
|
1
1
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
AgentStatus,
|
|
4
|
+
FlowNodeType,
|
|
5
|
+
FlowStatus,
|
|
6
|
+
KnowledgeBaseState,
|
|
7
|
+
KnowledgeBaseStatus,
|
|
8
|
+
KnowledgeBaseStorageType,
|
|
9
|
+
KnowledgeBaseType,
|
|
10
|
+
PromptTemplateType,
|
|
11
|
+
} from "./enums";
|
|
2
12
|
import {
|
|
3
13
|
AgentFlowNodeConfiguration,
|
|
4
14
|
AgentKnowledgeBase,
|
|
5
15
|
AgentKnowledgeBaseSummary,
|
|
6
|
-
AgentStatus,
|
|
7
16
|
AgentVersion,
|
|
8
17
|
AgentVersionSummary,
|
|
9
18
|
CollectorFlowNodeConfiguration,
|
|
10
19
|
ConditionFlowNodeConfiguration,
|
|
20
|
+
EmbeddingModelConfiguration,
|
|
11
21
|
FlowConnection,
|
|
12
22
|
FlowNodeInput,
|
|
13
23
|
FlowNodeOutput,
|
|
14
|
-
FlowNodeType,
|
|
15
|
-
FlowStatus,
|
|
16
24
|
FlowValidation,
|
|
17
|
-
IngestionJobStatistics,
|
|
18
25
|
InlineCodeFlowNodeConfiguration,
|
|
19
26
|
InputFlowNodeConfiguration,
|
|
20
27
|
IteratorFlowNodeConfiguration,
|
|
28
|
+
KendraKnowledgeBaseConfiguration,
|
|
21
29
|
KnowledgeBaseFlowNodeConfiguration,
|
|
22
|
-
KnowledgeBaseState,
|
|
23
30
|
LambdaFunctionFlowNodeConfiguration,
|
|
24
31
|
LexFlowNodeConfiguration,
|
|
25
32
|
LoopControllerFlowNodeConfiguration,
|
|
@@ -28,406 +35,11 @@ import {
|
|
|
28
35
|
PromptFlowNodeConfiguration,
|
|
29
36
|
PromptInferenceConfiguration,
|
|
30
37
|
PromptTemplateConfiguration,
|
|
31
|
-
PromptTemplateType,
|
|
32
38
|
RetrievalFlowNodeConfiguration,
|
|
33
|
-
|
|
39
|
+
SqlKnowledgeBaseConfiguration,
|
|
34
40
|
StorageFlowNodeConfiguration,
|
|
41
|
+
SupplementalDataStorageConfiguration,
|
|
35
42
|
} from "./models_0";
|
|
36
|
-
export declare const IngestionJobStatus: {
|
|
37
|
-
readonly COMPLETE: "COMPLETE";
|
|
38
|
-
readonly FAILED: "FAILED";
|
|
39
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
40
|
-
readonly STARTING: "STARTING";
|
|
41
|
-
readonly STOPPED: "STOPPED";
|
|
42
|
-
readonly STOPPING: "STOPPING";
|
|
43
|
-
};
|
|
44
|
-
export type IngestionJobStatus =
|
|
45
|
-
(typeof IngestionJobStatus)[keyof typeof IngestionJobStatus];
|
|
46
|
-
export interface IngestionJob {
|
|
47
|
-
knowledgeBaseId: string | undefined;
|
|
48
|
-
dataSourceId: string | undefined;
|
|
49
|
-
ingestionJobId: string | undefined;
|
|
50
|
-
description?: string | undefined;
|
|
51
|
-
status: IngestionJobStatus | undefined;
|
|
52
|
-
statistics?: IngestionJobStatistics | undefined;
|
|
53
|
-
failureReasons?: string[] | undefined;
|
|
54
|
-
startedAt: Date | undefined;
|
|
55
|
-
updatedAt: Date | undefined;
|
|
56
|
-
}
|
|
57
|
-
export interface GetIngestionJobResponse {
|
|
58
|
-
ingestionJob: IngestionJob | undefined;
|
|
59
|
-
}
|
|
60
|
-
export declare const IngestionJobFilterAttribute: {
|
|
61
|
-
readonly STATUS: "STATUS";
|
|
62
|
-
};
|
|
63
|
-
export type IngestionJobFilterAttribute =
|
|
64
|
-
(typeof IngestionJobFilterAttribute)[keyof typeof IngestionJobFilterAttribute];
|
|
65
|
-
export declare const IngestionJobFilterOperator: {
|
|
66
|
-
readonly EQ: "EQ";
|
|
67
|
-
};
|
|
68
|
-
export type IngestionJobFilterOperator =
|
|
69
|
-
(typeof IngestionJobFilterOperator)[keyof typeof IngestionJobFilterOperator];
|
|
70
|
-
export interface IngestionJobFilter {
|
|
71
|
-
attribute: IngestionJobFilterAttribute | undefined;
|
|
72
|
-
operator: IngestionJobFilterOperator | undefined;
|
|
73
|
-
values: string[] | undefined;
|
|
74
|
-
}
|
|
75
|
-
export declare const IngestionJobSortByAttribute: {
|
|
76
|
-
readonly STARTED_AT: "STARTED_AT";
|
|
77
|
-
readonly STATUS: "STATUS";
|
|
78
|
-
};
|
|
79
|
-
export type IngestionJobSortByAttribute =
|
|
80
|
-
(typeof IngestionJobSortByAttribute)[keyof typeof IngestionJobSortByAttribute];
|
|
81
|
-
export declare const SortOrder: {
|
|
82
|
-
readonly ASCENDING: "ASCENDING";
|
|
83
|
-
readonly DESCENDING: "DESCENDING";
|
|
84
|
-
};
|
|
85
|
-
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
86
|
-
export interface IngestionJobSortBy {
|
|
87
|
-
attribute: IngestionJobSortByAttribute | undefined;
|
|
88
|
-
order: SortOrder | undefined;
|
|
89
|
-
}
|
|
90
|
-
export interface ListIngestionJobsRequest {
|
|
91
|
-
knowledgeBaseId: string | undefined;
|
|
92
|
-
dataSourceId: string | undefined;
|
|
93
|
-
filters?: IngestionJobFilter[] | undefined;
|
|
94
|
-
sortBy?: IngestionJobSortBy | undefined;
|
|
95
|
-
maxResults?: number | undefined;
|
|
96
|
-
nextToken?: string | undefined;
|
|
97
|
-
}
|
|
98
|
-
export interface IngestionJobSummary {
|
|
99
|
-
knowledgeBaseId: string | undefined;
|
|
100
|
-
dataSourceId: string | undefined;
|
|
101
|
-
ingestionJobId: string | undefined;
|
|
102
|
-
description?: string | undefined;
|
|
103
|
-
status: IngestionJobStatus | undefined;
|
|
104
|
-
startedAt: Date | undefined;
|
|
105
|
-
updatedAt: Date | undefined;
|
|
106
|
-
statistics?: IngestionJobStatistics | undefined;
|
|
107
|
-
}
|
|
108
|
-
export interface ListIngestionJobsResponse {
|
|
109
|
-
ingestionJobSummaries: IngestionJobSummary[] | undefined;
|
|
110
|
-
nextToken?: string | undefined;
|
|
111
|
-
}
|
|
112
|
-
export interface StartIngestionJobRequest {
|
|
113
|
-
knowledgeBaseId: string | undefined;
|
|
114
|
-
dataSourceId: string | undefined;
|
|
115
|
-
clientToken?: string | undefined;
|
|
116
|
-
description?: string | undefined;
|
|
117
|
-
}
|
|
118
|
-
export interface StartIngestionJobResponse {
|
|
119
|
-
ingestionJob: IngestionJob | undefined;
|
|
120
|
-
}
|
|
121
|
-
export interface StopIngestionJobRequest {
|
|
122
|
-
knowledgeBaseId: string | undefined;
|
|
123
|
-
dataSourceId: string | undefined;
|
|
124
|
-
ingestionJobId: string | undefined;
|
|
125
|
-
}
|
|
126
|
-
export interface StopIngestionJobResponse {
|
|
127
|
-
ingestionJob: IngestionJob | undefined;
|
|
128
|
-
}
|
|
129
|
-
export interface CustomDocumentIdentifier {
|
|
130
|
-
id: string | undefined;
|
|
131
|
-
}
|
|
132
|
-
export declare const ContentDataSourceType: {
|
|
133
|
-
readonly CUSTOM: "CUSTOM";
|
|
134
|
-
readonly S3: "S3";
|
|
135
|
-
};
|
|
136
|
-
export type ContentDataSourceType =
|
|
137
|
-
(typeof ContentDataSourceType)[keyof typeof ContentDataSourceType];
|
|
138
|
-
export interface DocumentIdentifier {
|
|
139
|
-
dataSourceType: ContentDataSourceType | undefined;
|
|
140
|
-
s3?: S3Location | undefined;
|
|
141
|
-
custom?: CustomDocumentIdentifier | undefined;
|
|
142
|
-
}
|
|
143
|
-
export interface DeleteKnowledgeBaseDocumentsRequest {
|
|
144
|
-
knowledgeBaseId: string | undefined;
|
|
145
|
-
dataSourceId: string | undefined;
|
|
146
|
-
clientToken?: string | undefined;
|
|
147
|
-
documentIdentifiers: DocumentIdentifier[] | undefined;
|
|
148
|
-
}
|
|
149
|
-
export declare const DocumentStatus: {
|
|
150
|
-
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
151
|
-
readonly DELETING: "DELETING";
|
|
152
|
-
readonly FAILED: "FAILED";
|
|
153
|
-
readonly IGNORED: "IGNORED";
|
|
154
|
-
readonly INDEXED: "INDEXED";
|
|
155
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
156
|
-
readonly METADATA_PARTIALLY_INDEXED: "METADATA_PARTIALLY_INDEXED";
|
|
157
|
-
readonly METADATA_UPDATE_FAILED: "METADATA_UPDATE_FAILED";
|
|
158
|
-
readonly NOT_FOUND: "NOT_FOUND";
|
|
159
|
-
readonly PARTIALLY_INDEXED: "PARTIALLY_INDEXED";
|
|
160
|
-
readonly PENDING: "PENDING";
|
|
161
|
-
readonly STARTING: "STARTING";
|
|
162
|
-
};
|
|
163
|
-
export type DocumentStatus =
|
|
164
|
-
(typeof DocumentStatus)[keyof typeof DocumentStatus];
|
|
165
|
-
export interface KnowledgeBaseDocumentDetail {
|
|
166
|
-
knowledgeBaseId: string | undefined;
|
|
167
|
-
dataSourceId: string | undefined;
|
|
168
|
-
status: DocumentStatus | undefined;
|
|
169
|
-
identifier: DocumentIdentifier | undefined;
|
|
170
|
-
statusReason?: string | undefined;
|
|
171
|
-
updatedAt?: Date | undefined;
|
|
172
|
-
}
|
|
173
|
-
export interface DeleteKnowledgeBaseDocumentsResponse {
|
|
174
|
-
documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
|
|
175
|
-
}
|
|
176
|
-
export interface GetKnowledgeBaseDocumentsRequest {
|
|
177
|
-
knowledgeBaseId: string | undefined;
|
|
178
|
-
dataSourceId: string | undefined;
|
|
179
|
-
documentIdentifiers: DocumentIdentifier[] | undefined;
|
|
180
|
-
}
|
|
181
|
-
export interface GetKnowledgeBaseDocumentsResponse {
|
|
182
|
-
documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
|
|
183
|
-
}
|
|
184
|
-
export interface ByteContentDoc {
|
|
185
|
-
mimeType: string | undefined;
|
|
186
|
-
data: Uint8Array | undefined;
|
|
187
|
-
}
|
|
188
|
-
export interface TextContentDoc {
|
|
189
|
-
data: string | undefined;
|
|
190
|
-
}
|
|
191
|
-
export declare const InlineContentType: {
|
|
192
|
-
readonly BYTE: "BYTE";
|
|
193
|
-
readonly TEXT: "TEXT";
|
|
194
|
-
};
|
|
195
|
-
export type InlineContentType =
|
|
196
|
-
(typeof InlineContentType)[keyof typeof InlineContentType];
|
|
197
|
-
export interface InlineContent {
|
|
198
|
-
type: InlineContentType | undefined;
|
|
199
|
-
byteContent?: ByteContentDoc | undefined;
|
|
200
|
-
textContent?: TextContentDoc | undefined;
|
|
201
|
-
}
|
|
202
|
-
export interface CustomS3Location {
|
|
203
|
-
uri: string | undefined;
|
|
204
|
-
bucketOwnerAccountId?: string | undefined;
|
|
205
|
-
}
|
|
206
|
-
export declare const CustomSourceType: {
|
|
207
|
-
readonly IN_LINE: "IN_LINE";
|
|
208
|
-
readonly S3_LOCATION: "S3_LOCATION";
|
|
209
|
-
};
|
|
210
|
-
export type CustomSourceType =
|
|
211
|
-
(typeof CustomSourceType)[keyof typeof CustomSourceType];
|
|
212
|
-
export interface CustomContent {
|
|
213
|
-
customDocumentIdentifier: CustomDocumentIdentifier | undefined;
|
|
214
|
-
sourceType: CustomSourceType | undefined;
|
|
215
|
-
s3Location?: CustomS3Location | undefined;
|
|
216
|
-
inlineContent?: InlineContent | undefined;
|
|
217
|
-
}
|
|
218
|
-
export interface S3Content {
|
|
219
|
-
s3Location: S3Location | undefined;
|
|
220
|
-
}
|
|
221
|
-
export interface DocumentContent {
|
|
222
|
-
dataSourceType: ContentDataSourceType | undefined;
|
|
223
|
-
custom?: CustomContent | undefined;
|
|
224
|
-
s3?: S3Content | undefined;
|
|
225
|
-
}
|
|
226
|
-
export declare const MetadataValueType: {
|
|
227
|
-
readonly BOOLEAN: "BOOLEAN";
|
|
228
|
-
readonly NUMBER: "NUMBER";
|
|
229
|
-
readonly STRING: "STRING";
|
|
230
|
-
readonly STRING_LIST: "STRING_LIST";
|
|
231
|
-
};
|
|
232
|
-
export type MetadataValueType =
|
|
233
|
-
(typeof MetadataValueType)[keyof typeof MetadataValueType];
|
|
234
|
-
export interface MetadataAttributeValue {
|
|
235
|
-
type: MetadataValueType | undefined;
|
|
236
|
-
numberValue?: number | undefined;
|
|
237
|
-
booleanValue?: boolean | undefined;
|
|
238
|
-
stringValue?: string | undefined;
|
|
239
|
-
stringListValue?: string[] | undefined;
|
|
240
|
-
}
|
|
241
|
-
export interface MetadataAttribute {
|
|
242
|
-
key: string | undefined;
|
|
243
|
-
value: MetadataAttributeValue | undefined;
|
|
244
|
-
}
|
|
245
|
-
export declare const MetadataSourceType: {
|
|
246
|
-
readonly IN_LINE_ATTRIBUTE: "IN_LINE_ATTRIBUTE";
|
|
247
|
-
readonly S3_LOCATION: "S3_LOCATION";
|
|
248
|
-
};
|
|
249
|
-
export type MetadataSourceType =
|
|
250
|
-
(typeof MetadataSourceType)[keyof typeof MetadataSourceType];
|
|
251
|
-
export interface DocumentMetadata {
|
|
252
|
-
type: MetadataSourceType | undefined;
|
|
253
|
-
inlineAttributes?: MetadataAttribute[] | undefined;
|
|
254
|
-
s3Location?: CustomS3Location | undefined;
|
|
255
|
-
}
|
|
256
|
-
export interface KnowledgeBaseDocument {
|
|
257
|
-
metadata?: DocumentMetadata | undefined;
|
|
258
|
-
content: DocumentContent | undefined;
|
|
259
|
-
}
|
|
260
|
-
export interface IngestKnowledgeBaseDocumentsRequest {
|
|
261
|
-
knowledgeBaseId: string | undefined;
|
|
262
|
-
dataSourceId: string | undefined;
|
|
263
|
-
clientToken?: string | undefined;
|
|
264
|
-
documents: KnowledgeBaseDocument[] | undefined;
|
|
265
|
-
}
|
|
266
|
-
export interface IngestKnowledgeBaseDocumentsResponse {
|
|
267
|
-
documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
|
|
268
|
-
}
|
|
269
|
-
export interface ListKnowledgeBaseDocumentsRequest {
|
|
270
|
-
knowledgeBaseId: string | undefined;
|
|
271
|
-
dataSourceId: string | undefined;
|
|
272
|
-
maxResults?: number | undefined;
|
|
273
|
-
nextToken?: string | undefined;
|
|
274
|
-
}
|
|
275
|
-
export interface ListKnowledgeBaseDocumentsResponse {
|
|
276
|
-
documentDetails: KnowledgeBaseDocumentDetail[] | undefined;
|
|
277
|
-
nextToken?: string | undefined;
|
|
278
|
-
}
|
|
279
|
-
export interface AssociateAgentKnowledgeBaseRequest {
|
|
280
|
-
agentId: string | undefined;
|
|
281
|
-
agentVersion: string | undefined;
|
|
282
|
-
knowledgeBaseId: string | undefined;
|
|
283
|
-
description: string | undefined;
|
|
284
|
-
knowledgeBaseState?: KnowledgeBaseState | undefined;
|
|
285
|
-
}
|
|
286
|
-
export interface AssociateAgentKnowledgeBaseResponse {
|
|
287
|
-
agentKnowledgeBase: AgentKnowledgeBase | undefined;
|
|
288
|
-
}
|
|
289
|
-
export interface KendraKnowledgeBaseConfiguration {
|
|
290
|
-
kendraIndexArn: string | undefined;
|
|
291
|
-
}
|
|
292
|
-
export declare const RedshiftProvisionedAuthType: {
|
|
293
|
-
readonly IAM: "IAM";
|
|
294
|
-
readonly USERNAME: "USERNAME";
|
|
295
|
-
readonly USERNAME_PASSWORD: "USERNAME_PASSWORD";
|
|
296
|
-
};
|
|
297
|
-
export type RedshiftProvisionedAuthType =
|
|
298
|
-
(typeof RedshiftProvisionedAuthType)[keyof typeof RedshiftProvisionedAuthType];
|
|
299
|
-
export interface RedshiftProvisionedAuthConfiguration {
|
|
300
|
-
type: RedshiftProvisionedAuthType | undefined;
|
|
301
|
-
databaseUser?: string | undefined;
|
|
302
|
-
usernamePasswordSecretArn?: string | undefined;
|
|
303
|
-
}
|
|
304
|
-
export interface RedshiftProvisionedConfiguration {
|
|
305
|
-
clusterIdentifier: string | undefined;
|
|
306
|
-
authConfiguration: RedshiftProvisionedAuthConfiguration | undefined;
|
|
307
|
-
}
|
|
308
|
-
export declare const RedshiftServerlessAuthType: {
|
|
309
|
-
readonly IAM: "IAM";
|
|
310
|
-
readonly USERNAME_PASSWORD: "USERNAME_PASSWORD";
|
|
311
|
-
};
|
|
312
|
-
export type RedshiftServerlessAuthType =
|
|
313
|
-
(typeof RedshiftServerlessAuthType)[keyof typeof RedshiftServerlessAuthType];
|
|
314
|
-
export interface RedshiftServerlessAuthConfiguration {
|
|
315
|
-
type: RedshiftServerlessAuthType | undefined;
|
|
316
|
-
usernamePasswordSecretArn?: string | undefined;
|
|
317
|
-
}
|
|
318
|
-
export interface RedshiftServerlessConfiguration {
|
|
319
|
-
workgroupArn: string | undefined;
|
|
320
|
-
authConfiguration: RedshiftServerlessAuthConfiguration | undefined;
|
|
321
|
-
}
|
|
322
|
-
export declare const RedshiftQueryEngineType: {
|
|
323
|
-
readonly PROVISIONED: "PROVISIONED";
|
|
324
|
-
readonly SERVERLESS: "SERVERLESS";
|
|
325
|
-
};
|
|
326
|
-
export type RedshiftQueryEngineType =
|
|
327
|
-
(typeof RedshiftQueryEngineType)[keyof typeof RedshiftQueryEngineType];
|
|
328
|
-
export interface RedshiftQueryEngineConfiguration {
|
|
329
|
-
type: RedshiftQueryEngineType | undefined;
|
|
330
|
-
serverlessConfiguration?: RedshiftServerlessConfiguration | undefined;
|
|
331
|
-
provisionedConfiguration?: RedshiftProvisionedConfiguration | undefined;
|
|
332
|
-
}
|
|
333
|
-
export interface CuratedQuery {
|
|
334
|
-
naturalLanguage: string | undefined;
|
|
335
|
-
sql: string | undefined;
|
|
336
|
-
}
|
|
337
|
-
export declare const IncludeExclude: {
|
|
338
|
-
readonly EXCLUDE: "EXCLUDE";
|
|
339
|
-
readonly INCLUDE: "INCLUDE";
|
|
340
|
-
};
|
|
341
|
-
export type IncludeExclude =
|
|
342
|
-
(typeof IncludeExclude)[keyof typeof IncludeExclude];
|
|
343
|
-
export interface QueryGenerationColumn {
|
|
344
|
-
name?: string | undefined;
|
|
345
|
-
description?: string | undefined;
|
|
346
|
-
inclusion?: IncludeExclude | undefined;
|
|
347
|
-
}
|
|
348
|
-
export interface QueryGenerationTable {
|
|
349
|
-
name: string | undefined;
|
|
350
|
-
description?: string | undefined;
|
|
351
|
-
inclusion?: IncludeExclude | undefined;
|
|
352
|
-
columns?: QueryGenerationColumn[] | undefined;
|
|
353
|
-
}
|
|
354
|
-
export interface QueryGenerationContext {
|
|
355
|
-
tables?: QueryGenerationTable[] | undefined;
|
|
356
|
-
curatedQueries?: CuratedQuery[] | undefined;
|
|
357
|
-
}
|
|
358
|
-
export interface QueryGenerationConfiguration {
|
|
359
|
-
executionTimeoutSeconds?: number | undefined;
|
|
360
|
-
generationContext?: QueryGenerationContext | undefined;
|
|
361
|
-
}
|
|
362
|
-
export interface RedshiftQueryEngineAwsDataCatalogStorageConfiguration {
|
|
363
|
-
tableNames: string[] | undefined;
|
|
364
|
-
}
|
|
365
|
-
export interface RedshiftQueryEngineRedshiftStorageConfiguration {
|
|
366
|
-
databaseName: string | undefined;
|
|
367
|
-
}
|
|
368
|
-
export declare const RedshiftQueryEngineStorageType: {
|
|
369
|
-
readonly AWS_DATA_CATALOG: "AWS_DATA_CATALOG";
|
|
370
|
-
readonly REDSHIFT: "REDSHIFT";
|
|
371
|
-
};
|
|
372
|
-
export type RedshiftQueryEngineStorageType =
|
|
373
|
-
(typeof RedshiftQueryEngineStorageType)[keyof typeof RedshiftQueryEngineStorageType];
|
|
374
|
-
export interface RedshiftQueryEngineStorageConfiguration {
|
|
375
|
-
type: RedshiftQueryEngineStorageType | undefined;
|
|
376
|
-
awsDataCatalogConfiguration?:
|
|
377
|
-
| RedshiftQueryEngineAwsDataCatalogStorageConfiguration
|
|
378
|
-
| undefined;
|
|
379
|
-
redshiftConfiguration?:
|
|
380
|
-
| RedshiftQueryEngineRedshiftStorageConfiguration
|
|
381
|
-
| undefined;
|
|
382
|
-
}
|
|
383
|
-
export interface RedshiftConfiguration {
|
|
384
|
-
storageConfigurations: RedshiftQueryEngineStorageConfiguration[] | undefined;
|
|
385
|
-
queryEngineConfiguration: RedshiftQueryEngineConfiguration | undefined;
|
|
386
|
-
queryGenerationConfiguration?: QueryGenerationConfiguration | undefined;
|
|
387
|
-
}
|
|
388
|
-
export declare const QueryEngineType: {
|
|
389
|
-
readonly REDSHIFT: "REDSHIFT";
|
|
390
|
-
};
|
|
391
|
-
export type QueryEngineType =
|
|
392
|
-
(typeof QueryEngineType)[keyof typeof QueryEngineType];
|
|
393
|
-
export interface SqlKnowledgeBaseConfiguration {
|
|
394
|
-
type: QueryEngineType | undefined;
|
|
395
|
-
redshiftConfiguration?: RedshiftConfiguration | undefined;
|
|
396
|
-
}
|
|
397
|
-
export declare const KnowledgeBaseType: {
|
|
398
|
-
readonly KENDRA: "KENDRA";
|
|
399
|
-
readonly SQL: "SQL";
|
|
400
|
-
readonly VECTOR: "VECTOR";
|
|
401
|
-
};
|
|
402
|
-
export type KnowledgeBaseType =
|
|
403
|
-
(typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType];
|
|
404
|
-
export declare const EmbeddingDataType: {
|
|
405
|
-
readonly BINARY: "BINARY";
|
|
406
|
-
readonly FLOAT32: "FLOAT32";
|
|
407
|
-
};
|
|
408
|
-
export type EmbeddingDataType =
|
|
409
|
-
(typeof EmbeddingDataType)[keyof typeof EmbeddingDataType];
|
|
410
|
-
export interface BedrockEmbeddingModelConfiguration {
|
|
411
|
-
dimensions?: number | undefined;
|
|
412
|
-
embeddingDataType?: EmbeddingDataType | undefined;
|
|
413
|
-
}
|
|
414
|
-
export interface EmbeddingModelConfiguration {
|
|
415
|
-
bedrockEmbeddingModelConfiguration?:
|
|
416
|
-
| BedrockEmbeddingModelConfiguration
|
|
417
|
-
| undefined;
|
|
418
|
-
}
|
|
419
|
-
export declare const SupplementalDataStorageLocationType: {
|
|
420
|
-
readonly S3: "S3";
|
|
421
|
-
};
|
|
422
|
-
export type SupplementalDataStorageLocationType =
|
|
423
|
-
(typeof SupplementalDataStorageLocationType)[keyof typeof SupplementalDataStorageLocationType];
|
|
424
|
-
export interface SupplementalDataStorageLocation {
|
|
425
|
-
type: SupplementalDataStorageLocationType | undefined;
|
|
426
|
-
s3Location?: S3Location | undefined;
|
|
427
|
-
}
|
|
428
|
-
export interface SupplementalDataStorageConfiguration {
|
|
429
|
-
storageLocations: SupplementalDataStorageLocation[] | undefined;
|
|
430
|
-
}
|
|
431
43
|
export interface VectorKnowledgeBaseConfiguration {
|
|
432
44
|
embeddingModelArn: string | undefined;
|
|
433
45
|
embeddingModelConfiguration?: EmbeddingModelConfiguration | undefined;
|
|
@@ -529,18 +141,6 @@ export interface S3VectorsConfiguration {
|
|
|
529
141
|
indexArn?: string | undefined;
|
|
530
142
|
indexName?: string | undefined;
|
|
531
143
|
}
|
|
532
|
-
export declare const KnowledgeBaseStorageType: {
|
|
533
|
-
readonly MONGO_DB_ATLAS: "MONGO_DB_ATLAS";
|
|
534
|
-
readonly NEPTUNE_ANALYTICS: "NEPTUNE_ANALYTICS";
|
|
535
|
-
readonly OPENSEARCH_MANAGED_CLUSTER: "OPENSEARCH_MANAGED_CLUSTER";
|
|
536
|
-
readonly OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS";
|
|
537
|
-
readonly PINECONE: "PINECONE";
|
|
538
|
-
readonly RDS: "RDS";
|
|
539
|
-
readonly REDIS_ENTERPRISE_CLOUD: "REDIS_ENTERPRISE_CLOUD";
|
|
540
|
-
readonly S3_VECTORS: "S3_VECTORS";
|
|
541
|
-
};
|
|
542
|
-
export type KnowledgeBaseStorageType =
|
|
543
|
-
(typeof KnowledgeBaseStorageType)[keyof typeof KnowledgeBaseStorageType];
|
|
544
144
|
export interface StorageConfiguration {
|
|
545
145
|
type: KnowledgeBaseStorageType | undefined;
|
|
546
146
|
opensearchServerlessConfiguration?:
|
|
@@ -567,16 +167,6 @@ export interface CreateKnowledgeBaseRequest {
|
|
|
567
167
|
storageConfiguration?: StorageConfiguration | undefined;
|
|
568
168
|
tags?: Record<string, string> | undefined;
|
|
569
169
|
}
|
|
570
|
-
export declare const KnowledgeBaseStatus: {
|
|
571
|
-
readonly ACTIVE: "ACTIVE";
|
|
572
|
-
readonly CREATING: "CREATING";
|
|
573
|
-
readonly DELETE_UNSUCCESSFUL: "DELETE_UNSUCCESSFUL";
|
|
574
|
-
readonly DELETING: "DELETING";
|
|
575
|
-
readonly FAILED: "FAILED";
|
|
576
|
-
readonly UPDATING: "UPDATING";
|
|
577
|
-
};
|
|
578
|
-
export type KnowledgeBaseStatus =
|
|
579
|
-
(typeof KnowledgeBaseStatus)[keyof typeof KnowledgeBaseStatus];
|
|
580
170
|
export interface KnowledgeBase {
|
|
581
171
|
knowledgeBaseId: string | undefined;
|
|
582
172
|
name: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agent",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agent Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED