@aws-sdk/client-transcribe 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.
@@ -117,7 +117,7 @@ export interface ChannelDefinition {
117
117
  * <p>Specify the speaker you want to define. Omitting this parameter is equivalent to
118
118
  * specifying both participants.</p>
119
119
  */
120
- ParticipantRole?: ParticipantRole | string;
120
+ ParticipantRole?: ParticipantRole;
121
121
  }
122
122
  /**
123
123
  * @public
@@ -232,6 +232,7 @@ export interface Media {
232
232
  export declare const MediaFormat: {
233
233
  readonly AMR: "amr";
234
234
  readonly FLAC: "flac";
235
+ readonly M4A: "m4a";
235
236
  readonly MP3: "mp3";
236
237
  readonly MP4: "mp4";
237
238
  readonly OGG: "ogg";
@@ -301,7 +302,7 @@ export interface ContentRedaction {
301
302
  * identifiable information) is the only valid value. You can use
302
303
  * <code>PiiEntityTypes</code> to choose which types of PII you want to redact.</p>
303
304
  */
304
- RedactionType: RedactionType | string | undefined;
305
+ RedactionType: RedactionType | undefined;
305
306
  /**
306
307
  * @public
307
308
  * <p>Specify if you want only a redacted transcript, or if you want a redacted and an
@@ -312,14 +313,14 @@ export interface ContentRedaction {
312
313
  * Amazon Transcribe creates a redacted and an unredacted transcript (as two separate
313
314
  * files).</p>
314
315
  */
315
- RedactionOutput: RedactionOutput | string | undefined;
316
+ RedactionOutput: RedactionOutput | undefined;
316
317
  /**
317
318
  * @public
318
319
  * <p>Specify which types of personally identifiable information (PII) you want to redact in
319
320
  * your transcript. You can include as many types as you'd like, or you can select
320
321
  * <code>ALL</code>.</p>
321
322
  */
322
- PiiEntityTypes?: (PiiEntityType | string)[];
323
+ PiiEntityTypes?: PiiEntityType[];
323
324
  }
324
325
  /**
325
326
  * @public
@@ -427,7 +428,7 @@ export interface CallAnalyticsJobSettings {
427
428
  * <p>To delete words, choose <code>remove</code>.</p>
428
429
  * <p>To flag words without changing them, choose <code>tag</code>.</p>
429
430
  */
430
- VocabularyFilterMethod?: VocabularyFilterMethod | string;
431
+ VocabularyFilterMethod?: VocabularyFilterMethod;
431
432
  /**
432
433
  * @public
433
434
  * <p>The name of the custom language model you want to use when processing your Call
@@ -457,7 +458,7 @@ export interface CallAnalyticsJobSettings {
457
458
  * <p>To transcribe speech in Modern Standard Arabic (<code>ar-SA</code>), your media file
458
459
  * must be encoded at a sample rate of 16,000 Hz or higher.</p>
459
460
  */
460
- LanguageOptions?: (LanguageCode | string)[];
461
+ LanguageOptions?: LanguageCode[];
461
462
  /**
462
463
  * @public
463
464
  * <p>If using automatic language identification in your request and you want to apply a
@@ -487,7 +488,7 @@ export interface CallAnalyticsJobSettings {
487
488
  * <p>For a list of languages supported with Call Analytics, refer to <a href="https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html">Supported languages and
488
489
  * language-specific features</a>.</p>
489
490
  */
490
- LanguageIdSettings?: Record<string, LanguageIdSettings>;
491
+ LanguageIdSettings?: Record<LanguageCode, LanguageIdSettings>;
491
492
  }
492
493
  /**
493
494
  * @public
@@ -565,7 +566,7 @@ export interface CallAnalyticsJob {
565
566
  * the status is <code>FAILED</code>, <code>FailureReason</code> provides details on why
566
567
  * your transcription job failed.</p>
567
568
  */
568
- CallAnalyticsJobStatus?: CallAnalyticsJobStatus | string;
569
+ CallAnalyticsJobStatus?: CallAnalyticsJobStatus;
569
570
  /**
570
571
  * @public
571
572
  * <p>The language code used to create your Call Analytics job. For a list of supported
@@ -575,7 +576,7 @@ export interface CallAnalyticsJob {
575
576
  * let Amazon Transcribe automatically identify the language of your media. To improve the
576
577
  * accuracy of language identification, you can include several language codes and Amazon Transcribe chooses the closest match for your transcription.</p>
577
578
  */
578
- LanguageCode?: LanguageCode | string;
579
+ LanguageCode?: LanguageCode;
579
580
  /**
580
581
  * @public
581
582
  * <p>The sample rate, in hertz, of the audio track in your input media file.</p>
@@ -585,7 +586,7 @@ export interface CallAnalyticsJob {
585
586
  * @public
586
587
  * <p>The format of the input media file.</p>
587
588
  */
588
- MediaFormat?: MediaFormat | string;
589
+ MediaFormat?: MediaFormat;
589
590
  /**
590
591
  * @public
591
592
  * <p>Provides the Amazon S3 location of the media file you used in your Call
@@ -741,7 +742,7 @@ export interface CallAnalyticsJobSummary {
741
742
  * @public
742
743
  * <p>The language code used to create your Call Analytics transcription.</p>
743
744
  */
744
- LanguageCode?: LanguageCode | string;
745
+ LanguageCode?: LanguageCode;
745
746
  /**
746
747
  * @public
747
748
  * <p>Provides the status of your Call Analytics job.</p>
@@ -751,7 +752,7 @@ export interface CallAnalyticsJobSummary {
751
752
  * the status is <code>FAILED</code>, <code>FailureReason</code> provides details on why
752
753
  * your transcription job failed.</p>
753
754
  */
