@aws-sdk/client-rekognition 3.350.0 → 3.352.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 (94) hide show
  1. package/README.md +98 -7
  2. package/dist-cjs/Rekognition.js +14 -0
  3. package/dist-cjs/commands/AssociateFacesCommand.js +46 -0
  4. package/dist-cjs/commands/CreateUserCommand.js +46 -0
  5. package/dist-cjs/commands/DeleteUserCommand.js +46 -0
  6. package/dist-cjs/commands/DisassociateFacesCommand.js +46 -0
  7. package/dist-cjs/commands/ListUsersCommand.js +46 -0
  8. package/dist-cjs/commands/SearchUsersByImageCommand.js +46 -0
  9. package/dist-cjs/commands/SearchUsersCommand.js +46 -0
  10. package/dist-cjs/commands/index.js +7 -0
  11. package/dist-cjs/models/models_0.js +159 -130
  12. package/dist-cjs/models/models_1.js +18 -1
  13. package/dist-cjs/pagination/ListUsersPaginator.js +29 -0
  14. package/dist-cjs/pagination/index.js +1 -0
  15. package/dist-cjs/protocols/Aws_json1_1.js +565 -4
  16. package/dist-es/Rekognition.js +14 -0
  17. package/dist-es/commands/AssociateFacesCommand.js +42 -0
  18. package/dist-es/commands/CreateUserCommand.js +42 -0
  19. package/dist-es/commands/DeleteUserCommand.js +42 -0
  20. package/dist-es/commands/DisassociateFacesCommand.js +42 -0
  21. package/dist-es/commands/ListUsersCommand.js +42 -0
  22. package/dist-es/commands/SearchUsersByImageCommand.js +42 -0
  23. package/dist-es/commands/SearchUsersCommand.js +42 -0
  24. package/dist-es/commands/index.js +7 -0
  25. package/dist-es/models/models_0.js +149 -120
  26. package/dist-es/models/models_1.js +16 -0
  27. package/dist-es/pagination/ListUsersPaginator.js +25 -0
  28. package/dist-es/pagination/index.js +1 -0
  29. package/dist-es/protocols/Aws_json1_1.js +548 -1
  30. package/dist-types/Rekognition.d.ts +84 -0
  31. package/dist-types/RekognitionClient.d.ts +44 -2
  32. package/dist-types/commands/AssociateFacesCommand.d.ts +203 -0
  33. package/dist-types/commands/CreateUserCommand.d.ts +126 -0
  34. package/dist-types/commands/DeleteFacesCommand.d.ts +9 -0
  35. package/dist-types/commands/DeleteUserCommand.d.ts +119 -0
  36. package/dist-types/commands/DescribeCollectionCommand.d.ts +1 -0
  37. package/dist-types/commands/DisassociateFacesCommand.d.ts +164 -0
  38. package/dist-types/commands/GetFaceSearchCommand.d.ts +1 -0
  39. package/dist-types/commands/IndexFacesCommand.d.ts +1 -0
  40. package/dist-types/commands/ListFacesCommand.d.ts +5 -0
  41. package/dist-types/commands/ListUsersCommand.d.ts +134 -0
  42. package/dist-types/commands/SearchFacesByImageCommand.d.ts +1 -0
  43. package/dist-types/commands/SearchFacesCommand.d.ts +1 -0
  44. package/dist-types/commands/SearchUsersByImageCommand.d.ts +366 -0
  45. package/dist-types/commands/SearchUsersCommand.d.ts +148 -0
  46. package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +2 -1
  47. package/dist-types/commands/StartContentModerationCommand.d.ts +1 -1
  48. package/dist-types/commands/StartFaceDetectionCommand.d.ts +1 -1
  49. package/dist-types/commands/StartFaceSearchCommand.d.ts +1 -1
  50. package/dist-types/commands/StartLabelDetectionCommand.d.ts +1 -1
  51. package/dist-types/commands/StartPersonTrackingCommand.d.ts +1 -1
  52. package/dist-types/commands/StartProjectVersionCommand.d.ts +1 -1
  53. package/dist-types/commands/StartSegmentDetectionCommand.d.ts +1 -1
  54. package/dist-types/commands/StartStreamProcessorCommand.d.ts +1 -1
  55. package/dist-types/commands/StartTextDetectionCommand.d.ts +1 -1
  56. package/dist-types/commands/StopProjectVersionCommand.d.ts +1 -1
  57. package/dist-types/commands/StopStreamProcessorCommand.d.ts +1 -1
  58. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  59. package/dist-types/commands/index.d.ts +7 -0
  60. package/dist-types/index.d.ts +35 -0
  61. package/dist-types/models/models_0.d.ts +668 -604
  62. package/dist-types/models/models_1.d.ts +562 -1
  63. package/dist-types/pagination/ListUsersPaginator.d.ts +7 -0
  64. package/dist-types/pagination/index.d.ts +1 -0
  65. package/dist-types/protocols/Aws_json1_1.d.ts +63 -0
  66. package/dist-types/ts3.4/Rekognition.d.ts +119 -0
  67. package/dist-types/ts3.4/RekognitionClient.d.ts +42 -0
  68. package/dist-types/ts3.4/commands/AssociateFacesCommand.d.ts +38 -0
  69. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +35 -0
  70. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +35 -0
  71. package/dist-types/ts3.4/commands/DisassociateFacesCommand.d.ts +39 -0
  72. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +35 -0
  73. package/dist-types/ts3.4/commands/SearchUsersByImageCommand.d.ts +39 -0
  74. package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +35 -0
  75. package/dist-types/ts3.4/commands/StartCelebrityRecognitionCommand.d.ts +2 -4
  76. package/dist-types/ts3.4/commands/StartContentModerationCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/StartFaceDetectionCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/StartFaceSearchCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/StartLabelDetectionCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/StartPersonTrackingCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/StartProjectVersionCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/StartSegmentDetectionCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/StartStreamProcessorCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/StartTextDetectionCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/StopProjectVersionCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/StopStreamProcessorCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  89. package/dist-types/ts3.4/models/models_0.d.ts +236 -206
  90. package/dist-types/ts3.4/models/models_1.d.ts +150 -0
  91. package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +11 -0
  92. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  93. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +84 -0
  94. package/package.json +8 -6
