@aws-sdk/client-lex-models-v2 3.1138.0 → 3.1139.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/README.md CHANGED
@@ -6,7 +6,55 @@
6
6
 
7
7
  AWS SDK for JavaScript LexModelsV2 Client for Node.js, Browser and React Native.
8
8
 
9
- <p>Amazon Lex Model Building Service provides APIs for creating, managing, and deploying conversational bots and their components.</p>
9
+ <p>This document provides detailed information about the Amazon Lex V2 API actions and their parameters.</p>
10
+ <p>For information about the IAM access control permissions you need to use this API, see
11
+ <a href="https://docs.aws.amazon.com/lexv2/latest/dg/security_iam_service-with-iam.html">Identity-based policies for Amazon Lex V2</a>.</p>
12
+ <p>Amazon Lex V2 Model Building V2 operations let you build and manage bots.</p>
13
+ <p>If you use a custom HTTP client to call Amazon Lex Model Building
14
+ V2 operations, you must set the "Content-Type" HTTP header to
15
+ "application/x-amz-json-1.1". Otherwise, you receive an HTTP 404 -
16
+ UnknownOperationException in the response.</p>
17
+ <p>Amazon Lex Model Building V2 operations return the responses with
18
+ the "application/x-amz-json-1.1" content type.</p>
19
+ <p>You can use <a href="http://aws.amazon.com/tools/#sdk">Amazon Web Services SDKs</a> to access Amazon Lex V2 APIs using your favorite programming language.
20
+ The SDKs automatically perform useful tasks for you, such as:</p>
21
+ <ul>
22
+ <li>
23
+ <p>Cryptographically sign your service requests</p>
24
+ </li>
25
+ <li>
26
+ <p>Retry requests</p>
27
+ </li>
28
+ <li>
29
+ <p>Handle error responses</p>
30
+ </li>
31
+ </ul>
32
+ <p>The following resources provide additional information about the Amazon Lex V2 Model Building API.</p>
33
+ <ul>
34
+ <li>
35
+ <p>
36
+ <i>Amazon Web Services General Reference</i>
37
+ </p>
38
+ <ul>
39
+ <li>
40
+ <p>
41
+ <a href="https://docs.aws.amazon.com/general/latest/gr/lex.html">Amazon Lex V2 Endpoints for each region</a>.</p>
42
+ </li>
43
+ </ul>
44
+ </li>
45
+ <li>
46
+ <p>
47
+ <i>Command Line Interface</i>
48
+ </p>
49
+ <ul>
50
+ <li>
51
+ <p>
52
+ <a href="https://docs.aws.amazon.com/cli/latest/reference/lexv2-models/index.html">
53
+ Amazon Lex Model Building V2 CLI commands</a>.</p>
54
+ </li>
55
+ </ul>
56
+ </li>
57
+ </ul>
10
58
 
11
59
  ## Installing
12
60
 
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1137.0";
72
+ var version = "3.1138.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -783,6 +783,7 @@ const _SBRRtop = "StopBotRecommendationResponse";
783
783
  const _SBRt = "StopBotRecommendation";
784
784
  const _SBTS = "S3BucketTranscriptSource";
785
785
  const _SCS = "SlotCaptureSetting";
786
+ const _SDS = "SpeakerDiarizationSettings";
786
787
  const _SDSB = "SessionDataSortBy";
787
788
  const _SDV = "SlotDefaultValue";
788
789
  const _SDVL = "SlotDefaultValueList";
@@ -1328,6 +1329,7 @@ const _sCl = "slotConstraint";
1328
1329
  const _sD = "startDate";
1329
1330
  const _sDIM = "startDelayInMilliseconds";
1330
1331
  const _sDS = "speechDetectionSensitivity";
1332
+ const _sDSp = "speakerDiarizationSettings";
1331
1333
  const _sDT = "startDateTime";
1332
1334
  const _sDl = "slotDiscrepancies";
1333
1335
  const _sFIS = "slotsFilledInSession";
@@ -1862,8 +1864,8 @@ var BotLocaleHistoryEvent$ = [3, n0, _BLHE,
1862
1864
  ];
1863
1865
  var BotLocaleImportSpecification$ = [3, n0, _BLIS,
1864
1866
  0,
1865
- [_bI, _bV, _lI, _nICT, _vS, _sRS, _sDS, _uSS, _aFS],
1866
- [0, 0, 0, 1, () => VoiceSettings$, () => SpeechRecognitionSettings$, 0, () => UnifiedSpeechSettings$, () => AudioFillerSettings$], 3
1867
+ [_bI, _bV, _lI, _nICT, _vS, _sRS, _sDS, _uSS, _aFS, _sDSp],
1868
+ [0, 0, 0, 1, () => VoiceSettings$, () => SpeechRecognitionSettings$, 0, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeakerDiarizationSettings$], 3
1867
1869
  ];
