@aws-sdk/client-rekognition 3.934.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
@@ -1,2 +0,0 @@
1
- export * from "./models_0";
2
- export * from "./models_1";
@@ -1,343 +0,0 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import {
3
- BlackFrame,
4
- BoundingBox,
5
- Celebrity,
6
- ComparedFace,
7
- ConnectedHomeSettingsForUpdate,
8
- DatasetChanges,
9
- DetectionFilter,
10
- FaceAttributes,
11
- FaceDetail,
12
- FaceMatch,
13
- Image,
14
- KinesisVideoStreamStartSelector,
15
- LabelDetectionFeatureName,
16
- LabelDetectionSettings,
17
- MediaAnalysisInput,
18
- MediaAnalysisOperationsConfig,
19
- MediaAnalysisOutputConfig,
20
- OrientationCorrection,
21
- ProjectVersionStatus,
22
- QualityFilter,
23
- RegionOfInterest,
24
- SegmentType,
25
- StreamProcessorDataSharingPreference,
26
- UserStatus,
27
- Video,
28
- } from "./models_0";
29
- import { RekognitionServiceException as __BaseException } from "./RekognitionServiceException";
30
- export interface ListUsersRequest {
31
- CollectionId: string | undefined;
32
- MaxResults?: number | undefined;
33
- NextToken?: string | undefined;
34
- }
35
- export interface User {
36
- UserId?: string | undefined;
37
- UserStatus?: UserStatus | undefined;
38
- }
39
- export interface ListUsersResponse {
40
- Users?: User[] | undefined;
41
- NextToken?: string | undefined;
42
- }
43
- export declare class MalformedPolicyDocumentException extends __BaseException {
44
- readonly name: "MalformedPolicyDocumentException";
45
- readonly $fault: "client";
46
- Message?: string | undefined;
47
- Code?: string | undefined;
48
- Logref?: string | undefined;
49
- constructor(
50
- opts: __ExceptionOptionType<
51
- MalformedPolicyDocumentException,
52
- __BaseException
53
- >
54
- );
55
- }
56
- export interface MatchedUser {
57
- UserId?: string | undefined;
58
- UserStatus?: UserStatus | undefined;
59
- }
60
- export interface NotificationChannel {
61
- SNSTopicArn: string | undefined;
62
- RoleArn: string | undefined;
63
- }
64
- export interface PutProjectPolicyRequest {
65
- ProjectArn: string | undefined;
66
- PolicyName: string | undefined;
67
- PolicyRevisionId?: string | undefined;
68
- PolicyDocument: string | undefined;
69
- }
70
- export interface PutProjectPolicyResponse {
71
- PolicyRevisionId?: string | undefined;
72
- }
73
- export interface RecognizeCelebritiesRequest {
74
- Image: Image | undefined;
75
- }
76
- export interface RecognizeCelebritiesResponse {
77
- CelebrityFaces?: Celebrity[] | undefined;
78
- UnrecognizedFaces?: ComparedFace[] | undefined;
79
- OrientationCorrection?: OrientationCorrection | undefined;
80
- }
81
- export interface SearchFacesRequest {
82
- CollectionId: string | undefined;
83
- FaceId: string | undefined;
84
- MaxFaces?: number | undefined;
85
- FaceMatchThreshold?: number | undefined;
86
- }
87
- export interface SearchFacesResponse {
88
- SearchedFaceId?: string | undefined;
89
- FaceMatches?: FaceMatch[] | undefined;
90
- FaceModelVersion?: string | undefined;
91
- }
92
- export interface SearchFacesByImageRequest {
93
- CollectionId: string | undefined;
94
- Image: Image | undefined;
95
- MaxFaces?: number | undefined;
96
- FaceMatchThreshold?: number | undefined;
97
- QualityFilter?: QualityFilter | undefined;
98
- }
99
- export interface SearchFacesByImageResponse {
100
- SearchedFaceBoundingBox?: BoundingBox | undefined;
101
- SearchedFaceConfidence?: number | undefined;
102
- FaceMatches?: FaceMatch[] | undefined;
103
- FaceModelVersion?: string | undefined;
104
- }
105
- export interface SearchUsersRequest {
106
- CollectionId: string | undefined;
107
- UserId?: string | undefined;
108
- FaceId?: string | undefined;
109
- UserMatchThreshold?: number | undefined;
110
- MaxUsers?: number | undefined;
111
- }
112
- export interface SearchedFace {
113
- FaceId?: string | undefined;
114
- }
115
- export interface SearchedUser {
116
- UserId?: string | undefined;
117
- }
118
- export interface UserMatch {
119
- Similarity?: number | undefined;
120
- User?: MatchedUser | undefined;
121
- }
122
- export interface SearchUsersResponse {
123
- UserMatches?: UserMatch[] | undefined;
124
- FaceModelVersion?: string | undefined;
125
- SearchedFace?: SearchedFace | undefined;
126
- SearchedUser?: SearchedUser | undefined;
127
- }
128
- export interface SearchUsersByImageRequest {
129
- CollectionId: string | undefined;
130
- Image: Image | undefined;
131
- UserMatchThreshold?: number | undefined;
132
- MaxUsers?: number | undefined;
133
- QualityFilter?: QualityFilter | undefined;
134
- }
135
- export interface SearchedFaceDetails {
136
- FaceDetail?: FaceDetail | undefined;
137
- }
138
- export declare const UnsearchedFaceReason: {
139
- readonly EXCEEDS_MAX_FACES: "EXCEEDS_MAX_FACES";
140
- readonly EXTREME_POSE: "EXTREME_POSE";
141
- readonly FACE_NOT_LARGEST: "FACE_NOT_LARGEST";
142
- readonly LOW_BRIGHTNESS: "LOW_BRIGHTNESS";
143
- readonly LOW_CONFIDENCE: "LOW_CONFIDENCE";
144
- readonly LOW_FACE_QUALITY: "LOW_FACE_QUALITY";
145
- readonly LOW_SHARPNESS: "LOW_SHARPNESS";
146
- readonly SMALL_BOUNDING_BOX: "SMALL_BOUNDING_BOX";
147
- };
148
- export type UnsearchedFaceReason =
149
- (typeof UnsearchedFaceReason)[keyof typeof UnsearchedFaceReason];
150
- export interface UnsearchedFace {
151
- FaceDetails?: FaceDetail | undefined;
152
- Reasons?: UnsearchedFaceReason[] | undefined;
153
- }
154
- export interface SearchUsersByImageResponse {
155
- UserMatches?: UserMatch[] | undefined;
156
- FaceModelVersion?: string | undefined;
157
- SearchedFace?: SearchedFaceDetails | undefined;
158
- UnsearchedFaces?: UnsearchedFace[] | undefined;
159
- }
160
- export interface StartCelebrityRecognitionRequest {
161
- Video: Video | undefined;
162
- ClientRequestToken?: string | undefined;
163
- NotificationChannel?: NotificationChannel | undefined;
164
- JobTag?: string | undefined;
165
- }
166
- export interface StartCelebrityRecognitionResponse {
167
- JobId?: string | undefined;
168
- }
169
- export declare class VideoTooLargeException extends __BaseException {
170
- readonly name: "VideoTooLargeException";
171
- readonly $fault: "client";
172
- Message?: string | undefined;
173
- Code?: string | undefined;
174
- Logref?: string | undefined;
175
- constructor(
176
- opts: __ExceptionOptionType<VideoTooLargeException, __BaseException>
177
- );
178
- }
179
- export interface StartContentModerationRequest {
180
- Video: Video | undefined;
181
- MinConfidence?: number | undefined;
182
- ClientRequestToken?: string | undefined;
183
- NotificationChannel?: NotificationChannel | undefined;
184
- JobTag?: string | undefined;
185
- }
186
- export interface StartContentModerationResponse {
187
- JobId?: string | undefined;
188
- }
189
- export interface StartFaceDetectionRequest {
190
- Video: Video | undefined;
191
- ClientRequestToken?: string | undefined;
192
- NotificationChannel?: NotificationChannel | undefined;
193
- FaceAttributes?: FaceAttributes | undefined;
194
- JobTag?: string | undefined;
195
- }
196
- export interface StartFaceDetectionResponse {
197
- JobId?: string | undefined;
198
- }
199
- export interface StartFaceSearchRequest {
200
- Video: Video | undefined;
201
- ClientRequestToken?: string | undefined;
202
- FaceMatchThreshold?: number | undefined;
203
- CollectionId: string | undefined;
204
- NotificationChannel?: NotificationChannel | undefined;
205
- JobTag?: string | undefined;
206
- }
207
- export interface StartFaceSearchResponse {
208
- JobId?: string | undefined;
209
- }
210
- export interface StartLabelDetectionRequest {
211
- Video: Video | undefined;
212
- ClientRequestToken?: string | undefined;
213
- MinConfidence?: number | undefined;
214
- NotificationChannel?: NotificationChannel | undefined;
215
- JobTag?: string | undefined;
216
- Features?: LabelDetectionFeatureName[] | undefined;
217
- Settings?: LabelDetectionSettings | undefined;
218
- }
219
- export interface StartLabelDetectionResponse {
220
- JobId?: string | undefined;
221
- }
222
- export interface StartMediaAnalysisJobRequest {
223
- ClientRequestToken?: string | undefined;
224
- JobName?: string | undefined;
225
- OperationsConfig: MediaAnalysisOperationsConfig | undefined;
226
- Input: MediaAnalysisInput | undefined;
227
- OutputConfig: MediaAnalysisOutputConfig | undefined;
228
- KmsKeyId?: string | undefined;
229
- }
230
- export interface StartMediaAnalysisJobResponse {
231
- JobId: string | undefined;
232
- }
233
- export interface StartPersonTrackingRequest {
234
- Video: Video | undefined;
235
- ClientRequestToken?: string | undefined;
236
- NotificationChannel?: NotificationChannel | undefined;
237
- JobTag?: string | undefined;
238
- }
239
- export interface StartPersonTrackingResponse {
240
- JobId?: string | undefined;
241
- }
242
- export interface StartProjectVersionRequest {
243
- ProjectVersionArn: string | undefined;
244
- MinInferenceUnits: number | undefined;
245
- MaxInferenceUnits?: number | undefined;
246
- }
247
- export interface StartProjectVersionResponse {
248
- Status?: ProjectVersionStatus | undefined;
249
- }
250
- export interface StartShotDetectionFilter {
251
- MinSegmentConfidence?: number | undefined;
252
- }
253
- export interface StartTechnicalCueDetectionFilter {
254
- MinSegmentConfidence?: number | undefined;
255
- BlackFrame?: BlackFrame | undefined;
256
- }
257
- export interface StartSegmentDetectionFilters {
258
- TechnicalCueFilter?: StartTechnicalCueDetectionFilter | undefined;
259
- ShotFilter?: StartShotDetectionFilter | undefined;
260
- }
261
- export interface StartSegmentDetectionRequest {
262
- Video: Video | undefined;
263
- ClientRequestToken?: string | undefined;
264
- NotificationChannel?: NotificationChannel | undefined;
265
- JobTag?: string | undefined;
266
- Filters?: StartSegmentDetectionFilters | undefined;
267
- SegmentTypes: SegmentType[] | undefined;
268
- }
269
- export interface StartSegmentDetectionResponse {
270
- JobId?: string | undefined;
271
- }
272
- export interface StreamProcessingStartSelector {
273
- KVSStreamStartSelector?: KinesisVideoStreamStartSelector | undefined;
274
- }
275
- export interface StreamProcessingStopSelector {
276
- MaxDurationInSeconds?: number | undefined;
277
- }
278
- export interface StartStreamProcessorRequest {
279
- Name: string | undefined;
280
- StartSelector?: StreamProcessingStartSelector | undefined;
281
- StopSelector?: StreamProcessingStopSelector | undefined;
282
- }
283
- export interface StartStreamProcessorResponse {
284
- SessionId?: string | undefined;
285
- }
286
- export interface StartTextDetectionFilters {
287
- WordFilter?: DetectionFilter | undefined;
288
- RegionsOfInterest?: RegionOfInterest[] | undefined;
289
- }
290
- export interface StartTextDetectionRequest {
291
- Video: Video | undefined;
292
- ClientRequestToken?: string | undefined;
293
- NotificationChannel?: NotificationChannel | undefined;
294
- JobTag?: string | undefined;
295
- Filters?: StartTextDetectionFilters | undefined;
296
- }
297
- export interface StartTextDetectionResponse {
298
- JobId?: string | undefined;
299
- }
300
- export interface StopProjectVersionRequest {
301
- ProjectVersionArn: string | undefined;
302
- }
303
- export interface StopProjectVersionResponse {
304
- Status?: ProjectVersionStatus | undefined;
305
- }
306
- export interface StopStreamProcessorRequest {
307
- Name: string | undefined;
308
- }
309
- export interface StopStreamProcessorResponse {}
310
- export interface TagResourceRequest {
311
- ResourceArn: string | undefined;
312
- Tags: Record<string, string> | undefined;
313
- }
314
- export interface TagResourceResponse {}
315
- export interface UntagResourceRequest {
316
- ResourceArn: string | undefined;
317
- TagKeys: string[] | undefined;
318
- }
319
- export interface UntagResourceResponse {}
320
- export interface UpdateDatasetEntriesRequest {
321
- DatasetArn: string | undefined;
322
- Changes: DatasetChanges | undefined;
323
- }
324
- export interface UpdateDatasetEntriesResponse {}
325
- export declare const StreamProcessorParameterToDelete: {
326
- readonly ConnectedHomeMinConfidence: "ConnectedHomeMinConfidence";
327
- readonly RegionsOfInterest: "RegionsOfInterest";
328
- };
329
- export type StreamProcessorParameterToDelete =
330
- (typeof StreamProcessorParameterToDelete)[keyof typeof StreamProcessorParameterToDelete];
331
- export interface StreamProcessorSettingsForUpdate {
332
- ConnectedHomeForUpdate?: ConnectedHomeSettingsForUpdate | undefined;
333
- }
334
- export interface UpdateStreamProcessorRequest {
335
- Name: string | undefined;
336
- SettingsForUpdate?: StreamProcessorSettingsForUpdate | undefined;
337
- RegionsOfInterestForUpdate?: RegionOfInterest[] | undefined;
338
- DataSharingPreferenceForUpdate?:
339
- | StreamProcessorDataSharingPreference
340
- | undefined;
341
- ParametersToDelete?: StreamProcessorParameterToDelete[] | undefined;
342
- }
343
- export interface UpdateStreamProcessorResponse {}