@aws-sdk/client-transcribe-streaming 3.427.0 → 3.429.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.
@@ -75,7 +75,7 @@ export interface Item {
75
75
  * <p>The type of item identified. Options are: <code>PRONUNCIATION</code> (spoken words) and
76
76
  * <code>PUNCTUATION</code>.</p>
77
77
  */
78
- Type?: ItemType | string;
78
+ Type?: ItemType;
79
79
  /**
80
80
  * @public
81
81
  * <p>The word or punctuation that was transcribed.</p>
@@ -175,7 +175,7 @@ export interface ChannelDefinition {
175
175
  * <p>Specify the speaker you want to define. Omitting this parameter is equivalent to
176
176
  * specifying both participants.</p>
177
177
  */
178
- ParticipantRole: ParticipantRole | string | undefined;
178
+ ParticipantRole: ParticipantRole | undefined;
179
179
  }
180
180
  /**
181
181
  * @public
@@ -238,7 +238,7 @@ export interface PostCallAnalyticsSettings {
238
238
  * <p>Note that to include <code>ContentRedactionOutput</code> in your request, you must
239
239
  * enable content redaction (<code>ContentRedactionType</code>).</p>
240
240
  */
241
- ContentRedactionOutput?: ContentRedactionOutput | string;
241
+ ContentRedactionOutput?: ContentRedactionOutput;
242
242
  /**
243
243
  * @public
244
244
  * <p>The KMS key you want to use to encrypt your Call Analytics post-call
@@ -425,7 +425,7 @@ export interface CallAnalyticsItem {
425
425
  * <p>The type of item identified. Options are: <code>PRONUNCIATION</code> (spoken words) and
426
426
  * <code>PUNCTUATION</code>.</p>
427
427
  */
428
- Type?: ItemType | string;
428
+ Type?: ItemType;
429
429
  /**
430
430
  * @public
431
431
  * <p>The word or punctuation that was transcribed.</p>
@@ -638,7 +638,7 @@ export interface UtteranceEvent {
638
638
  * <p>Provides the role of the speaker for each audio channel, either <code>CUSTOMER</code> or
639
639
  * <code>AGENT</code>.</p>
640
640
  */
641
- ParticipantRole?: ParticipantRole | string;
641
+ ParticipantRole?: ParticipantRole;
642
642
  /**
643
643
  * @public
644
644
  * <p>The time, in milliseconds, from the beginning of the audio stream to the start of the
@@ -672,7 +672,7 @@ export interface UtteranceEvent {
672
672
  * @public
673
673
  * <p>Provides the sentiment that was detected in the specified segment.</p>
674
674
  */
675
- Sentiment?: Sentiment | string;
675
+ Sentiment?: Sentiment;
676
676
  /**
677
677
  * @public
678
678
  * <p>Provides the issue that was detected in the specified segment.</p>
@@ -877,7 +877,7 @@ export interface LanguageWithScore {
877
877
  * @public
878
878
  * <p>The language code of the identified language.</p>
879
879
  */
880
- LanguageCode?: LanguageCode | string;
880
+ LanguageCode?: LanguageCode;
881
881
  /**
882
882
  * @public
883
883
  * <p>The confidence score associated with the identified language code. Confidence scores are values
@@ -955,7 +955,7 @@ export interface MedicalItem {
955
955
  * <p>The type of item identified. Options are: <code>PRONUNCIATION</code> (spoken
956
956
  * words) and <code>PUNCTUATION</code>.</p>
957
957
  */
958
- Type?: ItemType | string;
958
+ Type?: ItemType;
959
959
  /**
960
960
  * @public
961
961
  * <p>The word or punctuation that was transcribed.</p>
@@ -1272,7 +1272,7 @@ export interface Result {
1272
1272
  * @public
1273
1273
  * <p>The language code that represents the language spoken in your audio stream.</p>
1274
1274
  */
1275
- LanguageCode?: LanguageCode | string;
1275
+ LanguageCode?: LanguageCode;
1276
1276
  /**
1277
1277
  * @public
1278
1278
  * <p>The language code of the dominant language identified in your stream.</p>
@@ -1323,7 +1323,7 @@ export interface StartCallAnalyticsStreamTranscriptionRequest {
1323
1323
  * <a href="https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html">Supported
1324
1324
  * languages</a> table.</p>
1325
1325
  */
1326
- LanguageCode: CallAnalyticsLanguageCode | string | undefined;
1326
+ LanguageCode: CallAnalyticsLanguageCode | undefined;
1327
1327
  /**
1328
1328
  * @public
1329
1329
  * <p>The sample rate of the input audio (in hertz). Low-quality audio, such as telephone audio,
@@ -1347,7 +1347,7 @@ export interface StartCallAnalyticsStreamTranscriptionRequest {
1347
1347
  * </ul>
1348
1348
  * <p>For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/how-input.html#how-input-audio">Media formats</a>.</p>
1349
1349
  */
