@aws-sdk/client-rekognition 3.427.0 → 3.429.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist-cjs/models/models_0.js +12 -12
  2. package/dist-cjs/models/models_1.js +11 -1
  3. package/dist-cjs/protocols/Aws_json1_1.js +48 -1
  4. package/dist-es/models/models_0.js +10 -10
  5. package/dist-es/models/models_1.js +10 -0
  6. package/dist-es/protocols/Aws_json1_1.js +48 -1
  7. package/dist-types/commands/CopyProjectVersionCommand.d.ts +12 -5
  8. package/dist-types/commands/CreateDatasetCommand.d.ts +9 -4
  9. package/dist-types/commands/CreateProjectCommand.d.ts +13 -6
  10. package/dist-types/commands/CreateProjectVersionCommand.d.ts +29 -22
  11. package/dist-types/commands/CreateStreamProcessorCommand.d.ts +5 -3
  12. package/dist-types/commands/DeleteDatasetCommand.d.ts +9 -4
  13. package/dist-types/commands/DeleteProjectCommand.d.ts +2 -2
  14. package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +4 -1
  15. package/dist-types/commands/DeleteProjectVersionCommand.d.ts +6 -7
  16. package/dist-types/commands/DescribeDatasetCommand.d.ts +4 -1
  17. package/dist-types/commands/DescribeProjectVersionsCommand.d.ts +12 -4
  18. package/dist-types/commands/DescribeProjectsCommand.d.ts +6 -1
  19. package/dist-types/commands/DetectCustomLabelsCommand.d.ts +9 -4
  20. package/dist-types/commands/DetectModerationLabelsCommand.d.ts +12 -0
  21. package/dist-types/commands/DistributeDatasetEntriesCommand.d.ts +4 -1
  22. package/dist-types/commands/ListDatasetEntriesCommand.d.ts +4 -1
  23. package/dist-types/commands/ListDatasetLabelsCommand.d.ts +4 -1
  24. package/dist-types/commands/ListProjectPoliciesCommand.d.ts +4 -1
  25. package/dist-types/commands/PutProjectPolicyCommand.d.ts +12 -6
  26. package/dist-types/commands/SearchUsersByImageCommand.d.ts +2 -1
  27. package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +6 -5
  28. package/dist-types/commands/StartContentModerationCommand.d.ts +5 -3
  29. package/dist-types/commands/StartFaceDetectionCommand.d.ts +5 -3
  30. package/dist-types/commands/StartFaceSearchCommand.d.ts +5 -3
  31. package/dist-types/commands/StartLabelDetectionCommand.d.ts +5 -3
  32. package/dist-types/commands/StartPersonTrackingCommand.d.ts +5 -3
  33. package/dist-types/commands/StartProjectVersionCommand.d.ts +11 -7
  34. package/dist-types/commands/StartSegmentDetectionCommand.d.ts +5 -3
  35. package/dist-types/commands/StartTextDetectionCommand.d.ts +5 -3
  36. package/dist-types/commands/StopProjectVersionCommand.d.ts +7 -3
  37. package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +9 -4
  38. package/dist-types/models/models_0.d.ts +253 -241
  39. package/dist-types/models/models_1.d.ts +130 -13
  40. package/dist-types/ts3.4/commands/SearchUsersByImageCommand.d.ts +2 -4
  41. package/dist-types/ts3.4/commands/StartCelebrityRecognitionCommand.d.ts +4 -2
  42. package/dist-types/ts3.4/models/models_0.d.ts +99 -94
  43. package/dist-types/ts3.4/models/models_1.d.ts +37 -6
  44. package/package.json +32 -32
@@ -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
@@ -1809,9 +1809,11 @@ export interface CopyProjectVersionResponse {
1809
1809
  }
1810
1810
  /**
1811
1811
  * @public
1812
- * <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many Amazon Rekognition Video jobs concurrently, calls to start operations
1813
- * (<code>StartLabelDetection</code>, for example) will raise a <code>LimitExceededException</code> exception (HTTP status code: 400) until
1814
- * the number of concurrently running jobs is below the Amazon Rekognition service limit. </p>
1812
+ * <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many jobs
1813
+ * concurrently, subsequent calls to start operations (ex:
1814
+ * <code>StartLabelDetection</code>) will raise a <code>LimitExceededException</code>
1815
+ * exception (HTTP status code: 400) until the number of concurrently running jobs is below
1816
+ * the Amazon Rekognition service limit. </p>
1815
1817
  */
