@aws-sdk/client-rekognition 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.
@@ -179,7 +179,7 @@ export interface UnsuccessfulFaceAssociation {
179
179
  * @public
180
180
  * <p> The reason why the association was unsuccessful. </p>
181
181
  */
182
- Reasons?: (UnsuccessfulFaceAssociationReason | string)[];
182
+ Reasons?: UnsuccessfulFaceAssociationReason[];
183
183
  }
184
184
  /**
185
185
  * @public
@@ -216,7 +216,7 @@ export interface AssociateFacesResponse {
216
216
  * <p>The status of an update made to a UserID. Reflects if the UserID has been updated for
217
217
  * every requested change.</p>
218
218
  */
219
- UserStatus?: UserStatus | string;
219
+ UserStatus?: UserStatus;
220
220
  }
221
221
  /**
222
222
  * @public
@@ -630,7 +630,7 @@ export interface EquipmentDetection {
630
630
  * @public
631
631
  * <p>The type of detected PPE.</p>
632
632
  */
633
- Type?: ProtectiveEquipmentType | string;
633
+ Type?: ProtectiveEquipmentType;
634
634
  /**
635
635
  * @public
636
636
  * <p>Information about the body part covered by the detected PPE.</p>
@@ -648,7 +648,7 @@ export interface ProtectiveEquipmentBodyPart {
648
648
  * @public
649
649
  * <p>The detected body part.</p>
650
650
  */
651
- Name?: BodyPart | string;
651
+ Name?: BodyPart;
652
652
  /**
653
653
  * @public
654
654
  * <p>The confidence that Amazon Rekognition has in the detection accuracy of the detected body part.
@@ -693,7 +693,7 @@ export interface Emotion {
693
693
  * @public
694
694
  * <p>Type of emotion detected.</p>
695
695
  */
696
- Type?: EmotionName | string;
696
+ Type?: EmotionName;
697
697
  /**
698
698
  * @public
699
699
  * <p>Level of confidence in the determination.</p>
@@ -749,7 +749,7 @@ export interface Landmark {
749
749
  * @public
750
750
  * <p>Type of landmark.</p>
751
751
  */
752
- Type?: LandmarkType | string;
752
+ Type?: LandmarkType;
753
753
  /**
754
754
  * @public
755
755
  * <p>The x-coordinate of the landmark expressed as a ratio of the width of the image. The
@@ -891,7 +891,7 @@ export interface KnownGender {
891
891
  * @public
892
892
  * <p>A string value of the KnownGender info about the Celebrity.</p>
893
893
  */
894
- Type?: KnownGenderType | string;
894
+ Type?: KnownGenderType;
895
895
  }
896
896
  /**
897
897
  * @public
@@ -1050,7 +1050,7 @@ export interface Gender {
1050
1050
  * @public
1051
1051
  * <p>The predicted gender of the face.</p>
1052
1052
  */
1053
- Value?: GenderType | string;
1053
+ Value?: GenderType;
1054
1054
  /**
1055
1055
  * @public
1056
1056
  * <p>Level of confidence in the prediction.</p>
@@ -1426,7 +1426,7 @@ export interface CompareFacesRequest {
1426
1426
  * <p>To use quality filtering, the collection you are using must be associated with version 3
1427
1427
  * of the face model or higher.</p>
1428
1428
  */
1429
- QualityFilter?: QualityFilter | string;
1429
+ QualityFilter?: QualityFilter;
1430
1430
  }
1431
1431
  /**
1432
1432
  * @public
@@ -1497,7 +1497,7 @@ export interface CompareFacesResponse {
1497
1497
  * without orientation information in the image Exif metadata. The bounding box coordinates
1498
1498
  * aren't translated and represent the object locations before the image is rotated. </p>
1499
1499
  */
1500
- SourceImageOrientationCorrection?: OrientationCorrection | string;
1500
+ SourceImageOrientationCorrection?: OrientationCorrection;
1501
1501
  /**
1502
1502
  * @public
1503
1503
  * <p>The value of <code>TargetImageOrientationCorrection</code> is always null.</p>
@@ -1510,7 +1510,7 @@ export interface CompareFacesResponse {
1510
1510
  * without orientation information in the image Exif metadata. The bounding box coordinates
1511
1511
  * aren't translated and represent the object locations before the image is rotated. </p>
1512
1512
  */
1513
- TargetImageOrientationCorrection?: OrientationCorrection | string;
1513
+ TargetImageOrientationCorrection?: OrientationCorrection;
1514
1514
  }
1515
1515
  /**
1516
1516
  * @public
@@ -1966,7 +1966,7 @@ export interface CreateDatasetRequest {
1966
1966
  * to create a test dataset.
1967
1967
  * </p>
1968
1968
  */
1969
- DatasetType: DatasetType | string | undefined;
1969
+ DatasetType: DatasetType | undefined;
1970
1970
  /**
1971
1971
  * @public
1972
1972
  * <p>
@@ -2102,14 +2102,14 @@ export interface CreateProjectRequest {
2102
2102
  * @public
2103
2103
  * <p>Specifies feature that is being customized. If no value is provided CUSTOM_LABELS is used as a default.</p>
2104
2104
  */
2105
- Feature?: CustomizationFeature | string;
2105
+ Feature?: CustomizationFeature;
2106
2106
  /**
2107
2107
  * @public
2108
2108
  * <p>Specifies whether automatic retraining should be attempted for the versions of the
2109
2109
  * project. Automatic retraining is done as a best effort. Required argument for Content
2110
2110
  * Moderation. Applicable only to adapters.</p>
2111
2111
  */
2112
- AutoUpdate?: ProjectAutoUpdate | string;
2112
+ AutoUpdate?: ProjectAutoUpdate;
2113
2113
  }
2114
2114
  /**
2115
2115
  * @public
@@ -2740,7 +2740,7 @@ export interface DatasetDescription {
2740
2740
  * The status of the dataset.
2741
2741
  * </p>
2742
2742
  */
2743
- Status?: DatasetStatus | string;
2743
+ Status?: DatasetStatus;
2744
2744
  /**
2745
2745
  * @public
2746
2746
  * <p>
@@ -2756,7 +2756,7 @@ export interface DatasetDescription {
2756
2756
  * API call that failed.
2757
2757
  * </p>
2758
2758
  */
2759
- StatusMessageCode?: DatasetStatusMessageCode | string;
2759
+ StatusMessageCode?: DatasetStatusMessageCode;
2760
2760
  /**
2761
2761
  * @public
2762
2762
  * <p>
@@ -2830,7 +2830,7 @@ export interface DatasetMetadata {
2830
2830
  * The type of the dataset.
2831
2831
  * </p>
2832
2832
  */
2833
- DatasetType?: DatasetType | string;
2833
+ DatasetType?: DatasetType;
2834
2834
  /**
2835
2835
  * @public
2836
2836
  * <p>
@@ -2844,7 +2844,7 @@ export interface DatasetMetadata {
2844
2844
  * The status for the dataset.
2845
2845
  * </p>
2846
2846
  */
2847
- Status?: DatasetStatus | string;
2847
+ Status?: DatasetStatus;
2848
2848
  /**
2849
2849
  * @public
2850
2850
  * <p>
@@ -2860,7 +2860,7 @@ export interface DatasetMetadata {
2860
2860
  * API call that failed.
2861
2861
  * </p>
2862
2862
  */
2863
- StatusMessageCode?: DatasetStatusMessageCode | string;
2863
+ StatusMessageCode?: DatasetStatusMessageCode;
2864
2864
  }
2865
2865
  /**
2866
2866
  * @public
@@ -2946,7 +2946,7 @@ export interface UnsuccessfulFaceDeletion {
2946
2946
  * @public
2947
2947
  * <p>The reason why the deletion was unsuccessful. </p>
2948
2948
  */
2949
- Reasons?: (UnsuccessfulFaceDeletionReason | string)[];
2949
+ Reasons?: UnsuccessfulFaceDeletionReason[];
2950
2950
  }
2951
2951
  /**
2952
2952
  * @public
@@ -2994,7 +2994,7 @@ export interface DeleteProjectResponse {
2994
2994
  * @public
2995
2995
  * <p>The current status of the delete project operation.</p>
2996
2996
  */
