@aws-sdk/client-lex-models-v2 3.935.0 → 3.938.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -563,6 +563,7 @@ const _ICTR = "IntentClassificationTestResults";
563
563
  const _ICTRI = "IntentClassificationTestResultItem";
564
564
  const _ICTRIC = "IntentClassificationTestResultItemCounts";
565
565
  const _ICTRIL = "IntentClassificationTestResultItemList";
566
+ const _IDS = "IntentDisambiguationSettings";
566
567
  const _IEFP = "ImportExportFilePassword";
567
568
  const _IF = "ImportFilter";
568
569
  const _IFm = "ImportFilters";
@@ -988,6 +989,7 @@ const _cC = "confirmationConditional";
988
989
  const _cCa = "captureConditional";
989
990
  const _cD = "childDirected";
990
991
  const _cDFDR = "containsDataFromDeletedResources";
992
+ const _cDM = "customDisambiguationMessage";
991
993
  const _cDS = "conversationDurationSeconds";
992
994
  const _cDT = "creationDateTime";
993
995
  const _cES = "conversationEndState";
@@ -1118,6 +1120,8 @@ const _iCTR = "intentClassificationTestResults";
1118
1120
  const _iCn = "inputContexts";
1119
1121
  const _iCnt = "intentsCount";
1120
1122
  const _iD = "intentDiscrepancies";
1123
+ const _iDN = "intentDisplayName";
1124
+ const _iDS = "intentDisambiguationSettings";
1121
1125
  const _iF = "includeFields";
1122
1126
  const _iI = "intentId";
1123
1127
  const _iIL = "importInputLocation";
@@ -1170,6 +1174,7 @@ const _lUI = "lastUsedIntent";
1170
1174
  const _m = "message";
1171
1175
  const _mA = "modelArn";
1172
1176
  const _mC = "missedCount";
1177
+ const _mDI = "maxDisambiguationIntents";
1173
1178
  const _mG = "messageGroups";
1174
1179
  const _mL = "maxLength";
1175
1180
  const _mLM = "maxLengthMs";
@@ -1259,6 +1264,7 @@ const _sC = "successConditional";
1259
1264
  const _sCS = "slotCaptureSetting";
1260
1265
  const _sCl = "slotConstraint";
1261
1266
  const _sD = "startDate";
1267
+ const _sDS = "speechDetectionSensitivity";
1262
1268
  const _sDT = "startDateTime";
1263
1269
  const _sDl = "slotDiscrepancies";
1264
1270
  const _sFIS = "slotsFilledInSession";
@@ -1611,8 +1617,8 @@ var BotLocaleImportSpecification = [
1611
1617
  n0,
1612
1618
  _BLIS,
1613
1619
  0,
1614
- [_bI, _bV, _lI, _nICT, _vS],
1615
- [0, 0, 0, 1, () => VoiceSettings],
1620
+ [_bI, _bV, _lI, _nICT, _vS, _sDS],
1621
+ [0, 0, 0, 1, () => VoiceSettings, 0],
1616
1622
  ];
1617
1623
  var BotLocaleSortBy = [3, n0, _BLSB, 0, [_a, _or], [0, 0]];