754
- CallAnalyticsJobStatus?: CallAnalyticsJobStatus | string;
755
+ CallAnalyticsJobStatus?: CallAnalyticsJobStatus;
755
756
  /**
756
757
  * @public
757
758
  * <p>If <code>CallAnalyticsJobStatus</code> is <code>FAILED</code>,
@@ -849,7 +850,7 @@ export interface InterruptionFilter {
849
850
  * <p>Specify the interrupter that you want to flag. Omitting this parameter is equivalent
850
851
  * to specifying both participants.</p>
851
852
  */
852
- ParticipantRole?: ParticipantRole | string;
853
+ ParticipantRole?: ParticipantRole;
853
854
  /**
854
855
  * @public
855
856
  * <p>Makes it possible to specify a time range (in milliseconds) in your audio, during
@@ -956,7 +957,7 @@ export interface SentimentFilter {
956
957
  * @public
957
958
  * <p>Specify the sentiments that you want to flag.</p>
958
959
  */
959
- Sentiments: (SentimentValue | string)[] | undefined;
960
+ Sentiments: SentimentValue[] | undefined;
960
961
  /**
961
962
  * @public
962
963
  * <p>Makes it possible to specify a time range (in milliseconds) in your audio, during
@@ -974,7 +975,7 @@ export interface SentimentFilter {
974
975
  * <p>Specify the participant that you want to flag. Omitting this parameter is equivalent
975
976
  * to specifying both participants.</p>
976
977
  */
977
- ParticipantRole?: ParticipantRole | string;
978
+ ParticipantRole?: ParticipantRole;
978
979
  /**
979
980
  * @public
980
981
  * <p>Set to <code>TRUE</code> to flag the sentiments that you didn't include in your
@@ -1025,7 +1026,7 @@ export interface TranscriptFilter {
1025
1026
  * "speak to <i>the</i> manager", instead of "speak to <i>a</i>
1026
1027
  * manager", your content is not flagged.</p>
1027
1028
  */
1028
- TranscriptFilterType: TranscriptFilterType | string | undefined;
1029
+ TranscriptFilterType: TranscriptFilterType | undefined;
1029
1030
  /**
1030
1031
  * @public
1031
1032
  * <p>Makes it possible to specify a time range (in milliseconds) in your audio, during
@@ -1043,7 +1044,7 @@ export interface TranscriptFilter {
1043
1044
  * <p>Specify the participant that you want to flag. Omitting this parameter is equivalent
1044
1045
  * to specifying both participants.</p>
1045
1046
  */
1046
- ParticipantRole?: ParticipantRole | string;
1047
+ ParticipantRole?: ParticipantRole;
1047
1048
  /**
1048
1049
  * @public
1049
1050
  * <p>Set to <code>TRUE</code> to flag the absence of the phrase that you specified in your
@@ -1183,7 +1184,7 @@ export interface CategoryProperties {
1183
1184
  * refers to a category that is applied to batch transcriptions; <code>REAL_TIME</code>
1184
1185
  * refers to a category that is applied to streaming transcriptions.</p>
1185
1186
  */
1186
- InputType?: InputType | string;
1187
+ InputType?: InputType;
1187
1188
  }
1188
1189
  /**
1189
1190
  * @public
@@ -1249,7 +1250,7 @@ export interface CreateCallAnalyticsCategoryRequest {
1249
1250
  * <p>If you do not include <code>InputType</code>, your category is created as a post-call
1250
1251
  * category by default.</p>
1251
1252
  */
1252
- InputType?: InputType | string;
1253
+ InputType?: InputType;
1253
1254
  }
1254
1255
  /**
1255
1256
  * @public
@@ -1375,7 +1376,7 @@ export interface CreateLanguageModelRequest {
1375
1376
  * (<code>en-US</code>), you can only apply this model to files that contain English
1376
1377
  * audio.</p>
1377
1378
  */
1378
- LanguageCode: CLMLanguageCode | string | undefined;
1379
+ LanguageCode: CLMLanguageCode | undefined;
1379
1380
  /**
1380
1381
  * @public
1381
1382
  * <p>The Amazon Transcribe standard language model, or base model, used to create your
@@ -1385,7 +1386,7 @@ export interface CreateLanguageModelRequest {
1385
1386
  * <code>WideBand</code>. To transcribe audio with a sample rate less than 16,000 Hz,
1386
1387
  * choose <code>NarrowBand</code>.</p>
1387
1388
  */
1388
- BaseModelName: BaseModelName | string | undefined;
1389
+ BaseModelName: BaseModelName | undefined;
1389
1390
  /**
1390
1391
  * @public
1391
1392
  * <p>A unique name, chosen by you, for your custom language model.</p>
@@ -1438,13 +1439,13 @@ export interface CreateLanguageModelResponse {
1438
1439
  * @public
1439
1440
  * <p>The language code you selected for your custom language model.</p>
1440
1441
  */
1441
- LanguageCode?: CLMLanguageCode | string;
1442
+ LanguageCode?: CLMLanguageCode;
1442
1443
  /**
1443
1444
  * @public
1444
1445
  * <p>The Amazon Transcribe standard language model, or base model, you specified when
1445
1446
  * creating your custom language model.</p>
1446
1447
  */
1447
- BaseModelName?: BaseModelName | string;
1448
+ BaseModelName?: BaseModelName;
1448
1449
  /**
1449
1450
  * @public
1450
1451
  * <p>The name of your custom language model.</p>
@@ -1462,7 +1463,7 @@ export interface CreateLanguageModelResponse {
1462
1463
  * <p>The status of your custom language model. When the status displays as
1463
1464
  * <code>COMPLETED</code>, your model is ready to use.</p>
1464
1465
  */
1465
- ModelStatus?: ModelStatus | string;
1466
+ ModelStatus?: ModelStatus;
1466
1467
  }
