@aws-sdk/client-comprehend 3.428.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.
@@ -44,7 +44,7 @@ export interface AugmentedManifestsListItem {
44
44
  * documents for testing.</p>
45
45
  * <p> TEST - all of the documents in the manifest will be used for testing.</p>
46
46
  */
47
- Split?: Split | string;
47
+ Split?: Split;
48
48
  /**
49
49
  * @public
50
50
  * <p>The JSON attribute that contains the annotations for your training documents. The number
@@ -87,7 +87,7 @@ export interface AugmentedManifestsListItem {
87
87
  * </li>
88
88
  * </ul>
89
89
  */
90
- DocumentType?: AugmentedManifestsDocumentTypeFormat | string;
90
+ DocumentType?: AugmentedManifestsDocumentTypeFormat;
91
91
  }
92
92
  /**
93
93
  * @public
@@ -247,7 +247,7 @@ export interface InvalidRequestDetail {
247
247
  * @public
248
248
  * <p>Reason code is <code>INVALID_DOCUMENT</code>.</p>
249
249
  */
250
- Reason?: InvalidRequestDetailReason | string;
250
+ Reason?: InvalidRequestDetailReason;
251
251
  }
252
252
  /**
253
253
  * @public
@@ -268,7 +268,7 @@ export declare class InvalidRequestException extends __BaseException {
268
268
  readonly name: "InvalidRequestException";
269
269
  readonly $fault: "client";
270
270
  Message?: string;
271
- Reason?: InvalidRequestReason | string;
271
+ Reason?: InvalidRequestReason;
272
272
  /**
273
273
  * @public
274
274
  * <p>Provides additional detail about why the request failed:</p>
@@ -343,7 +343,7 @@ export interface BatchDetectEntitiesRequest {
343
343
  * <p>The language of the input documents. You can specify any of the primary languages
344
344
  * supported by Amazon Comprehend. All documents must be in the same language.</p>
345
345
  */
346
- LanguageCode: LanguageCode | string | undefined;
346
+ LanguageCode: LanguageCode | undefined;
347
347
  }
348
348
  /**
349
349
  * @public
@@ -430,7 +430,7 @@ export interface Entity {
430
430
  * <p>For custom entity detection, this field contains one of the
431
431
  * entity types that you specified when you trained your custom model.</p>
432
432
  */
433
- Type?: EntityType | string;
433
+ Type?: EntityType;
434
434
  /**
435
435
  * @public
436
436
  * <p>The text of the entity.</p>
@@ -528,7 +528,7 @@ export interface BatchDetectKeyPhrasesRequest {
528
528
  * <p>The language of the input documents. You can specify any of the primary languages
529
529
  * supported by Amazon Comprehend. All documents must be in the same language.</p>
530
530
  */
531
- LanguageCode: LanguageCode | string | undefined;
531
+ LanguageCode: LanguageCode | undefined;
532
532
  }
533
533
  /**
534
534
  * @public
@@ -614,7 +614,7 @@ export interface BatchDetectSentimentRequest {
614
614
  * <p>The language of the input documents. You can specify any of the primary languages
615
615
  * supported by Amazon Comprehend. All documents must be in the same language.</p>
616
616
  */
617
- LanguageCode: LanguageCode | string | undefined;
617
+ LanguageCode: LanguageCode | undefined;
618
618
  }
619
619
  /**
620
620
  * @public
@@ -677,7 +677,7 @@ export interface BatchDetectSentimentItemResult {
677
677
  * @public
678
678
  * <p>The sentiment detected in the document.</p>
679
679
  */
680
- Sentiment?: SentimentType | string;
680
+ Sentiment?: SentimentType;
681
681
  /**
682
682
  * @public
683
683
  * <p>The level of confidence that Amazon Comprehend has in the accuracy of its sentiment
@@ -738,7 +738,7 @@ export interface BatchDetectSyntaxRequest {
738
738
  * supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"),
739
739
  * Italian ("it"), or Portuguese ("pt"). All documents must be in the same language.</p>
740
740
  */
741
- LanguageCode: SyntaxLanguageCode | string | undefined;
741
+ LanguageCode: SyntaxLanguageCode | undefined;
742
742
  }
743
743
  /**
744
744
  * @public
@@ -781,7 +781,7 @@ export interface PartOfSpeechTag {
781
781
  * @public
782
782
  * <p>Identifies the part of speech that the token represents.</p>
783
783
  */
784
- Tag?: PartOfSpeechTagType | string;
784
+ Tag?: PartOfSpeechTagType;
785
785
  /**
786
786
  * @public
787
787
  * <p>The confidence that Amazon Comprehend has that the part of speech was correctly
@@ -878,7 +878,7 @@ export interface BatchDetectTargetedSentimentRequest {
878
878
  * @public
879
879
  * <p>The language of the input documents. Currently, English is the only supported language.</p>
880
880
  */
881
- LanguageCode: LanguageCode | string | undefined;
881
+ LanguageCode: LanguageCode | undefined;
882
882
  }
883
883
  /**
884
884
  * @public
@@ -890,7 +890,7 @@ export interface MentionSentiment {
890
890
  * @public
891
891
  * <p>The sentiment of the mention. </p>
892
892
  */
893
- Sentiment?: SentimentType | string;
893
+ Sentiment?: SentimentType;
894
894
  /**
895
895
  * @public
896
896
  * <p>Describes the level of confidence that Amazon Comprehend has in the accuracy of its
@@ -951,7 +951,7 @@ export interface TargetedSentimentMention {
951
951
  * @public
952
952
  * <p>The type of the entity. Amazon Comprehend supports a variety of <a href="https://docs.aws.amazon.com/comprehend/latest/dg/how-targeted-sentiment.html#how-targeted-sentiment-entities">entity types</a>.</p>
953
953
  */
954
- Type?: TargetedSentimentEntityType | string;
954
+ Type?: TargetedSentimentEntityType;
955
955
  /**
956
956
  * @public
957
957
  * <p>Contains the sentiment and sentiment score for the mention.</p>
@@ -1123,7 +1123,7 @@ export interface RelationshipsListItem {
1123
1123
  * @public
1124
1124
  * <p>Only supported relationship is a child relationship.</p>
1125
1125
  */
1126
- Type?: RelationshipType | string;
1126
+ Type?: RelationshipType;
1127
1127
  }
