@aws-sdk/client-lex-models-v2 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.
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultLexModelsV2HttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2020-08-07",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.lexmodelsv2",
30
+ errorTypeRegistries,
29
31
  version: "2020-08-07",
30
32
  serviceTarget: "LexModelBuildingServiceV2",
31
33
  },
@@ -782,7 +782,7 @@ const _bVLS = "botVersionLocaleSpecification";
782
782
  const _bVRS = "botVersionReplicationStatus";
783
783
  const _bVRSo = "botVersionReplicaSummaries";
784
784
  const _bVS = "botVersionSummaries";
785
- const _c = "condition";
785
+ const _c = "client";
786
786
  const _cB = "conditionalBranches";
787
787
  const _cC = "confirmationConditional";
788
788
  const _cCa = "captureConditional";
@@ -821,9 +821,9 @@ const _cVS = "customVocabularyStatus";
821
821
  const _cW = "cloudWatch";
822
822
  const _cWLGA = "cloudWatchLogGroupArn";
823
823
  const _ch = "channel";
824
- const _cl = "client";
825
- const _co = "conditional";
826
- const _con = "content";
824
+ const _co = "condition";
825
+ const _con = "conditional";
826
+ const _cont = "content";
827
827
  const _d = "destination";
828
828
  const _dA = "displayAs";
829
829
  const _dAT = "dialogActionType";
@@ -851,7 +851,7 @@ const _dV = "defaultValue";
851
851
  const _dVL = "defaultValueList";
852
852
  const _dVS = "defaultValueSpecification";
853
853
  const _de = "description";
854
- const _e = "enabled";
854
+ const _e = "error";
855
855
  const _eAP = "expectedAgentPrompt";
856
856
  const _eC = "endCharacter";
857
857
  const _eCH = "elicitationCodeHook";
@@ -878,9 +878,9 @@ const _eTER = "endToEndResult";
878
878
  const _eTERC = "endToEndResultCounts";
879
879
  const _eTM = "endTimeoutMs";
880
880
  const _ef = "effect";
881
- const _en = "engine";
881
+ const _en = "enabled";
882
+ const _eng = "engine";
882
883
  const _er = "errors";
883
- const _err = "error";
884
884
  const _ev = "event";
885
885
  const _ex = "expression";
886
886
  const _exp = "expected";
@@ -1052,7 +1052,7 @@ const _rSu = "runtimeSettings";
1052
1052
  const _rTF = "resultTypeFilter";
1053
1053
  const _re = "response";
1054
1054
  const _res = "results";
1055
- const _s = "statistic";
1055
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.lexmodelsv2";
1056
1056
  const _sA = "sessionAttributes";
1057
1057
  const _sAS = "sentimentAnalysisSettings";
1058
1058
  const _sB = "s3Bucket";
@@ -1127,10 +1127,10 @@ const _ser = "service";
1127
1127
  const _ses = "sessions";
1128
1128
  const _sh = "shape";
1129
1129
  const _sl = "slots";
1130
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.lexmodelsv2";
1131
1130
  const _so = "source";
1132
- const _st = "statistics";
1133
- const _sta = "status";
1131
+ const _st = "statistic";
1132
+ const _sta = "statistics";
1133
+ const _stat = "status";
1134
1134
  const _su = "subtitle";
1135
1135
  const _sy = "synonyms";
1136
1136
  const _t = "transcript";
@@ -1209,6 +1209,56 @@ const n0 = "com.amazonaws.lexmodelsv2";
1209
1209
  import { TypeRegistry } from "@smithy/core/schema";