1816
1818
  export declare class LimitExceededException extends __BaseException {
1817
1819
  readonly name: "LimitExceededException";
@@ -1964,7 +1966,7 @@ export interface CreateDatasetRequest {
1964
1966
  * to create a test dataset.
1965
1967
  * </p>
1966
1968
  */
1967
- DatasetType: DatasetType | string | undefined;
1969
+ DatasetType: DatasetType | undefined;
1968
1970
  /**
1969
1971
  * @public
1970
1972
  * <p>
@@ -2063,6 +2065,30 @@ export interface CreateFaceLivenessSessionResponse {
2063
2065
  */
2064
2066
  SessionId: string | undefined;
2065
2067
  }
2068
+ /**
2069
+ * @public
2070
+ * @enum
2071
+ */
2072
+ export declare const ProjectAutoUpdate: {
2073
+ readonly DISABLED: "DISABLED";
2074
+ readonly ENABLED: "ENABLED";
2075
+ };
2076
+ /**
2077
+ * @public
2078
+ */
2079
+ export type ProjectAutoUpdate = (typeof ProjectAutoUpdate)[keyof typeof ProjectAutoUpdate];
2080
+ /**
2081
+ * @public
2082
+ * @enum
2083
+ */
2084
+ export declare const CustomizationFeature: {
2085
+ readonly CONTENT_MODERATION: "CONTENT_MODERATION";
2086
+ readonly CUSTOM_LABELS: "CUSTOM_LABELS";
2087
+ };
2088
+ /**
2089
+ * @public
2090
+ */
2091
+ export type CustomizationFeature = (typeof CustomizationFeature)[keyof typeof CustomizationFeature];
2066
2092
  /**
2067
2093
  * @public
2068
2094
  */
@@ -2072,6 +2098,18 @@ export interface CreateProjectRequest {
2072
2098
  * <p>The name of the project to create.</p>
2073
2099
  */
2074
2100
  ProjectName: string | undefined;
2101
+ /**
2102
+ * @public
2103
+ * <p>Specifies feature that is being customized. If no value is provided CUSTOM_LABELS is used as a default.</p>
2104
+ */
2105
+ Feature?: CustomizationFeature;
2106
+ /**
2107
+ * @public
2108
+ * <p>Specifies whether automatic retraining should be attempted for the versions of the
2109
+ * project. Automatic retraining is done as a best effort. Required argument for Content
2110
+ * Moderation. Applicable only to adapters.</p>
2111
+ */
2112
+ AutoUpdate?: ProjectAutoUpdate;
2075
2113
  }
2076
2114
  /**
2077
2115
  * @public
@@ -2086,7 +2124,31 @@ export interface CreateProjectResponse {
2086
2124
  }
2087
2125
  /**
2088
2126
  * @public
2089
- * <p>The dataset used for testing. Optionally, if <code>AutoCreate</code> is set, Amazon Rekognition Custom Labels uses the
2127
+ * <p>Configuration options for Content Moderation training.</p>
2128
+ */
2129
+ export interface CustomizationFeatureContentModerationConfig {
2130
+ /**
2131
+ * @public
2132
+ * <p>The confidence level you plan to use to identify if unsafe content is present during inference.</p>
2133
+ */
2134
+ ConfidenceThreshold?: number;
2135
+ }
2136
+ /**
2137
+ * @public
2138
+ * <p>Feature specific configuration for the training job. Configuration provided for the job must match
2139
+ * the feature type parameter associated with project. If configuration
2140
+ * and feature type do not match an InvalidParameterException is returned.</p>
2141
+ */
2142
+ export interface CustomizationFeatureConfig {
2143
+ /**
2144
+ * @public
2145
+ * <p>Configuration options for Custom Moderation training.</p>
2146
+ */
2147
+ ContentModeration?: CustomizationFeatureContentModerationConfig;
2148
+ }
2149
+ /**
2150
+ * @public
2151
+ * <p>The dataset used for testing. Optionally, if <code>AutoCreate</code> is set, Amazon Rekognition uses the
2090
2152
  * training dataset to create a test dataset with a temporary split of the training dataset. </p>
2091
2153
  */
2092
2154
  export interface TestingData {
@@ -2097,8 +2159,8 @@ export interface TestingData {
2097
2159
  Assets?: Asset[];
2098
2160
  /**
2099
2161
  * @public
2100
- * <p>If specified, Amazon Rekognition Custom Labels temporarily splits the training dataset (80%) to create a test dataset (20%) for the training job.
2101
- * After training completes, the test dataset is not stored and the training dataset reverts to its previous size.</p>
2162
+ * <p>If specified, Rekognition splits training dataset to create a test dataset for
2163
+ * the training job.</p>
2102
2164
  */
2103
2165
  AutoCreate?: boolean;
2104
2166
  }
@@ -2109,7 +2171,8 @@ export interface TestingData {
2109
2171
  export interface TrainingData {
2110
2172
  /**
2111
2173
  * @public
2112
- * <p>A Sagemaker GroundTruth manifest file that contains the training images (assets).</p>
2174
+ * <p>A manifest file that contains references to the training images and ground-truth
2175
+ * annotations.</p>
2113
2176
  */
2114
2177
  Assets?: Asset[];
2115
2178
  }
@@ -2119,50 +2182,49 @@ export interface TrainingData {
2119
2182
  export interface CreateProjectVersionRequest {
2120
2183
  /**
2121
2184
  * @public
2122
- * <p>The ARN of the Amazon Rekognition Custom Labels project that
2123
- * manages the model that you want to train.</p>
2185
+ * <p>The ARN of the Amazon Rekognition project that will manage the project version you want to
2186
+ * train.</p>
2124
2187
  */
2125
2188
  ProjectArn: string | undefined;
2126
2189
  /**
2127
2190
  * @public
2128
- * <p>A name for the version of the model. This value must be unique.</p>
2191
+ * <p>A name for the version of the project version. This value must be unique.</p>
2129
2192
  */
2130
2193
  VersionName: string | undefined;
2131
2194
  /**
2132
2195
  * @public
2133
- * <p>The Amazon S3 bucket location to store the results of training.
2134
- * The S3 bucket can be in any AWS account as long as the caller has
2135
- * <code>s3:PutObject</code> permissions on the S3 bucket.</p>
2196
+ * <p>The Amazon S3 bucket location to store the results of training. The bucket can be any S3
2197
+ * bucket in your AWS account. You need <code>s3:PutObject</code> permission on the bucket.
2198
+ * </p>
2136
2199
  */
2137
2200
  OutputConfig: OutputConfig | undefined;
2138
2201
  /**
2139
2202
  * @public
2140
- * <p>Specifies an external manifest that the services uses to train the model.
2203
+ * <p>Specifies an external manifest that the services uses to train the project version.
2141
2204
  * If you specify <code>TrainingData</code> you must also specify <code>TestingData</code>.
2142
- * The project must not have any associated datasets.
2143
- * </p>
2205
+ * The project must not have any associated datasets. </p>
2144
2206
  */
2145
2207
  TrainingData?: TrainingData;
2146
2208
  /**
2147
2209
  * @public
2148
- * <p>Specifies an external manifest that the service uses to test the model.
2149
- * If you specify <code>TestingData</code> you must also specify <code>TrainingData</code>.
2150
- * The project must not have any associated datasets.</p>
2210
+ * <p>Specifies an external manifest that the service uses to test the project version. If
2211
+ * you specify <code>TestingData</code> you must also specify <code>TrainingData</code>. The
2212
+ * project must not have any associated datasets.</p>
2151
2213
  */
2152
2214
  TestingData?: TestingData;
2153
2215
  /**
2154
2216
  * @public
2155
- * <p> A set of tags (key-value pairs) that you want to attach to the model. </p>
2217
+ * <p> A set of tags (key-value pairs) that you want to attach to the project version. </p>
2156
2218
  */
2157
2219
  Tags?: Record<string, string>;
2158
2220
  /**
2159
2221
  * @public
2160
- * <p>The identifier for your AWS Key Management Service key (AWS KMS key).
2161
- * You can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your KMS key,
2162
- * an alias for your KMS key, or an alias ARN.
2163
- * The key is used to encrypt training and test images copied into the service for model training.
2164
- * Your source images are unaffected. The key is also used to encrypt training results
2165
- * and manifest files written to the output Amazon S3 bucket (<code>OutputConfig</code>).</p>
2222
+ * <p>The identifier for your AWS Key Management Service key (AWS KMS key). You can supply
2223
+ * the Amazon Resource Name (ARN) of your KMS key, the ID of your KMS key, an alias for
2224
+ * your KMS key, or an alias ARN. The key is used to encrypt training images, test images, and manifest files copied
2225
+ * into the service for the project version. Your source images are unaffected. The
2226
+ * key is also used to encrypt training results and manifest files written to the output Amazon S3
2227
+ * bucket (<code>OutputConfig</code>).</p>
2166
2228
  * <p>If you choose to use your own KMS key, you need the following permissions on the KMS key.</p>
2167
2229
  * <ul>
2168
2230
  * <li>
@@ -2182,6 +2244,16 @@ export interface CreateProjectVersionRequest {
2182
2244
  * using a key that AWS owns and manages.</p>
2183
2245
  */
2184
2246
  KmsKeyId?: string;
2247
+ /**
2248
+ * @public
2249
+ * <p>A description applied to the project version being created.</p>
2250
+ */
2251
+ VersionDescription?: string;
2252
+ /**
2253
+ * @public
2254
+ * <p>Feature-specific configuration of the training job. If the job configuration does not match the feature type associated with the project, an InvalidParameterException is returned.</p>
2255
+ */
2256
+ FeatureConfig?: CustomizationFeatureConfig;
2185
2257
  }
2186
2258
  /**
2187
2259
  * @public
@@ -2189,8 +2261,9 @@ export interface CreateProjectVersionRequest {
2189
2261
  export interface CreateProjectVersionResponse {
2190
2262
  /**
2191
2263
  * @public
2192
- * <p>The ARN of the model version that was created. Use <code>DescribeProjectVersion</code>
2193
- * to get the current status of the training operation.</p>
2264
+ * <p>The ARN of the model or the project version that was created. Use
2265
+ * <code>DescribeProjectVersion</code> to get the current status of the training
2266
+ * operation.</p>
2194
2267
  */
2195
2268
  ProjectVersionArn?: string;
2196
2269
  }
@@ -2667,7 +2740,7 @@ export interface DatasetDescription {
2667
2740
  * The status of the dataset.
2668
2741
  * </p>
2669
2742
  */
2670
- Status?: DatasetStatus | string;
2743
+ Status?: DatasetStatus;
2671
2744
  /**
2672
2745
  * @public
2673
2746
  * <p>
@@ -2683,7 +2756,7 @@ export interface DatasetDescription {
2683
2756
  * API call that failed.
2684
2757
  * </p>
2685
2758
  */
2686
- StatusMessageCode?: DatasetStatusMessageCode | string;
2759
+ StatusMessageCode?: DatasetStatusMessageCode;
2687
2760
  /**
2688
2761
  * @public
2689
2762
  * <p>
@@ -2757,7 +2830,7 @@ export interface DatasetMetadata {
2757
2830
  * The type of the dataset.
2758
2831
  * </p>
2759
2832
  */
2760
- DatasetType?: DatasetType | string;
2833
+ DatasetType?: DatasetType;
2761
2834
  /**
2762
2835
  * @public
2763
2836
  * <p>
@@ -2771,7 +2844,7 @@ export interface DatasetMetadata {
2771
2844
  * The status for the dataset.
2772
2845
  * </p>
2773
2846
  */
2774
- Status?: DatasetStatus | string;
2847
+ Status?: DatasetStatus;
2775
2848
  /**
2776
2849
  * @public
2777
2850
  * <p>
@@ -2787,7 +2860,7 @@ export interface DatasetMetadata {
2787
2860
  * API call that failed.
2788
2861
  * </p>
2789
2862
  */
2790
- StatusMessageCode?: DatasetStatusMessageCode | string;
2863
+ StatusMessageCode?: DatasetStatusMessageCode;
2791
2864
  }
2792
2865
  /**
2793
2866
  * @public
@@ -2873,7 +2946,7 @@ export interface UnsuccessfulFaceDeletion {
2873
2946
  * @public
2874
2947
  * <p>The reason why the deletion was unsuccessful. </p>
2875
2948
  */
2876
- Reasons?: (UnsuccessfulFaceDeletionReason | string)[];
2949
+ Reasons?: UnsuccessfulFaceDeletionReason[];
2877
2950
  }
2878
2951
  /**
2879
2952
  * @public
@@ -2921,7 +2994,7 @@ export interface DeleteProjectResponse {
2921
2994
  * @public
2922
2995
  * <p>The current status of the delete project operation.</p>
2923
2996
  */
2924
- Status?: ProjectStatus | string;
2997
+ Status?: ProjectStatus;
2925
2998
  }
2926
2999
  /**
2927
3000
  * @public
@@ -2973,7 +3046,8 @@ export declare class InvalidPolicyRevisionIdException extends __BaseException {
2973
3046
  export interface DeleteProjectVersionRequest {
2974
3047
  /**
2975
3048
  * @public
2976
- * <p>The Amazon Resource Name (ARN) of the model version that you want to delete.</p>
3049
+ * <p>The Amazon Resource Name (ARN) of the project version that you want to
3050
+ * delete.</p>
2977
3051
  */
2978
3052
  ProjectVersionArn: string | undefined;
2979
3053
  }
