@aws-sdk/client-transcribe-streaming 3.876.0 → 3.881.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js
CHANGED
|
@@ -751,6 +751,11 @@ var se_StartCallAnalyticsStreamTranscriptionCommand = /* @__PURE__ */ __name(asy
|
|
|
751
751
|
[_xatvfn]: input[_VFN],
|
|
752
752
|
[_xatvfm]: input[_VFM],
|
|
753
753
|
[_xatlmn]: input[_LMN],
|
|
754
|
+
[_xatil]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_IL]), () => input[_IL].toString()],
|
|
755
|
+
[_xatlo]: input[_LO],
|
|
756
|
+
[_xatpl]: input[_PL],
|
|
757
|
+
[_xatvn_]: input[_VNo],
|
|
758
|
+
[_xatvfn_]: input[_VFNo],
|
|
754
759
|
[_xateprs]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_EPRS]), () => input[_EPRS].toString()],
|
|
755
760
|
[_xatprs]: input[_PRS],
|
|
756
761
|
[_xatcit]: input[_CIT],
|
|
@@ -870,6 +875,11 @@ var de_StartCallAnalyticsStreamTranscriptionCommand = /* @__PURE__ */ __name(asy
|
|
|
870
875
|
[_VFN]: [, output.headers[_xatvfn]],
|
|
871
876
|
[_VFM]: [, output.headers[_xatvfm]],
|
|
872
877
|
[_LMN]: [, output.headers[_xatlmn]],
|
|
878
|
+
[_IL]: [() => void 0 !== output.headers[_xatil], () => (0, import_smithy_client.parseBoolean)(output.headers[_xatil])],
|
|
879
|
+
[_LO]: [, output.headers[_xatlo]],
|
|
880
|
+
[_PL]: [, output.headers[_xatpl]],
|
|
881
|
+
[_VNo]: [, output.headers[_xatvn_]],
|
|
882
|
+
[_VFNo]: [, output.headers[_xatvfn_]],
|
|
873
883
|
[_EPRS]: [() => void 0 !== output.headers[_xateprs], () => (0, import_smithy_client.parseBoolean)(output.headers[_xateprs])],
|
|
874
884
|
[_PRS]: [, output.headers[_xatprs]],
|
|
875
885
|
[_CIT]: [, output.headers[_xatcit]],
|
|
@@ -1408,6 +1418,18 @@ var de_CallAnalyticsItemList = /* @__PURE__ */ __name((output, context) => {
|
|
|
1408
1418
|
});
|
|
1409
1419
|
return retVal;
|
|
1410
1420
|
}, "de_CallAnalyticsItemList");
|
|
1421
|
+
var de_CallAnalyticsLanguageIdentification = /* @__PURE__ */ __name((output, context) => {
|
|
1422
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1423
|
+
return de_CallAnalyticsLanguageWithScore(entry, context);
|
|
1424
|
+
});
|
|
1425
|
+
return retVal;
|
|
1426
|
+
}, "de_CallAnalyticsLanguageIdentification");
|
|
1427
|
+
var de_CallAnalyticsLanguageWithScore = /* @__PURE__ */ __name((output, context) => {
|
|
1428
|
+
return (0, import_smithy_client.take)(output, {
|
|
1429
|
+
LanguageCode: import_smithy_client.expectString,
|
|
1430
|
+
Score: import_smithy_client.limitedParseDouble
|
|
1431
|
+
});
|
|
1432
|
+
}, "de_CallAnalyticsLanguageWithScore");
|
|
1411
1433
|
var de_Entity = /* @__PURE__ */ __name((output, context) => {
|
|
1412
1434
|
return (0, import_smithy_client.take)(output, {
|
|
1413
1435
|
Category: import_smithy_client.expectString,
|
|
@@ -1612,6 +1634,8 @@ var de_UtteranceEvent = /* @__PURE__ */ __name((output, context) => {
|
|
|
1612
1634
|
IsPartial: import_smithy_client.expectBoolean,
|
|
1613
1635
|
IssuesDetected: import_smithy_client._json,
|
|
1614
1636
|
Items: /* @__PURE__ */ __name((_) => de_CallAnalyticsItemList(_, context), "Items"),
|
|
1637
|
+
LanguageCode: import_smithy_client.expectString,
|
|
1638
|
+
LanguageIdentification: /* @__PURE__ */ __name((_) => de_CallAnalyticsLanguageIdentification(_, context), "LanguageIdentification"),
|
|
1615
1639
|
ParticipantRole: import_smithy_client.expectString,
|
|
1616
1640
|
Sentiment: import_smithy_client.expectString,
|
|
1617
1641
|
Transcript: import_smithy_client.expectString,
|
|
@@ -24,6 +24,11 @@ export const se_StartCallAnalyticsStreamTranscriptionCommand = async (input, con
|
|
|
24
24
|
[_xatvfn]: input[_VFN],
|
|
25
25
|
[_xatvfm]: input[_VFM],
|
|
26
26
|
[_xatlmn]: input[_LMN],
|
|
27
|
+
[_xatil]: [() => isSerializableHeaderValue(input[_IL]), () => input[_IL].toString()],
|
|
28
|
+
[_xatlo]: input[_LO],
|
|
29
|
+
[_xatpl]: input[_PL],
|
|
30
|
+
[_xatvn_]: input[_VNo],
|
|
31
|
+
[_xatvfn_]: input[_VFNo],
|
|
27
32
|
[_xateprs]: [() => isSerializableHeaderValue(input[_EPRS]), () => input[_EPRS].toString()],
|
|
28
33
|
[_xatprs]: input[_PRS],
|
|
29
34
|
[_xatcit]: input[_CIT],
|
|
@@ -143,6 +148,11 @@ export const de_StartCallAnalyticsStreamTranscriptionCommand = async (output, co
|
|
|
143
148
|
[_VFN]: [, output.headers[_xatvfn]],
|
|
144
149
|
[_VFM]: [, output.headers[_xatvfm]],
|
|
145
150
|
[_LMN]: [, output.headers[_xatlmn]],
|
|
151
|
+
[_IL]: [() => void 0 !== output.headers[_xatil], () => __parseBoolean(output.headers[_xatil])],
|
|
152
|
+
[_LO]: [, output.headers[_xatlo]],
|
|
153
|
+
[_PL]: [, output.headers[_xatpl]],
|
|
154
|
+
[_VNo]: [, output.headers[_xatvn_]],
|
|
155
|
+
[_VFNo]: [, output.headers[_xatvfn_]],
|
|
146
156
|
[_EPRS]: [() => void 0 !== output.headers[_xateprs], () => __parseBoolean(output.headers[_xateprs])],
|
|
147
157
|
[_PRS]: [, output.headers[_xatprs]],
|
|
148
158
|
[_CIT]: [, output.headers[_xatcit]],
|
|
@@ -675,6 +685,20 @@ const de_CallAnalyticsItemList = (output, context) => {
|
|
|
675
685
|
});
|
|
676
686
|
return retVal;
|
|
677
687
|
};
|
|
688
|
+
const de_CallAnalyticsLanguageIdentification = (output, context) => {
|
|
689
|
+
const retVal = (output || [])
|
|
690
|
+
.filter((e) => e != null)
|
|
691
|
+
.map((entry) => {
|
|
692
|
+
return de_CallAnalyticsLanguageWithScore(entry, context);
|
|
693
|
+
});
|
|
694
|
+
return retVal;
|
|
695
|
+
};
|
|
696
|
+
const de_CallAnalyticsLanguageWithScore = (output, context) => {
|
|
697
|
+
return take(output, {
|
|
698
|
+
LanguageCode: __expectString,
|
|
699
|
+
Score: __limitedParseDouble,
|
|
700
|
+
});
|
|
701
|
+
};
|
|
678
702
|
const de_Entity = (output, context) => {
|
|
679
703
|
return take(output, {
|
|
680
704
|
Category: __expectString,
|
|
@@ -897,6 +921,8 @@ const de_UtteranceEvent = (output, context) => {
|
|
|
897
921
|
IsPartial: __expectBoolean,
|
|
898
922
|
IssuesDetected: _json,
|
|
899
923
|
Items: (_) => de_CallAnalyticsItemList(_, context),
|
|
924
|
+
LanguageCode: __expectString,
|
|
925
|
+
LanguageIdentification: (_) => de_CallAnalyticsLanguageIdentification(_, context),
|
|
900
926
|
ParticipantRole: __expectString,
|
|
901
927
|
Sentiment: __expectString,
|
|
902
928
|
Transcript: __expectString,
|
|
@@ -34,7 +34,7 @@ declare const StartCallAnalyticsStreamTranscriptionCommand_base: {
|
|
|
34
34
|
* <ul>
|
|
35
35
|
* <li>
|
|
36
36
|
* <p>
|
|
37
|
-
* <code>language-code</code>
|
|
37
|
+
* <code>language-code</code> or <code>identify-language</code>
|
|
38
38
|
* </p>
|
|
39
39
|
* </li>
|
|
40
40
|
* <li>
|
|
@@ -56,7 +56,7 @@ declare const StartCallAnalyticsStreamTranscriptionCommand_base: {
|
|
|
56
56
|
* // const { TranscribeStreamingClient, StartCallAnalyticsStreamTranscriptionCommand } = require("@aws-sdk/client-transcribe-streaming"); // CommonJS import
|
|
57
57
|
* const client = new TranscribeStreamingClient(config);
|
|
58
58
|
* const input = { // StartCallAnalyticsStreamTranscriptionRequest
|
|
59
|
-
* LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR",
|
|
59
|
+
* LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR",
|
|
60
60
|
* MediaSampleRateHertz: Number("int"), // required
|
|
61
61
|
* MediaEncoding: "pcm" || "ogg-opus" || "flac", // required
|
|
62
62
|
* VocabularyName: "STRING_VALUE",
|
|
@@ -83,6 +83,11 @@ declare const StartCallAnalyticsStreamTranscriptionCommand_base: {
|
|
|
83
83
|
* VocabularyFilterName: "STRING_VALUE",
|
|
84
84
|
* VocabularyFilterMethod: "remove" || "mask" || "tag",
|
|
85
85
|
* LanguageModelName: "STRING_VALUE",
|
|
86
|
+
* IdentifyLanguage: true || false,
|
|
87
|
+
* LanguageOptions: "STRING_VALUE",
|
|
88
|
+
* PreferredLanguage: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR",
|
|
89
|
+
* VocabularyNames: "STRING_VALUE",
|
|
90
|
+
* VocabularyFilterNames: "STRING_VALUE",
|
|
86
91
|
* EnablePartialResultsStabilization: true || false,
|
|
87
92
|
* PartialResultsStability: "high" || "medium" || "low",
|
|
88
93
|
* ContentIdentificationType: "PII",
|
|
@@ -136,6 +141,13 @@ declare const StartCallAnalyticsStreamTranscriptionCommand_base: {
|
|
|
136
141
|
* // },
|
|
137
142
|
* // },
|
|
138
143
|
* // ],
|
|
144
|
+
* // LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR",
|
|
145
|
+
* // LanguageIdentification: [ // CallAnalyticsLanguageIdentification
|
|
146
|
+
* // { // CallAnalyticsLanguageWithScore
|
|
147
|
+
* // LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR",
|
|
148
|
+
* // Score: Number("double"),
|
|
149
|
+
* // },
|
|
150
|
+
* // ],
|
|
139
151
|
* // },
|
|
140
152
|
* // CategoryEvent: { // CategoryEvent
|
|
141
153
|
* // MatchedCategories: [ // StringList
|
|
@@ -171,6 +183,11 @@ declare const StartCallAnalyticsStreamTranscriptionCommand_base: {
|
|
|
171
183
|
* // VocabularyFilterName: "STRING_VALUE",
|
|
172
184
|
* // VocabularyFilterMethod: "remove" || "mask" || "tag",
|
|
173
185
|
* // LanguageModelName: "STRING_VALUE",
|
|
186
|
+
* // IdentifyLanguage: true || false,
|
|
187
|
+
* // LanguageOptions: "STRING_VALUE",
|
|
188
|
+
* // PreferredLanguage: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR",
|
|
189
|
+
* // VocabularyNames: "STRING_VALUE",
|
|
190
|
+
* // VocabularyFilterNames: "STRING_VALUE",
|
|
174
191
|
* // EnablePartialResultsStabilization: true || false,
|
|
175
192
|
* // PartialResultsStability: "high" || "medium" || "low",
|
|
176
193
|
* // ContentIdentificationType: "PII",
|
|
@@ -494,6 +494,23 @@ export declare const CallAnalyticsLanguageCode: {
|
|
|
494
494
|
* @public
|
|
495
495
|
*/
|
|
496
496
|
export type CallAnalyticsLanguageCode = (typeof CallAnalyticsLanguageCode)[keyof typeof CallAnalyticsLanguageCode];
|
|
497
|
+
/**
|
|
498
|
+
* <p>The language code that represents the language identified in your audio, including the associated
|
|
499
|
+
* confidence score.</p>
|
|
500
|
+
* @public
|
|
501
|
+
*/
|
|
502
|
+
export interface CallAnalyticsLanguageWithScore {
|
|
503
|
+
/**
|
|
504
|
+
* <p>The language code of the identified language.</p>
|
|
505
|
+
* @public
|
|
506
|
+
*/
|
|
507
|
+
LanguageCode?: CallAnalyticsLanguageCode | undefined;
|
|
508
|
+
/**
|
|
509
|
+
* <p>The confidence score associated with the identified language code. Confidence scores are values between zero and one; larger values indicate a higher confidence in the identified language.</p>
|
|
510
|
+
* @public
|
|
511
|
+
*/
|
|
512
|
+
Score?: number | undefined;
|
|
513
|
+
}
|
|
497
514
|
/**
|
|
498
515
|
* <p>Contains the timestamp range (start time through end time) of a matched category.</p>
|
|
499
516
|
* @public
|
|
@@ -701,6 +718,16 @@ export interface UtteranceEvent {
|
|
|
701
718
|
* @public
|
|
702
719
|
*/
|
|
703
720
|
IssuesDetected?: IssueDetected[] | undefined;
|
|
721
|
+
/**
|
|
722
|
+
* <p>The language code that represents the language spoken in your audio stream.</p>
|
|
723
|
+
* @public
|
|
724
|
+
*/
|
|
725
|
+
LanguageCode?: CallAnalyticsLanguageCode | undefined;
|
|
726
|
+
/**
|
|
727
|
+
* <p>The language code of the dominant language identified in your stream.</p>
|
|
728
|
+
* @public
|
|
729
|
+
*/
|
|
730
|
+
LanguageIdentification?: CallAnalyticsLanguageWithScore[] | undefined;
|
|
704
731
|
}
|
|
705
732
|
/**
|
|
706
733
|
* <p>Contains detailed information about your real-time Call Analytics session. These details are
|
|
@@ -2328,7 +2355,7 @@ export interface StartCallAnalyticsStreamTranscriptionRequest {
|
|
|
2328
2355
|
* languages</a> table.</p>
|
|
2329
2356
|
* @public
|
|
2330
2357
|
*/
|
|
2331
|
-
LanguageCode
|
|
2358
|
+
LanguageCode?: CallAnalyticsLanguageCode | undefined;
|
|
2332
2359
|
/**
|
|
2333
2360
|
* <p>The sample rate of the input audio (in hertz). Low-quality audio, such as telephone audio,
|
|
2334
2361
|
* is typically around 8,000 Hz. High-quality audio typically ranges from 16,000 Hz to 48,000 Hz.
|
|
@@ -2403,6 +2430,73 @@ export interface StartCallAnalyticsStreamTranscriptionRequest {
|
|
|
2403
2430
|
* @public
|
|
2404
2431
|
*/
|
|
2405
2432
|
LanguageModelName?: string | undefined;
|
|
2433
|
+
/**
|
|
2434
|
+
* <p>Enables automatic language identification for your Call Analytics transcription.</p>
|
|
2435
|
+
* <p>If you include <code>IdentifyLanguage</code>, you must include a list of
|
|
2436
|
+
* language codes, using <code>LanguageOptions</code>, that you think may be present in
|
|
2437
|
+
* your audio stream. You must provide a minimum of two language selections.</p>
|
|
2438
|
+
* <p>You can also include a preferred language using <code>PreferredLanguage</code>. Adding a
|
|
2439
|
+
* preferred language can help Amazon Transcribe identify the language faster than if you omit this
|
|
2440
|
+
* parameter.</p>
|
|
2441
|
+
* <p>Note that you must include either <code>LanguageCode</code> or
|
|
2442
|
+
* <code>IdentifyLanguage</code> in your request. If you include both parameters, your transcription job
|
|
2443
|
+
* fails.</p>
|
|
2444
|
+
* @public
|
|
2445
|
+
*/
|
|
2446
|
+
IdentifyLanguage?: boolean | undefined;
|
|
2447
|
+
/**
|
|
2448
|
+
* <p>Specify two or more language codes that represent the languages you think may be present
|
|
2449
|
+
* in your media.</p>
|
|
2450
|
+
* <p>Including language options can improve the accuracy of language identification.</p>
|
|
2451
|
+
* <p>If you include <code>LanguageOptions</code> in your request, you must also include
|
|
2452
|
+
* <code>IdentifyLanguage</code>.</p>
|
|
2453
|
+
* <p>For a list of languages supported with Call Analytics streaming, refer to the
|
|
2454
|
+
* <a href="https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html">Supported
|
|
2455
|
+
* languages</a> table.</p>
|
|
2456
|
+
* <important>
|
|
2457
|
+
* <p>You can only include one language dialect per language per stream. For example, you
|
|
2458
|
+
* cannot include <code>en-US</code> and <code>en-AU</code> in the same request.</p>
|
|
2459
|
+
* </important>
|
|
2460
|
+
* @public
|
|
2461
|
+
*/
|
|
2462
|
+
LanguageOptions?: string | undefined;
|
|
2463
|
+
/**
|
|
2464
|
+
* <p>Specify a preferred language from the subset of languages codes you specified in
|
|
2465
|
+
* <code>LanguageOptions</code>.</p>
|
|
2466
|
+
* <p>You can only use this parameter if you've included <code>IdentifyLanguage</code> and
|
|
2467
|
+
* <code>LanguageOptions</code> in your request.</p>
|
|
2468
|
+
* @public
|
|
2469
|
+
*/
|
|
2470
|
+
PreferredLanguage?: CallAnalyticsLanguageCode | undefined;
|
|
2471
|
+
/**
|
|
2472
|
+
* <p>Specify the names of the custom vocabularies that you want to use when processing your
|
|
2473
|
+
* Call Analytics transcription. Note that vocabulary names are case sensitive.</p>
|
|
2474
|
+
* <p>If the custom vocabulary's language doesn't match the identified media language, it won't be applied to the transcription.</p>
|
|
2475
|
+
* <important>
|
|
2476
|
+
* <p>This parameter is only intended for use <b>with</b> the
|
|
2477
|
+
* <code>IdentifyLanguage</code> parameter. If you're <b>not</b>
|
|
2478
|
+
* including <code>IdentifyLanguage</code> in your request and want to use a custom vocabulary
|
|
2479
|
+
* with your transcription, use the <code>VocabularyName</code> parameter instead.</p>
|
|
2480
|
+
* </important>
|
|
2481
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html">Custom vocabularies</a>.</p>
|
|
2482
|
+
* @public
|
|
2483
|
+
*/
|
|
2484
|
+
VocabularyNames?: string | undefined;
|
|
2485
|
+
/**
|
|
2486
|
+
* <p>Specify the names of the custom vocabulary filters that you want to use when processing
|
|
2487
|
+
* your Call Analytics transcription. Note that vocabulary filter names are case sensitive.</p>
|
|
2488
|
+
* <p>These filters serve to customize the transcript output.</p>
|
|
2489
|
+
* <important>
|
|
2490
|
+
* <p>This parameter is only intended for use <b>with</b>
|
|
2491
|
+
* the <code>IdentifyLanguage</code> parameter. If you're <b>not</b>
|
|
2492
|
+
* including <code>IdentifyLanguage</code> in your request and want to use a custom vocabulary filter
|
|
2493
|
+
* with your transcription, use the <code>VocabularyFilterName</code> parameter instead.</p>
|
|
2494
|
+
* </important>
|
|
2495
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/vocabulary-filtering.html">Using vocabulary filtering with unwanted
|
|
2496
|
+
* words</a>.</p>
|
|
2497
|
+
* @public
|
|
2498
|
+
*/
|
|
2499
|
+
VocabularyFilterNames?: string | undefined;
|
|
2406
2500
|
/**
|
|
2407
2501
|
* <p>Enables partial result stabilization for your transcription. Partial result stabilization can reduce
|
|
2408
2502
|
* latency in your output, but may impact accuracy. For more information, see
|
|
@@ -2521,6 +2615,31 @@ export interface StartCallAnalyticsStreamTranscriptionResponse {
|
|
|
2521
2615
|
* @public
|
|
2522
2616
|
*/
|
|
2523
2617
|
LanguageModelName?: string | undefined;
|
|
2618
|
+
/**
|
|
2619
|
+
* <p>Shows whether automatic language identification was enabled for your Call Analytics transcription.</p>
|
|
2620
|
+
* @public
|
|
2621
|
+
*/
|
|
2622
|
+
IdentifyLanguage?: boolean | undefined;
|
|
2623
|
+
/**
|
|
2624
|
+
* <p>Provides the language codes that you specified in your Call Analytics request.</p>
|
|
2625
|
+
* @public
|
|
2626
|
+
*/
|
|
2627
|
+
LanguageOptions?: string | undefined;
|
|
2628
|
+
/**
|
|
2629
|
+
* <p>Provides the preferred language that you specified in your Call Analytics request.</p>
|
|
2630
|
+
* @public
|
|
2631
|
+
*/
|
|
2632
|
+
PreferredLanguage?: CallAnalyticsLanguageCode | undefined;
|
|
2633
|
+
/**
|
|
2634
|
+
* <p>Provides the names of the custom vocabularies that you specified in your Call Analytics request.</p>
|
|
2635
|
+
* @public
|
|
2636
|
+
*/
|
|
2637
|
+
VocabularyNames?: string | undefined;
|
|
2638
|
+
/**
|
|
2639
|
+
* <p>Provides the names of the custom vocabulary filters that you specified in your Call Analytics request.</p>
|
|
2640
|
+
* @public
|
|
2641
|
+
*/
|
|
2642
|
+
VocabularyFilterNames?: string | undefined;
|
|
2524
2643
|
/**
|
|
2525
2644
|
* <p>Shows whether partial results stabilization was enabled for your Call Analytics transcription.</p>
|
|
2526
2645
|
* @public
|
|
@@ -122,6 +122,10 @@ export declare const CallAnalyticsLanguageCode: {
|
|
|
122
122
|
};
|
|
123
123
|
export type CallAnalyticsLanguageCode =
|
|
124
124
|
(typeof CallAnalyticsLanguageCode)[keyof typeof CallAnalyticsLanguageCode];
|
|
125
|
+
export interface CallAnalyticsLanguageWithScore {
|
|
126
|
+
LanguageCode?: CallAnalyticsLanguageCode | undefined;
|
|
127
|
+
Score?: number | undefined;
|
|
128
|
+
}
|
|
125
129
|
export interface TimestampRange {
|
|
126
130
|
BeginOffsetMillis?: number | undefined;
|
|
127
131
|
EndOffsetMillis?: number | undefined;
|
|
@@ -188,6 +192,8 @@ export interface UtteranceEvent {
|
|
|
188
192
|
Entities?: CallAnalyticsEntity[] | undefined;
|
|
189
193
|
Sentiment?: Sentiment | undefined;
|
|
190
194
|
IssuesDetected?: IssueDetected[] | undefined;
|
|
195
|
+
LanguageCode?: CallAnalyticsLanguageCode | undefined;
|
|
196
|
+
LanguageIdentification?: CallAnalyticsLanguageWithScore[] | undefined;
|
|
191
197
|
}
|
|
192
198
|
export type CallAnalyticsTranscriptResultStream =
|
|
193
199
|
| CallAnalyticsTranscriptResultStream.BadRequestExceptionMember
|
|
@@ -823,7 +829,7 @@ export declare const VocabularyFilterMethod: {
|
|
|
823
829
|
export type VocabularyFilterMethod =
|
|
824
830
|
(typeof VocabularyFilterMethod)[keyof typeof VocabularyFilterMethod];
|
|
825
831
|
export interface StartCallAnalyticsStreamTranscriptionRequest {
|
|
826
|
-
LanguageCode
|
|
832
|
+
LanguageCode?: CallAnalyticsLanguageCode | undefined;
|
|
827
833
|
MediaSampleRateHertz: number | undefined;
|
|
828
834
|
MediaEncoding: MediaEncoding | undefined;
|
|
829
835
|
VocabularyName?: string | undefined;
|
|
@@ -832,6 +838,11 @@ export interface StartCallAnalyticsStreamTranscriptionRequest {
|
|
|
832
838
|
VocabularyFilterName?: string | undefined;
|
|
833
839
|
VocabularyFilterMethod?: VocabularyFilterMethod | undefined;
|
|
834
840
|
LanguageModelName?: string | undefined;
|
|
841
|
+
IdentifyLanguage?: boolean | undefined;
|
|
842
|
+
LanguageOptions?: string | undefined;
|
|
843
|
+
PreferredLanguage?: CallAnalyticsLanguageCode | undefined;
|
|
844
|
+
VocabularyNames?: string | undefined;
|
|
845
|
+
VocabularyFilterNames?: string | undefined;
|
|
835
846
|
EnablePartialResultsStabilization?: boolean | undefined;
|
|
836
847
|
PartialResultsStability?: PartialResultsStability | undefined;
|
|
837
848
|
ContentIdentificationType?: ContentIdentificationType | undefined;
|
|
@@ -851,6 +862,11 @@ export interface StartCallAnalyticsStreamTranscriptionResponse {
|
|
|
851
862
|
VocabularyFilterName?: string | undefined;
|
|
852
863
|
VocabularyFilterMethod?: VocabularyFilterMethod | undefined;
|
|
853
864
|
LanguageModelName?: string | undefined;
|
|
865
|
+
IdentifyLanguage?: boolean | undefined;
|
|
866
|
+
LanguageOptions?: string | undefined;
|
|
867
|
+
PreferredLanguage?: CallAnalyticsLanguageCode | undefined;
|
|
868
|
+
VocabularyNames?: string | undefined;
|
|
869
|
+
VocabularyFilterNames?: string | undefined;
|
|
854
870
|
EnablePartialResultsStabilization?: boolean | undefined;
|
|
855
871
|
PartialResultsStability?: PartialResultsStability | undefined;
|
|
856
872
|
ContentIdentificationType?: ContentIdentificationType | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-transcribe-streaming",
|
|
3
3
|
"description": "AWS SDK for JavaScript Transcribe Streaming Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.881.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-transcribe-streaming",
|
|
@@ -22,23 +22,23 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/core": "3.879.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.879.0",
|
|
27
27
|
"@aws-sdk/eventstream-handler-node": "3.873.0",
|
|
28
28
|
"@aws-sdk/middleware-eventstream": "3.873.0",
|
|
29
29
|
"@aws-sdk/middleware-host-header": "3.873.0",
|
|
30
30
|
"@aws-sdk/middleware-logger": "3.876.0",
|
|
31
31
|
"@aws-sdk/middleware-recursion-detection": "3.873.0",
|
|
32
32
|
"@aws-sdk/middleware-sdk-transcribe-streaming": "3.873.0",
|
|
33
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
33
|
+
"@aws-sdk/middleware-user-agent": "3.879.0",
|
|
34
34
|
"@aws-sdk/middleware-websocket": "3.873.0",
|
|
35
35
|
"@aws-sdk/region-config-resolver": "3.873.0",
|
|
36
36
|
"@aws-sdk/types": "3.862.0",
|
|
37
|
-
"@aws-sdk/util-endpoints": "3.
|
|
37
|
+
"@aws-sdk/util-endpoints": "3.879.0",
|
|
38
38
|
"@aws-sdk/util-user-agent-browser": "3.873.0",
|
|
39
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
39
|
+
"@aws-sdk/util-user-agent-node": "3.879.0",
|
|
40
40
|
"@smithy/config-resolver": "^4.1.5",
|
|
41
|
-
"@smithy/core": "^3.
|
|
41
|
+
"@smithy/core": "^3.9.0",
|
|
42
42
|
"@smithy/eventstream-serde-browser": "^4.0.5",
|
|
43
43
|
"@smithy/eventstream-serde-config-resolver": "^4.1.3",
|
|
44
44
|
"@smithy/eventstream-serde-node": "^4.0.5",
|
|
@@ -46,21 +46,21 @@
|
|
|
46
46
|
"@smithy/hash-node": "^4.0.5",
|
|
47
47
|
"@smithy/invalid-dependency": "^4.0.5",
|
|
48
48
|
"@smithy/middleware-content-length": "^4.0.5",
|
|
49
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
50
|
-
"@smithy/middleware-retry": "^4.1.
|
|
49
|
+
"@smithy/middleware-endpoint": "^4.1.19",
|
|
50
|
+
"@smithy/middleware-retry": "^4.1.20",
|
|
51
51
|
"@smithy/middleware-serde": "^4.0.9",
|
|
52
52
|
"@smithy/middleware-stack": "^4.0.5",
|
|
53
53
|
"@smithy/node-config-provider": "^4.1.4",
|
|
54
54
|
"@smithy/node-http-handler": "^4.1.1",
|
|
55
55
|
"@smithy/protocol-http": "^5.1.3",
|
|
56
|
-
"@smithy/smithy-client": "^4.
|
|
56
|
+
"@smithy/smithy-client": "^4.5.0",
|
|
57
57
|
"@smithy/types": "^4.3.2",
|
|
58
58
|
"@smithy/url-parser": "^4.0.5",
|
|
59
59
|
"@smithy/util-base64": "^4.0.0",
|
|
60
60
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
61
61
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
62
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
63
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
62
|
+
"@smithy/util-defaults-mode-browser": "^4.0.27",
|
|
63
|
+
"@smithy/util-defaults-mode-node": "^4.0.27",
|
|
64
64
|
"@smithy/util-endpoints": "^3.0.7",
|
|
65
65
|
"@smithy/util-middleware": "^4.0.5",
|
|
66
66
|
"@smithy/util-retry": "^4.0.7",
|