1467
1468
  /**
1468
1469
  * @public
@@ -1482,7 +1483,7 @@ export interface CreateMedicalVocabularyRequest {
1482
1483
  * <p>The language code that represents the language of the entries in your custom
1483
1484
  * vocabulary. US English (<code>en-US</code>) is the only language supported with Amazon Transcribe Medical.</p>
1484
1485
  */
1485
- LanguageCode: LanguageCode | string | undefined;
1486
+ LanguageCode: LanguageCode | undefined;
1486
1487
  /**
1487
1488
  * @public
1488
1489
  * <p>The Amazon S3 location (URI) of the text file that contains your custom
@@ -1530,14 +1531,14 @@ export interface CreateMedicalVocabularyResponse {
1530
1531
  * (<code>en-US</code>) is the only language supported with Amazon Transcribe
1531
1532
  * Medical.</p>
1532
1533
  */
1533
- LanguageCode?: LanguageCode | string;
1534
+ LanguageCode?: LanguageCode;
1534
1535
  /**
1535
1536
  * @public
1536
1537
  * <p>The processing state of your custom medical vocabulary. If the state is
1537
1538
  * <code>READY</code>, you can use the custom vocabulary in a
1538
1539
  * <code>StartMedicalTranscriptionJob</code> request.</p>
1539
1540
  */
1540
- VocabularyState?: VocabularyState | string;
1541
+ VocabularyState?: VocabularyState;
1541
1542
  /**
1542
1543
  * @public
1543
1544
  * <p>The date and time you created your custom medical vocabulary.</p>
@@ -1578,7 +1579,7 @@ export interface CreateVocabularyRequest {
1578
1579
  * <p>For a list of supported languages and their associated language codes, refer to the
1579
1580
  * <a href="https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html">Supported languages</a> table.</p>
1580
1581
  */
1581
- LanguageCode: LanguageCode | string | undefined;
1582
+ LanguageCode: LanguageCode | undefined;
1582
1583
  /**
1583
1584
  * @public
1584
1585
  * <p>Use this parameter if you want to create your custom vocabulary by including all
@@ -1641,14 +1642,14 @@ export interface CreateVocabularyResponse {
1641
1642
  * @public
1642
1643
  * <p>The language code you selected for your custom vocabulary.</p>
1643
1644
  */
1644
- LanguageCode?: LanguageCode | string;
1645
+ LanguageCode?: LanguageCode;
1645
1646
  /**
1646
1647
  * @public
1647
1648
  * <p>The processing state of your custom vocabulary. If the state is <code>READY</code>,
1648
1649
  * you can use the custom vocabulary in a <code>StartTranscriptionJob</code>
1649
1650
  * request.</p>
1650
1651
  */
1651
- VocabularyState?: VocabularyState | string;
1652
+ VocabularyState?: VocabularyState;
1652
1653
  /**
1653
1654
  * @public
1654
1655
  * <p>The date and time you created your custom vocabulary.</p>
@@ -1689,7 +1690,7 @@ export interface CreateVocabularyFilterRequest {
1689
1690
  * <p>For a list of supported languages and their associated language codes, refer to the
1690
1691
  * <a href="https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html">Supported languages</a> table.</p>
1691
1692
  */
1692
- LanguageCode: LanguageCode | string | undefined;
1693
+ LanguageCode: LanguageCode | undefined;
1693
1694
  /**
1694
1695
  * @public
1695
1696
  * <p>Use this parameter if you want to create your custom vocabulary filter by including
@@ -1752,7 +1753,7 @@ export interface CreateVocabularyFilterResponse {
1752
1753
  * @public
1753
1754
  * <p>The language code you selected for your custom vocabulary filter.</p>
1754
1755
  */
1755
- LanguageCode?: LanguageCode | string;
1756
+ LanguageCode?: LanguageCode;
1756
1757
  /**
1757
1758
  * @public
1758
1759
  * <p>The date and time you created your custom vocabulary filter.</p>
@@ -1948,19 +1949,19 @@ export interface LanguageModel {
1948
1949
  * <a href="https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html">Supported languages</a> table. Note that U.S. English (<code>en-US</code>) is
1949
1950
  * the only language supported with Amazon Transcribe Medical.</p>
1950
1951
  */
1951
- LanguageCode?: CLMLanguageCode | string;
1952
+ LanguageCode?: CLMLanguageCode;
1952
1953
  /**
1953
1954
  * @public
1954
1955
  * <p>The Amazon Transcribe standard language model, or base model, used to create your
1955
1956
  * custom language model.</p>
1956
1957
  */
1957
- BaseModelName?: BaseModelName | string;
1958
+ BaseModelName?: BaseModelName;
1958
1959
  /**
1959
1960
  * @public
1960
1961
  * <p>The status of the specified custom language model. When the status displays as
1961
1962
  * <code>COMPLETED</code> the model is ready for use.</p>
1962
1963
  */
1963
- ModelStatus?: ModelStatus | string;
1964
+ ModelStatus?: ModelStatus;
1964
1965
  /**
1965
1966
  * @public
1966
1967
  * <p>Shows if a more current base model is available for use with the specified custom
@@ -2227,14 +2228,14 @@ export interface MedicalTranscriptionJob {
2227
2228
  * <code>FAILED</code>, <code>FailureReason</code> provides details on why your
2228
2229
  * transcription job failed.</p>
2229
2230
  */
2230
- TranscriptionJobStatus?: TranscriptionJobStatus | string;
2231
+ TranscriptionJobStatus?: TranscriptionJobStatus;
2231
2232
  /**
2232
2233
  * @public
2233
2234
  * <p>The language code used to create your medical transcription job. US English
2234
2235
  * (<code>en-US</code>) is the only supported language for medical
2235
2236
  * transcriptions.</p>
2236
2237
  */
