@aws-sdk/client-rekognition 3.1139.0 → 3.1141.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 (32) hide show
  1. package/README.md +45 -16
  2. package/dist-cjs/index.js +34 -3
  3. package/dist-es/index.js +1 -0
  4. package/dist-es/models/enums.js +9 -0
  5. package/dist-es/models/models_1.js +1 -0
  6. package/dist-es/schemas/schemas_0.js +21 -2
  7. package/dist-types/Rekognition.d.ts +45 -16
  8. package/dist-types/RekognitionClient.d.ts +45 -16
  9. package/dist-types/commands/CreateFaceLivenessSessionCommand.d.ts +6 -0
  10. package/dist-types/commands/CreateStreamProcessorCommand.d.ts +8 -1
  11. package/dist-types/commands/DeleteStreamProcessorCommand.d.ts +8 -1
  12. package/dist-types/commands/DescribeStreamProcessorCommand.d.ts +8 -1
  13. package/dist-types/commands/GetFaceLivenessSessionResultsCommand.d.ts +12 -0
  14. package/dist-types/commands/GetMediaAnalysisJobCommand.d.ts +8 -1
  15. package/dist-types/commands/ListMediaAnalysisJobsCommand.d.ts +8 -1
  16. package/dist-types/commands/ListStreamProcessorsCommand.d.ts +8 -1
  17. package/dist-types/commands/StartMediaAnalysisJobCommand.d.ts +8 -1
  18. package/dist-types/commands/StartStreamProcessorCommand.d.ts +8 -1
  19. package/dist-types/commands/StopStreamProcessorCommand.d.ts +8 -1
  20. package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +9 -2
  21. package/dist-types/index.d.ts +46 -16
  22. package/dist-types/models/enums.d.ts +17 -0
  23. package/dist-types/models/models_0.d.ts +50 -47
  24. package/dist-types/models/models_1.d.ts +48 -0
  25. package/dist-types/schemas/schemas_0.d.ts +2 -0
  26. package/dist-types/ts3.4/commands/UpdateStreamProcessorCommand.d.ts +1 -1
  27. package/dist-types/ts3.4/index.d.ts +1 -0
  28. package/dist-types/ts3.4/models/enums.d.ts +10 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +10 -9
  30. package/dist-types/ts3.4/models/models_1.d.ts +14 -0
  31. package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
  32. package/package.json +1 -1
package/README.md CHANGED
@@ -6,10 +6,14 @@
6
6
 
7
7
  AWS SDK for JavaScript Rekognition Client for Node.js, Browser and React Native.
8
8
 
9
- <p>This is the API Reference for <a href="https://docs.aws.amazon.com/rekognition/latest/dg/images.html">Amazon Rekognition Image</a>, <a href="https://docs.aws.amazon.com/rekognition/latest/customlabels-dg/what-is.html">Amazon Rekognition Custom Labels</a>,
10
- <a href="https://docs.aws.amazon.com/rekognition/latest/dg/video.html">Amazon Rekognition Stored
11
- Video</a>, <a href="https://docs.aws.amazon.com/rekognition/latest/dg/streaming-video.html">Amazon Rekognition Streaming Video</a>. It provides descriptions of actions, data types, common
12
- parameters, and common errors.</p>
9
+ <p>This is the API Reference for
10
+ <a href="https://docs.aws.amazon.com/rekognition/latest/dg/images.html">Amazon Rekognition Image</a>,
11
+ <a href="https://docs.aws.amazon.com/rekognition/latest/dg/bulk-analysis.html">Amazon Rekognition Bulk Image Analysis</a>,
12
+ <a href="https://docs.aws.amazon.com/rekognition/latest/customlabels-dg/what-is.html">Amazon Rekognition Custom Labels</a>,
13
+ <a href="https://docs.aws.amazon.com/rekognition/latest/dg/video.html">Amazon Rekognition Stored Video</a>,
14
+ <a href="https://docs.aws.amazon.com/rekognition/latest/dg/face-liveness.html">Amazon Rekognition Face Liveness</a>,
15
+ <a href="https://docs.aws.amazon.com/rekognition/latest/dg/streaming-video.html">Amazon Rekognition Streaming Video</a>.
16
+ It provides descriptions of actions, data types, common parameters, and common errors.</p>
13
17
  <p>
14
18
  <b>Amazon Rekognition Image</b>
15
19
  </p>
@@ -91,11 +95,6 @@ parameters, and common errors.</p>
91
95
  </li>
92
96
  <li>
93
97
  <p>
94
- <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetMediaAnalysisJob.html">GetMediaAnalysisJob</a>
95
- </p>
96
- </li>
97
- <li>
98
- <p>
99
98
  <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_IndexFaces.html">IndexFaces</a>
100
99
  </p>
101
100
  </li>
@@ -106,11 +105,6 @@ parameters, and common errors.</p>
106
105
  </li>
107
106
  <li>
108
107
  <p>
109
- <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListMediaAnalysisJob.html">ListMediaAnalysisJob</a>
110
- </p>
111
- </li>
112
- <li>
113
- <p>
114
108
  <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListFaces.html">ListFaces</a>
115
109
  </p>
116
110
  </li>
@@ -144,6 +138,21 @@ parameters, and common errors.</p>
144
138
  <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_SearchUsersByImage.html">SearchUsersByImage</a>
145
139
  </p>
146
140
  </li>
141
+ </ul>
142
+ <p>
143
+ <b>Amazon Rekognition Bulk Image Analysis</b>
144
+ </p>
145
+ <ul>
146
+ <li>
147
+ <p>
148
+ <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetMediaAnalysisJob.html">GetMediaAnalysisJob</a>
149
+ </p>
150
+ </li>
151
+ <li>
152
+ <p>
153
+ <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListMediaAnalysisJob.html">ListMediaAnalysisJob</a>
154
+ </p>
155
+ </li>
147
156
  <li>
148
157
  <p>
149
158
  <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartMediaAnalysisJob.html">StartMediaAnalysisJob</a>
@@ -256,7 +265,7 @@ parameters, and common errors.</p>
256
265
  </li>
257
266
  </ul>
258
267
  <p>
259
- <b>Amazon Rekognition Video Stored Video</b>
268
+ <b>Amazon Rekognition Stored Video</b>
260
269
  </p>
261
270
  <ul>
262
271
  <li>
@@ -341,7 +350,27 @@ parameters, and common errors.</p>
341
350
  </li>
342
351
  </ul>
343
352
  <p>
344
- <b>Amazon Rekognition Video Streaming Video</b>
353
+ <b>Amazon Rekognition Face Liveness</b>
354
+ </p>
355
+ <ul>
356
+ <li>
357
+ <p>
358
+ <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateFaceLivenessSession.html">CreateFaceLivenessSession</a>
359
+ </p>
360
+ </li>
361
+ <li>
362
+ <p>
363
+ <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetFaceLivenessSessionResults.html">GetFaceLivenessSessionResults</a>
364
+ </p>
365
+ </li>
366
+ <li>
367
+ <p>
368
+ <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_rekognitionstreaming_StartFaceLivenessSession.html">StartFaceLivenessSession</a>
369
+ </p>
370
+ </li>
371
+ </ul>
372
+ <p>
373
+ <b>Amazon Rekognition Streaming Video</b>
345
374
  </p>
346
375
  <ul>
347
376
  <li>
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1138.0";
72
+ var version = "3.1140.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -799,7 +799,9 @@ const _FDai = "FailureDetails";
799
799
  const _FH = "FrameHeight";
800
800
  const _FI = "FaceId";
801
801
  const _FIa = "FaceIds";
802
+ const _FIe = "FeedbackItem";
802
803
  const _FL = "FaceList";
804
+ const _FLe = "FeedbackList";
803
805
  const _FM = "FaceMatches";
804
806
  const _FML = "FaceMatchList";
805
807
  const _FMT = "FaceMatchThreshold";
@@ -819,6 +821,7 @@ const _FW = "FrameWidth";
819
821
  const _Fa = "Faces";
820
822
  const _Fe = "Feature";
821
823
  const _Fea = "Features";
824
+ const _Fee = "Feedback";
822
825
  const _Fi = "Filters";
