@aws-sdk/client-rekognition 3.933.0 → 3.935.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 (69) hide show
  1. package/dist-cjs/index.js +306 -306
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +288 -0
  4. package/dist-es/models/errors.js +421 -0
  5. package/dist-es/models/models_0.js +1 -659
  6. package/dist-es/schemas/schemas_0.js +1 -1
  7. package/dist-types/commands/ListUsersCommand.d.ts +1 -1
  8. package/dist-types/commands/PutProjectPolicyCommand.d.ts +1 -1
  9. package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +1 -1
  10. package/dist-types/commands/SearchFacesByImageCommand.d.ts +1 -1
  11. package/dist-types/commands/SearchFacesCommand.d.ts +1 -1
  12. package/dist-types/commands/SearchUsersByImageCommand.d.ts +1 -1
  13. package/dist-types/commands/SearchUsersCommand.d.ts +1 -1
  14. package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +1 -1
  15. package/dist-types/commands/StartContentModerationCommand.d.ts +1 -1
  16. package/dist-types/commands/StartFaceDetectionCommand.d.ts +1 -1
  17. package/dist-types/commands/StartFaceSearchCommand.d.ts +1 -1
  18. package/dist-types/commands/StartLabelDetectionCommand.d.ts +1 -1
  19. package/dist-types/commands/StartMediaAnalysisJobCommand.d.ts +1 -1
  20. package/dist-types/commands/StartPersonTrackingCommand.d.ts +1 -1
  21. package/dist-types/commands/StartProjectVersionCommand.d.ts +1 -1
  22. package/dist-types/commands/StartSegmentDetectionCommand.d.ts +1 -1
  23. package/dist-types/commands/StartStreamProcessorCommand.d.ts +1 -1
  24. package/dist-types/commands/StartTextDetectionCommand.d.ts +1 -1
  25. package/dist-types/commands/StopProjectVersionCommand.d.ts +1 -1
  26. package/dist-types/commands/StopStreamProcessorCommand.d.ts +1 -1
  27. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  28. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  29. package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +1 -1
  30. package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +1 -1
  31. package/dist-types/index.d.ts +3 -1
  32. package/dist-types/models/enums.d.ts +640 -0
  33. package/dist-types/models/errors.d.ts +471 -0
  34. package/dist-types/models/models_0.d.ts +1358 -1041
  35. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/PutProjectPolicyCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/RecognizeCelebritiesCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/SearchFacesByImageCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/SearchFacesCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/SearchUsersByImageCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/StartCelebrityRecognitionCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/StartContentModerationCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/StartFaceDetectionCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/StartFaceSearchCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/StartLabelDetectionCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/StartMediaAnalysisJobCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/StartPersonTrackingCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/StartProjectVersionCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/StartSegmentDetectionCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/StartStreamProcessorCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/StartTextDetectionCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/StopProjectVersionCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/StopStreamProcessorCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/UpdateDatasetEntriesCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/UpdateStreamProcessorCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/index.d.ts +3 -1
  60. package/dist-types/ts3.4/models/enums.d.ts +362 -0
  61. package/dist-types/ts3.4/models/errors.d.ts +251 -0
  62. package/dist-types/ts3.4/models/models_0.d.ts +319 -574
  63. package/package.json +12 -12
  64. package/dist-es/models/index.js +0 -2
  65. package/dist-es/models/models_1.js +0 -51
  66. package/dist-types/models/index.d.ts +0 -2
  67. package/dist-types/models/models_1.d.ts +0 -1429
  68. package/dist-types/ts3.4/models/index.d.ts +0 -2
  69. package/dist-types/ts3.4/models/models_1.d.ts +0 -343
