@aws-sdk/client-bedrock-runtime 3.941.0 → 3.946.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.
Files changed (48) hide show
  1. package/dist-cjs/index.js +123 -335
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +8 -5
  4. package/dist-cjs/runtimeConfig.native.js +3 -1
  5. package/dist-es/BedrockRuntimeClient.js +3 -3
  6. package/dist-es/models/enums.js +19 -0
  7. package/dist-es/runtimeConfig.browser.js +2 -2
  8. package/dist-es/runtimeConfig.js +7 -4
  9. package/dist-es/runtimeConfig.native.js +3 -1
  10. package/dist-es/schemas/schemas_0.js +103 -335
  11. package/dist-types/BedrockRuntime.d.ts +1 -1
  12. package/dist-types/BedrockRuntimeClient.d.ts +13 -13
  13. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  14. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  15. package/dist-types/commands/ApplyGuardrailCommand.d.ts +3 -3
  16. package/dist-types/commands/ConverseCommand.d.ts +44 -12
  17. package/dist-types/commands/ConverseStreamCommand.d.ts +40 -8
  18. package/dist-types/commands/CountTokensCommand.d.ts +23 -7
  19. package/dist-types/commands/GetAsyncInvokeCommand.d.ts +3 -3
  20. package/dist-types/commands/InvokeModelCommand.d.ts +2 -2
  21. package/dist-types/commands/InvokeModelWithBidirectionalStreamCommand.d.ts +3 -3
  22. package/dist-types/commands/InvokeModelWithResponseStreamCommand.d.ts +3 -3
  23. package/dist-types/commands/ListAsyncInvokesCommand.d.ts +3 -3
  24. package/dist-types/commands/StartAsyncInvokeCommand.d.ts +3 -3
  25. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  26. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  27. package/dist-types/extensionConfiguration.d.ts +4 -4
  28. package/dist-types/models/BedrockRuntimeServiceException.d.ts +1 -1
  29. package/dist-types/models/enums.d.ts +27 -0
  30. package/dist-types/models/errors.d.ts +1 -1
  31. package/dist-types/models/models_0.d.ts +208 -21
  32. package/dist-types/pagination/Interfaces.d.ts +1 -1
  33. package/dist-types/pagination/ListAsyncInvokesPaginator.d.ts +1 -1
  34. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  35. package/dist-types/runtimeConfig.d.ts +2 -2
  36. package/dist-types/runtimeConfig.native.d.ts +1 -1
  37. package/dist-types/runtimeConfig.shared.d.ts +2 -2
  38. package/dist-types/runtimeExtensions.d.ts +1 -1
  39. package/dist-types/schemas/schemas_0.d.ts +6 -1
  40. package/dist-types/ts3.4/BedrockRuntimeClient.d.ts +3 -3
  41. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  42. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/InvokeModelWithResponseStreamCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/models/BedrockRuntimeServiceException.d.ts +1 -1
  45. package/dist-types/ts3.4/models/enums.d.ts +20 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +113 -4
  47. package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
  48. package/package.json +14 -13
@@ -1,4 +1,5 @@
1
1
  const _A = "Accept";
2
+ const _AB = "AudioBlock";
2
3
  const _ADE = "AccessDeniedException";
3
4
  const _AG = "ApplyGuardrail";
4
5
  const _AGD = "AppliedGuardrailDetails";
@@ -9,6 +10,7 @@ const _AIODC = "AsyncInvokeOutputDataConfig";
9
10
  const _AIS = "AsyncInvokeSummary";
10
11
  const _AISODC = "AsyncInvokeS3OutputDataConfig";
11
12
  const _AISs = "AsyncInvokeSummaries";
13
+ const _AS = "AudioSource";
12
14
  const _ATC = "AnyToolChoice";
13
15
  const _ATCu = "AutoToolChoice";
14
16
  const _B = "Body";
@@ -61,6 +63,7 @@ const _DCL = "DocumentCharLocation";
61
63
  const _DCLo = "DocumentChunkLocation";
62
64
  const _DPL = "DocumentPageLocation";
63
65
  const _DS = "DocumentSource";
66
+ const _EB = "ErrorBlock";
64
67
  const _GA = "GuardrailAssessment";
65
68
  const _GAI = "GetAsyncInvoke";
66
69
  const _GAIR = "GetAsyncInvokeRequest";
@@ -132,6 +135,8 @@ const _GTPA = "GuardrailTopicPolicyAssessment";
132
135
  const _GU = "GuardrailUsage";
133
136
  const _GWPA = "GuardrailWordPolicyAssessment";
134
137
  const _IB = "ImageBlock";