823
826
  const _Fo = "Foreground";
824
827
  const _For = "Format";
@@ -1002,6 +1005,7 @@ const _MUa = "MaxUsers";
1002
1005
  const _MV = "ModelVersions";
1003
1006
  const _MVo = "ModelVersion";
1004
1007
  const _Ma = "Maximum";
1008
+ const _Me = "Metadata";
1005
1009
  const _Mi = "Minimum";
1006
1010
  const _Mo = "Moderation";
1007
1011
  const _Mu = "Mustache";
@@ -1095,6 +1099,7 @@ const _SCRRt = "StartCelebrityRecognitionResponse";
1095
1099
  const _SCi = "SimplifiedColor";
1096
1100
  const _SCt = "StatusCode";
1097
1101
  const _SD = "S3Destination";
1102
+ const _SDKT = "SDKType";
1098
1103
  const _SDe = "SegmentDetection";
1099
1104
  const _SDeg = "SegmentDetections";
1100
1105
  const _SF = "SearchedFace";
@@ -1131,6 +1136,7 @@ const _SMAJ = "StartMediaAnalysisJob";
1131
1136
  const _SMAJR = "StartMediaAnalysisJobRequest";
1132
1137
  const _SMAJRt = "StartMediaAnalysisJobResponse";
1133
1138
  const _SMC = "StatusMessageCode";
1139
+ const _SMe = "SessionMetadata";
1134
1140
  const _SNFE = "SessionNotFoundException";
1135
1141
  const _SNSTA = "SNSTopicArn";
1136
1142
  const _SO = "S3Object";
@@ -2026,6 +2032,11 @@ var FaceSearchSettings$ = [3, n0, _FSS,
2026
2032
  [_CI, _FMT],
2027
2033
  [0, 1]
2028
2034
  ];