@@ -0,0 +1,471 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { RekognitionServiceException as __BaseException } from "./RekognitionServiceException";
3
+ /**
4
+ * <p>You are not authorized to perform the action.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ Message?: string | undefined;
11
+ Code?: string | undefined;
12
+ /**
13
+ * <p>A universally unique identifier (UUID) for the request.</p>
14
+ * @public
15
+ */
16
+ Logref?: string | undefined;
17
+ /**
18
+ * @internal
19
+ */
20
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
21
+ }
22
+ /**
23
+ * <p> A User with the same Id already exists within the collection, or the update or deletion
24
+ * of the User caused an inconsistent state. ** </p>
25
+ * @public
26
+ */
27
+ export declare class ConflictException extends __BaseException {
28
+ readonly name: "ConflictException";
29
+ readonly $fault: "client";
30
+ Message?: string | undefined;
31
+ Code?: string | undefined;
32
+ /**
33
+ * <p>A universally unique identifier (UUID) for the request.</p>
34
+ * @public
35
+ */
36
+ Logref?: string | undefined;
37
+ /**
38
+ * @internal
39
+ */
40
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
41
+ }
42
+ /**
43
+ * <p>A <code>ClientRequestToken</code> input parameter was reused with an operation, but at least one of the other input
44
+ * parameters is different from the previous call to the operation.</p>
45
+ * @public
46
+ */
47
+ export declare class IdempotentParameterMismatchException extends __BaseException {
48
+ readonly name: "IdempotentParameterMismatchException";
49
+ readonly $fault: "client";
50
+ Message?: string | undefined;
51
+ Code?: string | undefined;
52
+ /**
53
+ * <p>A universally unique identifier (UUID) for the request.</p>
54
+ * @public
55
+ */
56
+ Logref?: string | undefined;
57
+ /**
58
+ * @internal
59
+ */
60
+ constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
61
+ }
62
+ /**
63
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
64
+ * @public
65
+ */
66
+ export declare class InternalServerError extends __BaseException {
67
+ readonly name: "InternalServerError";
68
+ readonly $fault: "server";
69
+ Message?: string | undefined;
70
+ Code?: string | undefined;
71
+ /**
72
+ * <p>A universally unique identifier (UUID) for the request.</p>
73
+ * @public
74
+ */
75
+ Logref?: string | undefined;
76
+ /**
77
+ * @internal
78
+ */
79
+ constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
80
+ }
81
+ /**
82
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
83
+ * operation again.</p>
84
+ * @public
85
+ */
86
+ export declare class InvalidParameterException extends __BaseException {
87
+ readonly name: "InvalidParameterException";
88
+ readonly $fault: "client";
89
+ Message?: string | undefined;
90
+ Code?: string | undefined;
91
+ /**
92
+ * <p>A universally unique identifier (UUID) for the request.</p>
93
+ * @public
94
+ */
95
+ Logref?: string | undefined;
96
+ /**
97
+ * @internal
98
+ */
99
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
100
+ }
101
+ /**
102
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
103
+ * limit, contact Amazon Rekognition.</p>
104
+ * @public
105
+ */
106
+ export declare class ProvisionedThroughputExceededException extends __BaseException {
107
+ readonly name: "ProvisionedThroughputExceededException";
108
+ readonly $fault: "client";
109
+ Message?: string | undefined;
110
+ Code?: string | undefined;
111
+ /**
112
+ * <p>A universally unique identifier (UUID) for the request.</p>
113
+ * @public
114
+ */
115
+ Logref?: string | undefined;
116
+ /**
117
+ * @internal
118
+ */
119
+ constructor(opts: __ExceptionOptionType<ProvisionedThroughputExceededException, __BaseException>);
120
+ }
121
+ /**
122
+ * <p>The resource specified in the request cannot be found.</p>
123
+ * @public
124
+ */
125
+ export declare class ResourceNotFoundException extends __BaseException {
126
+ readonly name: "ResourceNotFoundException";
127
+ readonly $fault: "client";
128
+ Message?: string | undefined;
129
+ Code?: string | undefined;
130
+ /**
131
+ * <p>A universally unique identifier (UUID) for the request.</p>
132
+ * @public
133
+ */
134
+ Logref?: string | undefined;
135
+ /**
136
+ * @internal
137
+ */
138
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
139
+ }
140
+ /**
141
+ * <p></p>
142
+ * <p>The size of the collection exceeds the allowed limit. For more information,
143
+ * see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition Developer Guide. </p>
144
+ * @public
145
+ */
146
+ export declare class ServiceQuotaExceededException extends __BaseException {
147
+ readonly name: "ServiceQuotaExceededException";
148
+ readonly $fault: "client";
149
+ Message?: string | undefined;
150
+ Code?: string | undefined;
151
+ /**
152
+ * <p>A universally unique identifier (UUID) for the request.</p>
153
+ * @public
154
+ */
155
+ Logref?: string | undefined;
156
+ /**
157
+ * @internal
158
+ */
159
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
160
+ }
161
+ /**
162
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
163
+ * @public
164
+ */
165
+ export declare class ThrottlingException extends __BaseException {
166
+ readonly name: "ThrottlingException";
167
+ readonly $fault: "server";
168
+ Message?: string | undefined;
169
+ Code?: string | undefined;
170
+ /**
171
+ * <p>A universally unique identifier (UUID) for the request.</p>
172
+ * @public
173
+ */
174
+ Logref?: string | undefined;
175
+ /**
176
+ * @internal
177
+ */
178
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
179
+ }
180
+ /**
181
+ * <p>The input image size exceeds the allowed limit. If you are calling
182
+ * DetectProtectiveEquipment, the image size or resolution exceeds the allowed limit. For more
183
+ * information, see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition Developer Guide.
184
+ * </p>
185
+ * @public
186
+ */
187
+ export declare class ImageTooLargeException extends __BaseException {
188
+ readonly name: "ImageTooLargeException";
189
+ readonly $fault: "client";
190
+ Message?: string | undefined;
191
+ Code?: string | undefined;
192
+ /**
193
+ * <p>A universally unique identifier (UUID) for the request.</p>
194
+ * @public
195
+ */
196
+ Logref?: string | undefined;
197
+ /**
198
+ * @internal
199
+ */
200
+ constructor(opts: __ExceptionOptionType<ImageTooLargeException, __BaseException>);
201
+ }
202
+ /**
203
+ * <p>The provided image format is not supported. </p>
204
+ * @public
205
+ */
206
+ export declare class InvalidImageFormatException extends __BaseException {
207
+ readonly name: "InvalidImageFormatException";
208
+ readonly $fault: "client";
209
+ Message?: string | undefined;
210
+ Code?: string | undefined;
211
+ /**
212
+ * <p>A universally unique identifier (UUID) for the request.</p>
213
+ * @public
214
+ */
215
+ Logref?: string | undefined;
216
+ /**
217
+ * @internal
218
+ */
219
+ constructor(opts: __ExceptionOptionType<InvalidImageFormatException, __BaseException>);
220
+ }
221
+ /**
222
+ * <p>Amazon Rekognition is unable to access the S3 object specified in the request.</p>
223
+ * @public
224
+ */
225
+ export declare class InvalidS3ObjectException extends __BaseException {
226
+ readonly name: "InvalidS3ObjectException";
227
+ readonly $fault: "client";
228
+ Message?: string | undefined;
229
+ Code?: string | undefined;
230
+ /**
231
+ * <p>A universally unique identifier (UUID) for the request.</p>
232
+ * @public
233
+ */
234
+ Logref?: string | undefined;
235
+ /**
236
+ * @internal
237
+ */
238
+ constructor(opts: __ExceptionOptionType<InvalidS3ObjectException, __BaseException>);
239
+ }
240
+ /**
241
+ * <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many jobs
242
+ * concurrently, subsequent calls to start operations (ex:
243
+ * <code>StartLabelDetection</code>) will raise a <code>LimitExceededException</code>
244
+ * exception (HTTP status code: 400) until the number of concurrently running jobs is below
245
+ * the Amazon Rekognition service limit. </p>
246
+ * @public
247
+ */
248
+ export declare class LimitExceededException extends __BaseException {
249
+ readonly name: "LimitExceededException";
250
+ readonly $fault: "client";
251
+ Message?: string | undefined;
252
+ Code?: string | undefined;
253
+ /**
254
+ * <p>A universally unique identifier (UUID) for the request.</p>
255
+ * @public
256
+ */
257
+ Logref?: string | undefined;
258
+ /**
259
+ * @internal
260
+ */
261
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
262
+ }
263
+ /**
264
+ * <p>The specified resource is already being used.</p>
265
+ * @public
266
+ */
267
+ export declare class ResourceInUseException extends __BaseException {
268
+ readonly name: "ResourceInUseException";
269
+ readonly $fault: "client";
270
+ Message?: string | undefined;
271
+ Code?: string | undefined;
272
+ /**
273
+ * <p>A universally unique identifier (UUID) for the request.</p>
274
+ * @public
275
+ */
276
+ Logref?: string | undefined;
277
+ /**
278
+ * @internal
279
+ */
280
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
281
+ }
282
+ /**
283
+ * <p>A resource with the specified ID already exists.</p>
284
+ * @public
285
+ */
286
+ export declare class ResourceAlreadyExistsException extends __BaseException {
287
+ readonly name: "ResourceAlreadyExistsException";
288
+ readonly $fault: "client";
289
+ Message?: string | undefined;
290
+ Code?: string | undefined;
291
+ /**
292
+ * <p>A universally unique identifier (UUID) for the request.</p>
293
+ * @public
294
+ */
295
+ Logref?: string | undefined;
296
+ /**
297
+ * @internal
298
+ */
299
+ constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
300
+ }
301
+ /**
302
+ * <p>The supplied revision id for the project policy is invalid.</p>
303
+ * @public
304
+ */
305
+ export declare class InvalidPolicyRevisionIdException extends __BaseException {
306
+ readonly name: "InvalidPolicyRevisionIdException";
307
+ readonly $fault: "client";
308
+ Message?: string | undefined;
309
+ Code?: string | undefined;
310
+ /**
311
+ * <p>A universally unique identifier (UUID) for the request.</p>
312
+ * @public
313
+ */
314
+ Logref?: string | undefined;
315
+ /**
316
+ * @internal
317
+ */
318
+ constructor(opts: __ExceptionOptionType<InvalidPolicyRevisionIdException, __BaseException>);
319
+ }
320
+ /**
321
+ * <p>Pagination token in the request is not valid.</p>
322
+ * @public
323
+ */
324
+ export declare class InvalidPaginationTokenException extends __BaseException {
325
+ readonly name: "InvalidPaginationTokenException";
326
+ readonly $fault: "client";
327
+ Message?: string | undefined;
328
+ Code?: string | undefined;
329
+ /**
330
+ * <p>A universally unique identifier (UUID) for the request.</p>
331
+ * @public
332
+ */
333
+ Logref?: string | undefined;
334
+ /**
335
+ * @internal
336
+ */
337
+ constructor(opts: __ExceptionOptionType<InvalidPaginationTokenException, __BaseException>);
338
+ }
339
+ /**
340
+ * <p>The requested resource isn't ready. For example,
341
+ * this exception occurs when you call <code>DetectCustomLabels</code> with a
342
+ * model version that isn't deployed. </p>
343
+ * @public
344
+ */
345
+ export declare class ResourceNotReadyException extends __BaseException {
346
+ readonly name: "ResourceNotReadyException";
347
+ readonly $fault: "client";
348
+ Message?: string | undefined;
349
+ Code?: string | undefined;
350
+ /**
351
+ * <p>A universally unique identifier (UUID) for the request.</p>
352
+ * @public
353
+ */
354
+ Logref?: string | undefined;
355
+ /**
356
+ * @internal
357
+ */
358
+ constructor(opts: __ExceptionOptionType<ResourceNotReadyException, __BaseException>);
359
+ }
360
+ /**
361
+ * <p>The number of in-progress human reviews you have has exceeded the number allowed.</p>
362
+ * @public
363
+ */
364
+ export declare class HumanLoopQuotaExceededException extends __BaseException {
365
+ readonly name: "HumanLoopQuotaExceededException";
366
+ readonly $fault: "client";
367
+ /**
368
+ * <p>The resource type.</p>
369
+ * @public
370
+ */
371
+ ResourceType?: string | undefined;
372
+ /**
373
+ * <p>The quota code.</p>
374
+ * @public
375
+ */
376
+ QuotaCode?: string | undefined;
377
+ /**
378
+ * <p>The service code.</p>
379
+ * @public
380
+ */
381
+ ServiceCode?: string | undefined;
382
+ Message?: string | undefined;
383
+ Code?: string | undefined;
384
+ /**
385
+ * <p>A universally unique identifier (UUID) for the request.</p>
386
+ * @public
387
+ */
388
+ Logref?: string | undefined;
389
+ /**
390
+ * @internal
391
+ */
392
+ constructor(opts: __ExceptionOptionType<HumanLoopQuotaExceededException, __BaseException>);
393
+ }
394
+ /**
395
+ * <p>Occurs when a given sessionId is not found.</p>
396
+ * @public
397
+ */
398
+ export declare class SessionNotFoundException extends __BaseException {
399
+ readonly name: "SessionNotFoundException";
400
+ readonly $fault: "client";
401
+ Message?: string | undefined;
402
+ Code?: string | undefined;
403
+ /**
404
+ * <p>A universally unique identifier (UUID) for the request.</p>
405
+ * @public
406
+ */
407
+ Logref?: string | undefined;
408
+ /**
409
+ * @internal
410
+ */
411
+ constructor(opts: __ExceptionOptionType<SessionNotFoundException, __BaseException>);
412
+ }
413
+ /**
414
+ * <p>Indicates that a provided manifest file is empty or larger than the allowed limit.</p>
415
+ * @public
416
+ */
417
+ export declare class InvalidManifestException extends __BaseException {
418
+ readonly name: "InvalidManifestException";
419
+ readonly $fault: "client";
420
+ Message?: string | undefined;
421
+ Code?: string | undefined;
422
+ /**
423
+ * <p>A universally unique identifier (UUID) for the request.</p>
424
+ * @public
425
+ */
426
+ Logref?: string | undefined;
427
+ /**
428
+ * @internal
429
+ */
430
+ constructor(opts: __ExceptionOptionType<InvalidManifestException, __BaseException>);
431
+ }
432
+ /**
433
+ * <p>The format of the project policy document that you supplied to
434
+ * <code>PutProjectPolicy</code> is incorrect. </p>
435
+ * @public
436
+ */
437
+ export declare class MalformedPolicyDocumentException extends __BaseException {
438
+ readonly name: "MalformedPolicyDocumentException";
439
+ readonly $fault: "client";
440
+ Message?: string | undefined;
441
+ Code?: string | undefined;
442
+ /**
443
+ * <p>A universally unique identifier (UUID) for the request.</p>
444
+ * @public
445
+ */
446
+ Logref?: string | undefined;
447
+ /**
448
+ * @internal
449
+ */
450
+ constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
451
+ }
452
+ /**
453
+ * <p>The file size or duration of the supplied media is too large. The maximum file size is 10GB.
454
+ * The maximum duration is 6 hours. </p>
455
+ * @public
456
+ */
457
+ export declare class VideoTooLargeException extends __BaseException {
458
+ readonly name: "VideoTooLargeException";
459
+ readonly $fault: "client";
460
+ Message?: string | undefined;
461
+ Code?: string | undefined;
462
+ /**
463
+ * <p>A universally unique identifier (UUID) for the request.</p>
464
+ * @public
465
+ */
466
+ Logref?: string | undefined;
467
+ /**
468
+ * @internal
469
+ */
470
+ constructor(opts: __ExceptionOptionType<VideoTooLargeException, __BaseException>);
471
+ }