1210
1210
  import { ConflictException, InternalServerException, PreconditionFailedException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
1211
1211
  import { LexModelsV2ServiceException } from "../models/LexModelsV2ServiceException";
1212
+ const _s_registry = TypeRegistry.for(_s);
1213
+ export var LexModelsV2ServiceException$ = [-3, _s, "LexModelsV2ServiceException", 0, [], []];
1214
+ _s_registry.registerError(LexModelsV2ServiceException$, LexModelsV2ServiceException);
1215
+ const n0_registry = TypeRegistry.for(n0);
1216
+ export var ConflictException$ = [-3, n0, _CE,
1217
+ { [_e]: _c, [_hE]: 409 },
1218
+ [_m],
1219
+ [0]
1220
+ ];
1221
+ n0_registry.registerError(ConflictException$, ConflictException);
1222
+ export var InternalServerException$ = [-3, n0, _ISE,
1223
+ { [_e]: _se, [_hE]: 500 },
1224
+ [_m],
1225
+ [0]
1226
+ ];
1227
+ n0_registry.registerError(InternalServerException$, InternalServerException);
1228
+ export var PreconditionFailedException$ = [-3, n0, _PFE,
1229
+ { [_e]: _c, [_hE]: 412 },
1230
+ [_m],
1231
+ [0]
1232
+ ];
1233
+ n0_registry.registerError(PreconditionFailedException$, PreconditionFailedException);
1234
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
1235
+ { [_e]: _c, [_hE]: 404 },
1236
+ [_m],
1237
+ [0]
1238
+ ];
1239
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
1240
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
1241
+ { [_e]: _c, [_hE]: 402 },
1242
+ [_m],
1243
+ [0]
1244
+ ];
1245
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
1246
+ export var ThrottlingException$ = [-3, n0, _TE,
1247
+ { [_e]: _c, [_hE]: 429 },
1248
+ [_rAS, _m],
1249
+ [[1, { [_hH]: _RA }], 0]
1250
+ ];
1251
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
1252
+ export var ValidationException$ = [-3, n0, _VE,
1253
+ { [_e]: _c, [_hE]: 400 },
1254
+ [_m],
1255
+ [0]
1256
+ ];
1257
+ n0_registry.registerError(ValidationException$, ValidationException);
1258
+ export const errorTypeRegistries = [
1259
+ _s_registry,
1260
+ n0_registry,
1261
+ ];
1212
1262
  var FilePassword = [0, n0, _FP, 8, 0];
1213
1263
  var ImportExportFilePassword = [0, n0, _IEFP, 8, 0];