1128
1128
  /**
1129
1129
  * @public
@@ -1150,7 +1150,7 @@ export interface Block {
1150
1150
  * </li>
1151
1151
  * </ul>
1152
1152
  */
1153
- BlockType?: BlockType | string;
1153
+ BlockType?: BlockType;
1154
1154
  /**
1155
1155
  * @public
1156
1156
  * <p>The word or line of text extracted from the block.</p>
@@ -1350,7 +1350,7 @@ export interface DocumentReaderConfig {
1350
1350
  * </li>
1351
1351
  * </ul>
1352
1352
  */
1353
- DocumentReadAction: DocumentReadAction | string | undefined;
1353
+ DocumentReadAction: DocumentReadAction | undefined;
1354
1354
  /**
1355
1355
  * @public
1356
1356
  * <p>Determines the text extraction actions for PDF files. Enter one of the following values:</p>
@@ -1366,7 +1366,7 @@ export interface DocumentReaderConfig {
1366
1366
  * </li>
1367
1367
  * </ul>
1368
1368
  */
1369
- DocumentReadMode?: DocumentReadMode | string;
1369
+ DocumentReadMode?: DocumentReadMode;
1370
1370
  /**
1371
1371
  * @public
1372
1372
  * <p>Specifies the type of Amazon Textract features to apply. If you chose <code>TEXTRACT_ANALYZE_DOCUMENT</code>
@@ -1382,7 +1382,7 @@ export interface DocumentReaderConfig {
1382
1382
  * </li>
1383
1383
  * </ul>
1384
1384
  */
1385
- FeatureTypes?: (DocumentReadFeatureTypes | string)[];
1385
+ FeatureTypes?: DocumentReadFeatureTypes[];
1386
1386
  }
1387
1387
  /**
1388
1388
  * @public
@@ -1505,7 +1505,7 @@ export interface DocumentTypeListItem {
1505
1505
  * @public
1506
1506
  * <p>Document type.</p>
1507
1507
  */
1508
- Type?: DocumentType | string;
1508
+ Type?: DocumentType;
1509
1509
  }
1510
1510
  /**
1511
1511
  * @public
@@ -1558,7 +1558,7 @@ export interface ErrorsListItem {
1558
1558
  * @public
1559
1559
  * <p>Error code for the cause of the error.</p>
1560
1560
  */
1561
- ErrorCode?: PageBasedErrorCode | string;
1561
+ ErrorCode?: PageBasedErrorCode;
1562
1562
  /**
1563
1563
  * @public
1564
1564
  * <p>Text message explaining the reason for the error.</p>
@@ -1621,7 +1621,7 @@ export interface WarningsListItem {
1621
1621
  * @public
1622
1622
  * <p>The type of warning.</p>
1623
1623
  */
1624
- WarnCode?: PageBasedWarningCode | string;
1624
+ WarnCode?: PageBasedWarningCode;
1625
1625
  /**
1626
1626
  * @public
1627
1627
  * <p>Text message associated with the warning.</p>
@@ -1703,7 +1703,7 @@ export interface ContainsPiiEntitiesRequest {
1703
1703
  * @public
1704
1704
  * <p>The language of the input documents. Currently, English is the only valid language.</p>
1705
1705
  */
1706
- LanguageCode: LanguageCode | string | undefined;
1706
+ LanguageCode: LanguageCode | undefined;
1707
1707
  }
1708
1708
  /**
1709
1709
  * @public
@@ -1762,7 +1762,7 @@ export interface EntityLabel {
1762
1762
  * @public
1763
1763
  * <p>The name of the label.</p>
1764
1764
  */
1765
- Name?: PiiEntityType | string;
1765
+ Name?: PiiEntityType;
1766
1766
  /**
1767
1767
  * @public
1768
1768
  * <p>The level of confidence that Amazon Comprehend has in the accuracy of the
@@ -1835,7 +1835,7 @@ export interface DatasetAugmentedManifestsListItem {
1835
1835
  * <code>PLAIN_TEXT_DOCUMENT</code> A document type that represents any unicode text that
1836
1836
  * is encoded in UTF-8.</p>
1837
1837
  */
1838
- DocumentType?: AugmentedManifestsDocumentTypeFormat | string;
1838
+ DocumentType?: AugmentedManifestsDocumentTypeFormat;
1839
1839
  }
1840
1840
  /**
1841
1841
  * @public
@@ -1923,7 +1923,7 @@ export interface DatasetEntityRecognizerDocuments {
1923
1923
  * scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document.
1924
1924
  * Use this option when you are processing many short documents, such as text messages.</p>
1925
1925
  */
1926
- InputFormat?: InputFormat | string;
1926
+ InputFormat?: InputFormat;
1927
1927
  }
1928
1928
  /**
1929
1929
  * @public
@@ -1981,7 +1981,7 @@ export interface DatasetInputDataConfig {
1981
1981
  * <p>
1982
1982
  * <code>AUGMENTED_MANIFEST</code>: The data format </p>
1983
1983
  */
1984
- DataFormat?: DatasetDataFormat | string;
1984
+ DataFormat?: DatasetDataFormat;
1985
1985
  /**
1986
1986
  * @public
1987
1987
  * <p>The input properties for training a document classifier model. </p>
@@ -2038,7 +2038,7 @@ export interface CreateDatasetRequest {
2038
2038
  * <p>The dataset type. You can specify that the data in a dataset is for training
2039
2039
  * the model or for testing the model.</p>
2040
2040
  */
2041
- DatasetType?: DatasetType | string;
2041
+ DatasetType?: DatasetType;
2042
2042
  /**
2043
2043
  * @public
2044
2044
  * <p>Description of the dataset.</p>
@@ -2212,7 +2212,7 @@ export interface DocumentClassifierInputDataConfig {
2212
2212
  * <p>If you don't specify a value, Amazon Comprehend uses <code>COMPREHEND_CSV</code> as the
2213
2213
  * default.</p>
2214
2214
  */
2215
- DataFormat?: DocumentClassifierDataFormat | string;
2215
+ DataFormat?: DocumentClassifierDataFormat;
2216
2216
  /**
2217
2217
  * @public
2218
2218
  * <p>The Amazon S3 URI for the input data. The S3 bucket must be in the same Region as the API
@@ -2256,7 +2256,7 @@ export interface DocumentClassifierInputDataConfig {
2256
2256
  * <p>The type of input documents for training the model. Provide plain-text documents to create a plain-text model, and
2257
2257
  * provide semi-structured documents to create a native model.</p>
2258
2258
  */