1350
- MediaEncoding: MediaEncoding | string | undefined;
1350
+ MediaEncoding: MediaEncoding | undefined;
1351
1351
  /**
1352
1352
  * @public
1353
1353
  * <p>Specify the name of the custom vocabulary that you want to use when processing your
@@ -1388,7 +1388,7 @@ export interface StartCallAnalyticsStreamTranscriptionRequest {
1388
1388
  * <p>To delete words, choose <code>remove</code>.</p>
1389
1389
  * <p>To flag words without changing them, choose <code>tag</code>.</p>
1390
1390
  */
1391
- VocabularyFilterMethod?: VocabularyFilterMethod | string;
1391
+ VocabularyFilterMethod?: VocabularyFilterMethod;
1392
1392
  /**
1393
1393
  * @public
1394
1394
  * <p>Specify the name of the custom language model that you want to use when processing your
@@ -1416,7 +1416,7 @@ export interface StartCallAnalyticsStreamTranscriptionRequest {
1416
1416
  * <p>For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html#streaming-partial-result-stabilization">Partial-result
1417
1417
  * stabilization</a>.</p>
1418
1418
  */
1419
- PartialResultsStability?: PartialResultsStability | string;
1419
+ PartialResultsStability?: PartialResultsStability;
1420
1420
  /**
1421
1421
  * @public
1422
1422
  * <p>Labels all personally identifiable information (PII) identified in your transcript.</p>
@@ -1428,7 +1428,7 @@ export interface StartCallAnalyticsStreamTranscriptionRequest {
1428
1428
  * <p>For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/pii-redaction.html">Redacting or identifying personally identifiable
1429
1429
  * information</a>.</p>
1430
1430
  */
1431
- ContentIdentificationType?: ContentIdentificationType | string;
1431
+ ContentIdentificationType?: ContentIdentificationType;
1432
1432
  /**
1433
1433
  * @public
1434
1434
  * <p>Redacts all personally identifiable information (PII) identified in your transcript.</p>
@@ -1440,7 +1440,7 @@ export interface StartCallAnalyticsStreamTranscriptionRequest {
1440
1440
  * <p>For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/pii-redaction.html">Redacting or identifying personally identifiable
1441
1441
  * information</a>.</p>
1442
1442
  */
1443
- ContentRedactionType?: ContentRedactionType | string;
1443
+ ContentRedactionType?: ContentRedactionType;
1444
1444
  /**
1445
1445
  * @public
1446
1446
  * <p>Specify which types of personally identifiable information (PII) you want to redact in your
@@ -1470,7 +1470,7 @@ export interface StartCallAnalyticsStreamTranscriptionResponse {
1470
1470
  * @public
1471
1471
  * <p>Provides the language code that you specified in your Call Analytics request.</p>
1472
1472
  */
1473
- LanguageCode?: CallAnalyticsLanguageCode | string;
1473
+ LanguageCode?: CallAnalyticsLanguageCode;
1474
1474
  /**
1475
1475
  * @public
1476
1476
  * <p>Provides the sample rate that you specified in your Call Analytics request.</p>
@@ -1480,7 +1480,7 @@ export interface StartCallAnalyticsStreamTranscriptionResponse {
1480
1480
  * @public
1481
1481
  * <p>Provides the media encoding you specified in your Call Analytics request.</p>
1482
1482
  */
1483
- MediaEncoding?: MediaEncoding | string;
1483
+ MediaEncoding?: MediaEncoding;
1484
1484
  /**
1485
1485
  * @public
1486
1486
  * <p>Provides the name of the custom vocabulary that you specified in your Call Analytics request.</p>
@@ -1506,7 +1506,7 @@ export interface StartCallAnalyticsStreamTranscriptionResponse {
1506
1506
  * @public
1507
1507
  * <p>Provides the vocabulary filtering method used in your Call Analytics transcription.</p>
1508
1508
  */
1509
- VocabularyFilterMethod?: VocabularyFilterMethod | string;
1509
+ VocabularyFilterMethod?: VocabularyFilterMethod;
1510
1510
  /**
1511
1511
  * @public
1512
1512
  * <p>Provides the name of the custom language model that you specified in your Call Analytics
@@ -1522,17 +1522,17 @@ export interface StartCallAnalyticsStreamTranscriptionResponse {
1522
1522
  * @public
1523
1523
  * <p>Provides the stabilization level used for your transcription.</p>
1524
1524
  */
1525
- PartialResultsStability?: PartialResultsStability | string;
1525
+ PartialResultsStability?: PartialResultsStability;
1526
1526
  /**
1527
1527
  * @public
1528
1528
  * <p>Shows whether content identification was enabled for your Call Analytics transcription.</p>
1529
1529
  */
1530
- ContentIdentificationType?: ContentIdentificationType | string;
1530
+ ContentIdentificationType?: ContentIdentificationType;
1531
1531
  /**
1532
1532
  * @public
1533
1533
  * <p>Shows whether content redaction was enabled for your Call Analytics transcription.</p>
1534
1534
  */