2035
+ var FeedbackItem$ = [3, n0, _FIe,
2036
+ 0,
2037
+ [_C, _M],
2038
+ [0, 0], 2
2039
+ ];
2029
2040
  var Gender$ = [3, n0, _Ge,
2030
2041
  0,
2031
2042
  [_V, _Con],
@@ -2093,8 +2104,8 @@ var GetFaceLivenessSessionResultsRequest$ = [3, n0, _GFLSRR,
2093
2104
  ];
2094
2105
  var GetFaceLivenessSessionResultsResponse$ = [3, n0, _GFLSRRe,
2095
2106
  0,
2096
- [_SIe, _St, _Con, _RI, _AIu, _Ch],
2097
- [0, 0, 1, [() => AuditImage$, 0], [() => AuditImages, 0], () => Challenge$], 2
2107
+ [_SIe, _St, _Con, _RI, _AIu, _Ch, _Fee, _Me],
2108
+ [0, 0, 1, [() => AuditImage$, 0], [() => AuditImages, 0], () => Challenge$, () => FeedbackList, () => SessionMetadata$], 2
2098
2109
  ];
2099
2110
  var GetFaceSearchRequest$ = [3, n0, _GFSR,
2100
2111
  0,
@@ -2591,6 +2602,11 @@ var SegmentTypeInfo$ = [3, n0, _STI,
2591
2602
  [_Ty, _MVo],
2592
2603
  [0, 0]
2593
2604
  ];
2605
+ var SessionMetadata$ = [3, n0, _SMe,
2606
+ 0,
2607
+ [_SDKT],
2608
+ [0], 1
2609
+ ];
2594
2610
  var ShotSegment$ = [3, n0, _SS,
2595
2611
  0,
2596
2612
  [_Ind, _Con],
@@ -3015,6 +3031,9 @@ var FaceMatchList = [1, n0, _FML,
3015
3031
  var FaceRecordList = [1, n0, _FRL,
3016
3032
  0, () => FaceRecord$
3017
3033
  ];
3034
+ var FeedbackList = [1, n0, _FLe,
3035
+ 0, () => FeedbackItem$
3036
+ ];
3018
3037
  var Instances = [1, n0, _Inst,
3019
3038
  0, () => Instance$
3020
3039
  ];
@@ -4156,6 +4175,15 @@ const FaceSearchSortBy = {
4156
4175
  INDEX: "INDEX",
4157
4176
  TIMESTAMP: "TIMESTAMP",
4158
4177
  };
4178
+ const FeedbackCode = {
4179
+ EYES_CLOSED_DETECTED: "EYES_CLOSED_DETECTED",
4180
+ FACE_NOT_ALIGNED: "FACE_NOT_ALIGNED",
4181
+ FACE_NOT_VISIBLE: "FACE_NOT_VISIBLE",
4182
+ FACE_OBSTRUCTION_DETECTED: "FACE_OBSTRUCTION_DETECTED",
4183
+ HIGH_LIGHTING_DETECTED: "HIGH_LIGHTING_DETECTED",
4184
+ LOW_LIGHTING_DETECTED: "LOW_LIGHTING_DETECTED",
4185
+ LOW_VIDEO_QUALITY_DETECTED: "LOW_VIDEO_QUALITY_DETECTED",
4186
+ };
4159
4187
  const VideoJobStatus = {
4160
4188
  FAILED: "FAILED",
4161
4189
  IN_PROGRESS: "IN_PROGRESS",
@@ -4441,6 +4469,8 @@ exports.FaceOccluded$ = FaceOccluded$;
4441
4469
  exports.FaceRecord$ = FaceRecord$;
4442
4470
  exports.FaceSearchSettings$ = FaceSearchSettings$;
4443
4471
  exports.FaceSearchSortBy = FaceSearchSortBy;
4472
+ exports.FeedbackCode = FeedbackCode;
4473
+ exports.FeedbackItem$ = FeedbackItem$;
4444
4474
  exports.Gender$ = Gender$;
4445
4475
  exports.GenderType = GenderType;
4446
4476
  exports.GeneralLabelsSettings$ = GeneralLabelsSettings$;
@@ -4666,6 +4696,7 @@ exports.SegmentType = SegmentType;
4666
4696
  exports.SegmentTypeInfo$ = SegmentTypeInfo$;
4667
4697
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
4668
4698
  exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
4699
+ exports.SessionMetadata$ = SessionMetadata$;
4669
4700
  exports.SessionNotFoundException = SessionNotFoundException;
4670
4701
  exports.SessionNotFoundException$ = SessionNotFoundException$;
4671
4702
  exports.ShotSegment$ = ShotSegment$;
package/dist-es/index.js CHANGED
@@ -8,4 +8,5 @@ export * from "./schemas/schemas_0";
8
8
  export * from "./models/enums";
9
9
  export * from "./models/errors";
10
10
  export * from "./models/models_0";
11
+ export * from "./models/models_1";
11
12
  export { RekognitionServiceException } from "./models/RekognitionServiceException";
@@ -201,6 +201,15 @@ export const FaceSearchSortBy = {
201
201
  INDEX: "INDEX",
202
202
  TIMESTAMP: "TIMESTAMP",
203
203
  };
204
+ export const FeedbackCode = {
205
+ EYES_CLOSED_DETECTED: "EYES_CLOSED_DETECTED",
206
+ FACE_NOT_ALIGNED: "FACE_NOT_ALIGNED",
207
+ FACE_NOT_VISIBLE: "FACE_NOT_VISIBLE",
208
+ FACE_OBSTRUCTION_DETECTED: "FACE_OBSTRUCTION_DETECTED",
209
+ HIGH_LIGHTING_DETECTED: "HIGH_LIGHTING_DETECTED",
210
+ LOW_LIGHTING_DETECTED: "LOW_LIGHTING_DETECTED",
211
+ LOW_VIDEO_QUALITY_DETECTED: "LOW_VIDEO_QUALITY_DETECTED",
212
+ };
204
213
  export const VideoJobStatus = {
205
214
  FAILED: "FAILED",
206
215
  IN_PROGRESS: "IN_PROGRESS",
@@ -0,0 +1 @@
1
+ export {};
@@ -238,7 +238,9 @@ const _FDai = "FailureDetails";
238
238
  const _FH = "FrameHeight";
239
239
  const _FI = "FaceId";
240
240
  const _FIa = "FaceIds";
241
+ const _FIe = "FeedbackItem";
241
242
  const _FL = "FaceList";
243
+ const _FLe = "FeedbackList";
242
244
  const _FM = "FaceMatches";
243
245
  const _FML = "FaceMatchList";
244
246
  const _FMT = "FaceMatchThreshold";
@@ -258,6 +260,7 @@ const _FW = "FrameWidth";
258
260
  const _Fa = "Faces";
259
261
  const _Fe = "Feature";
260
262
  const _Fea = "Features";
263
+ const _Fee = "Feedback";
261
264
  const _Fi = "Filters";
262
265
  const _Fo = "Foreground";
263
266
  const _For = "Format";
@@ -441,6 +444,7 @@ const _MUa = "MaxUsers";
441
444
  const _MV = "ModelVersions";
442
445
  const _MVo = "ModelVersion";
443
446
  const _Ma = "Maximum";
447
+ const _Me = "Metadata";
444
448
  const _Mi = "Minimum";
445
449
  const _Mo = "Moderation";
446
450
  const _Mu = "Mustache";
@@ -534,6 +538,7 @@ const _SCRRt = "StartCelebrityRecognitionResponse";
534
538
  const _SCi = "SimplifiedColor";
535
539
  const _SCt = "StatusCode";
536
540
  const _SD = "S3Destination";
541
+ const _SDKT = "SDKType";
537
542
  const _SDe = "SegmentDetection";
538
543
  const _SDeg = "SegmentDetections";
539
544
  const _SF = "SearchedFace";
@@ -570,6 +575,7 @@ const _SMAJ = "StartMediaAnalysisJob";
570
575
  const _SMAJR = "StartMediaAnalysisJobRequest";
571
576
  const _SMAJRt = "StartMediaAnalysisJobResponse";
572
577
  const _SMC = "StatusMessageCode";
578
+ const _SMe = "SessionMetadata";
573
579
  const _SNFE = "SessionNotFoundException";
574
580
  const _SNSTA = "SNSTopicArn";
575
581
  const _SO = "S3Object";
@@ -1468,6 +1474,11 @@ export var FaceSearchSettings$ = [3, n0, _FSS,
1468
1474
  [_CI, _FMT],
1469
1475
  [0, 1]
1470
1476
  ];
1477
+ export var FeedbackItem$ = [3, n0, _FIe,
1478
+ 0,
1479
+ [_C, _M],
1480
+ [0, 0], 2
1481
+ ];
1471
1482
  export var Gender$ = [3, n0, _Ge,
1472
1483
  0,
1473
1484
  [_V, _Con],
@@ -1535,8 +1546,8 @@ export var GetFaceLivenessSessionResultsRequest$ = [3, n0, _GFLSRR,
1535
1546
  ];
1536
1547
  export var GetFaceLivenessSessionResultsResponse$ = [3, n0, _GFLSRRe,
1537
1548
  0,
1538
- [_SIe, _St, _Con, _RI, _AIu, _Ch],
1539
- [0, 0, 1, [() => AuditImage$, 0], [() => AuditImages, 0], () => Challenge$], 2
1549
+ [_SIe, _St, _Con, _RI, _AIu, _Ch, _Fee, _Me],
1550
+ [0, 0, 1, [() => AuditImage$, 0], [() => AuditImages, 0], () => Challenge$, () => FeedbackList, () => SessionMetadata$], 2
1540
1551
  ];
1541
1552
  export var GetFaceSearchRequest$ = [3, n0, _GFSR,
1542
1553
  0,
@@ -2033,6 +2044,11 @@ export var SegmentTypeInfo$ = [3, n0, _STI,
2033
2044
  [_Ty, _MVo],
2034
2045
  [0, 0]
2035
2046
  ];
2047
+ export var SessionMetadata$ = [3, n0, _SMe,
2048
+ 0,
2049
+ [_SDKT],
2050
+ [0], 1
2051
+ ];
2036
2052
  export var ShotSegment$ = [3, n0, _SS,
2037
2053
  0,
2038
2054
  [_Ind, _Con],
@@ -2467,6 +2483,9 @@ var FaceModelVersionList = 64 | 0;
2467
2483
  var FaceRecordList = [1, n0, _FRL,
2468
2484
  0, () => FaceRecord$
2469
2485
  ];
2486
+ var FeedbackList = [1, n0, _FLe,
2487
+ 0, () => FeedbackItem$
2488
+ ];
2470
2489
  var GeneralLabelsFilterList = 64 | 0;
2471
2490
  var HumanLoopActivationReasons = 64 | 0;
2472
2491
  var Instances = [1, n0, _Inst,
@@ -678,10 +678,14 @@ export interface Rekognition {
678
678
  waitUntilProjectVersionTrainingCompleted(args: DescribeProjectVersionsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Rekognition>, "client">): Promise<WaiterResult<DescribeProjectVersionsCommandOutput>>;
679
679
  }
680
680
  /**
681
- * <p>This is the API Reference for <a href="https://docs.aws.amazon.com/rekognition/latest/dg/images.html">Amazon Rekognition Image</a>, <a href="https://docs.aws.amazon.com/rekognition/latest/customlabels-dg/what-is.html">Amazon Rekognition Custom Labels</a>,
682
- * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/video.html">Amazon Rekognition Stored
683
- * Video</a>, <a href="https://docs.aws.amazon.com/rekognition/latest/dg/streaming-video.html">Amazon Rekognition Streaming Video</a>. It provides descriptions of actions, data types, common
684
- * parameters, and common errors.</p>
681
+ * <p>This is the API Reference for
682
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/images.html">Amazon Rekognition Image</a>,
683
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/bulk-analysis.html">Amazon Rekognition Bulk Image Analysis</a>,
684
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/customlabels-dg/what-is.html">Amazon Rekognition Custom Labels</a>,
685
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/video.html">Amazon Rekognition Stored Video</a>,
686
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/face-liveness.html">Amazon Rekognition Face Liveness</a>,
687
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/streaming-video.html">Amazon Rekognition Streaming Video</a>.
688
+ * It provides descriptions of actions, data types, common parameters, and common errors.</p>
685
689
  * <p>
686
690
  * <b>Amazon Rekognition Image</b>
687
691
  * </p>
@@ -763,11 +767,6 @@ export interface Rekognition {
763
767
  * </li>
764
768
  * <li>
765
769
  * <p>
766
- * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetMediaAnalysisJob.html">GetMediaAnalysisJob</a>
767
- * </p>
768
- * </li>
769
- * <li>
770
- * <p>
771
770
  * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_IndexFaces.html">IndexFaces</a>
772
771
  * </p>
773
772
  * </li>
@@ -778,11 +777,6 @@ export interface Rekognition {
778
777
  * </li>
779
778
  * <li>
780
779
  * <p>
781
- * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListMediaAnalysisJob.html">ListMediaAnalysisJob</a>
782
- * </p>
783
- * </li>
784
- * <li>
785
- * <p>
786
780
  * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListFaces.html">ListFaces</a>
787
781
  * </p>
788
782
  * </li>
@@ -816,6 +810,21 @@ export interface Rekognition {
816
810
  * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_SearchUsersByImage.html">SearchUsersByImage</a>
817
811
  * </p>
818
812
  * </li>
813
+ * </ul>
814
+ * <p>
815
+ * <b>Amazon Rekognition Bulk Image Analysis</b>
816
+ * </p>
817
+ * <ul>
818
+ * <li>
819
+ * <p>
820
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetMediaAnalysisJob.html">GetMediaAnalysisJob</a>
821
+ * </p>
822
+ * </li>
823
+ * <li>
824
+ * <p>
825
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListMediaAnalysisJob.html">ListMediaAnalysisJob</a>
826
+ * </p>
827
+ * </li>
819
828
  * <li>
820
829
  * <p>
821
830
  * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartMediaAnalysisJob.html">StartMediaAnalysisJob</a>
@@ -928,7 +937,7 @@ export interface Rekognition {
928
937
  * </li>
929
938
  * </ul>
930
939
  * <p>
931
- * <b>Amazon Rekognition Video Stored Video</b>
940
+ * <b>Amazon Rekognition Stored Video</b>
932
941
  * </p>
933
942
  * <ul>
934
943
  * <li>
@@ -1013,7 +1022,27 @@ export interface Rekognition {
1013
1022
  * </li>
1014
1023
  * </ul>
1015
1024
  * <p>
1016
- * <b>Amazon Rekognition Video Streaming Video</b>
1025
+ * <b>Amazon Rekognition Face Liveness</b>
1026
+ * </p>
1027
+ * <ul>
1028
+ * <li>
1029
+ * <p>
1030
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateFaceLivenessSession.html">CreateFaceLivenessSession</a>
1031
+ * </p>
1032
+ * </li>
1033
+ * <li>
1034
+ * <p>
1035
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetFaceLivenessSessionResults.html">GetFaceLivenessSessionResults</a>
1036
+ * </p>
1037
+ * </li>
1038
+ * <li>
1039
+ * <p>
1040
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_rekognitionstreaming_StartFaceLivenessSession.html">StartFaceLivenessSession</a>
1041
+ * </p>
1042
+ * </li>
1043
+ * </ul>
1044
+ * <p>
1045
+ * <b>Amazon Rekognition Streaming Video</b>
1017
1046
  * </p>
1018
1047
  * <ul>
1019
1048
  * <li>
@@ -243,10 +243,14 @@ export type RekognitionClientResolvedConfigType = __SmithyResolvedConfiguration<
243
243
  export interface RekognitionClientResolvedConfig extends RekognitionClientResolvedConfigType {
244
244
  }
245
245
  /**
246
- * <p>This is the API Reference for <a href="https://docs.aws.amazon.com/rekognition/latest/dg/images.html">Amazon Rekognition Image</a>, <a href="https://docs.aws.amazon.com/rekognition/latest/customlabels-dg/what-is.html">Amazon Rekognition Custom Labels</a>,
247
- * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/video.html">Amazon Rekognition Stored
248
- * Video</a>, <a href="https://docs.aws.amazon.com/rekognition/latest/dg/streaming-video.html">Amazon Rekognition Streaming Video</a>. It provides descriptions of actions, data types, common
249
- * parameters, and common errors.</p>
246
+ * <p>This is the API Reference for
247
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/images.html">Amazon Rekognition Image</a>,
248
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/bulk-analysis.html">Amazon Rekognition Bulk Image Analysis</a>,
249
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/customlabels-dg/what-is.html">Amazon Rekognition Custom Labels</a>,
250
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/video.html">Amazon Rekognition Stored Video</a>,
251
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/face-liveness.html">Amazon Rekognition Face Liveness</a>,
252
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/streaming-video.html">Amazon Rekognition Streaming Video</a>.
253
+ * It provides descriptions of actions, data types, common parameters, and common errors.</p>
250
254
  * <p>
251
255
  * <b>Amazon Rekognition Image</b>
252
256
  * </p>
@@ -328,11 +332,6 @@ export interface RekognitionClientResolvedConfig extends RekognitionClientResolv
328
332
  * </li>
329
333
  * <li>
330
334
  * <p>
331
- * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetMediaAnalysisJob.html">GetMediaAnalysisJob</a>
332
- * </p>
333
- * </li>
334
- * <li>
335
- * <p>
336
335
  * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_IndexFaces.html">IndexFaces</a>
337
336
  * </p>
338
337
  * </li>
@@ -343,11 +342,6 @@ export interface RekognitionClientResolvedConfig extends RekognitionClientResolv
343
342
  * </li>
344
343
  * <li>
345
344
  * <p>
346
- * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListMediaAnalysisJob.html">ListMediaAnalysisJob</a>
347
- * </p>
348
- * </li>
349
- * <li>
350
- * <p>
351
345
  * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListFaces.html">ListFaces</a>
352
346
  * </p>
353
347
  * </li>
@@ -381,6 +375,21 @@ export interface RekognitionClientResolvedConfig extends RekognitionClientResolv
381
375
  * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_SearchUsersByImage.html">SearchUsersByImage</a>
382
376
  * </p>
383
377
  * </li>
378
+ * </ul>
379
+ * <p>
380
+ * <b>Amazon Rekognition Bulk Image Analysis</b>
381
+ * </p>
382
+ * <ul>
383
+ * <li>
384
+ * <p>
385
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetMediaAnalysisJob.html">GetMediaAnalysisJob</a>
386
+ * </p>
387
+ * </li>
388
+ * <li>
389
+ * <p>
390
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListMediaAnalysisJob.html">ListMediaAnalysisJob</a>
391
+ * </p>
392
+ * </li>
384
393
  * <li>
385
394
  * <p>
386
395
  * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartMediaAnalysisJob.html">StartMediaAnalysisJob</a>
@@ -493,7 +502,7 @@ export interface RekognitionClientResolvedConfig extends RekognitionClientResolv
493
502
  * </li>
494
503
  * </ul>
495
504
  * <p>
496
- * <b>Amazon Rekognition Video Stored Video</b>
505
+ * <b>Amazon Rekognition Stored Video</b>
497
506
  * </p>
498
507
  * <ul>
499
508
  * <li>
@@ -578,7 +587,27 @@ export interface RekognitionClientResolvedConfig extends RekognitionClientResolv
578
587
  * </li>
579
588
  * </ul>
580
589
  * <p>
581
- * <b>Amazon Rekognition Video Streaming Video</b>
590
+ * <b>Amazon Rekognition Face Liveness</b>
591
+ * </p>
592
+ * <ul>
593
+ * <li>
594
+ * <p>
595
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateFaceLivenessSession.html">CreateFaceLivenessSession</a>
596
+ * </p>
597
+ * </li>
598
+ * <li>
599
+ * <p>
600
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetFaceLivenessSessionResults.html">GetFaceLivenessSessionResults</a>
601
+ * </p>
602
+ * </li>
603
+ * <li>
604
+ * <p>
605
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_rekognitionstreaming_StartFaceLivenessSession.html">StartFaceLivenessSession</a>
606
+ * </p>
607
+ * </li>
608
+ * </ul>
609
+ * <p>
610
+ * <b>Amazon Rekognition Streaming Video</b>
582
611
  * </p>
583
612
  * <ul>
584
613
  * <li>
@@ -34,6 +34,12 @@ declare const CreateFaceLivenessSessionCommand_base: {
34
34
  * when <code>GetFaceLivenessSessionResults</code> is called. This number is between 0 and 4. By
35
35
  * default, it is set to 0. The limit is best effort and based on the duration of the
36
36
  * selfie-video. </p>
37
+ * <p>You can use the <code>ChallengePreferences</code> option in the <code>Settings</code> parameter to choose between the
38
+ * 'FaceMovementAndLightChallenge' or FaceMovementChallenge' settings. See the
39
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/face-liveness-shared-responsibility-model.html">Shared Responsibility</a>
40
+ * page for details on guidance for which setting to choose between these two settings depending on
41
+ * your use case and preferences. This parameter is optional and if no parameter is provided, then
42
+ * the 'FaceMovementAndLightChallenge' settings is applied by default.</p>
37
43
  * @example
38
44
  * Use a bare-bones client and the command you need to make an API call.
39
45
  * ```javascript
@@ -24,7 +24,14 @@ declare const CreateStreamProcessorCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Creates an Amazon Rekognition stream processor that you can use to detect and recognize faces or to detect labels in a streaming video.</p>
27
+ * <important>
28
+ * <p>Service availability notice: Streaming Video and Bulk Image Analysis is no longer available to new customers. For more information, see
29
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/rekognition-availability-changes.html">Rekognition feature availability changes</a>.</p>
30
+ * <p>
31
+ * <b>This change does not impact the availability of other Amazon Rekognition features.</b>
32
+ * </p>
33
+ * </important>
34
+ * <p>Creates an Amazon Rekognition stream processor that you can use to detect and recognize faces or to detect labels in a streaming video.</p>
28
35
  * <p>Amazon Rekognition Video is a consumer of live video from Amazon Kinesis Video Streams. There are two different settings for stream processors in Amazon Rekognition: detecting faces and detecting labels.</p>
29
36
  * <ul>
30
37
  * <li>
@@ -24,7 +24,14 @@ declare const DeleteStreamProcessorCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Deletes the stream processor identified by <code>Name</code>. You assign the value for <code>Name</code> when you create the stream processor with
27
+ * <important>
28
+ * <p>Service availability notice: Streaming Video and Bulk Image Analysis is no longer available to new customers. For more information, see
29
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/rekognition-availability-changes.html">Rekognition feature availability changes</a>.</p>
30
+ * <p>
31
+ * <b>This change does not impact the availability of other Amazon Rekognition features.</b>
32
+ * </p>
33
+ * </important>
34
+ * <p>Deletes the stream processor identified by <code>Name</code>. You assign the value for <code>Name</code> when you create the stream processor with
28
35
  * <a>CreateStreamProcessor</a>. You might not be able to use the same name for a stream processor for a few seconds after calling <code>DeleteStreamProcessor</code>.</p>
29
36
  * @example
30
37
  * Use a bare-bones client and the command you need to make an API call.
@@ -24,7 +24,14 @@ declare const DescribeStreamProcessorCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Provides information about a stream processor created by <a>CreateStreamProcessor</a>. You can get information about the input and output streams, the input parameters for the face recognition being performed,
27
+ * <important>
28
+ * <p>Service availability notice: Streaming Video and Bulk Image Analysis is no longer available to new customers. For more information, see
29
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/rekognition-availability-changes.html">Rekognition feature availability changes</a>.</p>
30
+ * <p>
31
+ * <b>This change does not impact the availability of other Amazon Rekognition features.</b>
32
+ * </p>
33
+ * </important>
34
+ * <p>Provides information about a stream processor created by <a>CreateStreamProcessor</a>. You can get information about the input and output streams, the input parameters for the face recognition being performed,
28
35
  * and the current status of the stream processor.</p>
29
36
  * @example
30
37
  * Use a bare-bones client and the command you need to make an API call.
@@ -33,6 +33,9 @@ declare const GetFaceLivenessSessionResultsCommand_base: {
33
33
  * defined by the <code>AuditImagesLimit</code> paramater when calling
34
34
  * <code>CreateFaceLivenessSession</code>. Reference images are always returned when
35
35
  * possible.</p>
36
+ * <p>For a session that has completed, the response can also include a <code>Feedback</code>
37
+ * list describing conditions that were detected in the selfie-video, such as low lighting or an
38
+ * obstructed face, and <code>Metadata</code> about the client that streamed the session.</p>
36
39
  * @example
37
40
  * Use a bare-bones client and the command you need to make an API call.
38
41
  * ```javascript
@@ -84,6 +87,15 @@ declare const GetFaceLivenessSessionResultsCommand_base: {
84
87
  * // Type: "FaceMovementAndLightChallenge" || "FaceMovementChallenge", // required
85
88
  * // Version: "STRING_VALUE", // required
86
89
  * // },
90
+ * // Feedback: [ // FeedbackList
91
+ * // { // FeedbackItem
92
+ * // Code: "FACE_NOT_VISIBLE" || "FACE_OBSTRUCTION_DETECTED" || "LOW_VIDEO_QUALITY_DETECTED" || "FACE_NOT_ALIGNED" || "EYES_CLOSED_DETECTED" || "LOW_LIGHTING_DETECTED" || "HIGH_LIGHTING_DETECTED", // required
93
+ * // Message: "STRING_VALUE", // required
94
+ * // },
95
+ * // ],
96
+ * // Metadata: { // SessionMetadata
97
+ * // SDKType: "STRING_VALUE", // required
98
+ * // },
87
99
  * // };
88
100
  *
89
101
  * ```
@@ -24,7 +24,14 @@ declare const GetMediaAnalysisJobCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Retrieves the results for a given media analysis job.
27
+ * <important>
28
+ * <p>Service availability notice: Streaming Video and Bulk Image Analysis is no longer available to new customers. For more information, see
29
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/rekognition-availability-changes.html">Rekognition feature availability changes</a>.</p>
30
+ * <p>
31
+ * <b>This change does not impact the availability of other Amazon Rekognition features.</b>
32
+ * </p>
33
+ * </important>
34
+ * <p>Retrieves the results for a given media analysis job.
28
35
  * Takes a <code>JobId</code> returned by StartMediaAnalysisJob.</p>
29
36
  * @example
30
37
  * Use a bare-bones client and the command you need to make an API call.
@@ -24,7 +24,14 @@ declare const ListMediaAnalysisJobsCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Returns a list of media analysis jobs. Results are sorted by <code>CreationTimestamp</code> in descending order.</p>
27
+ * <important>
28
+ * <p>Service availability notice: Streaming Video and Bulk Image Analysis is no longer available to new customers. For more information, see
29
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/rekognition-availability-changes.html">Rekognition feature availability changes</a>.</p>
30
+ * <p>
31
+ * <b>This change does not impact the availability of other Amazon Rekognition features.</b>
32
+ * </p>
33
+ * </important>
34
+ * <p>Returns a list of media analysis jobs. Results are sorted by <code>CreationTimestamp</code> in descending order.</p>
28
35
  * @example
29
36
  * Use a bare-bones client and the command you need to make an API call.
30
37
  * ```javascript
@@ -24,7 +24,14 @@ declare const ListStreamProcessorsCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Gets a list of stream processors that you have created with <a>CreateStreamProcessor</a>. </p>
27
+ * <important>
28
+ * <p>Service availability notice: Streaming Video and Bulk Image Analysis is no longer available to new customers. For more information, see
29
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/rekognition-availability-changes.html">Rekognition feature availability changes</a>.</p>
30
+ * <p>
31
+ * <b>This change does not impact the availability of other Amazon Rekognition features.</b>
32
+ * </p>
33
+ * </important>
34
+ * <p>Gets a list of stream processors that you have created with <a>CreateStreamProcessor</a>. </p>
28
35
  * @example
29
36
  * Use a bare-bones client and the command you need to make an API call.
30
37
  * ```javascript
@@ -24,7 +24,14 @@ declare const StartMediaAnalysisJobCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Initiates a new media analysis job. Accepts a manifest file in an Amazon S3 bucket. The
27
+ * <important>
28
+ * <p>Service availability notice: Streaming Video and Bulk Image Analysis is no longer available to new customers. For more information, see
29
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/rekognition-availability-changes.html">Rekognition feature availability changes</a>.</p>
30
+ * <p>
31
+ * <b>This change does not impact the availability of other Amazon Rekognition features.</b>
32
+ * </p>
33
+ * </important>
34
+ * <p>Initiates a new media analysis job. Accepts a manifest file in an Amazon S3 bucket. The
28
35
  * output is a manifest file and a summary of the manifest stored in the Amazon S3 bucket.</p>
29
36
  * @example
30
37
  * Use a bare-bones client and the command you need to make an API call.
@@ -24,7 +24,14 @@ declare const StartStreamProcessorCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Starts processing a stream processor. You create a stream processor by calling <a>CreateStreamProcessor</a>.
27
+ * <important>
28
+ * <p>Service availability notice: Streaming Video and Bulk Image Analysis is no longer available to new customers. For more information, see
29
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/rekognition-availability-changes.html">Rekognition feature availability changes</a>.</p>
30
+ * <p>
31
+ * <b>This change does not impact the availability of other Amazon Rekognition features.</b>
32
+ * </p>
33
+ * </important>
34
+ * <p>Starts processing a stream processor. You create a stream processor by calling <a>CreateStreamProcessor</a>.
28
35
  * To tell <code>StartStreamProcessor</code> which stream processor to start, use the value of the <code>Name</code> field specified in the call to
29
36
  * <code>CreateStreamProcessor</code>.</p>
30
37
  * <p>If you are using a label detection stream processor to detect labels, you need to provide a <code>Start selector</code> and a <code>Stop selector</code> to determine the length of the stream processing time.</p>
@@ -24,7 +24,14 @@ declare const StopStreamProcessorCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Stops a running stream processor that was created by <a>CreateStreamProcessor</a>.</p>
27
+ * <important>
28
+ * <p>Service availability notice: Streaming Video and Bulk Image Analysis is no longer available to new customers. For more information, see
29
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/rekognition-availability-changes.html">Rekognition feature availability changes</a>.</p>
30
+ * <p>
31
+ * <b>This change does not impact the availability of other Amazon Rekognition features.</b>
32
+ * </p>
33
+ * </important>
34
+ * <p>Stops a running stream processor that was created by <a>CreateStreamProcessor</a>.</p>
28
35
  * @example
29
36
  * Use a bare-bones client and the command you need to make an API call.
30
37
  * ```javascript
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateStreamProcessorRequest, UpdateStreamProcessorResponse } from "../models/models_0";
2
+ import type { UpdateStreamProcessorRequest, UpdateStreamProcessorResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -24,7 +24,14 @@ declare const UpdateStreamProcessorCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>
27
+ * <important>
28
+ * <p>Service availability notice: Streaming Video and Bulk Image Analysis is no longer available to new customers. For more information, see
29
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/rekognition-availability-changes.html">Rekognition feature availability changes</a>.</p>
30
+ * <p>
31
+ * <b>This change does not impact the availability of other Amazon Rekognition features.</b>
32
+ * </p>
33
+ * </important>
34
+ * <p>
28
35
  * Allows you to update a stream processor. You can change some settings and regions of interest and delete certain parameters.
29
36
  * </p>
30
37
  * @example
@@ -1,8 +1,12 @@
1
1
  /**
2
- * <p>This is the API Reference for <a href="https://docs.aws.amazon.com/rekognition/latest/dg/images.html">Amazon Rekognition Image</a>, <a href="https://docs.aws.amazon.com/rekognition/latest/customlabels-dg/what-is.html">Amazon Rekognition Custom Labels</a>,
3
- * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/video.html">Amazon Rekognition Stored
4
- * Video</a>, <a href="https://docs.aws.amazon.com/rekognition/latest/dg/streaming-video.html">Amazon Rekognition Streaming Video</a>. It provides descriptions of actions, data types, common
5
- * parameters, and common errors.</p>
2
+ * <p>This is the API Reference for
3
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/images.html">Amazon Rekognition Image</a>,
4
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/bulk-analysis.html">Amazon Rekognition Bulk Image Analysis</a>,
5
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/customlabels-dg/what-is.html">Amazon Rekognition Custom Labels</a>,
6
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/video.html">Amazon Rekognition Stored Video</a>,
7
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/face-liveness.html">Amazon Rekognition Face Liveness</a>,
8
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/streaming-video.html">Amazon Rekognition Streaming Video</a>.
9
+ * It provides descriptions of actions, data types, common parameters, and common errors.</p>
6
10
  * <p>
7
11
  * <b>Amazon Rekognition Image</b>
8
12
  * </p>
@@ -84,11 +88,6 @@
84
88
  * </li>
85
89
  * <li>
86
90
  * <p>
87
- * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetMediaAnalysisJob.html">GetMediaAnalysisJob</a>
88
- * </p>
89
- * </li>
90
- * <li>
91
- * <p>
92
91
  * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_IndexFaces.html">IndexFaces</a>
93
92
  * </p>
94
93
  * </li>
@@ -99,11 +98,6 @@
99
98
  * </li>
100
99
  * <li>
101
100
  * <p>
102
- * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListMediaAnalysisJob.html">ListMediaAnalysisJob</a>
103
- * </p>
104
- * </li>
105
- * <li>
106
- * <p>
107
101
  * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListFaces.html">ListFaces</a>
108
102
  * </p>
109
103
  * </li>
@@ -137,6 +131,21 @@
137
131
  * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_SearchUsersByImage.html">SearchUsersByImage</a>
138
132
  * </p>
139
133
  * </li>
134
+ * </ul>
135
+ * <p>
136
+ * <b>Amazon Rekognition Bulk Image Analysis</b>
137
+ * </p>
138
+ * <ul>
139
+ * <li>
140
+ * <p>
141
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetMediaAnalysisJob.html">GetMediaAnalysisJob</a>
142
+ * </p>
143
+ * </li>
144
+ * <li>
145
+ * <p>
146
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListMediaAnalysisJob.html">ListMediaAnalysisJob</a>
147
+ * </p>
148
+ * </li>
140
149
  * <li>
141
150
  * <p>
142
151
  * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartMediaAnalysisJob.html">StartMediaAnalysisJob</a>
@@ -249,7 +258,7 @@
249
258
  * </li>
250
259
  * </ul>
251
260
  * <p>
252
- * <b>Amazon Rekognition Video Stored Video</b>
261
+ * <b>Amazon Rekognition Stored Video</b>
253
262
  * </p>
254
263
  * <ul>
255
264
  * <li>
@@ -334,7 +343,27 @@
334
343
  * </li>
335
344
  * </ul>
336
345
  * <p>
337
- * <b>Amazon Rekognition Video Streaming Video</b>
346
+ * <b>Amazon Rekognition Face Liveness</b>
347
+ * </p>
348
+ * <ul>
349
+ * <li>
350
+ * <p>
351
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateFaceLivenessSession.html">CreateFaceLivenessSession</a>
352
+ * </p>
353
+ * </li>
354
+ * <li>
355
+ * <p>
356
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetFaceLivenessSessionResults.html">GetFaceLivenessSessionResults</a>
357
+ * </p>
358
+ * </li>
359
+ * <li>
360
+ * <p>
361
+ * <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_rekognitionstreaming_StartFaceLivenessSession.html">StartFaceLivenessSession</a>
362
+ * </p>
363
+ * </li>
364
+ * </ul>
365
+ * <p>
366
+ * <b>Amazon Rekognition Streaming Video</b>
338
367
  * </p>
339
368
  * <ul>
340
369
  * <li>
@@ -389,4 +418,5 @@ export * from "./schemas/schemas_0";
389
418
  export * from "./models/enums";
390
419
  export * from "./models/errors";
391
420
  export * from "./models/models_0";
421
+ export * from "./models/models_1";
392
422
  export { RekognitionServiceException } from "./models/RekognitionServiceException";
@@ -441,6 +441,23 @@ export declare const FaceSearchSortBy: {
441
441
  * @public
442
442
  */
443
443
  export type FaceSearchSortBy = (typeof FaceSearchSortBy)[keyof typeof FaceSearchSortBy];
444
+ /**
445
+ * @public
446
+ * @enum
447
+ */
448
+ export declare const FeedbackCode: {
449
+ readonly EYES_CLOSED_DETECTED: "EYES_CLOSED_DETECTED";
450
+ readonly FACE_NOT_ALIGNED: "FACE_NOT_ALIGNED";
451
+ readonly FACE_NOT_VISIBLE: "FACE_NOT_VISIBLE";
452
+ readonly FACE_OBSTRUCTION_DETECTED: "FACE_OBSTRUCTION_DETECTED";
453
+ readonly HIGH_LIGHTING_DETECTED: "HIGH_LIGHTING_DETECTED";
454
+ readonly LOW_LIGHTING_DETECTED: "LOW_LIGHTING_DETECTED";
455
+ readonly LOW_VIDEO_QUALITY_DETECTED: "LOW_VIDEO_QUALITY_DETECTED";
456
+ };
457
+ /**
458
+ * @public
459
+ */
460
+ export type FeedbackCode = (typeof FeedbackCode)[keyof typeof FeedbackCode];
444
461
  /**
445
462
  * @public
446
463
  * @enum
@@ -1,5 +1,5 @@
1
1
  import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/core/serde";
2
- import type { Attribute, BodyPart, CelebrityRecognitionSortBy, ChallengeType, ContentClassifier, ContentModerationAggregateBy, ContentModerationSortBy, CustomizationFeature, DatasetStatus, DatasetStatusMessageCode, DatasetType, DetectLabelsFeatureName, EmotionName, FaceAttributes, FaceSearchSortBy, GenderType, KnownGenderType, LabelDetectionAggregateBy, LabelDetectionFeatureName, LabelDetectionSortBy, LandmarkType, LivenessSessionStatus, MediaAnalysisJobFailureCode, MediaAnalysisJobStatus, OrientationCorrection, PersonTrackingSortBy, ProjectAutoUpdate, ProjectStatus, ProjectVersionStatus, ProtectiveEquipmentType, QualityFilter, Reason, SegmentType, StreamProcessorParameterToDelete, StreamProcessorStatus, TechnicalCueType, TextTypes, UnsearchedFaceReason, UnsuccessfulFaceAssociationReason, UnsuccessfulFaceDeletionReason, UnsuccessfulFaceDisassociationReason, UserStatus, VideoColorRange, VideoJobStatus } from "./enums";
2
+ import type { Attribute, BodyPart, CelebrityRecognitionSortBy, ChallengeType, ContentClassifier, ContentModerationAggregateBy, ContentModerationSortBy, CustomizationFeature, DatasetStatus, DatasetStatusMessageCode, DatasetType, DetectLabelsFeatureName, EmotionName, FaceAttributes, FaceSearchSortBy, FeedbackCode, GenderType, KnownGenderType, LabelDetectionAggregateBy, LabelDetectionFeatureName, LabelDetectionSortBy, LandmarkType, LivenessSessionStatus, MediaAnalysisJobFailureCode, MediaAnalysisJobStatus, OrientationCorrection, PersonTrackingSortBy, ProjectAutoUpdate, ProjectStatus, ProjectVersionStatus, ProtectiveEquipmentType, QualityFilter, Reason, SegmentType, StreamProcessorStatus, TechnicalCueType, TextTypes, UnsearchedFaceReason, UnsuccessfulFaceAssociationReason, UnsuccessfulFaceDeletionReason, UnsuccessfulFaceDisassociationReason, UserStatus, VideoColorRange, VideoJobStatus } from "./enums";
3
3
  /**
4
4
  * <p>Structure containing the estimated age range, in years, for a face.</p>
5
5
  * <p>Amazon Rekognition estimates an age range for faces detected in the input image. Estimated age
@@ -4159,6 +4159,25 @@ export interface FaceRecord {
4159
4159
  */
4160
4160
  FaceDetail?: FaceDetail | undefined;
4161
4161
  }
4162
+ /**
4163
+ * <p>Describes a condition that was detected in the Face Liveness video and that contributed to
4164
+ * the confidence score returned for the session.</p>
4165
+ * @public
4166
+ */
4167
+ export interface FeedbackItem {
4168
+ /**
4169
+ * <p>A code identifying the condition that was detected during the Face Liveness session.</p>
4170
+ * @public
4171
+ */
4172
+ Code: FeedbackCode | undefined;
4173
+ /**
4174
+ * <p>A human-readable description of the detected condition, suitable for displaying to an end
4175
+ * user before they retry a Face Liveness check. Use <code>Code</code> rather than this message
4176
+ * for programmatic decisions, because the message text can change.</p>
4177
+ * @public
4178
+ */
4179
+ Message: string | undefined;
4180
+ }
4162
4181
  /**
4163
4182
  * @public
4164
4183
  */
@@ -4528,6 +4547,23 @@ export interface GetFaceLivenessSessionResultsRequest {
4528
4547
  */
4529
4548
  SessionId: string | undefined;
4530
4549
  }
4550
+ /**
4551
+ * <p>Contains metadata about the client that streamed the video for a Face Liveness
4552
+ * session.</p>
4553
+ * @public
4554
+ */
4555
+ export interface SessionMetadata {
4556
+ /**
4557
+ * <p>The type of SDK that was used to stream the video for the Face Liveness session.</p>
4558
+ * <note>
4559
+ * <p>This value is self-reported by the client that streamed the session, and
4560
+ * Amazon Rekognition doesn't verify it. Don't rely on it for authentication, authorization, or any
4561
+ * other security decision.</p>
4562
+ * </note>
4563
+ * @public
4564
+ */
4565
+ SDKType: string | undefined;
4566
+ }
4531
4567
  /**
4532
4568
  * @public
4533
4569
  */
@@ -4572,6 +4608,19 @@ export interface GetFaceLivenessSessionResultsResponse {
4572
4608
  * @public
4573
4609
  */
4574
4610
  Challenge?: Challenge | undefined;
4611
+ /**
4612
+ * <p>A list of conditions that were detected in the Face Liveness video and that contributed to
4613
+ * the returned <code>Confidence</code> score. Each item contains a code and a human-readable
4614
+ * message. Feedback is returned only for sessions with a <code>Status</code> of
4615
+ * <code>SUCCEEDED</code>, and the list is empty when no such conditions were detected.</p>
4616
+ * @public
4617
+ */
4618
+ Feedback?: FeedbackItem[] | undefined;
4619
+ /**
4620
+ * <p>Metadata about the client that streamed the video for the Face Liveness session.</p>
4621
+ * @public
4622
+ */
4623
+ Metadata?: SessionMetadata | undefined;
4575
4624
  }
4576
4625
  /**
4577
4626
  * @public
@@ -7445,49 +7494,3 @@ export interface StreamProcessorSettingsForUpdate {
7445
7494
  */
7446
7495
  ConnectedHomeForUpdate?: ConnectedHomeSettingsForUpdate | undefined;
7447
7496
  }
7448
- /**
7449
- * @public
7450
- */
7451
- export interface UpdateStreamProcessorRequest {
7452
- /**
7453
- * <p>
7454
- * Name of the stream processor that you want to update.
7455
- * </p>
7456
- * @public
7457
- */
7458
- Name: string | undefined;
7459
- /**
7460
- * <p>
7461
- * The stream processor settings that you want to update. Label detection settings can be updated to detect different labels with a different minimum confidence.
7462
- * </p>
7463
- * @public
7464
- */
7465
- SettingsForUpdate?: StreamProcessorSettingsForUpdate | undefined;
7466
- /**
7467
- * <p>
7468
- * Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.
7469
- * </p>
7470
- * @public
7471
- */
7472
- RegionsOfInterestForUpdate?: RegionOfInterest[] | undefined;
7473
- /**
7474
- * <p>
7475
- * Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis.
7476
- * Note that if you opt out at the account level this setting is ignored on individual streams.
7477
- * </p>
7478
- * @public
7479
- */
7480
- DataSharingPreferenceForUpdate?: StreamProcessorDataSharingPreference | undefined;
7481
- /**
7482
- * <p>
7483
- * A list of parameters you want to delete from the stream processor.
7484
- * </p>
7485
- * @public
7486
- */
7487
- ParametersToDelete?: StreamProcessorParameterToDelete[] | undefined;
7488
- }
7489
- /**
7490
- * @public
7491
- */
7492
- export interface UpdateStreamProcessorResponse {
7493
- }
@@ -0,0 +1,48 @@
1
+ import type { StreamProcessorParameterToDelete } from "./enums";
2
+ import type { RegionOfInterest, StreamProcessorDataSharingPreference, StreamProcessorSettingsForUpdate } from "./models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface UpdateStreamProcessorRequest {
7
+ /**
8
+ * <p>
9
+ * Name of the stream processor that you want to update.
10
+ * </p>
11
+ * @public
12
+ */
13
+ Name: string | undefined;
14
+ /**
15
+ * <p>
16
+ * The stream processor settings that you want to update. Label detection settings can be updated to detect different labels with a different minimum confidence.
17
+ * </p>
18
+ * @public
19
+ */
20
+ SettingsForUpdate?: StreamProcessorSettingsForUpdate | undefined;
21
+ /**
22
+ * <p>
23
+ * Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.
24
+ * </p>
25
+ * @public
26
+ */
27
+ RegionsOfInterestForUpdate?: RegionOfInterest[] | undefined;
28
+ /**
29
+ * <p>
30
+ * Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis.
31
+ * Note that if you opt out at the account level this setting is ignored on individual streams.
32
+ * </p>
33
+ * @public
34
+ */
35
+ DataSharingPreferenceForUpdate?: StreamProcessorDataSharingPreference | undefined;
36
+ /**
37
+ * <p>
38
+ * A list of parameters you want to delete from the stream processor.
39
+ * </p>
40
+ * @public
41
+ */
42
+ ParametersToDelete?: StreamProcessorParameterToDelete[] | undefined;
43
+ }
44
+ /**
45
+ * @public
46
+ */
47
+ export interface UpdateStreamProcessorResponse {
48
+ }
@@ -148,6 +148,7 @@ export declare var FaceMatch$: StaticStructureSchema;
148
148
  export declare var FaceOccluded$: StaticStructureSchema;
149
149
  export declare var FaceRecord$: StaticStructureSchema;
150
150
  export declare var FaceSearchSettings$: StaticStructureSchema;
151
+ export declare var FeedbackItem$: StaticStructureSchema;
151
152
  export declare var Gender$: StaticStructureSchema;
152
153
  export declare var GeneralLabelsSettings$: StaticStructureSchema;
153
154
  export declare var Geometry$: StaticStructureSchema;
@@ -261,6 +262,7 @@ export declare var SearchUsersRequest$: StaticStructureSchema;
261
262
  export declare var SearchUsersResponse$: StaticStructureSchema;
262
263
  export declare var SegmentDetection$: StaticStructureSchema;
263
264
  export declare var SegmentTypeInfo$: StaticStructureSchema;
265
+ export declare var SessionMetadata$: StaticStructureSchema;
264
266
  export declare var ShotSegment$: StaticStructureSchema;
265
267
  export declare var Smile$: StaticStructureSchema;
266
268
  export declare var StartCelebrityRecognitionRequest$: StaticStructureSchema;
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { UpdateStreamProcessorRequest, UpdateStreamProcessorResponse } from "../models/models_0";
2
+ import { UpdateStreamProcessorRequest, UpdateStreamProcessorResponse } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface UpdateStreamProcessorCommandInput extends UpdateStreamProcessorRequest {}
5
5
  export interface UpdateStreamProcessorCommandOutput
@@ -11,4 +11,5 @@ export * from "./schemas/schemas_0";
11
11
  export * from "./models/enums";
12
12
  export * from "./models/errors";
13
13
  export * from "./models/models_0";
14
+ export * from "./models/models_1";
14
15
  export { RekognitionServiceException } from "./models/RekognitionServiceException";
@@ -242,6 +242,16 @@ export declare const FaceSearchSortBy: {
242
242
  readonly TIMESTAMP: "TIMESTAMP";
243
243
  };
244
244
  export type FaceSearchSortBy = (typeof FaceSearchSortBy)[keyof typeof FaceSearchSortBy];
245
+ export declare const FeedbackCode: {
246
+ readonly EYES_CLOSED_DETECTED: "EYES_CLOSED_DETECTED";
247
+ readonly FACE_NOT_ALIGNED: "FACE_NOT_ALIGNED";
248
+ readonly FACE_NOT_VISIBLE: "FACE_NOT_VISIBLE";
249
+ readonly FACE_OBSTRUCTION_DETECTED: "FACE_OBSTRUCTION_DETECTED";
250
+ readonly HIGH_LIGHTING_DETECTED: "HIGH_LIGHTING_DETECTED";
251
+ readonly LOW_LIGHTING_DETECTED: "LOW_LIGHTING_DETECTED";
252
+ readonly LOW_VIDEO_QUALITY_DETECTED: "LOW_VIDEO_QUALITY_DETECTED";
253
+ };
254
+ export type FeedbackCode = (typeof FeedbackCode)[keyof typeof FeedbackCode];
245
255
  export declare const VideoJobStatus: {
246
256
  readonly FAILED: "FAILED";
247
257
  readonly IN_PROGRESS: "IN_PROGRESS";
@@ -15,6 +15,7 @@ import {
15
15
  EmotionName,
16
16
  FaceAttributes,
17
17
  FaceSearchSortBy,
18
+ FeedbackCode,
18
19
  GenderType,
19
20
  KnownGenderType,
20
21
  LabelDetectionAggregateBy,
@@ -33,7 +34,6 @@ import {
33
34
  QualityFilter,
34
35
  Reason,
35
36
  SegmentType,
36
- StreamProcessorParameterToDelete,
37
37
  StreamProcessorStatus,
38
38
  TechnicalCueType,
39
39
  TextTypes,
@@ -857,6 +857,10 @@ export interface FaceRecord {
857
857
  Face?: Face | undefined;
858
858
  FaceDetail?: FaceDetail | undefined;
859
859
  }
860
+ export interface FeedbackItem {
861
+ Code: FeedbackCode | undefined;
862
+ Message: string | undefined;
863
+ }
860
864
  export interface GetCelebrityInfoRequest {
861
865
  Id: string | undefined;
862
866
  }
@@ -934,6 +938,9 @@ export interface GetFaceDetectionResponse {
934
938
  export interface GetFaceLivenessSessionResultsRequest {
935
939
  SessionId: string | undefined;
936
940
  }
941
+ export interface SessionMetadata {
942
+ SDKType: string | undefined;
943
+ }
937
944
  export interface GetFaceLivenessSessionResultsResponse {
938
945
  SessionId: string | undefined;
939
946
  Status: LivenessSessionStatus | undefined;
@@ -941,6 +948,8 @@ export interface GetFaceLivenessSessionResultsResponse {
941
948
  ReferenceImage?: AuditImage | undefined;
942
949
  AuditImages?: AuditImage[] | undefined;
943
950
  Challenge?: Challenge | undefined;
951
+ Feedback?: FeedbackItem[] | undefined;
952
+ Metadata?: SessionMetadata | undefined;
944
953
  }
945
954
  export interface GetFaceSearchRequest {
946
955
  JobId: string | undefined;
@@ -1514,11 +1523,3 @@ export interface UpdateDatasetEntriesResponse {}
1514
1523
  export interface StreamProcessorSettingsForUpdate {
1515
1524
  ConnectedHomeForUpdate?: ConnectedHomeSettingsForUpdate | undefined;
1516
1525
  }
1517
- export interface UpdateStreamProcessorRequest {
1518
- Name: string | undefined;
1519
- SettingsForUpdate?: StreamProcessorSettingsForUpdate | undefined;
1520
- RegionsOfInterestForUpdate?: RegionOfInterest[] | undefined;
1521
- DataSharingPreferenceForUpdate?: StreamProcessorDataSharingPreference | undefined;
1522
- ParametersToDelete?: StreamProcessorParameterToDelete[] | undefined;
1523
- }
1524
- export interface UpdateStreamProcessorResponse {}
@@ -0,0 +1,14 @@
1
+ import { StreamProcessorParameterToDelete } from "./enums";
2
+ import {
3
+ RegionOfInterest,
4
+ StreamProcessorDataSharingPreference,
5
+ StreamProcessorSettingsForUpdate,
6
+ } from "./models_0";
7
+ export interface UpdateStreamProcessorRequest {
8
+ Name: string | undefined;
9
+ SettingsForUpdate?: StreamProcessorSettingsForUpdate | undefined;
10
+ RegionsOfInterestForUpdate?: RegionOfInterest[] | undefined;
11
+ DataSharingPreferenceForUpdate?: StreamProcessorDataSharingPreference | undefined;
12
+ ParametersToDelete?: StreamProcessorParameterToDelete[] | undefined;
13
+ }
14
+ export interface UpdateStreamProcessorResponse {}
@@ -143,6 +143,7 @@ export declare var FaceMatch$: StaticStructureSchema;
143
143
  export declare var FaceOccluded$: StaticStructureSchema;
144
144
  export declare var FaceRecord$: StaticStructureSchema;
145
145
  export declare var FaceSearchSettings$: StaticStructureSchema;
146
+ export declare var FeedbackItem$: StaticStructureSchema;
146
147
  export declare var Gender$: StaticStructureSchema;
147
148
  export declare var GeneralLabelsSettings$: StaticStructureSchema;
148
149
  export declare var Geometry$: StaticStructureSchema;
@@ -256,6 +257,7 @@ export declare var SearchUsersRequest$: StaticStructureSchema;
256
257
  export declare var SearchUsersResponse$: StaticStructureSchema;
257
258
  export declare var SegmentDetection$: StaticStructureSchema;
258
259
  export declare var SegmentTypeInfo$: StaticStructureSchema;
260
+ export declare var SessionMetadata$: StaticStructureSchema;
259
261
  export declare var ShotSegment$: StaticStructureSchema;
260
262
  export declare var Smile$: StaticStructureSchema;
261
263
  export declare var StartCelebrityRecognitionRequest$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rekognition",
3
- "version": "3.1139.0",
3
+ "version": "3.1141.0",
4
4
  "description": "AWS SDK for JavaScript Rekognition Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-rekognition",
6
6
  "license": "Apache-2.0",