@@ -2986,6 +3060,8 @@ export declare const ProjectVersionStatus: {
2986
3060
  readonly COPYING_FAILED: "COPYING_FAILED";
2987
3061
  readonly COPYING_IN_PROGRESS: "COPYING_IN_PROGRESS";
2988
3062
  readonly DELETING: "DELETING";
3063
+ readonly DEPRECATED: "DEPRECATED";
3064
+ readonly EXPIRED: "EXPIRED";
2989
3065
  readonly FAILED: "FAILED";
2990
3066
  readonly RUNNING: "RUNNING";
2991
3067
  readonly STARTING: "STARTING";
@@ -3007,7 +3083,7 @@ export interface DeleteProjectVersionResponse {
3007
3083
  * @public
3008
3084
  * <p>The status of the deletion operation.</p>
3009
3085
  */
3010
- Status?: ProjectVersionStatus | string;
3086
+ Status?: ProjectVersionStatus;
3011
3087
  }
3012
3088
  /**
3013
3089
  * @public
@@ -3126,7 +3202,7 @@ export interface DescribeProjectsRequest {
3126
3202
  /**
3127
3203
  * @public
3128
3204
  * <p>If the previous response was incomplete (because there is more
3129
- * results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination
3205
+ * results to retrieve), Rekognition returns a pagination token in the response. You can use this pagination
3130
3206
  * token to retrieve the next set of results. </p>
3131
3207
  */
3132
3208
  NextToken?: string;
@@ -3139,10 +3215,16 @@ export interface DescribeProjectsRequest {
3139
3215
  MaxResults?: number;
3140
3216
  /**
3141
3217
  * @public
3142
- * <p>A list of the projects that you want Amazon Rekognition Custom Labels to describe. If you don't specify a value,
3218
+ * <p>A list of the projects that you want Rekognition to describe. If you don't specify a value,
3143
3219
  * the response includes descriptions for all the projects in your AWS account.</p>
3144
3220
  */
3145
3221
  ProjectNames?: string[];
3222
+ /**
3223
+ * @public
3224
+ * <p>Specifies the type of customization to filter projects by. If no value is specified,
3225
+ * CUSTOM_LABELS is used as a default.</p>
3226
+ */
3227
+ Features?: CustomizationFeature[];
3146
3228
  }
3147
3229
  /**
3148
3230
  * @public
@@ -3163,7 +3245,7 @@ export interface ProjectDescription {
3163
3245
  * @public
3164
3246
  * <p>The current status of the project.</p>
3165
3247
  */
3166
- Status?: ProjectStatus | string;
3248
+ Status?: ProjectStatus;
3167
3249
  /**
3168
3250
  * @public
3169
3251
  * <p>
@@ -3171,6 +3253,16 @@ export interface ProjectDescription {
3171
3253
  * </p>
3172
3254
  */
3173
3255
  Datasets?: DatasetMetadata[];
3256
+ /**
3257
+ * @public
3258
+ * <p>Specifies the project that is being customized.</p>
3259
+ */
3260
+ Feature?: CustomizationFeature;
3261
+ /**
3262
+ * @public
3263
+ * <p>Indicates whether automatic retraining will be attempted for the versions of the project. Applies only to adapters. </p>
3264
+ */
3265
+ AutoUpdate?: ProjectAutoUpdate;
3174
3266
  }
3175
3267
  /**
3176
3268
  * @public
@@ -3184,7 +3276,7 @@ export interface DescribeProjectsResponse {
3184
3276
  /**
3185
3277
  * @public
3186
3278
  * <p>If the previous response was incomplete (because there is more
3187
- * results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response.
3279
+ * results to retrieve), Amazon Rekognition returns a pagination token in the response.
3188
3280
  * You can use this pagination token to retrieve the next set of results. </p>
3189
3281
  */