2259
- DocumentType?: DocumentClassifierDocumentTypeFormat | string;
2259
+ DocumentType?: DocumentClassifierDocumentTypeFormat;
2260
2260
  /**
2261
2261
  * @public
2262
2262
  * <p>The S3 location of the training documents.
@@ -2433,7 +2433,7 @@ export interface CreateDocumentClassifierRequest {
2433
2433
  * <p>The language of the input documents. You can specify any of the languages
2434
2434
  * supported by Amazon Comprehend. All documents must be in the same language.</p>
2435
2435
  */
2436
- LanguageCode: LanguageCode | string | undefined;
2436
+ LanguageCode: LanguageCode | undefined;
2437
2437
  /**
2438
2438
  * @public
2439
2439
  * <p>ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt
@@ -2467,7 +2467,7 @@ export interface CreateDocumentClassifierRequest {
2467
2467
  * labels for an individual document are separated by a delimiter. The default delimiter between
2468
2468
  * labels is a pipe (|).</p>
2469
2469
  */
2470
- Mode?: DocumentClassifierMode | string;
2470
+ Mode?: DocumentClassifierMode;
2471
2471
  /**
2472
2472
  * @public
2473
2473
  * <p>ID for the KMS key that Amazon Comprehend uses to encrypt
@@ -2652,7 +2652,7 @@ export interface EntityRecognizerDocuments {
2652
2652
  * scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document.
2653
2653
  * Use this option when you are processing many short documents, such as text messages.</p>
2654
2654
  */
2655
- InputFormat?: InputFormat | string;
2655
+ InputFormat?: InputFormat;
2656
2656
  }
2657
2657
  /**
2658
2658
  * @public
@@ -2714,7 +2714,7 @@ export interface EntityRecognizerInputDataConfig {
2714
2714
  * <p>If you don't specify a value, Amazon Comprehend uses <code>COMPREHEND_CSV</code> as the
2715
2715
  * default.</p>
2716
2716
  */
2717
- DataFormat?: EntityRecognizerDataFormat | string;
2717
+ DataFormat?: EntityRecognizerDataFormat;
2718
2718
  /**
2719
2719
  * @public
2720
2720
  * <p>The entity types in the labeled training data that Amazon Comprehend uses to train the
@@ -2806,7 +2806,7 @@ export interface CreateEntityRecognizerRequest {
2806
2806
  * specify English as the language.
2807
2807
  * All training documents must be in the same language.</p>
2808
2808
  */
2809
- LanguageCode: LanguageCode | string | undefined;
2809
+ LanguageCode: LanguageCode | undefined;
2810
2810
  /**
2811
2811
  * @public
2812
2812
  * <p>ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt
@@ -2940,7 +2940,7 @@ export interface DocumentClassificationConfig {
2940
2940
  * @public
2941
2941
  * <p>Classification mode indicates whether the documents are <code>MULTI_CLASS</code> or <code>MULTI_LABEL</code>.</p>
2942
2942
  */
2943
- Mode: DocumentClassifierMode | string | undefined;
2943
+ Mode: DocumentClassifierMode | undefined;
2944
2944
  /**
2945
2945
  * @public
2946
2946
  * <p>One or more labels to associate with the custom classifier.</p>
@@ -2967,7 +2967,7 @@ export interface TaskConfig {
2967
2967
  * @public
2968
2968
  * <p>Language code for the language that the model supports.</p>
2969
2969
  */
2970
- LanguageCode: LanguageCode | string | undefined;
2970
+ LanguageCode: LanguageCode | undefined;
2971
2971
  /**
2972
2972
  * @public
2973
2973
  * <p>Configuration required for a classification model.</p>
@@ -3008,7 +3008,7 @@ export interface CreateFlywheelRequest {
3008
3008
  * @public
3009
3009
  * <p>The model type.</p>
3010
3010
  */
3011
- ModelType?: ModelType | string;
3011
+ ModelType?: ModelType;
3012
3012
  /**
3013
3013
  * @public
3014
3014
  * <p>Enter the S3 location for the data lake. You can specify a new S3 bucket or a new folder of an
@@ -3169,7 +3169,7 @@ export interface DatasetProperties {
3169
3169
  * @public
3170
3170
  * <p>The dataset type (training data or test data).</p>
3171
3171
  */
3172
- DatasetType?: DatasetType | string;
3172
+ DatasetType?: DatasetType;
3173
3173
  /**
3174
3174
  * @public
3175
3175
  * <p>The S3 URI where the dataset is stored.</p>
@@ -3185,7 +3185,7 @@ export interface DatasetProperties {
3185
3185
  * <p>The dataset status. While the system creates the dataset, the status is <code>CREATING</code>.
3186
3186
  * When the dataset is ready to use, the status changes to <code>COMPLETED</code>. </p>
3187
3187
  */
3188
- Status?: DatasetStatus | string;
3188
+ Status?: DatasetStatus;
3189
3189
  /**
3190
3190
  * @public
3191
3191
  * <p>A description of the status of the dataset.</p>
@@ -3262,7 +3262,7 @@ export interface InputDataConfig {
3262
3262
  * </li>
3263
3263
  * </ul>
3264
3264
  */
3265
- InputFormat?: InputFormat | string;
3265
+ InputFormat?: InputFormat;
3266
3266
  /**
3267
3267
  * @public
3268
3268
  * <p>Provides configuration parameters to override the default actions for extracting text
@@ -3369,7 +3369,7 @@ export interface DocumentClassificationJobProperties {
3369
3369
  * <p>The current status of the document classification job. If the status is
3370
3370
  * <code>FAILED</code>, the <code>Message</code> field shows the reason for the failure.</p>
3371
3371
  */
3372
- JobStatus?: JobStatus | string;
3372
+ JobStatus?: JobStatus;
3373
3373
  /**
3374
3374
  * @public
3375
3375
  * <p>A description of the status of the job.</p>
@@ -3507,7 +3507,7 @@ export interface DocumentClassifierProperties {
3507
3507
  * <p>The language code for the language of the documents that the classifier was trained
3508
3508
  * on.</p>
3509
3509
  */
