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