2997
- Status?: ProjectStatus | string;
2997
+ Status?: ProjectStatus;
2998
2998
  }
2999
2999
  /**
3000
3000
  * @public
@@ -3083,7 +3083,7 @@ export interface DeleteProjectVersionResponse {
3083
3083
  * @public
3084
3084
  * <p>The status of the deletion operation.</p>
3085
3085
  */
3086
- Status?: ProjectVersionStatus | string;
3086
+ Status?: ProjectVersionStatus;
3087
3087
  }
3088
3088
  /**
3089
3089
  * @public
@@ -3224,7 +3224,7 @@ export interface DescribeProjectsRequest {
3224
3224
  * <p>Specifies the type of customization to filter projects by. If no value is specified,
3225
3225
  * CUSTOM_LABELS is used as a default.</p>
3226
3226
  */
3227
- Features?: (CustomizationFeature | string)[];
3227
+ Features?: CustomizationFeature[];
3228
3228
  }
3229
3229
  /**
3230
3230
  * @public
@@ -3245,7 +3245,7 @@ export interface ProjectDescription {
3245
3245
  * @public
3246
3246
  * <p>The current status of the project.</p>
3247
3247
  */
3248
- Status?: ProjectStatus | string;
3248
+ Status?: ProjectStatus;
3249
3249
  /**
3250
3250
  * @public
3251
3251
  * <p>
@@ -3257,12 +3257,12 @@ export interface ProjectDescription {
3257
3257
  * @public
3258
3258
  * <p>Specifies the project that is being customized.</p>
3259
3259
  */
3260
- Feature?: CustomizationFeature | string;
3260
+ Feature?: CustomizationFeature;
3261
3261
  /**
3262
3262
  * @public
3263
3263
  * <p>Indicates whether automatic retraining will be attempted for the versions of the project. Applies only to adapters. </p>
3264
3264
  */
3265
- AutoUpdate?: ProjectAutoUpdate | string;
3265
+ AutoUpdate?: ProjectAutoUpdate;
3266
3266
  }
3267
3267
  /**
3268
3268
  * @public
@@ -3466,7 +3466,7 @@ export interface ProjectVersionDescription {
3466
3466
  * @public
3467
3467
  * <p>The current status of the model version.</p>
3468
3468
  */
3469
- Status?: ProjectVersionStatus | string;
3469
+ Status?: ProjectVersionStatus;
3470
3470
  /**
3471
3471
  * @public
3472
3472
  * <p>A descriptive message for an error or warning that occurred.</p>
@@ -3534,7 +3534,7 @@ export interface ProjectVersionDescription {
3534
3534
  * @public
3535
3535
  * <p>The feature that was customized.</p>
3536
3536
  */
3537
- Feature?: CustomizationFeature | string;
3537
+ Feature?: CustomizationFeature;
3538
3538
  /**
3539
3539
  * @public
3540
3540
  * <p>The base detection model version used to create the project version.</p>
@@ -3608,7 +3608,7 @@ export interface DescribeStreamProcessorResponse {
3608
3608
  * @public
3609
3609
  * <p>Current status of the stream processor.</p>
3610
3610
  */
3611
- Status?: StreamProcessorStatus | string;
3611
+ Status?: StreamProcessorStatus;
3612
3612
  /**
3613
3613
  * @public
3614
3614
  * <p>Detailed status message about the stream processor.</p>
@@ -3791,7 +3791,7 @@ export interface DetectFacesRequest {
3791
3791
  * <code>DetectFaces</code>, they aren't supported when analyzing videos with
3792
3792
  * <code>StartFaceDetection</code> and <code>GetFaceDetection</code>.</p>
3793
3793
  */
3794
- Attributes?: (Attribute | string)[];
3794
+ Attributes?: Attribute[];
3795
3795
  }
3796
3796
  /**
3797
3797
  * @public
@@ -3814,7 +3814,7 @@ export interface DetectFacesResponse {
3814
3814
  * without orientation information in the image Exif metadata. The bounding box coordinates
3815
3815
  * aren't translated and represent the object locations before the image is rotated. </p>
3816
3816
  */
3817
- OrientationCorrection?: OrientationCorrection | string;
3817
+ OrientationCorrection?: OrientationCorrection;
3818
3818
  }
3819
3819
  /**
3820
3820
  * @public
@@ -3948,7 +3948,7 @@ export interface DetectLabelsRequest {
3948
3948
  * detection feature, while specifying IMAGE_PROPERTIES returns information regarding image color
3949
3949
  * and quality. If no option is specified GENERAL_LABELS is used by default.</p>
3950
3950
  */
3951
- Features?: (DetectLabelsFeatureName | string)[];
3951
+ Features?: DetectLabelsFeatureName[];
3952
3952
  /**
3953
3953
  * @public
3954
3954
  * <p>A list of the filters to be applied to returned detected labels and image properties.
@@ -4206,7 +4206,7 @@ export interface DetectLabelsResponse {
4206
4206
  * without orientation information in the image Exif metadata. The bounding box coordinates
4207
4207
  * aren't translated and represent the object locations before the image is rotated. </p>
4208
4208
  */
4209
- OrientationCorrection?: OrientationCorrection | string;
4209
+ OrientationCorrection?: OrientationCorrection;
4210
4210
  /**
4211
4211
  * @public
4212
4212
  * <p>Version number of the label detection model that was used to detect labels.</p>
@@ -4229,7 +4229,7 @@ export interface HumanLoopDataAttributes {
4229
4229
  * @public
4230
4230
  * <p>Sets whether the input image is free of personally identifiable information.</p>
4231
4231
  */
4232
- ContentClassifiers?: (ContentClassifier | string)[];
4232
+ ContentClassifiers?: ContentClassifier[];
4233
4233
  }
4234
4234
  /**
4235
4235
  * @public
@@ -4406,7 +4406,7 @@ export interface ProtectiveEquipmentSummarizationAttributes {
4406
4406
  * <code>PersonsWithRequiredEquipment</code> array field returned in <a>ProtectiveEquipmentSummary</a>
4407
4407
  * by <code>DetectProtectiveEquipment</code>. </p>
4408
4408
  */
4409
- RequiredEquipmentTypes: (ProtectiveEquipmentType | string)[] | undefined;
4409
+ RequiredEquipmentTypes: ProtectiveEquipmentType[] | undefined;
4410
4410
  }
4411
4411
  /**
4412
4412
  * @public
@@ -4588,7 +4588,7 @@ export interface TextDetection {
4588
4588
  * @public
4589
4589
  * <p>The type of text that was detected.</p>
4590
4590
  */
4591
- Type?: TextTypes | string;
4591
+ Type?: TextTypes;
4592
4592
  /**
4593
4593
  * @public
4594
4594
  * <p>The identifier for the detected text. The identifier is only unique for a single call
@@ -4702,7 +4702,7 @@ export interface UnsuccessfulFaceDisassociation {
4702
4702
  * @public
4703
4703
  * <p>The reason why the deletion was unsuccessful. </p>
4704
4704
  */
4705
- Reasons?: (UnsuccessfulFaceDisassociationReason | string)[];
4705
+ Reasons?: UnsuccessfulFaceDisassociationReason[];
4706
4706
  }
4707
4707
  /**
4708
4708
  * @public
@@ -4726,7 +4726,7 @@ export interface DisassociateFacesResponse {
4726
4726
  * <p>The status of an update made to a User. Reflects if the User has been updated for every
4727
4727
  * requested change.</p>
4728
4728
  */
4729
- UserStatus?: UserStatus | string;
4729
+ UserStatus?: UserStatus;
4730
4730
  }
4731
4731
  /**
4732
4732
  * @public
@@ -4940,7 +4940,7 @@ export interface GetCelebrityRecognitionRequest {
4940
4940
  * <p>Sort to use for celebrities returned in <code>Celebrities</code> field. Specify <code>ID</code> to sort by the celebrity identifier,
4941
4941
  * specify <code>TIMESTAMP</code> to sort by the time the celebrity was recognized.</p>
4942
4942
  */
4943
- SortBy?: CelebrityRecognitionSortBy | string;
4943
+ SortBy?: CelebrityRecognitionSortBy;
4944
4944
  }