2237
- LanguageCode?: LanguageCode | string;
2238
+ LanguageCode?: LanguageCode;
2238
2239
  /**
2239
2240
  * @public
2240
2241
  * <p>The sample rate, in hertz, of the audio track in your input media file.</p>
@@ -2244,7 +2245,7 @@ export interface MedicalTranscriptionJob {
2244
2245
  * @public
2245
2246
  * <p>The format of the input media file.</p>
2246
2247
  */
2247
- MediaFormat?: MediaFormat | string;
2248
+ MediaFormat?: MediaFormat;
2248
2249
  /**
2249
2250
  * @public
2250
2251
  * <p>Describes the Amazon S3 location of the media file you want to use in your
@@ -2348,18 +2349,18 @@ export interface MedicalTranscriptionJob {
2348
2349
  * <p>Indicates whether content identification was enabled for your transcription
2349
2350
  * request.</p>
2350
2351
  */
2351
- ContentIdentificationType?: MedicalContentIdentificationType | string;
2352
+ ContentIdentificationType?: MedicalContentIdentificationType;
2352
2353
  /**
2353
2354
  * @public
2354
2355
  * <p>Describes the medical specialty represented in your media.</p>
2355
2356
  */
2356
- Specialty?: Specialty | string;
2357
+ Specialty?: Specialty;
2357
2358
  /**
2358
2359
  * @public
2359
2360
  * <p>Indicates whether the input media is a dictation or a conversation, as specified in
2360
2361
  * the <code>StartMedicalTranscriptionJob</code> request.</p>
2361
2362
  */
2362
- Type?: Type | string;
2363
+ Type?: Type;
2363
2364
  /**
2364
2365
  * @public
2365
2366
  * <p>The tags, each in the form of a key:value pair, assigned to the specified medical
@@ -2404,14 +2405,14 @@ export interface GetMedicalVocabularyResponse {
2404
2405
  * (<code>en-US</code>) is the only language supported with Amazon Transcribe
2405
2406
  * Medical.</p>
2406
2407
  */
2407
- LanguageCode?: LanguageCode | string;
2408
+ LanguageCode?: LanguageCode;
2408
2409
  /**
2409
2410
  * @public
2410
2411
  * <p>The processing state of your custom medical vocabulary. If the state is
2411
2412
  * <code>READY</code>, you can use the custom vocabulary in a
2412
2413
  * <code>StartMedicalTranscriptionJob</code> request.</p>
2413
2414
  */
2414
- VocabularyState?: VocabularyState | string;
2415
+ VocabularyState?: VocabularyState;
2415
2416
  /**
2416
2417
  * @public
2417
2418
  * <p>The date and time the specified custom medical vocabulary was last modified.</p>
@@ -2494,7 +2495,7 @@ export interface LanguageCodeItem {
2494
2495
  * @public
2495
2496
  * <p>Provides the language code for each language identified in your media.</p>
2496
2497
  */
2497
- LanguageCode?: LanguageCode | string;
2498
+ LanguageCode?: LanguageCode;
2498
2499
  /**
2499
2500
  * @public
2500
2501
  * <p>Provides the total time, in seconds, each identified language is spoken in your
@@ -2614,7 +2615,7 @@ export interface Settings {
2614
2615
  * <p>To delete words, choose <code>remove</code>.</p>
2615
2616
  * <p>To flag words without changing them, choose <code>tag</code>.</p>
2616
2617
  */
2617
- VocabularyFilterMethod?: VocabularyFilterMethod | string;
2618
+ VocabularyFilterMethod?: VocabularyFilterMethod;
2618
2619
  }
2619
2620
  /**
2620
2621
  * @public
@@ -2640,7 +2641,7 @@ export interface SubtitlesOutput {
2640
2641
  * (<code>vtt</code>) and SubRip (<code>srt</code>) formats, both formats are
2641
2642
  * shown.</p>
2642
2643
  */
2643
- Formats?: (SubtitleFormat | string)[];
2644
+ Formats?: SubtitleFormat[];
2644
2645
  /**
2645
2646
  * @public
2646
2647
  * <p>The Amazon S3 location of your transcript. You can use this URI to access or
@@ -2693,7 +2694,7 @@ export interface ToxicityDetectionSettings {
2693
2694
  * must also include <code>ToxicityCategories</code>. The only accepted value for this
2694
2695
  * parameter is <code>ALL</code>.</p>
2695
2696
  */
2696
- ToxicityCategories: (ToxicityCategory | string)[] | undefined;
2697
+ ToxicityCategories: ToxicityCategory[] | undefined;
2697
2698
  }
2698
2699
  /**
2699
2700
  * @public
@@ -2723,14 +2724,14 @@ export interface TranscriptionJob {
2723
2724
  * the status is <code>FAILED</code>, <code>FailureReason</code> provides details on why
2724
2725
  * your transcription job failed.</p>
2725
2726
  */
2726
- TranscriptionJobStatus?: TranscriptionJobStatus | string;
2727
+ TranscriptionJobStatus?: TranscriptionJobStatus;
2727
2728
  /**
2728
2729
  * @public
2729
2730
  * <p>The language code used to create your transcription job. This parameter is used with
2730
2731
  * single-language identification. For multi-language identification requests, refer to the
2731
2732
  * plural version of this parameter, <code>LanguageCodes</code>.</p>
2732
2733
  */
2733
- LanguageCode?: LanguageCode | string;
2734
+ LanguageCode?: LanguageCode;
2734
2735
  /**
2735
2736
  * @public
2736
2737
  * <p>The sample rate, in hertz, of the audio track in your input media file.</p>
@@ -2740,7 +2741,7 @@ export interface TranscriptionJob {
2740
2741
  * @public
2741
2742
  * <p>The format of the input media file.</p>
2742
2743
  */