3510
- LanguageCode?: LanguageCode | string;
3510
+ LanguageCode?: LanguageCode;
3511
3511
  /**
3512
3512
  * @public
3513
3513
  * <p>The status of the document classifier. If the status is <code>TRAINED</code> the
@@ -3517,7 +3517,7 @@ export interface DocumentClassifierProperties {
3517
3517
  * <p> If the status is <code>FAILED</code> you can see additional
3518
3518
  * information about why the classifier wasn't trained in the <code>Message</code> field.</p>
3519
3519
  */
3520
- Status?: ModelStatus | string;
3520
+ Status?: ModelStatus;
3521
3521
  /**
3522
3522
  * @public
3523
3523
  * <p>Additional information about the status of the classifier.</p>
@@ -3601,7 +3601,7 @@ export interface DocumentClassifierProperties {
3601
3601
  * format of input documents and the format of the confusion matrix. Each classifier can only be
3602
3602
  * trained in one mode and this cannot be changed once the classifier is trained.</p>
3603
3603
  */
3604
- Mode?: DocumentClassifierMode | string;
3604
+ Mode?: DocumentClassifierMode;
3605
3605
  /**
3606
3606
  * @public
3607
3607
  * <p>ID for the KMS key that Amazon Comprehend uses to encrypt
@@ -3691,7 +3691,7 @@ export interface DominantLanguageDetectionJobProperties {
3691
3691
  * <p>The current status of the dominant language detection job. If the status is
3692
3692
  * <code>FAILED</code>, the <code>Message</code> field shows the reason for the failure.</p>
3693
3693
  */
3694
- JobStatus?: JobStatus | string;
3694
+ JobStatus?: JobStatus;
3695
3695
  /**
3696
3696
  * @public
3697
3697
  * <p>A description for the status of a job.</p>
@@ -3805,7 +3805,7 @@ export interface EndpointProperties {
3805
3805
  * asynchronous, so customers will need to wait for the endpoint to be <code>Ready</code> status
3806
3806
  * before making inference requests.</p>
3807
3807
  */
3808
- Status?: EndpointStatus | string;
3808
+ Status?: EndpointStatus;
3809
3809
  /**
3810
3810
  * @public
3811
3811
  * <p>Specifies a reason for failure in cases of <code>Failed</code> status.</p>
@@ -3918,7 +3918,7 @@ export interface EntitiesDetectionJobProperties {
3918
3918
  * <p>The current status of the entities detection job. If the status is <code>FAILED</code>,
3919
3919
  * the <code>Message</code> field shows the reason for the failure.</p>
3920
3920
  */
3921
- JobStatus?: JobStatus | string;
3921
+ JobStatus?: JobStatus;
3922
3922
  /**
3923
3923
  * @public
3924
3924
  * <p>A description of the status of a job.</p>
@@ -3955,7 +3955,7 @@ export interface EntitiesDetectionJobProperties {
3955
3955
  * @public
3956
3956
  * <p>The language code of the input documents.</p>
3957
3957
  */
3958
- LanguageCode?: LanguageCode | string;
3958
+ LanguageCode?: LanguageCode;
3959
3959
  /**
3960
3960
  * @public
3961
3961
  * <p>The Amazon Resource Name (ARN) of the IAM role that
@@ -4148,12 +4148,12 @@ export interface EntityRecognizerProperties {
4148
4148
  * <p> The language of the input documents. All documents must be in the same language. Only
4149
4149
  * English ("en") is currently supported.</p>
4150
4150
  */
4151
- LanguageCode?: LanguageCode | string;
4151
+ LanguageCode?: LanguageCode;
4152
4152
  /**
4153
4153
  * @public
4154
4154
  * <p>Provides the status of the entity recognizer.</p>
4155
4155
  */
4156
- Status?: ModelStatus | string;
4156
+ Status?: ModelStatus;
4157
4157
  /**
4158
4158
  * @public
4159
4159
  * <p> A description of the status of the recognizer.</p>
@@ -4312,7 +4312,7 @@ export interface EventsDetectionJobProperties {
4312
4312
  * @public
4313
4313
  * <p>The current status of the events detection job.</p>
4314
4314
  */
4315
- JobStatus?: JobStatus | string;
4315
+ JobStatus?: JobStatus;
4316
4316
  /**
4317
4317
  * @public
4318
4318
  * <p>A description of the status of the events detection job.</p>
@@ -4344,7 +4344,7 @@ export interface EventsDetectionJobProperties {
4344
4344
  * @public
4345
4345
  * <p>The language code of the input documents.</p>
4346
4346
  */
4347
- LanguageCode?: LanguageCode | string;
4347
+ LanguageCode?: LanguageCode;
4348
4348
  /**
4349
4349
  * @public
4350
4350
  * <p>The Amazon Resource Name (ARN) of the IAM role that
@@ -4432,12 +4432,12 @@ export interface FlywheelProperties {
4432
4432
  * @public
4433
4433
  * <p>The status of the flywheel.</p>
4434
4434
  */
4435
- Status?: FlywheelStatus | string;
4435
+ Status?: FlywheelStatus;
4436
4436
  /**
4437
4437
  * @public
4438
4438
  * <p>Model type of the flywheel's model.</p>
4439
4439
  */
4440
- ModelType?: ModelType | string;
4440
+ ModelType?: ModelType;
4441
4441
  /**
4442
4442
  * @public
4443
4443
  * <p>A description of the status of the flywheel.</p>
@@ -4555,7 +4555,7 @@ export interface FlywheelIterationProperties {
4555
4555
  * @public
4556
4556
  * <p>The status of the flywheel iteration.</p>
4557
4557
  */
4558
- Status?: FlywheelIterationStatus | string;
4558
+ Status?: FlywheelIterationStatus;
4559
4559
  /**
4560
4560
  * @public
4561
4561
  * <p>A description of the status of the flywheel iteration.</p>
@@ -4643,7 +4643,7 @@ export interface KeyPhrasesDetectionJobProperties {
4643
4643
  * <p>The current status of the key phrases detection job. If the status is <code>FAILED</code>,
4644
4644
  * the <code>Message</code> field shows the reason for the failure.</p>
4645
4645
  */
4646
- JobStatus?: JobStatus | string;
4646
+ JobStatus?: JobStatus;
4647
4647
  /**
4648
4648
  * @public
4649
4649
  * <p>A description of the status of a job.</p>
@@ -4675,7 +4675,7 @@ export interface KeyPhrasesDetectionJobProperties {
4675
4675
  * @public
4676
4676
  * <p>The language code of the input documents.</p>
4677
4677
  */