1535
- ContentRedactionType?: ContentRedactionType | string;
1535
+ ContentRedactionType?: ContentRedactionType;
1536
1536
  /**
1537
1537
  * @public
1538
1538
  * <p>Lists the PII entity types you specified in your Call Analytics request.</p>
@@ -1562,7 +1562,7 @@ export interface StartMedicalStreamTranscriptionRequest {
1562
1562
  * <p>Amazon Transcribe Medical only supports US English (<code>en-US</code>).</p>
1563
1563
  * </important>
1564
1564
  */
1565
- LanguageCode: LanguageCode | string | undefined;
1565
+ LanguageCode: LanguageCode | undefined;
1566
1566
  /**
1567
1567
  * @public
1568
1568
  * <p>The sample rate of the input audio (in hertz). Amazon Transcribe Medical supports a
@@ -1587,7 +1587,7 @@ export interface StartMedicalStreamTranscriptionRequest {
1587
1587
  * </ul>
1588
1588
  * <p>For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/how-input.html#how-input-audio">Media formats</a>.</p>
1589
1589
  */
1590
- MediaEncoding: MediaEncoding | string | undefined;
1590
+ MediaEncoding: MediaEncoding | undefined;
1591
1591
  /**
1592
1592
  * @public
1593
1593
  * <p>Specify the name of the custom vocabulary that you want to use when processing your
@@ -1598,14 +1598,14 @@ export interface StartMedicalStreamTranscriptionRequest {
1598
1598
  * @public
1599
1599
  * <p>Specify the medical specialty contained in your audio.</p>
1600
1600
  */
1601
- Specialty: Specialty | string | undefined;
1601
+ Specialty: Specialty | undefined;
1602
1602
  /**
1603
1603
  * @public
1604
1604
  * <p>Specify the type of input audio. For example, choose <code>DICTATION</code> for a
1605
1605
  * provider dictating patient notes and <code>CONVERSATION</code> for a dialogue between a
1606
1606
  * patient and a medical professional.</p>
1607
1607
  */
1608
- Type: Type | string | undefined;
1608
+ Type: Type | undefined;
1609
1609
  /**
1610
1610
  * @public
1611
1611
  * <p>Enables speaker partitioning (diarization) in your transcription output. Speaker
@@ -1652,7 +1652,7 @@ export interface StartMedicalStreamTranscriptionRequest {
1652
1652
  * <p>For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/phi-id.html">Identifying personal health information (PHI) in a
1653
1653
  * transcription</a>.</p>
1654
1654
  */
1655
- ContentIdentificationType?: MedicalContentIdentificationType | string;
1655
+ ContentIdentificationType?: MedicalContentIdentificationType;
1656
1656
  }
1657
1657
  /**
1658
1658
  * @public
@@ -1668,7 +1668,7 @@ export interface StartMedicalStreamTranscriptionResponse {
1668
1668
  * <p>Provides the language code that you specified in your request. This must be
1669
1669
  * <code>en-US</code>.</p>
1670
1670
  */
1671
- LanguageCode?: LanguageCode | string;
1671
+ LanguageCode?: LanguageCode;
1672
1672
  /**
1673
1673
  * @public
1674
1674
  * <p>Provides the sample rate that you specified in your request.</p>
@@ -1678,7 +1678,7 @@ export interface StartMedicalStreamTranscriptionResponse {
1678
1678
  * @public
1679
1679
  * <p>Provides the media encoding you specified in your request.</p>
1680
1680
  */
1681
- MediaEncoding?: MediaEncoding | string;
1681
+ MediaEncoding?: MediaEncoding;
1682
1682
  /**
1683
1683
  * @public
1684
1684
  * <p>Provides the name of the custom vocabulary that you specified in your request.</p>
@@ -1688,12 +1688,12 @@ export interface StartMedicalStreamTranscriptionResponse {
1688
1688
  * @public
1689
1689
  * <p>Provides the medical specialty that you specified in your request.</p>
1690
1690
  */
1691
- Specialty?: Specialty | string;
1691
+ Specialty?: Specialty;
1692
1692
  /**
1693
1693
  * @public
1694
1694
  * <p>Provides the type of audio you specified in your request.</p>
1695
1695
  */
1696
- Type?: Type | string;
1696
+ Type?: Type;
1697
1697
  /**
1698
1698
  * @public
1699
1699
  * <p>Shows whether speaker partitioning was enabled for your transcription.</p>
@@ -1723,7 +1723,7 @@ export interface StartMedicalStreamTranscriptionResponse {
1723
1723
  * @public
1724
1724
  * <p>Shows whether content identification was enabled for your transcription.</p>
1725
1725
  */
1726
- ContentIdentificationType?: MedicalContentIdentificationType | string;
1726
+ ContentIdentificationType?: MedicalContentIdentificationType;
1727
1727
  }