2743
- MediaFormat?: MediaFormat | string;
2744
+ MediaFormat?: MediaFormat;
2744
2745
  /**
2745
2746
  * @public
2746
2747
  * <p>Provides the Amazon S3 location of the media file you used in your
@@ -2869,7 +2870,7 @@ export interface TranscriptionJob {
2869
2870
  * @public
2870
2871
  * <p>Provides the language codes you specified in your request.</p>
2871
2872
  */
2872
- LanguageOptions?: (LanguageCode | string)[];
2873
+ LanguageOptions?: LanguageCode[];
2873
2874
  /**
2874
2875
  * @public
2875
2876
  * <p>The confidence score associated with the language identified in your media
@@ -2902,7 +2903,7 @@ export interface TranscriptionJob {
2902
2903
  * <p>Provides the name and language of all custom language models, custom vocabularies, and
2903
2904
  * custom vocabulary filters that you included in your request.</p>
2904
2905
  */
2905
- LanguageIdSettings?: Record<string, LanguageIdSettings>;
2906
+ LanguageIdSettings?: Record<LanguageCode, LanguageIdSettings>;
2906
2907
  /**
2907
2908
  * @public
2908
2909
  * <p>Provides information about the toxicity detection settings applied to your transcription.</p>
@@ -2944,14 +2945,14 @@ export interface GetVocabularyResponse {
2944
2945
  * @public
2945
2946
  * <p>The language code you selected for your custom vocabulary.</p>
2946
2947
  */
2947
- LanguageCode?: LanguageCode | string;
2948
+ LanguageCode?: LanguageCode;
2948
2949
  /**
2949
2950
  * @public
2950
2951
  * <p>The processing state of your custom vocabulary. If the state is <code>READY</code>,
2951
2952
  * you can use the custom vocabulary in a <code>StartTranscriptionJob</code>
2952
2953
  * request.</p>
2953
2954
  */
2954
- VocabularyState?: VocabularyState | string;
2955
+ VocabularyState?: VocabularyState;
2955
2956
  /**
2956
2957
  * @public
2957
2958
  * <p>The date and time the specified custom vocabulary was last modified.</p>
@@ -2998,7 +2999,7 @@ export interface GetVocabularyFilterResponse {
2998
2999
  * @public
2999
3000
  * <p>The language code you selected for your custom vocabulary filter.</p>
3000
3001
  */
3001
- LanguageCode?: LanguageCode | string;
3002
+ LanguageCode?: LanguageCode;
3002
3003
  /**
3003
3004
  * @public
3004
3005
  * <p>The date and time the specified custom vocabulary filter was last modified.</p>
@@ -3065,7 +3066,7 @@ export interface ListCallAnalyticsJobsRequest {
3065
3066
  * creation date, with the newest job first. If you don't include <code>Status</code>, all
3066
3067
  * Call Analytics jobs are returned.</p>
3067
3068
  */
3068
- Status?: CallAnalyticsJobStatus | string;
3069
+ Status?: CallAnalyticsJobStatus;
3069
3070
  /**
3070
3071
  * @public
3071
3072
  * <p>Returns only the Call Analytics jobs that contain the specified string. The search is
@@ -3098,7 +3099,7 @@ export interface ListCallAnalyticsJobsResponse {
3098
3099
  * <p>Lists all Call Analytics jobs that have the status specified in your request. Jobs are
3099
3100
  * ordered by creation date, with the newest job first.</p>
3100
3101
  */
3101
- Status?: CallAnalyticsJobStatus | string;
3102
+ Status?: CallAnalyticsJobStatus;
3102
3103
  /**
3103
3104
  * @public
3104
3105
  * <p>If <code>NextToken</code> is present in your response, it indicates that not all
@@ -3124,7 +3125,7 @@ export interface ListLanguageModelsRequest {
3124
3125
  * ordered by creation date, with the newest model first. If you don't include
3125
3126
  * <code>StatusEquals</code>, all custom language models are returned.</p>
3126
3127
  */
3127
- StatusEquals?: ModelStatus | string;
3128
+ StatusEquals?: ModelStatus;
3128
3129
  /**
3129
3130
  * @public
3130
3131
  * <p>Returns only the custom language models that contain the specified string. The search
@@ -3178,7 +3179,7 @@ export interface ListMedicalTranscriptionJobsRequest {
3178
3179
  * creation date, with the newest job first. If you don't include <code>Status</code>, all
3179
3180
  * medical transcription jobs are returned.</p>
3180
3181
  */
3181
- Status?: TranscriptionJobStatus | string;
3182
+ Status?: TranscriptionJobStatus;
3182
3183
  /**
3183
3184
  * @public
3184
3185
  * <p>Returns only the medical transcription jobs that contain the specified string. The
@@ -3255,7 +3256,7 @@ export interface MedicalTranscriptionJobSummary {
3255
3256
  * (<code>en-US</code>) is the only supported language for medical
3256
3257
  * transcriptions.</p>
3257
3258
  */
3258
- LanguageCode?: LanguageCode | string;
3259
+ LanguageCode?: LanguageCode;
3259
3260
  /**
3260
3261
  * @public
3261
3262
  * <p>Provides the status of your medical transcription job.</p>
@@ -3264,7 +3265,7 @@ export interface MedicalTranscriptionJobSummary {
3264
3265
  * <code>FAILED</code>, <code>FailureReason</code> provides details on why your
3265
3266
  * transcription job failed.</p>
3266
3267
  */