3190
3282
  NextToken?: string;
@@ -3214,21 +3306,23 @@ export declare class InvalidPaginationTokenException extends __BaseException {
3214
3306
  export interface DescribeProjectVersionsRequest {
3215
3307
  /**
3216
3308
  * @public
3217
- * <p>The Amazon Resource Name (ARN) of the project that contains the models you want to describe.</p>
3309
+ * <p>The Amazon Resource Name (ARN) of the project that contains the model/adapter you want
3310
+ * to describe.</p>
3218
3311
  */
3219
3312
  ProjectArn: string | undefined;
3220
3313
  /**
3221
3314
  * @public
3222
- * <p>A list of model version names that you want to describe. You can add up to 10 model version names
3223
- * to the list. If you don't specify a value, all model descriptions are returned. A version name is part of a
3224
- * model (ProjectVersion) ARN. For example, <code>my-model.2020-01-21T09.10.15</code> is the version name in the following ARN.
3315
+ * <p>A list of model or project version names that you want to describe. You can add
3316
+ * up to 10 model or project version names to the list. If you don't specify a value, all
3317
+ * project version descriptions are returned. A version name is part of a project version ARN. For example, <code>my-model.2020-01-21T09.10.15</code> is
3318
+ * the version name in the following ARN.
3225
3319
  * <code>arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/<i>my-model.2020-01-21T09.10.15</i>/1234567890123</code>.</p>
3226
3320
  */
3227
3321
  VersionNames?: string[];
3228
3322
  /**
3229
3323
  * @public
3230
3324
  * <p>If the previous response was incomplete (because there is more
3231
- * results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response.
3325
+ * results to retrieve), Amazon Rekognition returns a pagination token in the response.
3232
3326
  * You can use this pagination token to retrieve the next set of results. </p>
3233
3327
  */
3234
3328
  NextToken?: string;
@@ -3302,7 +3396,8 @@ export interface ValidationData {
3302
3396
  }
3303
3397
  /**
3304
3398
  * @public
3305
- * <p>Sagemaker Groundtruth format manifest files for the input, output and validation datasets that are used and created during testing.</p>
3399
+ * <p>Sagemaker Groundtruth format manifest files for the input, output and validation
3400
+ * datasets that are used and created during testing.</p>
3306
3401
  */
3307
3402
  export interface TestingDataResult {
3308
3403
  /**
@@ -3324,33 +3419,36 @@ export interface TestingDataResult {
3324
3419
  }
3325
3420
  /**
3326
3421
  * @public
3327
- * <p>Sagemaker Groundtruth format manifest files for the input, output and validation datasets that are used and created during testing.</p>
3422
+ * <p>The data
3423
+ * validation manifest created for the training dataset during model training.</p>
3328
3424
  */
3329
3425
  export interface TrainingDataResult {
3330
3426
  /**
3331
3427
  * @public
3332
- * <p>The training assets that you supplied for training.</p>
3428
+ * <p>The training data that you supplied.</p>
3333
3429
  */
3334
3430
  Input?: TrainingData;
3335
3431
  /**
3336
3432
  * @public
3337
- * <p>The images (assets) that were actually trained by Amazon Rekognition Custom Labels. </p>
3433
+ * <p>Reference to images (assets) that were actually used during training with trained model
3434
+ * predictions.</p>
3338
3435
  */
3339
3436
  Output?: TrainingData;
3340
3437
  /**
3341
3438
  * @public
3342
- * <p>The location of the data validation manifest. The data validation manifest is created for the training dataset during model training.</p>
3439
+ * <p>A manifest that you supplied for training, with validation results for each
3440
+ * line.</p>
3343
3441
  */
3344
3442
  Validation?: ValidationData;
3345
3443
  }
3346
3444
  /**
3347
3445
  * @public
3348
- * <p>A description of a version of an Amazon Rekognition Custom Labels model.</p>
3446
+ * <p>A description of a version of a Amazon Rekognition project version.</p>
3349
3447
  */
3350
3448
  export interface ProjectVersionDescription {
3351
3449
  /**
3352
3450
  * @public
3353
- * <p>The Amazon Resource Name (ARN) of the model version. </p>
3451
+ * <p>The Amazon Resource Name (ARN) of the project version. </p>
3354
3452
  */
3355
3453
  ProjectVersionArn?: string;
3356
3454
  /**
@@ -3360,15 +3458,15 @@ export interface ProjectVersionDescription {
3360
3458
  CreationTimestamp?: Date;
3361
3459
  /**
3362
3460
  * @public
3363
- * <p>The minimum number of inference units used by the model. For more information,
3364
- * see <a>StartProjectVersion</a>.</p>
3461
+ * <p>The minimum number of inference units used by the model. Applies only to Custom Labels
3462
+ * projects. For more information, see <a>StartProjectVersion</a>.</p>
3365
3463
  */
3366
3464
  MinInferenceUnits?: number;
3367
3465
  /**
3368
3466
  * @public
3369
3467
  * <p>The current status of the model version.</p>
3370
3468
  */
3371
- Status?: ProjectVersionStatus | string;
3469
+ Status?: ProjectVersionStatus;
3372
3470
  /**
3373
3471
  * @public
3374
3472
  * <p>A descriptive message for an error or warning that occurred.</p>
@@ -3418,8 +3516,8 @@ export interface ProjectVersionDescription {
3418
3516
  KmsKeyId?: string;
3419
3517
  /**
3420
3518
  * @public
3421
- * <p>The maximum number of inference units Amazon Rekognition Custom Labels uses to auto-scale the model.
3422
- * For more information, see <a>StartProjectVersion</a>.</p>
3519
+ * <p>The maximum number of inference units Amazon Rekognition uses to auto-scale the model. Applies
3520
+ * only to Custom Labels projects. For more information, see <a>StartProjectVersion</a>.</p>
3423
3521
  */
3424
3522
  MaxInferenceUnits?: number;
3425
3523
  /**
@@ -3427,6 +3525,26 @@ export interface ProjectVersionDescription {
3427
3525
  * <p>If the model version was copied from a different project, <code>SourceProjectVersionArn</code> contains the ARN of the source model version. </p>
3428
3526
  */
3429
3527
  SourceProjectVersionArn?: string;
3528
+ /**
3529
+ * @public
3530
+ * <p>A user-provided description of the project version.</p>
3531
+ */
3532
+ VersionDescription?: string;
3533
+ /**
3534
+ * @public
3535
+ * <p>The feature that was customized.</p>
3536
+ */
3537
+ Feature?: CustomizationFeature;
3538
+ /**
3539
+ * @public
3540
+ * <p>The base detection model version used to create the project version.</p>
3541
+ */
3542
+ BaseModelVersion?: string;
3543
+ /**
3544
+ * @public
3545
+ * <p>Feature specific configuration that was applied during training.</p>
3546
+ */
3547
+ FeatureConfig?: CustomizationFeatureConfig;
3430
3548
  }
3431
3549
  /**
3432
3550
  * @public
@@ -3434,14 +3552,14 @@ export interface ProjectVersionDescription {
3434
3552
  export interface DescribeProjectVersionsResponse {
3435
3553
  /**
3436
3554
  * @public
3437
- * <p>A list of model descriptions. The list is sorted by the creation date and time of
3438
- * the model versions, latest to earliest.</p>
3555
+ * <p>A list of project version descriptions. The list is sorted by the creation date and
3556
+ * time of the project versions, latest to earliest.</p>
3439
3557
  */
3440
3558
  ProjectVersionDescriptions?: ProjectVersionDescription[];
3441
3559
  /**
3442
3560
  * @public
3443
3561
  * <p>If the previous response was incomplete (because there is more
3444
- * results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response.
3562
+ * results to retrieve), Amazon Rekognition returns a pagination token in the response.
3445
3563
  * You can use this pagination token to retrieve the next set of results. </p>
3446
3564
  */
3447
3565
  NextToken?: string;
@@ -3490,7 +3608,7 @@ export interface DescribeStreamProcessorResponse {
3490
3608
  * @public
3491
3609
  * <p>Current status of the stream processor.</p>
3492
3610
  */
3493
- Status?: StreamProcessorStatus | string;
3611
+ Status?: StreamProcessorStatus;
3494
3612
  /**
3495
3613
  * @public
3496
3614
  * <p>Detailed status message about the stream processor.</p>
@@ -3566,7 +3684,10 @@ export interface DescribeStreamProcessorResponse {
3566
3684
  export interface DetectCustomLabelsRequest {
3567
3685
  /**
3568
3686
  * @public
3569
- * <p>The ARN of the model version that you want to use.</p>
3687
+ * <p>The ARN of the model version that you want to use. Only models associated with Custom
3688
+ * Labels projects accepted by the operation. If a provided ARN refers to a model version
3689
+ * associated with a project for a different feature type, then an InvalidParameterException
3690
+ * is returned.</p>
3570
3691
  */
3571
3692
  ProjectVersionArn: string | undefined;
3572
3693
  /**
@@ -3670,7 +3791,7 @@ export interface DetectFacesRequest {
3670
3791
  * <code>DetectFaces</code>, they aren't supported when analyzing videos with
3671
3792
  * <code>StartFaceDetection</code> and <code>GetFaceDetection</code>.</p>
3672
3793
  */
3673
- Attributes?: (Attribute | string)[];
3794
+ Attributes?: Attribute[];
3674
3795
  }
3675
3796
  /**
3676
3797
  * @public
@@ -3693,7 +3814,7 @@ export interface DetectFacesResponse {
3693
3814
  * without orientation information in the image Exif metadata. The bounding box coordinates
3694
3815
  * aren't translated and represent the object locations before the image is rotated. </p>
3695
3816
  */
3696
- OrientationCorrection?: OrientationCorrection | string;
3817
+ OrientationCorrection?: OrientationCorrection;
3697
3818
  }
3698
3819
  /**
3699
3820
  * @public
@@ -3827,7 +3948,7 @@ export interface DetectLabelsRequest {
3827
3948
  * detection feature, while specifying IMAGE_PROPERTIES returns information regarding image color
3828
3949
  * and quality. If no option is specified GENERAL_LABELS is used by default.</p>
3829
3950
  */
3830
- Features?: (DetectLabelsFeatureName | string)[];
3951
+ Features?: DetectLabelsFeatureName[];
3831
3952
  /**
3832
3953
  * @public
3833
3954
  * <p>A list of the filters to be applied to returned detected labels and image properties.
@@ -4085,7 +4206,7 @@ export interface DetectLabelsResponse {
4085
4206
  * without orientation information in the image Exif metadata. The bounding box coordinates
4086
4207
  * aren't translated and represent the object locations before the image is rotated. </p>
4087
4208
  */
4088
- OrientationCorrection?: OrientationCorrection | string;
4209
+ OrientationCorrection?: OrientationCorrection;
4089
4210
  /**
4090
4211
  * @public
4091
4212
  * <p>Version number of the label detection model that was used to detect labels.</p>
@@ -4108,7 +4229,7 @@ export interface HumanLoopDataAttributes {
4108
4229
  * @public
4109
4230
  * <p>Sets whether the input image is free of personally identifiable information.</p>
4110
4231
  */
4111
- ContentClassifiers?: (ContentClassifier | string)[];
4232
+ ContentClassifiers?: ContentClassifier[];
4112
4233
  }
4113
4234
  /**
4114
4235
  * @public
@@ -4161,6 +4282,12 @@ export interface DetectModerationLabelsRequest {
4161
4282
  * will be sent to.</p>
4162
4283
  */
4163
4284
  HumanLoopConfig?: HumanLoopConfig;
4285
+ /**
4286
+ * @public
4287
+ * <p>Identifier for the custom adapter. Expects the ProjectVersionArn as a value.
4288
+ * Use the CreateProject or CreateProjectVersion APIs to create a custom adapter.</p>
4289
+ */
4290
+ ProjectVersion?: string;
4164
4291
  }