1728
1728
  /**
1729
1729
  * @public
@@ -1738,7 +1738,7 @@ export interface StartStreamTranscriptionRequest {
1738
1738
  * <a href="https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html">Supported
1739
1739
  * languages</a> table.</p>
1740
1740
  */
1741
- LanguageCode?: LanguageCode | string;
1741
+ LanguageCode?: LanguageCode;
1742
1742
  /**
1743
1743
  * @public
1744
1744
  * <p>The sample rate of the input audio (in hertz). Low-quality audio, such as telephone audio,
@@ -1762,7 +1762,7 @@ export interface StartStreamTranscriptionRequest {
1762
1762
  * </ul>
1763
1763
  * <p>For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/how-input.html#how-input-audio">Media formats</a>.</p>
1764
1764
  */
1765
- MediaEncoding: MediaEncoding | string | undefined;
1765
+ MediaEncoding: MediaEncoding | undefined;
1766
1766
  /**
1767
1767
  * @public
1768
1768
  * <p>Specify the name of the custom vocabulary that you want to use when processing your
@@ -1815,7 +1815,7 @@ export interface StartStreamTranscriptionRequest {
1815
1815
  * <p>To delete words, choose <code>remove</code>.</p>
1816
1816
  * <p>To flag words without changing them, choose <code>tag</code>.</p>
1817
1817
  */
1818
- VocabularyFilterMethod?: VocabularyFilterMethod | string;
1818
+ VocabularyFilterMethod?: VocabularyFilterMethod;
1819
1819
  /**
1820
1820
  * @public
1821
1821
  * <p>Enables speaker partitioning (diarization) in your transcription output. Speaker partitioning
@@ -1856,7 +1856,7 @@ export interface StartStreamTranscriptionRequest {
1856
1856
  * <p>For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html#streaming-partial-result-stabilization">Partial-result
1857
1857
  * stabilization</a>.</p>
1858
1858
  */
1859
- PartialResultsStability?: PartialResultsStability | string;
1859
+ PartialResultsStability?: PartialResultsStability;
1860
1860
  /**
1861
1861
  * @public
1862
1862
  * <p>Labels all personally identifiable information (PII) identified in your transcript.</p>
@@ -1868,7 +1868,7 @@ export interface StartStreamTranscriptionRequest {
1868
1868
  * <p>For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/pii-redaction.html">Redacting or identifying personally identifiable
1869
1869
  * information</a>.</p>
1870
1870
  */
1871
- ContentIdentificationType?: ContentIdentificationType | string;
1871
+ ContentIdentificationType?: ContentIdentificationType;
1872
1872
  /**
1873
1873
  * @public
1874
1874
  * <p>Redacts all personally identifiable information (PII) identified in your transcript.</p>
@@ -1880,7 +1880,7 @@ export interface StartStreamTranscriptionRequest {
1880
1880
  * <p>For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/pii-redaction.html">Redacting or identifying personally identifiable
1881
1881
  * information</a>.</p>
1882
1882
  */
1883
- ContentRedactionType?: ContentRedactionType | string;
1883
+ ContentRedactionType?: ContentRedactionType;
1884
1884
  /**
1885
1885
  * @public
1886
1886
  * <p>Specify which types of personally identifiable information (PII) you want to redact in your
@@ -1949,7 +1949,7 @@ export interface StartStreamTranscriptionRequest {
1949
1949
  * <p>You can only use this parameter if you've included <code>IdentifyLanguage</code> and
1950
1950
  * <code>LanguageOptions</code> in your request.</p>
1951
1951
  */
1952
- PreferredLanguage?: LanguageCode | string;
1952
+ PreferredLanguage?: LanguageCode;
1953
1953
  /**
1954
1954
  * @public
1955
1955
  * <p>Specify the names of the custom vocabularies that you want to use when processing your
@@ -2148,7 +2148,7 @@ export interface StartStreamTranscriptionResponse {
2148
2148
  * @public
2149
2149
  * <p>Provides the language code that you specified in your request.</p>
2150
2150
  */
2151
- LanguageCode?: LanguageCode | string;
2151
+ LanguageCode?: LanguageCode;
2152
2152
  /**
2153
2153
  * @public
2154
2154
  * <p>Provides the sample rate that you specified in your request.</p>
@@ -2158,7 +2158,7 @@ export interface StartStreamTranscriptionResponse {
2158
2158
  * @public
2159
2159
  * <p>Provides the media encoding you specified in your request.</p>
2160
2160
  */
2161
- MediaEncoding?: MediaEncoding | string;
2161
+ MediaEncoding?: MediaEncoding;
2162
2162
  /**
2163
2163
  * @public
2164
2164
  * <p>Provides the name of the custom vocabulary that you specified in your request.</p>
@@ -2184,7 +2184,7 @@ export interface StartStreamTranscriptionResponse {
2184
2184
  * @public
2185
2185
  * <p>Provides the vocabulary filtering method used in your transcription.</p>
2186
2186
  */
