@aws-sdk/client-bedrock-runtime 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.
@@ -135,6 +135,18 @@ declare const ConverseCommand_base: {
135
135
  * s3Location: "<S3Location>",
136
136
  * },
137
137
  * },
138
+ * searchResult: { // SearchResultBlock
139
+ * source: "STRING_VALUE", // required
140
+ * title: "STRING_VALUE", // required
141
+ * content: [ // SearchResultContentBlocks // required
142
+ * { // SearchResultContentBlock
143
+ * text: "STRING_VALUE", // required
144
+ * },
145
+ * ],
146
+ * citations: {
147
+ * enabled: true || false, // required
148
+ * },
149
+ * },
138
150
  * },
139
151
  * ],
140
152
  * status: "success" || "error",
@@ -173,6 +185,7 @@ declare const ConverseCommand_base: {
173
185
  * citations: [ // Citations
174
186
  * { // Citation
175
187
  * title: "STRING_VALUE",
188
+ * source: "STRING_VALUE",
176
189
  * sourceContent: [ // CitationSourceContentList
177
190
  * { // CitationSourceContent Union: only one key present
178
191
  * text: "STRING_VALUE",
@@ -198,10 +211,27 @@ declare const ConverseCommand_base: {
198
211
  * start: Number("int"),
199
212
  * end: Number("int"),
200
213
  * },
214
+ * searchResultLocation: { // SearchResultLocation
215
+ * searchResultIndex: Number("int"),
216
+ * start: Number("int"),
217
+ * end: Number("int"),
218
+ * },
201
219
  * },
202
220
  * },
203
221
  * ],
204
222
  * },
223
+ * searchResult: {
224
+ * source: "STRING_VALUE", // required
225
+ * title: "STRING_VALUE", // required
226
+ * content: [ // required
227
+ * {
228
+ * text: "STRING_VALUE", // required
229
+ * },
230
+ * ],
231
+ * citations: {
232
+ * enabled: true || false, // required
233
+ * },
234
+ * },
205
235
  * },
206
236
  * ],
207
237
  * },
@@ -280,6 +310,9 @@ declare const ConverseCommand_base: {
280
310
  * performanceConfig: { // PerformanceConfiguration
281
311
  * latency: "standard" || "optimized",
282
312
  * },
313
+ * serviceTier: { // ServiceTier
314
+ * type: "priority" || "default" || "flex", // required
315
+ * },
283
316
  * };
284
317
  * const command = new ConverseCommand(input);
285
318
  * const response = await client.send(command);