4945
4945
  /**
4946
4946
  * @public
@@ -5021,7 +5021,7 @@ export interface VideoMetadata {
5021
5021
  * A description of the range of luminance values in a video, either LIMITED (16 to 235) or FULL (0 to 255).
5022
5022
  * </p>
5023
5023
  */
5024
- ColorRange?: VideoColorRange | string;
5024
+ ColorRange?: VideoColorRange;
5025
5025
  }
5026
5026
  /**
5027
5027
  * @public
@@ -5031,7 +5031,7 @@ export interface GetCelebrityRecognitionResponse {
5031
5031
  * @public
5032
5032
  * <p>The current status of the celebrity recognition job.</p>
5033
5033
  */
5034
- JobStatus?: VideoJobStatus | string;
5034
+ JobStatus?: VideoJobStatus;
5035
5035
  /**
5036
5036
  * @public
5037
5037
  * <p>If the job fails, <code>StatusMessage</code> provides a descriptive error message.</p>
@@ -5105,13 +5105,13 @@ export interface GetContentModerationRequest {
5105
5105
  * Within each label group, the array element are sorted by detection confidence.
5106
5106
  * The default sort is by <code>TIMESTAMP</code>.</p>
5107
5107
  */
5108
- SortBy?: ContentModerationSortBy | string;
5108
+ SortBy?: ContentModerationSortBy;
5109
5109
  /**
5110
5110
  * @public
5111
5111
  * <p>Defines how to aggregate results of the StartContentModeration request. Default
5112
5112
  * aggregation option is TIMESTAMPS. SEGMENTS mode aggregates moderation labels over time.</p>
5113
5113
  */
5114
- AggregateBy?: ContentModerationAggregateBy | string;
5114
+ AggregateBy?: ContentModerationAggregateBy;
5115
5115
  }
5116
5116
  /**
5117
5117
  * @public
@@ -5123,12 +5123,12 @@ export interface GetContentModerationRequestMetadata {
5123
5123
  * @public
5124
5124
  * <p>The sorting method chosen for a GetContentModeration request.</p>
5125
5125
  */
5126
- SortBy?: ContentModerationSortBy | string;
5126
+ SortBy?: ContentModerationSortBy;
5127
5127
  /**
5128
5128
  * @public
5129
5129
  * <p>The aggregation method chosen for a GetContentModeration request.</p>
5130
5130
  */
5131
- AggregateBy?: ContentModerationAggregateBy | string;
5131
+ AggregateBy?: ContentModerationAggregateBy;
5132
5132
  }
5133
5133
  /**
5134
5134
  * @public
@@ -5138,7 +5138,7 @@ export interface GetContentModerationResponse {
5138
5138
  * @public
5139
5139
  * <p>The current status of the content moderation analysis job.</p>
5140
5140
  */
5141
- JobStatus?: VideoJobStatus | string;
5141
+ JobStatus?: VideoJobStatus;
5142
5142
  /**
5143
5143
  * @public
5144
5144
  * <p>If the job fails, <code>StatusMessage</code> provides a descriptive error message.</p>
@@ -5222,7 +5222,7 @@ export interface GetFaceDetectionResponse {
5222
5222
  * @public
5223
5223
  * <p>The current status of the face detection job.</p>
5224
5224
  */
5225
- JobStatus?: VideoJobStatus | string;
5225
+ JobStatus?: VideoJobStatus;
5226
5226
  /**
5227
5227
  * @public
5228
5228
  * <p>If the job fails, <code>StatusMessage</code> provides a descriptive error message.</p>
@@ -5304,7 +5304,7 @@ export interface GetFaceLivenessSessionResultsResponse {
5304
5304
  * <p>Represents a status corresponding to the state of the session. Possible statuses are:
5305
5305
  * CREATED, IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED.</p>
5306
5306
  */
5307
- Status: LivenessSessionStatus | string | undefined;
5307
+ Status: LivenessSessionStatus | undefined;
5308
5308
  /**
5309
5309
  * @public
5310
5310
  * <p>Probabalistic confidence score for if the person in the given video was live, represented
@@ -5376,7 +5376,7 @@ export interface GetFaceSearchRequest {
5376
5376
  * <p>Sort to use for grouping faces in the response. Use <code>TIMESTAMP</code> to group faces by the time
5377
5377
  * that they are recognized. Use <code>INDEX</code> to sort by recognized faces. </p>
5378
5378
  */
5379
- SortBy?: FaceSearchSortBy | string;
5379
+ SortBy?: FaceSearchSortBy;
5380
5380
  }
5381
5381
  /**
5382
5382
  * @public
@@ -5433,7 +5433,7 @@ export interface GetFaceSearchResponse {
5433
5433
  * @public
5434
5434
  * <p>The current status of the face search job.</p>
5435
5435
  */
5436
- JobStatus?: VideoJobStatus | string;
5436
+ JobStatus?: VideoJobStatus;
5437
5437
  /**
5438
5438
  * @public
5439
5439
  * <p>If the job fails, <code>StatusMessage</code> provides a descriptive error message.</p>
@@ -5535,12 +5535,12 @@ export interface GetLabelDetectionRequest {
5535
5535
  * Within each label group, the array element are sorted by detection confidence.
5536
5536
  * The default sort is by <code>TIMESTAMP</code>.</p>
5537
5537
  */
5538
- SortBy?: LabelDetectionSortBy | string;
5538
+ SortBy?: LabelDetectionSortBy;
5539
5539
  /**
5540
5540
  * @public
5541
5541
  * <p>Defines how to aggregate the returned results. Results can be aggregated by timestamps or segments.</p>
5542
5542
  */
5543
- AggregateBy?: LabelDetectionAggregateBy | string;
5543
+ AggregateBy?: LabelDetectionAggregateBy;
5544
5544
  }
5545
5545
  /**
5546
5546
  * @public
@@ -5552,12 +5552,12 @@ export interface GetLabelDetectionRequestMetadata {
5552
5552
  * @public
5553
5553
  * <p>The sorting method chosen for a GetLabelDetection request.</p>
5554
5554
  */
5555
- SortBy?: LabelDetectionSortBy | string;
5555
+ SortBy?: LabelDetectionSortBy;
5556
5556
  /**
5557
5557
  * @public
5558
5558
  * <p>The aggregation method chosen for a GetLabelDetection request.</p>
5559
5559
  */
5560
- AggregateBy?: LabelDetectionAggregateBy | string;
5560
+ AggregateBy?: LabelDetectionAggregateBy;
5561
5561
  }
5562
5562
  /**
5563
5563
  * @public
@@ -5599,7 +5599,7 @@ export interface GetLabelDetectionResponse {
5599
5599
  * @public
5600
5600
  * <p>The current status of the label detection job.</p>
5601
5601
  */
5602
- JobStatus?: VideoJobStatus | string;
5602
+ JobStatus?: VideoJobStatus;
5603
5603
  /**
5604
5604
  * @public
5605
5605
  * <p>If the job fails, <code>StatusMessage</code> provides a descriptive error message.</p>
@@ -5695,7 +5695,7 @@ export interface GetPersonTrackingRequest {
5695
5695
  * If you sort by <code>INDEX</code>, the array elements for each person are sorted by detection confidence.
5696
5696
  * The default sort is by <code>TIMESTAMP</code>.</p>
5697
5697
  */
5698
- SortBy?: PersonTrackingSortBy | string;
5698
+ SortBy?: PersonTrackingSortBy;
5699
5699
  }
5700
5700
  /**
5701
5701
  * @public
@@ -5725,7 +5725,7 @@ export interface GetPersonTrackingResponse {
5725
5725
  * @public
5726
5726
  * <p>The current status of the person tracking job.</p>
5727
5727
  */
5728
- JobStatus?: VideoJobStatus | string;
5728
+ JobStatus?: VideoJobStatus;
5729
5729
  /**
5730
5730
  * @public
5731
5731
  * <p>If the job fails, <code>StatusMessage</code> provides a descriptive error message.</p>
@@ -5832,7 +5832,7 @@ export interface TechnicalCueSegment {
5832
5832
  * @public
5833
5833
  * <p>The type of the technical cue.</p>
5834
5834
  */