1868
1870
  var BotLocaleSortBy$ = [3, n0, _BLSB,
1869
1871
  0,
@@ -2062,13 +2064,13 @@ var CreateBotAliasResponse$ = [3, n0, _CBARr,
2062
2064
  ];
2063
2065
  var CreateBotLocaleRequest$ = [3, n0, _CBLR,
2064
2066
  0,
2065
- [_bI, _bV, _lI, _nICT, _de, _vS, _uSS, _aFS, _sRS, _gAIS, _sDS],
2066
- [[0, 1], [0, 1], 0, 1, 0, () => VoiceSettings$, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeechRecognitionSettings$, () => GenerativeAISettings$, 0], 4
2067
+ [_bI, _bV, _lI, _nICT, _de, _vS, _uSS, _aFS, _sRS, _gAIS, _sDS, _sDSp],
2068
+ [[0, 1], [0, 1], 0, 1, 0, () => VoiceSettings$, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeechRecognitionSettings$, () => GenerativeAISettings$, 0, () => SpeakerDiarizationSettings$], 4
2067
2069
  ];
2068
2070
  var CreateBotLocaleResponse$ = [3, n0, _CBLRr,
2069
2071
  0,
2070
- [_bI, _bV, _lN, _lI, _de, _nICT, _vS, _uSS, _aFS, _sRS, _bLS, _cDT, _gAIS, _sDS],
2071
- [0, 0, 0, 0, 0, 1, () => VoiceSettings$, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeechRecognitionSettings$, 0, 4, () => GenerativeAISettings$, 0]
2072
+ [_bI, _bV, _lN, _lI, _de, _nICT, _vS, _uSS, _aFS, _sRS, _bLS, _cDT, _gAIS, _sDS, _sDSp],
2073
+ [0, 0, 0, 0, 0, 1, () => VoiceSettings$, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeechRecognitionSettings$, 0, 4, () => GenerativeAISettings$, 0, () => SpeakerDiarizationSettings$]
2072
2074
  ];
2073
2075
  var CreateBotReplicaRequest$ = [3, n0, _CBRR,
2074
2076
  0,
@@ -2397,8 +2399,8 @@ var DescribeBotLocaleRequest$ = [3, n0, _DBLRes,
2397
2399
  ];
2398
2400
  var DescribeBotLocaleResponse$ = [3, n0, _DBLResc,
2399
2401
  0,
2400
- [_bI, _bV, _lI, _lN, _de, _nICT, _vS, _uSS, _aFS, _sRS, _iCnt, _sTC, _bLS, _fR, _cDT, _lUDT, _lBSDT, _bLHE, _rAec, _gAIS, _sDS],
2401
- [0, 0, 0, 0, 0, 1, () => VoiceSettings$, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeechRecognitionSettings$, 1, 1, 0, 64 | 0, 4, 4, 4, () => BotLocaleHistoryEventsList, 64 | 0, () => GenerativeAISettings$, 0]
2402
+ [_bI, _bV, _lI, _lN, _de, _nICT, _vS, _uSS, _aFS, _sRS, _iCnt, _sTC, _bLS, _fR, _cDT, _lUDT, _lBSDT, _bLHE, _rAec, _gAIS, _sDS, _sDSp],
2403
+ [0, 0, 0, 0, 0, 1, () => VoiceSettings$, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeechRecognitionSettings$, 1, 1, 0, 64 | 0, 4, 4, 4, () => BotLocaleHistoryEventsList, 64 | 0, () => GenerativeAISettings$, 0, () => SpeakerDiarizationSettings$]
2402
2404
  ];
2403
2405
  var DescribeBotRecommendationRequest$ = [3, n0, _DBRRes,
2404
2406
  0,
@@ -3460,6 +3462,11 @@ var SlotValueSelectionSetting$ = [3, n0, _SVSS,
3460
3462
  [_rSe, _rF, _aRSd],
3461
3463
  [0, () => SlotValueRegexFilter$, () => AdvancedRecognitionSetting$], 1
3462
3464
  ];
3465
+ var SpeakerDiarizationSettings$ = [3, n0, _SDS,
3466
+ 0,
3467
+ [_en],
3468
+ [2], 1
3469
+ ];
3463
3470
  var Specifications$ = [3, n0, _S,
3464
3471
  0,
3465
3472
  [_sTI, _vES],
@@ -3747,13 +3754,13 @@ var UpdateBotAliasResponse$ = [3, n0, _UBARp,
3747
3754
  ];
3748
3755
  var UpdateBotLocaleRequest$ = [3, n0, _UBLR,
3749
3756
  0,
3750
- [_bI, _bV, _lI, _nICT, _de, _vS, _uSS, _aFS, _sRS, _gAIS, _sDS],
3751
- [[0, 1], [0, 1], [0, 1], 1, 0, () => VoiceSettings$, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeechRecognitionSettings$, () => GenerativeAISettings$, 0], 4
3757
+ [_bI, _bV, _lI, _nICT, _de, _vS, _uSS, _aFS, _sRS, _gAIS, _sDS, _sDSp],
3758
+ [[0, 1], [0, 1], [0, 1], 1, 0, () => VoiceSettings$, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeechRecognitionSettings$, () => GenerativeAISettings$, 0, () => SpeakerDiarizationSettings$], 4
3752
3759
  ];
3753
3760
  var UpdateBotLocaleResponse$ = [3, n0, _UBLRp,
3754
3761
  0,
3755
- [_bI, _bV, _lI, _lN, _de, _nICT, _vS, _uSS, _aFS, _sRS, _bLS, _fR, _cDT, _lUDT, _rAec, _gAIS, _sDS],
3756
- [0, 0, 0, 0, 0, 1, () => VoiceSettings$, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeechRecognitionSettings$, 0, 64 | 0, 4, 4, 64 | 0, () => GenerativeAISettings$, 0]
3762
+ [_bI, _bV, _lI, _lN, _de, _nICT, _vS, _uSS, _aFS, _sRS, _bLS, _fR, _cDT, _lUDT, _rAec, _gAIS, _sDS, _sDSp],
3763
+ [0, 0, 0, 0, 0, 1, () => VoiceSettings$, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeechRecognitionSettings$, 0, 64 | 0, 4, 4, 64 | 0, () => GenerativeAISettings$, 0, () => SpeakerDiarizationSettings$]
3757
3764
  ];
3758
3765
  var UpdateBotRecommendationRequest$ = [3, n0, _UBRR,
3759
3766
  0,
@@ -5940,6 +5947,7 @@ const SpeechDetectionSensitivity = {
5940
5947
  MaximumNoiseTolerance: "MaximumNoiseTolerance",
5941
5948
  };
5942
5949
  const SpeechModelPreference = {
5950
+ Advanced: "Advanced",
5943
5951
  Deepgram: "Deepgram",
5944
5952
  Neural: "Neural",
5945
5953
  Standard: "Standard",
@@ -6931,6 +6939,7 @@ exports.SlotValueRegexFilter$ = SlotValueRegexFilter$;
6931
6939
  exports.SlotValueResolutionStrategy = SlotValueResolutionStrategy;
6932
6940
  exports.SlotValueSelectionSetting$ = SlotValueSelectionSetting$;
6933
6941
  exports.SortOrder = SortOrder;
6942
+ exports.SpeakerDiarizationSettings$ = SpeakerDiarizationSettings$;
6934
6943
  exports.Specifications$ = Specifications$;
6935
6944
  exports.SpeechDetectionSensitivity = SpeechDetectionSensitivity;
6936
6945
  exports.SpeechFoundationModel$ = SpeechFoundationModel$;
@@ -234,6 +234,7 @@ export const SpeechDetectionSensitivity = {
234
234
  MaximumNoiseTolerance: "MaximumNoiseTolerance",
235
235
  };
236
236
  export const SpeechModelPreference = {
237
+ Advanced: "Advanced",
237
238
  Deepgram: "Deepgram",
238
239
  Neural: "Neural",
239
240
  Standard: "Standard",
@@ -556,6 +556,7 @@ const _SBRRtop = "StopBotRecommendationResponse";
556
556
  const _SBRt = "StopBotRecommendation";
557
557
  const _SBTS = "S3BucketTranscriptSource";
558
558
  const _SCS = "SlotCaptureSetting";
559
+ const _SDS = "SpeakerDiarizationSettings";
559
560
  const _SDSB = "SessionDataSortBy";
560
561
  const _SDV = "SlotDefaultValue";
561
562
  const _SDVL = "SlotDefaultValueList";
@@ -1101,6 +1102,7 @@ const _sCl = "slotConstraint";
1101
1102
  const _sD = "startDate";
1102
1103
  const _sDIM = "startDelayInMilliseconds";
1103
1104
  const _sDS = "speechDetectionSensitivity";
1105
+ const _sDSp = "speakerDiarizationSettings";
1104
1106
  const _sDT = "startDateTime";
1105
1107
  const _sDl = "slotDiscrepancies";
1106
1108
  const _sFIS = "slotsFilledInSession";
@@ -1638,8 +1640,8 @@ export var BotLocaleHistoryEvent$ = [3, n0, _BLHE,
1638
1640
  ];
1639
1641
  export var BotLocaleImportSpecification$ = [3, n0, _BLIS,
1640
1642
  0,
1641
- [_bI, _bV, _lI, _nICT, _vS, _sRS, _sDS, _uSS, _aFS],
1642
- [0, 0, 0, 1, () => VoiceSettings$, () => SpeechRecognitionSettings$, 0, () => UnifiedSpeechSettings$, () => AudioFillerSettings$], 3
1643
+ [_bI, _bV, _lI, _nICT, _vS, _sRS, _sDS, _uSS, _aFS, _sDSp],
1644
+ [0, 0, 0, 1, () => VoiceSettings$, () => SpeechRecognitionSettings$, 0, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeakerDiarizationSettings$], 3
1643
1645
  ];
1644
1646
  export var BotLocaleSortBy$ = [3, n0, _BLSB,
1645
1647
  0,
@@ -1838,13 +1840,13 @@ export var CreateBotAliasResponse$ = [3, n0, _CBARr,
1838
1840
  ];
1839
1841
  export var CreateBotLocaleRequest$ = [3, n0, _CBLR,
1840
1842
  0,
1841
- [_bI, _bV, _lI, _nICT, _de, _vS, _uSS, _aFS, _sRS, _gAIS, _sDS],
1842
- [[0, 1], [0, 1], 0, 1, 0, () => VoiceSettings$, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeechRecognitionSettings$, () => GenerativeAISettings$, 0], 4
1843
+ [_bI, _bV, _lI, _nICT, _de, _vS, _uSS, _aFS, _sRS, _gAIS, _sDS, _sDSp],
1844
+ [[0, 1], [0, 1], 0, 1, 0, () => VoiceSettings$, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeechRecognitionSettings$, () => GenerativeAISettings$, 0, () => SpeakerDiarizationSettings$], 4
1843
1845
  ];
1844
1846
  export var CreateBotLocaleResponse$ = [3, n0, _CBLRr,
1845
1847
  0,
1846
- [_bI, _bV, _lN, _lI, _de, _nICT, _vS, _uSS, _aFS, _sRS, _bLS, _cDT, _gAIS, _sDS],
1847
- [0, 0, 0, 0, 0, 1, () => VoiceSettings$, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeechRecognitionSettings$, 0, 4, () => GenerativeAISettings$, 0]
1848
+ [_bI, _bV, _lN, _lI, _de, _nICT, _vS, _uSS, _aFS, _sRS, _bLS, _cDT, _gAIS, _sDS, _sDSp],
1849
+ [0, 0, 0, 0, 0, 1, () => VoiceSettings$, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeechRecognitionSettings$, 0, 4, () => GenerativeAISettings$, 0, () => SpeakerDiarizationSettings$]
1848
1850
  ];
1849
1851
  export var CreateBotReplicaRequest$ = [3, n0, _CBRR,
1850
1852
  0,
@@ -2173,8 +2175,8 @@ export var DescribeBotLocaleRequest$ = [3, n0, _DBLRes,
2173
2175
  ];
2174
2176
  export var DescribeBotLocaleResponse$ = [3, n0, _DBLResc,
2175
2177
  0,
2176
- [_bI, _bV, _lI, _lN, _de, _nICT, _vS, _uSS, _aFS, _sRS, _iCnt, _sTC, _bLS, _fR, _cDT, _lUDT, _lBSDT, _bLHE, _rAec, _gAIS, _sDS],
2177
- [0, 0, 0, 0, 0, 1, () => VoiceSettings$, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeechRecognitionSettings$, 1, 1, 0, 64 | 0, 4, 4, 4, () => BotLocaleHistoryEventsList, 64 | 0, () => GenerativeAISettings$, 0]
2178
+ [_bI, _bV, _lI, _lN, _de, _nICT, _vS, _uSS, _aFS, _sRS, _iCnt, _sTC, _bLS, _fR, _cDT, _lUDT, _lBSDT, _bLHE, _rAec, _gAIS, _sDS, _sDSp],
2179
+ [0, 0, 0, 0, 0, 1, () => VoiceSettings$, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeechRecognitionSettings$, 1, 1, 0, 64 | 0, 4, 4, 4, () => BotLocaleHistoryEventsList, 64 | 0, () => GenerativeAISettings$, 0, () => SpeakerDiarizationSettings$]
2178
2180
  ];
2179
2181
  export var DescribeBotRecommendationRequest$ = [3, n0, _DBRRes,
2180
2182
  0,
@@ -3236,6 +3238,11 @@ export var SlotValueSelectionSetting$ = [3, n0, _SVSS,
3236
3238
  [_rSe, _rF, _aRSd],
3237
3239
  [0, () => SlotValueRegexFilter$, () => AdvancedRecognitionSetting$], 1
3238
3240
  ];
3241
+ export var SpeakerDiarizationSettings$ = [3, n0, _SDS,
3242
+ 0,
3243
+ [_en],
3244
+ [2], 1
3245
+ ];
3239
3246
  export var Specifications$ = [3, n0, _S,
3240
3247
  0,
3241
3248
  [_sTI, _vES],
@@ -3523,13 +3530,13 @@ export var UpdateBotAliasResponse$ = [3, n0, _UBARp,
3523
3530
  ];
3524
3531
  export var UpdateBotLocaleRequest$ = [3, n0, _UBLR,
3525
3532
  0,
3526
- [_bI, _bV, _lI, _nICT, _de, _vS, _uSS, _aFS, _sRS, _gAIS, _sDS],
3527
- [[0, 1], [0, 1], [0, 1], 1, 0, () => VoiceSettings$, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeechRecognitionSettings$, () => GenerativeAISettings$, 0], 4
3533
+ [_bI, _bV, _lI, _nICT, _de, _vS, _uSS, _aFS, _sRS, _gAIS, _sDS, _sDSp],
3534
+ [[0, 1], [0, 1], [0, 1], 1, 0, () => VoiceSettings$, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeechRecognitionSettings$, () => GenerativeAISettings$, 0, () => SpeakerDiarizationSettings$], 4
3528
3535
  ];
3529
3536
  export var UpdateBotLocaleResponse$ = [3, n0, _UBLRp,
3530
3537
  0,
3531
- [_bI, _bV, _lI, _lN, _de, _nICT, _vS, _uSS, _aFS, _sRS, _bLS, _fR, _cDT, _lUDT, _rAec, _gAIS, _sDS],
3532
- [0, 0, 0, 0, 0, 1, () => VoiceSettings$, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeechRecognitionSettings$, 0, 64 | 0, 4, 4, 64 | 0, () => GenerativeAISettings$, 0]
3538
+ [_bI, _bV, _lI, _lN, _de, _nICT, _vS, _uSS, _aFS, _sRS, _bLS, _fR, _cDT, _lUDT, _rAec, _gAIS, _sDS, _sDSp],
3539
+ [0, 0, 0, 0, 0, 1, () => VoiceSettings$, () => UnifiedSpeechSettings$, () => AudioFillerSettings$, () => SpeechRecognitionSettings$, 0, 64 | 0, 4, 4, 64 | 0, () => GenerativeAISettings$, 0, () => SpeakerDiarizationSettings$]
3533
3540
  ];
3534
3541
  export var UpdateBotRecommendationRequest$ = [3, n0, _UBRR,
3535
3542
  0,
@@ -1023,7 +1023,55 @@ export interface LexModelsV2 {
1023
1023
  waitUntilBotImportCompleted(args: DescribeImportCommandInput, waiterConfig: number | Omit<WaiterConfiguration<LexModelsV2>, "client">): Promise<WaiterResult<DescribeImportCommandOutput>>;
1024
1024
  }
1025
1025
  /**
1026
- * <p>Amazon Lex Model Building Service provides APIs for creating, managing, and deploying conversational bots and their components.</p>
1026
+ * <p>This document provides detailed information about the Amazon Lex V2 API actions and their parameters.</p>
1027
+ * <p>For information about the IAM access control permissions you need to use this API, see
1028
+ * <a href="https://docs.aws.amazon.com/lexv2/latest/dg/security_iam_service-with-iam.html">Identity-based policies for Amazon Lex V2</a>.</p>
1029
+ * <p>Amazon Lex V2 Model Building V2 operations let you build and manage bots.</p>
1030
+ * <p>If you use a custom HTTP client to call Amazon Lex Model Building
1031
+ * V2 operations, you must set the "Content-Type" HTTP header to
1032
+ * "application/x-amz-json-1.1". Otherwise, you receive an HTTP 404 -
1033
+ * UnknownOperationException in the response.</p>
1034
+ * <p>Amazon Lex Model Building V2 operations return the responses with
1035
+ * the "application/x-amz-json-1.1" content type.</p>
1036
+ * <p>You can use <a href="http://aws.amazon.com/tools/#sdk">Amazon Web Services SDKs</a> to access Amazon Lex V2 APIs using your favorite programming language.
1037
+ * The SDKs automatically perform useful tasks for you, such as:</p>
1038
+ * <ul>
1039
+ * <li>
1040
+ * <p>Cryptographically sign your service requests</p>
1041
+ * </li>
1042
+ * <li>
1043
+ * <p>Retry requests</p>
1044
+ * </li>
1045
+ * <li>
1046
+ * <p>Handle error responses</p>
1047
+ * </li>
1048
+ * </ul>
1049
+ * <p>The following resources provide additional information about the Amazon Lex V2 Model Building API.</p>
1050
+ * <ul>
1051
+ * <li>
1052
+ * <p>
1053
+ * <i>Amazon Web Services General Reference</i>
1054
+ * </p>
1055
+ * <ul>
1056
+ * <li>
1057
+ * <p>
1058
+ * <a href="https://docs.aws.amazon.com/general/latest/gr/lex.html">Amazon Lex V2 Endpoints for each region</a>.</p>
1059
+ * </li>
1060
+ * </ul>
1061
+ * </li>
1062
+ * <li>
1063
+ * <p>
1064
+ * <i>Command Line Interface</i>
1065
+ * </p>
1066
+ * <ul>
1067
+ * <li>
1068
+ * <p>
1069
+ * <a href="https://docs.aws.amazon.com/cli/latest/reference/lexv2-models/index.html">
1070
+ * Amazon Lex Model Building V2 CLI commands</a>.</p>
1071
+ * </li>
1072
+ * </ul>
1073
+ * </li>
1074
+ * </ul>
1027
1075
  * @public
1028
1076
  */
1029
1077
  export declare class LexModelsV2 extends LexModelsV2Client implements LexModelsV2 {
@@ -275,7 +275,55 @@ export type LexModelsV2ClientResolvedConfigType = __SmithyResolvedConfiguration<
275
275
  export interface LexModelsV2ClientResolvedConfig extends LexModelsV2ClientResolvedConfigType {
276
276
  }
277
277
  /**
278
- * <p>Amazon Lex Model Building Service provides APIs for creating, managing, and deploying conversational bots and their components.</p>
278
+ * <p>This document provides detailed information about the Amazon Lex V2 API actions and their parameters.</p>
279
+ * <p>For information about the IAM access control permissions you need to use this API, see
280
+ * <a href="https://docs.aws.amazon.com/lexv2/latest/dg/security_iam_service-with-iam.html">Identity-based policies for Amazon Lex V2</a>.</p>
281
+ * <p>Amazon Lex V2 Model Building V2 operations let you build and manage bots.</p>
282
+ * <p>If you use a custom HTTP client to call Amazon Lex Model Building
283
+ * V2 operations, you must set the "Content-Type" HTTP header to
284
+ * "application/x-amz-json-1.1". Otherwise, you receive an HTTP 404 -
285
+ * UnknownOperationException in the response.</p>
286
+ * <p>Amazon Lex Model Building V2 operations return the responses with
287
+ * the "application/x-amz-json-1.1" content type.</p>
288
+ * <p>You can use <a href="http://aws.amazon.com/tools/#sdk">Amazon Web Services SDKs</a> to access Amazon Lex V2 APIs using your favorite programming language.
289
+ * The SDKs automatically perform useful tasks for you, such as:</p>
290
+ * <ul>
291
+ * <li>
292
+ * <p>Cryptographically sign your service requests</p>
293
+ * </li>
294
+ * <li>
295
+ * <p>Retry requests</p>
296
+ * </li>
297
+ * <li>
298
+ * <p>Handle error responses</p>
299
+ * </li>
300
+ * </ul>
301
+ * <p>The following resources provide additional information about the Amazon Lex V2 Model Building API.</p>
302
+ * <ul>
303
+ * <li>
304
+ * <p>
305
+ * <i>Amazon Web Services General Reference</i>
306
+ * </p>
307
+ * <ul>
308
+ * <li>
309
+ * <p>
310
+ * <a href="https://docs.aws.amazon.com/general/latest/gr/lex.html">Amazon Lex V2 Endpoints for each region</a>.</p>
311
+ * </li>
312
+ * </ul>
313
+ * </li>
314
+ * <li>
315
+ * <p>
316
+ * <i>Command Line Interface</i>
317
+ * </p>
318
+ * <ul>
319
+ * <li>
320
+ * <p>
321
+ * <a href="https://docs.aws.amazon.com/cli/latest/reference/lexv2-models/index.html">
322
+ * Amazon Lex Model Building V2 CLI commands</a>.</p>
323
+ * </li>
324
+ * </ul>
325
+ * </li>
326
+ * </ul>
279
327
  * @public
280
328
  */
281
329
  export declare class LexModelsV2Client extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, LexModelsV2ClientResolvedConfig> {
@@ -60,7 +60,7 @@ declare const CreateBotLocaleCommand_base: {
60
60
  * responseDeliveryDelayInMilliseconds: Number("int"),
61
61
  * },
62
62
  * speechRecognitionSettings: { // SpeechRecognitionSettings
63
- * speechModelPreference: "Standard" || "Neural" || "Deepgram",
63
+ * speechModelPreference: "Standard" || "Neural" || "Deepgram" || "Advanced",
64
64
  * speechModelConfig: { // SpeechModelConfig
65
65
  * deepgramConfig: { // DeepgramSpeechModelConfig
66
66
  * apiTokenSecretArn: "STRING_VALUE", // required
@@ -120,6 +120,9 @@ declare const CreateBotLocaleCommand_base: {
120
120
  * },
121
121
  * },
122
122
  * speechDetectionSensitivity: "Default" || "HighNoiseTolerance" || "MaximumNoiseTolerance",
123
+ * speakerDiarizationSettings: { // SpeakerDiarizationSettings
124
+ * enabled: true || false, // required
125
+ * },
123
126
  * };
124
127
  * const command = new CreateBotLocaleCommand(input);
125
128
  * const response = await client.send(command);
@@ -148,7 +151,7 @@ declare const CreateBotLocaleCommand_base: {
148
151
  * // responseDeliveryDelayInMilliseconds: Number("int"),
149
152
  * // },
150
153
  * // speechRecognitionSettings: { // SpeechRecognitionSettings
151
- * // speechModelPreference: "Standard" || "Neural" || "Deepgram",
154
+ * // speechModelPreference: "Standard" || "Neural" || "Deepgram" || "Advanced",
152
155
  * // speechModelConfig: { // SpeechModelConfig
153
156
  * // deepgramConfig: { // DeepgramSpeechModelConfig
154
157
  * // apiTokenSecretArn: "STRING_VALUE", // required
@@ -210,6 +213,9 @@ declare const CreateBotLocaleCommand_base: {
210
213
  * // },
211
214
  * // },
212
215
  * // speechDetectionSensitivity: "Default" || "HighNoiseTolerance" || "MaximumNoiseTolerance",
216
+ * // speakerDiarizationSettings: { // SpeakerDiarizationSettings
217
+ * // enabled: true || false, // required
218
+ * // },
213
219
  * // };
214
220
  *
215
221
  * ```
@@ -65,7 +65,7 @@ declare const DescribeBotLocaleCommand_base: {
65
65
  * // responseDeliveryDelayInMilliseconds: Number("int"),
66
66
  * // },
67
67
  * // speechRecognitionSettings: { // SpeechRecognitionSettings
68
- * // speechModelPreference: "Standard" || "Neural" || "Deepgram",
68
+ * // speechModelPreference: "Standard" || "Neural" || "Deepgram" || "Advanced",
69
69
  * // speechModelConfig: { // SpeechModelConfig
70
70
  * // deepgramConfig: { // DeepgramSpeechModelConfig
71
71
  * // apiTokenSecretArn: "STRING_VALUE", // required
@@ -143,6 +143,9 @@ declare const DescribeBotLocaleCommand_base: {
143
143
  * // },
144
144
  * // },
145
145
  * // speechDetectionSensitivity: "Default" || "HighNoiseTolerance" || "MaximumNoiseTolerance",
146
+ * // speakerDiarizationSettings: { // SpeakerDiarizationSettings
147
+ * // enabled: true || false, // required
148
+ * // },
146
149
  * // };
147
150
  *
148
151
  * ```
@@ -68,7 +68,7 @@ declare const DescribeImportCommand_base: {
68
68
  * // voiceId: "STRING_VALUE", // required
69
69
  * // },
70
70
  * // speechRecognitionSettings: { // SpeechRecognitionSettings
71
- * // speechModelPreference: "Standard" || "Neural" || "Deepgram",
71
+ * // speechModelPreference: "Standard" || "Neural" || "Deepgram" || "Advanced",
72
72
  * // speechModelConfig: { // SpeechModelConfig
73
73
  * // deepgramConfig: { // DeepgramSpeechModelConfig
74
74
  * // apiTokenSecretArn: "STRING_VALUE", // required
@@ -90,6 +90,9 @@ declare const DescribeImportCommand_base: {
90
90
  * // minimumPlayDurationInMilliseconds: Number("int"),
91
91
  * // responseDeliveryDelayInMilliseconds: Number("int"),
92
92
  * // },
93
+ * // speakerDiarizationSettings: { // SpeakerDiarizationSettings
94
+ * // enabled: true || false, // required
95
+ * // },
93
96
  * // },
94
97
  * // customVocabularyImportSpecification: { // CustomVocabularyImportSpecification
95
98
  * // botId: "STRING_VALUE", // required
@@ -64,7 +64,7 @@ declare const StartImportCommand_base: {
64
64
  * voiceId: "STRING_VALUE", // required
65
65
  * },
66
66
  * speechRecognitionSettings: { // SpeechRecognitionSettings
67
- * speechModelPreference: "Standard" || "Neural" || "Deepgram",
67
+ * speechModelPreference: "Standard" || "Neural" || "Deepgram" || "Advanced",
68
68
  * speechModelConfig: { // SpeechModelConfig
69
69
  * deepgramConfig: { // DeepgramSpeechModelConfig
70
70
  * apiTokenSecretArn: "STRING_VALUE", // required
@@ -86,6 +86,9 @@ declare const StartImportCommand_base: {
86
86
  * minimumPlayDurationInMilliseconds: Number("int"),
87
87
  * responseDeliveryDelayInMilliseconds: Number("int"),
88
88
  * },
89
+ * speakerDiarizationSettings: { // SpeakerDiarizationSettings
90
+ * enabled: true || false, // required
91
+ * },
89
92
  * },
90
93
  * customVocabularyImportSpecification: { // CustomVocabularyImportSpecification
91
94
  * botId: "STRING_VALUE", // required
@@ -146,7 +149,7 @@ declare const StartImportCommand_base: {
146
149
  * // voiceId: "STRING_VALUE", // required
147
150
  * // },
148
151
  * // speechRecognitionSettings: { // SpeechRecognitionSettings
149
- * // speechModelPreference: "Standard" || "Neural" || "Deepgram",
152
+ * // speechModelPreference: "Standard" || "Neural" || "Deepgram" || "Advanced",
150
153
  * // speechModelConfig: { // SpeechModelConfig
151
154
  * // deepgramConfig: { // DeepgramSpeechModelConfig
152
155
  * // apiTokenSecretArn: "STRING_VALUE", // required
@@ -168,6 +171,9 @@ declare const StartImportCommand_base: {
168
171
  * // minimumPlayDurationInMilliseconds: Number("int"),
169
172
  * // responseDeliveryDelayInMilliseconds: Number("int"),
170
173
  * // },
174
+ * // speakerDiarizationSettings: { // SpeakerDiarizationSettings
175
+ * // enabled: true || false, // required
176
+ * // },
171
177
  * // },
172
178
  * // customVocabularyImportSpecification: { // CustomVocabularyImportSpecification
173
179
  * // botId: "STRING_VALUE", // required
@@ -57,7 +57,7 @@ declare const UpdateBotLocaleCommand_base: {
57
57
  * responseDeliveryDelayInMilliseconds: Number("int"),
58
58
  * },
59
59
  * speechRecognitionSettings: { // SpeechRecognitionSettings
60
- * speechModelPreference: "Standard" || "Neural" || "Deepgram",
60
+ * speechModelPreference: "Standard" || "Neural" || "Deepgram" || "Advanced",
61
61
  * speechModelConfig: { // SpeechModelConfig
62
62
  * deepgramConfig: { // DeepgramSpeechModelConfig
63
63
  * apiTokenSecretArn: "STRING_VALUE", // required
@@ -117,6 +117,9 @@ declare const UpdateBotLocaleCommand_base: {
117
117
  * },
118
118
  * },
119
119
  * speechDetectionSensitivity: "Default" || "HighNoiseTolerance" || "MaximumNoiseTolerance",
120
+ * speakerDiarizationSettings: { // SpeakerDiarizationSettings
121
+ * enabled: true || false, // required
122
+ * },
120
123
  * };
121
124
  * const command = new UpdateBotLocaleCommand(input);
122
125
  * const response = await client.send(command);
@@ -145,7 +148,7 @@ declare const UpdateBotLocaleCommand_base: {
145
148
  * // responseDeliveryDelayInMilliseconds: Number("int"),
146
149
  * // },
147
150
  * // speechRecognitionSettings: { // SpeechRecognitionSettings
148
- * // speechModelPreference: "Standard" || "Neural" || "Deepgram",
151
+ * // speechModelPreference: "Standard" || "Neural" || "Deepgram" || "Advanced",
149
152
  * // speechModelConfig: { // SpeechModelConfig
150
153
  * // deepgramConfig: { // DeepgramSpeechModelConfig
151
154
  * // apiTokenSecretArn: "STRING_VALUE", // required
@@ -214,6 +217,9 @@ declare const UpdateBotLocaleCommand_base: {
214
217
  * // },
215
218
  * // },
216
219
  * // speechDetectionSensitivity: "Default" || "HighNoiseTolerance" || "MaximumNoiseTolerance",
220
+ * // speakerDiarizationSettings: { // SpeakerDiarizationSettings
221
+ * // enabled: true || false, // required
222
+ * // },
217
223
  * // };
218
224
  *
219
225
  * ```
@@ -1,5 +1,53 @@
1
1
  /**
2
- * <p>Amazon Lex Model Building Service provides APIs for creating, managing, and deploying conversational bots and their components.</p>
2
+ * <p>This document provides detailed information about the Amazon Lex V2 API actions and their parameters.</p>
3
+ * <p>For information about the IAM access control permissions you need to use this API, see
4
+ * <a href="https://docs.aws.amazon.com/lexv2/latest/dg/security_iam_service-with-iam.html">Identity-based policies for Amazon Lex V2</a>.</p>
5
+ * <p>Amazon Lex V2 Model Building V2 operations let you build and manage bots.</p>
6
+ * <p>If you use a custom HTTP client to call Amazon Lex Model Building
7
+ * V2 operations, you must set the "Content-Type" HTTP header to
8
+ * "application/x-amz-json-1.1". Otherwise, you receive an HTTP 404 -
9
+ * UnknownOperationException in the response.</p>
10
+ * <p>Amazon Lex Model Building V2 operations return the responses with
11
+ * the "application/x-amz-json-1.1" content type.</p>
12
+ * <p>You can use <a href="http://aws.amazon.com/tools/#sdk">Amazon Web Services SDKs</a> to access Amazon Lex V2 APIs using your favorite programming language.
13
+ * The SDKs automatically perform useful tasks for you, such as:</p>
14
+ * <ul>
15
+ * <li>
16
+ * <p>Cryptographically sign your service requests</p>
17
+ * </li>
18
+ * <li>
19
+ * <p>Retry requests</p>
20
+ * </li>
21
+ * <li>
22
+ * <p>Handle error responses</p>
23
+ * </li>
24
+ * </ul>
25
+ * <p>The following resources provide additional information about the Amazon Lex V2 Model Building API.</p>
26
+ * <ul>
27
+ * <li>
28
+ * <p>
29
+ * <i>Amazon Web Services General Reference</i>
30
+ * </p>
31
+ * <ul>
32
+ * <li>
33
+ * <p>
34
+ * <a href="https://docs.aws.amazon.com/general/latest/gr/lex.html">Amazon Lex V2 Endpoints for each region</a>.</p>
35
+ * </li>
36
+ * </ul>
37
+ * </li>
38
+ * <li>
39
+ * <p>
40
+ * <i>Command Line Interface</i>
41
+ * </p>
42
+ * <ul>
43
+ * <li>
44
+ * <p>
45
+ * <a href="https://docs.aws.amazon.com/cli/latest/reference/lexv2-models/index.html">
46
+ * Amazon Lex Model Building V2 CLI commands</a>.</p>
47
+ * </li>
48
+ * </ul>
49
+ * </li>
50
+ * </ul>
3
51
  *
4
52
  * @packageDocumentation
5
53
  */
@@ -582,6 +582,7 @@ export type SpeechDetectionSensitivity = (typeof SpeechDetectionSensitivity)[key
582
582
  * @enum
583
583
  */
584
584
  export declare const SpeechModelPreference: {
585
+ readonly Advanced: "Advanced";
585
586
  readonly Deepgram: "Deepgram";
586
587
  readonly Neural: "Neural";
587
588
  readonly Standard: "Standard";
@@ -1,4 +1,4 @@
1
- import type { 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, AudioFillerType, AudioRecognitionStrategy, BedrockTraceStatus, BotAliasReplicationStatus, BotAliasStatus, BotAnalyzerStatus, 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, ImportStatus, MergeStrategy, MessageSelectionStrategy, ObfuscationSettingType, Priority, PromptAttempt, SlotResolutionStrategy, SlotValueResolutionStrategy, SortOrder, SpeechDetectionSensitivity, SpeechModelPreference, TestExecutionApiMode, TestExecutionModality, TestExecutionStatus, TestResultMatchStatus, TestSetDiscrepancyReportStatus, TestSetGenerationStatus, TestSetModality, TestSetStatus, TranscriptFormat, VoiceEngine } from "./enums";
1
+ import type { 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, AudioFillerType, AudioRecognitionStrategy, BedrockTraceStatus, BotAliasReplicationStatus, BotAliasStatus, BotAnalyzerStatus, 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, ImportStatus, MergeStrategy, MessageSelectionStrategy, ObfuscationSettingType, Priority, PromptAttempt, SlotResolutionStrategy, SlotValueResolutionStrategy, SortOrder, SpeechDetectionSensitivity, SpeechModelPreference, 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
@@ -2773,6 +2773,24 @@ export interface BotLocaleHistoryEvent {
2773
2773
  */
2774
2774
  eventDate: Date | undefined;
2775
2775
  }
2776
+ /**
2777
+ * <p>Specifies configuration that restricts speech detection to the
2778
+ * primary (loudest) speaker during streaming audio conversations, so that
2779
+ * speech from background speakers does not start a turn, interrupt the
2780
+ * bot, or reach speech recognition.</p>
2781
+ * @public
2782
+ */
2783
+ export interface SpeakerDiarizationSettings {
2784
+ /**
2785
+ * <p>Specifies whether speaker diarization is enabled for the bot locale.
2786
+ * Set to <code>true</code> to have Amazon Lex treat speech from speakers other
2787
+ * than the primary speaker as non-speech. Set to <code>false</code> to
2788
+ * disable speaker diarization and rely on voice activity detection
2789
+ * alone.</p>
2790
+ * @public
2791
+ */
2792
+ enabled: boolean | undefined;
2793
+ }
2776
2794
  /**
2777
2795
  * <p>Configuration settings for integrating Deepgram speech-to-text models with Amazon Lex.</p>
2778
2796
  * @public
@@ -3000,6 +3018,12 @@ export interface BotLocaleImportSpecification {
3000
3018
  * @public
3001
3019
  */
3002
3020
  audioFillerSettings?: AudioFillerSettings | undefined;
3021
+ /**
3022
+ * <p>The speaker diarization settings to apply when importing the bot
3023
+ * locale configuration.</p>
3024
+ * @public
3025
+ */
3026
+ speakerDiarizationSettings?: SpeakerDiarizationSettings | undefined;
3003
3027
  }
3004
3028
  /**
3005
3029
  * <p>Specifies attributes for sorting a list of bot locales.</p>
@@ -4482,6 +4506,13 @@ export interface CreateBotLocaleRequest {
4482
4506
  * @public
4483
4507
  */
4484
4508
  speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
4509
+ /**
4510
+ * <p>The speaker diarization settings to configure for the new bot
4511
+ * locale. When enabled, Amazon Lex restricts speech detection to the primary
4512
+ * (loudest) speaker during streaming audio conversations.</p>
4513
+ * @public
4514
+ */
4515
+ speakerDiarizationSettings?: SpeakerDiarizationSettings | undefined;
4485
4516
  }
4486
4517
  /**
4487
4518
  * @public
@@ -4571,6 +4602,12 @@ export interface CreateBotLocaleResponse {
4571
4602
  * @public
4572
4603
  */
4573
4604
  speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
4605
+ /**
4606
+ * <p>The speaker diarization settings configured for the created bot
4607
+ * locale.</p>
4608
+ * @public
4609
+ */
4610
+ speakerDiarizationSettings?: SpeakerDiarizationSettings | undefined;
4574
4611
  }
4575
4612
  /**
4576
4613
  * @public
@@ -6948,6 +6985,12 @@ export interface DescribeBotLocaleResponse {
6948
6985
  * @public
6949
6986
  */
6950
6987
  speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
6988
+ /**
6989
+ * <p>The speaker diarization settings configured for the bot
6990
+ * locale.</p>
6991
+ * @public
6992
+ */
6993
+ speakerDiarizationSettings?: SpeakerDiarizationSettings | undefined;
6951
6994
  }
6952
6995
  /**
6953
6996
  * @public
@@ -8462,30 +8505,3 @@ export interface GetTestExecutionArtifactsUrlResponse {
8462
8505
  */
8463
8506
  downloadArtifactsUrl?: string | undefined;
8464
8507
  }
8465
- /**
8466
- * <p>Filters the response from the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListImports.html">ListImports</a> operation.</p>
8467
- * @public
8468
- */
8469
- export interface ImportFilter {
8470
- /**
8471
- * <p>The name of the field to use for filtering.</p>
8472
- * @public
8473
- */
8474
- name: ImportFilterName | undefined;
8475
- /**
8476
- * <p>The values to use to filter the response. The values must be
8477
- * <code>Bot</code>, <code>BotLocale</code>, or
8478
- * <code>CustomVocabulary</code>.</p>
8479
- * @public
8480
- */
8481
- values: string[] | undefined;
8482
- /**
8483
- * <p>The operator to use for the filter. Specify EQ when the
8484
- * <code>ListImports</code> operation should return only resource types
8485
- * that equal the specified value. Specify CO when the
8486
- * <code>ListImports</code> operation should return resource types that
8487
- * contain the specified value.</p>
8488
- * @public
8489
- */
8490
- operator: ImportFilterOperator | undefined;
8491
- }
@@ -1,5 +1,32 @@
1
- import type { AnalysisScope, AnalyticsModality, AnalyticsSessionSortByName, AnalyticsSortOrder, AnalyticsUtteranceSortByName, BotAliasStatus, BotAnalyzerStatus, BotLocaleStatus, BotRecommendationStatus, BotStatus, BotType, ConversationEndState, ExportStatus, GenerationStatus, ImportExportFileFormat, ImportResourceType, ImportSortAttribute, ImportStatus, IntentFilterName, IntentFilterOperator, IntentSortAttribute, 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 type { 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, AudioFillerSettings, BotAliasLocaleSettings, BotAliasReplicaSummary, BotAliasSummary, BotAnalyzerHistorySummary, 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, InputContext, KendraConfiguration, MultipleValuesSetting, ObfuscationSetting, OutputContext, PromptSpecification, QInConnectIntentConfiguration, QnAIntentConfiguration, ResponseSpecification, SampleUtterance, SentimentAnalysisSettings, SlotDefaultValueSpecification, SlotPriority, SlotResolutionSetting, SlotTypeValue, SlotValue, SlotValueSelectionSetting, SpeechRecognitionSettings, SubSlotSetting, TestExecutionTarget, TestSetGenerationDataSource, TestSetStorageLocation, TranscriptSourceSetting, UnifiedSpeechSettings, VoiceSettings, WaitAndContinueSpecification } from "./models_0";
1
+ import type { AnalysisScope, AnalyticsModality, AnalyticsSessionSortByName, AnalyticsSortOrder, AnalyticsUtteranceSortByName, BotAliasStatus, BotAnalyzerStatus, BotLocaleStatus, BotRecommendationStatus, BotStatus, BotType, ConversationEndState, ExportStatus, GenerationStatus, ImportExportFileFormat, ImportFilterName, ImportFilterOperator, ImportResourceType, ImportSortAttribute, ImportStatus, IntentFilterName, IntentFilterOperator, IntentSortAttribute, 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 type { 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, AudioFillerSettings, BotAliasLocaleSettings, BotAliasReplicaSummary, BotAliasSummary, BotAnalyzerHistorySummary, 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, ImportResourceSpecification, InputContext, KendraConfiguration, MultipleValuesSetting, ObfuscationSetting, OutputContext, PromptSpecification, QInConnectIntentConfiguration, QnAIntentConfiguration, ResponseSpecification, SampleUtterance, SentimentAnalysisSettings, SlotDefaultValueSpecification, SlotPriority, SlotResolutionSetting, SlotTypeValue, SlotValue, SlotValueSelectionSetting, SpeakerDiarizationSettings, SpeechRecognitionSettings, SubSlotSetting, TestExecutionTarget, TestSetGenerationDataSource, TestSetStorageLocation, TranscriptSourceSetting, UnifiedSpeechSettings, VoiceSettings, WaitAndContinueSpecification } from "./models_0";
3
+ /**
4
+ * <p>Filters the response from the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListImports.html">ListImports</a> operation.</p>
5
+ * @public
6
+ */
7
+ export interface ImportFilter {
8
+ /**
9
+ * <p>The name of the field to use for filtering.</p>
10
+ * @public
11
+ */
12
+ name: ImportFilterName | undefined;
13
+ /**
14
+ * <p>The values to use to filter the response. The values must be
15
+ * <code>Bot</code>, <code>BotLocale</code>, or
16
+ * <code>CustomVocabulary</code>.</p>
17
+ * @public
18
+ */
19
+ values: string[] | undefined;
20
+ /**
21
+ * <p>The operator to use for the filter. Specify EQ when the
22
+ * <code>ListImports</code> operation should return only resource types
23
+ * that equal the specified value. Specify CO when the
24
+ * <code>ListImports</code> operation should return resource types that
25
+ * contain the specified value.</p>
26
+ * @public
27
+ */
28
+ operator: ImportFilterOperator | undefined;
29
+ }
3
30
  /**
4
31
  * <p>Provides information for sorting a list of imports.</p>
5
32
  * @public
@@ -4432,6 +4459,14 @@ export interface UpdateBotLocaleRequest {
4432
4459
  * @public
4433
4460
  */
4434
4461
  speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
4462
+ /**
4463
+ * <p>The updated speaker diarization settings to apply to the bot locale.
4464
+ * If you omit this field, Amazon Lex keeps the setting currently stored on the
4465
+ * bot locale. To turn speaker diarization off, set <code>enabled</code>
4466
+ * to <code>false</code> explicitly.</p>
4467
+ * @public
4468
+ */
4469
+ speakerDiarizationSettings?: SpeakerDiarizationSettings | undefined;
4435
4470
  }
4436
4471
  /**
4437
4472
  * @public
@@ -4531,6 +4566,11 @@ export interface UpdateBotLocaleResponse {
4531
4566
  * @public
4532
4567
  */
4533
4568
  speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
4569
+ /**
4570
+ * <p>The updated speaker diarization settings for the bot locale.</p>
4571
+ * @public
4572
+ */
4573
+ speakerDiarizationSettings?: SpeakerDiarizationSettings | undefined;
4534
4574
  }
4535
4575
  /**
4536
4576
  * @public
@@ -402,6 +402,7 @@ export declare var SlotValueElicitationSetting$: StaticStructureSchema;
402
402
  export declare var SlotValueOverride$: StaticStructureSchema;
403
403
  export declare var SlotValueRegexFilter$: StaticStructureSchema;
404
404
  export declare var SlotValueSelectionSetting$: StaticStructureSchema;
405
+ export declare var SpeakerDiarizationSettings$: StaticStructureSchema;
405
406
  export declare var Specifications$: StaticStructureSchema;
406
407
  export declare var SpeechFoundationModel$: StaticStructureSchema;
407
408
  export declare var SpeechModelConfig$: StaticStructureSchema;
@@ -302,6 +302,7 @@ export declare const SpeechDetectionSensitivity: {
302
302
  export type SpeechDetectionSensitivity =
303
303
  (typeof SpeechDetectionSensitivity)[keyof typeof SpeechDetectionSensitivity];
304
304
  export declare const SpeechModelPreference: {
305
+ readonly Advanced: "Advanced";
305
306
  readonly Deepgram: "Deepgram";
306
307
  readonly Neural: "Neural";
307
308
  readonly Standard: "Standard";
@@ -58,8 +58,6 @@ import {
58
58
  GenerationSortByAttribute,
59
59
  GenerationStatus,
60
60
  ImportExportFileFormat,
61
- ImportFilterName,
62
- ImportFilterOperator,
63
61
  ImportStatus,
64
62
  MergeStrategy,
65
63
  MessageSelectionStrategy,
@@ -469,6 +467,9 @@ export interface BotLocaleHistoryEvent {
469
467
  event: string | undefined;
470
468
  eventDate: Date | undefined;
471
469
  }
470
+ export interface SpeakerDiarizationSettings {
471
+ enabled: boolean | undefined;
472
+ }
472
473
  export interface DeepgramSpeechModelConfig {
473
474
  apiTokenSecretArn: string | undefined;
474
475
  modelId?: string | undefined;
@@ -501,6 +502,7 @@ export interface BotLocaleImportSpecification {
501
502
  speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
502
503
  unifiedSpeechSettings?: UnifiedSpeechSettings | undefined;
503
504
  audioFillerSettings?: AudioFillerSettings | undefined;
505
+ speakerDiarizationSettings?: SpeakerDiarizationSettings | undefined;
504
506
  }
505
507
  export interface BotLocaleSortBy {
506
508
  attribute: BotLocaleSortAttribute | undefined;
@@ -816,6 +818,7 @@ export interface CreateBotLocaleRequest {
816
818
  speechRecognitionSettings?: SpeechRecognitionSettings | undefined;
817
819
  generativeAISettings?: GenerativeAISettings | undefined;
818
820
  speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
821
+ speakerDiarizationSettings?: SpeakerDiarizationSettings | undefined;
819
822
  }
820
823
  export interface CreateBotLocaleResponse {
821
824
  botId?: string | undefined;
@@ -832,6 +835,7 @@ export interface CreateBotLocaleResponse {
832
835
  creationDateTime?: Date | undefined;
833
836
  generativeAISettings?: GenerativeAISettings | undefined;
834
837
  speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
838
+ speakerDiarizationSettings?: SpeakerDiarizationSettings | undefined;
835
839
  }
836
840
  export interface CreateBotReplicaRequest {
837
841
  botId: string | undefined;
@@ -1329,6 +1333,7 @@ export interface DescribeBotLocaleResponse {
1329
1333
  recommendedActions?: string[] | undefined;
1330
1334
  generativeAISettings?: GenerativeAISettings | undefined;
1331
1335
  speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
1336
+ speakerDiarizationSettings?: SpeakerDiarizationSettings | undefined;
1332
1337
  }
1333
1338
  export interface DescribeBotRecommendationRequest {
1334
1339
  botId: string | undefined;
@@ -1659,8 +1664,3 @@ export interface GetTestExecutionArtifactsUrlResponse {
1659
1664
  testExecutionId?: string | undefined;
1660
1665
  downloadArtifactsUrl?: string | undefined;
1661
1666
  }
1662
- export interface ImportFilter {
1663
- name: ImportFilterName | undefined;
1664
- values: string[] | undefined;
1665
- operator: ImportFilterOperator | undefined;
1666
- }
@@ -14,6 +14,8 @@ import {
14
14
  ExportStatus,
15
15
  GenerationStatus,
16
16
  ImportExportFileFormat,
17
+ ImportFilterName,
18
+ ImportFilterOperator,
17
19
  ImportResourceType,
18
20
  ImportSortAttribute,
19
21
  ImportStatus,
@@ -122,7 +124,6 @@ import {
122
124
  GenerationSummary,
123
125
  GenerativeAISettings,
124
126
  ImageResponseCard,
125
- ImportFilter,
126
127
  ImportResourceSpecification,
127
128
  InputContext,
128
129
  KendraConfiguration,
@@ -141,6 +142,7 @@ import {
141
142
  SlotTypeValue,
142
143
  SlotValue,
143
144
  SlotValueSelectionSetting,
145
+ SpeakerDiarizationSettings,
144
146
  SpeechRecognitionSettings,
145
147
  SubSlotSetting,
146
148
  TestExecutionTarget,
@@ -151,6 +153,11 @@ import {
151
153
  VoiceSettings,
152
154
  WaitAndContinueSpecification,
153
155
  } from "./models_0";
156
+ export interface ImportFilter {
157
+ name: ImportFilterName | undefined;
158
+ values: string[] | undefined;
159
+ operator: ImportFilterOperator | undefined;
160
+ }
154
161
  export interface ImportSortBy {
155
162
  attribute: ImportSortAttribute | undefined;
156
163
  order: SortOrder | undefined;
@@ -993,6 +1000,7 @@ export interface UpdateBotLocaleRequest {
993
1000
  speechRecognitionSettings?: SpeechRecognitionSettings | undefined;
994
1001
  generativeAISettings?: GenerativeAISettings | undefined;
995
1002
  speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
1003
+ speakerDiarizationSettings?: SpeakerDiarizationSettings | undefined;
996
1004
  }
997
1005
  export interface UpdateBotLocaleResponse {
998
1006
  botId?: string | undefined;
@@ -1012,6 +1020,7 @@ export interface UpdateBotLocaleResponse {
1012
1020
  recommendedActions?: string[] | undefined;
1013
1021
  generativeAISettings?: GenerativeAISettings | undefined;
1014
1022
  speechDetectionSensitivity?: SpeechDetectionSensitivity | undefined;
1023
+ speakerDiarizationSettings?: SpeakerDiarizationSettings | undefined;
1015
1024
  }
1016
1025
  export interface UpdateBotRecommendationRequest {
1017
1026
  botId: string | undefined;
@@ -397,6 +397,7 @@ export declare var SlotValueElicitationSetting$: StaticStructureSchema;
397
397
  export declare var SlotValueOverride$: StaticStructureSchema;
398
398
  export declare var SlotValueRegexFilter$: StaticStructureSchema;
399
399
  export declare var SlotValueSelectionSetting$: StaticStructureSchema;
400
+ export declare var SpeakerDiarizationSettings$: StaticStructureSchema;
400
401
  export declare var Specifications$: StaticStructureSchema;
401
402
  export declare var SpeechFoundationModel$: StaticStructureSchema;
402
403
  export declare var SpeechModelConfig$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lex-models-v2",
3
- "version": "3.1138.0",
3
+ "version": "3.1139.0",
4
4
  "description": "AWS SDK for JavaScript Lex Models V2 Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-lex-models-v2",
6
6
  "license": "Apache-2.0",