3267
- TranscriptionJobStatus?: TranscriptionJobStatus | string;
3268
+ TranscriptionJobStatus?: TranscriptionJobStatus;
3268
3269
  /**
3269
3270
  * @public
3270
3271
  * <p>If <code>TranscriptionJobStatus</code> is <code>FAILED</code>,
@@ -3282,24 +3283,24 @@ export interface MedicalTranscriptionJobSummary {
3282
3283
  * <p>If the value is <code>SERVICE_BUCKET</code>, the location is a service-managed Amazon S3 bucket. To access a transcript stored in a service-managed bucket, use the
3283
3284
  * URI shown in the <code>TranscriptFileUri</code> field.</p>
3284
3285
  */
3285
- OutputLocationType?: OutputLocationType | string;
3286
+ OutputLocationType?: OutputLocationType;
3286
3287
  /**
3287
3288
  * @public
3288
3289
  * <p>Provides the medical specialty represented in your media.</p>
3289
3290
  */
3290
- Specialty?: Specialty | string;
3291
+ Specialty?: Specialty;
3291
3292
  /**
3292
3293
  * @public
3293
3294
  * <p>Labels all personal health information (PHI) identified in your transcript. For more
3294
3295
  * information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/phi-id.html">Identifying personal health information (PHI) in a transcription</a>.</p>
3295
3296
  */
3296
- ContentIdentificationType?: MedicalContentIdentificationType | string;
3297
+ ContentIdentificationType?: MedicalContentIdentificationType;
3297
3298
  /**
3298
3299
  * @public
3299
3300
  * <p>Indicates whether the input media is a dictation or a conversation, as specified in
3300
3301
  * the <code>StartMedicalTranscriptionJob</code> request.</p>
3301
3302
  */
3302
- Type?: Type | string;
3303
+ Type?: Type;
3303
3304
  }
3304
3305
  /**
3305
3306
  * @public
@@ -3310,7 +3311,7 @@ export interface ListMedicalTranscriptionJobsResponse {
3310
3311
  * <p>Lists all medical transcription jobs that have the status specified in your request.
3311
3312
  * Jobs are ordered by creation date, with the newest job first.</p>
3312
3313
  */
3313
- Status?: TranscriptionJobStatus | string;
3314
+ Status?: TranscriptionJobStatus;
3314
3315
  /**
3315
3316
  * @public
3316
3317
  * <p>If <code>NextToken</code> is present in your response, it indicates that not all
@@ -3352,7 +3353,7 @@ export interface ListMedicalVocabulariesRequest {
3352
3353
  * are ordered by creation date, with the newest vocabulary first. If you don't include
3353
3354
  * <code>StateEquals</code>, all custom medical vocabularies are returned.</p>
3354
3355
  */
3355
- StateEquals?: VocabularyState | string;
3356
+ StateEquals?: VocabularyState;
3356
3357
  /**
3357
3358
  * @public
3358
3359
  * <p>Returns only the custom medical vocabularies that contain the specified string. The
@@ -3381,7 +3382,7 @@ export interface VocabularyInfo {
3381
3382
  * (<code>en-US</code>), you can only apply this custom vocabulary to files that
3382
3383
  * contain English audio.</p>
3383
3384
  */
3384
- LanguageCode?: LanguageCode | string;
3385
+ LanguageCode?: LanguageCode;
3385
3386
  /**
3386
3387
  * @public
3387
3388
  * <p>The date and time the specified custom vocabulary was last modified.</p>
@@ -3396,7 +3397,7 @@ export interface VocabularyInfo {
3396
3397
  * you can use the custom vocabulary in a <code>StartTranscriptionJob</code>
3397
3398
  * request.</p>
3398
3399
  */
3399
- VocabularyState?: VocabularyState | string;
3400
+ VocabularyState?: VocabularyState;
3400
3401
  }
3401
3402
  /**
3402
3403
  * @public
@@ -3408,7 +3409,7 @@ export interface ListMedicalVocabulariesResponse {
3408
3409
  * Custom vocabularies are ordered by creation date, with the newest vocabulary
3409
3410
  * first.</p>
3410
3411
  */
3411
- Status?: VocabularyState | string;
3412
+ Status?: VocabularyState;
3412
3413
  /**
3413
3414
  * @public
3414
3415
  * <p>If <code>NextToken</code> is present in your response, it indicates that not all
@@ -3469,7 +3470,7 @@ export interface ListTranscriptionJobsRequest {
3469
3470
  * creation date, with the newest job first. If you don't include <code>Status</code>, all
3470
3471
  * transcription jobs are returned.</p>
3471
3472
  */
3472
- Status?: TranscriptionJobStatus | string;
3473
+ Status?: TranscriptionJobStatus;
3473
3474
  /**
3474
3475
  * @public
3475
3476
  * <p>Returns only the transcription jobs that contain the specified string. The search is
@@ -3532,7 +3533,7 @@ export interface TranscriptionJobSummary {
3532
3533
  * @public
3533
3534
  * <p>The language code used to create your transcription.</p>
3534
3535
  */
3535
- LanguageCode?: LanguageCode | string;
3536
+ LanguageCode?: LanguageCode;
3536
3537
  /**
3537
3538
  * @public
3538
3539
  * <p>Provides the status of your transcription job.</p>
@@ -3542,7 +3543,7 @@ export interface TranscriptionJobSummary {
3542
3543
  * the status is <code>FAILED</code>, <code>FailureReason</code> provides details on why
3543
3544
  * your transcription job failed.</p>
3544
3545
  */
3545
- TranscriptionJobStatus?: TranscriptionJobStatus | string;
3546
+ TranscriptionJobStatus?: TranscriptionJobStatus;
3546
3547
  /**
3547
3548
  * @public
3548
3549
  * <p>If <code>TranscriptionJobStatus</code> is <code>FAILED</code>,
@@ -3561,7 +3562,7 @@ export interface TranscriptionJobSummary {
3561
3562
  * URI shown in the <code>TranscriptFileUri</code> or
3562
3563
  * <code>RedactedTranscriptFileUri</code> field.</p>
3563
3564
  */