@@ -1,4 +1,565 @@
1
- import { ConnectedHomeSettingsForUpdate, DatasetChanges, RegionOfInterest, StreamProcessorDataSharingPreference } from "./models_0";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { BlackFrame, ConnectedHomeSettingsForUpdate, DatasetChanges, DetectionFilter, FaceAttributes, KinesisVideoStreamStartSelector, LabelDetectionFeatureName, LabelDetectionSettings, NotificationChannel, ProjectVersionStatus, RegionOfInterest, SegmentType, StreamProcessorDataSharingPreference, Video } from "./models_0";
3
+ import { RekognitionServiceException as __BaseException } from "./RekognitionServiceException";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface StartCelebrityRecognitionResponse {
8
+ /**
9
+ * <p>The identifier for the celebrity recognition analysis job. Use <code>JobId</code> to identify the job in
10
+ * a subsequent call to <code>GetCelebrityRecognition</code>.</p>
11
+ */
12
+ JobId?: string;
13
+ }
14
+ /**
15
+ * @public
16
+ * <p>The file size or duration of the supplied media is too large. The maximum file size is 10GB.
17
+ * The maximum duration is 6 hours. </p>
18
+ */
19
+ export declare class VideoTooLargeException extends __BaseException {
20
+ readonly name: "VideoTooLargeException";
21
+ readonly $fault: "client";
22
+ Message?: string;
23
+ Code?: string;
24
+ /**
25
+ * <p>A universally unique identifier (UUID) for the request.</p>
26
+ */
27
+ Logref?: string;
28
+ /**
29
+ * @internal
30
+ */
31
+ constructor(opts: __ExceptionOptionType<VideoTooLargeException, __BaseException>);
32
+ }
33
+ /**
34
+ * @public
35
+ */
36
+ export interface StartContentModerationRequest {
37
+ /**
38
+ * <p>The video in which you want to detect inappropriate, unwanted, or offensive content. The video must be stored
39
+ * in an Amazon S3 bucket.</p>
40
+ */
41
+ Video: Video | undefined;
42
+ /**
43
+ * <p>Specifies the minimum confidence that Amazon Rekognition must have in order to return a moderated content label. Confidence
44
+ * represents how certain Amazon Rekognition is that the moderated content is correctly identified. 0 is the lowest confidence.
45
+ * 100 is the highest confidence. Amazon Rekognition doesn't return any moderated content labels with a confidence level
46
+ * lower than this specified value. If you don't specify <code>MinConfidence</code>, <code>GetContentModeration</code>
47
+ * returns labels with confidence values greater than or equal to 50 percent.</p>
48
+ */
49
+ MinConfidence?: number;
50
+ /**
51
+ * <p>Idempotent token used to identify the start request. If you use the same token with multiple
52
+ * <code>StartContentModeration</code> requests, the same <code>JobId</code> is returned. Use
53
+ * <code>ClientRequestToken</code> to prevent the same job from being accidently started more than once. </p>
54
+ */
55
+ ClientRequestToken?: string;
56
+ /**
57
+ * <p>The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the
58
+ * content analysis to. The Amazon SNS topic must have a topic name that begins with <i>AmazonRekognition</i> if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.</p>
59
+ */
60
+ NotificationChannel?: NotificationChannel;
61
+ /**
62
+ * <p>An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.
63
+ * For example, you can use <code>JobTag</code> to group related jobs and identify them in the completion notification.</p>
64
+ */
65
+ JobTag?: string;
66
+ }
67
+ /**
68
+ * @public
69
+ */
70
+ export interface StartContentModerationResponse {
71
+ /**
72
+ * <p>The identifier for the content analysis job. Use <code>JobId</code> to identify the job in
73
+ * a subsequent call to <code>GetContentModeration</code>.</p>
74
+ */
75
+ JobId?: string;
76
+ }
77
+ /**
78
+ * @public
79
+ */
80
+ export interface StartFaceDetectionRequest {
81
+ /**
82
+ * <p>The video in which you want to detect faces. The video must be stored
83
+ * in an Amazon S3 bucket.</p>
84
+ */
85
+ Video: Video | undefined;
86
+ /**
87
+ * <p>Idempotent token used to identify the start request. If you use the same token with multiple
88
+ * <code>StartFaceDetection</code> requests, the same <code>JobId</code> is returned. Use
89
+ * <code>ClientRequestToken</code> to prevent the same job from being accidently started more than once. </p>
90
+ */
91
+ ClientRequestToken?: string;
92
+ /**
93
+ * <p>The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the
94
+ * face detection operation. The Amazon SNS topic must have a topic name that begins with <i>AmazonRekognition</i> if you are using the AmazonRekognitionServiceRole permissions policy.</p>
95
+ */
96
+ NotificationChannel?: NotificationChannel;
97
+ /**
98
+ * <p>The face attributes you want returned.</p>
99
+ * <p>
100
+ * <code>DEFAULT</code> - The following subset of facial attributes are returned: BoundingBox, Confidence, Pose, Quality and Landmarks. </p>
101
+ * <p>
102
+ * <code>ALL</code> - All facial attributes are returned.</p>
103
+ */
104
+ FaceAttributes?: FaceAttributes | string;
105
+ /**
106
+ * <p>An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.
107
+ * For example, you can use <code>JobTag</code> to group related jobs and identify them in the completion notification.</p>
108
+ */
109
+ JobTag?: string;
110
+ }
111
+ /**
112
+ * @public
113
+ */
114
+ export interface StartFaceDetectionResponse {
115
+ /**
116
+ * <p>The identifier for the face detection job. Use <code>JobId</code> to identify the job in
117
+ * a subsequent call to <code>GetFaceDetection</code>.</p>
118
+ */
119
+ JobId?: string;
120
+ }
121
+ /**
122
+ * @public
123
+ */
124
+ export interface StartFaceSearchRequest {
125
+ /**
126
+ * <p>The video you want to search. The video must be stored in an Amazon S3 bucket. </p>
127
+ */
128
+ Video: Video | undefined;
129
+ /**
130
+ * <p>Idempotent token used to identify the start request. If you use the same token with multiple
131
+ * <code>StartFaceSearch</code> requests, the same <code>JobId</code> is returned. Use
132
+ * <code>ClientRequestToken</code> to prevent the same job from being accidently started more than once. </p>
133
+ */
134
+ ClientRequestToken?: string;
135
+ /**
136
+ * <p>The minimum confidence in the person match to return. For example, don't return any matches where confidence in matches is less than 70%.
137
+ * The default value is 80%.</p>
138
+ */
139
+ FaceMatchThreshold?: number;
140
+ /**
141
+ * <p>ID of the collection that contains the faces you want to search for.</p>
142
+ */
143
+ CollectionId: string | undefined;
144
+ /**
145
+ * <p>The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the search. The Amazon SNS topic must have a topic name that begins with <i>AmazonRekognition</i> if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.</p>
146
+ */
147
+ NotificationChannel?: NotificationChannel;
148
+ /**
149
+ * <p>An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.
150
+ * For example, you can use <code>JobTag</code> to group related jobs and identify them in the completion notification.</p>
151
+ */
152
+ JobTag?: string;
153
+ }
154
+ /**
155
+ * @public
156
+ */
157
+ export interface StartFaceSearchResponse {
158
+ /**
159
+ * <p>The identifier for the search job. Use <code>JobId</code> to identify the job in a subsequent call to <code>GetFaceSearch</code>. </p>
160
+ */
161
+ JobId?: string;
162
+ }
163
+ /**
164
+ * @public
165
+ */
166
+ export interface StartLabelDetectionRequest {
167
+ /**
168
+ * <p>The video in which you want to detect labels. The video must be stored
169
+ * in an Amazon S3 bucket.</p>
170
+ */
171
+ Video: Video | undefined;
172
+ /**
173
+ * <p>Idempotent token used to identify the start request. If you use the same token with multiple
174
+ * <code>StartLabelDetection</code> requests, the same <code>JobId</code> is returned. Use
175
+ * <code>ClientRequestToken</code> to prevent the same job from being accidently started more than once. </p>
176
+ */
177
+ ClientRequestToken?: string;
178
+ /**
179
+ * <p>Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected label. Confidence
180
+ * represents how certain Amazon Rekognition is that a label is correctly identified.0 is the lowest confidence.
181
+ * 100 is the highest confidence. Amazon Rekognition Video doesn't return any labels with a confidence level
182
+ * lower than this specified value.</p>
183
+ * <p>If you don't specify <code>MinConfidence</code>, the operation returns labels and
184
+ * bounding boxes (if detected) with confidence values greater than or equal to 50
185
+ * percent.</p>
186
+ */
187
+ MinConfidence?: number;
188
+ /**
189
+ * <p>The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the label detection
190
+ * operation to. The Amazon SNS topic must have a topic name that begins with <i>AmazonRekognition</i> if you are using the AmazonRekognitionServiceRole permissions policy.</p>
191
+ */
192
+ NotificationChannel?: NotificationChannel;
193
+ /**
194
+ * <p>An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.
195
+ * For example, you can use <code>JobTag</code> to group related jobs and identify them in the completion notification.</p>
196
+ */
197
+ JobTag?: string;
198
+ /**
199
+ * <p>The features to return after video analysis. You can specify that GENERAL_LABELS are returned.</p>
200
+ */
201
+ Features?: (LabelDetectionFeatureName | string)[];
202
+ /**
203
+ * <p>The settings for a StartLabelDetection request.Contains the specified parameters for the label detection request of an asynchronous label analysis operation.
204
+ * Settings can include filters for GENERAL_LABELS.</p>
205
+ */
206
+ Settings?: LabelDetectionSettings;
207
+ }
208
+ /**
209
+ * @public
210
+ */
211
+ export interface StartLabelDetectionResponse {
212
+ /**
213
+ * <p>The identifier for the label detection job. Use <code>JobId</code> to identify the job in
214
+ * a subsequent call to <code>GetLabelDetection</code>. </p>
215
+ */
216
+ JobId?: string;
217
+ }
218
+ /**
219
+ * @public
220
+ */
221
+ export interface StartPersonTrackingRequest {
222
+ /**
223
+ * <p>The video in which you want to detect people. The video must be stored
224
+ * in an Amazon S3 bucket.</p>
225
+ */
226
+ Video: Video | undefined;
227
+ /**
228
+ * <p>Idempotent token used to identify the start request. If you use the same token with multiple
229
+ * <code>StartPersonTracking</code> requests, the same <code>JobId</code> is returned. Use
230
+ * <code>ClientRequestToken</code> to prevent the same job from being accidently started more than once. </p>
231
+ */
232
+ ClientRequestToken?: string;
233
+ /**
234
+ * <p>The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the people detection
235
+ * operation to. The Amazon SNS topic must have a topic name that begins with <i>AmazonRekognition</i> if you are using the AmazonRekognitionServiceRole permissions policy.</p>
236
+ */
237
+ NotificationChannel?: NotificationChannel;
238
+ /**
239
+ * <p>An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.
240
+ * For example, you can use <code>JobTag</code> to group related jobs and identify them in the completion notification.</p>
241
+ */
242
+ JobTag?: string;
243
+ }
244
+ /**
245
+ * @public
246
+ */
247
+ export interface StartPersonTrackingResponse {
248
+ /**
249
+ * <p>The identifier for the person detection job. Use <code>JobId</code> to identify the job in
250
+ * a subsequent call to <code>GetPersonTracking</code>.</p>
251
+ */
252
+ JobId?: string;
253
+ }
254
+ /**
255
+ * @public
256
+ */
257
+ export interface StartProjectVersionRequest {
258
+ /**
259
+ * <p>The Amazon Resource Name(ARN) of the model version that you want to start.</p>
260
+ */
261
+ ProjectVersionArn: string | undefined;
262
+ /**
263
+ * <p>The minimum number of inference units to use. A single
264
+ * inference unit represents 1 hour of processing. </p>
265
+ * <p>For information about the number
266
+ * of transactions per second (TPS) that an inference unit can support, see
267
+ * <i>Running a trained Amazon Rekognition Custom Labels model</i> in the
268
+ * Amazon Rekognition Custom Labels Guide.
269
+ * </p>
270
+ * <p>Use a higher number to increase the TPS throughput of your model. You are charged for the number
271
+ * of inference units that you use.
272
+ * </p>
273
+ */
274
+ MinInferenceUnits: number | undefined;
275
+ /**
276
+ * <p>The maximum number of inference units to use for auto-scaling the model. If you don't
277
+ * specify a value, Amazon Rekognition Custom Labels doesn't auto-scale the model.</p>
278
+ */
279
+ MaxInferenceUnits?: number;
280
+ }
281
+ /**
282
+ * @public
283
+ */
284
+ export interface StartProjectVersionResponse {
285
+ /**
286
+ * <p>The current running status of the model. </p>
287
+ */
288
+ Status?: ProjectVersionStatus | string;
289
+ }
290
+ /**
291
+ * @public
292
+ * <p>Filters for the shot detection segments returned by <code>GetSegmentDetection</code>.
293
+ * For more information, see <a>StartSegmentDetectionFilters</a>.</p>
294
+ */
295
+ export interface StartShotDetectionFilter {
296
+ /**
297
+ * <p>Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected segment. Confidence
298
+ * represents how certain Amazon Rekognition is that a segment is correctly identified. 0 is the lowest confidence.
299
+ * 100 is the highest confidence. Amazon Rekognition Video doesn't return any segments with a confidence level
300
+ * lower than this specified value.</p>
301
+ * <p>If you don't specify <code>MinSegmentConfidence</code>, the <code>GetSegmentDetection</code> returns
302
+ * segments with confidence values greater than or equal to 50 percent.</p>
303
+ */
304
+ MinSegmentConfidence?: number;
305
+ }
306
+ /**
307
+ * @public
308
+ * <p>Filters for the technical segments returned by <a>GetSegmentDetection</a>. For more information,
309
+ * see <a>StartSegmentDetectionFilters</a>.</p>
310
+ */
311
+ export interface StartTechnicalCueDetectionFilter {
312
+ /**
313
+ * <p>Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected segment. Confidence
314
+ * represents how certain Amazon Rekognition is that a segment is correctly identified. 0 is the lowest confidence.
315
+ * 100 is the highest confidence. Amazon Rekognition Video doesn't return any segments with a confidence level
316
+ * lower than this specified value.</p>
317
+ * <p>If you don't specify <code>MinSegmentConfidence</code>, <code>GetSegmentDetection</code> returns
318
+ * segments with confidence values greater than or equal to 50 percent.</p>
319
+ */
320
+ MinSegmentConfidence?: number;
321
+ /**
322
+ * <p>
323
+ * A filter that allows you to control the black frame detection by specifying the black levels and pixel coverage of black pixels in a frame.
324
+ * Videos can come from multiple sources, formats, and time periods, with different standards and varying noise levels for black frames that need to be accounted for.
325
+ * </p>
326
+ */
327
+ BlackFrame?: BlackFrame;
328
+ }
329
+ /**
330
+ * @public
331
+ * <p>Filters applied to the technical cue or shot detection segments.
332
+ * For more information, see <a>StartSegmentDetection</a>.
333
+ * </p>
334
+ */
335
+ export interface StartSegmentDetectionFilters {
336
+ /**
337
+ * <p>Filters that are specific to technical cues.</p>
338
+ */
339
+ TechnicalCueFilter?: StartTechnicalCueDetectionFilter;
340
+ /**
341
+ * <p>Filters that are specific to shot detections.</p>
342
+ */
343
+ ShotFilter?: StartShotDetectionFilter;
344
+ }
345
+ /**
346
+ * @public
347
+ */
348
+ export interface StartSegmentDetectionRequest {
349
+ /**
350
+ * <p>Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as <a>StartLabelDetection</a> use <code>Video</code> to
351
+ * specify a video for analysis. The supported file formats are .mp4, .mov and .avi.</p>
352
+ */
353
+ Video: Video | undefined;
354
+ /**
355
+ * <p>Idempotent token used to identify the start request. If you use the same token with multiple
356
+ * <code>StartSegmentDetection</code> requests, the same <code>JobId</code> is returned. Use
357
+ * <code>ClientRequestToken</code> to prevent the same job from being accidently started more than once. </p>
358
+ */
359
+ ClientRequestToken?: string;
360
+ /**
361
+ * <p>The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the
362
+ * segment detection operation. Note that the Amazon SNS topic must have a topic name that begins with <i>AmazonRekognition</i> if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.</p>
363
+ */
364
+ NotificationChannel?: NotificationChannel;
365
+ /**
366
+ * <p>An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.
367
+ * For example, you can use <code>JobTag</code> to group related jobs and identify them in the completion notification.</p>
368
+ */
369
+ JobTag?: string;
370
+ /**
371
+ * <p>Filters for technical cue or shot detection.</p>
372
+ */
373
+ Filters?: StartSegmentDetectionFilters;
374
+ /**
375
+ * <p>An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.</p>
376
+ */
377
+ SegmentTypes: (SegmentType | string)[] | undefined;
378
+ }
379
+ /**
380
+ * @public
381
+ */
382
+ export interface StartSegmentDetectionResponse {
383
+ /**
384
+ * <p>Unique identifier for the segment detection job. The <code>JobId</code> is returned from <code>StartSegmentDetection</code>.
385
+ * </p>
386
+ */
387
+ JobId?: string;
388
+ }
389
+ /**
390
+ * @public
391
+ * <p>This is a required parameter for label detection stream processors and should not be used
392
+ * to start a face search stream processor.</p>
393
+ */
394
+ export interface StreamProcessingStartSelector {
395
+ /**
396
+ * <p>
397
+ * Specifies the starting point in the stream to start processing. This can be done with a producer timestamp or a fragment number in a Kinesis stream.
398
+ * </p>
399
+ */
400
+ KVSStreamStartSelector?: KinesisVideoStreamStartSelector;
401
+ }
402
+ /**
403
+ * @public
404
+ * <p>
405
+ * Specifies when to stop processing the stream. You can specify a maximum amount
406
+ * of time to process the video.
407
+ * </p>
408
+ */
409
+ export interface StreamProcessingStopSelector {
410
+ /**
411
+ * <p>
412
+ * Specifies the maximum amount of time in seconds that you want the stream to be processed. The largest amount of time is 2 minutes. The default is 10 seconds.
413
+ * </p>
414
+ */
415
+ MaxDurationInSeconds?: number;
416
+ }
417
+ /**
418
+ * @public
419
+ */
420
+ export interface StartStreamProcessorRequest {
421
+ /**
422
+ * <p>The name of the stream processor to start processing.</p>
423
+ */
424
+ Name: string | undefined;
425
+ /**
426
+ * <p>
427
+ * Specifies the starting point in the Kinesis stream to start processing.
428
+ * You can use the producer timestamp or the fragment number. If you use the producer timestamp, you must put the time in milliseconds.
429
+ * For more information about fragment numbers, see <a href="https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_reader_Fragment.html">Fragment</a>.
430
+ * </p>
431
+ * <p>This is a required parameter for label detection stream processors and should not be used to start a face search stream processor.</p>
432
+ */
433
+ StartSelector?: StreamProcessingStartSelector;
434
+ /**
435
+ * <p>
436
+ * Specifies when to stop processing the stream. You can specify a
437
+ * maximum amount of time to process the video.
438
+ * </p>
439
+ * <p>This is a required parameter for label detection stream processors and should not be used to start a face search stream processor.</p>
440
+ */
441
+ StopSelector?: StreamProcessingStopSelector;
442
+ }
443
+ /**
444
+ * @public
445
+ */
446
+ export interface StartStreamProcessorResponse {
447
+ /**
448
+ * <p>
449
+ * A unique identifier for the stream processing session.
450
+ * </p>
451
+ */
452
+ SessionId?: string;
453
+ }
454
+ /**
455
+ * @public
456
+ * <p>Set of optional parameters that let you set the criteria text must meet to be included in your response.
457
+ * <code>WordFilter</code> looks at a word's height, width and minimum confidence. <code>RegionOfInterest</code>
458
+ * lets you set a specific region of the screen to look for text in.</p>
459
+ */
460
+ export interface StartTextDetectionFilters {
461
+ /**
462
+ * <p>Filters focusing on qualities of the text, such as confidence or size.</p>
463
+ */
464
+ WordFilter?: DetectionFilter;
465
+ /**
466
+ * <p>Filter focusing on a certain area of the frame. Uses a <code>BoundingBox</code> object to set the region
467
+ * of the screen.</p>
468
+ */
469
+ RegionsOfInterest?: RegionOfInterest[];
470
+ }
471
+ /**
472
+ * @public
473
+ */
474
+ export interface StartTextDetectionRequest {
475
+ /**
476
+ * <p>Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as <a>StartLabelDetection</a> use <code>Video</code> to
477
+ * specify a video for analysis. The supported file formats are .mp4, .mov and .avi.</p>
478
+ */
479
+ Video: Video | undefined;
480
+ /**
481
+ * <p>Idempotent token used to identify the start request. If you use the same token with multiple <code>StartTextDetection</code>
482
+ * requests, the same <code>JobId</code> is returned. Use <code>ClientRequestToken</code> to prevent the same job
483
+ * from being accidentaly started more than once.</p>
484
+ */
485
+ ClientRequestToken?: string;
486
+ /**
487
+ * <p>The Amazon Simple Notification Service topic to which Amazon Rekognition publishes the completion status of a video analysis operation. For more information, see
488
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/api-video.html">Calling Amazon Rekognition Video operations</a>. Note that the Amazon SNS topic must have a topic name that begins with <i>AmazonRekognition</i> if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.
489
+ * For more information, see <a href="https://docs.aws.amazon.com/rekognition/latest/dg/api-video-roles.html#api-video-roles-all-topics">Giving access to multiple Amazon SNS topics</a>.</p>
490
+ */
491
+ NotificationChannel?: NotificationChannel;
492
+ /**
493
+ * <p>An identifier returned in the completion status published by your Amazon Simple Notification Service topic. For example, you can use <code>JobTag</code> to group related jobs
494
+ * and identify them in the completion notification.</p>
495
+ */
496
+ JobTag?: string;
497
+ /**
498
+ * <p>Optional parameters that let you set criteria the text must meet to be included in your response.</p>
499
+ */
500
+ Filters?: StartTextDetectionFilters;
501
+ }
502
+ /**
503
+ * @public
504
+ */
505
+ export interface StartTextDetectionResponse {
506
+ /**
507
+ * <p>Identifier for the text detection job. Use <code>JobId</code> to identify the job in a subsequent call to <code>GetTextDetection</code>.</p>
508
+ */
509
+ JobId?: string;
510
+ }
511
+ /**
512
+ * @public
513
+ */
514
+ export interface StopProjectVersionRequest {
515
+ /**
516
+ * <p>The Amazon Resource Name (ARN) of the model version that you want to delete.</p>
517
+ * <p>This operation requires permissions to perform the <code>rekognition:StopProjectVersion</code> action.</p>
518
+ */
519
+ ProjectVersionArn: string | undefined;
520
+ }
521
+ /**
522
+ * @public
523
+ */
524
+ export interface StopProjectVersionResponse {
525
+ /**
526
+ * <p>The current status of the stop operation. </p>
527
+ */
528
+ Status?: ProjectVersionStatus | string;
529
+ }
530
+ /**
531
+ * @public
532
+ */
533
+ export interface StopStreamProcessorRequest {
534
+ /**
535
+ * <p>The name of a stream processor created by <a>CreateStreamProcessor</a>.</p>
536
+ */
537
+ Name: string | undefined;
538
+ }
539
+ /**
540
+ * @public
541
+ */
542
+ export interface StopStreamProcessorResponse {
543
+ }
544
+ /**
545
+ * @public
546
+ */
547
+ export interface TagResourceRequest {
548
+ /**
549
+ * <p> Amazon Resource Name (ARN) of the model, collection, or stream processor that you want to
550
+ * assign the tags to. </p>
551
+ */
552
+ ResourceArn: string | undefined;
553
+ /**
554
+ * <p> The key-value tags to assign to the resource. </p>
555
+ */
556
+ Tags: Record<string, string> | undefined;
557
+ }
558
+ /**
559
+ * @public
560
+ */
561
+ export interface TagResourceResponse {
562
+ }
2
563
  /**
3
564
  * @public
4
565
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListUsersCommandInput, ListUsersCommandOutput } from "../commands/ListUsersCommand";
3
+ import { RekognitionPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListUsers(config: RekognitionPaginationConfiguration, input: ListUsersCommandInput, ...additionalArguments: any): Paginator<ListUsersCommandOutput>;
@@ -15,3 +15,4 @@ export * from "./ListDatasetLabelsPaginator";
15
15
  export * from "./ListFacesPaginator";
16
16
  export * from "./ListProjectPoliciesPaginator";
17
17
  export * from "./ListStreamProcessorsPaginator";
18
+ export * from "./ListUsersPaginator";