@@ -381,6 +414,18 @@ declare const ConverseCommand_base: {
381
414
  * // s3Location: "<S3Location>",
382
415
  * // },
383
416
  * // },
417
+ * // searchResult: { // SearchResultBlock
418
+ * // source: "STRING_VALUE", // required
419
+ * // title: "STRING_VALUE", // required
420
+ * // content: [ // SearchResultContentBlocks // required
421
+ * // { // SearchResultContentBlock
422
+ * // text: "STRING_VALUE", // required
423
+ * // },
424
+ * // ],
425
+ * // citations: {
426
+ * // enabled: true || false, // required
427
+ * // },
428
+ * // },
384
429
  * // },
385
430
  * // ],
386
431
  * // status: "success" || "error",
@@ -419,6 +464,7 @@ declare const ConverseCommand_base: {
419
464
  * // citations: [ // Citations
420
465
  * // { // Citation
421
466
  * // title: "STRING_VALUE",
467
+ * // source: "STRING_VALUE",
422
468
  * // sourceContent: [ // CitationSourceContentList
423
469
  * // { // CitationSourceContent Union: only one key present
424
470
  * // text: "STRING_VALUE",
@@ -444,10 +490,27 @@ declare const ConverseCommand_base: {
444
490
  * // start: Number("int"),
445
491
  * // end: Number("int"),
446
492
  * // },
493
+ * // searchResultLocation: { // SearchResultLocation
494
+ * // searchResultIndex: Number("int"),
495
+ * // start: Number("int"),
496
+ * // end: Number("int"),
497
+ * // },
447
498
  * // },
448
499
  * // },
449
500
  * // ],
450
501
  * // },
502
+ * // searchResult: {
503
+ * // source: "STRING_VALUE", // required
504
+ * // title: "STRING_VALUE", // required
505
+ * // content: [ // required
506
+ * // {
507
+ * // text: "STRING_VALUE", // required
508
+ * // },
509
+ * // ],
510
+ * // citations: {
511
+ * // enabled: true || false, // required
512
+ * // },
513
+ * // },
451
514
  * // },
452
515
  * // ],
453
516
  * // },
@@ -886,6 +949,9 @@ declare const ConverseCommand_base: {
886
949
  * // performanceConfig: { // PerformanceConfiguration
887
950
  * // latency: "standard" || "optimized",
888
951
  * // },
952
+ * // serviceTier: { // ServiceTier
953
+ * // type: "priority" || "default" || "flex", // required
954
+ * // },
889
955
  * // };
890
956
  *
891
957
  * ```
@@ -135,6 +135,18 @@ declare const ConverseStreamCommand_base: {
135
135
  * s3Location: "<S3Location>",
136
136
  * },
137
137
  * },
138
+ * searchResult: { // SearchResultBlock
139
+ * source: "STRING_VALUE", // required
140
+ * title: "STRING_VALUE", // required
141
+ * content: [ // SearchResultContentBlocks // required
142
+ * { // SearchResultContentBlock
143
+ * text: "STRING_VALUE", // required
144
+ * },
145
+ * ],
146
+ * citations: {
147
+ * enabled: true || false, // required
148
+ * },
149
+ * },
138
150
  * },
139
151
  * ],
140
152
  * status: "success" || "error",
@@ -173,6 +185,7 @@ declare const ConverseStreamCommand_base: {
173
185
  * citations: [ // Citations
174
186
  * { // Citation
175
187
  * title: "STRING_VALUE",
188
+ * source: "STRING_VALUE",
176
189
  * sourceContent: [ // CitationSourceContentList
177
190
  * { // CitationSourceContent Union: only one key present
178
191
  * text: "STRING_VALUE",
@@ -198,10 +211,27 @@ declare const ConverseStreamCommand_base: {
198
211
  * start: Number("int"),
199
212
  * end: Number("int"),
200
213
  * },
214
+ * searchResultLocation: { // SearchResultLocation
215
+ * searchResultIndex: Number("int"),
216
+ * start: Number("int"),
217
+ * end: Number("int"),
218
+ * },
201
219
  * },
202
220
  * },
203
221
  * ],
204
222
  * },
223
+ * searchResult: {
224
+ * source: "STRING_VALUE", // required
225
+ * title: "STRING_VALUE", // required
226
+ * content: [ // required
227
+ * {
228
+ * text: "STRING_VALUE", // required
229
+ * },
230
+ * ],
231
+ * citations: {
232
+ * enabled: true || false, // required
233
+ * },
234
+ * },
205
235
  * },
206
236
  * ],
207
237
  * },
@@ -281,6 +311,9 @@ declare const ConverseStreamCommand_base: {
281
311
  * performanceConfig: { // PerformanceConfiguration
282
312
  * latency: "standard" || "optimized",
283
313
  * },
314
+ * serviceTier: { // ServiceTier
315
+ * type: "priority" || "default" || "flex", // required
316
+ * },
284
317
  * };
285
318
  * const command = new ConverseStreamCommand(input);
286
319
  * const response = await client.send(command);
@@ -322,6 +355,7 @@ declare const ConverseStreamCommand_base: {
322
355
  * // },
323
356
  * // citation: { // CitationsDelta
324
357
  * // title: "STRING_VALUE",
358
+ * // source: "STRING_VALUE",
325
359
  * // sourceContent: [ // CitationSourceContentListDelta
326
360
  * // { // CitationSourceContentDelta
327
361
  * // text: "STRING_VALUE",
@@ -347,6 +381,11 @@ declare const ConverseStreamCommand_base: {
347
381
  * // start: Number("int"),
348
382
  * // end: Number("int"),
349
383
  * // },
384
+ * // searchResultLocation: { // SearchResultLocation
385
+ * // searchResultIndex: Number("int"),
386
+ * // start: Number("int"),
387
+ * // end: Number("int"),
388
+ * // },
350
389
  * // },
351
390
  * // },
352
391
  * // },
@@ -792,6 +831,9 @@ declare const ConverseStreamCommand_base: {
792
831
  * // performanceConfig: { // PerformanceConfiguration
793
832
  * // latency: "standard" || "optimized",
794
833
  * // },
834
+ * // serviceTier: { // ServiceTier
835
+ * // type: "priority" || "default" || "flex", // required
836
+ * // },
795
837
  * // },
796
838
  * // internalServerException: { // InternalServerException
797
839
  * // message: "STRING_VALUE",
@@ -140,6 +140,18 @@ declare const CountTokensCommand_base: {
140
140
  * s3Location: "<S3Location>",
141
141
  * },
142
142
  * },
143
+ * searchResult: { // SearchResultBlock
144
+ * source: "STRING_VALUE", // required
145
+ * title: "STRING_VALUE", // required
146
+ * content: [ // SearchResultContentBlocks // required
147
+ * { // SearchResultContentBlock
148
+ * text: "STRING_VALUE", // required
149
+ * },
150
+ * ],
151
+ * citations: {
152
+ * enabled: true || false, // required
153
+ * },
154
+ * },
143
155
  * },
144
156
  * ],
145
157
  * status: "success" || "error",
@@ -178,6 +190,7 @@ declare const CountTokensCommand_base: {
178
190
  * citations: [ // Citations
179
191
  * { // Citation
180
192
  * title: "STRING_VALUE",
193
+ * source: "STRING_VALUE",
181
194
  * sourceContent: [ // CitationSourceContentList
182
195
  * { // CitationSourceContent Union: only one key present
183
196
  * text: "STRING_VALUE",
@@ -203,10 +216,27 @@ declare const CountTokensCommand_base: {
203
216
  * start: Number("int"),
204
217
  * end: Number("int"),
205
218
  * },
219
+ * searchResultLocation: { // SearchResultLocation
220
+ * searchResultIndex: Number("int"),
221
+ * start: Number("int"),
222
+ * end: Number("int"),
223
+ * },
206
224
  * },
207
225
  * },
208
226
  * ],
209
227
  * },
228
+ * searchResult: {
229
+ * source: "STRING_VALUE", // required
230
+ * title: "STRING_VALUE", // required
231
+ * content: [ // required
232
+ * {
233
+ * text: "STRING_VALUE", // required
234
+ * },
235
+ * ],
236
+ * citations: {
237
+ * enabled: true || false, // required
238
+ * },
239
+ * },
210
240
  * },
211
241
  * ],
212
242
  * },
@@ -233,6 +263,31 @@ declare const CountTokensCommand_base: {
233
263
  * },
234
264
  * },
235
265
  * ],
266
+ * toolConfig: { // ToolConfiguration
267
+ * tools: [ // Tools // required
268
+ * { // Tool Union: only one key present
269
+ * toolSpec: { // ToolSpecification
270
+ * name: "STRING_VALUE", // required
271
+ * description: "STRING_VALUE",
272
+ * inputSchema: { // ToolInputSchema Union: only one key present
273
+ * json: "DOCUMENT_VALUE",
274
+ * },
275
+ * },
276
+ * systemTool: { // SystemTool
277
+ * name: "STRING_VALUE", // required
278
+ * },
279
+ * cachePoint: "<CachePointBlock>",
280
+ * },
281
+ * ],
282
+ * toolChoice: { // ToolChoice Union: only one key present
283
+ * auto: {},
284
+ * any: {},
285
+ * tool: { // SpecificToolChoice
286
+ * name: "STRING_VALUE", // required
287
+ * },
288
+ * },
289
+ * },
290
+ * additionalModelRequestFields: "DOCUMENT_VALUE",
236
291
  * },
237
292
  * },
238
293
  * };
@@ -58,6 +58,7 @@ declare const InvokeModelCommand_base: {
58
58
  * guardrailIdentifier: "STRING_VALUE",
59
59
  * guardrailVersion: "STRING_VALUE",
60
60
  * performanceConfigLatency: "standard" || "optimized",
61
+ * serviceTier: "priority" || "default" || "flex",
61
62
  * };
62
63
  * const command = new InvokeModelCommand(input);
63
64
  * const response = await client.send(command);
@@ -65,6 +66,7 @@ declare const InvokeModelCommand_base: {
65
66
  * // body: new Uint8Array(), // required
66
67
  * // contentType: "STRING_VALUE", // required
67
68
  * // performanceConfigLatency: "standard" || "optimized",
69
+ * // serviceTier: "priority" || "default" || "flex",
68
70
  * // };
69
71
  *
70
72
  * ```
@@ -51,6 +51,7 @@ declare const InvokeModelWithResponseStreamCommand_base: {
51
51
  * guardrailIdentifier: "STRING_VALUE",
52
52
  * guardrailVersion: "STRING_VALUE",
53
53
  * performanceConfigLatency: "standard" || "optimized",
54
+ * serviceTier: "priority" || "default" || "flex",
54
55
  * };
55
56
  * const command = new InvokeModelWithResponseStreamCommand(input);
56
57
  * const response = await client.send(command);
@@ -82,6 +83,7 @@ declare const InvokeModelWithResponseStreamCommand_base: {
82
83
  * // },
83
84
  * // contentType: "STRING_VALUE", // required
84
85
  * // performanceConfigLatency: "standard" || "optimized",
86
+ * // serviceTier: "priority" || "default" || "flex",
85
87
  * // };
86
88
  *
87
89
  * ```
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { BedrockRuntimeExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
- export * from "./models";
13
+ export * from "./models/enums";
14
+ export * from "./models/errors";
15
+ export type * from "./models/models_0";
14
16
  export { BedrockRuntimeServiceException } from "./models/BedrockRuntimeServiceException";