5835
- Type?: TechnicalCueType | string;
5835
+ Type?: TechnicalCueType;
5836
5836
  /**
5837
5837
  * @public
5838
5838
  * <p>The confidence that Amazon Rekognition Video has in the accuracy of the detected segment.</p>
@@ -5863,7 +5863,7 @@ export interface SegmentDetection {
5863
5863
  * @public
5864
5864
  * <p>The type of the segment. Valid values are <code>TECHNICAL_CUE</code> and <code>SHOT</code>.</p>
5865
5865
  */
5866
- Type?: SegmentType | string;
5866
+ Type?: SegmentType;
5867
5867
  /**
5868
5868
  * @public
5869
5869
  * <p>The start time of the detected segment in milliseconds from the start of the video. This value
@@ -5943,7 +5943,7 @@ export interface SegmentTypeInfo {
5943
5943
  * @public
5944
5944
  * <p>The type of a segment (technical cue or shot detection).</p>
5945
5945
  */
5946
- Type?: SegmentType | string;
5946
+ Type?: SegmentType;
5947
5947
  /**
5948
5948
  * @public
5949
5949
  * <p>The version of the model used to detect segments.</p>
@@ -5958,7 +5958,7 @@ export interface GetSegmentDetectionResponse {
5958
5958
  * @public
5959
5959
  * <p>Current status of the segment detection job.</p>
5960
5960
  */
5961
- JobStatus?: VideoJobStatus | string;
5961
+ JobStatus?: VideoJobStatus;
5962
5962
  /**
5963
5963
  * @public
5964
5964
  * <p>If the job fails, <code>StatusMessage</code> provides a descriptive error message.</p>
@@ -6070,7 +6070,7 @@ export interface GetTextDetectionResponse {
6070
6070
  * @public
6071
6071
  * <p>Current status of the text detection job.</p>
6072
6072
  */
6073
- JobStatus?: VideoJobStatus | string;
6073
+ JobStatus?: VideoJobStatus;
6074
6074
  /**
6075
6075
  * @public
6076
6076
  * <p>If the job fails, <code>StatusMessage</code> provides a descriptive error message.</p>
@@ -6154,7 +6154,7 @@ export interface IndexFacesRequest {
6154
6154
  * <p>If you provide both, <code>["ALL", "DEFAULT"]</code>, the service uses a logical AND
6155
6155
  * operator to determine which attributes to return (in this case, all attributes). </p>
6156
6156
  */
6157
- DetectionAttributes?: (Attribute | string)[];
6157
+ DetectionAttributes?: Attribute[];
6158
6158
  /**
6159
6159
  * @public
6160
6160
  * <p>The maximum number of faces to index. The value of <code>MaxFaces</code> must be greater
@@ -6186,7 +6186,7 @@ export interface IndexFacesRequest {
6186
6186
  * <p>To use quality filtering, the collection you are using must be associated with version 3
6187
6187
  * of the face model or higher.</p>
6188
6188
  */
6189
- QualityFilter?: QualityFilter | string;
6189
+ QualityFilter?: QualityFilter;
6190
6190
  }
6191
6191
  /**
6192
6192
  * @public
@@ -6237,7 +6237,7 @@ export interface UnindexedFace {
6237
6237
  * </li>
6238
6238
  * </ul>
6239
6239
  */
6240
- Reasons?: (Reason | string)[];
6240
+ Reasons?: Reason[];
6241
6241
  /**
6242
6242
  * @public
6243
6243
  * <p>The
@@ -6282,7 +6282,7 @@ export interface IndexFacesResponse {
6282
6282
  * <p>Bounding box information is returned in the <code>FaceRecords</code> array. You can get
6283
6283
  * the version of the face detection model by calling <a>DescribeCollection</a>. </p>
6284
6284
  */
6285
- OrientationCorrection?: OrientationCorrection | string;
6285
+ OrientationCorrection?: OrientationCorrection;
6286
6286
  /**
6287
6287
  * @public
6288
6288
  * <p>The version number of the face detection model that's associated with the input
@@ -6666,7 +6666,7 @@ export interface StreamProcessor {
6666
6666
  * @public
6667
6667
  * <p>Current status of the Amazon Rekognition stream processor.</p>
6668
6668
  */
6669
- Status?: StreamProcessorStatus | string;
6669
+ Status?: StreamProcessorStatus;
6670
6670
  }
6671
6671
  /**
6672
6672
  * @public
@@ -6740,7 +6740,7 @@ export interface User {
6740
6740
  * <p> Communicates if the UserID has been updated with latest set of faces to be associated
6741
6741
  * with the UserID. </p>
6742
6742
  */
6743
- UserStatus?: UserStatus | string;
6743
+ UserStatus?: UserStatus;
6744
6744
  }
6745
6745
  /**
6746
6746
  * @public
@@ -6792,7 +6792,7 @@ export interface MatchedUser {
6792
6792
  * @public
6793
6793
  * <p>The status of the user matched to a provided FaceID.</p>
6794
6794
  */
6795
- UserStatus?: UserStatus | string;
6795
+ UserStatus?: UserStatus;
6796
6796
  }
6797
6797
  /**
6798
6798
  * @public
@@ -6906,7 +6906,7 @@ export interface RecognizeCelebritiesResponse {
6906
6906
  * orientation. Images in .png format don't contain Exif metadata. </p>
6907
6907
  * </note>
6908
6908
  */
6909
- OrientationCorrection?: OrientationCorrection | string;
6909
+ OrientationCorrection?: OrientationCorrection;
6910
6910
  }
6911
6911
  /**
6912
6912
  * @public
@@ -7003,7 +7003,7 @@ export interface SearchFacesByImageRequest {
7003
7003
  * <p>To use quality filtering, the collection you are using must be associated with version 3
7004
7004
  * of the face model or higher.</p>
7005
7005
  */
7006
- QualityFilter?: QualityFilter | string;
7006
+ QualityFilter?: QualityFilter;
7007
7007
  }
7008
7008
  /**
7009
7009
  * @public
@@ -7180,7 +7180,7 @@ export interface SearchUsersByImageRequest {
7180
7180
  * <p>A filter that specifies a quality bar for how much filtering is done to identify faces.
7181
7181
  * Filtered faces aren't searched for in the collection. The default value is NONE.</p>
7182
7182
  */
7183
- QualityFilter?: QualityFilter | string;
7183
+ QualityFilter?: QualityFilter;
7184
7184
  }
7185
7185
  /**
7186
7186
  * @public
@@ -59,7 +59,7 @@ export interface UnsearchedFace {
59
59
  * @public
60
60
  * <p> Reasons why a face wasn't used for Search. </p>
61
61
  */
62
- Reasons?: (UnsearchedFaceReason | string)[];
62
+ Reasons?: UnsearchedFaceReason[];
63
63
  }
64
64
  /**
65
65
  * @public
@@ -235,7 +235,7 @@ export interface StartFaceDetectionRequest {
235
235
  * <p>
236
236
  * <code>ALL</code> - All facial attributes are returned.</p>
237
237
  */
238
- FaceAttributes?: FaceAttributes | string;
238
+ FaceAttributes?: FaceAttributes;
239
239
  /**
240
240
  * @public
241
241
  * <p>An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.
@@ -347,7 +347,7 @@ export interface StartLabelDetectionRequest {
347
347
  * @public
348
348
  * <p>The features to return after video analysis. You can specify that GENERAL_LABELS are returned.</p>
349
349
  */
350
- Features?: (LabelDetectionFeatureName | string)[];
350
+ Features?: LabelDetectionFeatureName[];
351
351
  /**
352
352
  * @public
353
353
  * <p>The settings for a StartLabelDetection request.Contains the specified parameters for the label detection request of an asynchronous label analysis operation.
@@ -440,7 +440,7 @@ export interface StartProjectVersionResponse {
440
440
  * @public
441
441
  * <p>The current running status of the model. </p>
442
442
  */
443
- Status?: ProjectVersionStatus | string;
443
+ Status?: ProjectVersionStatus;
444
444
  }
445
445
  /**
446
446
  * @public
@@ -540,7 +540,7 @@ export interface StartSegmentDetectionRequest {
540
540
  * @public
541
541
  * <p>An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.</p>
542
542
  */