4678
- LanguageCode?: LanguageCode | string;
4678
+ LanguageCode?: LanguageCode;
4679
4679
  /**
4680
4680
  * @public
4681
4681
  * <p>The Amazon Resource Name (ARN) of the IAM role that
@@ -4786,13 +4786,13 @@ export interface RedactionConfig {
4786
4786
  * <p>An array of the types of PII entities that Amazon Comprehend detects in the input text for
4787
4787
  * your request.</p>
4788
4788
  */
4789
- PiiEntityTypes?: (PiiEntityType | string)[];
4789
+ PiiEntityTypes?: PiiEntityType[];
4790
4790
  /**
4791
4791
  * @public
4792
4792
  * <p>Specifies whether the PII entity is redacted with the mask character or the entity
4793
4793
  * type.</p>
4794
4794
  */
4795
- MaskMode?: PiiEntitiesDetectionMaskMode | string;
4795
+ MaskMode?: PiiEntitiesDetectionMaskMode;
4796
4796
  /**
4797
4797
  * @public
4798
4798
  * <p>A character that replaces each character in the redacted PII entity.</p>
@@ -4833,7 +4833,7 @@ export interface PiiEntitiesDetectionJobProperties {
4833
4833
  * <p>The current status of the PII entities detection job. If the status is
4834
4834
  * <code>FAILED</code>, the <code>Message</code> field shows the reason for the failure.</p>
4835
4835
  */
4836
- JobStatus?: JobStatus | string;
4836
+ JobStatus?: JobStatus;
4837
4837
  /**
4838
4838
  * @public
4839
4839
  * <p>A description of the status of a job.</p>
@@ -4872,7 +4872,7 @@ export interface PiiEntitiesDetectionJobProperties {
4872
4872
  * @public
4873
4873
  * <p>The language code of the input documents</p>
4874
4874
  */
4875
- LanguageCode?: LanguageCode | string;
4875
+ LanguageCode?: LanguageCode;
4876
4876
  /**
4877
4877
  * @public
4878
4878
  * <p>The Amazon Resource Name (ARN) of the IAM role that
@@ -4884,7 +4884,7 @@ export interface PiiEntitiesDetectionJobProperties {
4884
4884
  * <p>Specifies whether the output provides the locations (offsets) of PII entities or a file in
4885
4885
  * which PII entities are redacted.</p>
4886
4886
  */
4887
- Mode?: PiiEntitiesDetectionMode | string;
4887
+ Mode?: PiiEntitiesDetectionMode;
4888
4888
  }
4889
4889
  /**
4890
4890
  * @public
@@ -4977,7 +4977,7 @@ export interface SentimentDetectionJobProperties {
4977
4977
  * <p>The current status of the sentiment detection job. If the status is <code>FAILED</code>,
4978
4978
  * the <code>Messages</code> field shows the reason for the failure.</p>
4979
4979
  */
4980
- JobStatus?: JobStatus | string;
4980
+ JobStatus?: JobStatus;
4981
4981
  /**
4982
4982
  * @public
4983
4983
  * <p>A description of the status of a job.</p>
@@ -5009,7 +5009,7 @@ export interface SentimentDetectionJobProperties {
5009
5009
  * @public
5010
5010
  * <p>The language code of the input documents.</p>
5011
5011
  */
5012
- LanguageCode?: LanguageCode | string;
5012
+ LanguageCode?: LanguageCode;
5013
5013
  /**
5014
5014
  * @public
5015
5015
  * <p>The Amazon Resource Name (ARN) of the IAM role that
@@ -5098,7 +5098,7 @@ export interface TargetedSentimentDetectionJobProperties {
5098
5098
  * <p>The current status of the targeted sentiment detection job. If the status is <code>FAILED</code>,
5099
5099
  * the <code>Messages</code> field shows the reason for the failure.</p>
5100
5100
  */
5101
- JobStatus?: JobStatus | string;
5101
+ JobStatus?: JobStatus;
5102
5102
  /**
5103
5103
  * @public
5104
5104
  * <p>A description of the status of a job.</p>
@@ -5130,7 +5130,7 @@ export interface TargetedSentimentDetectionJobProperties {
5130
5130
  * @public
5131
5131
  * <p>The language code of the input documents.</p>
5132
5132
  */
5133
- LanguageCode?: LanguageCode | string;
5133
+ LanguageCode?: LanguageCode;
5134
5134
  /**
5135
5135
  * @public
5136
5136
  * <p>The Amazon Resource Name (ARN) of the IAM role that
@@ -5217,7 +5217,7 @@ export interface TopicsDetectionJobProperties {
5217
5217
  * <p>The current status of the topic detection job. If the status is <code>Failed</code>,
5218
5218
  * the reason for the failure is shown in the <code>Message</code> field.</p>
5219
5219
  */
5220
- JobStatus?: JobStatus | string;
5220
+ JobStatus?: JobStatus;
5221
5221
  /**
5222
5222
  * @public
5223
5223
  * <p>A description for the status of a job.</p>
@@ -5337,7 +5337,7 @@ export interface DetectEntitiesRequest {
5337
5337
  * specify here.</p>
5338
5338
  * <p>All input documents must be in the same language.</p>
5339
5339
  */
5340
- LanguageCode?: LanguageCode | string;
5340
+ LanguageCode?: LanguageCode;
5341
5341
  /**
5342
5342
  * @public
5343
5343
  * <p>The Amazon Resource Name of an endpoint that is associated with a custom entity
@@ -5434,7 +5434,7 @@ export interface DetectKeyPhrasesRequest {
5434
5434
  * <p>The language of the input documents. You can specify any of the primary languages
5435
5435
  * supported by Amazon Comprehend. All documents must be in the same language.</p>
5436
5436
  */
5437
- LanguageCode: LanguageCode | string | undefined;
5437
+ LanguageCode: LanguageCode | undefined;
5438
5438
  }
5439
5439
  /**
5440
5440
  * @public
@@ -5462,7 +5462,7 @@ export interface DetectPiiEntitiesRequest {
5462
5462
  * @public
5463
5463
  * <p>The language of the input documents. Currently, English is the only valid language.</p>
5464
5464
  */
5465
- LanguageCode: LanguageCode | string | undefined;
5465
+ LanguageCode: LanguageCode | undefined;
5466
5466
  }