4165
4292
  /**
4166
4293
  * @public
@@ -4197,7 +4324,7 @@ export interface DetectModerationLabelsResponse {
4197
4324
  ModerationLabels?: ModerationLabel[];
4198
4325
  /**
4199
4326
  * @public
4200
- * <p>Version number of the moderation detection model that was used to detect unsafe
4327
+ * <p>Version number of the base moderation detection model that was used to detect unsafe
4201
4328
  * content.</p>
4202
4329
  */
4203
4330
  ModerationModelVersion?: string;
@@ -4206,6 +4333,13 @@ export interface DetectModerationLabelsResponse {
4206
4333
  * <p>Shows the results of the human in the loop evaluation.</p>
4207
4334
  */
4208
4335
  HumanLoopActivationOutput?: HumanLoopActivationOutput;
4336
+ /**
4337
+ * @public
4338
+ * <p>Identifier of the custom adapter that was used during inference. If
4339
+ * during inference the adapter was EXPIRED, then the parameter will not be returned,
4340
+ * indicating that a base moderation detection project version was used.</p>
4341
+ */
4342
+ ProjectVersion?: string;
4209
4343
  }
4210
4344
  /**
4211
4345
  * @public
@@ -4272,7 +4406,7 @@ export interface ProtectiveEquipmentSummarizationAttributes {
4272
4406
  * <code>PersonsWithRequiredEquipment</code> array field returned in <a>ProtectiveEquipmentSummary</a>
4273
4407
  * by <code>DetectProtectiveEquipment</code>. </p>
4274
4408
  */
4275
- RequiredEquipmentTypes: (ProtectiveEquipmentType | string)[] | undefined;
4409
+ RequiredEquipmentTypes: ProtectiveEquipmentType[] | undefined;
4276
4410
  }
4277
4411
  /**
4278
4412
  * @public
@@ -4454,7 +4588,7 @@ export interface TextDetection {
4454
4588
  * @public
4455
4589
  * <p>The type of text that was detected.</p>
4456
4590
  */
4457
- Type?: TextTypes | string;
4591
+ Type?: TextTypes;
4458
4592
  /**
4459
4593
  * @public
4460
4594
  * <p>The identifier for the detected text. The identifier is only unique for a single call
@@ -4568,7 +4702,7 @@ export interface UnsuccessfulFaceDisassociation {
4568
4702
  * @public
4569
4703
  * <p>The reason why the deletion was unsuccessful. </p>
4570
4704
  */
