@aws-sdk/client-rekognition 3.493.0 → 3.495.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 (111) hide show
  1. package/dist-cjs/Rekognition.js +1 -161
  2. package/dist-cjs/RekognitionClient.js +1 -43
  3. package/dist-cjs/commands/AssociateFacesCommand.js +1 -28
  4. package/dist-cjs/commands/CompareFacesCommand.js +1 -28
  5. package/dist-cjs/commands/CopyProjectVersionCommand.js +1 -28
  6. package/dist-cjs/commands/CreateCollectionCommand.js +1 -28
  7. package/dist-cjs/commands/CreateDatasetCommand.js +1 -28
  8. package/dist-cjs/commands/CreateFaceLivenessSessionCommand.js +1 -28
  9. package/dist-cjs/commands/CreateProjectCommand.js +1 -28
  10. package/dist-cjs/commands/CreateProjectVersionCommand.js +1 -28
  11. package/dist-cjs/commands/CreateStreamProcessorCommand.js +1 -28
  12. package/dist-cjs/commands/CreateUserCommand.js +1 -28
  13. package/dist-cjs/commands/DeleteCollectionCommand.js +1 -28
  14. package/dist-cjs/commands/DeleteDatasetCommand.js +1 -28
  15. package/dist-cjs/commands/DeleteFacesCommand.js +1 -28
  16. package/dist-cjs/commands/DeleteProjectCommand.js +1 -28
  17. package/dist-cjs/commands/DeleteProjectPolicyCommand.js +1 -28
  18. package/dist-cjs/commands/DeleteProjectVersionCommand.js +1 -28
  19. package/dist-cjs/commands/DeleteStreamProcessorCommand.js +1 -28
  20. package/dist-cjs/commands/DeleteUserCommand.js +1 -28
  21. package/dist-cjs/commands/DescribeCollectionCommand.js +1 -28
  22. package/dist-cjs/commands/DescribeDatasetCommand.js +1 -28
  23. package/dist-cjs/commands/DescribeProjectVersionsCommand.js +1 -28
  24. package/dist-cjs/commands/DescribeProjectsCommand.js +1 -28
  25. package/dist-cjs/commands/DescribeStreamProcessorCommand.js +1 -28
  26. package/dist-cjs/commands/DetectCustomLabelsCommand.js +1 -28
  27. package/dist-cjs/commands/DetectFacesCommand.js +1 -28
  28. package/dist-cjs/commands/DetectLabelsCommand.js +1 -28
  29. package/dist-cjs/commands/DetectModerationLabelsCommand.js +1 -28
  30. package/dist-cjs/commands/DetectProtectiveEquipmentCommand.js +1 -28
  31. package/dist-cjs/commands/DetectTextCommand.js +1 -28
  32. package/dist-cjs/commands/DisassociateFacesCommand.js +1 -28
  33. package/dist-cjs/commands/DistributeDatasetEntriesCommand.js +1 -28
  34. package/dist-cjs/commands/GetCelebrityInfoCommand.js +1 -28
  35. package/dist-cjs/commands/GetCelebrityRecognitionCommand.js +1 -28
  36. package/dist-cjs/commands/GetContentModerationCommand.js +1 -28
  37. package/dist-cjs/commands/GetFaceDetectionCommand.js +1 -28
  38. package/dist-cjs/commands/GetFaceLivenessSessionResultsCommand.js +1 -29
  39. package/dist-cjs/commands/GetFaceSearchCommand.js +1 -28
  40. package/dist-cjs/commands/GetLabelDetectionCommand.js +1 -28
  41. package/dist-cjs/commands/GetMediaAnalysisJobCommand.js +1 -28
  42. package/dist-cjs/commands/GetPersonTrackingCommand.js +1 -28
  43. package/dist-cjs/commands/GetSegmentDetectionCommand.js +1 -28
  44. package/dist-cjs/commands/GetTextDetectionCommand.js +1 -28
  45. package/dist-cjs/commands/IndexFacesCommand.js +1 -28
  46. package/dist-cjs/commands/ListCollectionsCommand.js +1 -28
  47. package/dist-cjs/commands/ListDatasetEntriesCommand.js +1 -28
  48. package/dist-cjs/commands/ListDatasetLabelsCommand.js +1 -28
  49. package/dist-cjs/commands/ListFacesCommand.js +1 -28
  50. package/dist-cjs/commands/ListMediaAnalysisJobsCommand.js +1 -28
  51. package/dist-cjs/commands/ListProjectPoliciesCommand.js +1 -28
  52. package/dist-cjs/commands/ListStreamProcessorsCommand.js +1 -28
  53. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  54. package/dist-cjs/commands/ListUsersCommand.js +1 -28
  55. package/dist-cjs/commands/PutProjectPolicyCommand.js +1 -28
  56. package/dist-cjs/commands/RecognizeCelebritiesCommand.js +1 -28
  57. package/dist-cjs/commands/SearchFacesByImageCommand.js +1 -28
  58. package/dist-cjs/commands/SearchFacesCommand.js +1 -28
  59. package/dist-cjs/commands/SearchUsersByImageCommand.js +1 -28
  60. package/dist-cjs/commands/SearchUsersCommand.js +1 -28
  61. package/dist-cjs/commands/StartCelebrityRecognitionCommand.js +1 -28
  62. package/dist-cjs/commands/StartContentModerationCommand.js +1 -28
  63. package/dist-cjs/commands/StartFaceDetectionCommand.js +1 -28
  64. package/dist-cjs/commands/StartFaceSearchCommand.js +1 -28
  65. package/dist-cjs/commands/StartLabelDetectionCommand.js +1 -28
  66. package/dist-cjs/commands/StartMediaAnalysisJobCommand.js +1 -28
  67. package/dist-cjs/commands/StartPersonTrackingCommand.js +1 -28
  68. package/dist-cjs/commands/StartProjectVersionCommand.js +1 -28
  69. package/dist-cjs/commands/StartSegmentDetectionCommand.js +1 -28
  70. package/dist-cjs/commands/StartStreamProcessorCommand.js +1 -28
  71. package/dist-cjs/commands/StartTextDetectionCommand.js +1 -28
  72. package/dist-cjs/commands/StopProjectVersionCommand.js +1 -28
  73. package/dist-cjs/commands/StopStreamProcessorCommand.js +1 -28
  74. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  75. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  76. package/dist-cjs/commands/UpdateDatasetEntriesCommand.js +1 -28
  77. package/dist-cjs/commands/UpdateStreamProcessorCommand.js +1 -28
  78. package/dist-cjs/commands/index.js +1 -78
  79. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  80. package/dist-cjs/extensionConfiguration.js +1 -2
  81. package/dist-cjs/index.js +8900 -12
  82. package/dist-cjs/models/RekognitionServiceException.js +1 -12
  83. package/dist-cjs/models/index.js +1 -5
  84. package/dist-cjs/models/models_0.js +1 -642
  85. package/dist-cjs/models/models_1.js +1 -34
  86. package/dist-cjs/pagination/DescribeProjectVersionsPaginator.js +1 -7
  87. package/dist-cjs/pagination/DescribeProjectsPaginator.js +1 -7
  88. package/dist-cjs/pagination/GetCelebrityRecognitionPaginator.js +1 -7
  89. package/dist-cjs/pagination/GetContentModerationPaginator.js +1 -7
  90. package/dist-cjs/pagination/GetFaceDetectionPaginator.js +1 -7
  91. package/dist-cjs/pagination/GetFaceSearchPaginator.js +1 -7
  92. package/dist-cjs/pagination/GetLabelDetectionPaginator.js +1 -7
  93. package/dist-cjs/pagination/GetPersonTrackingPaginator.js +1 -7
  94. package/dist-cjs/pagination/GetSegmentDetectionPaginator.js +1 -7
  95. package/dist-cjs/pagination/GetTextDetectionPaginator.js +1 -7
  96. package/dist-cjs/pagination/Interfaces.js +1 -2
  97. package/dist-cjs/pagination/ListCollectionsPaginator.js +1 -7
  98. package/dist-cjs/pagination/ListDatasetEntriesPaginator.js +1 -7
  99. package/dist-cjs/pagination/ListDatasetLabelsPaginator.js +1 -7
  100. package/dist-cjs/pagination/ListFacesPaginator.js +1 -7
  101. package/dist-cjs/pagination/ListMediaAnalysisJobsPaginator.js +1 -7
  102. package/dist-cjs/pagination/ListProjectPoliciesPaginator.js +1 -7
  103. package/dist-cjs/pagination/ListStreamProcessorsPaginator.js +1 -7
  104. package/dist-cjs/pagination/ListUsersPaginator.js +1 -7
  105. package/dist-cjs/pagination/index.js +1 -22
  106. package/dist-cjs/protocols/Aws_json1_1.js +1 -6365
  107. package/dist-cjs/runtimeExtensions.js +1 -22
  108. package/dist-cjs/waiters/index.js +1 -5
  109. package/dist-cjs/waiters/waitForProjectVersionRunning.js +1 -59
  110. package/dist-cjs/waiters/waitForProjectVersionTrainingCompleted.js +1 -59
  111. package/package.json +41 -41
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RekognitionServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class RekognitionServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, RekognitionServiceException.prototype);
10
- }
11
- }
12
- exports.RekognitionServiceException = RekognitionServiceException;
1
+ module.exports = require("../index.js");
@@ -1,5 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
5
- tslib_1.__exportStar(require("./models_1"), exports);
1
+ module.exports = require("../index.js");
@@ -1,642 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VideoColorRange = exports.VideoJobStatus = exports.FaceSearchSortBy = exports.FaceAttributes = exports.UnsuccessfulFaceDisassociationReason = exports.TextTypes = exports.HumanLoopQuotaExceededException = exports.DetectLabelsFeatureName = exports.ResourceNotReadyException = exports.StreamProcessorStatus = exports.InvalidPaginationTokenException = exports.ProjectVersionStatus = exports.InvalidPolicyRevisionIdException = exports.ProjectStatus = exports.UnsuccessfulFaceDeletionReason = exports.DatasetStatusMessageCode = exports.DatasetStatus = exports.CustomizationFeature = exports.ProjectAutoUpdate = exports.DatasetType = exports.ResourceAlreadyExistsException = exports.ResourceInUseException = exports.LimitExceededException = exports.ContentModerationSortBy = exports.ContentModerationAggregateBy = exports.ContentClassifier = exports.InvalidS3ObjectException = exports.InvalidImageFormatException = exports.ImageTooLargeException = exports.OrientationCorrection = exports.QualityFilter = exports.CelebrityRecognitionSortBy = exports.GenderType = exports.KnownGenderType = exports.LandmarkType = exports.EmotionName = exports.ProtectiveEquipmentType = exports.BodyPart = exports.Attribute = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.ProvisionedThroughputExceededException = exports.InvalidParameterException = exports.InternalServerError = exports.IdempotentParameterMismatchException = exports.ConflictException = exports.UserStatus = exports.UnsuccessfulFaceAssociationReason = exports.AccessDeniedException = void 0;
4
- exports.GetFaceLivenessSessionResultsResponseFilterSensitiveLog = exports.AuditImageFilterSensitiveLog = exports.MalformedPolicyDocumentException = exports.LabelDetectionFeatureName = exports.InvalidManifestException = exports.Reason = exports.SegmentType = exports.TechnicalCueType = exports.PersonTrackingSortBy = exports.MediaAnalysisJobStatus = exports.MediaAnalysisJobFailureCode = exports.LabelDetectionSortBy = exports.LabelDetectionAggregateBy = exports.SessionNotFoundException = exports.LivenessSessionStatus = void 0;
5
- const smithy_client_1 = require("@smithy/smithy-client");
6
- const RekognitionServiceException_1 = require("./RekognitionServiceException");
7
- class AccessDeniedException extends RekognitionServiceException_1.RekognitionServiceException {
8
- constructor(opts) {
9
- super({
10
- name: "AccessDeniedException",
11
- $fault: "client",
12
- ...opts,
13
- });
14
- this.name = "AccessDeniedException";
15
- this.$fault = "client";
16
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
17
- this.Message = opts.Message;
18
- this.Code = opts.Code;
19
- this.Logref = opts.Logref;
20
- }
21
- }
22
- exports.AccessDeniedException = AccessDeniedException;
23
- exports.UnsuccessfulFaceAssociationReason = {
24
- ASSOCIATED_TO_A_DIFFERENT_USER: "ASSOCIATED_TO_A_DIFFERENT_USER",
25
- FACE_NOT_FOUND: "FACE_NOT_FOUND",
26
- LOW_MATCH_CONFIDENCE: "LOW_MATCH_CONFIDENCE",
27
- };
28
- exports.UserStatus = {
29
- ACTIVE: "ACTIVE",
30
- CREATED: "CREATED",
31
- CREATING: "CREATING",
32
- UPDATING: "UPDATING",
33
- };
34
- class ConflictException extends RekognitionServiceException_1.RekognitionServiceException {
35
- constructor(opts) {
36
- super({
37
- name: "ConflictException",
38
- $fault: "client",
39
- ...opts,
40
- });
41
- this.name = "ConflictException";
42
- this.$fault = "client";
43
- Object.setPrototypeOf(this, ConflictException.prototype);
44
- this.Message = opts.Message;
45
- this.Code = opts.Code;
46
- this.Logref = opts.Logref;
47
- }
48
- }
49
- exports.ConflictException = ConflictException;
50
- class IdempotentParameterMismatchException extends RekognitionServiceException_1.RekognitionServiceException {
51
- constructor(opts) {
52
- super({
53
- name: "IdempotentParameterMismatchException",
54
- $fault: "client",
55
- ...opts,
56
- });
57
- this.name = "IdempotentParameterMismatchException";
58
- this.$fault = "client";
59
- Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
60
- this.Message = opts.Message;
61
- this.Code = opts.Code;
62
- this.Logref = opts.Logref;
63
- }
64
- }
65
- exports.IdempotentParameterMismatchException = IdempotentParameterMismatchException;
66
- class InternalServerError extends RekognitionServiceException_1.RekognitionServiceException {
67
- constructor(opts) {
68
- super({
69
- name: "InternalServerError",
70
- $fault: "server",
71
- ...opts,
72
- });
73
- this.name = "InternalServerError";
74
- this.$fault = "server";
75
- Object.setPrototypeOf(this, InternalServerError.prototype);
76
- this.Message = opts.Message;
77
- this.Code = opts.Code;
78
- this.Logref = opts.Logref;
79
- }
80
- }
81
- exports.InternalServerError = InternalServerError;
82
- class InvalidParameterException extends RekognitionServiceException_1.RekognitionServiceException {
83
- constructor(opts) {
84
- super({
85
- name: "InvalidParameterException",
86
- $fault: "client",
87
- ...opts,
88
- });
89
- this.name = "InvalidParameterException";
90
- this.$fault = "client";
91
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
92
- this.Message = opts.Message;
93
- this.Code = opts.Code;
94
- this.Logref = opts.Logref;
95
- }
96
- }
97
- exports.InvalidParameterException = InvalidParameterException;
98
- class ProvisionedThroughputExceededException extends RekognitionServiceException_1.RekognitionServiceException {
99
- constructor(opts) {
100
- super({
101
- name: "ProvisionedThroughputExceededException",
102
- $fault: "client",
103
- ...opts,
104
- });
105
- this.name = "ProvisionedThroughputExceededException";
106
- this.$fault = "client";
107
- Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype);
108
- this.Message = opts.Message;
109
- this.Code = opts.Code;
110
- this.Logref = opts.Logref;
111
- }
112
- }
113
- exports.ProvisionedThroughputExceededException = ProvisionedThroughputExceededException;
114
- class ResourceNotFoundException extends RekognitionServiceException_1.RekognitionServiceException {
115
- constructor(opts) {
116
- super({
117
- name: "ResourceNotFoundException",
118
- $fault: "client",
119
- ...opts,
120
- });
121
- this.name = "ResourceNotFoundException";
122
- this.$fault = "client";
123
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
124
- this.Message = opts.Message;
125
- this.Code = opts.Code;
126
- this.Logref = opts.Logref;
127
- }
128
- }
129
- exports.ResourceNotFoundException = ResourceNotFoundException;
130
- class ServiceQuotaExceededException extends RekognitionServiceException_1.RekognitionServiceException {
131
- constructor(opts) {
132
- super({
133
- name: "ServiceQuotaExceededException",
134
- $fault: "client",
135
- ...opts,
136
- });
137
- this.name = "ServiceQuotaExceededException";
138
- this.$fault = "client";
139
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
140
- this.Message = opts.Message;
141
- this.Code = opts.Code;
142
- this.Logref = opts.Logref;
143
- }
144
- }
145
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
146
- class ThrottlingException extends RekognitionServiceException_1.RekognitionServiceException {
147
- constructor(opts) {
148
- super({
149
- name: "ThrottlingException",
150
- $fault: "server",
151
- ...opts,
152
- });
153
- this.name = "ThrottlingException";
154
- this.$fault = "server";
155
- Object.setPrototypeOf(this, ThrottlingException.prototype);
156
- this.Message = opts.Message;
157
- this.Code = opts.Code;
158
- this.Logref = opts.Logref;
159
- }
160
- }
161
- exports.ThrottlingException = ThrottlingException;
162
- exports.Attribute = {
163
- AGE_RANGE: "AGE_RANGE",
164
- ALL: "ALL",
165
- BEARD: "BEARD",
166
- DEFAULT: "DEFAULT",
167
- EMOTIONS: "EMOTIONS",
168
- EYEGLASSES: "EYEGLASSES",
169
- EYES_OPEN: "EYES_OPEN",
170
- EYE_DIRECTION: "EYE_DIRECTION",
171
- FACE_OCCLUDED: "FACE_OCCLUDED",
172
- GENDER: "GENDER",
173
- MOUTH_OPEN: "MOUTH_OPEN",
174
- MUSTACHE: "MUSTACHE",
175
- SMILE: "SMILE",
176
- SUNGLASSES: "SUNGLASSES",
177
- };
178
- exports.BodyPart = {
179
- FACE: "FACE",
180
- HEAD: "HEAD",
181
- LEFT_HAND: "LEFT_HAND",
182
- RIGHT_HAND: "RIGHT_HAND",
183
- };
184
- exports.ProtectiveEquipmentType = {
185
- FACE_COVER: "FACE_COVER",
186
- HAND_COVER: "HAND_COVER",
187
- HEAD_COVER: "HEAD_COVER",
188
- };
189
- exports.EmotionName = {
190
- ANGRY: "ANGRY",
191
- CALM: "CALM",
192
- CONFUSED: "CONFUSED",
193
- DISGUSTED: "DISGUSTED",
194
- FEAR: "FEAR",
195
- HAPPY: "HAPPY",
196
- SAD: "SAD",
197
- SURPRISED: "SURPRISED",
198
- UNKNOWN: "UNKNOWN",
199
- };
200
- exports.LandmarkType = {
201
- chinBottom: "chinBottom",
202
- eyeLeft: "eyeLeft",
203
- eyeRight: "eyeRight",
204
- leftEyeBrowLeft: "leftEyeBrowLeft",
205
- leftEyeBrowRight: "leftEyeBrowRight",
206
- leftEyeBrowUp: "leftEyeBrowUp",
207
- leftEyeDown: "leftEyeDown",
208
- leftEyeLeft: "leftEyeLeft",
209
- leftEyeRight: "leftEyeRight",
210
- leftEyeUp: "leftEyeUp",
211
- leftPupil: "leftPupil",
212
- midJawlineLeft: "midJawlineLeft",
213
- midJawlineRight: "midJawlineRight",
214
- mouthDown: "mouthDown",
215
- mouthLeft: "mouthLeft",
216
- mouthRight: "mouthRight",
217
- mouthUp: "mouthUp",
218
- nose: "nose",
219
- noseLeft: "noseLeft",
220
- noseRight: "noseRight",
221
- rightEyeBrowLeft: "rightEyeBrowLeft",
222
- rightEyeBrowRight: "rightEyeBrowRight",
223
- rightEyeBrowUp: "rightEyeBrowUp",
224
- rightEyeDown: "rightEyeDown",
225
- rightEyeLeft: "rightEyeLeft",
226
- rightEyeRight: "rightEyeRight",
227
- rightEyeUp: "rightEyeUp",
228
- rightPupil: "rightPupil",
229
- upperJawlineLeft: "upperJawlineLeft",
230
- upperJawlineRight: "upperJawlineRight",
231
- };
232
- exports.KnownGenderType = {
233
- Female: "Female",
234
- Male: "Male",
235
- Nonbinary: "Nonbinary",
236
- Unlisted: "Unlisted",
237
- };
238
- exports.GenderType = {
239
- Female: "Female",
240
- Male: "Male",
241
- };
242
- exports.CelebrityRecognitionSortBy = {
243
- ID: "ID",
244
- TIMESTAMP: "TIMESTAMP",
245
- };
246
- exports.QualityFilter = {
247
- AUTO: "AUTO",
248
- HIGH: "HIGH",
249
- LOW: "LOW",
250
- MEDIUM: "MEDIUM",
251
- NONE: "NONE",
252
- };
253
- exports.OrientationCorrection = {
254
- ROTATE_0: "ROTATE_0",
255
- ROTATE_180: "ROTATE_180",
256
- ROTATE_270: "ROTATE_270",
257
- ROTATE_90: "ROTATE_90",
258
- };
259
- class ImageTooLargeException extends RekognitionServiceException_1.RekognitionServiceException {
260
- constructor(opts) {
261
- super({
262
- name: "ImageTooLargeException",
263
- $fault: "client",
264
- ...opts,
265
- });
266
- this.name = "ImageTooLargeException";
267
- this.$fault = "client";
268
- Object.setPrototypeOf(this, ImageTooLargeException.prototype);
269
- this.Message = opts.Message;
270
- this.Code = opts.Code;
271
- this.Logref = opts.Logref;
272
- }
273
- }
274
- exports.ImageTooLargeException = ImageTooLargeException;
275
- class InvalidImageFormatException extends RekognitionServiceException_1.RekognitionServiceException {
276
- constructor(opts) {
277
- super({
278
- name: "InvalidImageFormatException",
279
- $fault: "client",
280
- ...opts,
281
- });
282
- this.name = "InvalidImageFormatException";
283
- this.$fault = "client";
284
- Object.setPrototypeOf(this, InvalidImageFormatException.prototype);
285
- this.Message = opts.Message;
286
- this.Code = opts.Code;
287
- this.Logref = opts.Logref;
288
- }
289
- }
290
- exports.InvalidImageFormatException = InvalidImageFormatException;
291
- class InvalidS3ObjectException extends RekognitionServiceException_1.RekognitionServiceException {
292
- constructor(opts) {
293
- super({
294
- name: "InvalidS3ObjectException",
295
- $fault: "client",
296
- ...opts,
297
- });
298
- this.name = "InvalidS3ObjectException";
299
- this.$fault = "client";
300
- Object.setPrototypeOf(this, InvalidS3ObjectException.prototype);
301
- this.Message = opts.Message;
302
- this.Code = opts.Code;
303
- this.Logref = opts.Logref;
304
- }
305
- }
306
- exports.InvalidS3ObjectException = InvalidS3ObjectException;
307
- exports.ContentClassifier = {
308
- FREE_OF_ADULT_CONTENT: "FreeOfAdultContent",
309
- FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation",
310
- };
311
- exports.ContentModerationAggregateBy = {
312
- SEGMENTS: "SEGMENTS",
313
- TIMESTAMPS: "TIMESTAMPS",
314
- };
315
- exports.ContentModerationSortBy = {
316
- NAME: "NAME",
317
- TIMESTAMP: "TIMESTAMP",
318
- };
319
- class LimitExceededException extends RekognitionServiceException_1.RekognitionServiceException {
320
- constructor(opts) {
321
- super({
322
- name: "LimitExceededException",
323
- $fault: "client",
324
- ...opts,
325
- });
326
- this.name = "LimitExceededException";
327
- this.$fault = "client";
328
- Object.setPrototypeOf(this, LimitExceededException.prototype);
329
- this.Message = opts.Message;
330
- this.Code = opts.Code;
331
- this.Logref = opts.Logref;
332
- }
333
- }
334
- exports.LimitExceededException = LimitExceededException;
335
- class ResourceInUseException extends RekognitionServiceException_1.RekognitionServiceException {
336
- constructor(opts) {
337
- super({
338
- name: "ResourceInUseException",
339
- $fault: "client",
340
- ...opts,
341
- });
342
- this.name = "ResourceInUseException";
343
- this.$fault = "client";
344
- Object.setPrototypeOf(this, ResourceInUseException.prototype);
345
- this.Message = opts.Message;
346
- this.Code = opts.Code;
347
- this.Logref = opts.Logref;
348
- }
349
- }
350
- exports.ResourceInUseException = ResourceInUseException;
351
- class ResourceAlreadyExistsException extends RekognitionServiceException_1.RekognitionServiceException {
352
- constructor(opts) {
353
- super({
354
- name: "ResourceAlreadyExistsException",
355
- $fault: "client",
356
- ...opts,
357
- });
358
- this.name = "ResourceAlreadyExistsException";
359
- this.$fault = "client";
360
- Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
361
- this.Message = opts.Message;
362
- this.Code = opts.Code;
363
- this.Logref = opts.Logref;
364
- }
365
- }
366
- exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
367
- exports.DatasetType = {
368
- TEST: "TEST",
369
- TRAIN: "TRAIN",
370
- };
371
- exports.ProjectAutoUpdate = {
372
- DISABLED: "DISABLED",
373
- ENABLED: "ENABLED",
374
- };
375
- exports.CustomizationFeature = {
376
- CONTENT_MODERATION: "CONTENT_MODERATION",
377
- CUSTOM_LABELS: "CUSTOM_LABELS",
378
- };
379
- exports.DatasetStatus = {
380
- CREATE_COMPLETE: "CREATE_COMPLETE",
381
- CREATE_FAILED: "CREATE_FAILED",
382
- CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
383
- DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
384
- UPDATE_COMPLETE: "UPDATE_COMPLETE",
385
- UPDATE_FAILED: "UPDATE_FAILED",
386
- UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
387
- };
388
- exports.DatasetStatusMessageCode = {
389
- CLIENT_ERROR: "CLIENT_ERROR",
390
- SERVICE_ERROR: "SERVICE_ERROR",
391
- SUCCESS: "SUCCESS",
392
- };
393
- exports.UnsuccessfulFaceDeletionReason = {
394
- ASSOCIATED_TO_AN_EXISTING_USER: "ASSOCIATED_TO_AN_EXISTING_USER",
395
- FACE_NOT_FOUND: "FACE_NOT_FOUND",
396
- };
397
- exports.ProjectStatus = {
398
- CREATED: "CREATED",
399
- CREATING: "CREATING",
400
- DELETING: "DELETING",
401
- };
402
- class InvalidPolicyRevisionIdException extends RekognitionServiceException_1.RekognitionServiceException {
403
- constructor(opts) {
404
- super({
405
- name: "InvalidPolicyRevisionIdException",
406
- $fault: "client",
407
- ...opts,
408
- });
409
- this.name = "InvalidPolicyRevisionIdException";
410
- this.$fault = "client";
411
- Object.setPrototypeOf(this, InvalidPolicyRevisionIdException.prototype);
412
- this.Message = opts.Message;
413
- this.Code = opts.Code;
414
- this.Logref = opts.Logref;
415
- }
416
- }
417
- exports.InvalidPolicyRevisionIdException = InvalidPolicyRevisionIdException;
418
- exports.ProjectVersionStatus = {
419
- COPYING_COMPLETED: "COPYING_COMPLETED",
420
- COPYING_FAILED: "COPYING_FAILED",
421
- COPYING_IN_PROGRESS: "COPYING_IN_PROGRESS",
422
- DELETING: "DELETING",
423
- DEPRECATED: "DEPRECATED",
424
- EXPIRED: "EXPIRED",
425
- FAILED: "FAILED",
426
- RUNNING: "RUNNING",
427
- STARTING: "STARTING",
428
- STOPPED: "STOPPED",
429
- STOPPING: "STOPPING",
430
- TRAINING_COMPLETED: "TRAINING_COMPLETED",
431
- TRAINING_FAILED: "TRAINING_FAILED",
432
- TRAINING_IN_PROGRESS: "TRAINING_IN_PROGRESS",
433
- };
434
- class InvalidPaginationTokenException extends RekognitionServiceException_1.RekognitionServiceException {
435
- constructor(opts) {
436
- super({
437
- name: "InvalidPaginationTokenException",
438
- $fault: "client",
439
- ...opts,
440
- });
441
- this.name = "InvalidPaginationTokenException";
442
- this.$fault = "client";
443
- Object.setPrototypeOf(this, InvalidPaginationTokenException.prototype);
444
- this.Message = opts.Message;
445
- this.Code = opts.Code;
446
- this.Logref = opts.Logref;
447
- }
448
- }
449
- exports.InvalidPaginationTokenException = InvalidPaginationTokenException;
450
- exports.StreamProcessorStatus = {
451
- FAILED: "FAILED",
452
- RUNNING: "RUNNING",
453
- STARTING: "STARTING",
454
- STOPPED: "STOPPED",
455
- STOPPING: "STOPPING",
456
- UPDATING: "UPDATING",
457
- };
458
- class ResourceNotReadyException extends RekognitionServiceException_1.RekognitionServiceException {
459
- constructor(opts) {
460
- super({
461
- name: "ResourceNotReadyException",
462
- $fault: "client",
463
- ...opts,
464
- });
465
- this.name = "ResourceNotReadyException";
466
- this.$fault = "client";
467
- Object.setPrototypeOf(this, ResourceNotReadyException.prototype);
468
- this.Message = opts.Message;
469
- this.Code = opts.Code;
470
- this.Logref = opts.Logref;
471
- }
472
- }
473
- exports.ResourceNotReadyException = ResourceNotReadyException;
474
- exports.DetectLabelsFeatureName = {
475
- GENERAL_LABELS: "GENERAL_LABELS",
476
- IMAGE_PROPERTIES: "IMAGE_PROPERTIES",
477
- };
478
- class HumanLoopQuotaExceededException extends RekognitionServiceException_1.RekognitionServiceException {
479
- constructor(opts) {
480
- super({
481
- name: "HumanLoopQuotaExceededException",
482
- $fault: "client",
483
- ...opts,
484
- });
485
- this.name = "HumanLoopQuotaExceededException";
486
- this.$fault = "client";
487
- Object.setPrototypeOf(this, HumanLoopQuotaExceededException.prototype);
488
- this.ResourceType = opts.ResourceType;
489
- this.QuotaCode = opts.QuotaCode;
490
- this.ServiceCode = opts.ServiceCode;
491
- this.Message = opts.Message;
492
- this.Code = opts.Code;
493
- this.Logref = opts.Logref;
494
- }
495
- }
496
- exports.HumanLoopQuotaExceededException = HumanLoopQuotaExceededException;
497
- exports.TextTypes = {
498
- LINE: "LINE",
499
- WORD: "WORD",
500
- };
501
- exports.UnsuccessfulFaceDisassociationReason = {
502
- ASSOCIATED_TO_A_DIFFERENT_USER: "ASSOCIATED_TO_A_DIFFERENT_USER",
503
- FACE_NOT_FOUND: "FACE_NOT_FOUND",
504
- };
505
- exports.FaceAttributes = {
506
- ALL: "ALL",
507
- DEFAULT: "DEFAULT",
508
- };
509
- exports.FaceSearchSortBy = {
510
- INDEX: "INDEX",
511
- TIMESTAMP: "TIMESTAMP",
512
- };
513
- exports.VideoJobStatus = {
514
- FAILED: "FAILED",
515
- IN_PROGRESS: "IN_PROGRESS",
516
- SUCCEEDED: "SUCCEEDED",
517
- };
518
- exports.VideoColorRange = {
519
- FULL: "FULL",
520
- LIMITED: "LIMITED",
521
- };
522
- exports.LivenessSessionStatus = {
523
- CREATED: "CREATED",
524
- EXPIRED: "EXPIRED",
525
- FAILED: "FAILED",
526
- IN_PROGRESS: "IN_PROGRESS",
527
- SUCCEEDED: "SUCCEEDED",
528
- };
529
- class SessionNotFoundException extends RekognitionServiceException_1.RekognitionServiceException {
530
- constructor(opts) {
531
- super({
532
- name: "SessionNotFoundException",
533
- $fault: "client",
534
- ...opts,
535
- });
536
- this.name = "SessionNotFoundException";
537
- this.$fault = "client";
538
- Object.setPrototypeOf(this, SessionNotFoundException.prototype);
539
- this.Message = opts.Message;
540
- this.Code = opts.Code;
541
- this.Logref = opts.Logref;
542
- }
543
- }
544
- exports.SessionNotFoundException = SessionNotFoundException;
545
- exports.LabelDetectionAggregateBy = {
546
- SEGMENTS: "SEGMENTS",
547
- TIMESTAMPS: "TIMESTAMPS",
548
- };
549
- exports.LabelDetectionSortBy = {
550
- NAME: "NAME",
551
- TIMESTAMP: "TIMESTAMP",
552
- };
553
- exports.MediaAnalysisJobFailureCode = {
554
- ACCESS_DENIED: "ACCESS_DENIED",
555
- INTERNAL_ERROR: "INTERNAL_ERROR",
556
- INVALID_KMS_KEY: "INVALID_KMS_KEY",
557
- INVALID_MANIFEST: "INVALID_MANIFEST",
558
- INVALID_OUTPUT_CONFIG: "INVALID_OUTPUT_CONFIG",
559
- INVALID_S3_OBJECT: "INVALID_S3_OBJECT",
560
- RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
561
- RESOURCE_NOT_READY: "RESOURCE_NOT_READY",
562
- THROTTLED: "THROTTLED",
563
- };
564
- exports.MediaAnalysisJobStatus = {
565
- CREATED: "CREATED",
566
- FAILED: "FAILED",
567
- IN_PROGRESS: "IN_PROGRESS",
568
- QUEUED: "QUEUED",
569
- SUCCEEDED: "SUCCEEDED",
570
- };
571
- exports.PersonTrackingSortBy = {
572
- INDEX: "INDEX",
573
- TIMESTAMP: "TIMESTAMP",
574
- };
575
- exports.TechnicalCueType = {
576
- BLACK_FRAMES: "BlackFrames",
577
- COLOR_BARS: "ColorBars",
578
- CONTENT: "Content",
579
- END_CREDITS: "EndCredits",
580
- OPENING_CREDITS: "OpeningCredits",
581
- SLATE: "Slate",
582
- STUDIO_LOGO: "StudioLogo",
583
- };
584
- exports.SegmentType = {
585
- SHOT: "SHOT",
586
- TECHNICAL_CUE: "TECHNICAL_CUE",
587
- };
588
- exports.Reason = {
589
- EXCEEDS_MAX_FACES: "EXCEEDS_MAX_FACES",
590
- EXTREME_POSE: "EXTREME_POSE",
591
- LOW_BRIGHTNESS: "LOW_BRIGHTNESS",
592
- LOW_CONFIDENCE: "LOW_CONFIDENCE",
593
- LOW_FACE_QUALITY: "LOW_FACE_QUALITY",
594
- LOW_SHARPNESS: "LOW_SHARPNESS",
595
- SMALL_BOUNDING_BOX: "SMALL_BOUNDING_BOX",
596
- };
597
- class InvalidManifestException extends RekognitionServiceException_1.RekognitionServiceException {
598
- constructor(opts) {
599
- super({
600
- name: "InvalidManifestException",
601
- $fault: "client",
602
- ...opts,
603
- });
604
- this.name = "InvalidManifestException";
605
- this.$fault = "client";
606
- Object.setPrototypeOf(this, InvalidManifestException.prototype);
607
- this.Message = opts.Message;
608
- this.Code = opts.Code;
609
- this.Logref = opts.Logref;
610
- }
611
- }
612
- exports.InvalidManifestException = InvalidManifestException;
613
- exports.LabelDetectionFeatureName = {
614
- GENERAL_LABELS: "GENERAL_LABELS",
615
- };
616
- class MalformedPolicyDocumentException extends RekognitionServiceException_1.RekognitionServiceException {
617
- constructor(opts) {
618
- super({
619
- name: "MalformedPolicyDocumentException",
620
- $fault: "client",
621
- ...opts,
622
- });
623
- this.name = "MalformedPolicyDocumentException";
624
- this.$fault = "client";
625
- Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
626
- this.Message = opts.Message;
627
- this.Code = opts.Code;
628
- this.Logref = opts.Logref;
629
- }
630
- }
631
- exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException;
632
- const AuditImageFilterSensitiveLog = (obj) => ({
633
- ...obj,
634
- ...(obj.Bytes && { Bytes: smithy_client_1.SENSITIVE_STRING }),
635
- });
636
- exports.AuditImageFilterSensitiveLog = AuditImageFilterSensitiveLog;
637
- const GetFaceLivenessSessionResultsResponseFilterSensitiveLog = (obj) => ({
638
- ...obj,
639
- ...(obj.ReferenceImage && { ReferenceImage: (0, exports.AuditImageFilterSensitiveLog)(obj.ReferenceImage) }),
640
- ...(obj.AuditImages && { AuditImages: obj.AuditImages.map((item) => (0, exports.AuditImageFilterSensitiveLog)(item)) }),
641
- });
642
- exports.GetFaceLivenessSessionResultsResponseFilterSensitiveLog = GetFaceLivenessSessionResultsResponseFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,34 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StreamProcessorParameterToDelete = exports.VideoTooLargeException = exports.UnsearchedFaceReason = void 0;
4
- const RekognitionServiceException_1 = require("./RekognitionServiceException");
5
- exports.UnsearchedFaceReason = {
6
- EXCEEDS_MAX_FACES: "EXCEEDS_MAX_FACES",
7
- EXTREME_POSE: "EXTREME_POSE",
8
- FACE_NOT_LARGEST: "FACE_NOT_LARGEST",
9
- LOW_BRIGHTNESS: "LOW_BRIGHTNESS",
10
- LOW_CONFIDENCE: "LOW_CONFIDENCE",
11
- LOW_FACE_QUALITY: "LOW_FACE_QUALITY",
12
- LOW_SHARPNESS: "LOW_SHARPNESS",
13
- SMALL_BOUNDING_BOX: "SMALL_BOUNDING_BOX",
14
- };
15
- class VideoTooLargeException extends RekognitionServiceException_1.RekognitionServiceException {
16
- constructor(opts) {
17
- super({
18
- name: "VideoTooLargeException",
19
- $fault: "client",
20
- ...opts,
21
- });
22
- this.name = "VideoTooLargeException";
23
- this.$fault = "client";
24
- Object.setPrototypeOf(this, VideoTooLargeException.prototype);
25
- this.Message = opts.Message;
26
- this.Code = opts.Code;
27
- this.Logref = opts.Logref;
28
- }
29
- }
30
- exports.VideoTooLargeException = VideoTooLargeException;
31
- exports.StreamProcessorParameterToDelete = {
32
- ConnectedHomeMinConfidence: "ConnectedHomeMinConfidence",
33
- RegionsOfInterest: "RegionsOfInterest",
34
- };
1
+ module.exports = require("../index.js");