@aws-sdk/client-bedrock-runtime 3.987.0 → 3.988.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 +29 -1843
- package/dist-cjs/models/BedrockRuntimeServiceException.js +12 -0
- package/dist-cjs/models/errors.js +169 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1500 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +93 -87
- package/dist-types/schemas/schemas_0.d.ts +19 -12
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -12
- package/package.json +15 -15
package/dist-cjs/index.js
CHANGED
|
@@ -18,6 +18,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
18
18
|
var runtimeConfig = require('./runtimeConfig');
|
|
19
19
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
20
20
|
var protocolHttp = require('@smithy/protocol-http');
|
|
21
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
22
|
+
var errors = require('./models/errors');
|
|
23
|
+
var BedrockRuntimeServiceException = require('./models/BedrockRuntimeServiceException');
|
|
21
24
|
|
|
22
25
|
const resolveClientEndpointParameters = (options) => {
|
|
23
26
|
return Object.assign(options, {
|
|
@@ -125,1647 +128,6 @@ class BedrockRuntimeClient extends smithyClient.Client {
|
|
|
125
128
|
}
|
|
126
129
|
}
|
|
127
130
|
|
|
128
|
-
class BedrockRuntimeServiceException extends smithyClient.ServiceException {
|
|
129
|
-
constructor(options) {
|
|
130
|
-
super(options);
|
|
131
|
-
Object.setPrototypeOf(this, BedrockRuntimeServiceException.prototype);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
class AccessDeniedException extends BedrockRuntimeServiceException {
|
|
136
|
-
name = "AccessDeniedException";
|
|
137
|
-
$fault = "client";
|
|
138
|
-
constructor(opts) {
|
|
139
|
-
super({
|
|
140
|
-
name: "AccessDeniedException",
|
|
141
|
-
$fault: "client",
|
|
142
|
-
...opts,
|
|
143
|
-
});
|
|
144
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
class InternalServerException extends BedrockRuntimeServiceException {
|
|
148
|
-
name = "InternalServerException";
|
|
149
|
-
$fault = "server";
|
|
150
|
-
constructor(opts) {
|
|
151
|
-
super({
|
|
152
|
-
name: "InternalServerException",
|
|
153
|
-
$fault: "server",
|
|
154
|
-
...opts,
|
|
155
|
-
});
|
|
156
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
class ThrottlingException extends BedrockRuntimeServiceException {
|
|
160
|
-
name = "ThrottlingException";
|
|
161
|
-
$fault = "client";
|
|
162
|
-
constructor(opts) {
|
|
163
|
-
super({
|
|
164
|
-
name: "ThrottlingException",
|
|
165
|
-
$fault: "client",
|
|
166
|
-
...opts,
|
|
167
|
-
});
|
|
168
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
class ValidationException extends BedrockRuntimeServiceException {
|
|
172
|
-
name = "ValidationException";
|
|
173
|
-
$fault = "client";
|
|
174
|
-
constructor(opts) {
|
|
175
|
-
super({
|
|
176
|
-
name: "ValidationException",
|
|
177
|
-
$fault: "client",
|
|
178
|
-
...opts,
|
|
179
|
-
});
|
|
180
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
class ConflictException extends BedrockRuntimeServiceException {
|
|
184
|
-
name = "ConflictException";
|
|
185
|
-
$fault = "client";
|
|
186
|
-
constructor(opts) {
|
|
187
|
-
super({
|
|
188
|
-
name: "ConflictException",
|
|
189
|
-
$fault: "client",
|
|
190
|
-
...opts,
|
|
191
|
-
});
|
|
192
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
class ResourceNotFoundException extends BedrockRuntimeServiceException {
|
|
196
|
-
name = "ResourceNotFoundException";
|
|
197
|
-
$fault = "client";
|
|
198
|
-
constructor(opts) {
|
|
199
|
-
super({
|
|
200
|
-
name: "ResourceNotFoundException",
|
|
201
|
-
$fault: "client",
|
|
202
|
-
...opts,
|
|
203
|
-
});
|
|
204
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
class ServiceQuotaExceededException extends BedrockRuntimeServiceException {
|
|
208
|
-
name = "ServiceQuotaExceededException";
|
|
209
|
-
$fault = "client";
|
|
210
|
-
constructor(opts) {
|
|
211
|
-
super({
|
|
212
|
-
name: "ServiceQuotaExceededException",
|
|
213
|
-
$fault: "client",
|
|
214
|
-
...opts,
|
|
215
|
-
});
|
|
216
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
class ServiceUnavailableException extends BedrockRuntimeServiceException {
|
|
220
|
-
name = "ServiceUnavailableException";
|
|
221
|
-
$fault = "server";
|
|
222
|
-
constructor(opts) {
|
|
223
|
-
super({
|
|
224
|
-
name: "ServiceUnavailableException",
|
|
225
|
-
$fault: "server",
|
|
226
|
-
...opts,
|
|
227
|
-
});
|
|
228
|
-
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
class ModelErrorException extends BedrockRuntimeServiceException {
|
|
232
|
-
name = "ModelErrorException";
|
|
233
|
-
$fault = "client";
|
|
234
|
-
originalStatusCode;
|
|
235
|
-
resourceName;
|
|
236
|
-
constructor(opts) {
|
|
237
|
-
super({
|
|
238
|
-
name: "ModelErrorException",
|
|
239
|
-
$fault: "client",
|
|
240
|
-
...opts,
|
|
241
|
-
});
|
|
242
|
-
Object.setPrototypeOf(this, ModelErrorException.prototype);
|
|
243
|
-
this.originalStatusCode = opts.originalStatusCode;
|
|
244
|
-
this.resourceName = opts.resourceName;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
class ModelNotReadyException extends BedrockRuntimeServiceException {
|
|
248
|
-
name = "ModelNotReadyException";
|
|
249
|
-
$fault = "client";
|
|
250
|
-
$retryable = {};
|
|
251
|
-
constructor(opts) {
|
|
252
|
-
super({
|
|
253
|
-
name: "ModelNotReadyException",
|
|
254
|
-
$fault: "client",
|
|
255
|
-
...opts,
|
|
256
|
-
});
|
|
257
|
-
Object.setPrototypeOf(this, ModelNotReadyException.prototype);
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
class ModelTimeoutException extends BedrockRuntimeServiceException {
|
|
261
|
-
name = "ModelTimeoutException";
|
|
262
|
-
$fault = "client";
|
|
263
|
-
constructor(opts) {
|
|
264
|
-
super({
|
|
265
|
-
name: "ModelTimeoutException",
|
|
266
|
-
$fault: "client",
|
|
267
|
-
...opts,
|
|
268
|
-
});
|
|
269
|
-
Object.setPrototypeOf(this, ModelTimeoutException.prototype);
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
class ModelStreamErrorException extends BedrockRuntimeServiceException {
|
|
273
|
-
name = "ModelStreamErrorException";
|
|
274
|
-
$fault = "client";
|
|
275
|
-
originalStatusCode;
|
|
276
|
-
originalMessage;
|
|
277
|
-
constructor(opts) {
|
|
278
|
-
super({
|
|
279
|
-
name: "ModelStreamErrorException",
|
|
280
|
-
$fault: "client",
|
|
281
|
-
...opts,
|
|
282
|
-
});
|
|
283
|
-
Object.setPrototypeOf(this, ModelStreamErrorException.prototype);
|
|
284
|
-
this.originalStatusCode = opts.originalStatusCode;
|
|
285
|
-
this.originalMessage = opts.originalMessage;
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
const _A = "Accept";
|
|
290
|
-
const _AB = "AudioBlock";
|
|
291
|
-
const _ADE = "AccessDeniedException";
|
|
292
|
-
const _AG = "ApplyGuardrail";
|
|
293
|
-
const _AGD = "AppliedGuardrailDetails";
|
|
294
|
-
const _AGR = "ApplyGuardrailRequest";
|
|
295
|
-
const _AGRp = "ApplyGuardrailResponse";
|
|
296
|
-
const _AIM = "AsyncInvokeMessage";
|
|
297
|
-
const _AIODC = "AsyncInvokeOutputDataConfig";
|
|
298
|
-
const _AIS = "AsyncInvokeSummary";
|
|
299
|
-
const _AISODC = "AsyncInvokeS3OutputDataConfig";
|
|
300
|
-
const _AISs = "AsyncInvokeSummaries";
|
|
301
|
-
const _AS = "AudioSource";
|
|
302
|
-
const _ATC = "AnyToolChoice";
|
|
303
|
-
const _ATCu = "AutoToolChoice";
|
|
304
|
-
const _B = "Body";
|
|
305
|
-
const _BIPP = "BidirectionalInputPayloadPart";
|
|
306
|
-
const _BOPP = "BidirectionalOutputPayloadPart";
|
|
307
|
-
const _C = "Citation";
|
|
308
|
-
const _CB = "ContentBlocks";
|
|
309
|
-
const _CBD = "ContentBlockDelta";
|
|
310
|
-
const _CBDE = "ContentBlockDeltaEvent";
|
|
311
|
-
const _CBS = "ContentBlockStart";
|
|
312
|
-
const _CBSE = "ContentBlockStartEvent";
|
|
313
|
-
const _CBSEo = "ContentBlockStopEvent";
|
|
314
|
-
const _CBo = "ContentBlock";
|
|
315
|
-
const _CC = "CitationsConfig";
|
|
316
|
-
const _CCB = "CitationsContentBlock";
|
|
317
|
-
const _CD = "CacheDetail";
|
|
318
|
-
const _CDL = "CacheDetailsList";
|
|
319
|
-
const _CDi = "CitationsDelta";
|
|
320
|
-
const _CE = "ConflictException";
|
|
321
|
-
const _CGC = "CitationGeneratedContent";
|
|
322
|
-
const _CGCL = "CitationGeneratedContentList";
|
|
323
|
-
const _CL = "CitationLocation";
|
|
324
|
-
const _CM = "ConverseMetrics";
|
|
325
|
-
const _CO = "ConverseOutput";
|
|
326
|
-
const _CPB = "CachePointBlock";
|
|
327
|
-
const _CR = "ConverseRequest";
|
|
328
|
-
const _CRo = "ConverseResponse";
|
|
329
|
-
const _CS = "ConverseStream";
|
|
330
|
-
const _CSC = "CitationSourceContent";
|
|
331
|
-
const _CSCD = "CitationSourceContentDelta";
|
|
332
|
-
const _CSCL = "CitationSourceContentList";
|
|
333
|
-
const _CSCLD = "CitationSourceContentListDelta";
|
|
334
|
-
const _CSM = "ConverseStreamMetrics";
|
|
335
|
-
const _CSME = "ConverseStreamMetadataEvent";
|
|
336
|
-
const _CSO = "ConverseStreamOutput";
|
|
337
|
-
const _CSR = "ConverseStreamRequest";
|
|
338
|
-
const _CSRo = "ConverseStreamResponse";
|
|
339
|
-
const _CST = "ConverseStreamTrace";
|
|
340
|
-
const _CT = "ConverseTrace";
|
|
341
|
-
const _CTI = "CountTokensInput";
|
|
342
|
-
const _CTR = "ConverseTokensRequest";
|
|
343
|
-
const _CTRo = "CountTokensRequest";
|
|
344
|
-
const _CTRou = "CountTokensResponse";
|
|
345
|
-
const _CT_ = "Content-Type";
|
|
346
|
-
const _CTo = "CountTokens";
|
|
347
|
-
const _Ci = "Citations";
|
|
348
|
-
const _Co = "Converse";
|
|
349
|
-
const _DB = "DocumentBlock";
|
|
350
|
-
const _DCB = "DocumentContentBlocks";
|
|
351
|
-
const _DCBo = "DocumentContentBlock";
|
|
352
|
-
const _DCL = "DocumentCharLocation";
|
|
353
|
-
const _DCLo = "DocumentChunkLocation";
|
|
354
|
-
const _DPL = "DocumentPageLocation";
|
|
355
|
-
const _DS = "DocumentSource";
|
|
356
|
-
const _EB = "ErrorBlock";
|
|
357
|
-
const _GA = "GuardrailAssessment";
|
|
358
|
-
const _GAI = "GetAsyncInvoke";
|
|
359
|
-
const _GAIR = "GetAsyncInvokeRequest";
|
|
360
|
-
const _GAIRe = "GetAsyncInvokeResponse";
|
|
361
|
-
const _GAL = "GuardrailAssessmentList";
|
|
362
|
-
const _GALM = "GuardrailAssessmentListMap";
|
|
363
|
-
const _GAM = "GuardrailAssessmentMap";
|
|
364
|
-
const _GARDSL = "GuardrailAutomatedReasoningDifferenceScenarioList";
|
|
365
|
-
const _GARF = "GuardrailAutomatedReasoningFinding";
|
|
366
|
-
const _GARFL = "GuardrailAutomatedReasoningFindingList";
|
|
367
|
-
const _GARIF = "GuardrailAutomatedReasoningImpossibleFinding";
|
|
368
|
-
const _GARIFu = "GuardrailAutomatedReasoningInvalidFinding";
|
|
369
|
-
const _GARITR = "GuardrailAutomatedReasoningInputTextReference";
|
|
370
|
-
const _GARITRL = "GuardrailAutomatedReasoningInputTextReferenceList";
|
|
371
|
-
const _GARLW = "GuardrailAutomatedReasoningLogicWarning";
|
|
372
|
-
const _GARNTF = "GuardrailAutomatedReasoningNoTranslationsFinding";
|
|
373
|
-
const _GARPA = "GuardrailAutomatedReasoningPolicyAssessment";
|
|
374
|
-
const _GARR = "GuardrailAutomatedReasoningRule";
|
|
375
|
-
const _GARRL = "GuardrailAutomatedReasoningRuleList";
|
|
376
|
-
const _GARS = "GuardrailAutomatedReasoningScenario";
|
|
377
|
-
const _GARSF = "GuardrailAutomatedReasoningSatisfiableFinding";
|
|
378
|
-
const _GARSL = "GuardrailAutomatedReasoningStatementList";
|
|
379
|
-
const _GARSLC = "GuardrailAutomatedReasoningStatementLogicContent";
|
|
380
|
-
const _GARSNLC = "GuardrailAutomatedReasoningStatementNaturalLanguageContent";
|
|
381
|
-
const _GARSu = "GuardrailAutomatedReasoningStatement";
|
|
382
|
-
const _GART = "GuardrailAutomatedReasoningTranslation";
|
|
383
|
-
const _GARTAF = "GuardrailAutomatedReasoningTranslationAmbiguousFinding";
|
|
384
|
-
const _GARTCF = "GuardrailAutomatedReasoningTooComplexFinding";
|
|
385
|
-
const _GARTL = "GuardrailAutomatedReasoningTranslationList";
|
|
386
|
-
const _GARTO = "GuardrailAutomatedReasoningTranslationOption";
|
|
387
|
-
const _GARTOL = "GuardrailAutomatedReasoningTranslationOptionList";
|
|
388
|
-
const _GARVF = "GuardrailAutomatedReasoningValidFinding";
|
|
389
|
-
const _GC = "GuardrailConfiguration";
|
|
390
|
-
const _GCB = "GuardrailContentBlock";
|
|
391
|
-
const _GCBL = "GuardrailContentBlockList";
|
|
392
|
-
const _GCCB = "GuardrailConverseContentBlock";
|
|
393
|
-
const _GCF = "GuardrailContentFilter";
|
|
394
|
-
const _GCFL = "GuardrailContentFilterList";
|
|
395
|
-
const _GCGF = "GuardrailContextualGroundingFilter";
|
|
396
|
-
const _GCGFu = "GuardrailContextualGroundingFilters";
|
|
397
|
-
const _GCGPA = "GuardrailContextualGroundingPolicyAssessment";
|
|
398
|
-
const _GCIB = "GuardrailConverseImageBlock";
|
|
399
|
-
const _GCIS = "GuardrailConverseImageSource";
|
|
400
|
-
const _GCPA = "GuardrailContentPolicyAssessment";
|
|
401
|
-
const _GCTB = "GuardrailConverseTextBlock";
|
|
402
|
-
const _GCW = "GuardrailCustomWord";
|
|
403
|
-
const _GCWL = "GuardrailCustomWordList";
|
|
404
|
-
const _GCu = "GuardrailCoverage";
|
|
405
|
-
const _GIB = "GuardrailImageBlock";
|
|
406
|
-
const _GIC = "GuardrailImageCoverage";
|
|
407
|
-
const _GIM = "GuardrailInvocationMetrics";
|
|
408
|
-
const _GIS = "GuardrailImageSource";
|
|
409
|
-
const _GMW = "GuardrailManagedWord";
|
|
410
|
-
const _GMWL = "GuardrailManagedWordList";
|
|
411
|
-
const _GOC = "GuardrailOutputContent";
|
|
412
|
-
const _GOCL = "GuardrailOutputContentList";
|
|
413
|
-
const _GPEF = "GuardrailPiiEntityFilter";
|
|
414
|
-
const _GPEFL = "GuardrailPiiEntityFilterList";
|
|
415
|
-
const _GRF = "GuardrailRegexFilter";
|
|
416
|
-
const _GRFL = "GuardrailRegexFilterList";
|
|
417
|
-
const _GSC = "GuardrailStreamConfiguration";
|
|
418
|
-
const _GSIPA = "GuardrailSensitiveInformationPolicyAssessment";
|
|
419
|
-
const _GT = "GuardrailTopic";
|
|
420
|
-
const _GTA = "GuardrailTraceAssessment";
|
|
421
|
-
const _GTB = "GuardrailTextBlock";
|
|
422
|
-
const _GTCC = "GuardrailTextCharactersCoverage";
|
|
423
|
-
const _GTL = "GuardrailTopicList";
|
|
424
|
-
const _GTPA = "GuardrailTopicPolicyAssessment";
|
|
425
|
-
const _GU = "GuardrailUsage";
|
|
426
|
-
const _GWPA = "GuardrailWordPolicyAssessment";
|
|
427
|
-
const _IB = "ImageBlock";
|
|
428
|
-
const _IBD = "ImageBlockDelta";
|
|
429
|
-
const _IBS = "ImageBlockStart";
|
|
430
|
-
const _IC = "InferenceConfiguration";
|
|
431
|
-
const _IM = "InvokeModel";
|
|
432
|
-
const _IMR = "InvokeModelRequest";
|
|
433
|
-
const _IMRn = "InvokeModelResponse";
|
|
434
|
-
const _IMTR = "InvokeModelTokensRequest";
|
|
435
|
-
const _IMWBS = "InvokeModelWithBidirectionalStream";
|
|
436
|
-
const _IMWBSI = "InvokeModelWithBidirectionalStreamInput";
|
|
437
|
-
const _IMWBSO = "InvokeModelWithBidirectionalStreamOutput";
|
|
438
|
-
const _IMWBSR = "InvokeModelWithBidirectionalStreamRequest";
|
|
439
|
-
const _IMWBSRn = "InvokeModelWithBidirectionalStreamResponse";
|
|
440
|
-
const _IMWRS = "InvokeModelWithResponseStream";
|
|
441
|
-
const _IMWRSR = "InvokeModelWithResponseStreamRequest";
|
|
442
|
-
const _IMWRSRn = "InvokeModelWithResponseStreamResponse";
|
|
443
|
-
const _IS = "ImageSource";
|
|
444
|
-
const _ISE = "InternalServerException";
|
|
445
|
-
const _JSD = "JsonSchemaDefinition";
|
|
446
|
-
const _LAI = "ListAsyncInvokes";
|
|
447
|
-
const _LAIR = "ListAsyncInvokesRequest";
|
|
448
|
-
const _LAIRi = "ListAsyncInvokesResponse";
|
|
449
|
-
const _M = "Message";
|
|
450
|
-
const _MEE = "ModelErrorException";
|
|
451
|
-
const _MIP = "ModelInputPayload";
|
|
452
|
-
const _MNRE = "ModelNotReadyException";
|
|
453
|
-
const _MSE = "MessageStartEvent";
|
|
454
|
-
const _MSEE = "ModelStreamErrorException";
|
|
455
|
-
const _MSEe = "MessageStopEvent";
|
|
456
|
-
const _MTE = "ModelTimeoutException";
|
|
457
|
-
const _Me = "Messages";
|
|
458
|
-
const _OC = "OutputConfig";
|
|
459
|
-
const _OF = "OutputFormat";
|
|
460
|
-
const _OFS = "OutputFormatStructure";
|
|
461
|
-
const _PB = "PartBody";
|
|
462
|
-
const _PC = "PerformanceConfiguration";
|
|
463
|
-
const _PP = "PayloadPart";
|
|
464
|
-
const _PRT = "PromptRouterTrace";
|
|
465
|
-
const _PVM = "PromptVariableMap";
|
|
466
|
-
const _PVV = "PromptVariableValues";
|
|
467
|
-
const _RCB = "ReasoningContentBlock";
|
|
468
|
-
const _RCBD = "ReasoningContentBlockDelta";
|
|
469
|
-
const _RM = "RequestMetadata";
|
|
470
|
-
const _RNFE = "ResourceNotFoundException";
|
|
471
|
-
const _RS = "ResponseStream";
|
|
472
|
-
const _RTB = "ReasoningTextBlock";
|
|
473
|
-
const _SAI = "StartAsyncInvoke";
|
|
474
|
-
const _SAIR = "StartAsyncInvokeRequest";
|
|
475
|
-
const _SAIRt = "StartAsyncInvokeResponse";
|
|
476
|
-
const _SCB = "SystemContentBlocks";
|
|
477
|
-
const _SCBy = "SystemContentBlock";
|
|
478
|
-
const _SL = "S3Location";
|
|
479
|
-
const _SQEE = "ServiceQuotaExceededException";
|
|
480
|
-
const _SRB = "SearchResultBlock";
|
|
481
|
-
const _SRCB = "SearchResultContentBlock";
|
|
482
|
-
const _SRCBe = "SearchResultContentBlocks";
|
|
483
|
-
const _SRL = "SearchResultLocation";
|
|
484
|
-
const _ST = "ServiceTier";
|
|
485
|
-
const _STC = "SpecificToolChoice";
|
|
486
|
-
const _STy = "SystemTool";
|
|
487
|
-
const _SUE = "ServiceUnavailableException";
|
|
488
|
-
const _T = "Tag";
|
|
489
|
-
const _TC = "ToolConfiguration";
|
|
490
|
-
const _TCo = "ToolChoice";
|
|
491
|
-
const _TE = "ThrottlingException";
|
|
492
|
-
const _TIS = "ToolInputSchema";
|
|
493
|
-
const _TL = "TagList";
|
|
494
|
-
const _TRB = "ToolResultBlock";
|
|
495
|
-
const _TRBD = "ToolResultBlocksDelta";
|
|
496
|
-
const _TRBDo = "ToolResultBlockDelta";
|
|
497
|
-
const _TRBS = "ToolResultBlockStart";
|
|
498
|
-
const _TRCB = "ToolResultContentBlocks";
|
|
499
|
-
const _TRCBo = "ToolResultContentBlock";
|
|
500
|
-
const _TS = "ToolSpecification";
|
|
501
|
-
const _TU = "TokenUsage";
|
|
502
|
-
const _TUB = "ToolUseBlock";
|
|
503
|
-
const _TUBD = "ToolUseBlockDelta";
|
|
504
|
-
const _TUBS = "ToolUseBlockStart";
|
|
505
|
-
const _To = "Tools";
|
|
506
|
-
const _Too = "Tool";
|
|
507
|
-
const _VB = "VideoBlock";
|
|
508
|
-
const _VE = "ValidationException";
|
|
509
|
-
const _VS = "VideoSource";
|
|
510
|
-
const _WL = "WebLocation";
|
|
511
|
-
const _XABA = "X-Amzn-Bedrock-Accept";
|
|
512
|
-
const _XABCT = "X-Amzn-Bedrock-Content-Type";
|
|
513
|
-
const _XABG = "X-Amzn-Bedrock-GuardrailIdentifier";
|
|
514
|
-
const _XABG_ = "X-Amzn-Bedrock-GuardrailVersion";
|
|
515
|
-
const _XABPL = "X-Amzn-Bedrock-PerformanceConfig-Latency";
|
|
516
|
-
const _XABST = "X-Amzn-Bedrock-Service-Tier";
|
|
517
|
-
const _XABT = "X-Amzn-Bedrock-Trace";
|
|
518
|
-
const _a = "action";
|
|
519
|
-
const _aGD = "appliedGuardrailDetails";
|
|
520
|
-
const _aIS = "asyncInvokeSummaries";
|
|
521
|
-
const _aMRF = "additionalModelRequestFields";
|
|
522
|
-
const _aMRFP = "additionalModelResponseFieldPaths";
|
|
523
|
-
const _aMRFd = "additionalModelResponseFields";
|
|
524
|
-
const _aR = "actionReason";
|
|
525
|
-
const _aRP = "automatedReasoningPolicy";
|
|
526
|
-
const _aRPU = "automatedReasoningPolicyUnits";
|
|
527
|
-
const _aRPu = "automatedReasoningPolicies";
|
|
528
|
-
const _ac = "accept";
|
|
529
|
-
const _an = "any";
|
|
530
|
-
const _as = "assessments";
|
|
531
|
-
const _au = "audio";
|
|
532
|
-
const _aut = "auto";
|
|
533
|
-
const _b = "bytes";
|
|
534
|
-
const _bO = "bucketOwner";
|
|
535
|
-
const _bo = "body";
|
|
536
|
-
const _c = "client";
|
|
537
|
-
const _cBD = "contentBlockDelta";
|
|
538
|
-
const _cBI = "contentBlockIndex";
|
|
539
|
-
const _cBS = "contentBlockStart";
|
|
540
|
-
const _cBSo = "contentBlockStop";
|
|
541
|
-
const _cC = "citationsContent";
|
|
542
|
-
const _cD = "cacheDetails";
|
|
543
|
-
const _cFS = "claimsFalseScenario";
|
|
544
|
-
const _cGP = "contextualGroundingPolicy";
|
|
545
|
-
const _cGPU = "contextualGroundingPolicyUnits";
|
|
546
|
-
const _cP = "contentPolicy";
|
|
547
|
-
const _cPIU = "contentPolicyImageUnits";
|
|
548
|
-
const _cPU = "contentPolicyUnits";
|
|
549
|
-
const _cPa = "cachePoint";
|
|
550
|
-
const _cR = "contradictingRules";
|
|
551
|
-
const _cRIT = "cacheReadInputTokens";
|
|
552
|
-
const _cRT = "clientRequestToken";
|
|
553
|
-
const _cT = "contentType";
|
|
554
|
-
const _cTS = "claimsTrueScenario";
|
|
555
|
-
const _cW = "customWords";
|
|
556
|
-
const _cWIT = "cacheWriteInputTokens";
|
|
557
|
-
const _ch = "chunk";
|
|
558
|
-
const _ci = "citations";
|
|
559
|
-
const _cit = "citation";
|
|
560
|
-
const _cl = "claims";
|
|
561
|
-
const _co = "content";
|
|
562
|
-
const _con = "context";
|
|
563
|
-
const _conf = "confidence";
|
|
564
|
-
const _conv = "converse";
|
|
565
|
-
const _d = "delta";
|
|
566
|
-
const _dC = "documentChar";
|
|
567
|
-
const _dCo = "documentChunk";
|
|
568
|
-
const _dI = "documentIndex";
|
|
569
|
-
const _dP = "documentPage";
|
|
570
|
-
const _dS = "differenceScenarios";
|
|
571
|
-
const _de = "detected";
|
|
572
|
-
const _des = "description";
|
|
573
|
-
const _do = "domain";
|
|
574
|
-
const _doc = "document";
|
|
575
|
-
const _e = "error";
|
|
576
|
-
const _eT = "endTime";
|
|
577
|
-
const _en = "enabled";
|
|
578
|
-
const _end = "end";
|
|
579
|
-
const _f = "format";
|
|
580
|
-
const _fM = "failureMessage";
|
|
581
|
-
const _fS = "filterStrength";
|
|
582
|
-
const _fi = "findings";
|
|
583
|
-
const _fil = "filters";
|
|
584
|
-
const _g = "guardrail";
|
|
585
|
-
const _gA = "guardrailArn";
|
|
586
|
-
const _gC = "guardrailCoverage";
|
|
587
|
-
const _gCu = "guardrailConfig";
|
|
588
|
-
const _gCua = "guardContent";
|
|
589
|
-
const _gI = "guardrailId";
|
|
590
|
-
const _gIu = "guardrailIdentifier";
|
|
591
|
-
const _gO = "guardrailOrigin";
|
|
592
|
-
const _gOu = "guardrailOwnership";
|
|
593
|
-
const _gPL = "guardrailProcessingLatency";
|
|
594
|
-
const _gV = "guardrailVersion";
|
|
595
|
-
const _gu = "guarded";
|
|
596
|
-
const _h = "http";
|
|
597
|
-
const _hE = "httpError";
|
|
598
|
-
const _hH = "httpHeader";
|
|
599
|
-
const _hQ = "httpQuery";
|
|
600
|
-
const _i = "input";
|
|
601
|
-
const _iA = "invocationArn";
|
|
602
|
-
const _iAn = "inputAssessment";
|
|
603
|
-
const _iC = "inferenceConfig";
|
|
604
|
-
const _iM = "invocationMetrics";
|
|
605
|
-
const _iMI = "invokedModelId";
|
|
606
|
-
const _iMn = "invokeModel";
|
|
607
|
-
const _iS = "inputSchema";
|
|
608
|
-
const _iSE = "internalServerException";
|
|
609
|
-
const _iT = "inputTokens";
|
|
610
|
-
const _id = "identifier";
|
|
611
|
-
const _im = "images";
|
|
612
|
-
const _ima = "image";
|
|
613
|
-
const _imp = "impossible";
|
|
614
|
-
const _in = "invalid";
|
|
615
|
-
const _j = "json";
|
|
616
|
-
const _jS = "jsonSchema";
|
|
617
|
-
const _k = "key";
|
|
618
|
-
const _kKI = "kmsKeyId";
|
|
619
|
-
const _l = "location";
|
|
620
|
-
const _lM = "latencyMs";
|
|
621
|
-
const _lMT = "lastModifiedTime";
|
|
622
|
-
const _lW = "logicWarning";
|
|
623
|
-
const _la = "latency";
|
|
624
|
-
const _lo = "logic";
|
|
625
|
-
const _m = "message";
|
|
626
|
-
const _mA = "modelArn";
|
|
627
|
-
const _mI = "modelId";
|
|
628
|
-
const _mIo = "modelInput";
|
|
629
|
-
const _mO = "modelOutput";
|
|
630
|
-
const _mR = "maxResults";
|
|
631
|
-
const _mS = "messageStart";
|
|
632
|
-
const _mSEE = "modelStreamErrorException";
|
|
633
|
-
const _mSe = "messageStop";
|
|
634
|
-
const _mT = "maxTokens";
|
|
635
|
-
const _mTE = "modelTimeoutException";
|
|
636
|
-
const _mWL = "managedWordLists";
|
|
637
|
-
const _ma = "match";
|
|
638
|
-
const _me = "messages";
|
|
639
|
-
const _met = "metrics";
|
|
640
|
-
const _meta = "metadata";
|
|
641
|
-
const _n = "name";
|
|
642
|
-
const _nL = "naturalLanguage";
|
|
643
|
-
const _nT = "nextToken";
|
|
644
|
-
const _nTo = "noTranslations";
|
|
645
|
-
const _o = "outputs";
|
|
646
|
-
const _oA = "outputAssessments";
|
|
647
|
-
const _oC = "outputConfig";
|
|
648
|
-
const _oDC = "outputDataConfig";
|
|
649
|
-
const _oM = "originalMessage";
|
|
650
|
-
const _oS = "outputScope";
|
|
651
|
-
const _oSC = "originalStatusCode";
|
|
652
|
-
const _oT = "outputTokens";
|
|
653
|
-
const _op = "options";
|
|
654
|
-
const _ou = "output";
|
|
655
|
-
const _p = "premises";
|
|
656
|
-
const _pC = "performanceConfig";
|
|
657
|
-
const _pCL = "performanceConfigLatency";
|
|
658
|
-
const _pE = "piiEntities";
|
|
659
|
-
const _pR = "promptRouter";
|
|
660
|
-
const _pV = "promptVariables";
|
|
661
|
-
const _pVA = "policyVersionArn";
|
|
662
|
-
const _q = "qualifiers";
|
|
663
|
-
const _r = "regex";
|
|
664
|
-
const _rC = "reasoningContent";
|
|
665
|
-
const _rCe = "redactedContent";
|
|
666
|
-
const _rM = "requestMetadata";
|
|
667
|
-
const _rN = "resourceName";
|
|
668
|
-
const _rT = "reasoningText";
|
|
669
|
-
const _re = "regexes";
|
|
670
|
-
const _ro = "role";
|
|
671
|
-
const _s = "source";
|
|
672
|
-
const _sB = "sortBy";
|
|
673
|
-
const _sC = "sourceContent";
|
|
674
|
-
const _sE = "statusEquals";
|
|
675
|
-
const _sIP = "sensitiveInformationPolicy";
|
|
676
|
-
const _sIPFU = "sensitiveInformationPolicyFreeUnits";
|
|
677
|
-
const _sIPU = "sensitiveInformationPolicyUnits";
|
|
678
|
-
const _sL = "s3Location";
|
|
679
|
-
const _sO = "sortOrder";
|
|
680
|
-
const _sODC = "s3OutputDataConfig";
|
|
681
|
-
const _sPM = "streamProcessingMode";
|
|
682
|
-
const _sR = "stopReason";
|
|
683
|
-
const _sRI = "searchResultIndex";
|
|
684
|
-
const _sRL = "searchResultLocation";
|
|
685
|
-
const _sRe = "searchResult";
|
|
686
|
-
const _sRu = "supportingRules";
|
|
687
|
-
const _sS = "stopSequences";
|
|
688
|
-
const _sT = "submitTime";
|
|
689
|
-
const _sTA = "submitTimeAfter";
|
|
690
|
-
const _sTB = "submitTimeBefore";
|
|
691
|
-
const _sTe = "serviceTier";
|
|
692
|
-
const _sTy = "systemTool";
|
|
693
|
-
const _sU = "s3Uri";
|
|
694
|
-
const _sUE = "serviceUnavailableException";
|
|
695
|
-
const _sa = "satisfiable";
|
|
696
|
-
const _sc = "score";
|
|
697
|
-
const _sch = "schema";
|
|
698
|
-
const _se = "server";
|
|
699
|
-
const _si = "signature";
|
|
700
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockruntime";
|
|
701
|
-
const _st = "status";
|
|
702
|
-
const _sta = "start";
|
|
703
|
-
const _stat = "statements";
|
|
704
|
-
const _str = "stream";
|
|
705
|
-
const _stre = "streaming";
|
|
706
|
-
const _stri = "strict";
|
|
707
|
-
const _stru = "structure";
|
|
708
|
-
const _sy = "system";
|
|
709
|
-
const _t = "ttl";
|
|
710
|
-
const _tA = "translationAmbiguous";
|
|
711
|
-
const _tC = "toolConfig";
|
|
712
|
-
const _tCe = "textCharacters";
|
|
713
|
-
const _tCo = "toolChoice";
|
|
714
|
-
const _tCoo = "tooComplex";
|
|
715
|
-
const _tE = "throttlingException";
|
|
716
|
-
const _tF = "textFormat";
|
|
717
|
-
const _tP = "topicPolicy";
|
|
718
|
-
const _tPU = "topicPolicyUnits";
|
|
719
|
-
const _tPo = "topP";
|
|
720
|
-
const _tR = "toolResult";
|
|
721
|
-
const _tS = "toolSpec";
|
|
722
|
-
const _tT = "totalTokens";
|
|
723
|
-
const _tU = "toolUse";
|
|
724
|
-
const _tUI = "toolUseId";
|
|
725
|
-
const _ta = "tags";
|
|
726
|
-
const _te = "text";
|
|
727
|
-
const _tem = "temperature";
|
|
728
|
-
const _th = "threshold";
|
|
729
|
-
const _ti = "title";
|
|
730
|
-
const _to = "total";
|
|
731
|
-
const _too = "tools";
|
|
732
|
-
const _tool = "tool";
|
|
733
|
-
const _top = "topics";
|
|
734
|
-
const _tr = "trace";
|
|
735
|
-
const _tra = "translation";
|
|
736
|
-
const _tran = "translations";
|
|
737
|
-
const _ty = "type";
|
|
738
|
-
const _u = "usage";
|
|
739
|
-
const _uC = "untranslatedClaims";
|
|
740
|
-
const _uP = "untranslatedPremises";
|
|
741
|
-
const _ur = "uri";
|
|
742
|
-
const _url = "url";
|
|
743
|
-
const _v = "value";
|
|
744
|
-
const _vE = "validationException";
|
|
745
|
-
const _va = "valid";
|
|
746
|
-
const _vi = "video";
|
|
747
|
-
const _w = "web";
|
|
748
|
-
const _wP = "wordPolicy";
|
|
749
|
-
const _wPU = "wordPolicyUnits";
|
|
750
|
-
const n0 = "com.amazonaws.bedrockruntime";
|
|
751
|
-
var AsyncInvokeMessage = [0, n0, _AIM, 8, 0];
|
|
752
|
-
var Body = [0, n0, _B, 8, 21];
|
|
753
|
-
var GuardrailAutomatedReasoningStatementLogicContent = [0, n0, _GARSLC, 8, 0];
|
|
754
|
-
var GuardrailAutomatedReasoningStatementNaturalLanguageContent = [0, n0, _GARSNLC, 8, 0];
|
|
755
|
-
var ModelInputPayload = [0, n0, _MIP, 8, 15];
|
|
756
|
-
var PartBody = [0, n0, _PB, 8, 21];
|
|
757
|
-
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
758
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
759
|
-
[_m],
|
|
760
|
-
[0]
|
|
761
|
-
];
|
|
762
|
-
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
763
|
-
var AnyToolChoice$ = [3, n0, _ATC,
|
|
764
|
-
0,
|
|
765
|
-
[],
|
|
766
|
-
[]
|
|
767
|
-
];
|
|
768
|
-
var AppliedGuardrailDetails$ = [3, n0, _AGD,
|
|
769
|
-
0,
|
|
770
|
-
[_gI, _gV, _gA, _gO, _gOu],
|
|
771
|
-
[0, 0, 0, 64 | 0, 0]
|
|
772
|
-
];
|
|
773
|
-
var ApplyGuardrailRequest$ = [3, n0, _AGR,
|
|
774
|
-
0,
|
|
775
|
-
[_gIu, _gV, _s, _co, _oS],
|
|
776
|
-
[[0, 1], [0, 1], 0, [() => GuardrailContentBlockList, 0], 0], 4
|
|
777
|
-
];
|
|
778
|
-
var ApplyGuardrailResponse$ = [3, n0, _AGRp,
|
|
779
|
-
0,
|
|
780
|
-
[_u, _a, _o, _as, _aR, _gC],
|
|
781
|
-
[() => GuardrailUsage$, 0, () => GuardrailOutputContentList, [() => GuardrailAssessmentList, 0], 0, () => GuardrailCoverage$], 4
|
|
782
|
-
];
|
|
783
|
-
var AsyncInvokeS3OutputDataConfig$ = [3, n0, _AISODC,
|
|
784
|
-
0,
|
|
785
|
-
[_sU, _kKI, _bO],
|
|
786
|
-
[0, 0, 0], 1
|
|
787
|
-
];
|
|
788
|
-
var AsyncInvokeSummary$ = [3, n0, _AIS,
|
|
789
|
-
0,
|
|
790
|
-
[_iA, _mA, _sT, _oDC, _cRT, _st, _fM, _lMT, _eT],
|
|
791
|
-
[0, 0, 5, () => AsyncInvokeOutputDataConfig$, 0, 0, [() => AsyncInvokeMessage, 0], 5, 5], 4
|
|
792
|
-
];
|
|
793
|
-
var AudioBlock$ = [3, n0, _AB,
|
|
794
|
-
0,
|
|
795
|
-
[_f, _s, _e],
|
|
796
|
-
[0, [() => AudioSource$, 0], [() => ErrorBlock$, 0]], 2
|
|
797
|
-
];
|
|
798
|
-
var AutoToolChoice$ = [3, n0, _ATCu,
|
|
799
|
-
0,
|
|
800
|
-
[],
|
|
801
|
-
[]
|
|
802
|
-
];
|
|
803
|
-
var BidirectionalInputPayloadPart$ = [3, n0, _BIPP,
|
|
804
|
-
8,
|
|
805
|
-
[_b],
|
|
806
|
-
[[() => PartBody, 0]]
|
|
807
|
-
];
|
|
808
|
-
var BidirectionalOutputPayloadPart$ = [3, n0, _BOPP,
|
|
809
|
-
8,
|
|
810
|
-
[_b],
|
|
811
|
-
[[() => PartBody, 0]]
|
|
812
|
-
];
|
|
813
|
-
var CacheDetail$ = [3, n0, _CD,
|
|
814
|
-
0,
|
|
815
|
-
[_t, _iT],
|
|
816
|
-
[0, 1], 2
|
|
817
|
-
];
|
|
818
|
-
var CachePointBlock$ = [3, n0, _CPB,
|
|
819
|
-
0,
|
|
820
|
-
[_ty, _t],
|
|
821
|
-
[0, 0], 1
|
|
822
|
-
];
|
|
823
|
-
var Citation$ = [3, n0, _C,
|
|
824
|
-
0,
|
|
825
|
-
[_ti, _s, _sC, _l],
|
|
826
|
-
[0, 0, () => CitationSourceContentList, () => CitationLocation$]
|
|
827
|
-
];
|
|
828
|
-
var CitationsConfig$ = [3, n0, _CC,
|
|
829
|
-
0,
|
|
830
|
-
[_en],
|
|
831
|
-
[2], 1
|
|
832
|
-
];
|
|
833
|
-
var CitationsContentBlock$ = [3, n0, _CCB,
|
|
834
|
-
0,
|
|
835
|
-
[_co, _ci],
|
|
836
|
-
[() => CitationGeneratedContentList, () => Citations]
|
|
837
|
-
];
|
|
838
|
-
var CitationsDelta$ = [3, n0, _CDi,
|
|
839
|
-
0,
|
|
840
|
-
[_ti, _s, _sC, _l],
|
|
841
|
-
[0, 0, () => CitationSourceContentListDelta, () => CitationLocation$]
|
|
842
|
-
];
|
|
843
|
-
var CitationSourceContentDelta$ = [3, n0, _CSCD,
|
|
844
|
-
0,
|
|
845
|
-
[_te],
|
|
846
|
-
[0]
|
|
847
|
-
];
|
|
848
|
-
var ConflictException$ = [-3, n0, _CE,
|
|
849
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
850
|
-
[_m],
|
|
851
|
-
[0]
|
|
852
|
-
];
|
|
853
|
-
schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
854
|
-
var ContentBlockDeltaEvent$ = [3, n0, _CBDE,
|
|
855
|
-
0,
|
|
856
|
-
[_d, _cBI],
|
|
857
|
-
[[() => ContentBlockDelta$, 0], 1], 2
|
|
858
|
-
];
|
|
859
|
-
var ContentBlockStartEvent$ = [3, n0, _CBSE,
|
|
860
|
-
0,
|
|
861
|
-
[_sta, _cBI],
|
|
862
|
-
[() => ContentBlockStart$, 1], 2
|
|
863
|
-
];
|
|
864
|
-
var ContentBlockStopEvent$ = [3, n0, _CBSEo,
|
|
865
|
-
0,
|
|
866
|
-
[_cBI],
|
|
867
|
-
[1], 1
|
|
868
|
-
];
|
|
869
|
-
var ConverseMetrics$ = [3, n0, _CM,
|
|
870
|
-
0,
|
|
871
|
-
[_lM],
|
|
872
|
-
[1], 1
|
|
873
|
-
];
|
|
874
|
-
var ConverseRequest$ = [3, n0, _CR,
|
|
875
|
-
0,
|
|
876
|
-
[_mI, _me, _sy, _iC, _tC, _gCu, _aMRF, _pV, _aMRFP, _rM, _pC, _sTe, _oC],
|
|
877
|
-
[[0, 1], [() => Messages, 0], [() => SystemContentBlocks, 0], () => InferenceConfiguration$, () => ToolConfiguration$, () => GuardrailConfiguration$, 15, [() => PromptVariableMap, 0], 64 | 0, [() => RequestMetadata, 0], () => PerformanceConfiguration$, () => ServiceTier$, [() => OutputConfig$, 0]], 1
|
|
878
|
-
];
|
|
879
|
-
var ConverseResponse$ = [3, n0, _CRo,
|
|
880
|
-
0,
|
|
881
|
-
[_ou, _sR, _u, _met, _aMRFd, _tr, _pC, _sTe],
|
|
882
|
-
[[() => ConverseOutput$, 0], 0, () => TokenUsage$, () => ConverseMetrics$, 15, [() => ConverseTrace$, 0], () => PerformanceConfiguration$, () => ServiceTier$], 4
|
|
883
|
-
];
|
|
884
|
-
var ConverseStreamMetadataEvent$ = [3, n0, _CSME,
|
|
885
|
-
0,
|
|
886
|
-
[_u, _met, _tr, _pC, _sTe],
|
|
887
|
-
[() => TokenUsage$, () => ConverseStreamMetrics$, [() => ConverseStreamTrace$, 0], () => PerformanceConfiguration$, () => ServiceTier$], 2
|
|
888
|
-
];
|
|
889
|
-
var ConverseStreamMetrics$ = [3, n0, _CSM,
|
|
890
|
-
0,
|
|
891
|
-
[_lM],
|
|
892
|
-
[1], 1
|
|
893
|
-
];
|
|
894
|
-
var ConverseStreamRequest$ = [3, n0, _CSR,
|
|
895
|
-
0,
|
|
896
|
-
[_mI, _me, _sy, _iC, _tC, _gCu, _aMRF, _pV, _aMRFP, _rM, _pC, _sTe, _oC],
|
|
897
|
-
[[0, 1], [() => Messages, 0], [() => SystemContentBlocks, 0], () => InferenceConfiguration$, () => ToolConfiguration$, () => GuardrailStreamConfiguration$, 15, [() => PromptVariableMap, 0], 64 | 0, [() => RequestMetadata, 0], () => PerformanceConfiguration$, () => ServiceTier$, [() => OutputConfig$, 0]], 1
|
|
898
|
-
];
|
|
899
|
-
var ConverseStreamResponse$ = [3, n0, _CSRo,
|
|
900
|
-
0,
|
|
901
|
-
[_str],
|
|
902
|
-
[[() => ConverseStreamOutput$, 16]]
|
|
903
|
-
];
|
|
904
|
-
var ConverseStreamTrace$ = [3, n0, _CST,
|
|
905
|
-
0,
|
|
906
|
-
[_g, _pR],
|
|
907
|
-
[[() => GuardrailTraceAssessment$, 0], () => PromptRouterTrace$]
|
|
908
|
-
];
|
|
909
|
-
var ConverseTokensRequest$ = [3, n0, _CTR,
|
|
910
|
-
0,
|
|
911
|
-
[_me, _sy, _tC, _aMRF],
|
|
912
|
-
[[() => Messages, 0], [() => SystemContentBlocks, 0], () => ToolConfiguration$, 15]
|
|
913
|
-
];
|
|
914
|
-
var ConverseTrace$ = [3, n0, _CT,
|
|
915
|
-
0,
|
|
916
|
-
[_g, _pR],
|
|
917
|
-
[[() => GuardrailTraceAssessment$, 0], () => PromptRouterTrace$]
|
|
918
|
-
];
|
|
919
|
-
var CountTokensRequest$ = [3, n0, _CTRo,
|
|
920
|
-
0,
|
|
921
|
-
[_mI, _i],
|
|
922
|
-
[[0, 1], [() => CountTokensInput$, 0]], 2
|
|
923
|
-
];
|
|
924
|
-
var CountTokensResponse$ = [3, n0, _CTRou,
|
|
925
|
-
0,
|
|
926
|
-
[_iT],
|
|
927
|
-
[1], 1
|
|
928
|
-
];
|
|
929
|
-
var DocumentBlock$ = [3, n0, _DB,
|
|
930
|
-
0,
|
|
931
|
-
[_n, _s, _f, _con, _ci],
|
|
932
|
-
[0, () => DocumentSource$, 0, 0, () => CitationsConfig$], 2
|
|
933
|
-
];
|
|
934
|
-
var DocumentCharLocation$ = [3, n0, _DCL,
|
|
935
|
-
0,
|
|
936
|
-
[_dI, _sta, _end],
|
|
937
|
-
[1, 1, 1]
|
|
938
|
-
];
|
|
939
|
-
var DocumentChunkLocation$ = [3, n0, _DCLo,
|
|
940
|
-
0,
|
|
941
|
-
[_dI, _sta, _end],
|
|
942
|
-
[1, 1, 1]
|
|
943
|
-
];
|
|
944
|
-
var DocumentPageLocation$ = [3, n0, _DPL,
|
|
945
|
-
0,
|
|
946
|
-
[_dI, _sta, _end],
|
|
947
|
-
[1, 1, 1]
|
|
948
|
-
];
|
|
949
|
-
var ErrorBlock$ = [3, n0, _EB,
|
|
950
|
-
8,
|
|
951
|
-
[_m],
|
|
952
|
-
[0]
|
|
953
|
-
];
|
|
954
|
-
var GetAsyncInvokeRequest$ = [3, n0, _GAIR,
|
|
955
|
-
0,
|
|
956
|
-
[_iA],
|
|
957
|
-
[[0, 1]], 1
|
|
958
|
-
];
|
|
959
|
-
var GetAsyncInvokeResponse$ = [3, n0, _GAIRe,
|
|
960
|
-
0,
|
|
961
|
-
[_iA, _mA, _st, _sT, _oDC, _cRT, _fM, _lMT, _eT],
|
|
962
|
-
[0, 0, 0, 5, () => AsyncInvokeOutputDataConfig$, 0, [() => AsyncInvokeMessage, 0], 5, 5], 5
|
|
963
|
-
];
|
|
964
|
-
var GuardrailAssessment$ = [3, n0, _GA,
|
|
965
|
-
0,
|
|
966
|
-
[_tP, _cP, _wP, _sIP, _cGP, _aRP, _iM, _aGD],
|
|
967
|
-
[() => GuardrailTopicPolicyAssessment$, () => GuardrailContentPolicyAssessment$, () => GuardrailWordPolicyAssessment$, () => GuardrailSensitiveInformationPolicyAssessment$, () => GuardrailContextualGroundingPolicyAssessment$, [() => GuardrailAutomatedReasoningPolicyAssessment$, 0], () => GuardrailInvocationMetrics$, () => AppliedGuardrailDetails$]
|
|
968
|
-
];
|
|
969
|
-
var GuardrailAutomatedReasoningImpossibleFinding$ = [3, n0, _GARIF,
|
|
970
|
-
0,
|
|
971
|
-
[_tra, _cR, _lW],
|
|
972
|
-
[[() => GuardrailAutomatedReasoningTranslation$, 0], () => GuardrailAutomatedReasoningRuleList, [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
|
|
973
|
-
];
|
|
974
|
-
var GuardrailAutomatedReasoningInputTextReference$ = [3, n0, _GARITR,
|
|
975
|
-
0,
|
|
976
|
-
[_te],
|
|
977
|
-
[[() => GuardrailAutomatedReasoningStatementNaturalLanguageContent, 0]]
|
|
978
|
-
];
|
|
979
|
-
var GuardrailAutomatedReasoningInvalidFinding$ = [3, n0, _GARIFu,
|
|
980
|
-
0,
|
|
981
|
-
[_tra, _cR, _lW],
|
|
982
|
-
[[() => GuardrailAutomatedReasoningTranslation$, 0], () => GuardrailAutomatedReasoningRuleList, [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
|
|
983
|
-
];
|
|
984
|
-
var GuardrailAutomatedReasoningLogicWarning$ = [3, n0, _GARLW,
|
|
985
|
-
0,
|
|
986
|
-
[_ty, _p, _cl],
|
|
987
|
-
[0, [() => GuardrailAutomatedReasoningStatementList, 0], [() => GuardrailAutomatedReasoningStatementList, 0]]
|
|
988
|
-
];
|
|
989
|
-
var GuardrailAutomatedReasoningNoTranslationsFinding$ = [3, n0, _GARNTF,
|
|
990
|
-
0,
|
|
991
|
-
[],
|
|
992
|
-
[]
|
|
993
|
-
];
|
|
994
|
-
var GuardrailAutomatedReasoningPolicyAssessment$ = [3, n0, _GARPA,
|
|
995
|
-
0,
|
|
996
|
-
[_fi],
|
|
997
|
-
[[() => GuardrailAutomatedReasoningFindingList, 0]]
|
|
998
|
-
];
|
|
999
|
-
var GuardrailAutomatedReasoningRule$ = [3, n0, _GARR,
|
|
1000
|
-
0,
|
|
1001
|
-
[_id, _pVA],
|
|
1002
|
-
[0, 0]
|
|
1003
|
-
];
|
|
1004
|
-
var GuardrailAutomatedReasoningSatisfiableFinding$ = [3, n0, _GARSF,
|
|
1005
|
-
0,
|
|
1006
|
-
[_tra, _cTS, _cFS, _lW],
|
|
1007
|
-
[[() => GuardrailAutomatedReasoningTranslation$, 0], [() => GuardrailAutomatedReasoningScenario$, 0], [() => GuardrailAutomatedReasoningScenario$, 0], [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
|
|
1008
|
-
];
|
|
1009
|
-
var GuardrailAutomatedReasoningScenario$ = [3, n0, _GARS,
|
|
1010
|
-
0,
|
|
1011
|
-
[_stat],
|
|
1012
|
-
[[() => GuardrailAutomatedReasoningStatementList, 0]]
|
|
1013
|
-
];
|
|
1014
|
-
var GuardrailAutomatedReasoningStatement$ = [3, n0, _GARSu,
|
|
1015
|
-
0,
|
|
1016
|
-
[_lo, _nL],
|
|
1017
|
-
[[() => GuardrailAutomatedReasoningStatementLogicContent, 0], [() => GuardrailAutomatedReasoningStatementNaturalLanguageContent, 0]]
|
|
1018
|
-
];
|
|
1019
|
-
var GuardrailAutomatedReasoningTooComplexFinding$ = [3, n0, _GARTCF,
|
|
1020
|
-
0,
|
|
1021
|
-
[],
|
|
1022
|
-
[]
|
|
1023
|
-
];
|
|
1024
|
-
var GuardrailAutomatedReasoningTranslation$ = [3, n0, _GART,
|
|
1025
|
-
0,
|
|
1026
|
-
[_p, _cl, _uP, _uC, _conf],
|
|
1027
|
-
[[() => GuardrailAutomatedReasoningStatementList, 0], [() => GuardrailAutomatedReasoningStatementList, 0], [() => GuardrailAutomatedReasoningInputTextReferenceList, 0], [() => GuardrailAutomatedReasoningInputTextReferenceList, 0], 1]
|
|
1028
|
-
];
|
|
1029
|
-
var GuardrailAutomatedReasoningTranslationAmbiguousFinding$ = [3, n0, _GARTAF,
|
|
1030
|
-
0,
|
|
1031
|
-
[_op, _dS],
|
|
1032
|
-
[[() => GuardrailAutomatedReasoningTranslationOptionList, 0], [() => GuardrailAutomatedReasoningDifferenceScenarioList, 0]]
|
|
1033
|
-
];
|
|
1034
|
-
var GuardrailAutomatedReasoningTranslationOption$ = [3, n0, _GARTO,
|
|
1035
|
-
0,
|
|
1036
|
-
[_tran],
|
|
1037
|
-
[[() => GuardrailAutomatedReasoningTranslationList, 0]]
|
|
1038
|
-
];
|
|
1039
|
-
var GuardrailAutomatedReasoningValidFinding$ = [3, n0, _GARVF,
|
|
1040
|
-
0,
|
|
1041
|
-
[_tra, _cTS, _sRu, _lW],
|
|
1042
|
-
[[() => GuardrailAutomatedReasoningTranslation$, 0], [() => GuardrailAutomatedReasoningScenario$, 0], () => GuardrailAutomatedReasoningRuleList, [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
|
|
1043
|
-
];
|
|
1044
|
-
var GuardrailConfiguration$ = [3, n0, _GC,
|
|
1045
|
-
0,
|
|
1046
|
-
[_gIu, _gV, _tr],
|
|
1047
|
-
[0, 0, 0]
|
|
1048
|
-
];
|
|
1049
|
-
var GuardrailContentFilter$ = [3, n0, _GCF,
|
|
1050
|
-
0,
|
|
1051
|
-
[_ty, _conf, _a, _fS, _de],
|
|
1052
|
-
[0, 0, 0, 0, 2], 3
|
|
1053
|
-
];
|
|
1054
|
-
var GuardrailContentPolicyAssessment$ = [3, n0, _GCPA,
|
|
1055
|
-
0,
|
|
1056
|
-
[_fil],
|
|
1057
|
-
[() => GuardrailContentFilterList], 1
|
|
1058
|
-
];
|
|
1059
|
-
var GuardrailContextualGroundingFilter$ = [3, n0, _GCGF,
|
|
1060
|
-
0,
|
|
1061
|
-
[_ty, _th, _sc, _a, _de],
|
|
1062
|
-
[0, 1, 1, 0, 2], 4
|
|
1063
|
-
];
|
|
1064
|
-
var GuardrailContextualGroundingPolicyAssessment$ = [3, n0, _GCGPA,
|
|
1065
|
-
0,
|
|
1066
|
-
[_fil],
|
|
1067
|
-
[() => GuardrailContextualGroundingFilters]
|
|
1068
|
-
];
|
|
1069
|
-
var GuardrailConverseImageBlock$ = [3, n0, _GCIB,
|
|
1070
|
-
8,
|
|
1071
|
-
[_f, _s],
|
|
1072
|
-
[0, [() => GuardrailConverseImageSource$, 0]], 2
|
|
1073
|
-
];
|
|
1074
|
-
var GuardrailConverseTextBlock$ = [3, n0, _GCTB,
|
|
1075
|
-
0,
|
|
1076
|
-
[_te, _q],
|
|
1077
|
-
[0, 64 | 0], 1
|
|
1078
|
-
];
|
|
1079
|
-
var GuardrailCoverage$ = [3, n0, _GCu,
|
|
1080
|
-
0,
|
|
1081
|
-
[_tCe, _im],
|
|
1082
|
-
[() => GuardrailTextCharactersCoverage$, () => GuardrailImageCoverage$]
|
|
1083
|
-
];
|
|
1084
|
-
var GuardrailCustomWord$ = [3, n0, _GCW,
|
|
1085
|
-
0,
|
|
1086
|
-
[_ma, _a, _de],
|
|
1087
|
-
[0, 0, 2], 2
|
|
1088
|
-
];
|
|
1089
|
-
var GuardrailImageBlock$ = [3, n0, _GIB,
|
|
1090
|
-
8,
|
|
1091
|
-
[_f, _s],
|
|
1092
|
-
[0, [() => GuardrailImageSource$, 0]], 2
|
|
1093
|
-
];
|
|
1094
|
-
var GuardrailImageCoverage$ = [3, n0, _GIC,
|
|
1095
|
-
0,
|
|
1096
|
-
[_gu, _to],
|
|
1097
|
-
[1, 1]
|
|
1098
|
-
];
|
|
1099
|
-
var GuardrailInvocationMetrics$ = [3, n0, _GIM,
|
|
1100
|
-
0,
|
|
1101
|
-
[_gPL, _u, _gC],
|
|
1102
|
-
[1, () => GuardrailUsage$, () => GuardrailCoverage$]
|
|
1103
|
-
];
|
|
1104
|
-
var GuardrailManagedWord$ = [3, n0, _GMW,
|
|
1105
|
-
0,
|
|
1106
|
-
[_ma, _ty, _a, _de],
|
|
1107
|
-
[0, 0, 0, 2], 3
|
|
1108
|
-
];
|
|
1109
|
-
var GuardrailOutputContent$ = [3, n0, _GOC,
|
|
1110
|
-
0,
|
|
1111
|
-
[_te],
|
|
1112
|
-
[0]
|
|
1113
|
-
];
|
|
1114
|
-
var GuardrailPiiEntityFilter$ = [3, n0, _GPEF,
|
|
1115
|
-
0,
|
|
1116
|
-
[_ma, _ty, _a, _de],
|
|
1117
|
-
[0, 0, 0, 2], 3
|
|
1118
|
-
];
|
|
1119
|
-
var GuardrailRegexFilter$ = [3, n0, _GRF,
|
|
1120
|
-
0,
|
|
1121
|
-
[_a, _n, _ma, _r, _de],
|
|
1122
|
-
[0, 0, 0, 0, 2], 1
|
|
1123
|
-
];
|
|
1124
|
-
var GuardrailSensitiveInformationPolicyAssessment$ = [3, n0, _GSIPA,
|
|
1125
|
-
0,
|
|
1126
|
-
[_pE, _re],
|
|
1127
|
-
[() => GuardrailPiiEntityFilterList, () => GuardrailRegexFilterList], 2
|
|
1128
|
-
];
|
|
1129
|
-
var GuardrailStreamConfiguration$ = [3, n0, _GSC,
|
|
1130
|
-
0,
|
|
1131
|
-
[_gIu, _gV, _tr, _sPM],
|
|
1132
|
-
[0, 0, 0, 0]
|
|
1133
|
-
];
|
|
1134
|
-
var GuardrailTextBlock$ = [3, n0, _GTB,
|
|
1135
|
-
0,
|
|
1136
|
-
[_te, _q],
|
|
1137
|
-
[0, 64 | 0], 1
|
|
1138
|
-
];
|
|
1139
|
-
var GuardrailTextCharactersCoverage$ = [3, n0, _GTCC,
|
|
1140
|
-
0,
|
|
1141
|
-
[_gu, _to],
|
|
1142
|
-
[1, 1]
|
|
1143
|
-
];
|
|
1144
|
-
var GuardrailTopic$ = [3, n0, _GT,
|
|
1145
|
-
0,
|
|
1146
|
-
[_n, _ty, _a, _de],
|
|
1147
|
-
[0, 0, 0, 2], 3
|
|
1148
|
-
];
|
|
1149
|
-
var GuardrailTopicPolicyAssessment$ = [3, n0, _GTPA,
|
|
1150
|
-
0,
|
|
1151
|
-
[_top],
|
|
1152
|
-
[() => GuardrailTopicList], 1
|
|
1153
|
-
];
|
|
1154
|
-
var GuardrailTraceAssessment$ = [3, n0, _GTA,
|
|
1155
|
-
0,
|
|
1156
|
-
[_mO, _iAn, _oA, _aR],
|
|
1157
|
-
[64 | 0, [() => GuardrailAssessmentMap, 0], [() => GuardrailAssessmentListMap, 0], 0]
|
|
1158
|
-
];
|
|
1159
|
-
var GuardrailUsage$ = [3, n0, _GU,
|
|
1160
|
-
0,
|
|
1161
|
-
[_tPU, _cPU, _wPU, _sIPU, _sIPFU, _cGPU, _cPIU, _aRPU, _aRPu],
|
|
1162
|
-
[1, 1, 1, 1, 1, 1, 1, 1, 1], 6
|
|
1163
|
-
];
|
|
1164
|
-
var GuardrailWordPolicyAssessment$ = [3, n0, _GWPA,
|
|
1165
|
-
0,
|
|
1166
|
-
[_cW, _mWL],
|
|
1167
|
-
[() => GuardrailCustomWordList, () => GuardrailManagedWordList], 2
|
|
1168
|
-
];
|
|
1169
|
-
var ImageBlock$ = [3, n0, _IB,
|
|
1170
|
-
0,
|
|
1171
|
-
[_f, _s, _e],
|
|
1172
|
-
[0, [() => ImageSource$, 0], [() => ErrorBlock$, 0]], 2
|
|
1173
|
-
];
|
|
1174
|
-
var ImageBlockDelta$ = [3, n0, _IBD,
|
|
1175
|
-
0,
|
|
1176
|
-
[_s, _e],
|
|
1177
|
-
[[() => ImageSource$, 0], [() => ErrorBlock$, 0]]
|
|
1178
|
-
];
|
|
1179
|
-
var ImageBlockStart$ = [3, n0, _IBS,
|
|
1180
|
-
0,
|
|
1181
|
-
[_f],
|
|
1182
|
-
[0], 1
|
|
1183
|
-
];
|
|
1184
|
-
var InferenceConfiguration$ = [3, n0, _IC,
|
|
1185
|
-
0,
|
|
1186
|
-
[_mT, _tem, _tPo, _sS],
|
|
1187
|
-
[1, 1, 1, 64 | 0]
|
|
1188
|
-
];
|
|
1189
|
-
var InternalServerException$ = [-3, n0, _ISE,
|
|
1190
|
-
{ [_e]: _se, [_hE]: 500 },
|
|
1191
|
-
[_m],
|
|
1192
|
-
[0]
|
|
1193
|
-
];
|
|
1194
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
1195
|
-
var InvokeModelRequest$ = [3, n0, _IMR,
|
|
1196
|
-
0,
|
|
1197
|
-
[_mI, _bo, _cT, _ac, _tr, _gIu, _gV, _pCL, _sTe],
|
|
1198
|
-
[[0, 1], [() => Body, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _A }], [0, { [_hH]: _XABT }], [0, { [_hH]: _XABG }], [0, { [_hH]: _XABG_ }], [0, { [_hH]: _XABPL }], [0, { [_hH]: _XABST }]], 1
|
|
1199
|
-
];
|
|
1200
|
-
var InvokeModelResponse$ = [3, n0, _IMRn,
|
|
1201
|
-
0,
|
|
1202
|
-
[_bo, _cT, _pCL, _sTe],
|
|
1203
|
-
[[() => Body, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _XABPL }], [0, { [_hH]: _XABST }]], 2
|
|
1204
|
-
];
|
|
1205
|
-
var InvokeModelTokensRequest$ = [3, n0, _IMTR,
|
|
1206
|
-
0,
|
|
1207
|
-
[_bo],
|
|
1208
|
-
[[() => Body, 0]], 1
|
|
1209
|
-
];
|
|
1210
|
-
var InvokeModelWithBidirectionalStreamRequest$ = [3, n0, _IMWBSR,
|
|
1211
|
-
0,
|
|
1212
|
-
[_mI, _bo],
|
|
1213
|
-
[[0, 1], [() => InvokeModelWithBidirectionalStreamInput$, 16]], 2
|
|
1214
|
-
];
|
|
1215
|
-
var InvokeModelWithBidirectionalStreamResponse$ = [3, n0, _IMWBSRn,
|
|
1216
|
-
0,
|
|
1217
|
-
[_bo],
|
|
1218
|
-
[[() => InvokeModelWithBidirectionalStreamOutput$, 16]], 1
|
|
1219
|
-
];
|
|
1220
|
-
var InvokeModelWithResponseStreamRequest$ = [3, n0, _IMWRSR,
|
|
1221
|
-
0,
|
|
1222
|
-
[_mI, _bo, _cT, _ac, _tr, _gIu, _gV, _pCL, _sTe],
|
|
1223
|
-
[[0, 1], [() => Body, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _XABA }], [0, { [_hH]: _XABT }], [0, { [_hH]: _XABG }], [0, { [_hH]: _XABG_ }], [0, { [_hH]: _XABPL }], [0, { [_hH]: _XABST }]], 1
|
|
1224
|
-
];
|
|
1225
|
-
var InvokeModelWithResponseStreamResponse$ = [3, n0, _IMWRSRn,
|
|
1226
|
-
0,
|
|
1227
|
-
[_bo, _cT, _pCL, _sTe],
|
|
1228
|
-
[[() => ResponseStream$, 16], [0, { [_hH]: _XABCT }], [0, { [_hH]: _XABPL }], [0, { [_hH]: _XABST }]], 2
|
|
1229
|
-
];
|
|
1230
|
-
var JsonSchemaDefinition$ = [3, n0, _JSD,
|
|
1231
|
-
0,
|
|
1232
|
-
[_sch, _n, _des],
|
|
1233
|
-
[0, 0, 0], 1
|
|
1234
|
-
];
|
|
1235
|
-
var ListAsyncInvokesRequest$ = [3, n0, _LAIR,
|
|
1236
|
-
0,
|
|
1237
|
-
[_sTA, _sTB, _sE, _mR, _nT, _sB, _sO],
|
|
1238
|
-
[[5, { [_hQ]: _sTA }], [5, { [_hQ]: _sTB }], [0, { [_hQ]: _sE }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _sB }], [0, { [_hQ]: _sO }]]
|
|
1239
|
-
];
|
|
1240
|
-
var ListAsyncInvokesResponse$ = [3, n0, _LAIRi,
|
|
1241
|
-
0,
|
|
1242
|
-
[_nT, _aIS],
|
|
1243
|
-
[0, [() => AsyncInvokeSummaries, 0]]
|
|
1244
|
-
];
|
|
1245
|
-
var Message$ = [3, n0, _M,
|
|
1246
|
-
0,
|
|
1247
|
-
[_ro, _co],
|
|
1248
|
-
[0, [() => ContentBlocks, 0]], 2
|
|
1249
|
-
];
|
|
1250
|
-
var MessageStartEvent$ = [3, n0, _MSE,
|
|
1251
|
-
0,
|
|
1252
|
-
[_ro],
|
|
1253
|
-
[0], 1
|
|
1254
|
-
];
|
|
1255
|
-
var MessageStopEvent$ = [3, n0, _MSEe,
|
|
1256
|
-
0,
|
|
1257
|
-
[_sR, _aMRFd],
|
|
1258
|
-
[0, 15], 1
|
|
1259
|
-
];
|
|
1260
|
-
var ModelErrorException$ = [-3, n0, _MEE,
|
|
1261
|
-
{ [_e]: _c, [_hE]: 424 },
|
|
1262
|
-
[_m, _oSC, _rN],
|
|
1263
|
-
[0, 1, 0]
|
|
1264
|
-
];
|
|
1265
|
-
schema.TypeRegistry.for(n0).registerError(ModelErrorException$, ModelErrorException);
|
|
1266
|
-
var ModelNotReadyException$ = [-3, n0, _MNRE,
|
|
1267
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
1268
|
-
[_m],
|
|
1269
|
-
[0]
|
|
1270
|
-
];
|
|
1271
|
-
schema.TypeRegistry.for(n0).registerError(ModelNotReadyException$, ModelNotReadyException);
|
|
1272
|
-
var ModelStreamErrorException$ = [-3, n0, _MSEE,
|
|
1273
|
-
{ [_e]: _c, [_hE]: 424 },
|
|
1274
|
-
[_m, _oSC, _oM],
|
|
1275
|
-
[0, 1, 0]
|
|
1276
|
-
];
|
|
1277
|
-
schema.TypeRegistry.for(n0).registerError(ModelStreamErrorException$, ModelStreamErrorException);
|
|
1278
|
-
var ModelTimeoutException$ = [-3, n0, _MTE,
|
|
1279
|
-
{ [_e]: _c, [_hE]: 408 },
|
|
1280
|
-
[_m],
|
|
1281
|
-
[0]
|
|
1282
|
-
];
|
|
1283
|
-
schema.TypeRegistry.for(n0).registerError(ModelTimeoutException$, ModelTimeoutException);
|
|
1284
|
-
var OutputConfig$ = [3, n0, _OC,
|
|
1285
|
-
0,
|
|
1286
|
-
[_tF],
|
|
1287
|
-
[[() => OutputFormat$, 0]]
|
|
1288
|
-
];
|
|
1289
|
-
var OutputFormat$ = [3, n0, _OF,
|
|
1290
|
-
0,
|
|
1291
|
-
[_ty, _stru],
|
|
1292
|
-
[0, [() => OutputFormatStructure$, 0]], 2
|
|
1293
|
-
];
|
|
1294
|
-
var PayloadPart$ = [3, n0, _PP,
|
|
1295
|
-
8,
|
|
1296
|
-
[_b],
|
|
1297
|
-
[[() => PartBody, 0]]
|
|
1298
|
-
];
|
|
1299
|
-
var PerformanceConfiguration$ = [3, n0, _PC,
|
|
1300
|
-
0,
|
|
1301
|
-
[_la],
|
|
1302
|
-
[0]
|
|
1303
|
-
];
|
|
1304
|
-
var PromptRouterTrace$ = [3, n0, _PRT,
|
|
1305
|
-
0,
|
|
1306
|
-
[_iMI],
|
|
1307
|
-
[0]
|
|
1308
|
-
];
|
|
1309
|
-
var ReasoningTextBlock$ = [3, n0, _RTB,
|
|
1310
|
-
8,
|
|
1311
|
-
[_te, _si],
|
|
1312
|
-
[0, 0], 1
|
|
1313
|
-
];
|
|
1314
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
1315
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
1316
|
-
[_m],
|
|
1317
|
-
[0]
|
|
1318
|
-
];
|
|
1319
|
-
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
1320
|
-
var S3Location$ = [3, n0, _SL,
|
|
1321
|
-
0,
|
|
1322
|
-
[_ur, _bO],
|
|
1323
|
-
[0, 0], 1
|
|
1324
|
-
];
|
|
1325
|
-
var SearchResultBlock$ = [3, n0, _SRB,
|
|
1326
|
-
0,
|
|
1327
|
-
[_s, _ti, _co, _ci],
|
|
1328
|
-
[0, 0, () => SearchResultContentBlocks, () => CitationsConfig$], 3
|
|
1329
|
-
];
|
|
1330
|
-
var SearchResultContentBlock$ = [3, n0, _SRCB,
|
|
1331
|
-
0,
|
|
1332
|
-
[_te],
|
|
1333
|
-
[0], 1
|
|
1334
|
-
];
|
|
1335
|
-
var SearchResultLocation$ = [3, n0, _SRL,
|
|
1336
|
-
0,
|
|
1337
|
-
[_sRI, _sta, _end],
|
|
1338
|
-
[1, 1, 1]
|
|
1339
|
-
];
|
|
1340
|
-
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
1341
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
1342
|
-
[_m],
|
|
1343
|
-
[0]
|
|
1344
|
-
];
|
|
1345
|
-
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
1346
|
-
var ServiceTier$ = [3, n0, _ST,
|
|
1347
|
-
0,
|
|
1348
|
-
[_ty],
|
|
1349
|
-
[0], 1
|
|
1350
|
-
];
|
|
1351
|
-
var ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
1352
|
-
{ [_e]: _se, [_hE]: 503 },
|
|
1353
|
-
[_m],
|
|
1354
|
-
[0]
|
|
1355
|
-
];
|
|
1356
|
-
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
1357
|
-
var SpecificToolChoice$ = [3, n0, _STC,
|
|
1358
|
-
0,
|
|
1359
|
-
[_n],
|
|
1360
|
-
[0], 1
|
|
1361
|
-
];
|
|
1362
|
-
var StartAsyncInvokeRequest$ = [3, n0, _SAIR,
|
|
1363
|
-
0,
|
|
1364
|
-
[_mI, _mIo, _oDC, _cRT, _ta],
|
|
1365
|
-
[0, [() => ModelInputPayload, 0], () => AsyncInvokeOutputDataConfig$, [0, 4], () => TagList], 3
|
|
1366
|
-
];
|
|
1367
|
-
var StartAsyncInvokeResponse$ = [3, n0, _SAIRt,
|
|
1368
|
-
0,
|
|
1369
|
-
[_iA],
|
|
1370
|
-
[0], 1
|
|
1371
|
-
];
|
|
1372
|
-
var SystemTool$ = [3, n0, _STy,
|
|
1373
|
-
0,
|
|
1374
|
-
[_n],
|
|
1375
|
-
[0], 1
|
|
1376
|
-
];
|
|
1377
|
-
var Tag$ = [3, n0, _T,
|
|
1378
|
-
0,
|
|
1379
|
-
[_k, _v],
|
|
1380
|
-
[0, 0], 2
|
|
1381
|
-
];
|
|
1382
|
-
var ThrottlingException$ = [-3, n0, _TE,
|
|
1383
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
1384
|
-
[_m],
|
|
1385
|
-
[0]
|
|
1386
|
-
];
|
|
1387
|
-
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
1388
|
-
var TokenUsage$ = [3, n0, _TU,
|
|
1389
|
-
0,
|
|
1390
|
-
[_iT, _oT, _tT, _cRIT, _cWIT, _cD],
|
|
1391
|
-
[1, 1, 1, 1, 1, () => CacheDetailsList], 3
|
|
1392
|
-
];
|
|
1393
|
-
var ToolConfiguration$ = [3, n0, _TC,
|
|
1394
|
-
0,
|
|
1395
|
-
[_too, _tCo],
|
|
1396
|
-
[() => Tools, () => ToolChoice$], 1
|
|
1397
|
-
];
|
|
1398
|
-
var ToolResultBlock$ = [3, n0, _TRB,
|
|
1399
|
-
0,
|
|
1400
|
-
[_tUI, _co, _st, _ty],
|
|
1401
|
-
[0, [() => ToolResultContentBlocks, 0], 0, 0], 2
|
|
1402
|
-
];
|
|
1403
|
-
var ToolResultBlockStart$ = [3, n0, _TRBS,
|
|
1404
|
-
0,
|
|
1405
|
-
[_tUI, _ty, _st],
|
|
1406
|
-
[0, 0, 0], 1
|
|
1407
|
-
];
|
|
1408
|
-
var ToolSpecification$ = [3, n0, _TS,
|
|
1409
|
-
0,
|
|
1410
|
-
[_n, _iS, _des, _stri],
|
|
1411
|
-
[0, () => ToolInputSchema$, 0, 2], 2
|
|
1412
|
-
];
|
|
1413
|
-
var ToolUseBlock$ = [3, n0, _TUB,
|
|
1414
|
-
0,
|
|
1415
|
-
[_tUI, _n, _i, _ty],
|
|
1416
|
-
[0, 0, 15, 0], 3
|
|
1417
|
-
];
|
|
1418
|
-
var ToolUseBlockDelta$ = [3, n0, _TUBD,
|
|
1419
|
-
0,
|
|
1420
|
-
[_i],
|
|
1421
|
-
[0], 1
|
|
1422
|
-
];
|
|
1423
|
-
var ToolUseBlockStart$ = [3, n0, _TUBS,
|
|
1424
|
-
0,
|
|
1425
|
-
[_tUI, _n, _ty],
|
|
1426
|
-
[0, 0, 0], 2
|
|
1427
|
-
];
|
|
1428
|
-
var ValidationException$ = [-3, n0, _VE,
|
|
1429
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
1430
|
-
[_m],
|
|
1431
|
-
[0]
|
|
1432
|
-
];
|
|
1433
|
-
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
1434
|
-
var VideoBlock$ = [3, n0, _VB,
|
|
1435
|
-
0,
|
|
1436
|
-
[_f, _s],
|
|
1437
|
-
[0, () => VideoSource$], 2
|
|
1438
|
-
];
|
|
1439
|
-
var WebLocation$ = [3, n0, _WL,
|
|
1440
|
-
0,
|
|
1441
|
-
[_url, _do],
|
|
1442
|
-
[0, 0]
|
|
1443
|
-
];
|
|
1444
|
-
var BedrockRuntimeServiceException$ = [-3, _sm, "BedrockRuntimeServiceException", 0, [], []];
|
|
1445
|
-
schema.TypeRegistry.for(_sm).registerError(BedrockRuntimeServiceException$, BedrockRuntimeServiceException);
|
|
1446
|
-
var AsyncInvokeSummaries = [1, n0, _AISs,
|
|
1447
|
-
0, [() => AsyncInvokeSummary$,
|
|
1448
|
-
0]
|
|
1449
|
-
];
|
|
1450
|
-
var CacheDetailsList = [1, n0, _CDL,
|
|
1451
|
-
0, () => CacheDetail$
|
|
1452
|
-
];
|
|
1453
|
-
var CitationGeneratedContentList = [1, n0, _CGCL,
|
|
1454
|
-
0, () => CitationGeneratedContent$
|
|
1455
|
-
];
|
|
1456
|
-
var Citations = [1, n0, _Ci,
|
|
1457
|
-
0, () => Citation$
|
|
1458
|
-
];
|
|
1459
|
-
var CitationSourceContentList = [1, n0, _CSCL,
|
|
1460
|
-
0, () => CitationSourceContent$
|
|
1461
|
-
];
|
|
1462
|
-
var CitationSourceContentListDelta = [1, n0, _CSCLD,
|
|
1463
|
-
0, () => CitationSourceContentDelta$
|
|
1464
|
-
];
|
|
1465
|
-
var ContentBlocks = [1, n0, _CB,
|
|
1466
|
-
0, [() => ContentBlock$,
|
|
1467
|
-
0]
|
|
1468
|
-
];
|
|
1469
|
-
var DocumentContentBlocks = [1, n0, _DCB,
|
|
1470
|
-
0, () => DocumentContentBlock$
|
|
1471
|
-
];
|
|
1472
|
-
var GuardrailAssessmentList = [1, n0, _GAL,
|
|
1473
|
-
0, [() => GuardrailAssessment$,
|
|
1474
|
-
0]
|
|
1475
|
-
];
|
|
1476
|
-
var GuardrailAutomatedReasoningDifferenceScenarioList = [1, n0, _GARDSL,
|
|
1477
|
-
0, [() => GuardrailAutomatedReasoningScenario$,
|
|
1478
|
-
0]
|
|
1479
|
-
];
|
|
1480
|
-
var GuardrailAutomatedReasoningFindingList = [1, n0, _GARFL,
|
|
1481
|
-
0, [() => GuardrailAutomatedReasoningFinding$,
|
|
1482
|
-
0]
|
|
1483
|
-
];
|
|
1484
|
-
var GuardrailAutomatedReasoningInputTextReferenceList = [1, n0, _GARITRL,
|
|
1485
|
-
0, [() => GuardrailAutomatedReasoningInputTextReference$,
|
|
1486
|
-
0]
|
|
1487
|
-
];
|
|
1488
|
-
var GuardrailAutomatedReasoningRuleList = [1, n0, _GARRL,
|
|
1489
|
-
0, () => GuardrailAutomatedReasoningRule$
|
|
1490
|
-
];
|
|
1491
|
-
var GuardrailAutomatedReasoningStatementList = [1, n0, _GARSL,
|
|
1492
|
-
0, [() => GuardrailAutomatedReasoningStatement$,
|
|
1493
|
-
0]
|
|
1494
|
-
];
|
|
1495
|
-
var GuardrailAutomatedReasoningTranslationList = [1, n0, _GARTL,
|
|
1496
|
-
0, [() => GuardrailAutomatedReasoningTranslation$,
|
|
1497
|
-
0]
|
|
1498
|
-
];
|
|
1499
|
-
var GuardrailAutomatedReasoningTranslationOptionList = [1, n0, _GARTOL,
|
|
1500
|
-
0, [() => GuardrailAutomatedReasoningTranslationOption$,
|
|
1501
|
-
0]
|
|
1502
|
-
];
|
|
1503
|
-
var GuardrailContentBlockList = [1, n0, _GCBL,
|
|
1504
|
-
0, [() => GuardrailContentBlock$,
|
|
1505
|
-
0]
|
|
1506
|
-
];
|
|
1507
|
-
var GuardrailContentFilterList = [1, n0, _GCFL,
|
|
1508
|
-
0, () => GuardrailContentFilter$
|
|
1509
|
-
];
|
|
1510
|
-
var GuardrailContextualGroundingFilters = [1, n0, _GCGFu,
|
|
1511
|
-
0, () => GuardrailContextualGroundingFilter$
|
|
1512
|
-
];
|
|
1513
|
-
var GuardrailCustomWordList = [1, n0, _GCWL,
|
|
1514
|
-
0, () => GuardrailCustomWord$
|
|
1515
|
-
];
|
|
1516
|
-
var GuardrailManagedWordList = [1, n0, _GMWL,
|
|
1517
|
-
0, () => GuardrailManagedWord$
|
|
1518
|
-
];
|
|
1519
|
-
var GuardrailOutputContentList = [1, n0, _GOCL,
|
|
1520
|
-
0, () => GuardrailOutputContent$
|
|
1521
|
-
];
|
|
1522
|
-
var GuardrailPiiEntityFilterList = [1, n0, _GPEFL,
|
|
1523
|
-
0, () => GuardrailPiiEntityFilter$
|
|
1524
|
-
];
|
|
1525
|
-
var GuardrailRegexFilterList = [1, n0, _GRFL,
|
|
1526
|
-
0, () => GuardrailRegexFilter$
|
|
1527
|
-
];
|
|
1528
|
-
var GuardrailTopicList = [1, n0, _GTL,
|
|
1529
|
-
0, () => GuardrailTopic$
|
|
1530
|
-
];
|
|
1531
|
-
var Messages = [1, n0, _Me,
|
|
1532
|
-
0, [() => Message$,
|
|
1533
|
-
0]
|
|
1534
|
-
];
|
|
1535
|
-
var SearchResultContentBlocks = [1, n0, _SRCBe,
|
|
1536
|
-
0, () => SearchResultContentBlock$
|
|
1537
|
-
];
|
|
1538
|
-
var SystemContentBlocks = [1, n0, _SCB,
|
|
1539
|
-
0, [() => SystemContentBlock$,
|
|
1540
|
-
0]
|
|
1541
|
-
];
|
|
1542
|
-
var TagList = [1, n0, _TL,
|
|
1543
|
-
0, () => Tag$
|
|
1544
|
-
];
|
|
1545
|
-
var ToolResultBlocksDelta = [1, n0, _TRBD,
|
|
1546
|
-
0, () => ToolResultBlockDelta$
|
|
1547
|
-
];
|
|
1548
|
-
var ToolResultContentBlocks = [1, n0, _TRCB,
|
|
1549
|
-
0, [() => ToolResultContentBlock$,
|
|
1550
|
-
0]
|
|
1551
|
-
];
|
|
1552
|
-
var Tools = [1, n0, _To,
|
|
1553
|
-
0, () => Tool$
|
|
1554
|
-
];
|
|
1555
|
-
var GuardrailAssessmentListMap = [2, n0, _GALM,
|
|
1556
|
-
0, [0,
|
|
1557
|
-
0],
|
|
1558
|
-
[() => GuardrailAssessmentList,
|
|
1559
|
-
0]
|
|
1560
|
-
];
|
|
1561
|
-
var GuardrailAssessmentMap = [2, n0, _GAM,
|
|
1562
|
-
0, [0,
|
|
1563
|
-
0],
|
|
1564
|
-
[() => GuardrailAssessment$,
|
|
1565
|
-
0]
|
|
1566
|
-
];
|
|
1567
|
-
var PromptVariableMap = [2, n0, _PVM,
|
|
1568
|
-
8, 0, () => PromptVariableValues$
|
|
1569
|
-
];
|
|
1570
|
-
var RequestMetadata = [2, n0, _RM,
|
|
1571
|
-
8, 0, 0
|
|
1572
|
-
];
|
|
1573
|
-
var AsyncInvokeOutputDataConfig$ = [4, n0, _AIODC,
|
|
1574
|
-
0,
|
|
1575
|
-
[_sODC],
|
|
1576
|
-
[() => AsyncInvokeS3OutputDataConfig$]
|
|
1577
|
-
];
|
|
1578
|
-
var AudioSource$ = [4, n0, _AS,
|
|
1579
|
-
8,
|
|
1580
|
-
[_b, _sL],
|
|
1581
|
-
[21, () => S3Location$]
|
|
1582
|
-
];
|
|
1583
|
-
var CitationGeneratedContent$ = [4, n0, _CGC,
|
|
1584
|
-
0,
|
|
1585
|
-
[_te],
|
|
1586
|
-
[0]
|
|
1587
|
-
];
|
|
1588
|
-
var CitationLocation$ = [4, n0, _CL,
|
|
1589
|
-
0,
|
|
1590
|
-
[_w, _dC, _dP, _dCo, _sRL],
|
|
1591
|
-
[() => WebLocation$, () => DocumentCharLocation$, () => DocumentPageLocation$, () => DocumentChunkLocation$, () => SearchResultLocation$]
|
|
1592
|
-
];
|
|
1593
|
-
var CitationSourceContent$ = [4, n0, _CSC,
|
|
1594
|
-
0,
|
|
1595
|
-
[_te],
|
|
1596
|
-
[0]
|
|
1597
|
-
];
|
|
1598
|
-
var ContentBlock$ = [4, n0, _CBo,
|
|
1599
|
-
0,
|
|
1600
|
-
[_te, _ima, _doc, _vi, _au, _tU, _tR, _gCua, _cPa, _rC, _cC, _sRe],
|
|
1601
|
-
[0, [() => ImageBlock$, 0], () => DocumentBlock$, () => VideoBlock$, [() => AudioBlock$, 0], () => ToolUseBlock$, [() => ToolResultBlock$, 0], [() => GuardrailConverseContentBlock$, 0], () => CachePointBlock$, [() => ReasoningContentBlock$, 0], () => CitationsContentBlock$, () => SearchResultBlock$]
|
|
1602
|
-
];
|
|
1603
|
-
var ContentBlockDelta$ = [4, n0, _CBD,
|
|
1604
|
-
0,
|
|
1605
|
-
[_te, _tU, _tR, _rC, _cit, _ima],
|
|
1606
|
-
[0, () => ToolUseBlockDelta$, () => ToolResultBlocksDelta, [() => ReasoningContentBlockDelta$, 0], () => CitationsDelta$, [() => ImageBlockDelta$, 0]]
|
|
1607
|
-
];
|
|
1608
|
-
var ContentBlockStart$ = [4, n0, _CBS,
|
|
1609
|
-
0,
|
|
1610
|
-
[_tU, _tR, _ima],
|
|
1611
|
-
[() => ToolUseBlockStart$, () => ToolResultBlockStart$, () => ImageBlockStart$]
|
|
1612
|
-
];
|
|
1613
|
-
var ConverseOutput$ = [4, n0, _CO,
|
|
1614
|
-
0,
|
|
1615
|
-
[_m],
|
|
1616
|
-
[[() => Message$, 0]]
|
|
1617
|
-
];
|
|
1618
|
-
var ConverseStreamOutput$ = [4, n0, _CSO,
|
|
1619
|
-
{ [_stre]: 1 },
|
|
1620
|
-
[_mS, _cBS, _cBD, _cBSo, _mSe, _meta, _iSE, _mSEE, _vE, _tE, _sUE],
|
|
1621
|
-
[() => MessageStartEvent$, () => ContentBlockStartEvent$, [() => ContentBlockDeltaEvent$, 0], () => ContentBlockStopEvent$, () => MessageStopEvent$, [() => ConverseStreamMetadataEvent$, 0], [() => InternalServerException$, 0], [() => ModelStreamErrorException$, 0], [() => ValidationException$, 0], [() => ThrottlingException$, 0], [() => ServiceUnavailableException$, 0]]
|
|
1622
|
-
];
|
|
1623
|
-
var CountTokensInput$ = [4, n0, _CTI,
|
|
1624
|
-
0,
|
|
1625
|
-
[_iMn, _conv],
|
|
1626
|
-
[[() => InvokeModelTokensRequest$, 0], [() => ConverseTokensRequest$, 0]]
|
|
1627
|
-
];
|
|
1628
|
-
var DocumentContentBlock$ = [4, n0, _DCBo,
|
|
1629
|
-
0,
|
|
1630
|
-
[_te],
|
|
1631
|
-
[0]
|
|
1632
|
-
];
|
|
1633
|
-
var DocumentSource$ = [4, n0, _DS,
|
|
1634
|
-
0,
|
|
1635
|
-
[_b, _sL, _te, _co],
|
|
1636
|
-
[21, () => S3Location$, 0, () => DocumentContentBlocks]
|
|
1637
|
-
];
|
|
1638
|
-
var GuardrailAutomatedReasoningFinding$ = [4, n0, _GARF,
|
|
1639
|
-
0,
|
|
1640
|
-
[_va, _in, _sa, _imp, _tA, _tCoo, _nTo],
|
|
1641
|
-
[[() => GuardrailAutomatedReasoningValidFinding$, 0], [() => GuardrailAutomatedReasoningInvalidFinding$, 0], [() => GuardrailAutomatedReasoningSatisfiableFinding$, 0], [() => GuardrailAutomatedReasoningImpossibleFinding$, 0], [() => GuardrailAutomatedReasoningTranslationAmbiguousFinding$, 0], () => GuardrailAutomatedReasoningTooComplexFinding$, () => GuardrailAutomatedReasoningNoTranslationsFinding$]
|
|
1642
|
-
];
|
|
1643
|
-
var GuardrailContentBlock$ = [4, n0, _GCB,
|
|
1644
|
-
0,
|
|
1645
|
-
[_te, _ima],
|
|
1646
|
-
[() => GuardrailTextBlock$, [() => GuardrailImageBlock$, 0]]
|
|
1647
|
-
];
|
|
1648
|
-
var GuardrailConverseContentBlock$ = [4, n0, _GCCB,
|
|
1649
|
-
0,
|
|
1650
|
-
[_te, _ima],
|
|
1651
|
-
[() => GuardrailConverseTextBlock$, [() => GuardrailConverseImageBlock$, 0]]
|
|
1652
|
-
];
|
|
1653
|
-
var GuardrailConverseImageSource$ = [4, n0, _GCIS,
|
|
1654
|
-
8,
|
|
1655
|
-
[_b],
|
|
1656
|
-
[21]
|
|
1657
|
-
];
|
|
1658
|
-
var GuardrailImageSource$ = [4, n0, _GIS,
|
|
1659
|
-
8,
|
|
1660
|
-
[_b],
|
|
1661
|
-
[21]
|
|
1662
|
-
];
|
|
1663
|
-
var ImageSource$ = [4, n0, _IS,
|
|
1664
|
-
8,
|
|
1665
|
-
[_b, _sL],
|
|
1666
|
-
[21, () => S3Location$]
|
|
1667
|
-
];
|
|
1668
|
-
var InvokeModelWithBidirectionalStreamInput$ = [4, n0, _IMWBSI,
|
|
1669
|
-
{ [_stre]: 1 },
|
|
1670
|
-
[_ch],
|
|
1671
|
-
[[() => BidirectionalInputPayloadPart$, 0]]
|
|
1672
|
-
];
|
|
1673
|
-
var InvokeModelWithBidirectionalStreamOutput$ = [4, n0, _IMWBSO,
|
|
1674
|
-
{ [_stre]: 1 },
|
|
1675
|
-
[_ch, _iSE, _mSEE, _vE, _tE, _mTE, _sUE],
|
|
1676
|
-
[[() => BidirectionalOutputPayloadPart$, 0], [() => InternalServerException$, 0], [() => ModelStreamErrorException$, 0], [() => ValidationException$, 0], [() => ThrottlingException$, 0], [() => ModelTimeoutException$, 0], [() => ServiceUnavailableException$, 0]]
|
|
1677
|
-
];
|
|
1678
|
-
var OutputFormatStructure$ = [4, n0, _OFS,
|
|
1679
|
-
8,
|
|
1680
|
-
[_jS],
|
|
1681
|
-
[() => JsonSchemaDefinition$]
|
|
1682
|
-
];
|
|
1683
|
-
var PromptVariableValues$ = [4, n0, _PVV,
|
|
1684
|
-
0,
|
|
1685
|
-
[_te],
|
|
1686
|
-
[0]
|
|
1687
|
-
];
|
|
1688
|
-
var ReasoningContentBlock$ = [4, n0, _RCB,
|
|
1689
|
-
8,
|
|
1690
|
-
[_rT, _rCe],
|
|
1691
|
-
[[() => ReasoningTextBlock$, 0], 21]
|
|
1692
|
-
];
|
|
1693
|
-
var ReasoningContentBlockDelta$ = [4, n0, _RCBD,
|
|
1694
|
-
8,
|
|
1695
|
-
[_te, _rCe, _si],
|
|
1696
|
-
[0, 21, 0]
|
|
1697
|
-
];
|
|
1698
|
-
var ResponseStream$ = [4, n0, _RS,
|
|
1699
|
-
{ [_stre]: 1 },
|
|
1700
|
-
[_ch, _iSE, _mSEE, _vE, _tE, _mTE, _sUE],
|
|
1701
|
-
[[() => PayloadPart$, 0], [() => InternalServerException$, 0], [() => ModelStreamErrorException$, 0], [() => ValidationException$, 0], [() => ThrottlingException$, 0], [() => ModelTimeoutException$, 0], [() => ServiceUnavailableException$, 0]]
|
|
1702
|
-
];
|
|
1703
|
-
var SystemContentBlock$ = [4, n0, _SCBy,
|
|
1704
|
-
0,
|
|
1705
|
-
[_te, _gCua, _cPa],
|
|
1706
|
-
[0, [() => GuardrailConverseContentBlock$, 0], () => CachePointBlock$]
|
|
1707
|
-
];
|
|
1708
|
-
var Tool$ = [4, n0, _Too,
|
|
1709
|
-
0,
|
|
1710
|
-
[_tS, _sTy, _cPa],
|
|
1711
|
-
[() => ToolSpecification$, () => SystemTool$, () => CachePointBlock$]
|
|
1712
|
-
];
|
|
1713
|
-
var ToolChoice$ = [4, n0, _TCo,
|
|
1714
|
-
0,
|
|
1715
|
-
[_aut, _an, _tool],
|
|
1716
|
-
[() => AutoToolChoice$, () => AnyToolChoice$, () => SpecificToolChoice$]
|
|
1717
|
-
];
|
|
1718
|
-
var ToolInputSchema$ = [4, n0, _TIS,
|
|
1719
|
-
0,
|
|
1720
|
-
[_j],
|
|
1721
|
-
[15]
|
|
1722
|
-
];
|
|
1723
|
-
var ToolResultBlockDelta$ = [4, n0, _TRBDo,
|
|
1724
|
-
0,
|
|
1725
|
-
[_te, _j],
|
|
1726
|
-
[0, 15]
|
|
1727
|
-
];
|
|
1728
|
-
var ToolResultContentBlock$ = [4, n0, _TRCBo,
|
|
1729
|
-
0,
|
|
1730
|
-
[_j, _te, _ima, _doc, _vi, _sRe],
|
|
1731
|
-
[15, 0, [() => ImageBlock$, 0], () => DocumentBlock$, () => VideoBlock$, () => SearchResultBlock$]
|
|
1732
|
-
];
|
|
1733
|
-
var VideoSource$ = [4, n0, _VS,
|
|
1734
|
-
0,
|
|
1735
|
-
[_b, _sL],
|
|
1736
|
-
[21, () => S3Location$]
|
|
1737
|
-
];
|
|
1738
|
-
var ApplyGuardrail$ = [9, n0, _AG,
|
|
1739
|
-
{ [_h]: ["POST", "/guardrail/{guardrailIdentifier}/version/{guardrailVersion}/apply", 200] }, () => ApplyGuardrailRequest$, () => ApplyGuardrailResponse$
|
|
1740
|
-
];
|
|
1741
|
-
var Converse$ = [9, n0, _Co,
|
|
1742
|
-
{ [_h]: ["POST", "/model/{modelId}/converse", 200] }, () => ConverseRequest$, () => ConverseResponse$
|
|
1743
|
-
];
|
|
1744
|
-
var ConverseStream$ = [9, n0, _CS,
|
|
1745
|
-
{ [_h]: ["POST", "/model/{modelId}/converse-stream", 200] }, () => ConverseStreamRequest$, () => ConverseStreamResponse$
|
|
1746
|
-
];
|
|
1747
|
-
var CountTokens$ = [9, n0, _CTo,
|
|
1748
|
-
{ [_h]: ["POST", "/model/{modelId}/count-tokens", 200] }, () => CountTokensRequest$, () => CountTokensResponse$
|
|
1749
|
-
];
|
|
1750
|
-
var GetAsyncInvoke$ = [9, n0, _GAI,
|
|
1751
|
-
{ [_h]: ["GET", "/async-invoke/{invocationArn}", 200] }, () => GetAsyncInvokeRequest$, () => GetAsyncInvokeResponse$
|
|
1752
|
-
];
|
|
1753
|
-
var InvokeModel$ = [9, n0, _IM,
|
|
1754
|
-
{ [_h]: ["POST", "/model/{modelId}/invoke", 200] }, () => InvokeModelRequest$, () => InvokeModelResponse$
|
|
1755
|
-
];
|
|
1756
|
-
var InvokeModelWithBidirectionalStream$ = [9, n0, _IMWBS,
|
|
1757
|
-
{ [_h]: ["POST", "/model/{modelId}/invoke-with-bidirectional-stream", 200] }, () => InvokeModelWithBidirectionalStreamRequest$, () => InvokeModelWithBidirectionalStreamResponse$
|
|
1758
|
-
];
|
|
1759
|
-
var InvokeModelWithResponseStream$ = [9, n0, _IMWRS,
|
|
1760
|
-
{ [_h]: ["POST", "/model/{modelId}/invoke-with-response-stream", 200] }, () => InvokeModelWithResponseStreamRequest$, () => InvokeModelWithResponseStreamResponse$
|
|
1761
|
-
];
|
|
1762
|
-
var ListAsyncInvokes$ = [9, n0, _LAI,
|
|
1763
|
-
{ [_h]: ["GET", "/async-invoke", 200] }, () => ListAsyncInvokesRequest$, () => ListAsyncInvokesResponse$
|
|
1764
|
-
];
|
|
1765
|
-
var StartAsyncInvoke$ = [9, n0, _SAI,
|
|
1766
|
-
{ [_h]: ["POST", "/async-invoke", 200] }, () => StartAsyncInvokeRequest$, () => StartAsyncInvokeResponse$
|
|
1767
|
-
];
|
|
1768
|
-
|
|
1769
131
|
class ApplyGuardrailCommand extends smithyClient.Command
|
|
1770
132
|
.classBuilder()
|
|
1771
133
|
.ep(commonParams)
|
|
@@ -1774,7 +136,7 @@ class ApplyGuardrailCommand extends smithyClient.Command
|
|
|
1774
136
|
})
|
|
1775
137
|
.s("AmazonBedrockFrontendService", "ApplyGuardrail", {})
|
|
1776
138
|
.n("BedrockRuntimeClient", "ApplyGuardrailCommand")
|
|
1777
|
-
.sc(ApplyGuardrail$)
|
|
139
|
+
.sc(schemas_0.ApplyGuardrail$)
|
|
1778
140
|
.build() {
|
|
1779
141
|
}
|
|
1780
142
|
|
|
@@ -1786,7 +148,7 @@ class ConverseCommand extends smithyClient.Command
|
|
|
1786
148
|
})
|
|
1787
149
|
.s("AmazonBedrockFrontendService", "Converse", {})
|
|
1788
150
|
.n("BedrockRuntimeClient", "ConverseCommand")
|
|
1789
|
-
.sc(Converse$)
|
|
151
|
+
.sc(schemas_0.Converse$)
|
|
1790
152
|
.build() {
|
|
1791
153
|
}
|
|
1792
154
|
|
|
@@ -1802,7 +164,7 @@ class ConverseStreamCommand extends smithyClient.Command
|
|
|
1802
164
|
},
|
|
1803
165
|
})
|
|
1804
166
|
.n("BedrockRuntimeClient", "ConverseStreamCommand")
|
|
1805
|
-
.sc(ConverseStream$)
|
|
167
|
+
.sc(schemas_0.ConverseStream$)
|
|
1806
168
|
.build() {
|
|
1807
169
|
}
|
|
1808
170
|
|
|
@@ -1814,7 +176,7 @@ class CountTokensCommand extends smithyClient.Command
|
|
|
1814
176
|
})
|
|
1815
177
|
.s("AmazonBedrockFrontendService", "CountTokens", {})
|
|
1816
178
|
.n("BedrockRuntimeClient", "CountTokensCommand")
|
|
1817
|
-
.sc(CountTokens$)
|
|
179
|
+
.sc(schemas_0.CountTokens$)
|
|
1818
180
|
.build() {
|
|
1819
181
|
}
|
|
1820
182
|
|
|
@@ -1826,7 +188,7 @@ class GetAsyncInvokeCommand extends smithyClient.Command
|
|
|
1826
188
|
})
|
|
1827
189
|
.s("AmazonBedrockFrontendService", "GetAsyncInvoke", {})
|
|
1828
190
|
.n("BedrockRuntimeClient", "GetAsyncInvokeCommand")
|
|
1829
|
-
.sc(GetAsyncInvoke$)
|
|
191
|
+
.sc(schemas_0.GetAsyncInvoke$)
|
|
1830
192
|
.build() {
|
|
1831
193
|
}
|
|
1832
194
|
|
|
@@ -1838,7 +200,7 @@ class InvokeModelCommand extends smithyClient.Command
|
|
|
1838
200
|
})
|
|
1839
201
|
.s("AmazonBedrockFrontendService", "InvokeModel", {})
|
|
1840
202
|
.n("BedrockRuntimeClient", "InvokeModelCommand")
|
|
1841
|
-
.sc(InvokeModel$)
|
|
203
|
+
.sc(schemas_0.InvokeModel$)
|
|
1842
204
|
.build() {
|
|
1843
205
|
}
|
|
1844
206
|
|
|
@@ -1861,7 +223,7 @@ class InvokeModelWithBidirectionalStreamCommand extends smithyClient.Command
|
|
|
1861
223
|
},
|
|
1862
224
|
})
|
|
1863
225
|
.n("BedrockRuntimeClient", "InvokeModelWithBidirectionalStreamCommand")
|
|
1864
|
-
.sc(InvokeModelWithBidirectionalStream$)
|
|
226
|
+
.sc(schemas_0.InvokeModelWithBidirectionalStream$)
|
|
1865
227
|
.build() {
|
|
1866
228
|
}
|
|
1867
229
|
|
|
@@ -1877,7 +239,7 @@ class InvokeModelWithResponseStreamCommand extends smithyClient.Command
|
|
|
1877
239
|
},
|
|
1878
240
|
})
|
|
1879
241
|
.n("BedrockRuntimeClient", "InvokeModelWithResponseStreamCommand")
|
|
1880
|
-
.sc(InvokeModelWithResponseStream$)
|
|
242
|
+
.sc(schemas_0.InvokeModelWithResponseStream$)
|
|
1881
243
|
.build() {
|
|
1882
244
|
}
|
|
1883
245
|
|
|
@@ -1889,7 +251,7 @@ class ListAsyncInvokesCommand extends smithyClient.Command
|
|
|
1889
251
|
})
|
|
1890
252
|
.s("AmazonBedrockFrontendService", "ListAsyncInvokes", {})
|
|
1891
253
|
.n("BedrockRuntimeClient", "ListAsyncInvokesCommand")
|
|
1892
|
-
.sc(ListAsyncInvokes$)
|
|
254
|
+
.sc(schemas_0.ListAsyncInvokes$)
|
|
1893
255
|
.build() {
|
|
1894
256
|
}
|
|
1895
257
|
|
|
@@ -1901,7 +263,7 @@ class StartAsyncInvokeCommand extends smithyClient.Command
|
|
|
1901
263
|
})
|
|
1902
264
|
.s("AmazonBedrockFrontendService", "StartAsyncInvoke", {})
|
|
1903
265
|
.n("BedrockRuntimeClient", "StartAsyncInvokeCommand")
|
|
1904
|
-
.sc(StartAsyncInvoke$)
|
|
266
|
+
.sc(schemas_0.StartAsyncInvoke$)
|
|
1905
267
|
.build() {
|
|
1906
268
|
}
|
|
1907
269
|
|
|
@@ -2175,249 +537,73 @@ Object.defineProperty(exports, "__Client", {
|
|
|
2175
537
|
enumerable: true,
|
|
2176
538
|
get: function () { return smithyClient.Client; }
|
|
2177
539
|
});
|
|
2178
|
-
exports
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
exports.ApplyGuardrail$ = ApplyGuardrail$;
|
|
540
|
+
Object.defineProperty(exports, "BedrockRuntimeServiceException", {
|
|
541
|
+
enumerable: true,
|
|
542
|
+
get: function () { return BedrockRuntimeServiceException.BedrockRuntimeServiceException; }
|
|
543
|
+
});
|
|
2183
544
|
exports.ApplyGuardrailCommand = ApplyGuardrailCommand;
|
|
2184
|
-
exports.ApplyGuardrailRequest$ = ApplyGuardrailRequest$;
|
|
2185
|
-
exports.ApplyGuardrailResponse$ = ApplyGuardrailResponse$;
|
|
2186
|
-
exports.AsyncInvokeOutputDataConfig$ = AsyncInvokeOutputDataConfig$;
|
|
2187
|
-
exports.AsyncInvokeS3OutputDataConfig$ = AsyncInvokeS3OutputDataConfig$;
|
|
2188
545
|
exports.AsyncInvokeStatus = AsyncInvokeStatus;
|
|
2189
|
-
exports.AsyncInvokeSummary$ = AsyncInvokeSummary$;
|
|
2190
|
-
exports.AudioBlock$ = AudioBlock$;
|
|
2191
546
|
exports.AudioFormat = AudioFormat;
|
|
2192
|
-
exports.AudioSource$ = AudioSource$;
|
|
2193
|
-
exports.AutoToolChoice$ = AutoToolChoice$;
|
|
2194
547
|
exports.BedrockRuntime = BedrockRuntime;
|
|
2195
548
|
exports.BedrockRuntimeClient = BedrockRuntimeClient;
|
|
2196
|
-
exports.BedrockRuntimeServiceException = BedrockRuntimeServiceException;
|
|
2197
|
-
exports.BedrockRuntimeServiceException$ = BedrockRuntimeServiceException$;
|
|
2198
|
-
exports.BidirectionalInputPayloadPart$ = BidirectionalInputPayloadPart$;
|
|
2199
|
-
exports.BidirectionalOutputPayloadPart$ = BidirectionalOutputPayloadPart$;
|
|
2200
|
-
exports.CacheDetail$ = CacheDetail$;
|
|
2201
|
-
exports.CachePointBlock$ = CachePointBlock$;
|
|
2202
549
|
exports.CachePointType = CachePointType;
|
|
2203
550
|
exports.CacheTTL = CacheTTL;
|
|
2204
|
-
exports.Citation$ = Citation$;
|
|
2205
|
-
exports.CitationGeneratedContent$ = CitationGeneratedContent$;
|
|
2206
|
-
exports.CitationLocation$ = CitationLocation$;
|
|
2207
|
-
exports.CitationSourceContent$ = CitationSourceContent$;
|
|
2208
|
-
exports.CitationSourceContentDelta$ = CitationSourceContentDelta$;
|
|
2209
|
-
exports.CitationsConfig$ = CitationsConfig$;
|
|
2210
|
-
exports.CitationsContentBlock$ = CitationsContentBlock$;
|
|
2211
|
-
exports.CitationsDelta$ = CitationsDelta$;
|
|
2212
|
-
exports.ConflictException = ConflictException;
|
|
2213
|
-
exports.ConflictException$ = ConflictException$;
|
|
2214
|
-
exports.ContentBlock$ = ContentBlock$;
|
|
2215
|
-
exports.ContentBlockDelta$ = ContentBlockDelta$;
|
|
2216
|
-
exports.ContentBlockDeltaEvent$ = ContentBlockDeltaEvent$;
|
|
2217
|
-
exports.ContentBlockStart$ = ContentBlockStart$;
|
|
2218
|
-
exports.ContentBlockStartEvent$ = ContentBlockStartEvent$;
|
|
2219
|
-
exports.ContentBlockStopEvent$ = ContentBlockStopEvent$;
|
|
2220
551
|
exports.ConversationRole = ConversationRole;
|
|
2221
|
-
exports.Converse$ = Converse$;
|
|
2222
552
|
exports.ConverseCommand = ConverseCommand;
|
|
2223
|
-
exports.ConverseMetrics$ = ConverseMetrics$;
|
|
2224
|
-
exports.ConverseOutput$ = ConverseOutput$;
|
|
2225
|
-
exports.ConverseRequest$ = ConverseRequest$;
|
|
2226
|
-
exports.ConverseResponse$ = ConverseResponse$;
|
|
2227
|
-
exports.ConverseStream$ = ConverseStream$;
|
|
2228
553
|
exports.ConverseStreamCommand = ConverseStreamCommand;
|
|
2229
|
-
exports.ConverseStreamMetadataEvent$ = ConverseStreamMetadataEvent$;
|
|
2230
|
-
exports.ConverseStreamMetrics$ = ConverseStreamMetrics$;
|
|
2231
|
-
exports.ConverseStreamOutput$ = ConverseStreamOutput$;
|
|
2232
|
-
exports.ConverseStreamRequest$ = ConverseStreamRequest$;
|
|
2233
|
-
exports.ConverseStreamResponse$ = ConverseStreamResponse$;
|
|
2234
|
-
exports.ConverseStreamTrace$ = ConverseStreamTrace$;
|
|
2235
|
-
exports.ConverseTokensRequest$ = ConverseTokensRequest$;
|
|
2236
|
-
exports.ConverseTrace$ = ConverseTrace$;
|
|
2237
|
-
exports.CountTokens$ = CountTokens$;
|
|
2238
554
|
exports.CountTokensCommand = CountTokensCommand;
|
|
2239
|
-
exports.CountTokensInput$ = CountTokensInput$;
|
|
2240
|
-
exports.CountTokensRequest$ = CountTokensRequest$;
|
|
2241
|
-
exports.CountTokensResponse$ = CountTokensResponse$;
|
|
2242
|
-
exports.DocumentBlock$ = DocumentBlock$;
|
|
2243
|
-
exports.DocumentCharLocation$ = DocumentCharLocation$;
|
|
2244
|
-
exports.DocumentChunkLocation$ = DocumentChunkLocation$;
|
|
2245
|
-
exports.DocumentContentBlock$ = DocumentContentBlock$;
|
|
2246
555
|
exports.DocumentFormat = DocumentFormat;
|
|
2247
|
-
exports.DocumentPageLocation$ = DocumentPageLocation$;
|
|
2248
|
-
exports.DocumentSource$ = DocumentSource$;
|
|
2249
|
-
exports.ErrorBlock$ = ErrorBlock$;
|
|
2250
|
-
exports.GetAsyncInvoke$ = GetAsyncInvoke$;
|
|
2251
556
|
exports.GetAsyncInvokeCommand = GetAsyncInvokeCommand;
|
|
2252
|
-
exports.GetAsyncInvokeRequest$ = GetAsyncInvokeRequest$;
|
|
2253
|
-
exports.GetAsyncInvokeResponse$ = GetAsyncInvokeResponse$;
|
|
2254
557
|
exports.GuardrailAction = GuardrailAction;
|
|
2255
|
-
exports.GuardrailAssessment$ = GuardrailAssessment$;
|
|
2256
|
-
exports.GuardrailAutomatedReasoningFinding$ = GuardrailAutomatedReasoningFinding$;
|
|
2257
|
-
exports.GuardrailAutomatedReasoningImpossibleFinding$ = GuardrailAutomatedReasoningImpossibleFinding$;
|
|
2258
|
-
exports.GuardrailAutomatedReasoningInputTextReference$ = GuardrailAutomatedReasoningInputTextReference$;
|
|
2259
|
-
exports.GuardrailAutomatedReasoningInvalidFinding$ = GuardrailAutomatedReasoningInvalidFinding$;
|
|
2260
|
-
exports.GuardrailAutomatedReasoningLogicWarning$ = GuardrailAutomatedReasoningLogicWarning$;
|
|
2261
558
|
exports.GuardrailAutomatedReasoningLogicWarningType = GuardrailAutomatedReasoningLogicWarningType;
|
|
2262
|
-
exports.GuardrailAutomatedReasoningNoTranslationsFinding$ = GuardrailAutomatedReasoningNoTranslationsFinding$;
|
|
2263
|
-
exports.GuardrailAutomatedReasoningPolicyAssessment$ = GuardrailAutomatedReasoningPolicyAssessment$;
|
|
2264
|
-
exports.GuardrailAutomatedReasoningRule$ = GuardrailAutomatedReasoningRule$;
|
|
2265
|
-
exports.GuardrailAutomatedReasoningSatisfiableFinding$ = GuardrailAutomatedReasoningSatisfiableFinding$;
|
|
2266
|
-
exports.GuardrailAutomatedReasoningScenario$ = GuardrailAutomatedReasoningScenario$;
|
|
2267
|
-
exports.GuardrailAutomatedReasoningStatement$ = GuardrailAutomatedReasoningStatement$;
|
|
2268
|
-
exports.GuardrailAutomatedReasoningTooComplexFinding$ = GuardrailAutomatedReasoningTooComplexFinding$;
|
|
2269
|
-
exports.GuardrailAutomatedReasoningTranslation$ = GuardrailAutomatedReasoningTranslation$;
|
|
2270
|
-
exports.GuardrailAutomatedReasoningTranslationAmbiguousFinding$ = GuardrailAutomatedReasoningTranslationAmbiguousFinding$;
|
|
2271
|
-
exports.GuardrailAutomatedReasoningTranslationOption$ = GuardrailAutomatedReasoningTranslationOption$;
|
|
2272
|
-
exports.GuardrailAutomatedReasoningValidFinding$ = GuardrailAutomatedReasoningValidFinding$;
|
|
2273
|
-
exports.GuardrailConfiguration$ = GuardrailConfiguration$;
|
|
2274
|
-
exports.GuardrailContentBlock$ = GuardrailContentBlock$;
|
|
2275
|
-
exports.GuardrailContentFilter$ = GuardrailContentFilter$;
|
|
2276
559
|
exports.GuardrailContentFilterConfidence = GuardrailContentFilterConfidence;
|
|
2277
560
|
exports.GuardrailContentFilterStrength = GuardrailContentFilterStrength;
|
|
2278
561
|
exports.GuardrailContentFilterType = GuardrailContentFilterType;
|
|
2279
562
|
exports.GuardrailContentPolicyAction = GuardrailContentPolicyAction;
|
|
2280
|
-
exports.GuardrailContentPolicyAssessment$ = GuardrailContentPolicyAssessment$;
|
|
2281
563
|
exports.GuardrailContentQualifier = GuardrailContentQualifier;
|
|
2282
564
|
exports.GuardrailContentSource = GuardrailContentSource;
|
|
2283
|
-
exports.GuardrailContextualGroundingFilter$ = GuardrailContextualGroundingFilter$;
|
|
2284
565
|
exports.GuardrailContextualGroundingFilterType = GuardrailContextualGroundingFilterType;
|
|
2285
566
|
exports.GuardrailContextualGroundingPolicyAction = GuardrailContextualGroundingPolicyAction;
|
|
2286
|
-
exports.GuardrailContextualGroundingPolicyAssessment$ = GuardrailContextualGroundingPolicyAssessment$;
|
|
2287
|
-
exports.GuardrailConverseContentBlock$ = GuardrailConverseContentBlock$;
|
|
2288
567
|
exports.GuardrailConverseContentQualifier = GuardrailConverseContentQualifier;
|
|
2289
|
-
exports.GuardrailConverseImageBlock$ = GuardrailConverseImageBlock$;
|
|
2290
568
|
exports.GuardrailConverseImageFormat = GuardrailConverseImageFormat;
|
|
2291
|
-
exports.GuardrailConverseImageSource$ = GuardrailConverseImageSource$;
|
|
2292
|
-
exports.GuardrailConverseTextBlock$ = GuardrailConverseTextBlock$;
|
|
2293
|
-
exports.GuardrailCoverage$ = GuardrailCoverage$;
|
|
2294
|
-
exports.GuardrailCustomWord$ = GuardrailCustomWord$;
|
|
2295
|
-
exports.GuardrailImageBlock$ = GuardrailImageBlock$;
|
|
2296
|
-
exports.GuardrailImageCoverage$ = GuardrailImageCoverage$;
|
|
2297
569
|
exports.GuardrailImageFormat = GuardrailImageFormat;
|
|
2298
|
-
exports.GuardrailImageSource$ = GuardrailImageSource$;
|
|
2299
|
-
exports.GuardrailInvocationMetrics$ = GuardrailInvocationMetrics$;
|
|
2300
|
-
exports.GuardrailManagedWord$ = GuardrailManagedWord$;
|
|
2301
570
|
exports.GuardrailManagedWordType = GuardrailManagedWordType;
|
|
2302
571
|
exports.GuardrailOrigin = GuardrailOrigin;
|
|
2303
|
-
exports.GuardrailOutputContent$ = GuardrailOutputContent$;
|
|
2304
572
|
exports.GuardrailOutputScope = GuardrailOutputScope;
|
|
2305
573
|
exports.GuardrailOwnership = GuardrailOwnership;
|
|
2306
|
-
exports.GuardrailPiiEntityFilter$ = GuardrailPiiEntityFilter$;
|
|
2307
574
|
exports.GuardrailPiiEntityType = GuardrailPiiEntityType;
|
|
2308
|
-
exports.GuardrailRegexFilter$ = GuardrailRegexFilter$;
|
|
2309
575
|
exports.GuardrailSensitiveInformationPolicyAction = GuardrailSensitiveInformationPolicyAction;
|
|
2310
|
-
exports.GuardrailSensitiveInformationPolicyAssessment$ = GuardrailSensitiveInformationPolicyAssessment$;
|
|
2311
|
-
exports.GuardrailStreamConfiguration$ = GuardrailStreamConfiguration$;
|
|
2312
576
|
exports.GuardrailStreamProcessingMode = GuardrailStreamProcessingMode;
|
|
2313
|
-
exports.GuardrailTextBlock$ = GuardrailTextBlock$;
|
|
2314
|
-
exports.GuardrailTextCharactersCoverage$ = GuardrailTextCharactersCoverage$;
|
|
2315
|
-
exports.GuardrailTopic$ = GuardrailTopic$;
|
|
2316
577
|
exports.GuardrailTopicPolicyAction = GuardrailTopicPolicyAction;
|
|
2317
|
-
exports.GuardrailTopicPolicyAssessment$ = GuardrailTopicPolicyAssessment$;
|
|
2318
578
|
exports.GuardrailTopicType = GuardrailTopicType;
|
|
2319
579
|
exports.GuardrailTrace = GuardrailTrace;
|
|
2320
|
-
exports.GuardrailTraceAssessment$ = GuardrailTraceAssessment$;
|
|
2321
|
-
exports.GuardrailUsage$ = GuardrailUsage$;
|
|
2322
580
|
exports.GuardrailWordPolicyAction = GuardrailWordPolicyAction;
|
|
2323
|
-
exports.GuardrailWordPolicyAssessment$ = GuardrailWordPolicyAssessment$;
|
|
2324
|
-
exports.ImageBlock$ = ImageBlock$;
|
|
2325
|
-
exports.ImageBlockDelta$ = ImageBlockDelta$;
|
|
2326
|
-
exports.ImageBlockStart$ = ImageBlockStart$;
|
|
2327
581
|
exports.ImageFormat = ImageFormat;
|
|
2328
|
-
exports.ImageSource$ = ImageSource$;
|
|
2329
|
-
exports.InferenceConfiguration$ = InferenceConfiguration$;
|
|
2330
|
-
exports.InternalServerException = InternalServerException;
|
|
2331
|
-
exports.InternalServerException$ = InternalServerException$;
|
|
2332
|
-
exports.InvokeModel$ = InvokeModel$;
|
|
2333
582
|
exports.InvokeModelCommand = InvokeModelCommand;
|
|
2334
|
-
exports.InvokeModelRequest$ = InvokeModelRequest$;
|
|
2335
|
-
exports.InvokeModelResponse$ = InvokeModelResponse$;
|
|
2336
|
-
exports.InvokeModelTokensRequest$ = InvokeModelTokensRequest$;
|
|
2337
|
-
exports.InvokeModelWithBidirectionalStream$ = InvokeModelWithBidirectionalStream$;
|
|
2338
583
|
exports.InvokeModelWithBidirectionalStreamCommand = InvokeModelWithBidirectionalStreamCommand;
|
|
2339
|
-
exports.InvokeModelWithBidirectionalStreamInput$ = InvokeModelWithBidirectionalStreamInput$;
|
|
2340
|
-
exports.InvokeModelWithBidirectionalStreamOutput$ = InvokeModelWithBidirectionalStreamOutput$;
|
|
2341
|
-
exports.InvokeModelWithBidirectionalStreamRequest$ = InvokeModelWithBidirectionalStreamRequest$;
|
|
2342
|
-
exports.InvokeModelWithBidirectionalStreamResponse$ = InvokeModelWithBidirectionalStreamResponse$;
|
|
2343
|
-
exports.InvokeModelWithResponseStream$ = InvokeModelWithResponseStream$;
|
|
2344
584
|
exports.InvokeModelWithResponseStreamCommand = InvokeModelWithResponseStreamCommand;
|
|
2345
|
-
exports.InvokeModelWithResponseStreamRequest$ = InvokeModelWithResponseStreamRequest$;
|
|
2346
|
-
exports.InvokeModelWithResponseStreamResponse$ = InvokeModelWithResponseStreamResponse$;
|
|
2347
|
-
exports.JsonSchemaDefinition$ = JsonSchemaDefinition$;
|
|
2348
|
-
exports.ListAsyncInvokes$ = ListAsyncInvokes$;
|
|
2349
585
|
exports.ListAsyncInvokesCommand = ListAsyncInvokesCommand;
|
|
2350
|
-
exports.ListAsyncInvokesRequest$ = ListAsyncInvokesRequest$;
|
|
2351
|
-
exports.ListAsyncInvokesResponse$ = ListAsyncInvokesResponse$;
|
|
2352
|
-
exports.Message$ = Message$;
|
|
2353
|
-
exports.MessageStartEvent$ = MessageStartEvent$;
|
|
2354
|
-
exports.MessageStopEvent$ = MessageStopEvent$;
|
|
2355
|
-
exports.ModelErrorException = ModelErrorException;
|
|
2356
|
-
exports.ModelErrorException$ = ModelErrorException$;
|
|
2357
|
-
exports.ModelNotReadyException = ModelNotReadyException;
|
|
2358
|
-
exports.ModelNotReadyException$ = ModelNotReadyException$;
|
|
2359
|
-
exports.ModelStreamErrorException = ModelStreamErrorException;
|
|
2360
|
-
exports.ModelStreamErrorException$ = ModelStreamErrorException$;
|
|
2361
|
-
exports.ModelTimeoutException = ModelTimeoutException;
|
|
2362
|
-
exports.ModelTimeoutException$ = ModelTimeoutException$;
|
|
2363
|
-
exports.OutputConfig$ = OutputConfig$;
|
|
2364
|
-
exports.OutputFormat$ = OutputFormat$;
|
|
2365
|
-
exports.OutputFormatStructure$ = OutputFormatStructure$;
|
|
2366
586
|
exports.OutputFormatType = OutputFormatType;
|
|
2367
|
-
exports.PayloadPart$ = PayloadPart$;
|
|
2368
587
|
exports.PerformanceConfigLatency = PerformanceConfigLatency;
|
|
2369
|
-
exports.PerformanceConfiguration$ = PerformanceConfiguration$;
|
|
2370
|
-
exports.PromptRouterTrace$ = PromptRouterTrace$;
|
|
2371
|
-
exports.PromptVariableValues$ = PromptVariableValues$;
|
|
2372
|
-
exports.ReasoningContentBlock$ = ReasoningContentBlock$;
|
|
2373
|
-
exports.ReasoningContentBlockDelta$ = ReasoningContentBlockDelta$;
|
|
2374
|
-
exports.ReasoningTextBlock$ = ReasoningTextBlock$;
|
|
2375
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
2376
|
-
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
2377
|
-
exports.ResponseStream$ = ResponseStream$;
|
|
2378
|
-
exports.S3Location$ = S3Location$;
|
|
2379
|
-
exports.SearchResultBlock$ = SearchResultBlock$;
|
|
2380
|
-
exports.SearchResultContentBlock$ = SearchResultContentBlock$;
|
|
2381
|
-
exports.SearchResultLocation$ = SearchResultLocation$;
|
|
2382
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
2383
|
-
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
2384
|
-
exports.ServiceTier$ = ServiceTier$;
|
|
2385
588
|
exports.ServiceTierType = ServiceTierType;
|
|
2386
|
-
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
2387
|
-
exports.ServiceUnavailableException$ = ServiceUnavailableException$;
|
|
2388
589
|
exports.SortAsyncInvocationBy = SortAsyncInvocationBy;
|
|
2389
590
|
exports.SortOrder = SortOrder;
|
|
2390
|
-
exports.SpecificToolChoice$ = SpecificToolChoice$;
|
|
2391
|
-
exports.StartAsyncInvoke$ = StartAsyncInvoke$;
|
|
2392
591
|
exports.StartAsyncInvokeCommand = StartAsyncInvokeCommand;
|
|
2393
|
-
exports.StartAsyncInvokeRequest$ = StartAsyncInvokeRequest$;
|
|
2394
|
-
exports.StartAsyncInvokeResponse$ = StartAsyncInvokeResponse$;
|
|
2395
592
|
exports.StopReason = StopReason;
|
|
2396
|
-
exports.SystemContentBlock$ = SystemContentBlock$;
|
|
2397
|
-
exports.SystemTool$ = SystemTool$;
|
|
2398
|
-
exports.Tag$ = Tag$;
|
|
2399
|
-
exports.ThrottlingException = ThrottlingException;
|
|
2400
|
-
exports.ThrottlingException$ = ThrottlingException$;
|
|
2401
|
-
exports.TokenUsage$ = TokenUsage$;
|
|
2402
|
-
exports.Tool$ = Tool$;
|
|
2403
|
-
exports.ToolChoice$ = ToolChoice$;
|
|
2404
|
-
exports.ToolConfiguration$ = ToolConfiguration$;
|
|
2405
|
-
exports.ToolInputSchema$ = ToolInputSchema$;
|
|
2406
|
-
exports.ToolResultBlock$ = ToolResultBlock$;
|
|
2407
|
-
exports.ToolResultBlockDelta$ = ToolResultBlockDelta$;
|
|
2408
|
-
exports.ToolResultBlockStart$ = ToolResultBlockStart$;
|
|
2409
|
-
exports.ToolResultContentBlock$ = ToolResultContentBlock$;
|
|
2410
593
|
exports.ToolResultStatus = ToolResultStatus;
|
|
2411
|
-
exports.ToolSpecification$ = ToolSpecification$;
|
|
2412
|
-
exports.ToolUseBlock$ = ToolUseBlock$;
|
|
2413
|
-
exports.ToolUseBlockDelta$ = ToolUseBlockDelta$;
|
|
2414
|
-
exports.ToolUseBlockStart$ = ToolUseBlockStart$;
|
|
2415
594
|
exports.ToolUseType = ToolUseType;
|
|
2416
595
|
exports.Trace = Trace;
|
|
2417
|
-
exports.ValidationException = ValidationException;
|
|
2418
|
-
exports.ValidationException$ = ValidationException$;
|
|
2419
|
-
exports.VideoBlock$ = VideoBlock$;
|
|
2420
596
|
exports.VideoFormat = VideoFormat;
|
|
2421
|
-
exports.VideoSource$ = VideoSource$;
|
|
2422
|
-
exports.WebLocation$ = WebLocation$;
|
|
2423
597
|
exports.paginateListAsyncInvokes = paginateListAsyncInvokes;
|
|
598
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
599
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
600
|
+
enumerable: true,
|
|
601
|
+
get: function () { return schemas_0[k]; }
|
|
602
|
+
});
|
|
603
|
+
});
|
|
604
|
+
Object.keys(errors).forEach(function (k) {
|
|
605
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
606
|
+
enumerable: true,
|
|
607
|
+
get: function () { return errors[k]; }
|
|
608
|
+
});
|
|
609
|
+
});
|