4571
- Reasons?: (UnsuccessfulFaceDisassociationReason | string)[];
4705
+ Reasons?: UnsuccessfulFaceDisassociationReason[];
4572
4706
  }
4573
4707
  /**
4574
4708
  * @public
@@ -4592,7 +4726,7 @@ export interface DisassociateFacesResponse {
4592
4726
  * <p>The status of an update made to a User. Reflects if the User has been updated for every
4593
4727
  * requested change.</p>
4594
4728
  */
4595
- UserStatus?: UserStatus | string;
4729
+ UserStatus?: UserStatus;
4596
4730
  }
4597
4731
  /**
4598
4732
  * @public
@@ -4806,7 +4940,7 @@ export interface GetCelebrityRecognitionRequest {
4806
4940
  * <p>Sort to use for celebrities returned in <code>Celebrities</code> field. Specify <code>ID</code> to sort by the celebrity identifier,
4807
4941
  * specify <code>TIMESTAMP</code> to sort by the time the celebrity was recognized.</p>
4808
4942
  */
4809
- SortBy?: CelebrityRecognitionSortBy | string;
4943
+ SortBy?: CelebrityRecognitionSortBy;
4810
4944
  }
4811
4945
  /**
4812
4946
  * @public
@@ -4887,7 +5021,7 @@ export interface VideoMetadata {
4887
5021
  * A description of the range of luminance values in a video, either LIMITED (16 to 235) or FULL (0 to 255).
4888
5022
  * </p>
4889
5023
  */
4890
- ColorRange?: VideoColorRange | string;
5024
+ ColorRange?: VideoColorRange;
4891
5025
  }
4892
5026
  /**
4893
5027
  * @public
@@ -4897,7 +5031,7 @@ export interface GetCelebrityRecognitionResponse {
4897
5031
  * @public
4898
5032
  * <p>The current status of the celebrity recognition job.</p>
4899
5033
  */
4900
- JobStatus?: VideoJobStatus | string;
5034
+ JobStatus?: VideoJobStatus;
4901
5035
  /**
4902
5036
  * @public
4903
5037
  * <p>If the job fails, <code>StatusMessage</code> provides a descriptive error message.</p>
@@ -4971,13 +5105,13 @@ export interface GetContentModerationRequest {
4971
5105
  * Within each label group, the array element are sorted by detection confidence.
4972
5106
  * The default sort is by <code>TIMESTAMP</code>.</p>
4973
5107
  */
4974
- SortBy?: ContentModerationSortBy | string;
5108
+ SortBy?: ContentModerationSortBy;
4975
5109
  /**
4976
5110
  * @public
4977
5111
  * <p>Defines how to aggregate results of the StartContentModeration request. Default
4978
5112
  * aggregation option is TIMESTAMPS. SEGMENTS mode aggregates moderation labels over time.</p>
4979
5113
  */
4980
- AggregateBy?: ContentModerationAggregateBy | string;
5114
+ AggregateBy?: ContentModerationAggregateBy;
4981
5115
  }
4982
5116
  /**
4983
5117
  * @public
@@ -4989,12 +5123,12 @@ export interface GetContentModerationRequestMetadata {
4989
5123
  * @public
4990
5124
  * <p>The sorting method chosen for a GetContentModeration request.</p>
4991
5125
  */
4992
- SortBy?: ContentModerationSortBy | string;
5126
+ SortBy?: ContentModerationSortBy;
4993
5127
  /**
4994
5128
  * @public
4995
5129
  * <p>The aggregation method chosen for a GetContentModeration request.</p>
4996
5130
  */
4997
- AggregateBy?: ContentModerationAggregateBy | string;
5131
+ AggregateBy?: ContentModerationAggregateBy;
4998
5132
  }
4999
5133
  /**
5000
5134
  * @public
@@ -5004,7 +5138,7 @@ export interface GetContentModerationResponse {
5004
5138
  * @public
5005
5139
  * <p>The current status of the content moderation analysis job.</p>
5006
5140
  */
5007
- JobStatus?: VideoJobStatus | string;
5141
+ JobStatus?: VideoJobStatus;
5008
5142
  /**
5009
5143
  * @public
5010
5144
  * <p>If the job fails, <code>StatusMessage</code> provides a descriptive error message.</p>
@@ -5088,7 +5222,7 @@ export interface GetFaceDetectionResponse {
5088
5222
  * @public
5089
5223
  * <p>The current status of the face detection job.</p>
5090
5224
  */
5091
- JobStatus?: VideoJobStatus | string;
5225
+ JobStatus?: VideoJobStatus;
5092
5226
  /**
5093
5227
  * @public
5094
5228
  * <p>If the job fails, <code>StatusMessage</code> provides a descriptive error message.</p>
@@ -5170,7 +5304,7 @@ export interface GetFaceLivenessSessionResultsResponse {
5170
5304
  * <p>Represents a status corresponding to the state of the session. Possible statuses are:
5171
5305
  * CREATED, IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED.</p>
5172
5306
  */
5173
- Status: LivenessSessionStatus | string | undefined;
5307
+ Status: LivenessSessionStatus | undefined;
5174
5308
  /**
5175
5309
  * @public
5176
5310
  * <p>Probabalistic confidence score for if the person in the given video was live, represented
@@ -5242,7 +5376,7 @@ export interface GetFaceSearchRequest {
5242
5376
  * <p>Sort to use for grouping faces in the response. Use <code>TIMESTAMP</code> to group faces by the time
5243
5377
  * that they are recognized. Use <code>INDEX</code> to sort by recognized faces. </p>
5244
5378
  */
5245
- SortBy?: FaceSearchSortBy | string;
5379
+ SortBy?: FaceSearchSortBy;
5246
5380
  }
5247
5381
  /**
5248
5382
  * @public
@@ -5299,7 +5433,7 @@ export interface GetFaceSearchResponse {
5299
5433
  * @public
5300
5434
  * <p>The current status of the face search job.</p>
5301
5435
  */
5302
- JobStatus?: VideoJobStatus | string;
5436
+ JobStatus?: VideoJobStatus;
5303
5437
  /**
5304
5438
  * @public
5305
5439
  * <p>If the job fails, <code>StatusMessage</code> provides a descriptive error message.</p>
@@ -5401,12 +5535,12 @@ export interface GetLabelDetectionRequest {
5401
5535
  * Within each label group, the array element are sorted by detection confidence.
5402
5536
  * The default sort is by <code>TIMESTAMP</code>.</p>
5403
5537
  */
5404
- SortBy?: LabelDetectionSortBy | string;
5538
+ SortBy?: LabelDetectionSortBy;
5405
5539
  /**
5406
5540
  * @public
5407
5541
  * <p>Defines how to aggregate the returned results. Results can be aggregated by timestamps or segments.</p>
5408
5542
  */
5409
- AggregateBy?: LabelDetectionAggregateBy | string;
5543
+ AggregateBy?: LabelDetectionAggregateBy;
5410
5544
  }
5411
5545
  /**
5412
5546
  * @public
@@ -5418,12 +5552,12 @@ export interface GetLabelDetectionRequestMetadata {
5418
5552
  * @public
5419
5553
  * <p>The sorting method chosen for a GetLabelDetection request.</p>
5420
5554
  */
