@aws-sdk/client-rekognition 3.300.0 → 3.303.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 (68) hide show
  1. package/dist-cjs/models/models_0.js +204 -236
  2. package/dist-es/models/models_0.js +204 -236
  3. package/dist-types/commands/CompareFacesCommand.d.ts +3 -3
  4. package/dist-types/commands/CopyProjectVersionCommand.d.ts +3 -3
  5. package/dist-types/commands/CreateCollectionCommand.d.ts +2 -2
  6. package/dist-types/commands/CreateDatasetCommand.d.ts +4 -4
  7. package/dist-types/commands/CreateProjectCommand.d.ts +1 -1
  8. package/dist-types/commands/CreateProjectVersionCommand.d.ts +9 -9
  9. package/dist-types/commands/CreateStreamProcessorCommand.d.ts +18 -18
  10. package/dist-types/commands/DeleteCollectionCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteDatasetCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteFacesCommand.d.ts +2 -2
  13. package/dist-types/commands/DeleteProjectCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteProjectVersionCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteStreamProcessorCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeCollectionCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeDatasetCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeProjectVersionsCommand.d.ts +2 -2
  20. package/dist-types/commands/DescribeProjectsCommand.d.ts +2 -2
  21. package/dist-types/commands/DescribeStreamProcessorCommand.d.ts +1 -1
  22. package/dist-types/commands/DetectCustomLabelsCommand.d.ts +3 -3
  23. package/dist-types/commands/DetectFacesCommand.d.ts +4 -4
  24. package/dist-types/commands/DetectLabelsCommand.d.ts +8 -8
  25. package/dist-types/commands/DetectModerationLabelsCommand.d.ts +6 -6
  26. package/dist-types/commands/DetectProtectiveEquipmentCommand.d.ts +5 -5
  27. package/dist-types/commands/DetectTextCommand.d.ts +10 -10
  28. package/dist-types/commands/DistributeDatasetEntriesCommand.d.ts +3 -3
  29. package/dist-types/commands/GetCelebrityInfoCommand.d.ts +1 -1
  30. package/dist-types/commands/GetCelebrityRecognitionCommand.d.ts +1 -1
  31. package/dist-types/commands/GetContentModerationCommand.d.ts +1 -1
  32. package/dist-types/commands/GetFaceDetectionCommand.d.ts +1 -1
  33. package/dist-types/commands/GetFaceSearchCommand.d.ts +1 -1
  34. package/dist-types/commands/GetLabelDetectionCommand.d.ts +1 -1
  35. package/dist-types/commands/GetPersonTrackingCommand.d.ts +1 -1
  36. package/dist-types/commands/GetSegmentDetectionCommand.d.ts +1 -1
  37. package/dist-types/commands/GetTextDetectionCommand.d.ts +1 -1
  38. package/dist-types/commands/IndexFacesCommand.d.ts +4 -4
  39. package/dist-types/commands/ListCollectionsCommand.d.ts +1 -1
  40. package/dist-types/commands/ListDatasetEntriesCommand.d.ts +2 -2
  41. package/dist-types/commands/ListDatasetLabelsCommand.d.ts +1 -1
  42. package/dist-types/commands/ListFacesCommand.d.ts +1 -1
  43. package/dist-types/commands/ListProjectPoliciesCommand.d.ts +1 -1
  44. package/dist-types/commands/ListStreamProcessorsCommand.d.ts +1 -1
  45. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  46. package/dist-types/commands/PutProjectPolicyCommand.d.ts +1 -1
  47. package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +3 -3
  48. package/dist-types/commands/SearchFacesByImageCommand.d.ts +3 -3
  49. package/dist-types/commands/SearchFacesCommand.d.ts +1 -1
  50. package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +4 -4
  51. package/dist-types/commands/StartContentModerationCommand.d.ts +4 -4
  52. package/dist-types/commands/StartFaceDetectionCommand.d.ts +4 -4
  53. package/dist-types/commands/StartFaceSearchCommand.d.ts +4 -4
  54. package/dist-types/commands/StartLabelDetectionCommand.d.ts +8 -8
  55. package/dist-types/commands/StartPersonTrackingCommand.d.ts +4 -4
  56. package/dist-types/commands/StartProjectVersionCommand.d.ts +1 -1
  57. package/dist-types/commands/StartSegmentDetectionCommand.d.ts +9 -9
  58. package/dist-types/commands/StartStreamProcessorCommand.d.ts +4 -4
  59. package/dist-types/commands/StartTextDetectionCommand.d.ts +11 -11
  60. package/dist-types/commands/StopProjectVersionCommand.d.ts +1 -1
  61. package/dist-types/commands/StopStreamProcessorCommand.d.ts +1 -1
  62. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  63. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  64. package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +2 -2
  65. package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +11 -11
  66. package/dist-types/models/models_0.d.ts +365 -205
  67. package/dist-types/ts3.4/models/models_0.d.ts +256 -204
  68. package/package.json +35 -35
