@aws-sdk/client-bedrock 3.987.0 → 3.989.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.
@@ -7,6 +7,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
7
7
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
8
8
  import { defaultBedrockHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
9
9
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
10
+ import { errorTypeRegistries } from "./schemas/schemas_0";
10
11
  export const getRuntimeConfig = (config) => {
11
12
  return {
12
13
  apiVersion: "2023-04-20",
@@ -32,6 +33,7 @@ export const getRuntimeConfig = (config) => {
32
33
  protocol: config?.protocol ?? AwsRestJsonProtocol,
33
34
  protocolSettings: config?.protocolSettings ?? {
34
35
  defaultNamespace: "com.amazonaws.bedrock",
36
+ errorTypeRegistries,
35
37
  version: "2023-04-20",
36
38
  serviceTarget: "AmazonBedrockControlPlaneService",
37
39
  },
@@ -1074,7 +1074,7 @@ const _rSI = "ragSourceIdentifier";
1074
1074
  const _rSS = "responseStreamingSupported";
1075
1075
  const _re = "regexes";
1076
1076
  const _ru = "rules";
1077
- const _s = "status";
1077
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.bedrock";
1078
1078
  const _sAE = "sourceAccountEquals";
1079
1079
  const _sAI = "sourceAccountId";
1080
1080
  const _sB = "sortBy";
@@ -1117,9 +1117,9 @@ const _sW = "startsWith";
1117
1117
  const _sa = "satisfiable";
1118
1118
  const _sc = "scenario";
1119
1119
  const _se = "server";
1120
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.bedrock";
1121
1120
  const _so = "sources";
1122
- const _st = "statements";
1121
+ const _st = "status";
1122
+ const _sta = "statements";
1123
1123
  const _t = "translation";
1124
1124
  const _tA = "translationAmbiguous";
1125
1125
  const _tC = "typeCount";
@@ -1217,6 +1217,74 @@ const n0 = "com.amazonaws.bedrock";
1217
1217
  import { TypeRegistry } from "@smithy/core/schema";
1218
1218
  import { BedrockServiceException } from "../models/BedrockServiceException";
1219
1219
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceInUseException, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, ThrottlingException, TooManyTagsException, ValidationException, } from "../models/errors";
1220
+ const _s_registry = TypeRegistry.for(_s);
1221
+ export var BedrockServiceException$ = [-3, _s, "BedrockServiceException", 0, [], []];
1222
+ _s_registry.registerError(BedrockServiceException$, BedrockServiceException);
1223
+ const n0_registry = TypeRegistry.for(n0);
1224
+ export var AccessDeniedException$ = [-3, n0, _ADE,
1225
+ { [_e]: _c, [_hE]: 403 },
1226
+ [_m],
1227
+ [0]
1228
+ ];
1229
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
1230
+ export var ConflictException$ = [-3, n0, _CE,
1231
+ { [_e]: _c, [_hE]: 400 },
1232
+ [_m],
1233
+ [0]
1234
+ ];
1235
+ n0_registry.registerError(ConflictException$, ConflictException);
1236
+ export var InternalServerException$ = [-3, n0, _ISE,
1237
+ { [_e]: _se, [_hE]: 500 },
1238
+ [_m],
1239
+ [0]
1240
+ ];
1241
+ n0_registry.registerError(InternalServerException$, InternalServerException);
1242
+ export var ResourceInUseException$ = [-3, n0, _RIUE,
1243
+ { [_e]: _c, [_hE]: 400 },
1244
+ [_m],
1245
+ [0]
1246
+ ];
1247
+ n0_registry.registerError(ResourceInUseException$, ResourceInUseException);
1248
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
1249
+ { [_e]: _c, [_hE]: 404 },
1250
+ [_m],
1251
+ [0]
1252
+ ];
1253
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
1254
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
1255
+ { [_e]: _c, [_hE]: 400 },
1256
+ [_m],
1257
+ [0]
1258
+ ];
1259
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
1260
+ export var ServiceUnavailableException$ = [-3, n0, _SUE,
1261
+ { [_e]: _se, [_hE]: 503 },
1262
+ [_m],
1263
+ [0]
1264
+ ];
1265
+ n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
1266
+ export var ThrottlingException$ = [-3, n0, _TE,
1267
+ { [_e]: _c, [_hE]: 429 },
1268
+ [_m],
1269
+ [0]
1270
+ ];
1271
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
1272
+ export var TooManyTagsException$ = [-3, n0, _TMTE,
1273
+ { [_e]: _c, [_hE]: 400 },
1274
+ [_m, _rN],
1275
+ [0, 0]
1276
+ ];
1277
+ n0_registry.registerError(TooManyTagsException$, TooManyTagsException);
1278
+ export var ValidationException$ = [-3, n0, _VE,
1279
+ { [_e]: _c, [_hE]: 400 },
1280
+ [_m],
1281
+ [0]
1282
+ ];
1283
+ n0_registry.registerError(ValidationException$, ValidationException);
1284
+ export const errorTypeRegistries = [
1285
+ _s_registry,
1286
+ n0_registry,
1287
+ ];
1220
1288
  var AutomatedReasoningLogicStatementContent = [0, n0, _ARLSC, 8, 0];
1221
1289
  var AutomatedReasoningNaturalLanguageStatementContent = [0, n0, _ARNLSC, 8, 0];
1222
1290
  var AutomatedReasoningPolicyAnnotationFeedbackNaturalLanguage = [0, n0, _ARPAFNL, 8, 0];
@@ -1267,12 +1335,6 @@ var Message = [0, n0, _M, 8, 0];
1267
1335
  var MetricName = [0, n0, _MN, 8, 0];
1268
1336
  var PromptRouterDescription = [0, n0, _PRD, 8, 0];
1269
1337
  var TextPromptTemplate = [0, n0, _TPT, 8, 0];
1270
- export var AccessDeniedException$ = [-3, n0, _ADE,
1271
- { [_e]: _c, [_hE]: 403 },
1272
- [_m],
1273
- [0]
1274
- ];
1275
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
1276
1338
  export var AccountEnforcedGuardrailInferenceInputConfiguration$ = [3, n0, _AEGIIC,
1277
1339
  0,
1278
1340
  [_gI, _gV, _iT],
@@ -1285,7 +1347,7 @@ export var AccountEnforcedGuardrailOutputConfiguration$ = [3, n0, _AEGOC,
1285
1347
  ];
1286
1348
  export var AgreementAvailability$ = [3, n0, _AA,
1287
1349
  0,
1288
- [_s, _eM],
1350
+ [_st, _eM],
1289
1351
  [0, 0], 1
1290
1352
  ];
1291
1353
  export var AutomatedEvaluationConfig$ = [3, n0, _AEC,
@@ -1335,7 +1397,7 @@ export var AutomatedReasoningCheckSatisfiableFinding$ = [3, n0, _ARCSF,
1335
1397
  ];
1336
1398
  export var AutomatedReasoningCheckScenario$ = [3, n0, _ARCS,
1337
1399
  0,
1338
- [_st],
1400
+ [_sta],
1339
1401
  [[() => AutomatedReasoningLogicStatementList, 0]]
1340
1402
  ];
1341
1403
  export var AutomatedReasoningCheckTooComplexFinding$ = [3, n0, _ARCTCF,
@@ -1415,7 +1477,7 @@ export var AutomatedReasoningPolicyBuildLog$ = [3, n0, _ARPBL,
1415
1477
  ];
1416
1478
  export var AutomatedReasoningPolicyBuildLogEntry$ = [3, n0, _ARPBLE,
1417
1479
  0,
1418
- [_a, _s, _bS],
1480
+ [_a, _st, _bS],
1419
1481
  [[() => AutomatedReasoningPolicyAnnotation$, 0], 0, [() => AutomatedReasoningPolicyBuildStepList, 0]], 3
1420
1482
  ];
1421
1483
  export var AutomatedReasoningPolicyBuildStep$ = [3, n0, _ARPBS,
@@ -1445,7 +1507,7 @@ export var AutomatedReasoningPolicyBuildWorkflowSource$ = [3, n0, _ARPBWS,
1445
1507
  ];
1446
1508
  export var AutomatedReasoningPolicyBuildWorkflowSummary$ = [3, n0, _ARPBWSu,
1447
1509
  0,
1448
- [_pA, _bWI, _s, _bWT, _cA, _uA],
1510
+ [_pA, _bWI, _st, _bWT, _cA, _uA],
1449
1511
  [0, 0, 0, 0, 5, 5], 6
1450
1512
  ];
1451
1513
  export var AutomatedReasoningPolicyDefinition$ = [3, n0, _ARPDu,
@@ -1658,12 +1720,6 @@ export var CloudWatchConfig$ = [3, n0, _CWC,
1658
1720
  [_lGN, _rA, _lDDSC],
1659
1721
  [0, 0, () => S3Config$], 2
1660
1722
  ];
1661
- export var ConflictException$ = [-3, n0, _CE,
1662
- { [_e]: _c, [_hE]: 400 },
1663
- [_m],
1664
- [0]
1665
- ];
1666
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
1667
1723
  export var CreateAutomatedReasoningPolicyRequest$ = [3, n0, _CARPR,
1668
1724
  0,
1669
1725
  [_n, _d, _cRT, _pD, _kKI, _ta],
@@ -1761,7 +1817,7 @@ export var CreateInferenceProfileRequest$ = [3, n0, _CIPR,
1761
1817
  ];
1762
1818
  export var CreateInferenceProfileResponse$ = [3, n0, _CIPRr,
1763
1819
  0,
1764
- [_iPA, _s],
1820
+ [_iPA, _st],
1765
1821
  [0, 0], 1
1766
1822
  ];
1767
1823
  export var CreateMarketplaceModelEndpointRequest$ = [3, n0, _CMMER,
@@ -1851,7 +1907,7 @@ export var CustomMetricEvaluatorModelConfig$ = [3, n0, _CMEMC,
1851
1907
  ];
1852
1908
  export var CustomModelDeploymentSummary$ = [3, n0, _CMDS,
1853
1909
  0,
1854
- [_cMDA, _cMDN, _mA, _cA, _s, _lUA, _fMa],
1910
+ [_cMDA, _cMDN, _mA, _cA, _st, _lUA, _fMa],
1855
1911
  [0, 0, 0, 5, 0, 5, 0], 5
1856
1912
  ];
1857
1913
  export var CustomModelDeploymentUpdateDetails$ = [3, n0, _CMDUD,
@@ -1871,7 +1927,7 @@ export var CustomModelUnits$ = [3, n0, _CMU,
1871
1927
  ];
1872
1928
  export var DataProcessingDetails$ = [3, n0, _DPD,
1873
1929
  0,
1874
- [_s, _cTr, _lMT],
1930
+ [_st, _cTr, _lMT],
1875
1931
  [0, 5, 5]
1876
1932
  ];
1877
1933
  export var DeleteAutomatedReasoningPolicyBuildWorkflowRequest$ = [3, n0, _DARPBWR,
@@ -2086,7 +2142,7 @@ export var EvaluationRagConfigSummary$ = [3, n0, _ERCS,
2086
2142
  ];
2087
2143
  export var EvaluationSummary$ = [3, n0, _ES,
2088
2144
  0,
2089
- [_jA, _jN, _s, _cTr, _jTo, _eTT, _mIod, _rIa, _eMI, _cMEMI, _iCS, _aT],
2145
+ [_jA, _jN, _st, _cTr, _jTo, _eTT, _mIod, _rIa, _eMI, _cMEMI, _iCS, _aT],
2090
2146
  [0, 0, 0, 5, 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, () => EvaluationInferenceConfigSummary$, 0], 6
2091
2147
  ];
2092
2148
  export var ExportAutomatedReasoningPolicyVersionRequest$ = [3, n0, _EARPVR,
@@ -2131,7 +2187,7 @@ export var FoundationModelDetails$ = [3, n0, _FMD,
2131
2187
  ];
2132
2188
  export var FoundationModelLifecycle$ = [3, n0, _FML,
2133
2189
  0,
2134
- [_s],
2190
+ [_st],
2135
2191
  [0], 1
2136
2192
  ];
2137
2193
  export var FoundationModelSummary$ = [3, n0, _FMS,
@@ -2161,7 +2217,7 @@ export var GetAutomatedReasoningPolicyBuildWorkflowRequest$ = [3, n0, _GARPBWR,
2161
2217
  ];
2162
2218
  export var GetAutomatedReasoningPolicyBuildWorkflowResponse$ = [3, n0, _GARPBWRe,
2163
2219
  0,
2164
- [_pA, _bWI, _s, _bWT, _cA, _uA, _dN, _dCT, _dD],
2220
+ [_pA, _bWI, _st, _bWT, _cA, _uA, _dN, _dCT, _dD],
2165
2221
  [0, 0, 0, 0, 5, 5, [() => AutomatedReasoningPolicyBuildDocumentName, 0], 0, [() => AutomatedReasoningPolicyBuildDocumentDescription, 0]], 6
2166
2222
  ];
2167
2223
  export var GetAutomatedReasoningPolicyBuildWorkflowResultAssetsRequest$ = [3, n0, _GARPBWRAR,
@@ -2221,7 +2277,7 @@ export var GetCustomModelDeploymentRequest$ = [3, n0, _GCMDR,
2221
2277
  ];
2222
2278
  export var GetCustomModelDeploymentResponse$ = [3, n0, _GCMDRe,
2223
2279
  0,
2224
- [_cMDA, _mDN, _mA, _cA, _s, _d, _uD, _fMa, _lUA],
2280
+ [_cMDA, _mDN, _mA, _cA, _st, _d, _uD, _fMa, _lUA],
2225
2281
  [0, 0, 0, 5, 0, 0, () => CustomModelDeploymentUpdateDetails$, 0, 5], 5
2226
2282
  ];
2227
2283
  export var GetCustomModelRequest$ = [3, n0, _GCMR,
@@ -2241,7 +2297,7 @@ export var GetEvaluationJobRequest$ = [3, n0, _GEJR,
2241
2297
  ];
2242
2298
  export var GetEvaluationJobResponse$ = [3, n0, _GEJRe,
2243
2299
  0,
2244
- [_jN, _s, _jA, _rA, _jTo, _eC, _iC, _oDC, _cTr, _jD, _cEKI, _aT, _lMT, _fMai],
2300
+ [_jN, _st, _jA, _rA, _jTo, _eC, _iC, _oDC, _cTr, _jD, _cEKI, _aT, _lMT, _fMai],
2245
2301
  [0, 0, 0, 0, 0, [() => EvaluationConfig$, 0], [() => EvaluationInferenceConfig$, 0], () => EvaluationOutputDataConfig$, 5, [() => EvaluationJobDescription, 0], 0, 0, 5, 64 | 0], 9
2246
2302
  ];
2247
2303
  export var GetFoundationModelAvailabilityRequest$ = [3, n0, _GFMAR,
@@ -2271,7 +2327,7 @@ export var GetGuardrailRequest$ = [3, n0, _GGR,
2271
2327
  ];
2272
2328
  export var GetGuardrailResponse$ = [3, n0, _GGRe,
2273
2329
  0,
2274
- [_n, _gIu, _gA, _ve, _s, _cA, _uA, _bIM, _bOM, _d, _tP, _cP, _wP, _sIP, _cGP, _aRP, _cRD, _sRt, _fR, _kKA],
2330
+ [_n, _gIu, _gA, _ve, _st, _cA, _uA, _bIM, _bOM, _d, _tP, _cP, _wP, _sIP, _cGP, _aRP, _cRD, _sRt, _fR, _kKA],
2275
2331
  [[() => GuardrailName, 0], 0, 0, 0, 0, 5, 5, [() => GuardrailBlockedMessaging, 0], [() => GuardrailBlockedMessaging, 0], [() => GuardrailDescription, 0], [() => GuardrailTopicPolicy$, 0], [() => GuardrailContentPolicy$, 0], [() => GuardrailWordPolicy$, 0], () => GuardrailSensitiveInformationPolicy$, [() => GuardrailContextualGroundingPolicy$, 0], () => GuardrailAutomatedReasoningPolicy$, () => GuardrailCrossRegionDetails$, [() => GuardrailStatusReasons, 0], [() => GuardrailFailureRecommendations, 0], 0], 9
2276
2332
  ];
2277
2333
  export var GetImportedModelRequest$ = [3, n0, _GIMR,
@@ -2291,7 +2347,7 @@ export var GetInferenceProfileRequest$ = [3, n0, _GIPR,
2291
2347
  ];
2292
2348
  export var GetInferenceProfileResponse$ = [3, n0, _GIPRe,
2293
2349
  0,
2294
- [_iPN, _iPA, _mo, _iPIn, _s, _ty, _d, _cA, _uA],
2350
+ [_iPN, _iPA, _mo, _iPIn, _st, _ty, _d, _cA, _uA],
2295
2351
  [0, 0, () => InferenceProfileModels, 0, 0, 0, [() => InferenceProfileDescription, 0], 5, 5], 6
2296
2352
  ];
2297
2353
  export var GetMarketplaceModelEndpointRequest$ = [3, n0, _GMMER,
@@ -2311,7 +2367,7 @@ export var GetModelCopyJobRequest$ = [3, n0, _GMCJR,
2311
2367
  ];
2312
2368
  export var GetModelCopyJobResponse$ = [3, n0, _GMCJRe,
2313
2369
  0,
2314
- [_jA, _s, _cTr, _tMA, _sAI, _sMA, _tMN, _tMKKA, _tMT, _fMa, _sMN],
2370
+ [_jA, _st, _cTr, _tMA, _sAI, _sMA, _tMN, _tMKKA, _tMT, _fMa, _sMN],
2315
2371
  [0, 0, 5, 0, 0, 0, 0, 0, () => TagList, 0, 0], 6
2316
2372
  ];
2317
2373
  export var GetModelCustomizationJobRequest$ = [3, n0, _GMCJRet,
@@ -2321,7 +2377,7 @@ export var GetModelCustomizationJobRequest$ = [3, n0, _GMCJRet,
2321
2377
  ];
2322
2378
  export var GetModelCustomizationJobResponse$ = [3, n0, _GMCJReto,
2323
2379
  0,
2324
- [_jA, _jN, _oMN, _rA, _cTr, _bMA, _tDC, _vDC, _oDC, _oMA, _cRT, _s, _sD, _fMa, _lMT, _eT, _hP, _cTu, _oMKKA, _tM, _vM, _vCp, _cC],
2380
+ [_jA, _jN, _oMN, _rA, _cTr, _bMA, _tDC, _vDC, _oDC, _oMA, _cRT, _st, _sD, _fMa, _lMT, _eT, _hP, _cTu, _oMKKA, _tM, _vM, _vCp, _cC],
2325
2381
  [0, 0, 0, 0, 5, 0, [() => TrainingDataConfig$, 0], () => ValidationDataConfig$, () => OutputDataConfig$, 0, 0, 0, () => StatusDetails$, 0, 5, 5, 128 | 0, 0, 0, () => TrainingMetrics$, () => ValidationMetrics, () => VpcConfig$, () => CustomizationConfig$], 9
2326
2382
  ];
2327
2383
  export var GetModelImportJobRequest$ = [3, n0, _GMIJR,
@@ -2331,7 +2387,7 @@ export var GetModelImportJobRequest$ = [3, n0, _GMIJR,
2331
2387
  ];
2332
2388
  export var GetModelImportJobResponse$ = [3, n0, _GMIJRe,
2333
2389
  0,
2334
- [_jA, _jN, _iMN, _iMA, _rA, _mDS, _s, _fMa, _cTr, _lMT, _eT, _vCp, _iMKKA],
2390
+ [_jA, _jN, _iMN, _iMA, _rA, _mDS, _st, _fMa, _cTr, _lMT, _eT, _vCp, _iMKKA],
2335
2391
  [0, 0, 0, 0, 0, () => ModelDataSource$, 0, 0, 5, 5, 5, () => VpcConfig$, 0]
2336
2392
  ];
2337
2393
  export var GetModelInvocationJobRequest$ = [3, n0, _GMIJRet,
@@ -2341,7 +2397,7 @@ export var GetModelInvocationJobRequest$ = [3, n0, _GMIJRet,
2341
2397
  ];
2342
2398
  export var GetModelInvocationJobResponse$ = [3, n0, _GMIJReto,
2343
2399
  0,
2344
- [_jA, _mIo, _rA, _sTu, _iDC, _oDC, _jN, _cRT, _s, _m, _lMT, _eT, _vCp, _tDIH, _jET],
2400
+ [_jA, _mIo, _rA, _sTu, _iDC, _oDC, _jN, _cRT, _st, _m, _lMT, _eT, _vCp, _tDIH, _jET],
2345
2401
  [0, 0, 0, 5, () => ModelInvocationJobInputDataConfig$, () => ModelInvocationJobOutputDataConfig$, 0, 0, 0, [() => Message, 0], 5, 5, () => VpcConfig$, 1, 5], 6
2346
2402
  ];
2347
2403
  export var GetModelInvocationLoggingConfigurationRequest$ = [3, n0, _GMILCR,
@@ -2361,7 +2417,7 @@ export var GetPromptRouterRequest$ = [3, n0, _GPRR,
2361
2417
  ];
2362
2418
  export var GetPromptRouterResponse$ = [3, n0, _GPRRe,
2363
2419
  0,
2364
- [_pRN, _rCo, _pRA, _mo, _fM, _s, _ty, _d, _cA, _uA],
2420
+ [_pRN, _rCo, _pRA, _mo, _fM, _st, _ty, _d, _cA, _uA],
2365
2421
  [0, () => RoutingCriteria$, 0, () => PromptRouterTargetModels, () => PromptRouterTargetModel$, 0, 0, [() => PromptRouterDescription, 0], 5, 5], 7
2366
2422
  ];
2367
2423
  export var GetProvisionedModelThroughputRequest$ = [3, n0, _GPMTR,
@@ -2371,7 +2427,7 @@ export var GetProvisionedModelThroughputRequest$ = [3, n0, _GPMTR,
2371
2427
  ];
2372
2428
  export var GetProvisionedModelThroughputResponse$ = [3, n0, _GPMTRe,
2373
2429
  0,
2374
- [_mU, _dMU, _pMN, _pMA, _mA, _dMA, _fMA, _s, _cTr, _lMT, _fMa, _cD, _cET],
2430
+ [_mU, _dMU, _pMN, _pMA, _mA, _dMA, _fMA, _st, _cTr, _lMT, _fMa, _cD, _cET],
2375
2431
  [1, 1, 0, 0, 0, 0, 0, 0, 5, 5, 0, 0, 5], 10
2376
2432
  ];
2377
2433
  export var GetUseCaseForModelAccessRequest$ = [3, n0, _GUCFMAR,
@@ -2501,7 +2557,7 @@ export var GuardrailSensitiveInformationPolicyConfig$ = [3, n0, _GSIPC,
2501
2557
  ];
2502
2558
  export var GuardrailSummary$ = [3, n0, _GS,
2503
2559
  0,
2504
- [_i, _ar, _s, _n, _ve, _cA, _uA, _d, _cRD],
2560
+ [_i, _ar, _st, _n, _ve, _cA, _uA, _d, _cRD],
2505
2561
  [0, 0, 0, [() => GuardrailName, 0], 0, 5, 5, [() => GuardrailDescription, 0], () => GuardrailCrossRegionDetails$], 7
2506
2562
  ];
2507
2563
  export var GuardrailTopic$ = [3, n0, _GT,
@@ -2586,15 +2642,9 @@ export var InferenceProfileModel$ = [3, n0, _IPM,
2586
2642
  ];
2587
2643
  export var InferenceProfileSummary$ = [3, n0, _IPS,
2588
2644
  0,
2589
- [_iPN, _iPA, _mo, _iPIn, _s, _ty, _d, _cA, _uA],
2645
+ [_iPN, _iPA, _mo, _iPIn, _st, _ty, _d, _cA, _uA],
2590
2646
  [0, 0, () => InferenceProfileModels, 0, 0, 0, [() => InferenceProfileDescription, 0], 5, 5], 6
2591
2647
  ];
2592
- export var InternalServerException$ = [-3, n0, _ISE,
2593
- { [_e]: _se, [_hE]: 500 },
2594
- [_m],
2595
- [0]
2596
- ];
2597
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
2598
2648
  export var InvocationLogsConfig$ = [3, n0, _ILC,
2599
2649
  0,
2600
2650
  [_iLS, _uPR, _rMF],
@@ -2847,12 +2897,12 @@ export var LoggingConfig$ = [3, n0, _LC,
2847
2897
  ];
2848
2898
  export var MarketplaceModelEndpoint$ = [3, n0, _MME,
2849
2899
  0,
2850
- [_eA, _mSI, _cA, _uA, _eCn, _eS, _s, _sM, _eSM],
2900
+ [_eA, _mSI, _cA, _uA, _eCn, _eS, _st, _sM, _eSM],
2851
2901
  [0, 0, 5, 5, () => EndpointConfig$, 0, 0, 0, 0], 6
2852
2902
  ];
2853
2903
  export var MarketplaceModelEndpointSummary$ = [3, n0, _MMES,
2854
2904
  0,
2855
- [_eA, _mSI, _cA, _uA, _s, _sM],
2905
+ [_eA, _mSI, _cA, _uA, _st, _sM],
2856
2906
  [0, 0, 5, 5, 0, 0], 4
2857
2907
  ];
2858
2908
  export var MetadataAttributeSchema$ = [3, n0, _MAS,
@@ -2867,17 +2917,17 @@ export var MetadataConfigurationForReranking$ = [3, n0, _MCFR,
2867
2917
  ];
2868
2918
  export var ModelCopyJobSummary$ = [3, n0, _MCJS,
2869
2919
  0,
2870
- [_jA, _s, _cTr, _tMA, _sAI, _sMA, _tMN, _tMKKA, _tMT, _fMa, _sMN],
2920
+ [_jA, _st, _cTr, _tMA, _sAI, _sMA, _tMN, _tMKKA, _tMT, _fMa, _sMN],
2871
2921
  [0, 0, 5, 0, 0, 0, 0, 0, () => TagList, 0, 0], 6
2872
2922
  ];
2873
2923
  export var ModelCustomizationJobSummary$ = [3, n0, _MCJSo,
2874
2924
  0,
2875
- [_jA, _bMA, _jN, _s, _cTr, _sD, _lMT, _eT, _cMA, _cMN, _cTu],
2925
+ [_jA, _bMA, _jN, _st, _cTr, _sD, _lMT, _eT, _cMA, _cMN, _cTu],
2876
2926
  [0, 0, 0, 0, 5, () => StatusDetails$, 5, 5, 0, 0, 0], 5
2877
2927
  ];
2878
2928
  export var ModelImportJobSummary$ = [3, n0, _MIJS,
2879
2929
  0,
2880
- [_jA, _jN, _s, _cTr, _lMT, _eT, _iMA, _iMN],
2930
+ [_jA, _jN, _st, _cTr, _lMT, _eT, _iMA, _iMN],
2881
2931
  [0, 0, 0, 5, 5, 5, 0, 0], 4
2882
2932
  ];
2883
2933
  export var ModelInvocationJobS3InputDataConfig$ = [3, n0, _MIJSIDC,
@@ -2892,7 +2942,7 @@ export var ModelInvocationJobS3OutputDataConfig$ = [3, n0, _MIJSODC,
2892
2942
  ];
2893
2943
  export var ModelInvocationJobSummary$ = [3, n0, _MIJSo,
2894
2944
  0,
2895
- [_jA, _jN, _mIo, _rA, _sTu, _iDC, _oDC, _cRT, _s, _m, _lMT, _eT, _vCp, _tDIH, _jET],
2945
+ [_jA, _jN, _mIo, _rA, _sTu, _iDC, _oDC, _cRT, _st, _m, _lMT, _eT, _vCp, _tDIH, _jET],
2896
2946
  [0, 0, 0, 0, 5, () => ModelInvocationJobInputDataConfig$, () => ModelInvocationJobOutputDataConfig$, 0, 0, [() => Message, 0], 5, 5, () => VpcConfig$, 1, 5], 7
2897
2947
  ];
2898
2948
  export var Offer$ = [3, n0, _O,
@@ -2922,7 +2972,7 @@ export var PricingTerm$ = [3, n0, _PT,
2922
2972
  ];
2923
2973
  export var PromptRouterSummary$ = [3, n0, _PRS,
2924
2974
  0,
2925
- [_pRN, _rCo, _pRA, _mo, _fM, _s, _ty, _d, _cA, _uA],
2975
+ [_pRN, _rCo, _pRA, _mo, _fM, _st, _ty, _d, _cA, _uA],
2926
2976
  [0, () => RoutingCriteria$, 0, () => PromptRouterTargetModels, () => PromptRouterTargetModel$, 0, 0, [() => PromptRouterDescription, 0], 5, 5], 7
2927
2977
  ];
2928
2978
  export var PromptRouterTargetModel$ = [3, n0, _PRTM,
@@ -2937,7 +2987,7 @@ export var PromptTemplate$ = [3, n0, _PTr,
2937
2987
  ];
2938
2988
  export var ProvisionedModelSummary$ = [3, n0, _PMS,
2939
2989
  0,
2940
- [_pMN, _pMA, _mA, _dMA, _fMA, _mU, _dMU, _s, _cTr, _lMT, _cD, _cET],
2990
+ [_pMN, _pMA, _mA, _dMA, _fMA, _mU, _dMU, _st, _cTr, _lMT, _cD, _cET],
2941
2991
  [0, 0, 0, 0, 0, 1, 1, 0, 5, 5, 0, 5], 10
2942
2992
  ];
2943
2993
  export var PutEnforcedGuardrailConfigurationRequest$ = [3, n0, _PEGCR,
@@ -2995,18 +3045,6 @@ export var RequestMetadataBaseFilters$ = [3, n0, _RMBF,
2995
3045
  [_eq, _nE],
2996
3046
  [[() => RequestMetadataMap, 0], [() => RequestMetadataMap, 0]]
2997
3047
  ];
2998
- export var ResourceInUseException$ = [-3, n0, _RIUE,
2999
- { [_e]: _c, [_hE]: 400 },
3000
- [_m],
3001
- [0]
3002
- ];
3003
- TypeRegistry.for(n0).registerError(ResourceInUseException$, ResourceInUseException);
3004
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
3005
- { [_e]: _c, [_hE]: 404 },
3006
- [_m],
3007
- [0]
3008
- ];
3009
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
3010
3048
  export var RetrieveAndGenerateConfiguration$ = [3, n0, _RAGC,
3011
3049
  0,
3012
3050
  [_ty, _kBC, _eSC],
@@ -3052,18 +3090,6 @@ export var SageMakerEndpoint$ = [3, n0, _SME,
3052
3090
  [_iIC, _iTn, _eRx, _kEK, _vp],
3053
3091
  [1, 0, 0, 0, () => VpcConfig$], 3
3054
3092
  ];
3055
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
3056
- { [_e]: _c, [_hE]: 400 },
3057
- [_m],
3058
- [0]
3059
- ];
3060
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
3061
- export var ServiceUnavailableException$ = [-3, n0, _SUE,
3062
- { [_e]: _se, [_hE]: 503 },
3063
- [_m],
3064
- [0]
3065
- ];
3066
- TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
3067
3093
  export var StartAutomatedReasoningPolicyBuildWorkflowRequest$ = [3, n0, _SARPBWR,
3068
3094
  0,
3069
3095
  [_pA, _bWT, _sCo, _cRT],
@@ -3154,18 +3180,6 @@ export var TextInferenceConfig$ = [3, n0, _TIC,
3154
3180
  [_tem, _tPo, _mTa, _sS],
3155
3181
  [1, 1, 1, 64 | 0]
3156
3182
  ];
3157
- export var ThrottlingException$ = [-3, n0, _TE,
3158
- { [_e]: _c, [_hE]: 429 },
3159
- [_m],
3160
- [0]
3161
- ];
3162
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
3163
- export var TooManyTagsException$ = [-3, n0, _TMTE,
3164
- { [_e]: _c, [_hE]: 400 },
3165
- [_m, _rN],
3166
- [0, 0]
3167
- ];
3168
- TypeRegistry.for(n0).registerError(TooManyTagsException$, TooManyTagsException);
3169
3183
  export var TrainingDataConfig$ = [3, n0, _TDC,
3170
3184
  0,
3171
3185
  [_sU, _iLC],
@@ -3173,7 +3187,7 @@ export var TrainingDataConfig$ = [3, n0, _TDC,
3173
3187
  ];
3174
3188
  export var TrainingDetails$ = [3, n0, _TDr,
3175
3189
  0,
3176
- [_s, _cTr, _lMT],
3190
+ [_st, _cTr, _lMT],
3177
3191
  [0, 5, 5]
3178
3192
  ];
3179
3193
  export var TrainingMetrics$ = [3, n0, _TM,
@@ -3268,15 +3282,9 @@ export var ValidationDataConfig$ = [3, n0, _VDC,
3268
3282
  ];
3269
3283
  export var ValidationDetails$ = [3, n0, _VD,
3270
3284
  0,
3271
- [_s, _cTr, _lMT],
3285
+ [_st, _cTr, _lMT],
3272
3286
  [0, 5, 5]
3273
3287
  ];
3274
- export var ValidationException$ = [-3, n0, _VE,
3275
- { [_e]: _c, [_hE]: 400 },
3276
- [_m],
3277
- [0]
3278
- ];
3279
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
3280
3288
  export var Validator$ = [3, n0, _V,
3281
3289
  0,
3282
3290
  [_sU],
@@ -3312,8 +3320,6 @@ export var VpcConfig$ = [3, n0, _VC,
3312
3320
  [_sI, _sGI],
3313
3321
  [64 | 0, 64 | 0], 2
3314
3322
  ];
3315
- export var BedrockServiceException$ = [-3, _sm, "BedrockServiceException", 0, [], []];
3316
- TypeRegistry.for(_sm).registerError(BedrockServiceException$, BedrockServiceException);
3317
3323
  var AccountEnforcedGuardrailsOutputConfiguration = [1, n0, _AEGOCc,
3318
3324
  0, () => AccountEnforcedGuardrailOutputConfiguration$
3319
3325
  ];
@@ -1,5 +1,22 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
+ export declare var BedrockServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var InternalServerException$: StaticErrorSchema;
7
+ export declare var ResourceInUseException$: StaticErrorSchema;
8
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
9
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
10
+ export declare var ServiceUnavailableException$: StaticErrorSchema;
11
+ export declare var ThrottlingException$: StaticErrorSchema;
12
+ export declare var TooManyTagsException$: StaticErrorSchema;
13
+ export declare var ValidationException$: StaticErrorSchema;
14
+ /**
15
+ * TypeRegistry instances containing modeled errors.
16
+ * @internal
17
+ *
18
+ */
19
+ export declare const errorTypeRegistries: TypeRegistry[];
3
20
  export declare var AccountEnforcedGuardrailInferenceInputConfiguration$: StaticStructureSchema;
4
21
  export declare var AccountEnforcedGuardrailOutputConfiguration$: StaticStructureSchema;
5
22
  export declare var AgreementAvailability$: StaticStructureSchema;
@@ -77,7 +94,6 @@ export declare var ByteContentDoc$: StaticStructureSchema;
77
94
  export declare var CancelAutomatedReasoningPolicyBuildWorkflowRequest$: StaticStructureSchema;
78
95
  export declare var CancelAutomatedReasoningPolicyBuildWorkflowResponse$: StaticStructureSchema;
79
96
  export declare var CloudWatchConfig$: StaticStructureSchema;
80
- export declare var ConflictException$: StaticErrorSchema;
81
97
  export declare var CreateAutomatedReasoningPolicyRequest$: StaticStructureSchema;
82
98
  export declare var CreateAutomatedReasoningPolicyResponse$: StaticStructureSchema;
83
99
  export declare var CreateAutomatedReasoningPolicyTestCaseRequest$: StaticStructureSchema;
@@ -263,7 +279,6 @@ export declare var ImplicitFilterConfiguration$: StaticStructureSchema;
263
279
  export declare var ImportedModelSummary$: StaticStructureSchema;
264
280
  export declare var InferenceProfileModel$: StaticStructureSchema;
265
281
  export declare var InferenceProfileSummary$: StaticStructureSchema;
266
- export declare var InternalServerException$: StaticErrorSchema;
267
282
  export declare var InvocationLogsConfig$: StaticStructureSchema;
268
283
  export declare var KbInferenceConfig$: StaticStructureSchema;
269
284
  export declare var KnowledgeBaseRetrievalConfiguration$: StaticStructureSchema;
@@ -344,8 +359,6 @@ export declare var RatingScaleItem$: StaticStructureSchema;
344
359
  export declare var RegisterMarketplaceModelEndpointRequest$: StaticStructureSchema;
345
360
  export declare var RegisterMarketplaceModelEndpointResponse$: StaticStructureSchema;
346
361
  export declare var RequestMetadataBaseFilters$: StaticStructureSchema;
347
- export declare var ResourceInUseException$: StaticErrorSchema;
348
- export declare var ResourceNotFoundException$: StaticErrorSchema;
349
362
  export declare var RetrieveAndGenerateConfiguration$: StaticStructureSchema;
350
363
  export declare var RetrieveConfig$: StaticStructureSchema;
351
364
  export declare var RFTConfig$: StaticStructureSchema;
@@ -355,8 +368,6 @@ export declare var S3Config$: StaticStructureSchema;
355
368
  export declare var S3DataSource$: StaticStructureSchema;
356
369
  export declare var S3ObjectDoc$: StaticStructureSchema;
357
370
  export declare var SageMakerEndpoint$: StaticStructureSchema;
358
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
359
- export declare var ServiceUnavailableException$: StaticErrorSchema;
360
371
  export declare var StartAutomatedReasoningPolicyBuildWorkflowRequest$: StaticStructureSchema;
361
372
  export declare var StartAutomatedReasoningPolicyBuildWorkflowResponse$: StaticStructureSchema;
362
373
  export declare var StartAutomatedReasoningPolicyTestWorkflowRequest$: StaticStructureSchema;
@@ -375,8 +386,6 @@ export declare var TagResourceResponse$: StaticStructureSchema;
375
386
  export declare var TeacherModelConfig$: StaticStructureSchema;
376
387
  export declare var TermDetails$: StaticStructureSchema;
377
388
  export declare var TextInferenceConfig$: StaticStructureSchema;
378
- export declare var ThrottlingException$: StaticErrorSchema;
379
- export declare var TooManyTagsException$: StaticErrorSchema;
380
389
  export declare var TrainingDataConfig$: StaticStructureSchema;
381
390
  export declare var TrainingDetails$: StaticStructureSchema;
382
391
  export declare var TrainingMetrics$: StaticStructureSchema;
@@ -398,7 +407,6 @@ export declare var UpdateProvisionedModelThroughputRequest$: StaticStructureSche
398
407
  export declare var UpdateProvisionedModelThroughputResponse$: StaticStructureSchema;
399
408
  export declare var ValidationDataConfig$: StaticStructureSchema;
400
409
  export declare var ValidationDetails$: StaticStructureSchema;
401
- export declare var ValidationException$: StaticErrorSchema;
402
410
  export declare var Validator$: StaticStructureSchema;
403
411
  export declare var ValidatorMetric$: StaticStructureSchema;
404
412
  export declare var ValidityTerm$: StaticStructureSchema;
@@ -406,7 +414,6 @@ export declare var VectorSearchBedrockRerankingConfiguration$: StaticStructureSc
406
414
  export declare var VectorSearchBedrockRerankingModelConfiguration$: StaticStructureSchema;
407
415
  export declare var VectorSearchRerankingConfiguration$: StaticStructureSchema;
408
416
  export declare var VpcConfig$: StaticStructureSchema;
409
- export declare var BedrockServiceException$: StaticErrorSchema;
410
417
  export declare var AutomatedEvaluationCustomMetricSource$: StaticUnionSchema;
411
418
  export declare var AutomatedReasoningCheckFinding$: StaticUnionSchema;
412
419
  export declare var AutomatedReasoningPolicyAnnotation$: StaticUnionSchema;
@@ -1,10 +1,22 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  StaticUnionSchema,
6
7
  } from "@smithy/types";
8
+ export declare var BedrockServiceException$: StaticErrorSchema;
7
9
  export declare var AccessDeniedException$: StaticErrorSchema;
10
+ export declare var ConflictException$: StaticErrorSchema;
11
+ export declare var InternalServerException$: StaticErrorSchema;
12
+ export declare var ResourceInUseException$: StaticErrorSchema;
13
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
14
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
15
+ export declare var ServiceUnavailableException$: StaticErrorSchema;
16
+ export declare var ThrottlingException$: StaticErrorSchema;
17
+ export declare var TooManyTagsException$: StaticErrorSchema;
18
+ export declare var ValidationException$: StaticErrorSchema;
19
+ export declare const errorTypeRegistries: TypeRegistry[];
8
20
  export declare var AccountEnforcedGuardrailInferenceInputConfiguration$: StaticStructureSchema;
9
21
  export declare var AccountEnforcedGuardrailOutputConfiguration$: StaticStructureSchema;
10
22
  export declare var AgreementAvailability$: StaticStructureSchema;
@@ -82,7 +94,6 @@ export declare var ByteContentDoc$: StaticStructureSchema;
82
94
  export declare var CancelAutomatedReasoningPolicyBuildWorkflowRequest$: StaticStructureSchema;
83
95
  export declare var CancelAutomatedReasoningPolicyBuildWorkflowResponse$: StaticStructureSchema;
84
96
  export declare var CloudWatchConfig$: StaticStructureSchema;
85
- export declare var ConflictException$: StaticErrorSchema;
86
97
  export declare var CreateAutomatedReasoningPolicyRequest$: StaticStructureSchema;
87
98
  export declare var CreateAutomatedReasoningPolicyResponse$: StaticStructureSchema;
88
99
  export declare var CreateAutomatedReasoningPolicyTestCaseRequest$: StaticStructureSchema;
@@ -268,7 +279,6 @@ export declare var ImplicitFilterConfiguration$: StaticStructureSchema;
268
279
  export declare var ImportedModelSummary$: StaticStructureSchema;
269
280
  export declare var InferenceProfileModel$: StaticStructureSchema;
270
281
  export declare var InferenceProfileSummary$: StaticStructureSchema;
271
- export declare var InternalServerException$: StaticErrorSchema;
272
282
  export declare var InvocationLogsConfig$: StaticStructureSchema;
273
283
  export declare var KbInferenceConfig$: StaticStructureSchema;
274
284
  export declare var KnowledgeBaseRetrievalConfiguration$: StaticStructureSchema;
@@ -349,8 +359,6 @@ export declare var RatingScaleItem$: StaticStructureSchema;
349
359
  export declare var RegisterMarketplaceModelEndpointRequest$: StaticStructureSchema;
350
360
  export declare var RegisterMarketplaceModelEndpointResponse$: StaticStructureSchema;
351
361
  export declare var RequestMetadataBaseFilters$: StaticStructureSchema;
352
- export declare var ResourceInUseException$: StaticErrorSchema;
353
- export declare var ResourceNotFoundException$: StaticErrorSchema;
354
362
  export declare var RetrieveAndGenerateConfiguration$: StaticStructureSchema;
355
363
  export declare var RetrieveConfig$: StaticStructureSchema;
356
364
  export declare var RFTConfig$: StaticStructureSchema;
@@ -360,8 +368,6 @@ export declare var S3Config$: StaticStructureSchema;
360
368
  export declare var S3DataSource$: StaticStructureSchema;
361
369
  export declare var S3ObjectDoc$: StaticStructureSchema;
362
370
  export declare var SageMakerEndpoint$: StaticStructureSchema;
363
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
364
- export declare var ServiceUnavailableException$: StaticErrorSchema;
365
371
  export declare var StartAutomatedReasoningPolicyBuildWorkflowRequest$: StaticStructureSchema;
366
372
  export declare var StartAutomatedReasoningPolicyBuildWorkflowResponse$: StaticStructureSchema;
367
373
  export declare var StartAutomatedReasoningPolicyTestWorkflowRequest$: StaticStructureSchema;
@@ -380,8 +386,6 @@ export declare var TagResourceResponse$: StaticStructureSchema;
380
386
  export declare var TeacherModelConfig$: StaticStructureSchema;
381
387
  export declare var TermDetails$: StaticStructureSchema;
382
388
  export declare var TextInferenceConfig$: StaticStructureSchema;
383
- export declare var ThrottlingException$: StaticErrorSchema;
384
- export declare var TooManyTagsException$: StaticErrorSchema;
385
389
  export declare var TrainingDataConfig$: StaticStructureSchema;
386
390
  export declare var TrainingDetails$: StaticStructureSchema;
387
391
  export declare var TrainingMetrics$: StaticStructureSchema;
@@ -403,7 +407,6 @@ export declare var UpdateProvisionedModelThroughputRequest$: StaticStructureSche
403
407
  export declare var UpdateProvisionedModelThroughputResponse$: StaticStructureSchema;
404
408
  export declare var ValidationDataConfig$: StaticStructureSchema;
405
409
  export declare var ValidationDetails$: StaticStructureSchema;
406
- export declare var ValidationException$: StaticErrorSchema;
407
410
  export declare var Validator$: StaticStructureSchema;
408
411
  export declare var ValidatorMetric$: StaticStructureSchema;
409
412
  export declare var ValidityTerm$: StaticStructureSchema;
@@ -411,7 +414,6 @@ export declare var VectorSearchBedrockRerankingConfiguration$: StaticStructureSc
411
414
  export declare var VectorSearchBedrockRerankingModelConfiguration$: StaticStructureSchema;
412
415
  export declare var VectorSearchRerankingConfiguration$: StaticStructureSchema;
413
416
  export declare var VpcConfig$: StaticStructureSchema;
414
- export declare var BedrockServiceException$: StaticErrorSchema;
415
417
  export declare var AutomatedEvaluationCustomMetricSource$: StaticUnionSchema;
416
418
  export declare var AutomatedReasoningCheckFinding$: StaticUnionSchema;
417
419
  export declare var AutomatedReasoningPolicyAnnotation$: StaticUnionSchema;