2187
- VocabularyFilterMethod?: VocabularyFilterMethod | string;
2187
+ VocabularyFilterMethod?: VocabularyFilterMethod;
2188
2188
  /**
2189
2189
  * @public
2190
2190
  * <p>Shows whether speaker partitioning was enabled for your transcription.</p>
@@ -2209,17 +2209,17 @@ export interface StartStreamTranscriptionResponse {
2209
2209
  * @public
2210
2210
  * <p>Provides the stabilization level used for your transcription.</p>
2211
2211
  */
2212
- PartialResultsStability?: PartialResultsStability | string;
2212
+ PartialResultsStability?: PartialResultsStability;
2213
2213
  /**
2214
2214
  * @public
2215
2215
  * <p>Shows whether content identification was enabled for your transcription.</p>
2216
2216
  */
2217
- ContentIdentificationType?: ContentIdentificationType | string;
2217
+ ContentIdentificationType?: ContentIdentificationType;
2218
2218
  /**
2219
2219
  * @public
2220
2220
  * <p>Shows whether content redaction was enabled for your transcription.</p>
2221
2221
  */
2222
- ContentRedactionType?: ContentRedactionType | string;
2222
+ ContentRedactionType?: ContentRedactionType;
2223
2223
  /**
2224
2224
  * @public
2225
2225
  * <p>Lists the PII entity types you specified in your request.</p>
@@ -2245,7 +2245,7 @@ export interface StartStreamTranscriptionResponse {
2245
2245
  * @public
2246
2246
  * <p>Provides the preferred language that you specified in your request.</p>
2247
2247
  */