5421
- SortBy?: LabelDetectionSortBy | string;
5555
+ SortBy?: LabelDetectionSortBy;
5422
5556
  /**
5423
5557
  * @public
5424
5558
  * <p>The aggregation method chosen for a GetLabelDetection request.</p>
5425
5559
  */
5426
- AggregateBy?: LabelDetectionAggregateBy | string;
5560
+ AggregateBy?: LabelDetectionAggregateBy;
5427
5561
  }
5428
5562
  /**
5429
5563
  * @public
@@ -5465,7 +5599,7 @@ export interface GetLabelDetectionResponse {
5465
5599
  * @public
5466
5600
  * <p>The current status of the label detection job.</p>
5467
5601
  */
5468
- JobStatus?: VideoJobStatus | string;
5602
+ JobStatus?: VideoJobStatus;
5469
5603
  /**
5470
5604
  * @public
5471
5605
  * <p>If the job fails, <code>StatusMessage</code> provides a descriptive error message.</p>
@@ -5561,7 +5695,7 @@ export interface GetPersonTrackingRequest {
5561
5695
  * If you sort by <code>INDEX</code>, the array elements for each person are sorted by detection confidence.
5562
5696
  * The default sort is by <code>TIMESTAMP</code>.</p>
5563
5697
  */
5564
- SortBy?: PersonTrackingSortBy | string;
5698
+ SortBy?: PersonTrackingSortBy;
5565
5699
  }
5566
5700
  /**
5567
5701
  * @public
@@ -5591,7 +5725,7 @@ export interface GetPersonTrackingResponse {
5591
5725
  * @public
5592
5726
  * <p>The current status of the person tracking job.</p>
5593
5727
  */
5594
- JobStatus?: VideoJobStatus | string;
5728
+ JobStatus?: VideoJobStatus;
5595
5729
  /**
5596
5730
  * @public
5597
5731
  * <p>If the job fails, <code>StatusMessage</code> provides a descriptive error message.</p>
@@ -5698,7 +5832,7 @@ export interface TechnicalCueSegment {
5698
5832
  * @public
5699
5833
  * <p>The type of the technical cue.</p>
5700
5834
  */
5701
- Type?: TechnicalCueType | string;
5835
+ Type?: TechnicalCueType;
5702
5836
  /**
5703
5837
  * @public
5704
5838
  * <p>The confidence that Amazon Rekognition Video has in the accuracy of the detected segment.</p>
@@ -5729,7 +5863,7 @@ export interface SegmentDetection {
5729
5863
  * @public
5730
5864
  * <p>The type of the segment. Valid values are <code>TECHNICAL_CUE</code> and <code>SHOT</code>.</p>
5731
5865
  */
5732
- Type?: SegmentType | string;
5866
+ Type?: SegmentType;
5733
5867
  /**
5734
5868
  * @public
5735
5869
  * <p>The start time of the detected segment in milliseconds from the start of the video. This value
@@ -5809,7 +5943,7 @@ export interface SegmentTypeInfo {
5809
5943
  * @public
5810
5944
  * <p>The type of a segment (technical cue or shot detection).</p>
5811
5945
  */
5812
- Type?: SegmentType | string;
5946
+ Type?: SegmentType;
5813
5947
  /**
5814
5948
  * @public
5815
5949
  * <p>The version of the model used to detect segments.</p>
@@ -5824,7 +5958,7 @@ export interface GetSegmentDetectionResponse {
5824
5958
  * @public
5825
5959
  * <p>Current status of the segment detection job.</p>
5826
5960
  */
5827
- JobStatus?: VideoJobStatus | string;
5961
+ JobStatus?: VideoJobStatus;
5828
5962
  /**
5829
5963
  * @public
5830
5964
  * <p>If the job fails, <code>StatusMessage</code> provides a descriptive error message.</p>
@@ -5936,7 +6070,7 @@ export interface GetTextDetectionResponse {
5936
6070
  * @public
5937
6071
  * <p>Current status of the text detection job.</p>
5938
6072
  */
5939
- JobStatus?: VideoJobStatus | string;
6073
+ JobStatus?: VideoJobStatus;
5940
6074
  /**
5941
6075
  * @public
5942
6076
  * <p>If the job fails, <code>StatusMessage</code> provides a descriptive error message.</p>
@@ -6020,7 +6154,7 @@ export interface IndexFacesRequest {
6020
6154
  * <p>If you provide both, <code>["ALL", "DEFAULT"]</code>, the service uses a logical AND
6021
6155
  * operator to determine which attributes to return (in this case, all attributes). </p>
6022
6156
  */
6023
- DetectionAttributes?: (Attribute | string)[];
6157
+ DetectionAttributes?: Attribute[];
6024
6158
  /**
6025
6159
  * @public
6026
6160
  * <p>The maximum number of faces to index. The value of <code>MaxFaces</code> must be greater
@@ -6052,7 +6186,7 @@ export interface IndexFacesRequest {
6052
6186
  * <p>To use quality filtering, the collection you are using must be associated with version 3
6053
6187
  * of the face model or higher.</p>
6054
6188
  */
6055
- QualityFilter?: QualityFilter | string;
6189
+ QualityFilter?: QualityFilter;
6056
6190
  }
6057
6191
  /**
6058
6192
  * @public
@@ -6103,7 +6237,7 @@ export interface UnindexedFace {
6103
6237
  * </li>
6104
6238
  * </ul>
6105
6239
  */
6106
- Reasons?: (Reason | string)[];
6240
+ Reasons?: Reason[];
6107
6241
  /**
6108
6242
  * @public
6109
6243
  * <p>The
@@ -6148,7 +6282,7 @@ export interface IndexFacesResponse {
6148
6282
  * <p>Bounding box information is returned in the <code>FaceRecords</code> array. You can get
6149
6283
  * the version of the face detection model by calling <a>DescribeCollection</a>. </p>
6150
6284
  */
6151
- OrientationCorrection?: OrientationCorrection | string;
6285
+ OrientationCorrection?: OrientationCorrection;
6152
6286
  /**
6153
6287
  * @public
6154
6288
  * <p>The version number of the face detection model that's associated with the input
@@ -6532,7 +6666,7 @@ export interface StreamProcessor {
6532
6666
  * @public
6533
6667
  * <p>Current status of the Amazon Rekognition stream processor.</p>
6534
6668
  */
6535
- Status?: StreamProcessorStatus | string;
6669
+ Status?: StreamProcessorStatus;
6536
6670
  }
6537
6671
  /**
6538
6672
  * @public
@@ -6606,7 +6740,7 @@ export interface User {
6606
6740
  * <p> Communicates if the UserID has been updated with latest set of faces to be associated
6607
6741
  * with the UserID. </p>
6608
6742
  */
6609
- UserStatus?: UserStatus | string;
6743
+ UserStatus?: UserStatus;
6610
6744
  }
6611
6745
  /**
6612
6746
  * @public
@@ -6658,7 +6792,7 @@ export interface MatchedUser {
6658
6792
  * @public
6659
6793
  * <p>The status of the user matched to a provided FaceID.</p>
6660
6794
  */
6661
- UserStatus?: UserStatus | string;
6795
+ UserStatus?: UserStatus;
6662
6796
  }
6663
6797
  /**
6664
6798
  * @public
@@ -6772,7 +6906,7 @@ export interface RecognizeCelebritiesResponse {
6772
6906
  * orientation. Images in .png format don't contain Exif metadata. </p>
6773
6907
  * </note>
6774
6908
  */