5467
5467
  /**
5468
5468
  * @public
@@ -5479,7 +5479,7 @@ export interface PiiEntity {
5479
5479
  * @public
5480
5480
  * <p>The entity's type.</p>
5481
5481
  */
5482
- Type?: PiiEntityType | string;
5482
+ Type?: PiiEntityType;
5483
5483
  /**
5484
5484
  * @public
5485
5485
  * <p>The zero-based offset from the beginning of the source text to the first character in the
@@ -5519,7 +5519,7 @@ export interface DetectSentimentRequest {
5519
5519
  * <p>The language of the input documents. You can specify any of the primary languages
5520
5520
  * supported by Amazon Comprehend. All documents must be in the same language.</p>
5521
5521
  */
5522
- LanguageCode: LanguageCode | string | undefined;
5522
+ LanguageCode: LanguageCode | undefined;
5523
5523
  }
5524
5524
  /**
5525
5525
  * @public
@@ -5530,7 +5530,7 @@ export interface DetectSentimentResponse {
5530
5530
  * <p>The inferred sentiment that Amazon Comprehend has the highest level of confidence
5531
5531
  * in.</p>
5532
5532
  */
5533
- Sentiment?: SentimentType | string;
5533
+ Sentiment?: SentimentType;
5534
5534
  /**
5535
5535
  * @public
5536
5536
  * <p>An object that lists the sentiments, and their corresponding confidence
@@ -5553,7 +5553,7 @@ export interface DetectSyntaxRequest {
5553
5553
  * supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"),
5554
5554
  * Italian ("it"), or Portuguese ("pt").</p>
5555
5555
  */
5556
- LanguageCode: SyntaxLanguageCode | string | undefined;
5556
+ LanguageCode: SyntaxLanguageCode | undefined;
5557
5557
  }
5558
5558
  /**
5559
5559
  * @public
@@ -5582,7 +5582,7 @@ export interface DetectTargetedSentimentRequest {
5582
5582
  * @public
5583
5583
  * <p>The language of the input documents. Currently, English is the only supported language.</p>
5584
5584
  */
5585
- LanguageCode: LanguageCode | string | undefined;
5585
+ LanguageCode: LanguageCode | undefined;
5586
5586
  }
5587
5587
  /**
5588
5588
  * @public
@@ -5683,12 +5683,12 @@ export interface DatasetFilter {
5683
5683
  * @public
5684
5684
  * <p>Filter the datasets based on the dataset status.</p>
5685
5685
  */
5686
- Status?: DatasetStatus | string;
5686
+ Status?: DatasetStatus;
5687
5687
  /**
5688
5688
  * @public
5689
5689
  * <p>Filter the datasets based on the dataset type.</p>
5690
5690
  */
5691
- DatasetType?: DatasetType | string;
5691
+ DatasetType?: DatasetType;
5692
5692
  /**
5693
5693
  * @public
5694
5694
  * <p>Filter the datasets to include datasets created after the specified time.</p>
@@ -5756,7 +5756,7 @@ export interface DocumentClassificationJobFilter {
5756
5756
  * @public
5757
5757
  * <p>Filters the list based on job status. Returns only jobs with the specified status.</p>
5758
5758
  */
5759
- JobStatus?: JobStatus | string;
5759
+ JobStatus?: JobStatus;
5760
5760
  /**
5761
5761
  * @public
5762
5762
  * <p>Filters the list of jobs based on the time that the job was submitted for processing.
@@ -5819,7 +5819,7 @@ export interface DocumentClassifierFilter {
5819
5819
  * @public
5820
5820
  * <p>Filters the list of classifiers based on status.</p>
5821
5821
  */
5822
- Status?: ModelStatus | string;
5822
+ Status?: ModelStatus;
5823
5823
  /**
5824
5824
  * @public
5825
5825
  * <p>The name that you assigned to the document classifier</p>
@@ -5920,7 +5920,7 @@ export interface DocumentClassifierSummary {
5920
5920
  * @public
5921
5921
  * <p>Provides the status of the latest document classifier version.</p>
5922
5922
  */
5923
- LatestVersionStatus?: ModelStatus | string;
5923
+ LatestVersionStatus?: ModelStatus;
5924
5924
  }
5925
5925
  /**
5926
5926
  * @public
@@ -5954,7 +5954,7 @@ export interface DominantLanguageDetectionJobFilter {
5954
5954
  * <p>Filters the list of jobs based on job status. Returns only jobs with the specified
5955
5955
  * status.</p>
5956
5956
  */
5957
- JobStatus?: JobStatus | string;
5957
+ JobStatus?: JobStatus;
5958
5958
  /**
5959
5959
  * @public
5960
5960
  * <p>Filters the list of jobs based on the time that the job was submitted for processing.
@@ -6023,7 +6023,7 @@ export interface EndpointFilter {
6023
6023
  * <p>Specifies the status of the endpoint being returned. Possible values are: Creating, Ready,
6024
6024
  * Updating, Deleting, Failed.</p>
6025
6025
  */
6026
- Status?: EndpointStatus | string;
6026
+ Status?: EndpointStatus;
6027
6027
  /**
6028
6028
  * @public
6029
6029
  * <p>Specifies a date before which the returned endpoint or endpoints were created.</p>
@@ -6089,7 +6089,7 @@ export interface EntitiesDetectionJobFilter {
6089
6089
  * <p>Filters the list of jobs based on job status. Returns only jobs with the specified
6090
6090
  * status.</p>
6091
6091
  */
6092
- JobStatus?: JobStatus | string;
6092
+ JobStatus?: JobStatus;
6093
6093
  /**
6094
6094
  * @public
6095
6095
  * <p>Filters the list of jobs based on the time that the job was submitted for processing.
@@ -6152,7 +6152,7 @@ export interface EntityRecognizerFilter {
6152
6152
  * @public
6153
6153
  * <p>The status of an entity recognizer.</p>
6154
6154
  */
6155
- Status?: ModelStatus | string;
6155
+ Status?: ModelStatus;
6156
6156
  /**
6157
6157
  * @public
6158
6158
  * <p>The name that you assigned the entity recognizer.</p>
@@ -6254,7 +6254,7 @@ export interface EntityRecognizerSummary {
6254
6254
  * @public
6255
6255
  * <p> Provides the status of the latest entity recognizer version.</p>
6256
6256
  */
6257
- LatestVersionStatus?: ModelStatus | string;
6257
+ LatestVersionStatus?: ModelStatus;
6258
6258
  }