138
+ const _IBD = "ImageBlockDelta";
139
+ const _IBS = "ImageBlockStart";
135
140
  const _IC = "InferenceConfiguration";
136
141
  const _IM = "InvokeModel";
137
142
  const _IMR = "InvokeModelRequest";
@@ -229,7 +234,8 @@ const _aRPu = "automatedReasoningPolicies";
229
234
  const _ac = "accept";
230
235
  const _an = "any";
231
236
  const _as = "assessments";
232
- const _au = "auto";
237
+ const _au = "audio";
238
+ const _aut = "auto";
233
239
  const _b = "bytes";
234
240
  const _bO = "bucketOwner";
235
241
  const _bo = "body";
@@ -449,17 +455,7 @@ export var GuardrailAutomatedReasoningStatementLogicContent = [0, n0, _GARSLC, 8
449
455
  export var GuardrailAutomatedReasoningStatementNaturalLanguageContent = [0, n0, _GARSNLC, 8, 0];
450
456
  export var ModelInputPayload = [0, n0, _MIP, 8, 15];
451
457
  export var PartBody = [0, n0, _PB, 8, 21];
452
- export var AccessDeniedException = [
453
- -3,
454
- n0,
455
- _ADE,
456
- {
457
- [_e]: _c,
458
- [_hE]: 403,
459
- },
460
- [_m],
461
- [0],
462
- ];
458
+ export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
463
459
  TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
464
460
  export var AnyToolChoice = [3, n0, _ATC, 0, [], []];
465
461
  export var AppliedGuardrailDetails = [
@@ -502,6 +498,14 @@ export var AsyncInvokeSummary = [
502
498
  [_iA, _mA, _cRT, _st, _fM, _sT, _lMT, _eT, _oDC],
503
499
  [0, 0, 0, 0, [() => AsyncInvokeMessage, 0], 5, 5, 5, () => AsyncInvokeOutputDataConfig],
504
500
  ];
501
+ export var AudioBlock = [
502
+ 3,
503
+ n0,
504
+ _AB,
505
+ 0,
506
+ [_f, _s, _e],
507
+ [0, [() => AudioSource, 0], [() => ErrorBlock, 0]],
508
+ ];
505
509
  export var AutoToolChoice = [3, n0, _ATCu, 0, [], []];
506
510
  export var BidirectionalInputPayloadPart = [3, n0, _BIPP, 8, [_b], [[() => PartBody, 0]]];
507
511
  export var BidirectionalOutputPayloadPart = [3, n0, _BOPP, 8, [_b], [[() => PartBody, 0]]];
@@ -532,17 +536,7 @@ export var CitationsDelta = [
532
536
  [0, 0, () => CitationSourceContentListDelta, () => CitationLocation],
533
537
  ];
534
538
  export var CitationSourceContentDelta = [3, n0, _CSCD, 0, [_te], [0]];
535
- export var ConflictException = [
536
- -3,
537
- n0,
538
- _CE,
539
- {
540
- [_e]: _c,
541
- [_hE]: 400,
542
- },
543
- [_m],
544
- [0],
545
- ];
539
+ export var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
546
540
  TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
547
541
  export var ContentBlockDeltaEvent = [
548
542
  3,
@@ -691,6 +685,7 @@ export var DocumentBlock = [
691
685
  export var DocumentCharLocation = [3, n0, _DCL, 0, [_dI, _sta, _end], [1, 1, 1]];
692
686
  export var DocumentChunkLocation = [3, n0, _DCLo, 0, [_dI, _sta, _end], [1, 1, 1]];
693
687
  export var DocumentPageLocation = [3, n0, _DPL, 0, [_dI, _sta, _end], [1, 1, 1]];
688
+ export var ErrorBlock = [3, n0, _EB, 8, [_m], [0]];
694
689
  export var GetAsyncInvokeRequest = [3, n0, _GAIR, 0, [_iA], [[0, 1]]];
695
690
  export var GetAsyncInvokeResponse = [
696
691
  3,
@@ -955,19 +950,28 @@ export var GuardrailWordPolicyAssessment = [
955
950
  [_cW, _mWL],
956
951
  [() => GuardrailCustomWordList, () => GuardrailManagedWordList],
957
952
  ];
958
- export var ImageBlock = [3, n0, _IB, 0, [_f, _s], [0, () => ImageSource]];
959
- export var InferenceConfiguration = [3, n0, _IC, 0, [_mT, _tem, _tPo, _sS], [1, 1, 1, 64 | 0]];
960
- export var InternalServerException = [
961
- -3,
953
+ export var ImageBlock = [
954
+ 3,
955
+ n0,
956
+ _IB,
957
+ 0,
958
+ [_f, _s, _e],
959
+ [0, [() => ImageSource, 0], [() => ErrorBlock, 0]],
960
+ ];
961
+ export var ImageBlockDelta = [
962
+ 3,
962
963
  n0,
963
- _ISE,
964
- {
965
- [_e]: _se,
966
- [_hE]: 500,
967
- },
968
- [_m],
969
- [0],
964
+ _IBD,
965
+ 0,
966
+ [_s, _e],
967
+ [
968
+ [() => ImageSource, 0],
969
+ [() => ErrorBlock, 0],
970
+ ],
970
971
  ];
972
+ export var ImageBlockStart = [3, n0, _IBS, 0, [_f], [0]];
973
+ export var InferenceConfiguration = [3, n0, _IC, 0, [_mT, _tem, _tPo, _sS], [1, 1, 1, 64 | 0]];
974
+ export var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
971
975
  TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
972
976
  export var InvokeModelRequest = [
973
977
  3,
@@ -977,49 +981,14 @@ export var InvokeModelRequest = [
977
981
  [_bo, _cT, _ac, _mI, _tr, _gIu, _gV, _pCL, _sTe],
978
982
  [
979
983
  [() => Body, 16],
980
- [
981
- 0,
982
- {
983
- [_hH]: _CT_,
984
- },
985
- ],
986
- [
987
- 0,
988
- {
989
- [_hH]: _A,
990
- },
991
- ],
984
+ [0, { [_hH]: _CT_ }],
985
+ [0, { [_hH]: _A }],
992
986
  [0, 1],
993
- [
994
- 0,
995
- {
996
- [_hH]: _XABT,
997
- },
998
- ],
999
- [
1000
- 0,
1001
- {
1002
- [_hH]: _XABG,
1003
- },
1004
- ],
1005
- [
1006
- 0,
1007
- {
1008
- [_hH]: _XABG_,
1009
- },
1010
- ],
1011
- [
1012
- 0,
1013
- {
1014
- [_hH]: _XABPL,
1015
- },
1016
- ],
1017
- [
1018
- 0,
1019
- {
1020
- [_hH]: _XABST,
1021
- },
1022
- ],
987
+ [0, { [_hH]: _XABT }],
988
+ [0, { [_hH]: _XABG }],
989
+ [0, { [_hH]: _XABG_ }],
990
+ [0, { [_hH]: _XABPL }],
991
+ [0, { [_hH]: _XABST }],
1023
992
  ],
1024
993
  ];
1025
994
  export var InvokeModelResponse = [
@@ -1030,24 +999,9 @@ export var InvokeModelResponse = [
1030
999
  [_bo, _cT, _pCL, _sTe],
1031
1000
  [
1032
1001
  [() => Body, 16],
1033
- [
1034
- 0,
1035
- {
1036
- [_hH]: _CT_,
1037
- },
1038
- ],
1039
- [
1040
- 0,
1041
- {
1042
- [_hH]: _XABPL,
1043
- },
1044
- ],
1045
- [
1046
- 0,
1047
- {
1048
- [_hH]: _XABST,
1049
- },
1050
- ],
1002
+ [0, { [_hH]: _CT_ }],
1003
+ [0, { [_hH]: _XABPL }],
1004
+ [0, { [_hH]: _XABST }],
1051
1005
  ],
1052
1006
  ];
1053
1007
  export var InvokeModelTokensRequest = [3, n0, _IMTR, 0, [_bo], [[() => Body, 0]]];
@@ -1078,49 +1032,14 @@ export var InvokeModelWithResponseStreamRequest = [
1078
1032
  [_bo, _cT, _ac, _mI, _tr, _gIu, _gV, _pCL, _sTe],
1079
1033
  [
1080
1034
  [() => Body, 16],
1081
- [
1082
- 0,
1083
- {
1084
- [_hH]: _CT_,
1085
- },
1086
- ],
1087
- [
1088
- 0,
1089
- {
1090
- [_hH]: _XABA,
1091
- },
1092
- ],
1035
+ [0, { [_hH]: _CT_ }],
1036
+ [0, { [_hH]: _XABA }],
1093
1037
  [0, 1],
1094
- [
1095
- 0,
1096
- {
1097
- [_hH]: _XABT,
1098
- },
1099
- ],
1100
- [
1101
- 0,
1102
- {
1103
- [_hH]: _XABG,
1104
- },
1105
- ],
1106
- [
1107
- 0,
1108
- {
1109
- [_hH]: _XABG_,
1110
- },
1111
- ],
1112
- [
1113
- 0,
1114
- {
1115
- [_hH]: _XABPL,
1116
- },
1117
- ],
1118
- [
1119
- 0,
1120
- {
1121
- [_hH]: _XABST,
1122
- },
1123
- ],
1038
+ [0, { [_hH]: _XABT }],
1039
+ [0, { [_hH]: _XABG }],
1040
+ [0, { [_hH]: _XABG_ }],
1041
+ [0, { [_hH]: _XABPL }],
1042
+ [0, { [_hH]: _XABST }],
1124
1043
  ],
1125
1044
  ];
1126
1045
  export var InvokeModelWithResponseStreamResponse = [
@@ -1131,24 +1050,9 @@ export var InvokeModelWithResponseStreamResponse = [
1131
1050
  [_bo, _cT, _pCL, _sTe],
1132
1051
  [
1133
1052
  [() => ResponseStream, 16],
1134
- [
1135
- 0,
1136
- {
1137
- [_hH]: _XABCT,
1138
- },
1139
- ],
1140
- [
1141
- 0,
1142
- {
1143
- [_hH]: _XABPL,
1144
- },
1145
- ],
1146
- [
1147
- 0,
1148
- {
1149
- [_hH]: _XABST,
1150
- },
1151
- ],
1053
+ [0, { [_hH]: _XABCT }],
1054
+ [0, { [_hH]: _XABPL }],
1055
+ [0, { [_hH]: _XABST }],
1152
1056
  ],
1153
1057
  ];
1154
1058
  export var ListAsyncInvokesRequest = [
@@ -1158,48 +1062,13 @@ export var ListAsyncInvokesRequest = [
1158
1062
  0,
1159
1063
  [_sTA, _sTB, _sE, _mR, _nT, _sB, _sO],
1160
1064
  [
1161
- [
1162
- 5,
1163
- {
1164
- [_hQ]: _sTA,
1165
- },
1166
- ],
1167
- [
1168
- 5,
1169
- {
1170
- [_hQ]: _sTB,
1171
- },
1172
- ],
1173
- [
1174
- 0,
1175
- {
1176
- [_hQ]: _sE,
1177
- },
1178
- ],
1179
- [
1180
- 1,
1181
- {
1182
- [_hQ]: _mR,
1183
- },
1184
- ],
1185
- [
1186
- 0,
1187
- {
1188
- [_hQ]: _nT,
1189
- },
1190
- ],
1191
- [
1192
- 0,
1193
- {
1194
- [_hQ]: _sB,
1195
- },
1196
- ],
1197
- [
1198
- 0,
1199
- {
1200
- [_hQ]: _sO,
1201
- },
1202
- ],
1065
+ [5, { [_hQ]: _sTA }],
1066
+ [5, { [_hQ]: _sTB }],
1067
+ [0, { [_hQ]: _sE }],
1068
+ [1, { [_hQ]: _mR }],
1069
+ [0, { [_hQ]: _nT }],
1070
+ [0, { [_hQ]: _sB }],
1071
+ [0, { [_hQ]: _sO }],
1203
1072
  ],
1204
1073
  ];
1205
1074
  export var ListAsyncInvokesResponse = [
@@ -1217,65 +1086,29 @@ export var ModelErrorException = [
1217
1086
  -3,
1218
1087
  n0,
1219
1088
  _MEE,
1220
- {
1221
- [_e]: _c,
1222
- [_hE]: 424,
1223
- },
1089
+ { [_e]: _c, [_hE]: 424 },
1224
1090
  [_m, _oSC, _rN],
1225
1091
  [0, 1, 0],
1226
1092
  ];
1227
1093
  TypeRegistry.for(n0).registerError(ModelErrorException, __ModelErrorException);
1228
- export var ModelNotReadyException = [
1229
- -3,
1230
- n0,
1231
- _MNRE,
1232
- {
1233
- [_e]: _c,
1234
- [_hE]: 429,
1235
- },
1236
- [_m],
1237
- [0],
1238
- ];
1094
+ export var ModelNotReadyException = [-3, n0, _MNRE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
1239
1095
  TypeRegistry.for(n0).registerError(ModelNotReadyException, __ModelNotReadyException);
1240
1096
  export var ModelStreamErrorException = [
1241
1097
  -3,
1242
1098
  n0,
1243
1099
  _MSEE,
1244
- {
1245
- [_e]: _c,
1246
- [_hE]: 424,
1247
- },
1100
+ { [_e]: _c, [_hE]: 424 },
1248
1101
  [_m, _oSC, _oM],
1249
1102
  [0, 1, 0],
1250
1103
  ];
1251
1104
  TypeRegistry.for(n0).registerError(ModelStreamErrorException, __ModelStreamErrorException);
1252
- export var ModelTimeoutException = [
1253
- -3,
1254
- n0,
1255
- _MTE,
1256
- {
1257
- [_e]: _c,
1258
- [_hE]: 408,
1259
- },
1260
- [_m],
1261
- [0],
1262
- ];
1105
+ export var ModelTimeoutException = [-3, n0, _MTE, { [_e]: _c, [_hE]: 408 }, [_m], [0]];
1263
1106
  TypeRegistry.for(n0).registerError(ModelTimeoutException, __ModelTimeoutException);
1264
1107
  export var PayloadPart = [3, n0, _PP, 8, [_b], [[() => PartBody, 0]]];
1265
1108
  export var PerformanceConfiguration = [3, n0, _PC, 0, [_la], [0]];
1266
1109
  export var PromptRouterTrace = [3, n0, _PRT, 0, [_iMI], [0]];
1267
1110
  export var ReasoningTextBlock = [3, n0, _RTB, 8, [_te, _si], [0, 0]];
1268
- export var ResourceNotFoundException = [
1269
- -3,
1270
- n0,
1271
- _RNFE,
1272
- {
1273
- [_e]: _c,
1274
- [_hE]: 404,
1275
- },
1276
- [_m],
1277
- [0],
1278
- ];
1111
+ export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
1279
1112
  TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
1280
1113
  export var S3Location = [3, n0, _SL, 0, [_ur, _bO], [0, 0]];
1281
1114
  export var SearchResultBlock = [
@@ -1288,30 +1121,10 @@ export var SearchResultBlock = [
1288
1121
  ];
1289
1122
  export var SearchResultContentBlock = [3, n0, _SRCB, 0, [_te], [0]];
1290
1123
  export var SearchResultLocation = [3, n0, _SRL, 0, [_sRI, _sta, _end], [1, 1, 1]];
1291
- export var ServiceQuotaExceededException = [
1292
- -3,
1293
- n0,
1294
- _SQEE,
1295
- {
1296
- [_e]: _c,
1297
- [_hE]: 400,
1298
- },
1299
- [_m],
1300
- [0],
1301
- ];
1124
+ export var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
1302
1125
  TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
1303
1126
  export var ServiceTier = [3, n0, _ST, 0, [_t], [0]];
1304
- export var ServiceUnavailableException = [
1305
- -3,
1306
- n0,
1307
- _SUE,
1308
- {
1309
- [_e]: _se,
1310
- [_hE]: 503,
1311
- },
1312
- [_m],
1313
- [0],
1314
- ];
1127
+ export var ServiceUnavailableException = [-3, n0, _SUE, { [_e]: _se, [_hE]: 503 }, [_m], [0]];
1315
1128
  TypeRegistry.for(n0).registerError(ServiceUnavailableException, __ServiceUnavailableException);
1316
1129
  export var SpecificToolChoice = [3, n0, _STC, 0, [_n], [0]];
1317
1130
  export var StartAsyncInvokeRequest = [
@@ -1325,17 +1138,7 @@ export var StartAsyncInvokeRequest = [
1325
1138
  export var StartAsyncInvokeResponse = [3, n0, _SAIRt, 0, [_iA], [0]];
1326
1139
  export var SystemTool = [3, n0, _STy, 0, [_n], [0]];
1327
1140
  export var Tag = [3, n0, _T, 0, [_k, _v], [0, 0]];
1328
- export var ThrottlingException = [
1329
- -3,
1330
- n0,
1331
- _TE,
1332
- {
1333
- [_e]: _c,
1334
- [_hE]: 429,
1335
- },
1336
- [_m],
1337
- [0],
1338
- ];
1141
+ export var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
1339
1142
  TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
1340
1143
  export var TokenUsage = [3, n0, _TU, 0, [_iT, _oT, _tT, _cRIT, _cWIT], [1, 1, 1, 1, 1]];
1341
1144
  export var ToolConfiguration = [3, n0, _TC, 0, [_too, _tCo], [() => Tools, () => ToolChoice]];
@@ -1345,24 +1148,14 @@ export var ToolResultBlock = [
1345
1148
  _TRB,
1346
1149
  0,
1347
1150
  [_tUI, _co, _st, _t],
1348
- [0, () => ToolResultContentBlocks, 0, 0],
1151
+ [0, [() => ToolResultContentBlocks, 0], 0, 0],
1349
1152
  ];
1350
1153
  export var ToolResultBlockStart = [3, n0, _TRBS, 0, [_tUI, _t, _st], [0, 0, 0]];
1351
1154
  export var ToolSpecification = [3, n0, _TS, 0, [_n, _des, _iS], [0, 0, () => ToolInputSchema]];
1352
1155
  export var ToolUseBlock = [3, n0, _TUB, 0, [_tUI, _n, _i, _t], [0, 0, 15, 0]];
1353
1156
  export var ToolUseBlockDelta = [3, n0, _TUBD, 0, [_i], [0]];
1354
1157
  export var ToolUseBlockStart = [3, n0, _TUBS, 0, [_tUI, _n, _t], [0, 0, 0]];
1355
- export var ValidationException = [
1356
- -3,
1357
- n0,
1358
- _VE,
1359
- {
1360
- [_e]: _c,
1361
- [_hE]: 400,
1362
- },
1363
- [_m],
1364
- [0],
1365
- ];
1158
+ export var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
1366
1159
  TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
1367
1160
  export var VideoBlock = [3, n0, _VB, 0, [_f, _s], [0, () => VideoSource]];
1368
1161
  export var WebLocation = [3, n0, _WL, 0, [_url, _do], [0, 0]];
@@ -1452,7 +1245,7 @@ export var SearchResultContentBlocks = [1, n0, _SRCBe, 0, () => SearchResultCont
1452
1245
  export var SystemContentBlocks = [1, n0, _SCB, 0, [() => SystemContentBlock, 0]];
1453
1246
  export var TagList = [1, n0, _TL, 0, () => Tag];
1454
1247
  export var ToolResultBlocksDelta = [1, n0, _TRBD, 0, () => ToolResultBlockDelta];
1455
- export var ToolResultContentBlocks = [1, n0, _TRCB, 0, () => ToolResultContentBlock];
1248
+ export var ToolResultContentBlocks = [1, n0, _TRCB, 0, [() => ToolResultContentBlock, 0]];
1456
1249
  export var Tools = [1, n0, _To, 0, () => Tool];
1457
1250
  export var GuardrailAssessmentListMap = [2, n0, _GALM, 0, [0, 0], [() => GuardrailAssessmentList, 0]];
1458
1251
  export var GuardrailAssessmentMap = [2, n0, _GAM, 0, [0, 0], [() => GuardrailAssessment, 0]];
@@ -1466,6 +1259,7 @@ export var AsyncInvokeOutputDataConfig = [
1466
1259
  [_sODC],
1467
1260
  [() => AsyncInvokeS3OutputDataConfig],
1468
1261
  ];
1262
+ export var AudioSource = [3, n0, _AS, 8, [_b, _sL], [21, () => S3Location]];
1469
1263
  export var CitationGeneratedContent = [3, n0, _CGC, 0, [_te], [0]];
1470
1264
  export var CitationLocation = [
1471
1265
  3,
@@ -1487,14 +1281,15 @@ export var ContentBlock = [
1487
1281
  n0,
1488
1282
  _CBo,
1489
1283
  0,
1490
- [_te, _ima, _doc, _vi, _tU, _tR, _gCua, _cPa, _rC, _cC, _sRe],
1284
+ [_te, _ima, _doc, _vi, _au, _tU, _tR, _gCua, _cPa, _rC, _cC, _sRe],
1491
1285
  [
1492
1286
  0,
1493
- () => ImageBlock,
1287
+ [() => ImageBlock, 0],
1494
1288
  () => DocumentBlock,
1495
1289
  () => VideoBlock,
1290
+ [() => AudioBlock, 0],
1496
1291
  () => ToolUseBlock,
1497
- () => ToolResultBlock,
1292
+ [() => ToolResultBlock, 0],
1498
1293
  [() => GuardrailConverseContentBlock, 0],
1499
1294
  () => CachePointBlock,
1500
1295
  [() => ReasoningContentBlock, 0],
@@ -1507,13 +1302,14 @@ export var ContentBlockDelta = [
1507
1302
  n0,
1508
1303
  _CBD,
1509
1304
  0,
1510
- [_te, _tU, _tR, _rC, _cit],
1305
+ [_te, _tU, _tR, _rC, _cit, _ima],
1511
1306
  [
1512
1307
  0,
1513
1308
  () => ToolUseBlockDelta,
1514
1309
  () => ToolResultBlocksDelta,
1515
1310
  [() => ReasoningContentBlockDelta, 0],
1516
1311
  () => CitationsDelta,
1312
+ [() => ImageBlockDelta, 0],
1517
1313
  ],
1518
1314
  ];
1519
1315
  export var ContentBlockStart = [
@@ -1521,17 +1317,15 @@ export var ContentBlockStart = [
1521
1317
  n0,
1522
1318
  _CBS,
1523
1319
  0,
1524
- [_tU, _tR],
1525
- [() => ToolUseBlockStart, () => ToolResultBlockStart],
1320
+ [_tU, _tR, _ima],
1321
+ [() => ToolUseBlockStart, () => ToolResultBlockStart, () => ImageBlockStart],
1526
1322
  ];
1527
1323
  export var ConverseOutput = [3, n0, _CO, 0, [_m], [[() => Message, 0]]];
1528
1324
  export var ConverseStreamOutput = [
1529
1325
  3,
1530
1326
  n0,
1531
1327
  _CSO,
1532
- {
1533
- [_stre]: 1,
1534
- },
1328
+ { [_stre]: 1 },
1535
1329
  [_mS, _cBS, _cBD, _cBSo, _mSe, _meta, _iSE, _mSEE, _vE, _tE, _sUE],
1536
1330
  [
1537
1331
  () => MessageStartEvent,
@@ -1601,14 +1395,12 @@ export var GuardrailConverseContentBlock = [
1601
1395
  ];
1602
1396
  export var GuardrailConverseImageSource = [3, n0, _GCIS, 8, [_b], [21]];
1603
1397
  export var GuardrailImageSource = [3, n0, _GIS, 8, [_b], [21]];
1604
- export var ImageSource = [3, n0, _IS, 0, [_b, _sL], [21, () => S3Location]];
1398
+ export var ImageSource = [3, n0, _IS, 8, [_b, _sL], [21, () => S3Location]];
1605
1399
  export var InvokeModelWithBidirectionalStreamInput = [
1606
1400
  3,
1607
1401
  n0,
1608
1402
  _IMWBSI,
1609
- {
1610
- [_stre]: 1,
1611
- },
1403
+ { [_stre]: 1 },
1612
1404
  [_ch],
1613
1405
  [[() => BidirectionalInputPayloadPart, 0]],
1614
1406
  ];
@@ -1616,9 +1408,7 @@ export var InvokeModelWithBidirectionalStreamOutput = [
1616
1408
  3,
1617
1409
  n0,
1618
1410
  _IMWBSO,
1619
- {
1620
- [_stre]: 1,
1621
- },
1411
+ { [_stre]: 1 },
1622
1412
  [_ch, _iSE, _mSEE, _vE, _tE, _mTE, _sUE],
1623
1413
  [
1624
1414
  [() => BidirectionalOutputPayloadPart, 0],
@@ -1644,9 +1434,7 @@ export var ResponseStream = [
1644
1434
  3,
1645
1435
  n0,
1646
1436
  _RS,
1647
- {
1648
- [_stre]: 1,
1649
- },
1437
+ { [_stre]: 1 },
1650
1438
  [_ch, _iSE, _mSEE, _vE, _tE, _mTE, _sUE],
1651
1439
  [
1652
1440
  [() => PayloadPart, 0],
@@ -1679,27 +1467,25 @@ export var ToolChoice = [
1679
1467
  n0,
1680
1468
  _TCo,
1681
1469
  0,
1682
- [_au, _an, _tool],
1470
+ [_aut, _an, _tool],
1683
1471
  [() => AutoToolChoice, () => AnyToolChoice, () => SpecificToolChoice],
1684
1472
  ];
1685
1473
  export var ToolInputSchema = [3, n0, _TIS, 0, [_j], [15]];
1686
- export var ToolResultBlockDelta = [3, n0, _TRBDo, 0, [_te], [0]];
1474
+ export var ToolResultBlockDelta = [3, n0, _TRBDo, 0, [_te, _j], [0, 15]];
1687
1475
  export var ToolResultContentBlock = [
1688
1476
  3,
1689
1477
  n0,
1690
1478
  _TRCBo,
1691
1479
  0,
1692
1480
  [_j, _te, _ima, _doc, _vi, _sRe],
1693
- [15, 0, () => ImageBlock, () => DocumentBlock, () => VideoBlock, () => SearchResultBlock],
1481
+ [15, 0, [() => ImageBlock, 0], () => DocumentBlock, () => VideoBlock, () => SearchResultBlock],
1694
1482
  ];
1695
1483
  export var VideoSource = [3, n0, _VS, 0, [_b, _sL], [21, () => S3Location]];
1696
1484
  export var ApplyGuardrail = [
1697
1485
  9,
1698
1486
  n0,
1699
1487
  _AG,
1700
- {
1701
- [_h]: ["POST", "/guardrail/{guardrailIdentifier}/version/{guardrailVersion}/apply", 200],
1702
- },
1488
+ { [_h]: ["POST", "/guardrail/{guardrailIdentifier}/version/{guardrailVersion}/apply", 200] },
1703
1489
  () => ApplyGuardrailRequest,
1704
1490
  () => ApplyGuardrailResponse,
1705
1491
  ];
@@ -1707,9 +1493,7 @@ export var Converse = [
1707
1493
  9,
1708
1494
  n0,
1709
1495
  _Co,
1710
- {
1711
- [_h]: ["POST", "/model/{modelId}/converse", 200],
1712
- },
1496
+ { [_h]: ["POST", "/model/{modelId}/converse", 200] },
1713
1497
  () => ConverseRequest,
1714
1498
  () => ConverseResponse,
1715
1499
  ];
@@ -1717,9 +1501,7 @@ export var ConverseStream = [
1717
1501
  9,
1718
1502
  n0,
1719
1503
  _CS,
1720
- {
1721
- [_h]: ["POST", "/model/{modelId}/converse-stream", 200],
1722
- },
1504
+ { [_h]: ["POST", "/model/{modelId}/converse-stream", 200] },
1723
1505
  () => ConverseStreamRequest,
1724
1506
  () => ConverseStreamResponse,
1725
1507
  ];
@@ -1727,9 +1509,7 @@ export var CountTokens = [
1727
1509
  9,
1728
1510
  n0,
1729
1511
  _CTo,
1730
- {
1731
- [_h]: ["POST", "/model/{modelId}/count-tokens", 200],
1732
- },
1512
+ { [_h]: ["POST", "/model/{modelId}/count-tokens", 200] },
1733
1513
  () => CountTokensRequest,
1734
1514
  () => CountTokensResponse,
1735
1515
  ];
@@ -1737,9 +1517,7 @@ export var GetAsyncInvoke = [
1737
1517
  9,
1738
1518
  n0,
1739
1519
  _GAI,
1740
- {
1741
- [_h]: ["GET", "/async-invoke/{invocationArn}", 200],
1742
- },
1520
+ { [_h]: ["GET", "/async-invoke/{invocationArn}", 200] },
1743
1521
  () => GetAsyncInvokeRequest,
1744
1522
  () => GetAsyncInvokeResponse,
1745
1523
  ];
@@ -1747,9 +1525,7 @@ export var InvokeModel = [
1747
1525
  9,
1748
1526
  n0,
1749
1527
  _IM,
1750
- {
1751
- [_h]: ["POST", "/model/{modelId}/invoke", 200],
1752
- },
1528
+ { [_h]: ["POST", "/model/{modelId}/invoke", 200] },
1753
1529
  () => InvokeModelRequest,
1754
1530
  () => InvokeModelResponse,
1755
1531
  ];
@@ -1757,9 +1533,7 @@ export var InvokeModelWithBidirectionalStream = [
1757
1533
  9,
1758
1534
  n0,
1759
1535
  _IMWBS,
1760
- {
1761
- [_h]: ["POST", "/model/{modelId}/invoke-with-bidirectional-stream", 200],
1762
- },
1536
+ { [_h]: ["POST", "/model/{modelId}/invoke-with-bidirectional-stream", 200] },
1763
1537
  () => InvokeModelWithBidirectionalStreamRequest,
1764
1538
  () => InvokeModelWithBidirectionalStreamResponse,
1765
1539
  ];
@@ -1767,9 +1541,7 @@ export var InvokeModelWithResponseStream = [
1767
1541
  9,
1768
1542
  n0,
1769
1543
  _IMWRS,
1770
- {
1771
- [_h]: ["POST", "/model/{modelId}/invoke-with-response-stream", 200],
1772
- },
1544
+ { [_h]: ["POST", "/model/{modelId}/invoke-with-response-stream", 200] },
1773
1545
  () => InvokeModelWithResponseStreamRequest,
1774
1546
  () => InvokeModelWithResponseStreamResponse,
1775
1547
  ];
@@ -1777,9 +1549,7 @@ export var ListAsyncInvokes = [
1777
1549
  9,
1778
1550
  n0,
1779
1551
  _LAI,
1780
- {
1781
- [_h]: ["GET", "/async-invoke", 200],
1782
- },
1552
+ { [_h]: ["GET", "/async-invoke", 200] },
1783
1553
  () => ListAsyncInvokesRequest,
1784
1554
  () => ListAsyncInvokesResponse,
1785
1555
  ];
@@ -1787,9 +1557,7 @@ export var StartAsyncInvoke = [
1787
1557
  9,
1788
1558
  n0,
1789
1559
  _SAI,
1790
- {
1791
- [_h]: ["POST", "/async-invoke", 200],
1792
- },
1560
+ { [_h]: ["POST", "/async-invoke", 200] },
1793
1561
  () => StartAsyncInvokeRequest,
1794
1562
  () => StartAsyncInvokeResponse,
1795
1563
  ];