3564
- OutputLocationType?: OutputLocationType | string;
3565
+ OutputLocationType?: OutputLocationType;
3565
3566
  /**
3566
3567
  * @public
3567
3568
  * <p>The content redaction settings of the transcription job.</p>
@@ -3622,7 +3623,7 @@ export interface ListTranscriptionJobsResponse {
3622
3623
  * <p>Lists all transcription jobs that have the status specified in your request. Jobs are
3623
3624
  * ordered by creation date, with the newest job first.</p>
3624
3625
  */
3625
- Status?: TranscriptionJobStatus | string;
3626
+ Status?: TranscriptionJobStatus;
3626
3627
  /**
3627
3628
  * @public
3628
3629
  * <p>If <code>NextToken</code> is present in your response, it indicates that not all
@@ -3664,7 +3665,7 @@ export interface ListVocabulariesRequest {
3664
3665
  * creation date, with the newest vocabulary first. If you don't include
3665
3666
  * <code>StateEquals</code>, all custom medical vocabularies are returned.</p>
3666
3667
  */
3667
- StateEquals?: VocabularyState | string;
3668
+ StateEquals?: VocabularyState;
3668
3669
  /**
3669
3670
  * @public
3670
3671
  * <p>Returns only the custom vocabularies that contain the specified string. The search is
@@ -3681,7 +3682,7 @@ export interface ListVocabulariesResponse {
3681
3682
  * <p>Lists all custom vocabularies that have the status specified in your request.
3682
3683
  * Vocabularies are ordered by creation date, with the newest vocabulary first.</p>
3683
3684
  */
3684
- Status?: VocabularyState | string;
3685
+ Status?: VocabularyState;
3685
3686
  /**
3686
3687
  * @public
3687
3688
  * <p>If <code>NextToken</code> is present in your response, it indicates that not all
@@ -3748,7 +3749,7 @@ export interface VocabularyFilterInfo {
3748
3749
  * <p>For a list of supported languages and their associated language codes, refer to the
3749
3750
  * <a href="https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html">Supported languages</a> table.</p>
3750
3751
  */
3751
- LanguageCode?: LanguageCode | string;
3752
+ LanguageCode?: LanguageCode;
3752
3753
  /**
3753
3754
  * @public
3754
3755
  * <p>The date and time the specified custom vocabulary filter was last modified.</p>
@@ -3929,7 +3930,7 @@ export interface StartMedicalTranscriptionJobRequest {
3929
3930
  * other value you enter for language code results in a <code>BadRequestException</code>
3930
3931
  * error.</p>
3931
3932
  */
3932
- LanguageCode: LanguageCode | string | undefined;
3933
+ LanguageCode: LanguageCode | undefined;
3933
3934
  /**
3934
3935
  * @public
3935
3936
  * <p>The sample rate, in hertz, of the audio track in your input media file.</p>
@@ -3944,7 +3945,7 @@ export interface StartMedicalTranscriptionJobRequest {
3944
3945
  * @public
3945
3946
  * <p>Specify the format of your input media file.</p>
3946
3947
  */
3947
- MediaFormat?: MediaFormat | string;
3948
+ MediaFormat?: MediaFormat;
3948
3949
  /**
3949
3950
  * @public
3950
3951
  * <p>Describes the Amazon S3 location of the media file you want to use in your
@@ -4073,14 +4074,14 @@ export interface StartMedicalTranscriptionJobRequest {
4073
4074
  * <p>Labels all personal health information (PHI) identified in your transcript. For more
4074
4075
  * information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/phi-id.html">Identifying personal health information (PHI) in a transcription</a>.</p>
4075
4076
  */
4076
- ContentIdentificationType?: MedicalContentIdentificationType | string;
4077
+ ContentIdentificationType?: MedicalContentIdentificationType;
4077
4078
  /**
4078
4079
  * @public
4079
4080
  * <p>Specify the predominant medical specialty represented in your media. For batch
4080
4081
  * transcriptions, <code>PRIMARYCARE</code> is the only valid value. If you require
4081
4082
  * additional specialties, refer to .</p>
4082
4083
  */
4083
- Specialty: Specialty | string | undefined;
4084
+ Specialty: Specialty | undefined;
4084
4085
  /**
4085
4086
  * @public
4086
4087
  * <p>Specify whether your input media contains only one person (<code>DICTATION</code>) or
@@ -4089,7 +4090,7 @@ export interface StartMedicalTranscriptionJobRequest {
4089
4090
  * to transcribe voice memos; <code>CONVERSATION</code> could be used for transcribing the
4090
4091
  * doctor-patient dialogue during the patient's office visit.</p>
4091
4092
  */
4092
- Type: Type | string | undefined;
4093
+ Type: Type | undefined;
4093
4094
  /**
4094
4095
  * @public
4095
4096
  * <p>Adds one or more custom tags, each in the form of a key:value pair, to a new medical
@@ -4125,7 +4126,7 @@ export interface Subtitles {
4125
4126
  * (<code>vtt</code>) and SubRip (<code>srt</code>) formats, two output files are
4126
4127
  * generated.</p>
4127
4128
  */
4128
- Formats?: (SubtitleFormat | string)[];
4129
+ Formats?: SubtitleFormat[];
4129
4130
  /**
4130
4131
  * @public
4131
4132
  * <p>Specify the starting value that is assigned to the first subtitle segment.</p>
@@ -4168,7 +4169,7 @@ export interface StartTranscriptionJobRequest {
4168
4169
  * file must be encoded at a sample rate of 16,000 Hz or higher.</p>
4169
4170
  * </note>
4170
4171
  */