543
- SegmentTypes: (SegmentType | string)[] | undefined;
543
+ SegmentTypes: SegmentType[] | undefined;
544
544
  }
545
545
  /**
546
546
  * @public
@@ -708,7 +708,7 @@ export interface StopProjectVersionResponse {
708
708
  * @public
709
709
  * <p>The current status of the stop operation. </p>
710
710
  */
711
- Status?: ProjectVersionStatus | string;
711
+ Status?: ProjectVersionStatus;
712
712
  }
713
713
  /**
714
714
  * @public
@@ -857,7 +857,7 @@ export interface UpdateStreamProcessorRequest {
857
857
  * A list of parameters you want to delete from the stream processor.
858
858
  * </p>
859
859
  */
860
- ParametersToDelete?: (StreamProcessorParameterToDelete | string)[];
860
+ ParametersToDelete?: StreamProcessorParameterToDelete[];
861
861
  }
862
862
  /**
863
863
  * @public
@@ -49,7 +49,7 @@ export interface UnsuccessfulFaceAssociation {
49
49
  FaceId?: string;
50
50
  UserId?: string;
51
51
  Confidence?: number;
52
- Reasons?: (UnsuccessfulFaceAssociationReason | string)[];
52
+ Reasons?: UnsuccessfulFaceAssociationReason[];
53
53
  }
54
54
  export declare const UserStatus: {
55
55
  readonly ACTIVE: "ACTIVE";
@@ -61,7 +61,7 @@ export type UserStatus = (typeof UserStatus)[keyof typeof UserStatus];
61
61
  export interface AssociateFacesResponse {
62
62
  AssociatedFaces?: AssociatedFace[];
63
63
  UnsuccessfulFaceAssociations?: UnsuccessfulFaceAssociation[];
64
- UserStatus?: UserStatus | string;
64
+ UserStatus?: UserStatus;
65
65
  }
66
66
  export declare class ConflictException extends __BaseException {
67
67
  readonly name: "ConflictException";
@@ -210,11 +210,11 @@ export type ProtectiveEquipmentType =
210
210
  export interface EquipmentDetection {
211
211
  BoundingBox?: BoundingBox;
212
212
  Confidence?: number;
213
- Type?: ProtectiveEquipmentType | string;
213
+ Type?: ProtectiveEquipmentType;
214
214
  CoversBodyPart?: CoversBodyPart;
215
215
  }
216
216
  export interface ProtectiveEquipmentBodyPart {
217
- Name?: BodyPart | string;
217
+ Name?: BodyPart;
218
218
  Confidence?: number;
219
219
  EquipmentDetections?: EquipmentDetection[];
220
220
  }
@@ -231,7 +231,7 @@ export declare const EmotionName: {
231
231
  };
232
232
  export type EmotionName = (typeof EmotionName)[keyof typeof EmotionName];
233
233
  export interface Emotion {
234
- Type?: EmotionName | string;
234
+ Type?: EmotionName;
235
235
  Confidence?: number;
236
236
  }
237
237
  export declare const LandmarkType: {
@@ -268,7 +268,7 @@ export declare const LandmarkType: {
268
268
  };
269
269
  export type LandmarkType = (typeof LandmarkType)[keyof typeof LandmarkType];
270
270
  export interface Landmark {
271
- Type?: LandmarkType | string;
271
+ Type?: LandmarkType;
272
272
  X?: number;
273
273
  Y?: number;
274
274
  }
@@ -303,7 +303,7 @@ export declare const KnownGenderType: {
303
303
  export type KnownGenderType =
304
304
  (typeof KnownGenderType)[keyof typeof KnownGenderType];
305
305
  export interface KnownGender {
306
- Type?: KnownGenderType | string;
306
+ Type?: KnownGenderType;
307
307
  }
308
308
  export interface Celebrity {
309
309
  Urls?: string[];
@@ -336,7 +336,7 @@ export declare const GenderType: {
336
336
  };
337
337
  export type GenderType = (typeof GenderType)[keyof typeof GenderType];
338
338
  export interface Gender {
339
- Value?: GenderType | string;
339
+ Value?: GenderType;
340
340
  Confidence?: number;
341
341
  }
342
342
  export interface MouthOpen {
@@ -409,7 +409,7 @@ export interface CompareFacesRequest {
409
409
  SourceImage: Image | undefined;
410
410
  TargetImage: Image | undefined;
411
411
  SimilarityThreshold?: number;
412
- QualityFilter?: QualityFilter | string;
412
+ QualityFilter?: QualityFilter;
413
413
  }
414
414
  export interface CompareFacesMatch {
415
415
  Similarity?: number;
@@ -427,8 +427,8 @@ export interface CompareFacesResponse {
427
427
  SourceImageFace?: ComparedSourceImageFace;
428
428
  FaceMatches?: CompareFacesMatch[];
429
429
  UnmatchedFaces?: ComparedFace[];
430
- SourceImageOrientationCorrection?: OrientationCorrection | string;
431
- TargetImageOrientationCorrection?: OrientationCorrection | string;
430
+ SourceImageOrientationCorrection?: OrientationCorrection;
431
+ TargetImageOrientationCorrection?: OrientationCorrection;
432
432
  }
433
433
  export declare class ImageTooLargeException extends __BaseException {
434
434
  readonly name: "ImageTooLargeException";
@@ -564,7 +564,7 @@ export declare const DatasetType: {
564
564
  export type DatasetType = (typeof DatasetType)[keyof typeof DatasetType];
565
565
  export interface CreateDatasetRequest {
566
566
  DatasetSource?: DatasetSource;
567
- DatasetType: DatasetType | string | undefined;
567
+ DatasetType: DatasetType | undefined;
568
568
  ProjectArn: string | undefined;
569
569
  }
570
570
  export interface CreateDatasetResponse {
@@ -600,8 +600,8 @@ export type CustomizationFeature =
600
600
  (typeof CustomizationFeature)[keyof typeof CustomizationFeature];
601
601
  export interface CreateProjectRequest {
602
602
  ProjectName: string | undefined;
603
- Feature?: CustomizationFeature | string;
604
- AutoUpdate?: ProjectAutoUpdate | string;
603
+ Feature?: CustomizationFeature;
604
+ AutoUpdate?: ProjectAutoUpdate;
605
605
  }
606
606
  export interface CreateProjectResponse {
607
607
  ProjectArn?: string;
@@ -731,9 +731,9 @@ export type DatasetStatusMessageCode =
731
731
  export interface DatasetDescription {
732
732
  CreationTimestamp?: Date;
733
733
  LastUpdatedTimestamp?: Date;
734
- Status?: DatasetStatus | string;
734
+ Status?: DatasetStatus;
735
735
  StatusMessage?: string;
736
- StatusMessageCode?: DatasetStatusMessageCode | string;
736
+ StatusMessageCode?: DatasetStatusMessageCode;
737
737
  DatasetStats?: DatasetStats;
738
738
  }
739
739
  export interface DatasetLabelStats {
@@ -746,11 +746,11 @@ export interface DatasetLabelDescription {
746
746
  }
747
747
  export interface DatasetMetadata {
748
748
  CreationTimestamp?: Date;
749
- DatasetType?: DatasetType | string;
749
+ DatasetType?: DatasetType;
750
750
  DatasetArn?: string;
751
- Status?: DatasetStatus | string;
751
+ Status?: DatasetStatus;
752
752
  StatusMessage?: string;
753
- StatusMessageCode?: DatasetStatusMessageCode | string;
753
+ StatusMessageCode?: DatasetStatusMessageCode;
754
754
  }
755
755
  export interface DeleteCollectionRequest {
756
756
  CollectionId: string | undefined;
@@ -775,7 +775,7 @@ export type UnsuccessfulFaceDeletionReason =
775
775
  export interface UnsuccessfulFaceDeletion {
776
776
  FaceId?: string;
777
777
  UserId?: string;
778
- Reasons?: (UnsuccessfulFaceDeletionReason | string)[];
778
+ Reasons?: UnsuccessfulFaceDeletionReason[];
779
779
  }
780
780
  export interface DeleteFacesResponse {
781
781
  DeletedFaces?: string[];
@@ -791,7 +791,7 @@ export declare const ProjectStatus: {
791
791
  };
792
792
  export type ProjectStatus = (typeof ProjectStatus)[keyof typeof ProjectStatus];
793
793
  export interface DeleteProjectResponse {
794
- Status?: ProjectStatus | string;
794
+ Status?: ProjectStatus;
795
795
  }
796
796
  export interface DeleteProjectPolicyRequest {
797
797
  ProjectArn: string | undefined;
@@ -834,7 +834,7 @@ export declare const ProjectVersionStatus: {
834
834
  export type ProjectVersionStatus =
835
835
  (typeof ProjectVersionStatus)[keyof typeof ProjectVersionStatus];
836
836
  export interface DeleteProjectVersionResponse {
837
- Status?: ProjectVersionStatus | string;
837
+ Status?: ProjectVersionStatus;
838
838
  }
839
839
  export interface DeleteStreamProcessorRequest {
840
840
  Name: string | undefined;
@@ -866,15 +866,15 @@ export interface DescribeProjectsRequest {
866
866
  NextToken?: string;
867
867
  MaxResults?: number;
868
868
  ProjectNames?: string[];
869
- Features?: (CustomizationFeature | string)[];
869
+ Features?: CustomizationFeature[];
870
870
  }
871
871
  export interface ProjectDescription {
872
872
  ProjectArn?: string;
873
873
  CreationTimestamp?: Date;
874
- Status?: ProjectStatus | string;
874
+ Status?: ProjectStatus;
875
875
  Datasets?: DatasetMetadata[];
876
- Feature?: CustomizationFeature | string;
877
- AutoUpdate?: ProjectAutoUpdate | string;
876
+ Feature?: CustomizationFeature;
877
+ AutoUpdate?: ProjectAutoUpdate;
878
878
  }
879
879
  export interface DescribeProjectsResponse {
880
880
  ProjectDescriptions?: ProjectDescription[];
@@ -923,7 +923,7 @@ export interface ProjectVersionDescription {
923
923
  ProjectVersionArn?: string;
924
924
  CreationTimestamp?: Date;
925
925
  MinInferenceUnits?: number;
926
- Status?: ProjectVersionStatus | string;
926
+ Status?: ProjectVersionStatus;
927
927
  StatusMessage?: string;
928
928
  BillableTrainingTimeInSeconds?: number;
929
929
  TrainingEndTimestamp?: Date;
@@ -936,7 +936,7 @@ export interface ProjectVersionDescription {
936
936
  MaxInferenceUnits?: number;
937
937
  SourceProjectVersionArn?: string;
938
938
  VersionDescription?: string;
939
- Feature?: CustomizationFeature | string;
939
+ Feature?: CustomizationFeature;
940
940
  BaseModelVersion?: string;
941
941
  FeatureConfig?: CustomizationFeatureConfig;
942
942
  }
@@ -960,7 +960,7 @@ export type StreamProcessorStatus =
960
960
  export interface DescribeStreamProcessorResponse {
961
961
  Name?: string;
962
962
  StreamProcessorArn?: string;
963
- Status?: StreamProcessorStatus | string;
963
+ Status?: StreamProcessorStatus;
964
964
  StatusMessage?: string;
965
965
  CreationTimestamp?: Date;
966
966
  LastUpdateTimestamp?: Date;
@@ -994,11 +994,11 @@ export declare class ResourceNotReadyException extends __BaseException {
994
994
  }
995
995
  export interface DetectFacesRequest {
996
996
  Image: Image | undefined;
997
- Attributes?: (Attribute | string)[];
997
+ Attributes?: Attribute[];
998
998
  }
999
999
  export interface DetectFacesResponse {
1000
1000
  FaceDetails?: FaceDetail[];
1001
- OrientationCorrection?: OrientationCorrection | string;
1001
+ OrientationCorrection?: OrientationCorrection;
1002
1002
  }
1003
1003
  export interface DetectionFilter {
1004
1004
  MinConfidence?: number;
@@ -1028,7 +1028,7 @@ export interface DetectLabelsRequest {
1028
1028
  Image: Image | undefined;
1029
1029
  MaxLabels?: number;
1030
1030
  MinConfidence?: number;
1031
- Features?: (DetectLabelsFeatureName | string)[];
1031
+ Features?: DetectLabelsFeatureName[];
1032
1032
  Settings?: DetectLabelsSettings;
1033
1033
  }
1034
1034
  export interface DominantColor {
@@ -1083,12 +1083,12 @@ export interface Label {
1083
1083
  }
1084
1084
  export interface DetectLabelsResponse {
1085
1085
  Labels?: Label[];
1086
- OrientationCorrection?: OrientationCorrection | string;
1086
+ OrientationCorrection?: OrientationCorrection;
1087
1087
  LabelModelVersion?: string;
1088
1088
  ImageProperties?: DetectLabelsImageProperties;
1089
1089
  }
1090
1090
  export interface HumanLoopDataAttributes {
1091
- ContentClassifiers?: (ContentClassifier | string)[];
1091
+ ContentClassifiers?: ContentClassifier[];
1092
1092
  }
1093
1093
  export interface HumanLoopConfig {
1094
1094
  HumanLoopName: string | undefined;
@@ -1130,7 +1130,7 @@ export declare class HumanLoopQuotaExceededException extends __BaseException {
1130
1130
  }
1131
1131
  export interface ProtectiveEquipmentSummarizationAttributes {
1132
1132
  MinConfidence: number | undefined;
1133
- RequiredEquipmentTypes: (ProtectiveEquipmentType | string)[] | undefined;
1133
+ RequiredEquipmentTypes: ProtectiveEquipmentType[] | undefined;
1134
1134
  }
1135
1135
  export interface DetectProtectiveEquipmentRequest {
1136
1136
  Image: Image | undefined;
@@ -1167,7 +1167,7 @@ export declare const TextTypes: {
1167
1167
  export type TextTypes = (typeof TextTypes)[keyof typeof TextTypes];
1168
1168
  export interface TextDetection {
1169
1169
  DetectedText?: string;
1170
- Type?: TextTypes | string;
1170
+ Type?: TextTypes;
1171
1171
  Id?: number;
1172
1172
  ParentId?: number;
1173
1173
  Confidence?: number;
@@ -1195,12 +1195,12 @@ export type UnsuccessfulFaceDisassociationReason =
1195
1195
  export interface UnsuccessfulFaceDisassociation {
1196
1196
  FaceId?: string;
1197
1197
  UserId?: string;
1198
- Reasons?: (UnsuccessfulFaceDisassociationReason | string)[];
1198
+ Reasons?: UnsuccessfulFaceDisassociationReason[];
1199
1199
  }
1200
1200
  export interface DisassociateFacesResponse {
1201
1201
  DisassociatedFaces?: DisassociatedFace[];
1202
1202
  UnsuccessfulFaceDisassociations?: UnsuccessfulFaceDisassociation[];
1203
- UserStatus?: UserStatus | string;
1203
+ UserStatus?: UserStatus;
1204
1204
  }
1205
1205
  export interface DistributeDataset {
1206
1206
  Arn: string | undefined;
@@ -1254,7 +1254,7 @@ export interface GetCelebrityRecognitionRequest {
1254
1254
  JobId: string | undefined;
1255
1255
  MaxResults?: number;
1256
1256
  NextToken?: string;
1257
- SortBy?: CelebrityRecognitionSortBy | string;
1257
+ SortBy?: CelebrityRecognitionSortBy;
1258
1258
  }
1259
1259
  export declare const VideoJobStatus: {
1260
1260
  readonly FAILED: "FAILED";
@@ -1279,10 +1279,10 @@ export interface VideoMetadata {
1279
1279
  FrameRate?: number;
1280
1280
  FrameHeight?: number;
1281
1281
  FrameWidth?: number;
1282
- ColorRange?: VideoColorRange | string;
1282
+ ColorRange?: VideoColorRange;
1283
1283
  }
1284
1284
  export interface GetCelebrityRecognitionResponse {
1285
- JobStatus?: VideoJobStatus | string;
1285
+ JobStatus?: VideoJobStatus;
1286
1286
  StatusMessage?: string;
1287
1287
  VideoMetadata?: VideoMetadata;
1288
1288
  NextToken?: string;
@@ -1295,15 +1295,15 @@ export interface GetContentModerationRequest {
1295
1295
  JobId: string | undefined;
1296
1296
  MaxResults?: number;
1297
1297
  NextToken?: string;
1298
- SortBy?: ContentModerationSortBy | string;
1299
- AggregateBy?: ContentModerationAggregateBy | string;
1298
+ SortBy?: ContentModerationSortBy;
1299
+ AggregateBy?: ContentModerationAggregateBy;
1300
1300
  }
1301
1301
  export interface GetContentModerationRequestMetadata {
1302
- SortBy?: ContentModerationSortBy | string;
1303
- AggregateBy?: ContentModerationAggregateBy | string;
1302
+ SortBy?: ContentModerationSortBy;
1303
+ AggregateBy?: ContentModerationAggregateBy;
1304
1304
  }
1305
1305
  export interface GetContentModerationResponse {
1306
- JobStatus?: VideoJobStatus | string;
1306
+ JobStatus?: VideoJobStatus;
1307
1307
  StatusMessage?: string;
1308
1308
  VideoMetadata?: VideoMetadata;
1309
1309
  ModerationLabels?: ContentModerationDetection[];
@@ -1320,7 +1320,7 @@ export interface GetFaceDetectionRequest {
1320
1320
  NextToken?: string;
1321
1321
  }
1322
1322
  export interface GetFaceDetectionResponse {
1323
- JobStatus?: VideoJobStatus | string;
1323
+ JobStatus?: VideoJobStatus;
1324
1324
  StatusMessage?: string;
1325
1325
  VideoMetadata?: VideoMetadata;
1326
1326
  NextToken?: string;
@@ -1343,7 +1343,7 @@ export type LivenessSessionStatus =
1343
1343
  (typeof LivenessSessionStatus)[keyof typeof LivenessSessionStatus];
1344
1344
  export interface GetFaceLivenessSessionResultsResponse {
1345
1345
  SessionId: string | undefined;
1346
- Status: LivenessSessionStatus | string | undefined;
1346
+ Status: LivenessSessionStatus | undefined;
1347
1347
  Confidence?: number;
1348
1348
  ReferenceImage?: AuditImage;
1349
1349
  AuditImages?: AuditImage[];
@@ -1362,7 +1362,7 @@ export interface GetFaceSearchRequest {
1362
1362
  JobId: string | undefined;
1363
1363
  MaxResults?: number;
1364
1364
  NextToken?: string;
1365
- SortBy?: FaceSearchSortBy | string;
1365
+ SortBy?: FaceSearchSortBy;
1366
1366
  }
1367
1367
  export interface PersonDetail {
1368
1368
  Index?: number;
@@ -1375,7 +1375,7 @@ export interface PersonMatch {
1375
1375
  FaceMatches?: FaceMatch[];
1376
1376
  }
1377
1377
  export interface GetFaceSearchResponse {
1378
- JobStatus?: VideoJobStatus | string;
1378
+ JobStatus?: VideoJobStatus;
1379
1379
  StatusMessage?: string;
1380
1380
  NextToken?: string;
1381
1381
  VideoMetadata?: VideoMetadata;
@@ -1400,12 +1400,12 @@ export interface GetLabelDetectionRequest {
1400
1400
  JobId: string | undefined;
1401
1401
  MaxResults?: number;
1402
1402
  NextToken?: string;
1403
- SortBy?: LabelDetectionSortBy | string;
1404
- AggregateBy?: LabelDetectionAggregateBy | string;
1403
+ SortBy?: LabelDetectionSortBy;
1404
+ AggregateBy?: LabelDetectionAggregateBy;
1405
1405
  }
1406
1406
  export interface GetLabelDetectionRequestMetadata {
1407
- SortBy?: LabelDetectionSortBy | string;
1408
- AggregateBy?: LabelDetectionAggregateBy | string;
1407
+ SortBy?: LabelDetectionSortBy;
1408
+ AggregateBy?: LabelDetectionAggregateBy;
1409
1409
  }
1410
1410
  export interface LabelDetection {
1411
1411
  Timestamp?: number;
@@ -1415,7 +1415,7 @@ export interface LabelDetection {
1415
1415
  DurationMillis?: number;
1416
1416
  }
1417
1417
  export interface GetLabelDetectionResponse {
1418
- JobStatus?: VideoJobStatus | string;
1418
+ JobStatus?: VideoJobStatus;
1419
1419
  StatusMessage?: string;
1420
1420
  VideoMetadata?: VideoMetadata;
1421
1421
  NextToken?: string;
@@ -1436,14 +1436,14 @@ export interface GetPersonTrackingRequest {
1436
1436
  JobId: string | undefined;
1437
1437
  MaxResults?: number;
1438
1438
  NextToken?: string;
1439
- SortBy?: PersonTrackingSortBy | string;
1439
+ SortBy?: PersonTrackingSortBy;
1440
1440
  }
1441
1441
  export interface PersonDetection {
1442
1442
  Timestamp?: number;
1443
1443
  Person?: PersonDetail;
1444
1444
  }
1445
1445
  export interface GetPersonTrackingResponse {
1446
- JobStatus?: VideoJobStatus | string;
1446
+ JobStatus?: VideoJobStatus;
1447
1447
  StatusMessage?: string;
1448
1448
  VideoMetadata?: VideoMetadata;
1449
1449
  NextToken?: string;
@@ -1473,7 +1473,7 @@ export declare const TechnicalCueType: {
1473
1473
  export type TechnicalCueType =
1474
1474
  (typeof TechnicalCueType)[keyof typeof TechnicalCueType];
1475
1475
  export interface TechnicalCueSegment {
1476
- Type?: TechnicalCueType | string;
1476
+ Type?: TechnicalCueType;
1477
1477
  Confidence?: number;
1478
1478
  }
1479
1479
  export declare const SegmentType: {
@@ -1482,7 +1482,7 @@ export declare const SegmentType: {
1482
1482
  };
1483
1483
  export type SegmentType = (typeof SegmentType)[keyof typeof SegmentType];
1484
1484
  export interface SegmentDetection {
1485
- Type?: SegmentType | string;
1485
+ Type?: SegmentType;
1486
1486
  StartTimestampMillis?: number;
1487
1487
  EndTimestampMillis?: number;
1488
1488
  DurationMillis?: number;
@@ -1496,11 +1496,11 @@ export interface SegmentDetection {
1496
1496
  DurationFrames?: number;
1497
1497
  }
1498
1498
  export interface SegmentTypeInfo {
1499
- Type?: SegmentType | string;
1499
+ Type?: SegmentType;
1500
1500
  ModelVersion?: string;
1501
1501
  }
1502
1502
  export interface GetSegmentDetectionResponse {
1503
- JobStatus?: VideoJobStatus | string;
1503
+ JobStatus?: VideoJobStatus;
1504
1504
  StatusMessage?: string;
1505
1505
  VideoMetadata?: VideoMetadata[];
1506
1506
  AudioMetadata?: AudioMetadata[];
@@ -1521,7 +1521,7 @@ export interface TextDetectionResult {
1521
1521
  TextDetection?: TextDetection;
1522
1522
  }
1523
1523
  export interface GetTextDetectionResponse {
1524
- JobStatus?: VideoJobStatus | string;
1524
+ JobStatus?: VideoJobStatus;
1525
1525
  StatusMessage?: string;
1526
1526
  VideoMetadata?: VideoMetadata;
1527
1527
  TextDetections?: TextDetectionResult[];
@@ -1535,9 +1535,9 @@ export interface IndexFacesRequest {
1535
1535
  CollectionId: string | undefined;
1536
1536
  Image: Image | undefined;
1537
1537
  ExternalImageId?: string;
1538
- DetectionAttributes?: (Attribute | string)[];
1538
+ DetectionAttributes?: Attribute[];
1539
1539
  MaxFaces?: number;
1540
- QualityFilter?: QualityFilter | string;
1540
+ QualityFilter?: QualityFilter;
1541
1541
  }
1542
1542
  export declare const Reason: {
1543
1543
  readonly EXCEEDS_MAX_FACES: "EXCEEDS_MAX_FACES";
@@ -1550,12 +1550,12 @@ export declare const Reason: {
1550
1550
  };
1551
1551
  export type Reason = (typeof Reason)[keyof typeof Reason];
1552
1552
  export interface UnindexedFace {
1553
- Reasons?: (Reason | string)[];
1553
+ Reasons?: Reason[];
1554
1554
  FaceDetail?: FaceDetail;
1555
1555
  }
1556
1556
  export interface IndexFacesResponse {
1557
1557
  FaceRecords?: FaceRecord[];
1558
- OrientationCorrection?: OrientationCorrection | string;
1558
+ OrientationCorrection?: OrientationCorrection;
1559
1559
  FaceModelVersion?: string;
1560
1560
  UnindexedFaces?: UnindexedFace[];
1561
1561
  }
@@ -1637,7 +1637,7 @@ export interface ListStreamProcessorsRequest {
1637
1637
  }
1638
1638
  export interface StreamProcessor {
1639
1639
  Name?: string;
1640
- Status?: StreamProcessorStatus | string;
1640
+ Status?: StreamProcessorStatus;
1641
1641
  }
1642
1642
  export interface ListStreamProcessorsResponse {
1643
1643
  NextToken?: string;
@@ -1656,7 +1656,7 @@ export interface ListUsersRequest {
1656
1656
  }
1657
1657
  export interface User {
1658
1658
  UserId?: string;
1659
- UserStatus?: UserStatus | string;
1659
+ UserStatus?: UserStatus;
1660
1660
  }
1661
1661
  export interface ListUsersResponse {
1662
1662
  Users?: User[];
@@ -1677,7 +1677,7 @@ export declare class MalformedPolicyDocumentException extends __BaseException {
1677
1677
  }
1678
1678
  export interface MatchedUser {
1679
1679
  UserId?: string;
1680
- UserStatus?: UserStatus | string;
1680
+ UserStatus?: UserStatus;
1681
1681
  }
1682
1682
  export interface NotificationChannel {
1683
1683
  SNSTopicArn: string | undefined;
@@ -1698,7 +1698,7 @@ export interface RecognizeCelebritiesRequest {
1698
1698
  export interface RecognizeCelebritiesResponse {
1699
1699
  CelebrityFaces?: Celebrity[];
1700
1700
  UnrecognizedFaces?: ComparedFace[];
1701
- OrientationCorrection?: OrientationCorrection | string;
1701
+ OrientationCorrection?: OrientationCorrection;
1702
1702
  }
1703
1703
  export interface SearchFacesRequest {
1704
1704
  CollectionId: string | undefined;
@@ -1716,7 +1716,7 @@ export interface SearchFacesByImageRequest {
1716
1716
  Image: Image | undefined;
1717
1717
  MaxFaces?: number;
1718
1718
  FaceMatchThreshold?: number;
1719
- QualityFilter?: QualityFilter | string;
1719
+ QualityFilter?: QualityFilter;
1720
1720
  }
1721
1721
  export interface SearchFacesByImageResponse {
1722
1722
  SearchedFaceBoundingBox?: BoundingBox;
@@ -1752,7 +1752,7 @@ export interface SearchUsersByImageRequest {
1752
1752
  Image: Image | undefined;
1753
1753
  UserMatchThreshold?: number;
1754
1754
  MaxUsers?: number;
1755
- QualityFilter?: QualityFilter | string;
1755
+ QualityFilter?: QualityFilter;
1756
1756
  }
1757
1757
  export interface SearchedFaceDetails {
1758
1758
  FaceDetail?: FaceDetail;
@@ -33,7 +33,7 @@ export type UnsearchedFaceReason =
33
33
  (typeof UnsearchedFaceReason)[keyof typeof UnsearchedFaceReason];
34
34
  export interface UnsearchedFace {
35
35
  FaceDetails?: FaceDetail;
36
- Reasons?: (UnsearchedFaceReason | string)[];
36
+ Reasons?: UnsearchedFaceReason[];
37
37
  }
38
38
  export interface SearchUsersByImageResponse {
39
39
  UserMatches?: UserMatch[];
@@ -74,7 +74,7 @@ export interface StartFaceDetectionRequest {
74
74
  Video: Video | undefined;
75
75
  ClientRequestToken?: string;
76
76
  NotificationChannel?: NotificationChannel;
77
- FaceAttributes?: FaceAttributes | string;
77
+ FaceAttributes?: FaceAttributes;
78
78
  JobTag?: string;
79
79
  }
80
80
  export interface StartFaceDetectionResponse {
@@ -97,7 +97,7 @@ export interface StartLabelDetectionRequest {
97
97
  MinConfidence?: number;
98
98
  NotificationChannel?: NotificationChannel;
99
99
  JobTag?: string;
100
- Features?: (LabelDetectionFeatureName | string)[];
100
+ Features?: LabelDetectionFeatureName[];
101
101
  Settings?: LabelDetectionSettings;
102
102
  }
103
103
  export interface StartLabelDetectionResponse {
@@ -118,7 +118,7 @@ export interface StartProjectVersionRequest {
118
118
  MaxInferenceUnits?: number;
119
119
  }
120
120
  export interface StartProjectVersionResponse {
121
- Status?: ProjectVersionStatus | string;
121
+ Status?: ProjectVersionStatus;
122
122
  }
123
123
  export interface StartShotDetectionFilter {
124
124
  MinSegmentConfidence?: number;
@@ -137,7 +137,7 @@ export interface StartSegmentDetectionRequest {
137
137
  NotificationChannel?: NotificationChannel;
138
138
  JobTag?: string;
139
139
  Filters?: StartSegmentDetectionFilters;
140
- SegmentTypes: (SegmentType | string)[] | undefined;
140
+ SegmentTypes: SegmentType[] | undefined;
141
141
  }
142
142
  export interface StartSegmentDetectionResponse {
143
143
  JobId?: string;
@@ -174,7 +174,7 @@ export interface StopProjectVersionRequest {
174
174
  ProjectVersionArn: string | undefined;
175
175
  }
176
176
  export interface StopProjectVersionResponse {
177
- Status?: ProjectVersionStatus | string;
177
+ Status?: ProjectVersionStatus;
178
178
  }
179
179
  export interface StopStreamProcessorRequest {
180
180
  Name: string | undefined;
@@ -209,6 +209,6 @@ export interface UpdateStreamProcessorRequest {
209
209
  SettingsForUpdate?: StreamProcessorSettingsForUpdate;
210
210
  RegionsOfInterestForUpdate?: RegionOfInterest[];
211
211
  DataSharingPreferenceForUpdate?: StreamProcessorDataSharingPreference;
212
- ParametersToDelete?: (StreamProcessorParameterToDelete | string)[];
212
+ ParametersToDelete?: StreamProcessorParameterToDelete[];
213
213
  }
214
214
  export interface UpdateStreamProcessorResponse {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rekognition",
3
3
  "description": "AWS SDK for JavaScript Rekognition Client for Node.js, Browser and React Native",
4
- "version": "3.428.0",
4
+ "version": "3.430.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,28 +21,28 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
30
30
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
32
  "@aws-sdk/types": "3.428.0",
33
33
  "@aws-sdk/util-endpoints": "3.428.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
36
- "@smithy/config-resolver": "^2.0.14",
35
+ "@aws-sdk/util-user-agent-node": "3.430.0",
36
+ "@smithy/config-resolver": "^2.0.15",
37
37
  "@smithy/fetch-http-handler": "^2.2.3",
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
42
- "@smithy/middleware-retry": "^2.0.16",
41
+ "@smithy/middleware-endpoint": "^2.1.2",
42
+ "@smithy/middleware-retry": "^2.0.17",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.1",
45
+ "@smithy/node-config-provider": "^2.1.2",
46
46
  "@smithy/node-http-handler": "^2.1.7",
47
47
  "@smithy/protocol-http": "^3.0.7",
48
48
  "@smithy/smithy-client": "^2.1.11",
@@ -52,7 +52,7 @@
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
54
  "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.19",
55
+ "@smithy/util-defaults-mode-node": "^2.0.20",
56
56
  "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "@smithy/util-waiter": "^2.0.11",