6775
- OrientationCorrection?: OrientationCorrection | string;
6909
+ OrientationCorrection?: OrientationCorrection;
6776
6910
  }
6777
6911
  /**
6778
6912
  * @public
@@ -6869,7 +7003,7 @@ export interface SearchFacesByImageRequest {
6869
7003
  * <p>To use quality filtering, the collection you are using must be associated with version 3
6870
7004
  * of the face model or higher.</p>
6871
7005
  */
6872
- QualityFilter?: QualityFilter | string;
7006
+ QualityFilter?: QualityFilter;
6873
7007
  }
6874
7008
  /**
6875
7009
  * @public
@@ -7046,7 +7180,7 @@ export interface SearchUsersByImageRequest {
7046
7180
  * <p>A filter that specifies a quality bar for how much filtering is done to identify faces.
7047
7181
  * Filtered faces aren't searched for in the collection. The default value is NONE.</p>
7048
7182
  */
7049
- QualityFilter?: QualityFilter | string;
7183
+ QualityFilter?: QualityFilter;
7050
7184
  }
7051
7185
  /**
7052
7186
  * @public
@@ -7084,128 +7218,6 @@ export interface SearchedFaceDetails {
7084
7218
  */
7085
7219
  FaceDetail?: FaceDetail;
7086
7220
  }
7087
- /**
7088
- * @public
7089
- * @enum
7090
- */
7091
- export declare const UnsearchedFaceReason: {
7092
- readonly EXCEEDS_MAX_FACES: "EXCEEDS_MAX_FACES";
7093
- readonly EXTREME_POSE: "EXTREME_POSE";
7094
- readonly FACE_NOT_LARGEST: "FACE_NOT_LARGEST";
7095
- readonly LOW_BRIGHTNESS: "LOW_BRIGHTNESS";
7096
- readonly LOW_CONFIDENCE: "LOW_CONFIDENCE";
7097
- readonly LOW_FACE_QUALITY: "LOW_FACE_QUALITY";
7098
- readonly LOW_SHARPNESS: "LOW_SHARPNESS";
7099
- readonly SMALL_BOUNDING_BOX: "SMALL_BOUNDING_BOX";
7100
- };
7101
- /**
7102
- * @public
7103
- */
7104
- export type UnsearchedFaceReason = (typeof UnsearchedFaceReason)[keyof typeof UnsearchedFaceReason];
7105
- /**
7106
- * @public
7107
- * <p>Face details inferred from the image but not used for search. The response attribute
7108
- * contains reasons for why a face wasn't used for Search. </p>
7109
- */
7110
- export interface UnsearchedFace {
7111
- /**
7112
- * @public
7113
- * <p>Structure containing attributes of the face that the algorithm detected.</p>
7114
- * <p>A <code>FaceDetail</code> object contains either the default facial attributes or all
7115
- * facial attributes. The default attributes are <code>BoundingBox</code>,
7116
- * <code>Confidence</code>, <code>Landmarks</code>, <code>Pose</code>, and
7117
- * <code>Quality</code>.</p>
7118
- * <p>
7119
- * <a>GetFaceDetection</a> is the only Amazon Rekognition Video stored video operation that can
7120
- * return a <code>FaceDetail</code> object with all attributes. To specify which attributes to
7121
- * return, use the <code>FaceAttributes</code> input parameter for <a>StartFaceDetection</a>. The following Amazon Rekognition Video operations return only the default
7122
- * attributes. The corresponding Start operations don't have a <code>FaceAttributes</code> input
7123
- * parameter:</p>
7124
- * <ul>
7125
- * <li>
7126
- * <p>GetCelebrityRecognition</p>
7127
- * </li>
7128
- * <li>
7129
- * <p>GetPersonTracking</p>
7130
- * </li>
7131
- * <li>
7132
- * <p>GetFaceSearch</p>
7133
- * </li>
7134
- * </ul>
7135
- * <p>The Amazon Rekognition Image <a>DetectFaces</a> and <a>IndexFaces</a> operations
7136
- * can return all facial attributes. To specify which attributes to return, use the
7137
- * <code>Attributes</code> input parameter for <code>DetectFaces</code>. For
7138
- * <code>IndexFaces</code>, use the <code>DetectAttributes</code> input parameter.</p>
7139
- */
7140
- FaceDetails?: FaceDetail;
7141
- /**
7142
- * @public
7143
- * <p> Reasons why a face wasn't used for Search. </p>
7144
- */
7145
- Reasons?: (UnsearchedFaceReason | string)[];
7146
- }
7147
- /**
7148
- * @public
7149
- */
7150
- export interface SearchUsersByImageResponse {
7151
- /**
7152
- * @public
7153
- * <p>An array of UserID objects that matched the input face, along with the confidence in the
7154
- * match. The returned structure will be empty if there are no matches. Returned if the
7155
- * SearchUsersByImageResponse action is successful.</p>
7156
- */
7157
- UserMatches?: UserMatch[];
7158
- /**
7159
- * @public
7160
- * <p>Version number of the face detection model associated with the input collection
7161
- * CollectionId.</p>
7162
- */
7163
- FaceModelVersion?: string;
7164
- /**
7165
- * @public
7166
- * <p>A list of FaceDetail objects containing the BoundingBox for the largest face in image, as
7167
- * well as the confidence in the bounding box, that was searched for matches. If no valid face is
7168
- * detected in the image the response will contain no SearchedFace object.</p>
7169
- */
7170
- SearchedFace?: SearchedFaceDetails;
7171
- /**
7172
- * @public
7173
- * <p>List of UnsearchedFace objects. Contains the face details infered from the specified image
7174
- * but not used for search. Contains reasons that describe why a face wasn't used for Search.
7175
- * </p>
7176
- */
7177
- UnsearchedFaces?: UnsearchedFace[];
7178
- }
7179
- /**
7180
- * @public
7181
- */
7182
- export interface StartCelebrityRecognitionRequest {
7183
- /**
7184
- * @public
7185
- * <p>The video in which you want to recognize celebrities. The video must be stored
7186
- * in an Amazon S3 bucket.</p>
7187
- */
7188
- Video: Video | undefined;
7189
- /**
7190
- * @public
7191
- * <p>Idempotent token used to identify the start request. If you use the same token with multiple
7192
- * <code>StartCelebrityRecognition</code> requests, the same <code>JobId</code> is returned. Use
7193
- * <code>ClientRequestToken</code> to prevent the same job from being accidently started more than once. </p>
7194
- */
7195
- ClientRequestToken?: string;
7196
- /**
7197
- * @public
7198
- * <p>The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the
7199
- * celebrity recognition analysis to. The Amazon SNS topic must have a topic name that begins with <i>AmazonRekognition</i> if you are using the AmazonRekognitionServiceRole permissions policy.</p>
7200
- */
7201
- NotificationChannel?: NotificationChannel;
7202
- /**
7203
- * @public
7204
- * <p>An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.
7205
- * For example, you can use <code>JobTag</code> to group related jobs and identify them in the completion notification.</p>
7206
- */
7207
- JobTag?: string;
7208
- }
7209
7221
  /**
7210
7222
  * @internal
7211
7223
  */