@aws-sdk/client-bedrock-agent 3.705.0 → 3.706.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 +154 -27
- package/dist-es/commands/CreateKnowledgeBaseCommand.js +2 -1
- package/dist-es/commands/GetKnowledgeBaseCommand.js +2 -1
- package/dist-es/commands/UpdateKnowledgeBaseCommand.js +2 -1
- package/dist-es/models/models_0.js +5 -9
- package/dist-es/models/models_1.js +94 -1
- package/dist-types/commands/CreateDataSourceCommand.d.ts +12 -4
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +150 -2
- package/dist-types/commands/GetDataSourceCommand.d.ts +6 -2
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +75 -1
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +12 -4
- package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +150 -2
- package/dist-types/models/models_0.d.ts +42 -59
- package/dist-types/models/models_1.d.ts +488 -4
- package/dist-types/ts3.4/models/models_0.d.ts +14 -14
- package/dist-types/ts3.4/models/models_1.d.ts +181 -4
- package/package.json +1 -1
|
@@ -71,7 +71,7 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
71
71
|
* description: "STRING_VALUE",
|
|
72
72
|
* roleArn: "STRING_VALUE", // required
|
|
73
73
|
* knowledgeBaseConfiguration: { // KnowledgeBaseConfiguration
|
|
74
|
-
* type: "VECTOR", // required
|
|
74
|
+
* type: "VECTOR" || "KENDRA" || "SQL", // required
|
|
75
75
|
* vectorKnowledgeBaseConfiguration: { // VectorKnowledgeBaseConfiguration
|
|
76
76
|
* embeddingModelArn: "STRING_VALUE", // required
|
|
77
77
|
* embeddingModelConfiguration: { // EmbeddingModelConfiguration
|
|
@@ -80,6 +80,80 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
80
80
|
* embeddingDataType: "FLOAT32" || "BINARY",
|
|
81
81
|
* },
|
|
82
82
|
* },
|
|
83
|
+
* supplementalDataStorageConfiguration: { // SupplementalDataStorageConfiguration
|
|
84
|
+
* storageLocations: [ // SupplementalDataStorageLocations // required
|
|
85
|
+
* { // SupplementalDataStorageLocation
|
|
86
|
+
* type: "S3", // required
|
|
87
|
+
* s3Location: { // S3Location
|
|
88
|
+
* uri: "STRING_VALUE", // required
|
|
89
|
+
* },
|
|
90
|
+
* },
|
|
91
|
+
* ],
|
|
92
|
+
* },
|
|
93
|
+
* },
|
|
94
|
+
* kendraKnowledgeBaseConfiguration: { // KendraKnowledgeBaseConfiguration
|
|
95
|
+
* kendraIndexArn: "STRING_VALUE", // required
|
|
96
|
+
* },
|
|
97
|
+
* sqlKnowledgeBaseConfiguration: { // SqlKnowledgeBaseConfiguration
|
|
98
|
+
* type: "REDSHIFT", // required
|
|
99
|
+
* redshiftConfiguration: { // RedshiftConfiguration
|
|
100
|
+
* storageConfigurations: [ // RedshiftQueryEngineStorageConfigurations // required
|
|
101
|
+
* { // RedshiftQueryEngineStorageConfiguration
|
|
102
|
+
* type: "REDSHIFT" || "AWS_DATA_CATALOG", // required
|
|
103
|
+
* awsDataCatalogConfiguration: { // RedshiftQueryEngineAwsDataCatalogStorageConfiguration
|
|
104
|
+
* tableNames: [ // AwsDataCatalogTableNames // required
|
|
105
|
+
* "STRING_VALUE",
|
|
106
|
+
* ],
|
|
107
|
+
* },
|
|
108
|
+
* redshiftConfiguration: { // RedshiftQueryEngineRedshiftStorageConfiguration
|
|
109
|
+
* databaseName: "STRING_VALUE", // required
|
|
110
|
+
* },
|
|
111
|
+
* },
|
|
112
|
+
* ],
|
|
113
|
+
* queryEngineConfiguration: { // RedshiftQueryEngineConfiguration
|
|
114
|
+
* type: "SERVERLESS" || "PROVISIONED", // required
|
|
115
|
+
* serverlessConfiguration: { // RedshiftServerlessConfiguration
|
|
116
|
+
* workgroupArn: "STRING_VALUE", // required
|
|
117
|
+
* authConfiguration: { // RedshiftServerlessAuthConfiguration
|
|
118
|
+
* type: "IAM" || "USERNAME_PASSWORD", // required
|
|
119
|
+
* usernamePasswordSecretArn: "STRING_VALUE",
|
|
120
|
+
* },
|
|
121
|
+
* },
|
|
122
|
+
* provisionedConfiguration: { // RedshiftProvisionedConfiguration
|
|
123
|
+
* clusterIdentifier: "STRING_VALUE", // required
|
|
124
|
+
* authConfiguration: { // RedshiftProvisionedAuthConfiguration
|
|
125
|
+
* type: "IAM" || "USERNAME_PASSWORD" || "USERNAME", // required
|
|
126
|
+
* databaseUser: "STRING_VALUE",
|
|
127
|
+
* usernamePasswordSecretArn: "STRING_VALUE",
|
|
128
|
+
* },
|
|
129
|
+
* },
|
|
130
|
+
* },
|
|
131
|
+
* queryGenerationConfiguration: { // QueryGenerationConfiguration
|
|
132
|
+
* executionTimeoutSeconds: Number("int"),
|
|
133
|
+
* generationContext: { // QueryGenerationContext
|
|
134
|
+
* tables: [ // QueryGenerationTables
|
|
135
|
+
* { // QueryGenerationTable
|
|
136
|
+
* name: "STRING_VALUE", // required
|
|
137
|
+
* description: "STRING_VALUE",
|
|
138
|
+
* inclusion: "INCLUDE" || "EXCLUDE",
|
|
139
|
+
* columns: [ // QueryGenerationColumns
|
|
140
|
+
* { // QueryGenerationColumn
|
|
141
|
+
* name: "STRING_VALUE",
|
|
142
|
+
* description: "STRING_VALUE",
|
|
143
|
+
* inclusion: "INCLUDE" || "EXCLUDE",
|
|
144
|
+
* },
|
|
145
|
+
* ],
|
|
146
|
+
* },
|
|
147
|
+
* ],
|
|
148
|
+
* curatedQueries: [ // CuratedQueries
|
|
149
|
+
* { // CuratedQuery
|
|
150
|
+
* naturalLanguage: "STRING_VALUE", // required
|
|
151
|
+
* sql: "STRING_VALUE", // required
|
|
152
|
+
* },
|
|
153
|
+
* ],
|
|
154
|
+
* },
|
|
155
|
+
* },
|
|
156
|
+
* },
|
|
83
157
|
* },
|
|
84
158
|
* },
|
|
85
159
|
* storageConfiguration: { // StorageConfiguration
|
|
@@ -152,7 +226,7 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
152
226
|
* // description: "STRING_VALUE",
|
|
153
227
|
* // roleArn: "STRING_VALUE", // required
|
|
154
228
|
* // knowledgeBaseConfiguration: { // KnowledgeBaseConfiguration
|
|
155
|
-
* // type: "VECTOR", // required
|
|
229
|
+
* // type: "VECTOR" || "KENDRA" || "SQL", // required
|
|
156
230
|
* // vectorKnowledgeBaseConfiguration: { // VectorKnowledgeBaseConfiguration
|
|
157
231
|
* // embeddingModelArn: "STRING_VALUE", // required
|
|
158
232
|
* // embeddingModelConfiguration: { // EmbeddingModelConfiguration
|
|
@@ -161,6 +235,80 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
161
235
|
* // embeddingDataType: "FLOAT32" || "BINARY",
|
|
162
236
|
* // },
|
|
163
237
|
* // },
|
|
238
|
+
* // supplementalDataStorageConfiguration: { // SupplementalDataStorageConfiguration
|
|
239
|
+
* // storageLocations: [ // SupplementalDataStorageLocations // required
|
|
240
|
+
* // { // SupplementalDataStorageLocation
|
|
241
|
+
* // type: "S3", // required
|
|
242
|
+
* // s3Location: { // S3Location
|
|
243
|
+
* // uri: "STRING_VALUE", // required
|
|
244
|
+
* // },
|
|
245
|
+
* // },
|
|
246
|
+
* // ],
|
|
247
|
+
* // },
|
|
248
|
+
* // },
|
|
249
|
+
* // kendraKnowledgeBaseConfiguration: { // KendraKnowledgeBaseConfiguration
|
|
250
|
+
* // kendraIndexArn: "STRING_VALUE", // required
|
|
251
|
+
* // },
|
|
252
|
+
* // sqlKnowledgeBaseConfiguration: { // SqlKnowledgeBaseConfiguration
|
|
253
|
+
* // type: "REDSHIFT", // required
|
|
254
|
+
* // redshiftConfiguration: { // RedshiftConfiguration
|
|
255
|
+
* // storageConfigurations: [ // RedshiftQueryEngineStorageConfigurations // required
|
|
256
|
+
* // { // RedshiftQueryEngineStorageConfiguration
|
|
257
|
+
* // type: "REDSHIFT" || "AWS_DATA_CATALOG", // required
|
|
258
|
+
* // awsDataCatalogConfiguration: { // RedshiftQueryEngineAwsDataCatalogStorageConfiguration
|
|
259
|
+
* // tableNames: [ // AwsDataCatalogTableNames // required
|
|
260
|
+
* // "STRING_VALUE",
|
|
261
|
+
* // ],
|
|
262
|
+
* // },
|
|
263
|
+
* // redshiftConfiguration: { // RedshiftQueryEngineRedshiftStorageConfiguration
|
|
264
|
+
* // databaseName: "STRING_VALUE", // required
|
|
265
|
+
* // },
|
|
266
|
+
* // },
|
|
267
|
+
* // ],
|
|
268
|
+
* // queryEngineConfiguration: { // RedshiftQueryEngineConfiguration
|
|
269
|
+
* // type: "SERVERLESS" || "PROVISIONED", // required
|
|
270
|
+
* // serverlessConfiguration: { // RedshiftServerlessConfiguration
|
|
271
|
+
* // workgroupArn: "STRING_VALUE", // required
|
|
272
|
+
* // authConfiguration: { // RedshiftServerlessAuthConfiguration
|
|
273
|
+
* // type: "IAM" || "USERNAME_PASSWORD", // required
|
|
274
|
+
* // usernamePasswordSecretArn: "STRING_VALUE",
|
|
275
|
+
* // },
|
|
276
|
+
* // },
|
|
277
|
+
* // provisionedConfiguration: { // RedshiftProvisionedConfiguration
|
|
278
|
+
* // clusterIdentifier: "STRING_VALUE", // required
|
|
279
|
+
* // authConfiguration: { // RedshiftProvisionedAuthConfiguration
|
|
280
|
+
* // type: "IAM" || "USERNAME_PASSWORD" || "USERNAME", // required
|
|
281
|
+
* // databaseUser: "STRING_VALUE",
|
|
282
|
+
* // usernamePasswordSecretArn: "STRING_VALUE",
|
|
283
|
+
* // },
|
|
284
|
+
* // },
|
|
285
|
+
* // },
|
|
286
|
+
* // queryGenerationConfiguration: { // QueryGenerationConfiguration
|
|
287
|
+
* // executionTimeoutSeconds: Number("int"),
|
|
288
|
+
* // generationContext: { // QueryGenerationContext
|
|
289
|
+
* // tables: [ // QueryGenerationTables
|
|
290
|
+
* // { // QueryGenerationTable
|
|
291
|
+
* // name: "STRING_VALUE", // required
|
|
292
|
+
* // description: "STRING_VALUE",
|
|
293
|
+
* // inclusion: "INCLUDE" || "EXCLUDE",
|
|
294
|
+
* // columns: [ // QueryGenerationColumns
|
|
295
|
+
* // { // QueryGenerationColumn
|
|
296
|
+
* // name: "STRING_VALUE",
|
|
297
|
+
* // description: "STRING_VALUE",
|
|
298
|
+
* // inclusion: "INCLUDE" || "EXCLUDE",
|
|
299
|
+
* // },
|
|
300
|
+
* // ],
|
|
301
|
+
* // },
|
|
302
|
+
* // ],
|
|
303
|
+
* // curatedQueries: [ // CuratedQueries
|
|
304
|
+
* // { // CuratedQuery
|
|
305
|
+
* // naturalLanguage: "STRING_VALUE", // required
|
|
306
|
+
* // sql: "STRING_VALUE", // required
|
|
307
|
+
* // },
|
|
308
|
+
* // ],
|
|
309
|
+
* // },
|
|
310
|
+
* // },
|
|
311
|
+
* // },
|
|
164
312
|
* // },
|
|
165
313
|
* // },
|
|
166
314
|
* // storageConfiguration: { // StorageConfiguration
|
|
@@ -48,7 +48,7 @@ declare const GetDataSourceCommand_base: {
|
|
|
48
48
|
* // status: "AVAILABLE" || "DELETING" || "DELETE_UNSUCCESSFUL", // required
|
|
49
49
|
* // description: "STRING_VALUE",
|
|
50
50
|
* // dataSourceConfiguration: { // DataSourceConfiguration
|
|
51
|
-
* // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM", // required
|
|
51
|
+
* // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM" || "REDSHIFT_METADATA", // required
|
|
52
52
|
* // s3Configuration: { // S3DataSourceConfiguration
|
|
53
53
|
* // bucketArn: "STRING_VALUE", // required
|
|
54
54
|
* // inclusionPrefixes: [ // S3Prefixes
|
|
@@ -197,12 +197,16 @@ declare const GetDataSourceCommand_base: {
|
|
|
197
197
|
* // ],
|
|
198
198
|
* // },
|
|
199
199
|
* // parsingConfiguration: { // ParsingConfiguration
|
|
200
|
-
* // parsingStrategy: "BEDROCK_FOUNDATION_MODEL", // required
|
|
200
|
+
* // parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION", // required
|
|
201
201
|
* // bedrockFoundationModelConfiguration: { // BedrockFoundationModelConfiguration
|
|
202
202
|
* // modelArn: "STRING_VALUE", // required
|
|
203
203
|
* // parsingPrompt: { // ParsingPrompt
|
|
204
204
|
* // parsingPromptText: "STRING_VALUE", // required
|
|
205
205
|
* // },
|
|
206
|
+
* // parsingModality: "MULTIMODAL",
|
|
207
|
+
* // },
|
|
208
|
+
* // bedrockDataAutomationConfiguration: { // BedrockDataAutomationConfiguration
|
|
209
|
+
* // parsingModality: "MULTIMODAL",
|
|
206
210
|
* // },
|
|
207
211
|
* // },
|
|
208
212
|
* // },
|
|
@@ -47,7 +47,7 @@ declare const GetKnowledgeBaseCommand_base: {
|
|
|
47
47
|
* // description: "STRING_VALUE",
|
|
48
48
|
* // roleArn: "STRING_VALUE", // required
|
|
49
49
|
* // knowledgeBaseConfiguration: { // KnowledgeBaseConfiguration
|
|
50
|
-
* // type: "VECTOR", // required
|
|
50
|
+
* // type: "VECTOR" || "KENDRA" || "SQL", // required
|
|
51
51
|
* // vectorKnowledgeBaseConfiguration: { // VectorKnowledgeBaseConfiguration
|
|
52
52
|
* // embeddingModelArn: "STRING_VALUE", // required
|
|
53
53
|
* // embeddingModelConfiguration: { // EmbeddingModelConfiguration
|
|
@@ -56,6 +56,80 @@ declare const GetKnowledgeBaseCommand_base: {
|
|
|
56
56
|
* // embeddingDataType: "FLOAT32" || "BINARY",
|
|
57
57
|
* // },
|
|
58
58
|
* // },
|
|
59
|
+
* // supplementalDataStorageConfiguration: { // SupplementalDataStorageConfiguration
|
|
60
|
+
* // storageLocations: [ // SupplementalDataStorageLocations // required
|
|
61
|
+
* // { // SupplementalDataStorageLocation
|
|
62
|
+
* // type: "S3", // required
|
|
63
|
+
* // s3Location: { // S3Location
|
|
64
|
+
* // uri: "STRING_VALUE", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // },
|
|
69
|
+
* // },
|
|
70
|
+
* // kendraKnowledgeBaseConfiguration: { // KendraKnowledgeBaseConfiguration
|
|
71
|
+
* // kendraIndexArn: "STRING_VALUE", // required
|
|
72
|
+
* // },
|
|
73
|
+
* // sqlKnowledgeBaseConfiguration: { // SqlKnowledgeBaseConfiguration
|
|
74
|
+
* // type: "REDSHIFT", // required
|
|
75
|
+
* // redshiftConfiguration: { // RedshiftConfiguration
|
|
76
|
+
* // storageConfigurations: [ // RedshiftQueryEngineStorageConfigurations // required
|
|
77
|
+
* // { // RedshiftQueryEngineStorageConfiguration
|
|
78
|
+
* // type: "REDSHIFT" || "AWS_DATA_CATALOG", // required
|
|
79
|
+
* // awsDataCatalogConfiguration: { // RedshiftQueryEngineAwsDataCatalogStorageConfiguration
|
|
80
|
+
* // tableNames: [ // AwsDataCatalogTableNames // required
|
|
81
|
+
* // "STRING_VALUE",
|
|
82
|
+
* // ],
|
|
83
|
+
* // },
|
|
84
|
+
* // redshiftConfiguration: { // RedshiftQueryEngineRedshiftStorageConfiguration
|
|
85
|
+
* // databaseName: "STRING_VALUE", // required
|
|
86
|
+
* // },
|
|
87
|
+
* // },
|
|
88
|
+
* // ],
|
|
89
|
+
* // queryEngineConfiguration: { // RedshiftQueryEngineConfiguration
|
|
90
|
+
* // type: "SERVERLESS" || "PROVISIONED", // required
|
|
91
|
+
* // serverlessConfiguration: { // RedshiftServerlessConfiguration
|
|
92
|
+
* // workgroupArn: "STRING_VALUE", // required
|
|
93
|
+
* // authConfiguration: { // RedshiftServerlessAuthConfiguration
|
|
94
|
+
* // type: "IAM" || "USERNAME_PASSWORD", // required
|
|
95
|
+
* // usernamePasswordSecretArn: "STRING_VALUE",
|
|
96
|
+
* // },
|
|
97
|
+
* // },
|
|
98
|
+
* // provisionedConfiguration: { // RedshiftProvisionedConfiguration
|
|
99
|
+
* // clusterIdentifier: "STRING_VALUE", // required
|
|
100
|
+
* // authConfiguration: { // RedshiftProvisionedAuthConfiguration
|
|
101
|
+
* // type: "IAM" || "USERNAME_PASSWORD" || "USERNAME", // required
|
|
102
|
+
* // databaseUser: "STRING_VALUE",
|
|
103
|
+
* // usernamePasswordSecretArn: "STRING_VALUE",
|
|
104
|
+
* // },
|
|
105
|
+
* // },
|
|
106
|
+
* // },
|
|
107
|
+
* // queryGenerationConfiguration: { // QueryGenerationConfiguration
|
|
108
|
+
* // executionTimeoutSeconds: Number("int"),
|
|
109
|
+
* // generationContext: { // QueryGenerationContext
|
|
110
|
+
* // tables: [ // QueryGenerationTables
|
|
111
|
+
* // { // QueryGenerationTable
|
|
112
|
+
* // name: "STRING_VALUE", // required
|
|
113
|
+
* // description: "STRING_VALUE",
|
|
114
|
+
* // inclusion: "INCLUDE" || "EXCLUDE",
|
|
115
|
+
* // columns: [ // QueryGenerationColumns
|
|
116
|
+
* // { // QueryGenerationColumn
|
|
117
|
+
* // name: "STRING_VALUE",
|
|
118
|
+
* // description: "STRING_VALUE",
|
|
119
|
+
* // inclusion: "INCLUDE" || "EXCLUDE",
|
|
120
|
+
* // },
|
|
121
|
+
* // ],
|
|
122
|
+
* // },
|
|
123
|
+
* // ],
|
|
124
|
+
* // curatedQueries: [ // CuratedQueries
|
|
125
|
+
* // { // CuratedQuery
|
|
126
|
+
* // naturalLanguage: "STRING_VALUE", // required
|
|
127
|
+
* // sql: "STRING_VALUE", // required
|
|
128
|
+
* // },
|
|
129
|
+
* // ],
|
|
130
|
+
* // },
|
|
131
|
+
* // },
|
|
132
|
+
* // },
|
|
59
133
|
* // },
|
|
60
134
|
* // },
|
|
61
135
|
* // storageConfiguration: { // StorageConfiguration
|
|
@@ -43,7 +43,7 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
43
43
|
* name: "STRING_VALUE", // required
|
|
44
44
|
* description: "STRING_VALUE",
|
|
45
45
|
* dataSourceConfiguration: { // DataSourceConfiguration
|
|
46
|
-
* type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM", // required
|
|
46
|
+
* type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM" || "REDSHIFT_METADATA", // required
|
|
47
47
|
* s3Configuration: { // S3DataSourceConfiguration
|
|
48
48
|
* bucketArn: "STRING_VALUE", // required
|
|
49
49
|
* inclusionPrefixes: [ // S3Prefixes
|
|
@@ -193,12 +193,16 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
193
193
|
* ],
|
|
194
194
|
* },
|
|
195
195
|
* parsingConfiguration: { // ParsingConfiguration
|
|
196
|
-
* parsingStrategy: "BEDROCK_FOUNDATION_MODEL", // required
|
|
196
|
+
* parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION", // required
|
|
197
197
|
* bedrockFoundationModelConfiguration: { // BedrockFoundationModelConfiguration
|
|
198
198
|
* modelArn: "STRING_VALUE", // required
|
|
199
199
|
* parsingPrompt: { // ParsingPrompt
|
|
200
200
|
* parsingPromptText: "STRING_VALUE", // required
|
|
201
201
|
* },
|
|
202
|
+
* parsingModality: "MULTIMODAL",
|
|
203
|
+
* },
|
|
204
|
+
* bedrockDataAutomationConfiguration: { // BedrockDataAutomationConfiguration
|
|
205
|
+
* parsingModality: "MULTIMODAL",
|
|
202
206
|
* },
|
|
203
207
|
* },
|
|
204
208
|
* },
|
|
@@ -213,7 +217,7 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
213
217
|
* // status: "AVAILABLE" || "DELETING" || "DELETE_UNSUCCESSFUL", // required
|
|
214
218
|
* // description: "STRING_VALUE",
|
|
215
219
|
* // dataSourceConfiguration: { // DataSourceConfiguration
|
|
216
|
-
* // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM", // required
|
|
220
|
+
* // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM" || "REDSHIFT_METADATA", // required
|
|
217
221
|
* // s3Configuration: { // S3DataSourceConfiguration
|
|
218
222
|
* // bucketArn: "STRING_VALUE", // required
|
|
219
223
|
* // inclusionPrefixes: [ // S3Prefixes
|
|
@@ -362,12 +366,16 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
362
366
|
* // ],
|
|
363
367
|
* // },
|
|
364
368
|
* // parsingConfiguration: { // ParsingConfiguration
|
|
365
|
-
* // parsingStrategy: "BEDROCK_FOUNDATION_MODEL", // required
|
|
369
|
+
* // parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION", // required
|
|
366
370
|
* // bedrockFoundationModelConfiguration: { // BedrockFoundationModelConfiguration
|
|
367
371
|
* // modelArn: "STRING_VALUE", // required
|
|
368
372
|
* // parsingPrompt: { // ParsingPrompt
|
|
369
373
|
* // parsingPromptText: "STRING_VALUE", // required
|
|
370
374
|
* // },
|
|
375
|
+
* // parsingModality: "MULTIMODAL",
|
|
376
|
+
* // },
|
|
377
|
+
* // bedrockDataAutomationConfiguration: { // BedrockDataAutomationConfiguration
|
|
378
|
+
* // parsingModality: "MULTIMODAL",
|
|
371
379
|
* // },
|
|
372
380
|
* // },
|
|
373
381
|
* // },
|
|
@@ -59,7 +59,7 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
59
59
|
* description: "STRING_VALUE",
|
|
60
60
|
* roleArn: "STRING_VALUE", // required
|
|
61
61
|
* knowledgeBaseConfiguration: { // KnowledgeBaseConfiguration
|
|
62
|
-
* type: "VECTOR", // required
|
|
62
|
+
* type: "VECTOR" || "KENDRA" || "SQL", // required
|
|
63
63
|
* vectorKnowledgeBaseConfiguration: { // VectorKnowledgeBaseConfiguration
|
|
64
64
|
* embeddingModelArn: "STRING_VALUE", // required
|
|
65
65
|
* embeddingModelConfiguration: { // EmbeddingModelConfiguration
|
|
@@ -68,6 +68,80 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
68
68
|
* embeddingDataType: "FLOAT32" || "BINARY",
|
|
69
69
|
* },
|
|
70
70
|
* },
|
|
71
|
+
* supplementalDataStorageConfiguration: { // SupplementalDataStorageConfiguration
|
|
72
|
+
* storageLocations: [ // SupplementalDataStorageLocations // required
|
|
73
|
+
* { // SupplementalDataStorageLocation
|
|
74
|
+
* type: "S3", // required
|
|
75
|
+
* s3Location: { // S3Location
|
|
76
|
+
* uri: "STRING_VALUE", // required
|
|
77
|
+
* },
|
|
78
|
+
* },
|
|
79
|
+
* ],
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
82
|
+
* kendraKnowledgeBaseConfiguration: { // KendraKnowledgeBaseConfiguration
|
|
83
|
+
* kendraIndexArn: "STRING_VALUE", // required
|
|
84
|
+
* },
|
|
85
|
+
* sqlKnowledgeBaseConfiguration: { // SqlKnowledgeBaseConfiguration
|
|
86
|
+
* type: "REDSHIFT", // required
|
|
87
|
+
* redshiftConfiguration: { // RedshiftConfiguration
|
|
88
|
+
* storageConfigurations: [ // RedshiftQueryEngineStorageConfigurations // required
|
|
89
|
+
* { // RedshiftQueryEngineStorageConfiguration
|
|
90
|
+
* type: "REDSHIFT" || "AWS_DATA_CATALOG", // required
|
|
91
|
+
* awsDataCatalogConfiguration: { // RedshiftQueryEngineAwsDataCatalogStorageConfiguration
|
|
92
|
+
* tableNames: [ // AwsDataCatalogTableNames // required
|
|
93
|
+
* "STRING_VALUE",
|
|
94
|
+
* ],
|
|
95
|
+
* },
|
|
96
|
+
* redshiftConfiguration: { // RedshiftQueryEngineRedshiftStorageConfiguration
|
|
97
|
+
* databaseName: "STRING_VALUE", // required
|
|
98
|
+
* },
|
|
99
|
+
* },
|
|
100
|
+
* ],
|
|
101
|
+
* queryEngineConfiguration: { // RedshiftQueryEngineConfiguration
|
|
102
|
+
* type: "SERVERLESS" || "PROVISIONED", // required
|
|
103
|
+
* serverlessConfiguration: { // RedshiftServerlessConfiguration
|
|
104
|
+
* workgroupArn: "STRING_VALUE", // required
|
|
105
|
+
* authConfiguration: { // RedshiftServerlessAuthConfiguration
|
|
106
|
+
* type: "IAM" || "USERNAME_PASSWORD", // required
|
|
107
|
+
* usernamePasswordSecretArn: "STRING_VALUE",
|
|
108
|
+
* },
|
|
109
|
+
* },
|
|
110
|
+
* provisionedConfiguration: { // RedshiftProvisionedConfiguration
|
|
111
|
+
* clusterIdentifier: "STRING_VALUE", // required
|
|
112
|
+
* authConfiguration: { // RedshiftProvisionedAuthConfiguration
|
|
113
|
+
* type: "IAM" || "USERNAME_PASSWORD" || "USERNAME", // required
|
|
114
|
+
* databaseUser: "STRING_VALUE",
|
|
115
|
+
* usernamePasswordSecretArn: "STRING_VALUE",
|
|
116
|
+
* },
|
|
117
|
+
* },
|
|
118
|
+
* },
|
|
119
|
+
* queryGenerationConfiguration: { // QueryGenerationConfiguration
|
|
120
|
+
* executionTimeoutSeconds: Number("int"),
|
|
121
|
+
* generationContext: { // QueryGenerationContext
|
|
122
|
+
* tables: [ // QueryGenerationTables
|
|
123
|
+
* { // QueryGenerationTable
|
|
124
|
+
* name: "STRING_VALUE", // required
|
|
125
|
+
* description: "STRING_VALUE",
|
|
126
|
+
* inclusion: "INCLUDE" || "EXCLUDE",
|
|
127
|
+
* columns: [ // QueryGenerationColumns
|
|
128
|
+
* { // QueryGenerationColumn
|
|
129
|
+
* name: "STRING_VALUE",
|
|
130
|
+
* description: "STRING_VALUE",
|
|
131
|
+
* inclusion: "INCLUDE" || "EXCLUDE",
|
|
132
|
+
* },
|
|
133
|
+
* ],
|
|
134
|
+
* },
|
|
135
|
+
* ],
|
|
136
|
+
* curatedQueries: [ // CuratedQueries
|
|
137
|
+
* { // CuratedQuery
|
|
138
|
+
* naturalLanguage: "STRING_VALUE", // required
|
|
139
|
+
* sql: "STRING_VALUE", // required
|
|
140
|
+
* },
|
|
141
|
+
* ],
|
|
142
|
+
* },
|
|
143
|
+
* },
|
|
144
|
+
* },
|
|
71
145
|
* },
|
|
72
146
|
* },
|
|
73
147
|
* storageConfiguration: { // StorageConfiguration
|
|
@@ -137,7 +211,7 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
137
211
|
* // description: "STRING_VALUE",
|
|
138
212
|
* // roleArn: "STRING_VALUE", // required
|
|
139
213
|
* // knowledgeBaseConfiguration: { // KnowledgeBaseConfiguration
|
|
140
|
-
* // type: "VECTOR", // required
|
|
214
|
+
* // type: "VECTOR" || "KENDRA" || "SQL", // required
|
|
141
215
|
* // vectorKnowledgeBaseConfiguration: { // VectorKnowledgeBaseConfiguration
|
|
142
216
|
* // embeddingModelArn: "STRING_VALUE", // required
|
|
143
217
|
* // embeddingModelConfiguration: { // EmbeddingModelConfiguration
|
|
@@ -146,6 +220,80 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
146
220
|
* // embeddingDataType: "FLOAT32" || "BINARY",
|
|
147
221
|
* // },
|
|
148
222
|
* // },
|
|
223
|
+
* // supplementalDataStorageConfiguration: { // SupplementalDataStorageConfiguration
|
|
224
|
+
* // storageLocations: [ // SupplementalDataStorageLocations // required
|
|
225
|
+
* // { // SupplementalDataStorageLocation
|
|
226
|
+
* // type: "S3", // required
|
|
227
|
+
* // s3Location: { // S3Location
|
|
228
|
+
* // uri: "STRING_VALUE", // required
|
|
229
|
+
* // },
|
|
230
|
+
* // },
|
|
231
|
+
* // ],
|
|
232
|
+
* // },
|
|
233
|
+
* // },
|
|
234
|
+
* // kendraKnowledgeBaseConfiguration: { // KendraKnowledgeBaseConfiguration
|
|
235
|
+
* // kendraIndexArn: "STRING_VALUE", // required
|
|
236
|
+
* // },
|
|
237
|
+
* // sqlKnowledgeBaseConfiguration: { // SqlKnowledgeBaseConfiguration
|
|
238
|
+
* // type: "REDSHIFT", // required
|
|
239
|
+
* // redshiftConfiguration: { // RedshiftConfiguration
|
|
240
|
+
* // storageConfigurations: [ // RedshiftQueryEngineStorageConfigurations // required
|
|
241
|
+
* // { // RedshiftQueryEngineStorageConfiguration
|
|
242
|
+
* // type: "REDSHIFT" || "AWS_DATA_CATALOG", // required
|
|
243
|
+
* // awsDataCatalogConfiguration: { // RedshiftQueryEngineAwsDataCatalogStorageConfiguration
|
|
244
|
+
* // tableNames: [ // AwsDataCatalogTableNames // required
|
|
245
|
+
* // "STRING_VALUE",
|
|
246
|
+
* // ],
|
|
247
|
+
* // },
|
|
248
|
+
* // redshiftConfiguration: { // RedshiftQueryEngineRedshiftStorageConfiguration
|
|
249
|
+
* // databaseName: "STRING_VALUE", // required
|
|
250
|
+
* // },
|
|
251
|
+
* // },
|
|
252
|
+
* // ],
|
|
253
|
+
* // queryEngineConfiguration: { // RedshiftQueryEngineConfiguration
|
|
254
|
+
* // type: "SERVERLESS" || "PROVISIONED", // required
|
|
255
|
+
* // serverlessConfiguration: { // RedshiftServerlessConfiguration
|
|
256
|
+
* // workgroupArn: "STRING_VALUE", // required
|
|
257
|
+
* // authConfiguration: { // RedshiftServerlessAuthConfiguration
|
|
258
|
+
* // type: "IAM" || "USERNAME_PASSWORD", // required
|
|
259
|
+
* // usernamePasswordSecretArn: "STRING_VALUE",
|
|
260
|
+
* // },
|
|
261
|
+
* // },
|
|
262
|
+
* // provisionedConfiguration: { // RedshiftProvisionedConfiguration
|
|
263
|
+
* // clusterIdentifier: "STRING_VALUE", // required
|
|
264
|
+
* // authConfiguration: { // RedshiftProvisionedAuthConfiguration
|
|
265
|
+
* // type: "IAM" || "USERNAME_PASSWORD" || "USERNAME", // required
|
|
266
|
+
* // databaseUser: "STRING_VALUE",
|
|
267
|
+
* // usernamePasswordSecretArn: "STRING_VALUE",
|
|
268
|
+
* // },
|
|
269
|
+
* // },
|
|
270
|
+
* // },
|
|
271
|
+
* // queryGenerationConfiguration: { // QueryGenerationConfiguration
|
|
272
|
+
* // executionTimeoutSeconds: Number("int"),
|
|
273
|
+
* // generationContext: { // QueryGenerationContext
|
|
274
|
+
* // tables: [ // QueryGenerationTables
|
|
275
|
+
* // { // QueryGenerationTable
|
|
276
|
+
* // name: "STRING_VALUE", // required
|
|
277
|
+
* // description: "STRING_VALUE",
|
|
278
|
+
* // inclusion: "INCLUDE" || "EXCLUDE",
|
|
279
|
+
* // columns: [ // QueryGenerationColumns
|
|
280
|
+
* // { // QueryGenerationColumn
|
|
281
|
+
* // name: "STRING_VALUE",
|
|
282
|
+
* // description: "STRING_VALUE",
|
|
283
|
+
* // inclusion: "INCLUDE" || "EXCLUDE",
|
|
284
|
+
* // },
|
|
285
|
+
* // ],
|
|
286
|
+
* // },
|
|
287
|
+
* // ],
|
|
288
|
+
* // curatedQueries: [ // CuratedQueries
|
|
289
|
+
* // { // CuratedQuery
|
|
290
|
+
* // naturalLanguage: "STRING_VALUE", // required
|
|
291
|
+
* // sql: "STRING_VALUE", // required
|
|
292
|
+
* // },
|
|
293
|
+
* // ],
|
|
294
|
+
* // },
|
|
295
|
+
* // },
|
|
296
|
+
* // },
|
|
149
297
|
* // },
|
|
150
298
|
* // },
|
|
151
299
|
* // storageConfiguration: { // StorageConfiguration
|