4171
- LanguageCode?: LanguageCode | string;
4172
+ LanguageCode?: LanguageCode;
4172
4173
  /**
4173
4174
  * @public
4174
4175
  * <p>The sample rate, in hertz, of the audio track in your input media file.</p>
@@ -4182,7 +4183,7 @@ export interface StartTranscriptionJobRequest {
4182
4183
  * @public
4183
4184
  * <p>Specify the format of your input media file.</p>
4184
4185
  */
4185
- MediaFormat?: MediaFormat | string;
4186
+ MediaFormat?: MediaFormat;
4186
4187
  /**
4187
4188
  * @public
4188
4189
  * <p>Describes the Amazon S3 location of the media file you want to use in your
@@ -4396,7 +4397,7 @@ export interface StartTranscriptionJobRequest {
4396
4397
  * <p>To transcribe speech in Modern Standard Arabic (<code>ar-SA</code>), your media file
4397
4398
  * must be encoded at a sample rate of 16,000 Hz or higher.</p>
4398
4399
  */
4399
- LanguageOptions?: (LanguageCode | string)[];
4400
+ LanguageOptions?: LanguageCode[];
4400
4401
  /**
4401
4402
  * @public
4402
4403
  * <p>Produces subtitle files for your input media. You can specify WebVTT (*.vtt) and
@@ -4442,7 +4443,7 @@ export interface StartTranscriptionJobRequest {
4442
4443
  * <code>VocabularyName</code> or <code>VocabularyFilterName</code> (or both)
4443
4444
  * sub-parameter.</p>
4444
4445
  */
4445
- LanguageIdSettings?: Record<string, LanguageIdSettings>;
4446
+ LanguageIdSettings?: Record<LanguageCode, LanguageIdSettings>;
4446
4447
  /**
4447
4448
  * @public
4448
4449
  * <p>Enables toxic speech detection in your transcript. If you include
@@ -4546,7 +4547,7 @@ export interface UpdateCallAnalyticsCategoryRequest {
4546
4547
  * example, if you created a category with the <code>POST_CALL</code> input type, you must
4547
4548
  * use <code>POST_CALL</code> as the input type when updating this category.</p>
4548
4549
  */
4549
- InputType?: InputType | string;
4550
+ InputType?: InputType;
4550
4551
  }
4551
4552
  /**
4552
4553
  * @public
@@ -4575,7 +4576,7 @@ export interface UpdateMedicalVocabularyRequest {
4575
4576
  * you want to update. US English (<code>en-US</code>) is the only language supported with
4576
4577
  * Amazon Transcribe Medical.</p>
4577
4578
  */
4578
- LanguageCode: LanguageCode | string | undefined;
4579
+ LanguageCode: LanguageCode | undefined;
4579
4580
  /**
4580
4581
  * @public
4581
4582
  * <p>The Amazon S3 location of the text file that contains your custom medical
@@ -4602,7 +4603,7 @@ export interface UpdateMedicalVocabularyResponse {
4602
4603
  * (<code>en-US</code>) is the only language supported with Amazon Transcribe
4603
4604
  * Medical.</p>
4604
4605
  */
4605
- LanguageCode?: LanguageCode | string;
4606
+ LanguageCode?: LanguageCode;
4606
4607
  /**
4607
4608
  * @public
4608
4609
  * <p>The date and time the specified custom medical vocabulary was last updated.</p>
@@ -4617,7 +4618,7 @@ export interface UpdateMedicalVocabularyResponse {
4617
4618
  * <code>READY</code>, you can use the custom vocabulary in a
4618
4619
  * <code>StartMedicalTranscriptionJob</code> request.</p>
4619
4620
  */
4620
- VocabularyState?: VocabularyState | string;
4621
+ VocabularyState?: VocabularyState;
4621
4622
  }
4622
4623
  /**
4623
4624
  * @public
@@ -4641,7 +4642,7 @@ export interface UpdateVocabularyRequest {
4641
4642
  * <p>For a list of supported languages and their associated language codes, refer to the
4642
4643
  * <a href="https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html">Supported languages</a> table.</p>
4643
4644
  */
4644
- LanguageCode: LanguageCode | string | undefined;
4645
+ LanguageCode: LanguageCode | undefined;
4645
4646
  /**
4646
4647
  * @public
4647
4648
  * <p>Use this parameter if you want to update your custom vocabulary by including all
@@ -4696,7 +4697,7 @@ export interface UpdateVocabularyResponse {
4696
4697
  * @public
4697
4698
  * <p>The language code you selected for your custom vocabulary.</p>
4698
4699
  */
4699
- LanguageCode?: LanguageCode | string;
4700
+ LanguageCode?: LanguageCode;
4700
4701
  /**
4701
4702
  * @public
4702
4703
  * <p>The date and time the specified custom vocabulary was last updated.</p>
@@ -4711,7 +4712,7 @@ export interface UpdateVocabularyResponse {
4711
4712
  * you can use the custom vocabulary in a <code>StartTranscriptionJob</code>
4712
4713
  * request.</p>
4713
4714
  */
4714
- VocabularyState?: VocabularyState | string;
4715
+ VocabularyState?: VocabularyState;
4715
4716
  }
4716
4717
  /**
4717
4718
  * @public
@@ -4777,7 +4778,7 @@ export interface UpdateVocabularyFilterResponse {
4777
4778
  * @public
4778
4779
  * <p>The language code you selected for your custom vocabulary filter.</p>
4779
4780
  */
4780
- LanguageCode?: LanguageCode | string;
4781
+ LanguageCode?: LanguageCode;
4781
4782
  /**
4782
4783
  * @public
4783
4784
  * <p>The date and time the specified custom vocabulary filter was last updated.</p>