1214
1264
  export var ActiveContext$ = [3, n0, _AC,
@@ -1278,12 +1328,12 @@ export var AnalyticsIntentGroupBySpecification$ = [3, n0, _AIGBS,
1278
1328
  ];
1279
1329
  export var AnalyticsIntentMetric$ = [3, n0, _AIM,
1280
1330
  0,
1281
- [_n, _s, _or],
1331
+ [_n, _st, _or],
1282
1332
  [0, 0, 0], 2
1283
1333
  ];
1284
1334
  export var AnalyticsIntentMetricResult$ = [3, n0, _AIMR,
1285
1335
  0,
1286
- [_n, _s, _va],
1336
+ [_n, _st, _va],
1287
1337
  [0, 0, 1]
1288
1338
  ];
1289
1339
  export var AnalyticsIntentNodeSummary$ = [3, n0, _AINS,
@@ -1313,12 +1363,12 @@ export var AnalyticsIntentStageGroupBySpecification$ = [3, n0, _AISGBS,
1313
1363
  ];
1314
1364
  export var AnalyticsIntentStageMetric$ = [3, n0, _AISM,
1315
1365
  0,
1316
- [_n, _s, _or],
1366
+ [_n, _st, _or],
1317
1367
  [0, 0, 0], 2
1318
1368
  ];
1319
1369
  export var AnalyticsIntentStageMetricResult$ = [3, n0, _AISMR,
1320
1370
  0,
1321
- [_n, _s, _va],
1371
+ [_n, _st, _va],
1322
1372
  [0, 0, 1]
1323
1373
  ];
1324
1374
  export var AnalyticsIntentStageResult$ = [3, n0, _AISR,
@@ -1348,12 +1398,12 @@ export var AnalyticsSessionGroupBySpecification$ = [3, n0, _ASGBS,
1348
1398
  ];
1349
1399
  export var AnalyticsSessionMetric$ = [3, n0, _ASM,
1350
1400
  0,
1351
- [_n, _s, _or],
1401
+ [_n, _st, _or],
1352
1402
  [0, 0, 0], 2
1353
1403
  ];
1354
1404
  export var AnalyticsSessionMetricResult$ = [3, n0, _ASMR,
1355
1405
  0,
1356
- [_n, _s, _va],
1406
+ [_n, _st, _va],
1357
1407
  [0, 0, 1]
1358
1408
  ];
1359
1409
  export var AnalyticsSessionResult$ = [3, n0, _ASR,
@@ -1388,12 +1438,12 @@ export var AnalyticsUtteranceGroupBySpecification$ = [3, n0, _AUGBS,
1388
1438
  ];
1389
1439
  export var AnalyticsUtteranceMetric$ = [3, n0, _AUM,
1390
1440
  0,
1391
- [_n, _s, _or],
1441
+ [_n, _st, _or],
1392
1442
  [0, 0, 0], 2
1393
1443
  ];
1394
1444
  export var AnalyticsUtteranceMetricResult$ = [3, n0, _AUMR,
1395
1445
  0,
1396
- [_n, _s, _va],
1446
+ [_n, _st, _va],
1397
1447
  [0, 0, 1]
1398
1448
  ];
1399
1449
  export var AnalyticsUtteranceResult$ = [3, n0, _AUR,
@@ -1423,7 +1473,7 @@ export var AudioLogDestination$ = [3, n0, _ALD,
1423
1473
  ];
1424
1474
  export var AudioLogSetting$ = [3, n0, _ALS,
1425
1475
  0,
1426
- [_e, _d, _sLE],
1476
+ [_en, _d, _sLE],
1427
1477
  [2, () => AudioLogDestination$, 2], 2
1428
1478
  ];
1429
1479
  export var AudioSpecification$ = [3, n0, _AS,
@@ -1488,7 +1538,7 @@ export var BotAliasHistoryEvent$ = [3, n0, _BAHE,
1488
1538
  ];
1489
1539
  export var BotAliasLocaleSettings$ = [3, n0, _BALS,
1490
1540
  0,
1491
- [_e, _cHS],
1541
+ [_en, _cHS],
1492
1542
  [2, () => CodeHookSpecification$], 1
1493
1543
  ];
1494
1544
  export var BotAliasReplicaSummary$ = [3, n0, _BARS,
@@ -1558,7 +1608,7 @@ export var BotMember$ = [3, n0, _BM,
1558
1608
  ];
1559
1609
  export var BotRecommendationResults$ = [3, n0, _BRR,
1560
1610
  0,
1561
- [_bLEU, _aTU, _st],
1611
+ [_bLEU, _aTU, _sta],
1562
1612
  [0, 0, () => BotRecommendationResultStatistics$]
1563
1613
  ];
1564
1614
  export var BotRecommendationResultStatistics$ = [3, n0, _BRRS,
@@ -1673,7 +1723,7 @@ export var Condition$ = [3, n0, _C,
1673
1723
  ];
1674
1724
  export var ConditionalBranch$ = [3, n0, _CB,
1675
1725
  0,
1676
- [_n, _c, _nS, _re],
1726
+ [_n, _co, _nS, _re],
1677
1727
  [0, () => Condition$, () => DialogState$, () => ResponseSpecification$], 3
1678
1728
  ];
1679
1729
  export var ConditionalSpecification$ = [3, n0, _CS,
@@ -1681,12 +1731,6 @@ export var ConditionalSpecification$ = [3, n0, _CS,
1681
1731
  [_ac, _cB, _dB],
1682
1732
  [2, () => ConditionalBranches, () => DefaultConditionalBranch$], 3
1683
1733
  ];
1684
- export var ConflictException$ = [-3, n0, _CE,
1685
- { [_err]: _cl, [_hE]: 409 },
1686
- [_m],
1687
- [0]
1688
- ];
1689
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
1690
1734
  export var ConversationLevelIntentClassificationResultItem$ = [3, n0, _CLICRI,
1691
1735
  0,
1692
1736
  [_iN, _mRa],
@@ -1814,7 +1858,7 @@ export var CreateResourcePolicyResponse$ = [3, n0, _CRPRr,
1814
1858
  ];
1815
1859
  export var CreateResourcePolicyStatementRequest$ = [3, n0, _CRPSR,
1816
1860
  0,
1817
- [_rAe, _sI, _ef, _pr, _act, _c, _eRI],
1861
+ [_rAe, _sI, _ef, _pr, _act, _co, _eRI],
1818
1862
  [[0, 1], 0, 0, () => PrincipalList, 64 | 0, [2, n0, _CM, 0, 0, 128 | 0], [0, { [_hQ]: _eRI }]], 5
1819
1863
  ];
1820
1864
  export var CreateResourcePolicyStatementResponse$ = [3, n0, _CRPSRr,
@@ -2219,12 +2263,12 @@ export var DescribeTestSetRequest$ = [3, n0, _DTSRe,
2219
2263
  ];
2220
2264
  export var DescribeTestSetResponse$ = [3, n0, _DTSRes,
2221
2265
  0,
2222
- [_tSI, _tSN, _de, _mo, _sta, _rA, _nTu, _sL, _cDT, _lUDT],
2266
+ [_tSI, _tSN, _de, _mo, _stat, _rA, _nTu, _sL, _cDT, _lUDT],
2223
2267
  [0, 0, 0, 0, 0, 0, 1, () => TestSetStorageLocation$, 4, 4]
2224
2268
  ];
2225
2269
  export var DescriptiveBotBuilderSpecification$ = [3, n0, _DBBS,
2226
2270
  0,
2227
- [_e, _bMS],
2271
+ [_en, _bMS],
2228
2272
  [2, () => BedrockModelSpecification$], 1
2229
2273
  ];
2230
2274
  export var DialogAction$ = [3, n0, _DA,
@@ -2239,7 +2283,7 @@ export var DialogCodeHookInvocationSetting$ = [3, n0, _DCHIS,
2239
2283
  ];
2240
2284
  export var DialogCodeHookSettings$ = [3, n0, _DCHS,
2241
2285
  0,
2242
- [_e],
2286
+ [_en],
2243
2287
  [2], 1
2244
2288
  ];
2245
2289
  export var DialogState$ = [3, n0, _DS,
@@ -2264,7 +2308,7 @@ export var EncryptionSetting$ = [3, n0, _ES,
2264
2308
  ];
2265
2309
  export var ErrorLogSettings$ = [3, n0, _ELS,
2266
2310
  0,
2267
- [_e],
2311
+ [_en],
2268
2312
  [2], 1
2269
2313
  ];
2270
2314
  export var ExactResponseFields$ = [3, n0, _ERF,
@@ -2309,7 +2353,7 @@ export var FailedCustomVocabularyItem$ = [3, n0, _FCVI,
2309
2353
  ];
2310
2354
  export var FulfillmentCodeHookSettings$ = [3, n0, _FCHS,
2311
2355
  0,
2312
- [_e, _pFSS, _fUS, _ac],
2356
+ [_en, _pFSS, _fUS, _ac],
2313
2357
  [2, () => PostFulfillmentStatusSpecification$, () => FulfillmentUpdatesSpecification$, 2], 1
2314
2358
  ];
2315
2359
  export var FulfillmentStartResponseSpecification$ = [3, n0, _FSRS,
@@ -2399,7 +2443,7 @@ export var ImportSummary$ = [3, n0, _IS,
2399
2443
  ];
2400
2444
  export var InitialResponseSetting$ = [3, n0, _IRSn,
2401
2445
  0,
2402
- [_iR, _nS, _co, _cH],
2446
+ [_iR, _nS, _con, _cH],
2403
2447
  [() => ResponseSpecification$, () => DialogState$, () => ConditionalSpecification$, () => DialogCodeHookInvocationSetting$]
2404
2448
  ];
2405
2449
  export var InputContext$ = [3, n0, _IC,
@@ -2429,7 +2473,7 @@ export var IntentClassificationTestResults$ = [3, n0, _ICTR,
2429
2473
  ];
2430
2474
  export var IntentClosingSetting$ = [3, n0, _ICS,
2431
2475
  0,
2432
- [_cR, _ac, _nS, _co],
2476
+ [_cR, _ac, _nS, _con],
2433
2477
  [() => ResponseSpecification$, 2, () => DialogState$, () => ConditionalSpecification$]
2434
2478
  ];
2435
2479
  export var IntentConfirmationSetting$ = [3, n0, _ICSn,
@@ -2439,7 +2483,7 @@ export var IntentConfirmationSetting$ = [3, n0, _ICSn,
2439
2483
  ];
2440
2484
  export var IntentDisambiguationSettings$ = [3, n0, _IDS,
2441
2485
  0,
2442
- [_e, _mDI, _cDM],
2486
+ [_en, _mDI, _cDM],
2443
2487
  [2, 1, 0], 1
2444
2488
  ];
2445
2489
  export var IntentFilter$ = [3, n0, _IFn,
@@ -2477,12 +2521,6 @@ export var IntentSummary$ = [3, n0, _ISnt,
2477
2521
  [_iI, _iN, _iDN, _de, _pIS, _iCn, _oC, _lUDT],
2478
2522
  [0, 0, 0, 0, 0, () => InputContextsList, () => OutputContextsList, 4]
2479
2523
  ];
2480
- export var InternalServerException$ = [-3, n0, _ISE,
2481
- { [_err]: _se, [_hE]: 500 },
2482
- [_m],
2483
- [0]
2484
- ];
2485
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
2486
2524
  export var InvokedIntentSample$ = [3, n0, _IIS,
2487
2525
  0,
2488
2526
  [_iN],
@@ -2835,7 +2873,7 @@ export var NewCustomVocabularyItem$ = [3, n0, _NCVI,
2835
2873
  ];
2836
2874
  export var NluImprovementSpecification$ = [3, n0, _NIS,
2837
2875
  0,
2838
- [_e, _aNM, _iDS],
2876
+ [_en, _aNM, _iDS],
2839
2877
  [2, 0, () => IntentDisambiguationSettings$], 1
2840
2878
  ];
2841
2879
  export var ObfuscationSetting$ = [3, n0, _OS,
@@ -2888,12 +2926,6 @@ export var PostFulfillmentStatusSpecification$ = [3, n0, _PFSS,
2888
2926
  [_sRu, _fRa, _tR, _sNS, _sC, _fNS, _fC, _tNS, _tC],
2889
2927
  [() => ResponseSpecification$, () => ResponseSpecification$, () => ResponseSpecification$, () => DialogState$, () => ConditionalSpecification$, () => DialogState$, () => ConditionalSpecification$, () => DialogState$, () => ConditionalSpecification$]
2890
2928
  ];
2891
- export var PreconditionFailedException$ = [-3, n0, _PFE,
2892
- { [_err]: _cl, [_hE]: 412 },
2893
- [_m],
2894
- [0]
2895
- ];
2896
- TypeRegistry.for(n0).registerError(PreconditionFailedException$, PreconditionFailedException);
2897
2929
  export var Principal$ = [3, n0, _P,
2898
2930
  0,
2899
2931
  [_ser, _ar],
@@ -2939,12 +2971,6 @@ export var RelativeAggregationDuration$ = [3, n0, _RAD,
2939
2971
  [_tD, _tV],
2940
2972
  [0, 1], 2
2941
2973
  ];
2942
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
2943
- { [_err]: _cl, [_hE]: 404 },
2944
- [_m],
2945
- [0]
2946
- ];
2947
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
2948
2974
  export var ResponseSpecification$ = [3, n0, _RS,
2949
2975
  0,
2950
2976
  [_mG, _aIl],
@@ -2987,7 +3013,7 @@ export var SampleUtterance$ = [3, n0, _SU,
2987
3013
  ];
2988
3014
  export var SampleUtteranceGenerationSpecification$ = [3, n0, _SUGS,
2989
3015
  0,
2990
- [_e, _bMS],
3016
+ [_en, _bMS],
2991
3017
  [2, () => BedrockModelSpecification$], 1
2992
3018
  ];
2993
3019
  export var SampleValue$ = [3, n0, _SV,
@@ -3010,12 +3036,6 @@ export var SentimentAnalysisSettings$ = [3, n0, _SAS,
3010
3036
  [_dSe],
3011
3037
  [2], 1
3012
3038
  ];
3013
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
3014
- { [_err]: _cl, [_hE]: 402 },
3015
- [_m],
3016
- [0]
3017
- ];
3018
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
3019
3039
  export var SessionDataSortBy$ = [3, n0, _SDSB,
3020
3040
  0,
3021
3041
  [_n, _or],
@@ -3053,7 +3073,7 @@ export var SlotPriority$ = [3, n0, _SP,
3053
3073
  ];
3054
3074
  export var SlotResolutionImprovementSpecification$ = [3, n0, _SRIS,
3055
3075
  0,
3056
- [_e, _bMS],
3076
+ [_en, _bMS],
3057
3077
  [2, () => BedrockModelSpecification$], 1
3058
3078
  ];
3059
3079
  export var SlotResolutionSetting$ = [3, n0, _SRS,
@@ -3328,7 +3348,7 @@ export var TestSetStorageLocation$ = [3, n0, _TSSL,
3328
3348
  ];
3329
3349
  export var TestSetSummary$ = [3, n0, _TSS,
3330
3350
  0,
3331
- [_tSI, _tSN, _de, _mo, _sta, _rA, _nTu, _sL, _cDT, _lUDT],
3351
+ [_tSI, _tSN, _de, _mo, _stat, _rA, _nTu, _sL, _cDT, _lUDT],
3332
3352
  [0, 0, 0, 0, 0, 0, 1, () => TestSetStorageLocation$, 4, 4]
3333
3353
  ];
3334
3354
  export var TestSetTurnRecord$ = [3, n0, _TSTR,
@@ -3353,15 +3373,9 @@ export var TextLogDestination$ = [3, n0, _TLD,
3353
3373
  ];
3354
3374
  export var TextLogSetting$ = [3, n0, _TLS,
3355
3375
  0,
3356
- [_e, _d, _sLE],
3376
+ [_en, _d, _sLE],
3357
3377
  [2, () => TextLogDestination$, 2], 2
3358
3378
  ];
3359
- export var ThrottlingException$ = [-3, n0, _TE,
3360
- { [_err]: _cl, [_hE]: 429 },
3361
- [_rAS, _m],
3362
- [[1, { [_hH]: _RA }], 0]
3363
- ];
3364
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
3365
3379
  export var TranscriptFilter$ = [3, n0, _TF,
3366
3380
  0,
3367
3381
  [_lTF],
@@ -3489,7 +3503,7 @@ export var UpdateTestSetRequest$ = [3, n0, _UTSR,
3489
3503
  ];
3490
3504
  export var UpdateTestSetResponse$ = [3, n0, _UTSRp,
3491
3505
  0,
3492
- [_tSI, _tSN, _de, _mo, _sta, _rA, _nTu, _sL, _cDT, _lUDT],
3506
+ [_tSI, _tSN, _de, _mo, _stat, _rA, _nTu, _sL, _cDT, _lUDT],
3493
3507
  [0, 0, 0, 0, 0, 0, 1, () => TestSetStorageLocation$, 4, 4]
3494
3508
  ];
3495
3509
  export var UserTurnInputSpecification$ = [3, n0, _UTIS,
@@ -3534,7 +3548,7 @@ export var UtteranceAudioInputSpecification$ = [3, n0, _UAIS,
3534
3548
  ];
3535
3549
  export var UtteranceBotResponse$ = [3, n0, _UBRt,
3536
3550
  0,
3537
- [_con, _cT, _iRC],
3551
+ [_cont, _cT, _iRC],
3538
3552
  [0, 0, () => ImageResponseCard$]
3539
3553
  ];
3540
3554
  export var UtteranceDataSortBy$ = [3, n0, _UDSB,
@@ -3562,15 +3576,9 @@ export var UtteranceSpecification$ = [3, n0, _US,
3562
3576
  [_bAI, _bV, _lI, _sIe, _ch, _mod, _cST, _cET, _u, _uTt, _aVDM, _uUt, _iT, _oT, _aIN, _aSN, _iSnt, _dAT, _bRAVI, _sFIS, _uRI, _bR],
3563
3577
  [0, 0, 0, 0, 0, 0, 4, 4, 0, 4, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => UtteranceBotResponses]
3564
3578
  ];
3565
- export var ValidationException$ = [-3, n0, _VE,
3566
- { [_err]: _cl, [_hE]: 400 },
3567
- [_m],
3568
- [0]
3569
- ];
3570
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
3571
3579
  export var VoiceSettings$ = [3, n0, _VS,
3572
3580
  0,
3573
- [_vI, _en],
3581
+ [_vI, _eng],
3574
3582
  [0, 0], 1
3575
3583
  ];
3576
3584
  export var WaitAndContinueSpecification$ = [3, n0, _WACS,
@@ -3579,8 +3587,6 @@ export var WaitAndContinueSpecification$ = [3, n0, _WACS,
3579
3587
  [() => ResponseSpecification$, () => ResponseSpecification$, () => StillWaitingResponseSpecification$, 2], 2
3580
3588
  ];
3581
3589
  var __Unit = "unit";
3582
- export var LexModelsV2ServiceException$ = [-3, _sm, "LexModelsV2ServiceException", 0, [], []];
3583
- TypeRegistry.for(_sm).registerError(LexModelsV2ServiceException$, LexModelsV2ServiceException);
3584
3590
  var ActiveContextList = [1, n0, _ACL,
3585
3591
  0, () => ActiveContext$
3586
3592
  ];
@@ -1,4 +1,19 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var LexModelsV2ServiceException$: StaticErrorSchema;
4
+ export declare var ConflictException$: StaticErrorSchema;
5
+ export declare var InternalServerException$: StaticErrorSchema;
6
+ export declare var PreconditionFailedException$: StaticErrorSchema;
7
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
8
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
9
+ export declare var ThrottlingException$: StaticErrorSchema;
10
+ export declare var ValidationException$: StaticErrorSchema;
11
+ /**
12
+ * TypeRegistry instances containing modeled errors.
13
+ * @internal
14
+ *
15
+ */
16
+ export declare const errorTypeRegistries: TypeRegistry[];
2
17
  export declare var ActiveContext$: StaticStructureSchema;
3
18
  export declare var AdvancedRecognitionSetting$: StaticStructureSchema;
4
19
  export declare var AgentTurnResult$: StaticStructureSchema;
@@ -93,7 +108,6 @@ export declare var CompositeSlotTypeSetting$: StaticStructureSchema;
93
108
  export declare var Condition$: StaticStructureSchema;
94
109
  export declare var ConditionalBranch$: StaticStructureSchema;
95
110
  export declare var ConditionalSpecification$: StaticStructureSchema;
96
- export declare var ConflictException$: StaticErrorSchema;
97
111
  export declare var ConversationLevelIntentClassificationResultItem$: StaticStructureSchema;
98
112
  export declare var ConversationLevelResultDetail$: StaticStructureSchema;
99
113
  export declare var ConversationLevelSlotResolutionResultItem$: StaticStructureSchema;
@@ -252,7 +266,6 @@ export declare var IntentOverride$: StaticStructureSchema;
252
266
  export declare var IntentSortBy$: StaticStructureSchema;
253
267
  export declare var IntentStatistics$: StaticStructureSchema;
254
268
  export declare var IntentSummary$: StaticStructureSchema;
255
- export declare var InternalServerException$: StaticErrorSchema;
256
269
  export declare var InvokedIntentSample$: StaticStructureSchema;
257
270
  export declare var KendraConfiguration$: StaticStructureSchema;
258
271
  export declare var LambdaCodeHook$: StaticStructureSchema;
@@ -334,7 +347,6 @@ export declare var PathFormat$: StaticStructureSchema;
334
347
  export declare var PlainTextMessage$: StaticStructureSchema;
335
348
  export declare var PostDialogCodeHookInvocationSpecification$: StaticStructureSchema;
336
349
  export declare var PostFulfillmentStatusSpecification$: StaticStructureSchema;
337
- export declare var PreconditionFailedException$: StaticErrorSchema;
338
350
  export declare var Principal$: StaticStructureSchema;
339
351
  export declare var PromptAttemptSpecification$: StaticStructureSchema;
340
352
  export declare var PromptSpecification$: StaticStructureSchema;
@@ -344,7 +356,6 @@ export declare var QnAIntentConfiguration$: StaticStructureSchema;
344
356
  export declare var QnAKendraConfiguration$: StaticStructureSchema;
345
357
  export declare var RecommendedIntentSummary$: StaticStructureSchema;
346
358
  export declare var RelativeAggregationDuration$: StaticStructureSchema;
347
- export declare var ResourceNotFoundException$: StaticErrorSchema;
348
359
  export declare var ResponseSpecification$: StaticStructureSchema;
349
360
  export declare var RuntimeHintDetails$: StaticStructureSchema;
350
361
  export declare var RuntimeHints$: StaticStructureSchema;
@@ -358,7 +369,6 @@ export declare var SampleValue$: StaticStructureSchema;
358
369
  export declare var SearchAssociatedTranscriptsRequest$: StaticStructureSchema;
359
370
  export declare var SearchAssociatedTranscriptsResponse$: StaticStructureSchema;
360
371
  export declare var SentimentAnalysisSettings$: StaticStructureSchema;
361
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
362
372
  export declare var SessionDataSortBy$: StaticStructureSchema;
363
373
  export declare var SessionSpecification$: StaticStructureSchema;
364
374
  export declare var SlotCaptureSetting$: StaticStructureSchema;
@@ -427,7 +437,6 @@ export declare var TestSetTurnResult$: StaticStructureSchema;
427
437
  export declare var TextInputSpecification$: StaticStructureSchema;
428
438
  export declare var TextLogDestination$: StaticStructureSchema;
429
439
  export declare var TextLogSetting$: StaticStructureSchema;
430
- export declare var ThrottlingException$: StaticErrorSchema;
431
440
  export declare var TranscriptFilter$: StaticStructureSchema;
432
441
  export declare var TranscriptSourceSetting$: StaticStructureSchema;
433
442
  export declare var TurnSpecification$: StaticStructureSchema;
@@ -468,10 +477,8 @@ export declare var UtteranceInputSpecification$: StaticStructureSchema;
468
477
  export declare var UtteranceLevelTestResultItem$: StaticStructureSchema;
469
478
  export declare var UtteranceLevelTestResults$: StaticStructureSchema;
470
479
  export declare var UtteranceSpecification$: StaticStructureSchema;
471
- export declare var ValidationException$: StaticErrorSchema;
472
480
  export declare var VoiceSettings$: StaticStructureSchema;
473
481
  export declare var WaitAndContinueSpecification$: StaticStructureSchema;
474
- export declare var LexModelsV2ServiceException$: StaticErrorSchema;
475
482
  export declare var BatchCreateCustomVocabularyItem$: StaticOperationSchema;
476
483
  export declare var BatchDeleteCustomVocabularyItem$: StaticOperationSchema;
477
484
  export declare var BatchUpdateCustomVocabularyItem$: StaticOperationSchema;
@@ -1,8 +1,18 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var LexModelsV2ServiceException$: StaticErrorSchema;
8
+ export declare var ConflictException$: StaticErrorSchema;
9
+ export declare var InternalServerException$: StaticErrorSchema;
10
+ export declare var PreconditionFailedException$: StaticErrorSchema;
11
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
12
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
13
+ export declare var ThrottlingException$: StaticErrorSchema;
14
+ export declare var ValidationException$: StaticErrorSchema;
15
+ export declare const errorTypeRegistries: TypeRegistry[];
6
16
  export declare var ActiveContext$: StaticStructureSchema;
7
17
  export declare var AdvancedRecognitionSetting$: StaticStructureSchema;
8
18
  export declare var AgentTurnResult$: StaticStructureSchema;
@@ -97,7 +107,6 @@ export declare var CompositeSlotTypeSetting$: StaticStructureSchema;
97
107
  export declare var Condition$: StaticStructureSchema;
98
108
  export declare var ConditionalBranch$: StaticStructureSchema;
99
109
  export declare var ConditionalSpecification$: StaticStructureSchema;
100
- export declare var ConflictException$: StaticErrorSchema;
101
110
  export declare var ConversationLevelIntentClassificationResultItem$: StaticStructureSchema;
102
111
  export declare var ConversationLevelResultDetail$: StaticStructureSchema;
103
112
  export declare var ConversationLevelSlotResolutionResultItem$: StaticStructureSchema;
@@ -256,7 +265,6 @@ export declare var IntentOverride$: StaticStructureSchema;
256
265
  export declare var IntentSortBy$: StaticStructureSchema;
257
266
  export declare var IntentStatistics$: StaticStructureSchema;
258
267
  export declare var IntentSummary$: StaticStructureSchema;
259
- export declare var InternalServerException$: StaticErrorSchema;
260
268
  export declare var InvokedIntentSample$: StaticStructureSchema;
261
269
  export declare var KendraConfiguration$: StaticStructureSchema;
262
270
  export declare var LambdaCodeHook$: StaticStructureSchema;
@@ -338,7 +346,6 @@ export declare var PathFormat$: StaticStructureSchema;
338
346
  export declare var PlainTextMessage$: StaticStructureSchema;
339
347
  export declare var PostDialogCodeHookInvocationSpecification$: StaticStructureSchema;
340
348
  export declare var PostFulfillmentStatusSpecification$: StaticStructureSchema;
341
- export declare var PreconditionFailedException$: StaticErrorSchema;
342
349
  export declare var Principal$: StaticStructureSchema;
343
350
  export declare var PromptAttemptSpecification$: StaticStructureSchema;
344
351
  export declare var PromptSpecification$: StaticStructureSchema;
@@ -348,7 +355,6 @@ export declare var QnAIntentConfiguration$: StaticStructureSchema;
348
355
  export declare var QnAKendraConfiguration$: StaticStructureSchema;
349
356
  export declare var RecommendedIntentSummary$: StaticStructureSchema;
350
357
  export declare var RelativeAggregationDuration$: StaticStructureSchema;
351
- export declare var ResourceNotFoundException$: StaticErrorSchema;
352
358
  export declare var ResponseSpecification$: StaticStructureSchema;
353
359
  export declare var RuntimeHintDetails$: StaticStructureSchema;
354
360
  export declare var RuntimeHints$: StaticStructureSchema;
@@ -362,7 +368,6 @@ export declare var SampleValue$: StaticStructureSchema;
362
368
  export declare var SearchAssociatedTranscriptsRequest$: StaticStructureSchema;
363
369
  export declare var SearchAssociatedTranscriptsResponse$: StaticStructureSchema;
364
370
  export declare var SentimentAnalysisSettings$: StaticStructureSchema;
365
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
366
371
  export declare var SessionDataSortBy$: StaticStructureSchema;
367
372
  export declare var SessionSpecification$: StaticStructureSchema;
368
373
  export declare var SlotCaptureSetting$: StaticStructureSchema;
@@ -431,7 +436,6 @@ export declare var TestSetTurnResult$: StaticStructureSchema;
431
436
  export declare var TextInputSpecification$: StaticStructureSchema;
432
437
  export declare var TextLogDestination$: StaticStructureSchema;
433
438
  export declare var TextLogSetting$: StaticStructureSchema;
434
- export declare var ThrottlingException$: StaticErrorSchema;
435
439
  export declare var TranscriptFilter$: StaticStructureSchema;
436
440
  export declare var TranscriptSourceSetting$: StaticStructureSchema;
437
441
  export declare var TurnSpecification$: StaticStructureSchema;
@@ -472,10 +476,8 @@ export declare var UtteranceInputSpecification$: StaticStructureSchema;
472
476
  export declare var UtteranceLevelTestResultItem$: StaticStructureSchema;
473
477
  export declare var UtteranceLevelTestResults$: StaticStructureSchema;
474
478
  export declare var UtteranceSpecification$: StaticStructureSchema;
475
- export declare var ValidationException$: StaticErrorSchema;
476
479
  export declare var VoiceSettings$: StaticStructureSchema;
477
480
  export declare var WaitAndContinueSpecification$: StaticStructureSchema;
478
- export declare var LexModelsV2ServiceException$: StaticErrorSchema;
479
481
  export declare var BatchCreateCustomVocabularyItem$: StaticOperationSchema;
480
482
  export declare var BatchDeleteCustomVocabularyItem$: StaticOperationSchema;
481
483
  export declare var BatchUpdateCustomVocabularyItem$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lex-models-v2",
3
3
  "description": "AWS SDK for JavaScript Lex Models V2 Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.988.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-lex-models-v2",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.8",
25
+ "@aws-sdk/credential-provider-node": "^3.972.7",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.8",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.988.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.6",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",