@aws-sdk/client-lex-models-v2 3.1137.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.
@@ -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;