@@ -28,10 +28,11 @@ export interface GroundTruthManifest {
28
28
  export interface Asset {
29
29
  GroundTruthManifest?: GroundTruthManifest;
30
30
  }
31
- export declare enum Attribute {
32
- ALL = "ALL",
33
- DEFAULT = "DEFAULT",
34
- }
31
+ export declare const Attribute: {
32
+ readonly ALL: "ALL";
33
+ readonly DEFAULT: "DEFAULT";
34
+ };
35
+ export type Attribute = (typeof Attribute)[keyof typeof Attribute];
35
36
  export interface AudioMetadata {
36
37
  Codec?: string;
37
38
  DurationMillis?: number;
@@ -46,12 +47,13 @@ export interface BlackFrame {
46
47
  MaxPixelThreshold?: number;
47
48
  MinCoveragePercentage?: number;
48
49
  }
49
- export declare enum BodyPart {
50
- FACE = "FACE",
51
- HEAD = "HEAD",
52
- LEFT_HAND = "LEFT_HAND",
53
- RIGHT_HAND = "RIGHT_HAND",
54
- }
50
+ export declare const BodyPart: {
51
+ readonly FACE: "FACE";
52
+ readonly HEAD: "HEAD";
53
+ readonly LEFT_HAND: "LEFT_HAND";
54
+ readonly RIGHT_HAND: "RIGHT_HAND";
55
+ };
56
+ export type BodyPart = (typeof BodyPart)[keyof typeof BodyPart];
55
57
  export interface BoundingBox {
56
58
  Width?: number;
57
59
  Height?: number;
@@ -62,11 +64,13 @@ export interface CoversBodyPart {
62
64
  Confidence?: number;
63
65
  Value?: boolean;
64
66
  }
65
- export declare enum ProtectiveEquipmentType {
66
- FACE_COVER = "FACE_COVER",
67
- HAND_COVER = "HAND_COVER",
68
- HEAD_COVER = "HEAD_COVER",
69
- }
67
+ export declare const ProtectiveEquipmentType: {
68
+ readonly FACE_COVER: "FACE_COVER";
69
+ readonly HAND_COVER: "HAND_COVER";
70
+ readonly HEAD_COVER: "HEAD_COVER";
71
+ };
72
+ export type ProtectiveEquipmentType =
73
+ (typeof ProtectiveEquipmentType)[keyof typeof ProtectiveEquipmentType];
70
74
  export interface EquipmentDetection {
71
75
  BoundingBox?: BoundingBox;
72
76
  Confidence?: number;
@@ -78,53 +82,55 @@ export interface ProtectiveEquipmentBodyPart {
78
82
  Confidence?: number;
79
83
  EquipmentDetections?: EquipmentDetection[];
80
84
  }
81
- export declare enum EmotionName {
82
- ANGRY = "ANGRY",
83
- CALM = "CALM",
84
- CONFUSED = "CONFUSED",
85
- DISGUSTED = "DISGUSTED",
86
- FEAR = "FEAR",
87
- HAPPY = "HAPPY",
88
- SAD = "SAD",
89
- SURPRISED = "SURPRISED",
90
- UNKNOWN = "UNKNOWN",
91
- }
85
+ export declare const EmotionName: {
86
+ readonly ANGRY: "ANGRY";
87
+ readonly CALM: "CALM";
88
+ readonly CONFUSED: "CONFUSED";
89
+ readonly DISGUSTED: "DISGUSTED";
90
+ readonly FEAR: "FEAR";
91
+ readonly HAPPY: "HAPPY";
92
+ readonly SAD: "SAD";
93
+ readonly SURPRISED: "SURPRISED";
94
+ readonly UNKNOWN: "UNKNOWN";
95
+ };
96
+ export type EmotionName = (typeof EmotionName)[keyof typeof EmotionName];
92
97
  export interface Emotion {
93
98
  Type?: EmotionName | string;
94
99
  Confidence?: number;
95
100
  }
96
- export declare enum LandmarkType {
97
- chinBottom = "chinBottom",
98
- eyeLeft = "eyeLeft",
99
- eyeRight = "eyeRight",
100
- leftEyeBrowLeft = "leftEyeBrowLeft",
101
- leftEyeBrowRight = "leftEyeBrowRight",
102
- leftEyeBrowUp = "leftEyeBrowUp",
103
- leftEyeDown = "leftEyeDown",
104
- leftEyeLeft = "leftEyeLeft",
105
- leftEyeRight = "leftEyeRight",
106
- leftEyeUp = "leftEyeUp",
107
- leftPupil = "leftPupil",
108
- midJawlineLeft = "midJawlineLeft",
109
- midJawlineRight = "midJawlineRight",
110
- mouthDown = "mouthDown",
111
- mouthLeft = "mouthLeft",
112
- mouthRight = "mouthRight",
113
- mouthUp = "mouthUp",
114
- nose = "nose",
115
- noseLeft = "noseLeft",
116
- noseRight = "noseRight",
117
- rightEyeBrowLeft = "rightEyeBrowLeft",
118
- rightEyeBrowRight = "rightEyeBrowRight",
119
- rightEyeBrowUp = "rightEyeBrowUp",
120
- rightEyeDown = "rightEyeDown",
121
- rightEyeLeft = "rightEyeLeft",
122
- rightEyeRight = "rightEyeRight",
123
- rightEyeUp = "rightEyeUp",
124
- rightPupil = "rightPupil",
125
- upperJawlineLeft = "upperJawlineLeft",
126
- upperJawlineRight = "upperJawlineRight",
127
- }
101
+ export declare const LandmarkType: {
102
+ readonly chinBottom: "chinBottom";
103
+ readonly eyeLeft: "eyeLeft";
104
+ readonly eyeRight: "eyeRight";
105
+ readonly leftEyeBrowLeft: "leftEyeBrowLeft";
106
+ readonly leftEyeBrowRight: "leftEyeBrowRight";
107
+ readonly leftEyeBrowUp: "leftEyeBrowUp";
108
+ readonly leftEyeDown: "leftEyeDown";
109
+ readonly leftEyeLeft: "leftEyeLeft";
110
+ readonly leftEyeRight: "leftEyeRight";
111
+ readonly leftEyeUp: "leftEyeUp";
112
+ readonly leftPupil: "leftPupil";
113
+ readonly midJawlineLeft: "midJawlineLeft";
114
+ readonly midJawlineRight: "midJawlineRight";
115
+ readonly mouthDown: "mouthDown";
116
+ readonly mouthLeft: "mouthLeft";
117
+ readonly mouthRight: "mouthRight";
118
+ readonly mouthUp: "mouthUp";
119
+ readonly nose: "nose";
120
+ readonly noseLeft: "noseLeft";
121
+ readonly noseRight: "noseRight";
122
+ readonly rightEyeBrowLeft: "rightEyeBrowLeft";
123
+ readonly rightEyeBrowRight: "rightEyeBrowRight";
124
+ readonly rightEyeBrowUp: "rightEyeBrowUp";
125
+ readonly rightEyeDown: "rightEyeDown";
126
+ readonly rightEyeLeft: "rightEyeLeft";
127
+ readonly rightEyeRight: "rightEyeRight";
128
+ readonly rightEyeUp: "rightEyeUp";
129
+ readonly rightPupil: "rightPupil";
130
+ readonly upperJawlineLeft: "upperJawlineLeft";
131
+ readonly upperJawlineRight: "upperJawlineRight";
132
+ };
133
+ export type LandmarkType = (typeof LandmarkType)[keyof typeof LandmarkType];
128
134
  export interface Landmark {
129
135
  Type?: LandmarkType | string;
130
136
  X?: number;
@@ -152,12 +158,14 @@ export interface ComparedFace {
152
158
  Emotions?: Emotion[];
153
159
  Smile?: Smile;
154
160
  }
155
- export declare enum KnownGenderType {
156
- Female = "Female",
157
- Male = "Male",
158
- Nonbinary = "Nonbinary",
159
- Unlisted = "Unlisted",
160
- }
161
+ export declare const KnownGenderType: {
162
+ readonly Female: "Female";
163
+ readonly Male: "Male";
164
+ readonly Nonbinary: "Nonbinary";
165
+ readonly Unlisted: "Unlisted";
166
+ };
167
+ export type KnownGenderType =
168
+ (typeof KnownGenderType)[keyof typeof KnownGenderType];
161
169
  export interface KnownGender {
162
170
  Type?: KnownGenderType | string;
163
171
  }
@@ -177,10 +185,11 @@ export interface EyeOpen {
177
185
  Value?: boolean;
178
186
  Confidence?: number;
179
187
  }
180
- export declare enum GenderType {
181
- Female = "Female",
182
- Male = "Male",
183
- }
188
+ export declare const GenderType: {
189
+ readonly Female: "Female";
190
+ readonly Male: "Male";
191
+ };
192
+ export type GenderType = (typeof GenderType)[keyof typeof GenderType];
184
193
  export interface Gender {
185
194
  Value?: GenderType | string;
186
195
  Confidence?: number;
@@ -227,21 +236,24 @@ export interface CelebrityRecognition {
227
236
  Timestamp?: number;
228
237
  Celebrity?: CelebrityDetail;
229
238
  }
230
- export declare enum CelebrityRecognitionSortBy {
231
- ID = "ID",
232
- TIMESTAMP = "TIMESTAMP",
233
- }
239
+ export declare const CelebrityRecognitionSortBy: {
240
+ readonly ID: "ID";
241
+ readonly TIMESTAMP: "TIMESTAMP";
242
+ };
243
+ export type CelebrityRecognitionSortBy =
244
+ (typeof CelebrityRecognitionSortBy)[keyof typeof CelebrityRecognitionSortBy];
234
245
  export interface ComparedSourceImageFace {
235
246
  BoundingBox?: BoundingBox;
236
247
  Confidence?: number;
237
248
  }
238
- export declare enum QualityFilter {
239
- AUTO = "AUTO",
240
- HIGH = "HIGH",
241
- LOW = "LOW",
242
- MEDIUM = "MEDIUM",
243
- NONE = "NONE",
244
- }
249
+ export declare const QualityFilter: {
250
+ readonly AUTO: "AUTO";
251
+ readonly HIGH: "HIGH";
252
+ readonly LOW: "LOW";
253
+ readonly MEDIUM: "MEDIUM";
254
+ readonly NONE: "NONE";
255
+ };
256
+ export type QualityFilter = (typeof QualityFilter)[keyof typeof QualityFilter];
245
257
  export interface Image {
246
258
  Bytes?: Uint8Array;
247
259
  S3Object?: S3Object;
@@ -256,12 +268,14 @@ export interface CompareFacesMatch {
256
268
  Similarity?: number;
257
269
  Face?: ComparedFace;
258
270
  }
259
- export declare enum OrientationCorrection {
260
- ROTATE_0 = "ROTATE_0",
261
- ROTATE_180 = "ROTATE_180",
262
- ROTATE_270 = "ROTATE_270",
263
- ROTATE_90 = "ROTATE_90",
264
- }
271
+ export declare const OrientationCorrection: {
272
+ readonly ROTATE_0: "ROTATE_0";
273
+ readonly ROTATE_180: "ROTATE_180";
274
+ readonly ROTATE_270: "ROTATE_270";
275
+ readonly ROTATE_90: "ROTATE_90";
276
+ };
277
+ export type OrientationCorrection =
278
+ (typeof OrientationCorrection)[keyof typeof OrientationCorrection];
265
279
  export interface CompareFacesResponse {
266
280
  SourceImageFace?: ComparedSourceImageFace;
267
281
  FaceMatches?: CompareFacesMatch[];
@@ -350,10 +364,12 @@ export interface ConnectedHomeSettingsForUpdate {
350
364
  Labels?: string[];
351
365
  MinConfidence?: number;
352
366
  }
353
- export declare enum ContentClassifier {
354
- FREE_OF_ADULT_CONTENT = "FreeOfAdultContent",
355
- FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION = "FreeOfPersonallyIdentifiableInformation",
356
- }
367
+ export declare const ContentClassifier: {
368
+ readonly FREE_OF_ADULT_CONTENT: "FreeOfAdultContent";
369
+ readonly FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation";
370
+ };
371
+ export type ContentClassifier =
372
+ (typeof ContentClassifier)[keyof typeof ContentClassifier];
357
373
  export interface ModerationLabel {
358
374
  Confidence?: number;
359
375
  Name?: string;
@@ -363,10 +379,12 @@ export interface ContentModerationDetection {
363
379
  Timestamp?: number;
364
380
  ModerationLabel?: ModerationLabel;
365
381
  }
366
- export declare enum ContentModerationSortBy {
367
- NAME = "NAME",
368
- TIMESTAMP = "TIMESTAMP",
369
- }
382
+ export declare const ContentModerationSortBy: {
383
+ readonly NAME: "NAME";
384
+ readonly TIMESTAMP: "TIMESTAMP";
385
+ };
386
+ export type ContentModerationSortBy =
387
+ (typeof ContentModerationSortBy)[keyof typeof ContentModerationSortBy];
370
388
  export interface OutputConfig {
371
389
  S3Bucket?: string;
372
390
  S3KeyPrefix?: string;
@@ -446,10 +464,11 @@ export interface DatasetSource {
446
464
  GroundTruthManifest?: GroundTruthManifest;
447
465
  DatasetArn?: string;
448
466
  }
449
- export declare enum DatasetType {
450
- TEST = "TEST",
451
- TRAIN = "TRAIN",
452
- }
467
+ export declare const DatasetType: {
468
+ readonly TEST: "TEST";
469
+ readonly TRAIN: "TRAIN";
470
+ };
471
+ export type DatasetType = (typeof DatasetType)[keyof typeof DatasetType];
453
472
  export interface CreateDatasetRequest {
454
473
  DatasetSource?: DatasetSource;
455
474
  DatasetType: DatasetType | string | undefined;
@@ -555,20 +574,23 @@ export interface DatasetStats {
555
574
  TotalLabels?: number;
556
575
  ErrorEntries?: number;
557
576
  }
558
- export declare enum DatasetStatus {
559
- CREATE_COMPLETE = "CREATE_COMPLETE",
560
- CREATE_FAILED = "CREATE_FAILED",
561
- CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS",
562
- DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS",
563
- UPDATE_COMPLETE = "UPDATE_COMPLETE",
564
- UPDATE_FAILED = "UPDATE_FAILED",
565
- UPDATE_IN_PROGRESS = "UPDATE_IN_PROGRESS",
566
- }
567
- export declare enum DatasetStatusMessageCode {
568
- CLIENT_ERROR = "CLIENT_ERROR",
569
- SERVICE_ERROR = "SERVICE_ERROR",
570
- SUCCESS = "SUCCESS",
571
- }
577
+ export declare const DatasetStatus: {
578
+ readonly CREATE_COMPLETE: "CREATE_COMPLETE";
579
+ readonly CREATE_FAILED: "CREATE_FAILED";
580
+ readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
581
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
582
+ readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
583
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
584
+ readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
585
+ };
586
+ export type DatasetStatus = (typeof DatasetStatus)[keyof typeof DatasetStatus];
587
+ export declare const DatasetStatusMessageCode: {
588
+ readonly CLIENT_ERROR: "CLIENT_ERROR";
589
+ readonly SERVICE_ERROR: "SERVICE_ERROR";
590
+ readonly SUCCESS: "SUCCESS";
591
+ };
592
+ export type DatasetStatusMessageCode =
593
+ (typeof DatasetStatusMessageCode)[keyof typeof DatasetStatusMessageCode];
572
594
  export interface DatasetDescription {
573
595
  CreationTimestamp?: Date;
574
596
  LastUpdatedTimestamp?: Date;
@@ -613,11 +635,12 @@ export interface DeleteFacesResponse {
613
635
  export interface DeleteProjectRequest {
614
636
  ProjectArn: string | undefined;
615
637
  }
616
- export declare enum ProjectStatus {
617
- CREATED = "CREATED",
618
- CREATING = "CREATING",
619
- DELETING = "DELETING",
620
- }
638
+ export declare const ProjectStatus: {
639
+ readonly CREATED: "CREATED";
640
+ readonly CREATING: "CREATING";
641
+ readonly DELETING: "DELETING";
642
+ };
643
+ export type ProjectStatus = (typeof ProjectStatus)[keyof typeof ProjectStatus];
621
644
  export interface DeleteProjectResponse {
622
645
  Status?: ProjectStatus | string;
623
646
  }
@@ -643,20 +666,22 @@ export declare class InvalidPolicyRevisionIdException extends __BaseException {
643
666
  export interface DeleteProjectVersionRequest {
644
667
  ProjectVersionArn: string | undefined;
645
668
  }
646
- export declare enum ProjectVersionStatus {
647
- COPYING_COMPLETED = "COPYING_COMPLETED",
648
- COPYING_FAILED = "COPYING_FAILED",
649
- COPYING_IN_PROGRESS = "COPYING_IN_PROGRESS",
650
- DELETING = "DELETING",
651
- FAILED = "FAILED",
652
- RUNNING = "RUNNING",
653
- STARTING = "STARTING",
654
- STOPPED = "STOPPED",
655
- STOPPING = "STOPPING",
656
- TRAINING_COMPLETED = "TRAINING_COMPLETED",
657
- TRAINING_FAILED = "TRAINING_FAILED",
658
- TRAINING_IN_PROGRESS = "TRAINING_IN_PROGRESS",
659
- }
669
+ export declare const ProjectVersionStatus: {
670
+ readonly COPYING_COMPLETED: "COPYING_COMPLETED";
671
+ readonly COPYING_FAILED: "COPYING_FAILED";
672
+ readonly COPYING_IN_PROGRESS: "COPYING_IN_PROGRESS";
673
+ readonly DELETING: "DELETING";
674
+ readonly FAILED: "FAILED";
675
+ readonly RUNNING: "RUNNING";
676
+ readonly STARTING: "STARTING";
677
+ readonly STOPPED: "STOPPED";
678
+ readonly STOPPING: "STOPPING";
679
+ readonly TRAINING_COMPLETED: "TRAINING_COMPLETED";
680
+ readonly TRAINING_FAILED: "TRAINING_FAILED";
681
+ readonly TRAINING_IN_PROGRESS: "TRAINING_IN_PROGRESS";
682
+ };
683
+ export type ProjectVersionStatus =
684
+ (typeof ProjectVersionStatus)[keyof typeof ProjectVersionStatus];
660
685
  export interface DeleteProjectVersionResponse {
661
686
  Status?: ProjectVersionStatus | string;
662
687
  }
@@ -757,14 +782,16 @@ export interface DescribeProjectVersionsResponse {
757
782
  export interface DescribeStreamProcessorRequest {
758
783
  Name: string | undefined;
759
784
  }
760
- export declare enum StreamProcessorStatus {
761
- FAILED = "FAILED",
762
- RUNNING = "RUNNING",
763
- STARTING = "STARTING",
764
- STOPPED = "STOPPED",
765
- STOPPING = "STOPPING",
766
- UPDATING = "UPDATING",
767
- }
785
+ export declare const StreamProcessorStatus: {
786
+ readonly FAILED: "FAILED";
787
+ readonly RUNNING: "RUNNING";
788
+ readonly STARTING: "STARTING";
789
+ readonly STOPPED: "STOPPED";
790
+ readonly STOPPING: "STOPPING";
791
+ readonly UPDATING: "UPDATING";
792
+ };
793
+ export type StreamProcessorStatus =
794
+ (typeof StreamProcessorStatus)[keyof typeof StreamProcessorStatus];
768
795
  export interface DescribeStreamProcessorResponse {
769
796
  Name?: string;
770
797
  StreamProcessorArn?: string;
@@ -813,10 +840,12 @@ export interface DetectionFilter {
813
840
  MinBoundingBoxHeight?: number;
814
841
  MinBoundingBoxWidth?: number;
815
842
  }
816
- export declare enum DetectLabelsFeatureName {
817
- GENERAL_LABELS = "GENERAL_LABELS",
818
- IMAGE_PROPERTIES = "IMAGE_PROPERTIES",
819
- }
843
+ export declare const DetectLabelsFeatureName: {
844
+ readonly GENERAL_LABELS: "GENERAL_LABELS";
845
+ readonly IMAGE_PROPERTIES: "IMAGE_PROPERTIES";
846
+ };
847
+ export type DetectLabelsFeatureName =
848
+ (typeof DetectLabelsFeatureName)[keyof typeof DetectLabelsFeatureName];
820
849
  export interface GeneralLabelsSettings {
821
850
  LabelInclusionFilters?: string[];
822
851
  LabelExclusionFilters?: string[];
@@ -964,10 +993,11 @@ export interface DetectTextRequest {
964
993
  Image: Image | undefined;
965
994
  Filters?: DetectTextFilters;
966
995
  }
967
- export declare enum TextTypes {
968
- LINE = "LINE",
969
- WORD = "WORD",
970
- }
996
+ export declare const TextTypes: {
997
+ readonly LINE: "LINE";
998
+ readonly WORD: "WORD";
999
+ };
1000
+ export type TextTypes = (typeof TextTypes)[keyof typeof TextTypes];
971
1001
  export interface TextDetection {
972
1002
  DetectedText?: string;
973
1003
  Type?: TextTypes | string;
@@ -995,10 +1025,12 @@ export interface Face {
995
1025
  Confidence?: number;
996
1026
  IndexFacesModelVersion?: string;
997
1027
  }
998
- export declare enum FaceAttributes {
999
- ALL = "ALL",
1000
- DEFAULT = "DEFAULT",
1001
- }
1028
+ export declare const FaceAttributes: {
1029
+ readonly ALL: "ALL";
1030
+ readonly DEFAULT: "DEFAULT";
1031
+ };
1032
+ export type FaceAttributes =
1033
+ (typeof FaceAttributes)[keyof typeof FaceAttributes];
1002
1034
  export interface FaceDetection {
1003
1035
  Timestamp?: number;
1004
1036
  Face?: FaceDetail;
@@ -1011,10 +1043,12 @@ export interface FaceRecord {
1011
1043
  Face?: Face;
1012
1044
  FaceDetail?: FaceDetail;
1013
1045
  }
1014
- export declare enum FaceSearchSortBy {
1015
- INDEX = "INDEX",
1016
- TIMESTAMP = "TIMESTAMP",
1017
- }
1046
+ export declare const FaceSearchSortBy: {
1047
+ readonly INDEX: "INDEX";
1048
+ readonly TIMESTAMP: "TIMESTAMP";
1049
+ };
1050
+ export type FaceSearchSortBy =
1051
+ (typeof FaceSearchSortBy)[keyof typeof FaceSearchSortBy];
1018
1052
  export interface GetCelebrityInfoRequest {
1019
1053
  Id: string | undefined;
1020
1054
  }
@@ -1029,15 +1063,19 @@ export interface GetCelebrityRecognitionRequest {
1029
1063
  NextToken?: string;
1030
1064
  SortBy?: CelebrityRecognitionSortBy | string;
1031
1065
  }
1032
- export declare enum VideoJobStatus {
1033
- FAILED = "FAILED",
1034
- IN_PROGRESS = "IN_PROGRESS",
1035
- SUCCEEDED = "SUCCEEDED",
1036
- }
1037
- export declare enum VideoColorRange {
1038
- FULL = "FULL",
1039
- LIMITED = "LIMITED",
1040
- }
1066
+ export declare const VideoJobStatus: {
1067
+ readonly FAILED: "FAILED";
1068
+ readonly IN_PROGRESS: "IN_PROGRESS";
1069
+ readonly SUCCEEDED: "SUCCEEDED";
1070
+ };
1071
+ export type VideoJobStatus =
1072
+ (typeof VideoJobStatus)[keyof typeof VideoJobStatus];
1073
+ export declare const VideoColorRange: {
1074
+ readonly FULL: "FULL";
1075
+ readonly LIMITED: "LIMITED";
1076
+ };
1077
+ export type VideoColorRange =
1078
+ (typeof VideoColorRange)[keyof typeof VideoColorRange];
1041
1079
  export interface VideoMetadata {
1042
1080
  Codec?: string;
1043
1081
  DurationMillis?: number;
@@ -1103,14 +1141,18 @@ export interface GetFaceSearchResponse {
1103
1141
  VideoMetadata?: VideoMetadata;
1104
1142
  Persons?: PersonMatch[];
1105
1143
  }
1106
- export declare enum LabelDetectionAggregateBy {
1107
- SEGMENTS = "SEGMENTS",
1108
- TIMESTAMPS = "TIMESTAMPS",
1109
- }
1110
- export declare enum LabelDetectionSortBy {
1111
- NAME = "NAME",
1112
- TIMESTAMP = "TIMESTAMP",
1113
- }
1144
+ export declare const LabelDetectionAggregateBy: {
1145
+ readonly SEGMENTS: "SEGMENTS";
1146
+ readonly TIMESTAMPS: "TIMESTAMPS";
1147
+ };
1148
+ export type LabelDetectionAggregateBy =
1149
+ (typeof LabelDetectionAggregateBy)[keyof typeof LabelDetectionAggregateBy];
1150
+ export declare const LabelDetectionSortBy: {
1151
+ readonly NAME: "NAME";
1152
+ readonly TIMESTAMP: "TIMESTAMP";
1153
+ };
1154
+ export type LabelDetectionSortBy =
1155
+ (typeof LabelDetectionSortBy)[keyof typeof LabelDetectionSortBy];
1114
1156
  export interface GetLabelDetectionRequest {
1115
1157
  JobId: string | undefined;
1116
1158
  MaxResults?: number;
@@ -1133,10 +1175,12 @@ export interface GetLabelDetectionResponse {
1133
1175
  Labels?: LabelDetection[];
1134
1176
  LabelModelVersion?: string;
1135
1177
  }
1136
- export declare enum PersonTrackingSortBy {
1137
- INDEX = "INDEX",
1138
- TIMESTAMP = "TIMESTAMP",
1139
- }
1178
+ export declare const PersonTrackingSortBy: {
1179
+ readonly INDEX: "INDEX";
1180
+ readonly TIMESTAMP: "TIMESTAMP";
1181
+ };
1182
+ export type PersonTrackingSortBy =
1183
+ (typeof PersonTrackingSortBy)[keyof typeof PersonTrackingSortBy];
1140
1184
  export interface GetPersonTrackingRequest {
1141
1185
  JobId: string | undefined;
1142
1186
  MaxResults?: number;
@@ -1163,23 +1207,26 @@ export interface ShotSegment {
1163
1207
  Index?: number;
1164
1208
  Confidence?: number;
1165
1209
  }
1166
- export declare enum TechnicalCueType {
1167
- BLACK_FRAMES = "BlackFrames",
1168
- COLOR_BARS = "ColorBars",
1169
- CONTENT = "Content",
1170
- END_CREDITS = "EndCredits",
1171
- OPENING_CREDITS = "OpeningCredits",
1172
- SLATE = "Slate",
1173
- STUDIO_LOGO = "StudioLogo",
1174
- }
1210
+ export declare const TechnicalCueType: {
1211
+ readonly BLACK_FRAMES: "BlackFrames";
1212
+ readonly COLOR_BARS: "ColorBars";
1213
+ readonly CONTENT: "Content";
1214
+ readonly END_CREDITS: "EndCredits";
1215
+ readonly OPENING_CREDITS: "OpeningCredits";
1216
+ readonly SLATE: "Slate";
1217
+ readonly STUDIO_LOGO: "StudioLogo";
1218
+ };
1219
+ export type TechnicalCueType =
1220
+ (typeof TechnicalCueType)[keyof typeof TechnicalCueType];
1175
1221
  export interface TechnicalCueSegment {
1176
1222
  Type?: TechnicalCueType | string;
1177
1223
  Confidence?: number;
1178
1224
  }
1179
- export declare enum SegmentType {
1180
- SHOT = "SHOT",
1181
- TECHNICAL_CUE = "TECHNICAL_CUE",
1182
- }
1225
+ export declare const SegmentType: {
1226
+ readonly SHOT: "SHOT";
1227
+ readonly TECHNICAL_CUE: "TECHNICAL_CUE";
1228
+ };
1229
+ export type SegmentType = (typeof SegmentType)[keyof typeof SegmentType];
1183
1230
  export interface SegmentDetection {
1184
1231
  Type?: SegmentType | string;
1185
1232
  StartTimestampMillis?: number;
@@ -1245,15 +1292,16 @@ export interface IndexFacesRequest {
1245
1292
  MaxFaces?: number;
1246
1293
  QualityFilter?: QualityFilter | string;
1247
1294
  }
1248
- export declare enum Reason {
1249
- EXCEEDS_MAX_FACES = "EXCEEDS_MAX_FACES",
1250
- EXTREME_POSE = "EXTREME_POSE",
1251
- LOW_BRIGHTNESS = "LOW_BRIGHTNESS",
1252
- LOW_CONFIDENCE = "LOW_CONFIDENCE",
1253
- LOW_FACE_QUALITY = "LOW_FACE_QUALITY",
1254
- LOW_SHARPNESS = "LOW_SHARPNESS",
1255
- SMALL_BOUNDING_BOX = "SMALL_BOUNDING_BOX",
1256
- }
1295
+ export declare const Reason: {
1296
+ readonly EXCEEDS_MAX_FACES: "EXCEEDS_MAX_FACES";
1297
+ readonly EXTREME_POSE: "EXTREME_POSE";
1298
+ readonly LOW_BRIGHTNESS: "LOW_BRIGHTNESS";
1299
+ readonly LOW_CONFIDENCE: "LOW_CONFIDENCE";
1300
+ readonly LOW_FACE_QUALITY: "LOW_FACE_QUALITY";
1301
+ readonly LOW_SHARPNESS: "LOW_SHARPNESS";
1302
+ readonly SMALL_BOUNDING_BOX: "SMALL_BOUNDING_BOX";
1303
+ };
1304
+ export type Reason = (typeof Reason)[keyof typeof Reason];
1257
1305
  export interface UnindexedFace {
1258
1306
  Reasons?: (Reason | string)[];
1259
1307
  FaceDetail?: FaceDetail;
@@ -1268,9 +1316,11 @@ export interface KinesisVideoStreamStartSelector {
1268
1316
  ProducerTimestamp?: number;
1269
1317
  FragmentNumber?: string;
1270
1318
  }
1271
- export declare enum LabelDetectionFeatureName {
1272
- GENERAL_LABELS = "GENERAL_LABELS",
1273
- }
1319
+ export declare const LabelDetectionFeatureName: {
1320
+ readonly GENERAL_LABELS: "GENERAL_LABELS";
1321
+ };
1322
+ export type LabelDetectionFeatureName =
1323
+ (typeof LabelDetectionFeatureName)[keyof typeof LabelDetectionFeatureName];
1274
1324
  export interface LabelDetectionSettings {
1275
1325
  GeneralLabels?: GeneralLabelsSettings;
1276
1326
  }
@@ -1565,10 +1615,12 @@ export interface UpdateDatasetEntriesRequest {
1565
1615
  Changes: DatasetChanges | undefined;
1566
1616
  }
1567
1617
  export interface UpdateDatasetEntriesResponse {}
1568
- export declare enum StreamProcessorParameterToDelete {
1569
- ConnectedHomeMinConfidence = "ConnectedHomeMinConfidence",
1570
- RegionsOfInterest = "RegionsOfInterest",
1571
- }
1618
+ export declare const StreamProcessorParameterToDelete: {
1619
+ readonly ConnectedHomeMinConfidence: "ConnectedHomeMinConfidence";
1620
+ readonly RegionsOfInterest: "RegionsOfInterest";
1621
+ };
1622
+ export type StreamProcessorParameterToDelete =
1623
+ (typeof StreamProcessorParameterToDelete)[keyof typeof StreamProcessorParameterToDelete];
1572
1624
  export interface StreamProcessorSettingsForUpdate {
1573
1625
  ConnectedHomeForUpdate?: ConnectedHomeSettingsForUpdate;
1574
1626
  }