@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.
- package/README.md +49 -1
- package/dist-cjs/index.js +24 -15
- package/dist-es/models/enums.js +1 -0
- package/dist-es/schemas/schemas_0.js +21 -14
- package/dist-types/LexModelsV2.d.ts +270 -216
- package/dist-types/LexModelsV2Client.d.ts +49 -1
- package/dist-types/commands/CreateBotLocaleCommand.d.ts +8 -2
- package/dist-types/commands/DescribeBotLocaleCommand.d.ts +4 -1
- package/dist-types/commands/DescribeImportCommand.d.ts +4 -1
- package/dist-types/commands/StartImportCommand.d.ts +8 -2
- package/dist-types/commands/UpdateBotLocaleCommand.d.ts +8 -2
- package/dist-types/index.d.ts +49 -1
- package/dist-types/models/enums.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +44 -28
- package/dist-types/models/models_1.d.ts +42 -2
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/LexModelsV2.d.ts +218 -214
- package/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -7
- package/dist-types/ts3.4/models/models_1.d.ts +10 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +8 -8
|
@@ -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.
|
|
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",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|