2248
- PreferredLanguage?: LanguageCode | string;
2248
+ PreferredLanguage?: LanguageCode;
2249
2249
  /**
2250
2250
  * @public
2251
2251
  * <p>Provides the names of the custom vocabularies that you specified in your request.</p>
@@ -16,7 +16,7 @@ export type ItemType = (typeof ItemType)[keyof typeof ItemType];
16
16
  export interface Item {
17
17
  StartTime?: number;
18
18
  EndTime?: number;
19
- Type?: ItemType | string;
19
+ Type?: ItemType;
20
20
  Content?: string;
21
21
  VocabularyFilterMatch?: boolean;
22
22
  Speaker?: string;
@@ -39,7 +39,7 @@ export type ParticipantRole =
39
39
  (typeof ParticipantRole)[keyof typeof ParticipantRole];
40
40
  export interface ChannelDefinition {
41
41
  ChannelId: number | undefined;
42
- ParticipantRole: ParticipantRole | string | undefined;
42
+ ParticipantRole: ParticipantRole | undefined;
43
43
  }
44
44
  export declare const ContentRedactionOutput: {
45
45
  readonly REDACTED: "redacted";
@@ -50,7 +50,7 @@ export type ContentRedactionOutput =
50
50
  export interface PostCallAnalyticsSettings {
51
51
  OutputLocation: string | undefined;
52
52
  DataAccessRoleArn: string | undefined;
53
- ContentRedactionOutput?: ContentRedactionOutput | string;
53
+ ContentRedactionOutput?: ContentRedactionOutput;
54
54
  OutputEncryptionKMSKeyId?: string;
55
55
  }
56
56
  export interface ConfigurationEvent {
@@ -103,7 +103,7 @@ export interface CallAnalyticsEntity {
103
103
  export interface CallAnalyticsItem {
104
104
  BeginOffsetMillis?: number;
105
105
  EndOffsetMillis?: number;
106
- Type?: ItemType | string;
106
+ Type?: ItemType;
107
107
  Content?: string;
108
108
  Confidence?: number;
109
109
  VocabularyFilterMatch?: boolean;
@@ -180,13 +180,13 @@ export type Sentiment = (typeof Sentiment)[keyof typeof Sentiment];
180
180
  export interface UtteranceEvent {
181
181
  UtteranceId?: string;
182
182
  IsPartial?: boolean;
183
- ParticipantRole?: ParticipantRole | string;
183
+ ParticipantRole?: ParticipantRole;
184
184
  BeginOffsetMillis?: number;
185
185
  EndOffsetMillis?: number;
186
186
  Transcript?: string;
187
187
  Items?: CallAnalyticsItem[];
188
188
  Entities?: CallAnalyticsEntity[];
189
- Sentiment?: Sentiment | string;
189
+ Sentiment?: Sentiment;
190
190
  IssuesDetected?: IssueDetected[];
191
191
  }
192
192
  export type CallAnalyticsTranscriptResultStream =
@@ -322,7 +322,7 @@ export declare const LanguageCode: {
322
322
  };
323
323
  export type LanguageCode = (typeof LanguageCode)[keyof typeof LanguageCode];
324
324
  export interface LanguageWithScore {
325
- LanguageCode?: LanguageCode | string;
325
+ LanguageCode?: LanguageCode;
326
326
  Score?: number;
327
327
  }
328
328
  export declare const MediaEncoding: {
@@ -341,7 +341,7 @@ export interface MedicalEntity {
341
341
  export interface MedicalItem {
342
342
  StartTime?: number;
343
343
  EndTime?: number;
344
- Type?: ItemType | string;
344
+ Type?: ItemType;
345
345
  Content?: string;
346
346
  Confidence?: number;
347
347
  Speaker?: string;
@@ -470,7 +470,7 @@ export interface Result {
470
470
  IsPartial?: boolean;
471
471
  Alternatives?: Alternative[];
472
472
  ChannelId?: string;
473
- LanguageCode?: LanguageCode | string;
473
+ LanguageCode?: LanguageCode;
474
474
  LanguageIdentification?: LanguageWithScore[];
475
475
  }
476
476
  export declare const Specialty: {
@@ -490,36 +490,36 @@ export declare const VocabularyFilterMethod: {
490
490
  export type VocabularyFilterMethod =
491
491
  (typeof VocabularyFilterMethod)[keyof typeof VocabularyFilterMethod];
492
492
  export interface StartCallAnalyticsStreamTranscriptionRequest {
493
- LanguageCode: CallAnalyticsLanguageCode | string | undefined;
493
+ LanguageCode: CallAnalyticsLanguageCode | undefined;
494
494
  MediaSampleRateHertz: number | undefined;
495
- MediaEncoding: MediaEncoding | string | undefined;
495
+ MediaEncoding: MediaEncoding | undefined;
496
496
  VocabularyName?: string;
497
497
  SessionId?: string;
498
498
  AudioStream: AsyncIterable<AudioStream> | undefined;
499
499
  VocabularyFilterName?: string;
500
- VocabularyFilterMethod?: VocabularyFilterMethod | string;
500
+ VocabularyFilterMethod?: VocabularyFilterMethod;
501
501
  LanguageModelName?: string;
502
502
  EnablePartialResultsStabilization?: boolean;
503
- PartialResultsStability?: PartialResultsStability | string;
504
- ContentIdentificationType?: ContentIdentificationType | string;
505
- ContentRedactionType?: ContentRedactionType | string;
503
+ PartialResultsStability?: PartialResultsStability;
504
+ ContentIdentificationType?: ContentIdentificationType;
505
+ ContentRedactionType?: ContentRedactionType;
506
506
  PiiEntityTypes?: string;
507
507
  }
508
508
  export interface StartCallAnalyticsStreamTranscriptionResponse {
509
509
  RequestId?: string;
510
- LanguageCode?: CallAnalyticsLanguageCode | string;
510
+ LanguageCode?: CallAnalyticsLanguageCode;
511
511
  MediaSampleRateHertz?: number;
512
- MediaEncoding?: MediaEncoding | string;
512
+ MediaEncoding?: MediaEncoding;
513
513
  VocabularyName?: string;
514
514
  SessionId?: string;
515
515
  CallAnalyticsTranscriptResultStream?: AsyncIterable<CallAnalyticsTranscriptResultStream>;
516
516
  VocabularyFilterName?: string;
517
- VocabularyFilterMethod?: VocabularyFilterMethod | string;
517
+ VocabularyFilterMethod?: VocabularyFilterMethod;
518
518
  LanguageModelName?: string;
519
519
  EnablePartialResultsStabilization?: boolean;
520
- PartialResultsStability?: PartialResultsStability | string;
521
- ContentIdentificationType?: ContentIdentificationType | string;
522
- ContentRedactionType?: ContentRedactionType | string;
520
+ PartialResultsStability?: PartialResultsStability;
521
+ ContentIdentificationType?: ContentIdentificationType;
522
+ ContentRedactionType?: ContentRedactionType;
523
523
  PiiEntityTypes?: string;
524
524
  }
525
525
  export declare const Type: {
@@ -528,55 +528,55 @@ export declare const Type: {
528
528
  };
529
529
  export type Type = (typeof Type)[keyof typeof Type];
530
530
  export interface StartMedicalStreamTranscriptionRequest {
531
- LanguageCode: LanguageCode | string | undefined;
531
+ LanguageCode: LanguageCode | undefined;
532
532
  MediaSampleRateHertz: number | undefined;
533
- MediaEncoding: MediaEncoding | string | undefined;
533
+ MediaEncoding: MediaEncoding | undefined;
534
534
  VocabularyName?: string;
535
- Specialty: Specialty | string | undefined;
536
- Type: Type | string | undefined;
535
+ Specialty: Specialty | undefined;
536
+ Type: Type | undefined;
537
537
  ShowSpeakerLabel?: boolean;
538
538
  SessionId?: string;
539
539
  AudioStream: AsyncIterable<AudioStream> | undefined;
540
540
  EnableChannelIdentification?: boolean;
541
541
  NumberOfChannels?: number;
542
- ContentIdentificationType?: MedicalContentIdentificationType | string;
542
+ ContentIdentificationType?: MedicalContentIdentificationType;
543
543
  }
544
544
  export interface StartMedicalStreamTranscriptionResponse {
545
545
  RequestId?: string;
546
- LanguageCode?: LanguageCode | string;
546
+ LanguageCode?: LanguageCode;
547
547
  MediaSampleRateHertz?: number;
548
- MediaEncoding?: MediaEncoding | string;
548
+ MediaEncoding?: MediaEncoding;
549
549
  VocabularyName?: string;
550
- Specialty?: Specialty | string;
551
- Type?: Type | string;
550
+ Specialty?: Specialty;
551
+ Type?: Type;
552
552
  ShowSpeakerLabel?: boolean;
553
553
  SessionId?: string;
554
554
  TranscriptResultStream?: AsyncIterable<MedicalTranscriptResultStream>;
555
555
  EnableChannelIdentification?: boolean;
556
556
  NumberOfChannels?: number;
557
- ContentIdentificationType?: MedicalContentIdentificationType | string;
557
+ ContentIdentificationType?: MedicalContentIdentificationType;
558
558
  }
559
559
  export interface StartStreamTranscriptionRequest {
560
- LanguageCode?: LanguageCode | string;
560
+ LanguageCode?: LanguageCode;
561
561
  MediaSampleRateHertz: number | undefined;
562
- MediaEncoding: MediaEncoding | string | undefined;
562
+ MediaEncoding: MediaEncoding | undefined;
563
563
  VocabularyName?: string;
564
564
  SessionId?: string;
565
565
  AudioStream: AsyncIterable<AudioStream> | undefined;
566
566
  VocabularyFilterName?: string;
567
- VocabularyFilterMethod?: VocabularyFilterMethod | string;
567
+ VocabularyFilterMethod?: VocabularyFilterMethod;
568
568
  ShowSpeakerLabel?: boolean;
569
569
  EnableChannelIdentification?: boolean;
570
570
  NumberOfChannels?: number;
571
571
  EnablePartialResultsStabilization?: boolean;
572
- PartialResultsStability?: PartialResultsStability | string;
573
- ContentIdentificationType?: ContentIdentificationType | string;
574
- ContentRedactionType?: ContentRedactionType | string;
572
+ PartialResultsStability?: PartialResultsStability;
573
+ ContentIdentificationType?: ContentIdentificationType;
574
+ ContentRedactionType?: ContentRedactionType;
575
575
  PiiEntityTypes?: string;
576
576
  LanguageModelName?: string;
577
577
  IdentifyLanguage?: boolean;
578
578
  LanguageOptions?: string;
579
- PreferredLanguage?: LanguageCode | string;
579
+ PreferredLanguage?: LanguageCode;
580
580
  VocabularyNames?: string;
581
581
  VocabularyFilterNames?: string;
582
582
  }
@@ -671,26 +671,26 @@ export declare namespace TranscriptResultStream {
671
671
  }
672
672
  export interface StartStreamTranscriptionResponse {
673
673
  RequestId?: string;
674
- LanguageCode?: LanguageCode | string;
674
+ LanguageCode?: LanguageCode;
675
675
  MediaSampleRateHertz?: number;
676
- MediaEncoding?: MediaEncoding | string;
676
+ MediaEncoding?: MediaEncoding;
677
677
  VocabularyName?: string;
678
678
  SessionId?: string;
679
679
  TranscriptResultStream?: AsyncIterable<TranscriptResultStream>;
680
680
  VocabularyFilterName?: string;
681
- VocabularyFilterMethod?: VocabularyFilterMethod | string;
681
+ VocabularyFilterMethod?: VocabularyFilterMethod;
682
682
  ShowSpeakerLabel?: boolean;
683
683
  EnableChannelIdentification?: boolean;
684
684
  NumberOfChannels?: number;
685
685
  EnablePartialResultsStabilization?: boolean;
686
- PartialResultsStability?: PartialResultsStability | string;
687
- ContentIdentificationType?: ContentIdentificationType | string;
688
- ContentRedactionType?: ContentRedactionType | string;
686
+ PartialResultsStability?: PartialResultsStability;
687
+ ContentIdentificationType?: ContentIdentificationType;
688
+ ContentRedactionType?: ContentRedactionType;
689
689
  PiiEntityTypes?: string;
690
690
  LanguageModelName?: string;
691
691
  IdentifyLanguage?: boolean;
692
692
  LanguageOptions?: string;
693
- PreferredLanguage?: LanguageCode | string;
693
+ PreferredLanguage?: LanguageCode;
694
694
  VocabularyNames?: string;
695
695
  VocabularyFilterNames?: string;
696
696
  }
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.427.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -22,46 +22,46 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "3.0.0",
24
24
  "@aws-crypto/sha256-js": "3.0.0",
25
- "@aws-sdk/client-sts": "3.427.0",
26
- "@aws-sdk/credential-provider-node": "3.427.0",
27
- "@aws-sdk/eventstream-handler-node": "3.425.0",
28
- "@aws-sdk/middleware-eventstream": "3.425.0",
29
- "@aws-sdk/middleware-host-header": "3.425.0",
30
- "@aws-sdk/middleware-logger": "3.425.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
32
- "@aws-sdk/middleware-sdk-transcribe-streaming": "3.425.0",
33
- "@aws-sdk/middleware-signing": "3.425.0",
34
- "@aws-sdk/middleware-user-agent": "3.427.0",
35
- "@aws-sdk/middleware-websocket": "3.425.0",
36
- "@aws-sdk/region-config-resolver": "3.425.0",
37
- "@aws-sdk/types": "3.425.0",
38
- "@aws-sdk/util-endpoints": "3.427.0",
39
- "@aws-sdk/util-user-agent-browser": "3.425.0",
40
- "@aws-sdk/util-user-agent-node": "3.425.0",
41
- "@smithy/config-resolver": "^2.0.11",
42
- "@smithy/eventstream-serde-browser": "^2.0.10",
43
- "@smithy/eventstream-serde-config-resolver": "^2.0.10",
44
- "@smithy/eventstream-serde-node": "^2.0.10",
45
- "@smithy/fetch-http-handler": "^2.2.1",
46
- "@smithy/hash-node": "^2.0.10",
47
- "@smithy/invalid-dependency": "^2.0.10",
48
- "@smithy/middleware-content-length": "^2.0.12",
49
- "@smithy/middleware-endpoint": "^2.0.10",
50
- "@smithy/middleware-retry": "^2.0.13",
51
- "@smithy/middleware-serde": "^2.0.10",
52
- "@smithy/middleware-stack": "^2.0.4",
53
- "@smithy/node-config-provider": "^2.0.13",
54
- "@smithy/node-http-handler": "^2.1.6",
55
- "@smithy/protocol-http": "^3.0.6",
56
- "@smithy/smithy-client": "^2.1.9",
57
- "@smithy/types": "^2.3.4",
58
- "@smithy/url-parser": "^2.0.10",
25
+ "@aws-sdk/client-sts": "3.429.0",
26
+ "@aws-sdk/credential-provider-node": "3.429.0",
27
+ "@aws-sdk/eventstream-handler-node": "3.428.0",
28
+ "@aws-sdk/middleware-eventstream": "3.429.0",
29
+ "@aws-sdk/middleware-host-header": "3.429.0",
30
+ "@aws-sdk/middleware-logger": "3.428.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
32
+ "@aws-sdk/middleware-sdk-transcribe-streaming": "3.428.0",
33
+ "@aws-sdk/middleware-signing": "3.428.0",
34
+ "@aws-sdk/middleware-user-agent": "3.428.0",
35
+ "@aws-sdk/middleware-websocket": "3.428.0",
36
+ "@aws-sdk/region-config-resolver": "3.428.0",
37
+ "@aws-sdk/types": "3.428.0",
38
+ "@aws-sdk/util-endpoints": "3.428.0",
39
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
40
+ "@aws-sdk/util-user-agent-node": "3.428.0",
41
+ "@smithy/config-resolver": "^2.0.14",
42
+ "@smithy/eventstream-serde-browser": "^2.0.11",
43
+ "@smithy/eventstream-serde-config-resolver": "^2.0.11",
44
+ "@smithy/eventstream-serde-node": "^2.0.11",
45
+ "@smithy/fetch-http-handler": "^2.2.3",
46
+ "@smithy/hash-node": "^2.0.11",
47
+ "@smithy/invalid-dependency": "^2.0.11",
48
+ "@smithy/middleware-content-length": "^2.0.13",
49
+ "@smithy/middleware-endpoint": "^2.1.1",
50
+ "@smithy/middleware-retry": "^2.0.16",
51
+ "@smithy/middleware-serde": "^2.0.11",
52
+ "@smithy/middleware-stack": "^2.0.5",
53
+ "@smithy/node-config-provider": "^2.1.1",
54
+ "@smithy/node-http-handler": "^2.1.7",
55
+ "@smithy/protocol-http": "^3.0.7",
56
+ "@smithy/smithy-client": "^2.1.11",
57
+ "@smithy/types": "^2.3.5",
58
+ "@smithy/url-parser": "^2.0.11",
59
59
  "@smithy/util-base64": "^2.0.0",
60
60
  "@smithy/util-body-length-browser": "^2.0.0",
61
61
  "@smithy/util-body-length-node": "^2.1.0",
62
- "@smithy/util-defaults-mode-browser": "^2.0.13",
63
- "@smithy/util-defaults-mode-node": "^2.0.15",
64
- "@smithy/util-retry": "^2.0.3",
62
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
63
+ "@smithy/util-defaults-mode-node": "^2.0.19",
64
+ "@smithy/util-retry": "^2.0.4",
65
65
  "@smithy/util-utf8": "^2.0.0",
66
66
  "tslib": "^2.5.0"
67
67
  },