6259
6259
  /**
6260
6260
  * @public
@@ -6286,7 +6286,7 @@ export interface EventsDetectionJobFilter {
6286
6286
  * <p>Filters the list of jobs based on job status. Returns only jobs with the specified
6287
6287
  * status.</p>
6288
6288
  */
6289
- JobStatus?: JobStatus | string;
6289
+ JobStatus?: JobStatus;
6290
6290
  /**
6291
6291
  * @public
6292
6292
  * <p>Filters the list of jobs based on the time that the job was submitted for processing.
@@ -6403,7 +6403,7 @@ export interface FlywheelFilter {
6403
6403
  * @public
6404
6404
  * <p>Filter the flywheels based on the flywheel status.</p>
6405
6405
  */
6406
- Status?: FlywheelStatus | string;
6406
+ Status?: FlywheelStatus;
6407
6407
  /**
6408
6408
  * @public
6409
6409
  * <p>Filter the flywheels to include flywheels created after the specified time.</p>
@@ -6461,12 +6461,12 @@ export interface FlywheelSummary {
6461
6461
  * @public
6462
6462
  * <p>The status of the flywheel.</p>
6463
6463
  */
6464
- Status?: FlywheelStatus | string;
6464
+ Status?: FlywheelStatus;
6465
6465
  /**
6466
6466
  * @public
6467
6467
  * <p>Model type of the flywheel's model.</p>
6468
6468
  */
6469
- ModelType?: ModelType | string;
6469
+ ModelType?: ModelType;
6470
6470
  /**
6471
6471
  * @public
6472
6472
  * <p>A description of the status of the flywheel.</p>
@@ -6520,7 +6520,7 @@ export interface KeyPhrasesDetectionJobFilter {
6520
6520
  * <p>Filters the list of jobs based on job status. Returns only jobs with the specified
6521
6521
  * status.</p>
6522
6522
  */
6523
- JobStatus?: JobStatus | string;
6523
+ JobStatus?: JobStatus;
6524
6524
  /**
6525
6525
  * @public
6526
6526
  * <p>Filters the list of jobs based on the time that the job was submitted for processing.
@@ -6587,7 +6587,7 @@ export interface PiiEntitiesDetectionJobFilter {
6587
6587
  * <p>Filters the list of jobs based on job status. Returns only jobs with the specified
6588
6588
  * status.</p>
6589
6589
  */
6590
- JobStatus?: JobStatus | string;
6590
+ JobStatus?: JobStatus;
6591
6591
  /**
6592
6592
  * @public
6593
6593
  * <p>Filters the list of jobs based on the time that the job was submitted for processing.
@@ -6655,7 +6655,7 @@ export interface SentimentDetectionJobFilter {
6655
6655
  * <p>Filters the list of jobs based on job status. Returns only jobs with the specified
6656
6656
  * status.</p>
6657
6657
  */
6658
- JobStatus?: JobStatus | string;
6658
+ JobStatus?: JobStatus;
6659
6659
  /**
6660
6660
  * @public
6661
6661
  * <p>Filters the list of jobs based on the time that the job was submitted for processing.
@@ -6753,7 +6753,7 @@ export interface TargetedSentimentDetectionJobFilter {
6753
6753
  * <p>Filters the list of jobs based on job status. Returns only jobs with the specified
6754
6754
  * status.</p>
6755
6755
  */
6756
- JobStatus?: JobStatus | string;
6756
+ JobStatus?: JobStatus;
6757
6757
  /**
6758
6758
  * @public
6759
6759
  * <p>Filters the list of jobs based on the time that the job was submitted for processing.
@@ -6821,7 +6821,7 @@ export interface TopicsDetectionJobFilter {
6821
6821
  * <p>Filters the list of topic detection jobs based on job status. Returns only jobs with
6822
6822
  * the specified status.</p>
6823
6823
  */
6824
- JobStatus?: JobStatus | string;
6824
+ JobStatus?: JobStatus;
6825
6825
  /**
6826
6826
  * @public
6827
6827
  * <p>Filters the list of jobs based on the time that the job was submitted for processing.
@@ -7043,7 +7043,7 @@ export interface StartDocumentClassificationJobResponse {
7043
7043
  * </li>
7044
7044
  * </ul>
7045
7045
  */
7046
- JobStatus?: JobStatus | string;
7046
+ JobStatus?: JobStatus;
7047
7047
  /**
7048
7048
  * @public
7049
7049
  * <p>The ARN of the custom classification model.</p>
@@ -7156,7 +7156,7 @@ export interface StartDominantLanguageDetectionJobResponse {
7156
7156
  * </li>
7157
7157
  * </ul>
7158
7158
  */
7159
- JobStatus?: JobStatus | string;
7159
+ JobStatus?: JobStatus;
7160
7160
  }
7161
7161
  /**
7162
7162
  * @public
@@ -7197,7 +7197,7 @@ export interface StartEntitiesDetectionJobRequest {
7197
7197
  * used, this parameter is ignored and the language used for training the model is used
7198
7198
  * instead.</p>
7199
7199
  */
7200
- LanguageCode: LanguageCode | string | undefined;
7200
+ LanguageCode: LanguageCode | undefined;
7201
7201
  /**
7202
7202
  * @public
7203
7203
  * <p>A unique identifier for the request. If you don't set the client request token, Amazon
@@ -7291,7 +7291,7 @@ export interface StartEntitiesDetectionJobResponse {
7291
7291
  * </li>
7292
7292
  * </ul>
7293
7293
  */
7294
- JobStatus?: JobStatus | string;
7294
+ JobStatus?: JobStatus;
7295
7295
  /**
7296
7296
  * @public
7297
7297
  * <p>The ARN of the custom entity recognition model.</p>
@@ -7327,7 +7327,7 @@ export interface StartEventsDetectionJobRequest {
7327
7327
  * @public
7328
7328
  * <p>The language code of the input documents.</p>
7329
7329
  */
7330
- LanguageCode: LanguageCode | string | undefined;
7330
+ LanguageCode: LanguageCode | undefined;
7331
7331
  /**
7332
7332
  * @public
7333
7333
  * <p>An unique identifier for the request. If you don't set the client request token, Amazon
@@ -7375,7 +7375,7 @@ export interface StartEventsDetectionJobResponse {
7375
7375
  * @public
7376
7376
  * <p>The status of the events detection job.</p>
7377
7377
  */