1618
1624
  var BotLocaleSummary = [
@@ -1821,16 +1827,16 @@ var CreateBotLocaleRequest = [
1821
1827
  n0,
1822
1828
  _CBLR,
1823
1829
  0,
1824
- [_bI, _bV, _lI, _de, _nICT, _vS, _gAIS],
1825
- [[0, 1], [0, 1], 0, 0, 1, () => VoiceSettings, () => GenerativeAISettings],
1830
+ [_bI, _bV, _lI, _de, _nICT, _vS, _gAIS, _sDS],
1831
+ [[0, 1], [0, 1], 0, 0, 1, () => VoiceSettings, () => GenerativeAISettings, 0],
1826
1832
  ];
1827
1833
  var CreateBotLocaleResponse = [
1828
1834
  3,
1829
1835
  n0,
1830
1836
  _CBLRr,
1831
1837
  0,
1832
- [_bI, _bV, _lN, _lI, _de, _nICT, _vS, _bLS, _cDT, _gAIS],
1833
- [0, 0, 0, 0, 0, 1, () => VoiceSettings, 0, 4, () => GenerativeAISettings],
1838
+ [_bI, _bV, _lN, _lI, _de, _nICT, _vS, _bLS, _cDT, _gAIS, _sDS],
1839
+ [0, 0, 0, 0, 0, 1, () => VoiceSettings, 0, 4, () => GenerativeAISettings, 0],
1834
1840
  ];
1835
1841
  var CreateBotReplicaRequest = [3, n0, _CBRR, 0, [_bI, _rR], [[0, 1], 0]];
1836
1842
  var CreateBotReplicaResponse = [
@@ -1894,11 +1900,12 @@ var CreateIntentRequest = [
1894
1900
  n0,
1895
1901
  _CIR,
1896
1902
  0,
1897
- [_iN, _de, _pIS, _sU, _dCH, _fCH, _iCS, _iCSn, _iCn, _oC, _kC, _bI, _bV, _lI, _iRS, _qAIC, _qICIC],
1903
+ [_iN, _iDN, _de, _pIS, _sU, _dCH, _fCH, _iCS, _iCSn, _iCn, _oC, _kC, _bI, _bV, _lI, _iRS, _qAIC, _qICIC],
1898
1904
  [
1899
1905
  0,
1900
1906
  0,
1901
1907
  0,
1908
+ 0,
1902
1909
  () => SampleUtterancesList,
1903
1910
  () => DialogCodeHookSettings,
1904
1911
  () => FulfillmentCodeHookSettings,
@@ -1920,12 +1927,13 @@ var CreateIntentResponse = [
1920
1927
  n0,
1921
1928
  _CIRr,
1922
1929
  0,
1923
- [_iI, _iN, _de, _pIS, _sU, _dCH, _fCH, _iCS, _iCSn, _iCn, _oC, _kC, _bI, _bV, _lI, _cDT, _iRS, _qAIC, _qICIC],
1930
+ [_iI, _iN, _iDN, _de, _pIS, _sU, _dCH, _fCH, _iCS, _iCSn, _iCn, _oC, _kC, _bI, _bV, _lI, _cDT, _iRS, _qAIC, _qICIC],
1924
1931
  [
1925
1932
  0,
1926
1933
  0,
1927
1934
  0,
1928
1935
  0,
1936
+ 0,
1929
1937
  () => SampleUtterancesList,
1930
1938
  () => DialogCodeHookSettings,
1931
1939
  () => FulfillmentCodeHookSettings,
@@ -2347,7 +2355,7 @@ var DescribeBotLocaleResponse = [
2347
2355
  n0,
2348
2356
  _DBLResc,
2349
2357
  0,
2350
- [_bI, _bV, _lI, _lN, _de, _nICT, _vS, _iCnt, _sTC, _bLS, _fR, _cDT, _lUDT, _lBSDT, _bLHE, _rAec, _gAIS],
2358
+ [_bI, _bV, _lI, _lN, _de, _nICT, _vS, _iCnt, _sTC, _bLS, _fR, _cDT, _lUDT, _lBSDT, _bLHE, _rAec, _gAIS, _sDS],
2351
2359
  [
2352
2360
  0,
2353
2361
  0,
@@ -2366,6 +2374,7 @@ var DescribeBotLocaleResponse = [
2366
2374
  () => BotLocaleHistoryEventsList,
2367
2375
  64 | 0,
2368
2376
  () => GenerativeAISettings,
2377
+ 0,
2369
2378
  ],
2370
2379
  ];
2371
2380
  var DescribeBotRecommendationRequest = [
@@ -2528,6 +2537,7 @@ var DescribeIntentResponse = [
2528
2537
  [
2529
2538
  _iI,
2530
2539
  _iN,
2540
+ _iDN,
2531
2541
  _de,
2532
2542
  _pIS,
2533
2543
  _sU,
@@ -2553,6 +2563,7 @@ var DescribeIntentResponse = [
2553
2563
  0,
2554
2564
  0,
2555
2565
  0,
2566
+ 0,
2556
2567
  () => SampleUtterancesList,
2557
2568
  () => DialogCodeHookSettings,
2558
2569
  () => FulfillmentCodeHookSettings,
@@ -2915,6 +2926,7 @@ var IntentConfirmationSetting = [
2915
2926
  () => ElicitationCodeHookInvocationSetting,
2916
2927
  ],
2917
2928
  ];
2929
+ var IntentDisambiguationSettings = [3, n0, _IDS, 0, [_e, _mDI, _cDM], [2, 1, 0]];
2918
2930
  var IntentFilter = [3, n0, _IFn, 0, [_n, _v, _o], [0, 64 | 0, 0]];
2919
2931
  var IntentLevelSlotResolutionTestResultItem = [
2920
2932
  3,
@@ -2940,8 +2952,8 @@ var IntentSummary = [
2940
2952
  n0,
2941
2953
  _ISnt,
2942
2954
  0,
2943
- [_iI, _iN, _de, _pIS, _iCn, _oC, _lUDT],
2944
- [0, 0, 0, 0, () => InputContextsList, () => OutputContextsList, 4],
2955
+ [_iI, _iN, _iDN, _de, _pIS, _iCn, _oC, _lUDT],
2956
+ [0, 0, 0, 0, 0, () => InputContextsList, () => OutputContextsList, 4],
2945
2957
  ];
2946
2958
  var InternalServerException = [
2947
2959
  -3,
@@ -3482,7 +3494,14 @@ var MessageGroup = [
3482
3494
  ];
3483
3495
  var MultipleValuesSetting = [3, n0, _MVS, 0, [_aMV], [2]];
3484
3496
  var NewCustomVocabularyItem = [3, n0, _NCVI, 0, [_ph, _w, _dA], [0, 1, 0]];
3485
- var NluImprovementSpecification = [3, n0, _NIS, 0, [_e, _aNM], [2, 0]];
3497
+ var NluImprovementSpecification = [
3498
+ 3,
3499
+ n0,
3500
+ _NIS,
3501
+ 0,
3502
+ [_e, _aNM, _iDS],
3503
+ [2, 0, () => IntentDisambiguationSettings],
3504
+ ];
3486
3505
  var ObfuscationSetting = [3, n0, _OS, 0, [_oST], [0]];
3487
3506
  var OpensearchConfiguration = [
3488
3507
  3,
@@ -4129,16 +4148,16 @@ var UpdateBotLocaleRequest = [
4129
4148
  n0,
4130
4149
  _UBLR,
4131
4150
  0,
4132
- [_bI, _bV, _lI, _de, _nICT, _vS, _gAIS],
4133
- [[0, 1], [0, 1], [0, 1], 0, 1, () => VoiceSettings, () => GenerativeAISettings],
4151
+ [_bI, _bV, _lI, _de, _nICT, _vS, _gAIS, _sDS],
4152
+ [[0, 1], [0, 1], [0, 1], 0, 1, () => VoiceSettings, () => GenerativeAISettings, 0],
4134
4153
  ];
4135
4154
  var UpdateBotLocaleResponse = [
4136
4155
  3,
4137
4156
  n0,
4138
4157
  _UBLRp,
4139
4158
  0,
4140
- [_bI, _bV, _lI, _lN, _de, _nICT, _vS, _bLS, _fR, _cDT, _lUDT, _rAec, _gAIS],
4141
- [0, 0, 0, 0, 0, 1, () => VoiceSettings, 0, 64 | 0, 4, 4, 64 | 0, () => GenerativeAISettings],
4159
+ [_bI, _bV, _lI, _lN, _de, _nICT, _vS, _bLS, _fR, _cDT, _lUDT, _rAec, _gAIS, _sDS],
4160
+ [0, 0, 0, 0, 0, 1, () => VoiceSettings, 0, 64 | 0, 4, 4, 64 | 0, () => GenerativeAISettings, 0],
4142
4161
  ];
4143
4162
  var UpdateBotRecommendationRequest = [
4144
4163
  3,
@@ -4202,12 +4221,13 @@ var UpdateIntentRequest = [
4202
4221
  n0,
4203
4222
  _UIR,
4204
4223
  0,
4205
- [_iI, _iN, _de, _pIS, _sU, _dCH, _fCH, _sP, _iCS, _iCSn, _iCn, _oC, _kC, _bI, _bV, _lI, _iRS, _qAIC, _qICIC],
4224
+ [_iI, _iN, _iDN, _de, _pIS, _sU, _dCH, _fCH, _sP, _iCS, _iCSn, _iCn, _oC, _kC, _bI, _bV, _lI, _iRS, _qAIC, _qICIC],
4206
4225
  [
4207
4226
  [0, 1],
4208
4227
  0,
4209
4228
  0,
4210
4229
  0,
4230
+ 0,
4211
4231
  () => SampleUtterancesList,
4212
4232
  () => DialogCodeHookSettings,
4213
4233
  () => FulfillmentCodeHookSettings,
@@ -4233,6 +4253,7 @@ var UpdateIntentResponse = [
4233
4253
  [
4234
4254
  _iI,
4235
4255
  _iN,
4256
+ _iDN,
4236
4257
  _de,
4237
4258
  _pIS,
4238
4259
  _sU,
@@ -4258,6 +4279,7 @@ var UpdateIntentResponse = [
4258
4279
  0,
4259
4280
  0,
4260
4281
  0,
4282
+ 0,
4261
4283
  () => SampleUtterancesList,
4262
4284
  () => DialogCodeHookSettings,
4263
4285
  () => FulfillmentCodeHookSettings,
@@ -7819,6 +7841,11 @@ const BotLocaleFilterOperator = {
7819
7841
  Contains: "CO",
7820
7842
  Equals: "EQ",
7821
7843
  };
7844
+ const SpeechDetectionSensitivity = {
7845
+ Default: "Default",
7846
+ HighNoiseTolerance: "HighNoiseTolerance",
7847
+ MaximumNoiseTolerance: "MaximumNoiseTolerance",
7848
+ };
7822
7849
  const VoiceEngine = {
7823
7850
  Generative: "generative",
7824
7851
  LongForm: "long-form",
@@ -8325,6 +8352,7 @@ exports.SlotTypeFilterOperator = SlotTypeFilterOperator;
8325
8352
  exports.SlotTypeSortAttribute = SlotTypeSortAttribute;
8326
8353
  exports.SlotValueResolutionStrategy = SlotValueResolutionStrategy;
8327
8354
  exports.SortOrder = SortOrder;
8355
+ exports.SpeechDetectionSensitivity = SpeechDetectionSensitivity;
8328
8356
  exports.StartBotRecommendationCommand = StartBotRecommendationCommand;
8329
8357
  exports.StartBotResourceGenerationCommand = StartBotResourceGenerationCommand;
8330
8358
  exports.StartImportCommand = StartImportCommand;
@@ -204,6 +204,11 @@ export const BotLocaleFilterOperator = {
204
204
  Contains: "CO",
205
205
  Equals: "EQ",
206
206
  };
207
+ export const SpeechDetectionSensitivity = {
208
+ Default: "Default",
209
+ HighNoiseTolerance: "HighNoiseTolerance",
210
+ MaximumNoiseTolerance: "MaximumNoiseTolerance",
211
+ };
207
212
  export const VoiceEngine = {
208
213
  Generative: "generative",
209
214
  LongForm: "long-form",
@@ -356,6 +356,7 @@ const _ICTR = "IntentClassificationTestResults";
356
356
  const _ICTRI = "IntentClassificationTestResultItem";
357
357
  const _ICTRIC = "IntentClassificationTestResultItemCounts";
358
358
  const _ICTRIL = "IntentClassificationTestResultItemList";
359
+ const _IDS = "IntentDisambiguationSettings";
359
360
  const _IEFP = "ImportExportFilePassword";
360
361
  const _IF = "ImportFilter";
361
362
  const _IFm = "ImportFilters";
@@ -781,6 +782,7 @@ const _cC = "confirmationConditional";
781
782
  const _cCa = "captureConditional";
782
783
  const _cD = "childDirected";
783
784
  const _cDFDR = "containsDataFromDeletedResources";
785
+ const _cDM = "customDisambiguationMessage";
784
786
  const _cDS = "conversationDurationSeconds";
785
787
  const _cDT = "creationDateTime";
786
788
  const _cES = "conversationEndState";
@@ -911,6 +913,8 @@ const _iCTR = "intentClassificationTestResults";
911
913
  const _iCn = "inputContexts";
912
914
  const _iCnt = "intentsCount";
913
915
  const _iD = "intentDiscrepancies";
916
+ const _iDN = "intentDisplayName";
917
+ const _iDS = "intentDisambiguationSettings";
914
918
  const _iF = "includeFields";
915
919
  const _iI = "intentId";
916
920
  const _iIL = "importInputLocation";
@@ -963,6 +967,7 @@ const _lUI = "lastUsedIntent";
963
967
  const _m = "message";
964
968
  const _mA = "modelArn";
965
969
  const _mC = "missedCount";
970
+ const _mDI = "maxDisambiguationIntents";
966
971
  const _mG = "messageGroups";
967
972
  const _mL = "maxLength";
968
973
  const _mLM = "maxLengthMs";
@@ -1052,6 +1057,7 @@ const _sC = "successConditional";
1052
1057
  const _sCS = "slotCaptureSetting";
1053
1058
  const _sCl = "slotConstraint";
1054
1059
  const _sD = "startDate";
1060
+ const _sDS = "speechDetectionSensitivity";
1055
1061
  const _sDT = "startDateTime";
1056
1062
  const _sDl = "slotDiscrepancies";
1057
1063
  const _sFIS = "slotsFilledInSession";
@@ -1407,8 +1413,8 @@ export var BotLocaleImportSpecification = [
1407
1413
  n0,
1408
1414
  _BLIS,
1409
1415
  0,
1410
- [_bI, _bV, _lI, _nICT, _vS],
1411
- [0, 0, 0, 1, () => VoiceSettings],
1416
+ [_bI, _bV, _lI, _nICT, _vS, _sDS],
1417
+ [0, 0, 0, 1, () => VoiceSettings, 0],
1412
1418
  ];
1413
1419
  export var BotLocaleSortBy = [3, n0, _BLSB, 0, [_a, _or], [0, 0]];
1414
1420
  export var BotLocaleSummary = [
@@ -1617,16 +1623,16 @@ export var CreateBotLocaleRequest = [
1617
1623
  n0,
1618
1624
  _CBLR,
1619
1625
  0,
1620
- [_bI, _bV, _lI, _de, _nICT, _vS, _gAIS],
1621
- [[0, 1], [0, 1], 0, 0, 1, () => VoiceSettings, () => GenerativeAISettings],
1626
+ [_bI, _bV, _lI, _de, _nICT, _vS, _gAIS, _sDS],
1627
+ [[0, 1], [0, 1], 0, 0, 1, () => VoiceSettings, () => GenerativeAISettings, 0],
1622
1628
  ];
1623
1629
  export var CreateBotLocaleResponse = [
1624
1630
  3,
1625
1631
  n0,
1626
1632
  _CBLRr,
1627
1633
  0,
1628
- [_bI, _bV, _lN, _lI, _de, _nICT, _vS, _bLS, _cDT, _gAIS],
1629
- [0, 0, 0, 0, 0, 1, () => VoiceSettings, 0, 4, () => GenerativeAISettings],
1634
+ [_bI, _bV, _lN, _lI, _de, _nICT, _vS, _bLS, _cDT, _gAIS, _sDS],
1635
+ [0, 0, 0, 0, 0, 1, () => VoiceSettings, 0, 4, () => GenerativeAISettings, 0],
1630
1636
  ];
1631
1637
  export var CreateBotReplicaRequest = [3, n0, _CBRR, 0, [_bI, _rR], [[0, 1], 0]];
1632
1638
  export var CreateBotReplicaResponse = [
@@ -1690,11 +1696,12 @@ export var CreateIntentRequest = [
1690
1696
  n0,
1691
1697
  _CIR,
1692
1698
  0,
1693
- [_iN, _de, _pIS, _sU, _dCH, _fCH, _iCS, _iCSn, _iCn, _oC, _kC, _bI, _bV, _lI, _iRS, _qAIC, _qICIC],
1699
+ [_iN, _iDN, _de, _pIS, _sU, _dCH, _fCH, _iCS, _iCSn, _iCn, _oC, _kC, _bI, _bV, _lI, _iRS, _qAIC, _qICIC],
1694
1700
  [
1695
1701
  0,
1696
1702
  0,
1697
1703
  0,
1704
+ 0,
1698
1705
  () => SampleUtterancesList,
1699
1706
  () => DialogCodeHookSettings,
1700
1707
  () => FulfillmentCodeHookSettings,
@@ -1716,12 +1723,13 @@ export var CreateIntentResponse = [
1716
1723
  n0,
1717
1724
  _CIRr,
1718
1725
  0,
1719
- [_iI, _iN, _de, _pIS, _sU, _dCH, _fCH, _iCS, _iCSn, _iCn, _oC, _kC, _bI, _bV, _lI, _cDT, _iRS, _qAIC, _qICIC],
1726
+ [_iI, _iN, _iDN, _de, _pIS, _sU, _dCH, _fCH, _iCS, _iCSn, _iCn, _oC, _kC, _bI, _bV, _lI, _cDT, _iRS, _qAIC, _qICIC],
1720
1727
  [
1721
1728
  0,
1722
1729
  0,
1723
1730
  0,
1724
1731
  0,
1732
+ 0,
1725
1733
  () => SampleUtterancesList,
1726
1734
  () => DialogCodeHookSettings,
1727
1735
  () => FulfillmentCodeHookSettings,
@@ -2143,7 +2151,7 @@ export var DescribeBotLocaleResponse = [
2143
2151
  n0,
2144
2152
  _DBLResc,
2145
2153
  0,
2146
- [_bI, _bV, _lI, _lN, _de, _nICT, _vS, _iCnt, _sTC, _bLS, _fR, _cDT, _lUDT, _lBSDT, _bLHE, _rAec, _gAIS],
2154
+ [_bI, _bV, _lI, _lN, _de, _nICT, _vS, _iCnt, _sTC, _bLS, _fR, _cDT, _lUDT, _lBSDT, _bLHE, _rAec, _gAIS, _sDS],
2147
2155
  [
2148
2156
  0,
2149
2157
  0,
@@ -2162,6 +2170,7 @@ export var DescribeBotLocaleResponse = [
2162
2170
  () => BotLocaleHistoryEventsList,
2163
2171
  64 | 0,
2164
2172
  () => GenerativeAISettings,
2173
+ 0,
2165
2174
  ],
2166
2175
  ];
2167
2176
  export var DescribeBotRecommendationRequest = [
@@ -2324,6 +2333,7 @@ export var DescribeIntentResponse = [
2324
2333
  [
2325
2334
  _iI,
2326
2335
  _iN,
2336
+ _iDN,
2327
2337
  _de,
2328
2338
  _pIS,
2329
2339
  _sU,
@@ -2349,6 +2359,7 @@ export var DescribeIntentResponse = [
2349
2359
  0,
2350
2360
  0,
2351
2361
  0,
2362
+ 0,
2352
2363
  () => SampleUtterancesList,
2353
2364
  () => DialogCodeHookSettings,
2354
2365
  () => FulfillmentCodeHookSettings,
@@ -2711,6 +2722,7 @@ export var IntentConfirmationSetting = [
2711
2722
  () => ElicitationCodeHookInvocationSetting,
2712
2723
  ],
2713
2724
  ];
2725
+ export var IntentDisambiguationSettings = [3, n0, _IDS, 0, [_e, _mDI, _cDM], [2, 1, 0]];
2714
2726
  export var IntentFilter = [3, n0, _IFn, 0, [_n, _v, _o], [0, 64 | 0, 0]];
2715
2727
  export var IntentLevelSlotResolutionTestResultItem = [
2716
2728
  3,
@@ -2736,8 +2748,8 @@ export var IntentSummary = [
2736
2748
  n0,
2737
2749
  _ISnt,
2738
2750
  0,
2739
- [_iI, _iN, _de, _pIS, _iCn, _oC, _lUDT],
2740
- [0, 0, 0, 0, () => InputContextsList, () => OutputContextsList, 4],
2751
+ [_iI, _iN, _iDN, _de, _pIS, _iCn, _oC, _lUDT],
2752
+ [0, 0, 0, 0, 0, () => InputContextsList, () => OutputContextsList, 4],
2741
2753
  ];
2742
2754
  export var InternalServerException = [
2743
2755
  -3,
@@ -3278,7 +3290,14 @@ export var MessageGroup = [
3278
3290
  ];
3279
3291
  export var MultipleValuesSetting = [3, n0, _MVS, 0, [_aMV], [2]];
3280
3292
  export var NewCustomVocabularyItem = [3, n0, _NCVI, 0, [_ph, _w, _dA], [0, 1, 0]];
3281
- export var NluImprovementSpecification = [3, n0, _NIS, 0, [_e, _aNM], [2, 0]];
3293
+ export var NluImprovementSpecification = [
3294
+ 3,
3295
+ n0,
3296
+ _NIS,
3297
+ 0,
3298
+ [_e, _aNM, _iDS],
3299
+ [2, 0, () => IntentDisambiguationSettings],
3300
+ ];
3282
3301
  export var ObfuscationSetting = [3, n0, _OS, 0, [_oST], [0]];
3283
3302
  export var OpensearchConfiguration = [
3284
3303
  3,
@@ -3925,16 +3944,16 @@ export var UpdateBotLocaleRequest = [
3925
3944
  n0,
3926
3945
  _UBLR,
3927
3946
  0,
3928
- [_bI, _bV, _lI, _de, _nICT, _vS, _gAIS],
3929
- [[0, 1], [0, 1], [0, 1], 0, 1, () => VoiceSettings, () => GenerativeAISettings],
3947
+ [_bI, _bV, _lI, _de, _nICT, _vS, _gAIS, _sDS],
3948
+ [[0, 1], [0, 1], [0, 1], 0, 1, () => VoiceSettings, () => GenerativeAISettings, 0],
3930
3949
  ];
3931
3950
  export var UpdateBotLocaleResponse = [
3932
3951
  3,
3933
3952
  n0,
3934
3953
  _UBLRp,
3935
3954
  0,
3936
- [_bI, _bV, _lI, _lN, _de, _nICT, _vS, _bLS, _fR, _cDT, _lUDT, _rAec, _gAIS],
3937
- [0, 0, 0, 0, 0, 1, () => VoiceSettings, 0, 64 | 0, 4, 4, 64 | 0, () => GenerativeAISettings],
3955
+ [_bI, _bV, _lI, _lN, _de, _nICT, _vS, _bLS, _fR, _cDT, _lUDT, _rAec, _gAIS, _sDS],
3956
+ [0, 0, 0, 0, 0, 1, () => VoiceSettings, 0, 64 | 0, 4, 4, 64 | 0, () => GenerativeAISettings, 0],
3938
3957
  ];
3939
3958
  export var UpdateBotRecommendationRequest = [
3940
3959
  3,
@@ -3998,12 +4017,13 @@ export var UpdateIntentRequest = [
3998
4017
  n0,
3999
4018
  _UIR,
4000
4019
  0,
4001
- [_iI, _iN, _de, _pIS, _sU, _dCH, _fCH, _sP, _iCS, _iCSn, _iCn, _oC, _kC, _bI, _bV, _lI, _iRS, _qAIC, _qICIC],
4020
+ [_iI, _iN, _iDN, _de, _pIS, _sU, _dCH, _fCH, _sP, _iCS, _iCSn, _iCn, _oC, _kC, _bI, _bV, _lI, _iRS, _qAIC, _qICIC],
4002
4021
  [
4003
4022
  [0, 1],
4004
4023
  0,
4005
4024
  0,
4006
4025
  0,
4026
+ 0,
4007
4027
  () => SampleUtterancesList,
4008
4028
  () => DialogCodeHookSettings,
4009
4029
  () => FulfillmentCodeHookSettings,
@@ -4029,6 +4049,7 @@ export var UpdateIntentResponse = [
4029
4049
  [
4030
4050
  _iI,
4031
4051
  _iN,
4052
+ _iDN,
4032
4053
  _de,
4033
4054
  _pIS,
4034
4055
  _sU,
@@ -4054,6 +4075,7 @@ export var UpdateIntentResponse = [
4054
4075
  0,
4055
4076
  0,
4056
4077
  0,
4078
+ 0,
4057
4079
  () => SampleUtterancesList,
4058
4080
  () => DialogCodeHookSettings,
4059
4081
  () => FulfillmentCodeHookSettings,
@@ -66,6 +66,11 @@ declare const CreateBotLocaleCommand_base: {
66
66
  * nluImprovement: { // NluImprovementSpecification
67
67
  * enabled: true || false, // required
68
68
  * assistedNluMode: "Primary" || "Fallback",
69
+ * intentDisambiguationSettings: { // IntentDisambiguationSettings
70
+ * enabled: true || false, // required
71
+ * maxDisambiguationIntents: Number("int"),
72
+ * customDisambiguationMessage: "STRING_VALUE",
73
+ * },
69
74
  * },
70
75
  * },
71
76
  * buildtimeSettings: { // BuildtimeSettings
@@ -95,6 +100,7 @@ declare const CreateBotLocaleCommand_base: {
95
100
  * },
96
101
  * },
97
102
  * },
103
+ * speechDetectionSensitivity: "Default" || "HighNoiseTolerance" || "MaximumNoiseTolerance",
98
104
  * };
99
105
  * const command = new CreateBotLocaleCommand(input);
100
106
  * const response = await client.send(command);
@@ -128,6 +134,11 @@ declare const CreateBotLocaleCommand_base: {
128
134
  * // nluImprovement: { // NluImprovementSpecification
129
135
  * // enabled: true || false, // required
130
136
  * // assistedNluMode: "Primary" || "Fallback",
137
+ * // intentDisambiguationSettings: { // IntentDisambiguationSettings
138
+ * // enabled: true || false, // required
139
+ * // maxDisambiguationIntents: Number("int"),
140
+ * // customDisambiguationMessage: "STRING_VALUE",
141
+ * // },
131
142
  * // },
132
143
  * // },
133
144
  * // buildtimeSettings: { // BuildtimeSettings
@@ -157,6 +168,7 @@ declare const CreateBotLocaleCommand_base: {
157
168
  * // },
158
169
  * // },
159
170
  * // },
171
+ * // speechDetectionSensitivity: "Default" || "HighNoiseTolerance" || "MaximumNoiseTolerance",
160
172
  * // };
161
173
  *
162
174
  * ```
@@ -75,6 +75,7 @@ declare const CreateIntentCommand_base: {
75
75
  * const client = new LexModelsV2Client(config);
76
76
  * const input = { // CreateIntentRequest
77
77
  * intentName: "STRING_VALUE", // required
78
+ * intentDisplayName: "STRING_VALUE",
78
79
  * description: "STRING_VALUE",
79
80
  * parentIntentSignature: "STRING_VALUE",
80
81
  * sampleUtterances: [ // SampleUtterancesList
@@ -551,6 +552,7 @@ declare const CreateIntentCommand_base: {
551
552
  * // { // CreateIntentResponse
552
553
  * // intentId: "STRING_VALUE",
553
554
  * // intentName: "STRING_VALUE",
555
+ * // intentDisplayName: "STRING_VALUE",
554
556
  * // description: "STRING_VALUE",
555
557
  * // parentIntentSignature: "STRING_VALUE",
556
558
  * // sampleUtterances: [ // SampleUtterancesList
@@ -89,6 +89,11 @@ declare const DescribeBotLocaleCommand_base: {
89
89
  * // nluImprovement: { // NluImprovementSpecification
90
90
  * // enabled: true || false, // required
91
91
  * // assistedNluMode: "Primary" || "Fallback",
92
+ * // intentDisambiguationSettings: { // IntentDisambiguationSettings
93
+ * // enabled: true || false, // required
94
+ * // maxDisambiguationIntents: Number("int"),
95
+ * // customDisambiguationMessage: "STRING_VALUE",
96
+ * // },
92
97
  * // },
93
98
  * // },
94
99
  * // buildtimeSettings: { // BuildtimeSettings
@@ -118,6 +123,7 @@ declare const DescribeBotLocaleCommand_base: {
118
123
  * // },
119
124
  * // },
120
125
  * // },
126
+ * // speechDetectionSensitivity: "Default" || "HighNoiseTolerance" || "MaximumNoiseTolerance",
121
127
  * // };
122
128
  *
123
129
  * ```
@@ -70,6 +70,7 @@ declare const DescribeImportCommand_base: {
70
70
  * // voiceId: "STRING_VALUE", // required
71
71
  * // engine: "standard" || "neural" || "long-form" || "generative",
72
72
  * // },
73
+ * // speechDetectionSensitivity: "Default" || "HighNoiseTolerance" || "MaximumNoiseTolerance",
73
74
  * // },
74
75
  * // customVocabularyImportSpecification: { // CustomVocabularyImportSpecification
75
76
  * // botId: "STRING_VALUE", // required
@@ -48,6 +48,7 @@ declare const DescribeIntentCommand_base: {
48
48
  * // { // DescribeIntentResponse
49
49
  * // intentId: "STRING_VALUE",
50
50
  * // intentName: "STRING_VALUE",
51
+ * // intentDisplayName: "STRING_VALUE",
51
52
  * // description: "STRING_VALUE",
52
53
  * // parentIntentSignature: "STRING_VALUE",
53
54
  * // sampleUtterances: [ // SampleUtterancesList
@@ -66,6 +66,7 @@ declare const ListIntentsCommand_base: {
66
66
  * // { // IntentSummary
67
67
  * // intentId: "STRING_VALUE",
68
68
  * // intentName: "STRING_VALUE",
69
+ * // intentDisplayName: "STRING_VALUE",
69
70
  * // description: "STRING_VALUE",
70
71
  * // parentIntentSignature: "STRING_VALUE",
71
72
  * // inputContexts: [ // InputContextsList
@@ -66,6 +66,7 @@ declare const StartImportCommand_base: {
66
66
  * voiceId: "STRING_VALUE", // required
67
67
  * engine: "standard" || "neural" || "long-form" || "generative",
68
68
  * },
69
+ * speechDetectionSensitivity: "Default" || "HighNoiseTolerance" || "MaximumNoiseTolerance",
69
70
  * },
70
71
  * customVocabularyImportSpecification: { // CustomVocabularyImportSpecification
71
72
  * botId: "STRING_VALUE", // required
@@ -125,6 +126,7 @@ declare const StartImportCommand_base: {
125
126
  * // voiceId: "STRING_VALUE", // required
126
127
  * // engine: "standard" || "neural" || "long-form" || "generative",
127
128
  * // },
129
+ * // speechDetectionSensitivity: "Default" || "HighNoiseTolerance" || "MaximumNoiseTolerance",
128
130
  * // },
129
131
  * // customVocabularyImportSpecification: { // CustomVocabularyImportSpecification
130
132
  * // botId: "STRING_VALUE", // required
@@ -63,6 +63,11 @@ declare const UpdateBotLocaleCommand_base: {
63
63
  * nluImprovement: { // NluImprovementSpecification
64
64
  * enabled: true || false, // required
65
65
  * assistedNluMode: "Primary" || "Fallback",
66
+ * intentDisambiguationSettings: { // IntentDisambiguationSettings
67
+ * enabled: true || false, // required
68
+ * maxDisambiguationIntents: Number("int"),
69
+ * customDisambiguationMessage: "STRING_VALUE",
70
+ * },
66
71
  * },
67
72
  * },
68
73
  * buildtimeSettings: { // BuildtimeSettings
@@ -92,6 +97,7 @@ declare const UpdateBotLocaleCommand_base: {
92
97
  * },
93
98
  * },
94
99
  * },
100
+ * speechDetectionSensitivity: "Default" || "HighNoiseTolerance" || "MaximumNoiseTolerance",
95
101
  * };
96
102
  * const command = new UpdateBotLocaleCommand(input);
97
103
  * const response = await client.send(command);
@@ -132,6 +138,11 @@ declare const UpdateBotLocaleCommand_base: {
132
138
  * // nluImprovement: { // NluImprovementSpecification
133
139
  * // enabled: true || false, // required
134
140
  * // assistedNluMode: "Primary" || "Fallback",
141
+ * // intentDisambiguationSettings: { // IntentDisambiguationSettings
142
+ * // enabled: true || false, // required
143
+ * // maxDisambiguationIntents: Number("int"),
144
+ * // customDisambiguationMessage: "STRING_VALUE",
145
+ * // },
135
146
  * // },
136
147
  * // },
137
148
  * // buildtimeSettings: { // BuildtimeSettings
@@ -161,6 +172,7 @@ declare const UpdateBotLocaleCommand_base: {
161
172
  * // },
162
173
  * // },
163
174
  * // },
175
+ * // speechDetectionSensitivity: "Default" || "HighNoiseTolerance" || "MaximumNoiseTolerance",
164
176
  * // };
165
177
  *
166
178
  * ```
@@ -39,6 +39,7 @@ declare const UpdateIntentCommand_base: {
39
39
  * const input = { // UpdateIntentRequest
40
40
  * intentId: "STRING_VALUE", // required
41
41
  * intentName: "STRING_VALUE", // required
42
+ * intentDisplayName: "STRING_VALUE",
42
43
  * description: "STRING_VALUE",
43
44
  * parentIntentSignature: "STRING_VALUE",
44
45
  * sampleUtterances: [ // SampleUtterancesList
@@ -521,6 +522,7 @@ declare const UpdateIntentCommand_base: {
521
522
  * // { // UpdateIntentResponse
522
523
  * // intentId: "STRING_VALUE",
523
524
  * // intentName: "STRING_VALUE",
525
+ * // intentDisplayName: "STRING_VALUE",
524
526
  * // description: "STRING_VALUE",
525
527
  * // parentIntentSignature: "STRING_VALUE",
526
528
  * // sampleUtterances: [ // SampleUtterancesList
@@ -508,6 +508,19 @@ export declare const BotLocaleFilterOperator: {
508
508
  * @public
509
509
  */
510
510
  export type BotLocaleFilterOperator = (typeof BotLocaleFilterOperator)[keyof typeof BotLocaleFilterOperator];
511
+ /**
512
+ * @public
513
+ * @enum
514
+ */
515
+ export declare const SpeechDetectionSensitivity: {
516
+ readonly Default: "Default";
517
+ readonly HighNoiseTolerance: "HighNoiseTolerance";
518
+ readonly MaximumNoiseTolerance: "MaximumNoiseTolerance";
519
+ };
520
+ /**
521
+ * @public
522
+ */
523
+ export type SpeechDetectionSensitivity = (typeof SpeechDetectionSensitivity)[keyof typeof SpeechDetectionSensitivity];
511
524
  /**
512
525
  * @public
513
526
  * @enum
@@ -1,4 +1,4 @@
1
- import { AggregatedUtterancesFilterName, AggregatedUtterancesFilterOperator, AggregatedUtterancesSortAttribute, AnalyticsBinByName, AnalyticsCommonFilterName, AnalyticsFilterOperator, AnalyticsIntentField, AnalyticsIntentFilterName, AnalyticsIntentMetricName, AnalyticsIntentStageField, AnalyticsIntentStageFilterName, AnalyticsIntentStageMetricName, AnalyticsInterval, AnalyticsMetricStatistic, AnalyticsNodeType, AnalyticsSessionField, AnalyticsSessionFilterName, AnalyticsSessionMetricName, AnalyticsSortOrder, AnalyticsUtteranceAttributeName, AnalyticsUtteranceField, AnalyticsUtteranceFilterName, AnalyticsUtteranceMetricName, AssistedNluMode, AssociatedTranscriptFilterName, AudioRecognitionStrategy, BedrockTraceStatus, BotAliasReplicationStatus, BotAliasStatus, BotFilterName, BotFilterOperator, BotLocaleFilterName, BotLocaleFilterOperator, BotLocaleSortAttribute, BotLocaleStatus, BotRecommendationStatus, BotReplicaStatus, BotSortAttribute, BotStatus, BotType, BotVersionReplicaSortAttribute, BotVersionReplicationStatus, BotVersionSortAttribute, BuiltInIntentSortAttribute, BuiltInSlotTypeSortAttribute, ConversationLogsInputModeFilter, CustomVocabularyStatus, DialogActionType, Effect, ErrorCode, ExportFilterName, ExportFilterOperator, ExportSortAttribute, ExportStatus, GenerationSortByAttribute, GenerationStatus, ImportExportFileFormat, ImportFilterName, ImportFilterOperator, ImportResourceType, ImportSortAttribute, ImportStatus, IntentFilterName, IntentFilterOperator, IntentSortAttribute, MergeStrategy, MessageSelectionStrategy, ObfuscationSettingType, PromptAttempt, SlotResolutionStrategy, SlotValueResolutionStrategy, SortOrder, TestExecutionApiMode, TestExecutionModality, TestExecutionStatus, TestResultMatchStatus, TestSetDiscrepancyReportStatus, TestSetGenerationStatus, TestSetModality, TestSetStatus, TranscriptFormat, VoiceEngine } from "./enums";
1
+ import { AggregatedUtterancesFilterName, AggregatedUtterancesFilterOperator, AggregatedUtterancesSortAttribute, AnalyticsBinByName, AnalyticsCommonFilterName, AnalyticsFilterOperator, AnalyticsIntentField, AnalyticsIntentFilterName, AnalyticsIntentMetricName, AnalyticsIntentStageField, AnalyticsIntentStageFilterName, AnalyticsIntentStageMetricName, AnalyticsInterval, AnalyticsMetricStatistic, AnalyticsNodeType, AnalyticsSessionField, AnalyticsSessionFilterName, AnalyticsSessionMetricName, AnalyticsSortOrder, AnalyticsUtteranceAttributeName, AnalyticsUtteranceField, AnalyticsUtteranceFilterName, AnalyticsUtteranceMetricName, AssistedNluMode, AssociatedTranscriptFilterName, AudioRecognitionStrategy, BedrockTraceStatus, BotAliasReplicationStatus, BotAliasStatus, BotFilterName, BotFilterOperator, BotLocaleFilterName, BotLocaleFilterOperator, BotLocaleSortAttribute, BotLocaleStatus, BotRecommendationStatus, BotReplicaStatus, BotSortAttribute, BotStatus, BotType, BotVersionReplicaSortAttribute, BotVersionReplicationStatus, BotVersionSortAttribute, BuiltInIntentSortAttribute, BuiltInSlotTypeSortAttribute, ConversationLogsInputModeFilter, CustomVocabularyStatus, DialogActionType, Effect, ErrorCode, ExportFilterName, ExportFilterOperator, ExportSortAttribute, ExportStatus, GenerationSortByAttribute, GenerationStatus, ImportExportFileFormat, ImportFilterName, ImportFilterOperator, ImportResourceType, ImportSortAttribute, ImportStatus, IntentFilterName, IntentFilterOperator, IntentSortAttribute, MergeStrategy, MessageSelectionStrategy, ObfuscationSettingType, PromptAttempt, SlotResolutionStrategy, SlotValueResolutionStrategy, SortOrder, SpeechDetectionSensitivity, TestExecutionApiMode, TestExecutionModality, TestExecutionStatus, TestResultMatchStatus, TestSetDiscrepancyReportStatus, TestSetGenerationStatus, TestSetModality, TestSetStatus, TranscriptFormat, VoiceEngine } from "./enums";
2
2
  /**
3
3
  * <p>The active context used in the test execution.</p>
4
4
  * @public
@@ -2785,6 +2785,11 @@ export interface BotLocaleImportSpecification {
2785
2785
  * @public
2786
2786
  */
2787
2787
  voiceSettings?: VoiceSettings | undefined;
2788
+ /**
2789
+ * <p>The sensitivity level for voice activity detection (VAD) in the bot locale. This setting helps optimize speech recognition accuracy by adjusting how the system responds to background noise during voice interactions.</p>
2790
+ * @public
2791
+ */
2792
+ speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
2788
2793
  }
2789
2794
  /**
2790
2795
  * <p>Specifies attributes for sorting a list of bot locales.</p>
@@ -4084,6 +4089,27 @@ export interface CreateBotAliasResponse {
4084
4089
  */
4085
4090
  tags?: Record<string, string> | undefined;
4086
4091
  }
4092
+ /**
4093
+ * <p>Configures the Intent Disambiguation feature that helps resolve ambiguous user inputs when multiple intents could match. When enabled, the system presents clarifying questions to users, helping them specify their exact intent for improved conversation accuracy.</p>
4094
+ * @public
4095
+ */
4096
+ export interface IntentDisambiguationSettings {
4097
+ /**
4098
+ * <p>Determines whether the Intent Disambiguation feature is enabled. When set to <code>true</code>, Amazon Lex will present disambiguation options to users when multiple intents could match their input, with the default being <code>false</code>.</p>
4099
+ * @public
4100
+ */
4101
+ enabled: boolean | undefined;
4102
+ /**
4103
+ * <p>Specifies the maximum number of intent options (2-5) to present to users when disambiguation is needed. This setting determines how many intent options will be shown to users when the system detects ambiguous input. The default value is 3.</p>
4104
+ * @public
4105
+ */
4106
+ maxDisambiguationIntents?: number | undefined;
4107
+ /**
4108
+ * <p>Provides a custom message that will be displayed before presenting the disambiguation options to users. This message helps set the context for users and can be customized to match your bot's tone and brand. If not specified, a default message will be used.</p>
4109
+ * @public
4110
+ */
4111
+ customDisambiguationMessage?: string | undefined;
4112
+ }
4087
4113
  /**
4088
4114
  * <p>Configures the Assisted Natural Language Understanding (NLU) feature for your bot. This specification determines whether enhanced intent recognition and utterance understanding capabilities are active.</p>
4089
4115
  * @public
@@ -4099,6 +4125,11 @@ export interface NluImprovementSpecification {
4099
4125
  * @public
4100
4126
  */
4101
4127
  assistedNluMode?: AssistedNluMode | undefined;
4128
+ /**
4129
+ * <p>An object containing specifications for the Intent Disambiguation feature within the Assisted NLU settings. These settings determine how the bot handles ambiguous user inputs that could match multiple intents.</p>
4130
+ * @public
4131
+ */
4132
+ intentDisambiguationSettings?: IntentDisambiguationSettings | undefined;
4102
4133
  }
4103
4134
  /**
4104
4135
  * <p>Contains specifications for the assisted slot resolution feature.</p>
@@ -4217,6 +4248,11 @@ export interface CreateBotLocaleRequest {
4217
4248
  * @public
4218
4249
  */
4219
4250
  generativeAISettings?: GenerativeAISettings | undefined;
4251
+ /**
4252
+ * <p>The sensitivity level for voice activity detection (VAD) in the bot locale. This setting helps optimize speech recognition accuracy by adjusting how the system responds to background noise during voice interactions.</p>
4253
+ * @public
4254
+ */
4255
+ speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
4220
4256
  }
4221
4257
  /**
4222
4258
  * @public
@@ -4286,6 +4322,11 @@ export interface CreateBotLocaleResponse {
4286
4322
  * @public
4287
4323
  */
4288
4324
  generativeAISettings?: GenerativeAISettings | undefined;
4325
+ /**
4326
+ * <p>The sensitivity level for voice activity detection (VAD) that was specified for the bot locale.</p>
4327
+ * @public
4328
+ */
4329
+ speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
4289
4330
  }
4290
4331
  /**
4291
4332
  * @public
@@ -6556,6 +6597,11 @@ export interface DescribeBotLocaleResponse {
6556
6597
  * @public
6557
6598
  */
6558
6599
  generativeAISettings?: GenerativeAISettings | undefined;
6600
+ /**
6601
+ * <p>The sensitivity level for voice activity detection (VAD) configured for the bot locale.</p>
6602
+ * @public
6603
+ */
6604
+ speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
6559
6605
  }
6560
6606
  /**
6561
6607
  * @public
@@ -8360,6 +8406,11 @@ export interface IntentSummary {
8360
8406
  * @public
8361
8407
  */
8362
8408
  intentName?: string | undefined;
8409
+ /**
8410
+ * <p>The display name of the intent.</p>
8411
+ * @public
8412
+ */
8413
+ intentDisplayName?: string | undefined;
8363
8414
  /**
8364
8415
  * <p>The description of the intent.</p>
8365
8416
  * @public
@@ -8390,14 +8441,3 @@ export interface IntentSummary {
8390
8441
  */
8391
8442
  lastUpdatedDateTime?: Date | undefined;
8392
8443
  }
8393
- /**
8394
- * <p>An object containing the name of an intent that was invoked.</p>
8395
- * @public
8396
- */
8397
- export interface InvokedIntentSample {
8398
- /**
8399
- * <p>The name of an intent that was invoked.</p>
8400
- * @public
8401
- */
8402
- intentName?: string | undefined;
8403
- }
@@ -1,5 +1,16 @@
1
- import { AnalyticsModality, AnalyticsSessionSortByName, AnalyticsSortOrder, AnalyticsUtteranceSortByName, BotAliasStatus, BotLocaleStatus, BotRecommendationStatus, BotStatus, BotType, ConversationEndState, ExportStatus, GenerationStatus, ImportExportFileFormat, ImportStatus, IntentState, MergeStrategy, SearchOrder, SlotConstraint, SlotFilterName, SlotFilterOperator, SlotShape, SlotSortAttribute, SlotTypeCategory, SlotTypeFilterName, SlotTypeFilterOperator, SlotTypeSortAttribute, SortOrder, TestExecutionApiMode, TestExecutionModality, TestExecutionSortAttribute, TestExecutionStatus, TestResultMatchStatus, TestResultTypeFilter, TestSetGenerationStatus, TestSetModality, TestSetSortAttribute, TestSetStatus, TimeDimension, UtteranceContentType } from "./enums";
2
- import { ActiveContext, AgentTurnResult, AgentTurnSpecification, AggregatedUtterancesFilter, AggregatedUtterancesSortBy, AggregatedUtterancesSummary, AnalyticsBinBySpecification, AnalyticsIntentFilter, AnalyticsIntentGroupBySpecification, AnalyticsIntentMetric, AnalyticsIntentNodeSummary, AnalyticsIntentResult, AnalyticsIntentStageFilter, AnalyticsIntentStageGroupBySpecification, AnalyticsIntentStageMetric, AnalyticsIntentStageResult, AnalyticsPathFilter, AnalyticsSessionFilter, AnalyticsSessionGroupBySpecification, AnalyticsSessionMetric, AnalyticsSessionResult, AnalyticsUtteranceAttribute, AnalyticsUtteranceFilter, AnalyticsUtteranceGroupBySpecification, AnalyticsUtteranceMetric, AnalyticsUtteranceResult, AssociatedTranscript, AssociatedTranscriptFilter, BotAliasLocaleSettings, BotAliasReplicaSummary, BotAliasSummary, BotFilter, BotLocaleFilter, BotLocaleSortBy, BotLocaleSummary, BotMember, BotRecommendationSummary, BotReplicaSummary, BotSortBy, BotSummary, BotVersionReplicaSortBy, BotVersionReplicaSummary, BotVersionSortBy, BotVersionSummary, BuiltInIntentSortBy, BuiltInIntentSummary, BuiltInSlotTypeSortBy, BuiltInSlotTypeSummary, CompositeSlotTypeSetting, Condition, ConversationLevelResultDetail, ConversationLevelTestResults, ConversationLevelTestResultsFilterBy, ConversationLogSettings, CustomVocabularyItem, DataPrivacy, DialogAction, DialogCodeHookSettings, ElicitationCodeHookInvocationSetting, EncryptionSetting, ErrorLogSettings, ExecutionErrorDetails, ExportFilter, ExportResourceSpecification, ExportSortBy, ExportSummary, ExternalSourceSetting, FulfillmentUpdatesSpecification, GenerationSortBy, GenerationSummary, GenerativeAISettings, ImageResponseCard, ImportFilter, ImportResourceSpecification, ImportSortBy, ImportSummary, InputContext, IntentClassificationTestResults, IntentFilter, IntentLevelSlotResolutionTestResults, IntentSortBy, IntentSummary, InvokedIntentSample, KendraConfiguration, MultipleValuesSetting, ObfuscationSetting, OutputContext, PromptSpecification, QInConnectIntentConfiguration, QnAIntentConfiguration, ResponseSpecification, RuntimeHintValue, SampleUtterance, SentimentAnalysisSettings, SlotDefaultValueSpecification, SlotPriority, SlotResolutionSetting, SlotTypeValue, SlotValue, SlotValueSelectionSetting, SubSlotSetting, TestExecutionTarget, TestSetGenerationDataSource, TestSetStorageLocation, TranscriptSourceSetting, VoiceSettings, WaitAndContinueSpecification } from "./models_0";
1
+ import { AnalyticsModality, AnalyticsSessionSortByName, AnalyticsSortOrder, AnalyticsUtteranceSortByName, BotAliasStatus, BotLocaleStatus, BotRecommendationStatus, BotStatus, BotType, ConversationEndState, ExportStatus, GenerationStatus, ImportExportFileFormat, ImportStatus, IntentState, MergeStrategy, SearchOrder, SlotConstraint, SlotFilterName, SlotFilterOperator, SlotShape, SlotSortAttribute, SlotTypeCategory, SlotTypeFilterName, SlotTypeFilterOperator, SlotTypeSortAttribute, SortOrder, SpeechDetectionSensitivity, TestExecutionApiMode, TestExecutionModality, TestExecutionSortAttribute, TestExecutionStatus, TestResultMatchStatus, TestResultTypeFilter, TestSetGenerationStatus, TestSetModality, TestSetSortAttribute, TestSetStatus, TimeDimension, UtteranceContentType } from "./enums";
2
+ import { ActiveContext, AgentTurnResult, AgentTurnSpecification, AggregatedUtterancesFilter, AggregatedUtterancesSortBy, AggregatedUtterancesSummary, AnalyticsBinBySpecification, AnalyticsIntentFilter, AnalyticsIntentGroupBySpecification, AnalyticsIntentMetric, AnalyticsIntentNodeSummary, AnalyticsIntentResult, AnalyticsIntentStageFilter, AnalyticsIntentStageGroupBySpecification, AnalyticsIntentStageMetric, AnalyticsIntentStageResult, AnalyticsPathFilter, AnalyticsSessionFilter, AnalyticsSessionGroupBySpecification, AnalyticsSessionMetric, AnalyticsSessionResult, AnalyticsUtteranceAttribute, AnalyticsUtteranceFilter, AnalyticsUtteranceGroupBySpecification, AnalyticsUtteranceMetric, AnalyticsUtteranceResult, AssociatedTranscript, AssociatedTranscriptFilter, BotAliasLocaleSettings, BotAliasReplicaSummary, BotAliasSummary, BotFilter, BotLocaleFilter, BotLocaleSortBy, BotLocaleSummary, BotMember, BotRecommendationSummary, BotReplicaSummary, BotSortBy, BotSummary, BotVersionReplicaSortBy, BotVersionReplicaSummary, BotVersionSortBy, BotVersionSummary, BuiltInIntentSortBy, BuiltInIntentSummary, BuiltInSlotTypeSortBy, BuiltInSlotTypeSummary, CompositeSlotTypeSetting, Condition, ConversationLevelResultDetail, ConversationLevelTestResults, ConversationLevelTestResultsFilterBy, ConversationLogSettings, CustomVocabularyItem, DataPrivacy, DialogAction, DialogCodeHookSettings, ElicitationCodeHookInvocationSetting, EncryptionSetting, ErrorLogSettings, ExecutionErrorDetails, ExportFilter, ExportResourceSpecification, ExportSortBy, ExportSummary, ExternalSourceSetting, FulfillmentUpdatesSpecification, GenerationSortBy, GenerationSummary, GenerativeAISettings, ImageResponseCard, ImportFilter, ImportResourceSpecification, ImportSortBy, ImportSummary, InputContext, IntentClassificationTestResults, IntentFilter, IntentLevelSlotResolutionTestResults, IntentSortBy, IntentSummary, KendraConfiguration, MultipleValuesSetting, ObfuscationSetting, OutputContext, PromptSpecification, QInConnectIntentConfiguration, QnAIntentConfiguration, ResponseSpecification, RuntimeHintValue, SampleUtterance, SentimentAnalysisSettings, SlotDefaultValueSpecification, SlotPriority, SlotResolutionSetting, SlotTypeValue, SlotValue, SlotValueSelectionSetting, SubSlotSetting, TestExecutionTarget, TestSetGenerationDataSource, TestSetStorageLocation, TranscriptSourceSetting, VoiceSettings, WaitAndContinueSpecification } from "./models_0";
3
+ /**
4
+ * <p>An object containing the name of an intent that was invoked.</p>
5
+ * @public
6
+ */
7
+ export interface InvokedIntentSample {
8
+ /**
9
+ * <p>The name of an intent that was invoked.</p>
10
+ * @public
11
+ */
12
+ intentName?: string | undefined;
13
+ }
3
14
  /**
4
15
  * <p>Specifies the time window that utterance statistics are returned
5
16
  * for. The time window is always relative to the last time that the that
@@ -3930,6 +3941,11 @@ export interface UpdateBotLocaleRequest {
3930
3941
  * @public
3931
3942
  */
3932
3943
  generativeAISettings?: GenerativeAISettings | undefined;
3944
+ /**
3945
+ * <p>The new sensitivity level for voice activity detection (VAD) in the bot locale. This setting helps optimize speech recognition accuracy by adjusting how the system responds to background noise during voice interactions.</p>
3946
+ * @public
3947
+ */
3948
+ speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
3933
3949
  }
3934
3950
  /**
3935
3951
  * @public
@@ -4009,6 +4025,11 @@ export interface UpdateBotLocaleResponse {
4009
4025
  * @public
4010
4026
  */
4011
4027
  generativeAISettings?: GenerativeAISettings | undefined;
4028
+ /**
4029
+ * <p>The updated sensitivity level for voice activity detection (VAD) in the bot locale.</p>
4030
+ * @public
4031
+ */
4032
+ speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
4012
4033
  }
4013
4034
  /**
4014
4035
  * @public
@@ -5831,6 +5852,14 @@ export interface CreateIntentRequest {
5831
5852
  * @public
5832
5853
  */
5833
5854
  intentName: string | undefined;
5855
+ /**
5856
+ * <p>A display name for the intent. If configured, This name will be shown to
5857
+ * users during Intent Disambiguation instead of the intent name. Display names
5858
+ * should be user-friendly, descriptive and match the intent's purpose to improve user experience
5859
+ * during disambiguation.</p>
5860
+ * @public
5861
+ */
5862
+ intentDisplayName?: string | undefined;
5834
5863
  /**
5835
5864
  * <p>A description of the intent. Use the description to help identify
5836
5865
  * the intent in lists.</p>
@@ -5979,6 +6008,11 @@ export interface CreateIntentResponse {
5979
6008
  * @public
5980
6009
  */
5981
6010
  intentName?: string | undefined;
6011
+ /**
6012
+ * <p>The display name specified for the intent.</p>
6013
+ * @public
6014
+ */
6015
+ intentDisplayName?: string | undefined;
5982
6016
  /**
5983
6017
  * <p>The description specified for the intent.</p>
5984
6018
  * @public
@@ -6083,6 +6117,11 @@ export interface DescribeIntentResponse {
6083
6117
  * @public
6084
6118
  */
6085
6119
  intentName?: string | undefined;
6120
+ /**
6121
+ * <p>The display name specified for the intent.</p>
6122
+ * @public
6123
+ */
6124
+ intentDisplayName?: string | undefined;
6086
6125
  /**
6087
6126
  * <p>The description of the intent.</p>
6088
6127
  * @public
@@ -6202,6 +6241,11 @@ export interface UpdateIntentRequest {
6202
6241
  * @public
6203
6242
  */
6204
6243
  intentName: string | undefined;
6244
+ /**
6245
+ * <p>The new display name for the intent.</p>
6246
+ * @public
6247
+ */
6248
+ intentDisplayName?: string | undefined;
6205
6249
  /**
6206
6250
  * <p>The new description of the intent.</p>
6207
6251
  * @public
@@ -6314,6 +6358,11 @@ export interface UpdateIntentResponse {
6314
6358
  * @public
6315
6359
  */
6316
6360
  intentName?: string | undefined;
6361
+ /**
6362
+ * <p>The updated display name of the intent.</p>
6363
+ * @public
6364
+ */
6365
+ intentDisplayName?: string | undefined;
6317
6366
  /**
6318
6367
  * <p>The updated description of the intent.</p>
6319
6368
  * @public
@@ -245,6 +245,7 @@ export declare var IntentClassificationTestResultItemCounts: StaticStructureSche
245
245
  export declare var IntentClassificationTestResults: StaticStructureSchema;
246
246
  export declare var IntentClosingSetting: StaticStructureSchema;
247
247
  export declare var IntentConfirmationSetting: StaticStructureSchema;
248
+ export declare var IntentDisambiguationSettings: StaticStructureSchema;
248
249
  export declare var IntentFilter: StaticStructureSchema;
249
250
  export declare var IntentLevelSlotResolutionTestResultItem: StaticStructureSchema;
250
251
  export declare var IntentLevelSlotResolutionTestResults: StaticStructureSchema;
@@ -277,6 +277,13 @@ export declare const BotLocaleFilterOperator: {
277
277
  };
278
278
  export type BotLocaleFilterOperator =
279
279
  (typeof BotLocaleFilterOperator)[keyof typeof BotLocaleFilterOperator];
280
+ export declare const SpeechDetectionSensitivity: {
281
+ readonly Default: "Default";
282
+ readonly HighNoiseTolerance: "HighNoiseTolerance";
283
+ readonly MaximumNoiseTolerance: "MaximumNoiseTolerance";
284
+ };
285
+ export type SpeechDetectionSensitivity =
286
+ (typeof SpeechDetectionSensitivity)[keyof typeof SpeechDetectionSensitivity];
280
287
  export declare const VoiceEngine: {
281
288
  readonly Generative: "generative";
282
289
  readonly LongForm: "long-form";
@@ -71,6 +71,7 @@ import {
71
71
  SlotResolutionStrategy,
72
72
  SlotValueResolutionStrategy,
73
73
  SortOrder,
74
+ SpeechDetectionSensitivity,
74
75
  TestExecutionApiMode,
75
76
  TestExecutionModality,
76
77
  TestExecutionStatus,
@@ -456,6 +457,7 @@ export interface BotLocaleImportSpecification {
456
457
  localeId: string | undefined;
457
458
  nluIntentConfidenceThreshold?: number | undefined;
458
459
  voiceSettings?: VoiceSettings | undefined;
460
+ speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
459
461
  }
460
462
  export interface BotLocaleSortBy {
461
463
  attribute: BotLocaleSortAttribute | undefined;
@@ -743,9 +745,15 @@ export interface CreateBotAliasResponse {
743
745
  creationDateTime?: Date | undefined;
744
746
  tags?: Record<string, string> | undefined;
745
747
  }
748
+ export interface IntentDisambiguationSettings {
749
+ enabled: boolean | undefined;
750
+ maxDisambiguationIntents?: number | undefined;
751
+ customDisambiguationMessage?: string | undefined;
752
+ }
746
753
  export interface NluImprovementSpecification {
747
754
  enabled: boolean | undefined;
748
755
  assistedNluMode?: AssistedNluMode | undefined;
756
+ intentDisambiguationSettings?: IntentDisambiguationSettings | undefined;
749
757
  }
750
758
  export interface SlotResolutionImprovementSpecification {
751
759
  enabled: boolean | undefined;
@@ -769,6 +777,7 @@ export interface CreateBotLocaleRequest {
769
777
  nluIntentConfidenceThreshold: number | undefined;
770
778
  voiceSettings?: VoiceSettings | undefined;
771
779
  generativeAISettings?: GenerativeAISettings | undefined;
780
+ speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
772
781
  }
773
782
  export interface CreateBotLocaleResponse {
774
783
  botId?: string | undefined;
@@ -781,6 +790,7 @@ export interface CreateBotLocaleResponse {
781
790
  botLocaleStatus?: BotLocaleStatus | undefined;
782
791
  creationDateTime?: Date | undefined;
783
792
  generativeAISettings?: GenerativeAISettings | undefined;
793
+ speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
784
794
  }
785
795
  export interface CreateBotReplicaRequest {
786
796
  botId: string | undefined;
@@ -1264,6 +1274,7 @@ export interface DescribeBotLocaleResponse {
1264
1274
  botLocaleHistoryEvents?: BotLocaleHistoryEvent[] | undefined;
1265
1275
  recommendedActions?: string[] | undefined;
1266
1276
  generativeAISettings?: GenerativeAISettings | undefined;
1277
+ speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
1267
1278
  }
1268
1279
  export interface DescribeBotRecommendationRequest {
1269
1280
  botId: string | undefined;
@@ -1670,12 +1681,10 @@ export interface IntentSortBy {
1670
1681
  export interface IntentSummary {
1671
1682
  intentId?: string | undefined;
1672
1683
  intentName?: string | undefined;
1684
+ intentDisplayName?: string | undefined;
1673
1685
  description?: string | undefined;
1674
1686
  parentIntentSignature?: string | undefined;
1675
1687
  inputContexts?: InputContext[] | undefined;
1676
1688
  outputContexts?: OutputContext[] | undefined;
1677
1689
  lastUpdatedDateTime?: Date | undefined;
1678
1690
  }
1679
- export interface InvokedIntentSample {
1680
- intentName?: string | undefined;
1681
- }
@@ -26,6 +26,7 @@ import {
26
26
  SlotTypeFilterOperator,
27
27
  SlotTypeSortAttribute,
28
28
  SortOrder,
29
+ SpeechDetectionSensitivity,
29
30
  TestExecutionApiMode,
30
31
  TestExecutionModality,
31
32
  TestExecutionSortAttribute,
@@ -122,7 +123,6 @@ import {
122
123
  IntentLevelSlotResolutionTestResults,
123
124
  IntentSortBy,
124
125
  IntentSummary,
125
- InvokedIntentSample,
126
126
  KendraConfiguration,
127
127
  MultipleValuesSetting,
128
128
  ObfuscationSetting,
@@ -148,6 +148,9 @@ import {
148
148
  VoiceSettings,
149
149
  WaitAndContinueSpecification,
150
150
  } from "./models_0";
151
+ export interface InvokedIntentSample {
152
+ intentName?: string | undefined;
153
+ }
151
154
  export interface RelativeAggregationDuration {
152
155
  timeDimension: TimeDimension | undefined;
153
156
  timeValue: number | undefined;
@@ -884,6 +887,7 @@ export interface UpdateBotLocaleRequest {
884
887
  nluIntentConfidenceThreshold: number | undefined;
885
888
  voiceSettings?: VoiceSettings | undefined;
886
889
  generativeAISettings?: GenerativeAISettings | undefined;
890
+ speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
887
891
  }
888
892
  export interface UpdateBotLocaleResponse {
889
893
  botId?: string | undefined;
@@ -899,6 +903,7 @@ export interface UpdateBotLocaleResponse {
899
903
  lastUpdatedDateTime?: Date | undefined;
900
904
  recommendedActions?: string[] | undefined;
901
905
  generativeAISettings?: GenerativeAISettings | undefined;
906
+ speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
902
907
  }
903
908
  export interface UpdateBotRecommendationRequest {
904
909
  botId: string | undefined;
@@ -1258,6 +1263,7 @@ export interface UpdateSlotResponse {
1258
1263
  }
1259
1264
  export interface CreateIntentRequest {
1260
1265
  intentName: string | undefined;
1266
+ intentDisplayName?: string | undefined;
1261
1267
  description?: string | undefined;
1262
1268
  parentIntentSignature?: string | undefined;
1263
1269
  sampleUtterances?: SampleUtterance[] | undefined;
@@ -1278,6 +1284,7 @@ export interface CreateIntentRequest {
1278
1284
  export interface CreateIntentResponse {
1279
1285
  intentId?: string | undefined;
1280
1286
  intentName?: string | undefined;
1287
+ intentDisplayName?: string | undefined;
1281
1288
  description?: string | undefined;
1282
1289
  parentIntentSignature?: string | undefined;
1283
1290
  sampleUtterances?: SampleUtterance[] | undefined;
@@ -1299,6 +1306,7 @@ export interface CreateIntentResponse {
1299
1306
  export interface DescribeIntentResponse {
1300
1307
  intentId?: string | undefined;
1301
1308
  intentName?: string | undefined;
1309
+ intentDisplayName?: string | undefined;
1302
1310
  description?: string | undefined;
1303
1311
  parentIntentSignature?: string | undefined;
1304
1312
  sampleUtterances?: SampleUtterance[] | undefined;
@@ -1322,6 +1330,7 @@ export interface DescribeIntentResponse {
1322
1330
  export interface UpdateIntentRequest {
1323
1331
  intentId: string | undefined;
1324
1332
  intentName: string | undefined;
1333
+ intentDisplayName?: string | undefined;
1325
1334
  description?: string | undefined;
1326
1335
  parentIntentSignature?: string | undefined;
1327
1336
  sampleUtterances?: SampleUtterance[] | undefined;
@@ -1343,6 +1352,7 @@ export interface UpdateIntentRequest {
1343
1352
  export interface UpdateIntentResponse {
1344
1353
  intentId?: string | undefined;
1345
1354
  intentName?: string | undefined;
1355
+ intentDisplayName?: string | undefined;
1346
1356
  description?: string | undefined;
1347
1357
  parentIntentSignature?: string | undefined;
1348
1358
  sampleUtterances?: SampleUtterance[] | undefined;
@@ -252,6 +252,7 @@ export declare var IntentClassificationTestResultItemCounts: StaticStructureSche
252
252
  export declare var IntentClassificationTestResults: StaticStructureSchema;
253
253
  export declare var IntentClosingSetting: StaticStructureSchema;
254
254
  export declare var IntentConfirmationSetting: StaticStructureSchema;
255
+ export declare var IntentDisambiguationSettings: StaticStructureSchema;
255
256
  export declare var IntentFilter: StaticStructureSchema;
256
257
  export declare var IntentLevelSlotResolutionTestResultItem: StaticStructureSchema;
257
258
  export declare var IntentLevelSlotResolutionTestResults: StaticStructureSchema;
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.935.0",
4
+ "version": "3.938.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-lex-models-v2",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.935.0",
24
- "@aws-sdk/credential-provider-node": "3.935.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.935.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.935.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",