7378
- JobStatus?: JobStatus | string;
7378
+ JobStatus?: JobStatus;
7379
7379
  }
7380
7380
  /**
7381
7381
  * @public
@@ -7438,7 +7438,7 @@ export interface StartKeyPhrasesDetectionJobRequest {
7438
7438
  * <p>The language of the input documents. You can specify any of the primary languages
7439
7439
  * supported by Amazon Comprehend. All documents must be in the same language.</p>
7440
7440
  */
7441
- LanguageCode: LanguageCode | string | undefined;
7441
+ LanguageCode: LanguageCode | undefined;
7442
7442
  /**
7443
7443
  * @public
7444
7444
  * <p>A unique identifier for the request. If you don't set the client request token, Amazon
@@ -7521,7 +7521,7 @@ export interface StartKeyPhrasesDetectionJobResponse {
7521
7521
  * </li>
7522
7522
  * </ul>
7523
7523
  */
7524
- JobStatus?: JobStatus | string;
7524
+ JobStatus?: JobStatus;
7525
7525
  }
7526
7526
  /**
7527
7527
  * @public
@@ -7542,7 +7542,7 @@ export interface StartPiiEntitiesDetectionJobRequest {
7542
7542
  * <p>Specifies whether the output provides the locations (offsets) of PII entities or a file in
7543
7543
  * which PII entities are redacted.</p>
7544
7544
  */
7545
- Mode: PiiEntitiesDetectionMode | string | undefined;
7545
+ Mode: PiiEntitiesDetectionMode | undefined;
7546
7546
  /**
7547
7547
  * @public
7548
7548
  * <p>Provides configuration parameters for PII entity redaction.</p>
@@ -7566,7 +7566,7 @@ export interface StartPiiEntitiesDetectionJobRequest {
7566
7566
  * @public
7567
7567
  * <p>The language of the input documents. Currently, English is the only valid language.</p>
7568
7568
  */
7569
- LanguageCode: LanguageCode | string | undefined;
7569
+ LanguageCode: LanguageCode | undefined;
7570
7570
  /**
7571
7571
  * @public
7572
7572
  * <p>A unique identifier for the request. If you don't set the client request token, Amazon
@@ -7608,7 +7608,7 @@ export interface StartPiiEntitiesDetectionJobResponse {
7608
7608
  * @public
7609
7609
  * <p>The status of the job.</p>
7610
7610
  */
7611
- JobStatus?: JobStatus | string;
7611
+ JobStatus?: JobStatus;
7612
7612
  }
7613
7613
  /**
7614
7614
  * @public
@@ -7640,7 +7640,7 @@ export interface StartSentimentDetectionJobRequest {
7640
7640
  * <p>The language of the input documents. You can specify any of the primary languages
7641
7641
  * supported by Amazon Comprehend. All documents must be in the same language.</p>
7642
7642
  */
7643
- LanguageCode: LanguageCode | string | undefined;
7643
+ LanguageCode: LanguageCode | undefined;
7644
7644
  /**
7645
7645
  * @public
7646
7646
  * <p>A unique identifier for the request. If you don't set the client request token, Amazon
@@ -7722,7 +7722,7 @@ export interface StartSentimentDetectionJobResponse {
7722
7722
  * </li>
7723
7723
  * </ul>
7724
7724
  */
7725
- JobStatus?: JobStatus | string;
7725
+ JobStatus?: JobStatus;
7726
7726
  }
7727
7727
  /**
7728
7728
  * @public
@@ -7754,7 +7754,7 @@ export interface StartTargetedSentimentDetectionJobRequest {
7754
7754
  * @public
7755
7755
  * <p>The language of the input documents. Currently, English is the only supported language.</p>
7756
7756
  */
7757
- LanguageCode: LanguageCode | string | undefined;
7757
+ LanguageCode: LanguageCode | undefined;
7758
7758
  /**
7759
7759
  * @public
7760
7760
  * <p>A unique identifier for the request. If you don't set the client request token, Amazon
@@ -7837,7 +7837,7 @@ export interface StartTargetedSentimentDetectionJobResponse {
7837
7837
  * </li>
7838
7838
  * </ul>
7839
7839
  */
7840
- JobStatus?: JobStatus | string;
7840
+ JobStatus?: JobStatus;
7841
7841
  }
7842
7842
  /**
7843
7843
  * @public
@@ -7954,7 +7954,7 @@ export interface StartTopicsDetectionJobResponse {
7954
7954
  * </li>
7955
7955
  * </ul>
7956
7956
  */
7957
- JobStatus?: JobStatus | string;
7957
+ JobStatus?: JobStatus;
7958
7958
  }
7959
7959
  /**
7960
7960
  * @public
@@ -7981,7 +7981,7 @@ export interface StopDominantLanguageDetectionJobResponse {
7981
7981
  * <code>STOPPED</code> if the job was previously stopped with the
7982
7982
  * <code>StopDominantLanguageDetectionJob</code> operation.</p>
7983
7983
  */
7984
- JobStatus?: JobStatus | string;
7984
+ JobStatus?: JobStatus;
7985
7985
  }
7986
7986
  /**
7987
7987
  * @public
@@ -8008,7 +8008,7 @@ export interface StopEntitiesDetectionJobResponse {
8008
8008
  * <code>STOPPED</code> if the job was previously stopped with the
8009
8009
  * <code>StopEntitiesDetectionJob</code> operation.</p>
8010
8010
  */
8011
- JobStatus?: JobStatus | string;
8011
+ JobStatus?: JobStatus;
8012
8012
  }
8013
8013
  /**
8014
8014
  * @public
@@ -8033,7 +8033,7 @@ export interface StopEventsDetectionJobResponse {
8033
8033
  * @public
8034
8034
  * <p>The status of the events detection job.</p>
8035
8035
  */
8036
- JobStatus?: JobStatus | string;
8036
+ JobStatus?: JobStatus;
8037
8037
  }
8038
8038
  /**
8039
8039
  * @public
@@ -8060,7 +8060,7 @@ export interface StopKeyPhrasesDetectionJobResponse {
8060
8060
  * <code>STOPPED</code> if the job was previously stopped with the
8061
8061
  * <code>StopKeyPhrasesDetectionJob</code> operation.</p>
8062
8062
  */
8063
- JobStatus?: JobStatus | string;
8063
+ JobStatus?: JobStatus;
8064
8064
  }
8065
8065
  /**
8066
8066
  * @internal