@aws-sdk/client-rekognition 3.208.0 → 3.209.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.
- package/README.md +4 -13
- package/dist-cjs/endpoint/ruleset.js +6 -6
- package/dist-cjs/models/models_0.js +63 -6
- package/dist-cjs/protocols/Aws_json1_1.js +138 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -1
- package/dist-es/endpoint/ruleset.js +6 -6
- package/dist-es/models/models_0.js +47 -0
- package/dist-es/protocols/Aws_json1_1.js +138 -0
- package/dist-es/runtimeConfig.shared.js +2 -1
- package/dist-types/Rekognition.d.ts +226 -229
- package/dist-types/RekognitionClient.d.ts +4 -17
- package/dist-types/commands/CompareFacesCommand.d.ts +30 -41
- package/dist-types/commands/CreateCollectionCommand.d.ts +5 -3
- package/dist-types/commands/DeleteCollectionCommand.d.ts +3 -3
- package/dist-types/commands/DetectFacesCommand.d.ts +6 -10
- package/dist-types/commands/DetectLabelsCommand.d.ts +83 -38
- package/dist-types/commands/DetectModerationLabelsCommand.d.ts +8 -8
- package/dist-types/commands/DetectTextCommand.d.ts +4 -2
- package/dist-types/commands/GetCelebrityInfoCommand.d.ts +2 -2
- package/dist-types/commands/IndexFacesCommand.d.ts +22 -28
- package/dist-types/commands/ListCollectionsCommand.d.ts +7 -5
- package/dist-types/commands/ListFacesCommand.d.ts +6 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -4
- package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +7 -10
- package/dist-types/commands/SearchFacesByImageCommand.d.ts +20 -29
- package/dist-types/commands/SearchFacesCommand.d.ts +7 -11
- package/dist-types/commands/TagResourceCommand.d.ts +5 -5
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -4
- package/dist-types/models/models_0.d.ts +564 -320
- package/dist-types/runtimeConfig.shared.d.ts +2 -3
- package/dist-types/ts3.4/models/models_0.d.ts +96 -10
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -3
- package/package.json +11 -13
package/README.md
CHANGED
|
@@ -9,17 +9,13 @@
|
|
|
9
9
|
|
|
10
10
|
AWS SDK for JavaScript Rekognition Client for Node.js, Browser and React Native.
|
|
11
11
|
|
|
12
|
-
<p>This is the API Reference for <a href="https://docs.aws.amazon.com/rekognition/latest/dg/images.html">Amazon Rekognition Image</a>,
|
|
13
|
-
<a href="https://docs.aws.amazon.com/rekognition/latest/
|
|
14
|
-
<a href="https://docs.aws.amazon.com/rekognition/latest/dg/video.html">Amazon Rekognition
|
|
15
|
-
|
|
16
|
-
It provides descriptions of actions, data types, common parameters,
|
|
17
|
-
and common errors.</p>
|
|
18
|
-
|
|
12
|
+
<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>,
|
|
13
|
+
<a href="https://docs.aws.amazon.com/rekognition/latest/dg/video.html">Amazon Rekognition Stored
|
|
14
|
+
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
|
|
15
|
+
parameters, and common errors.</p>
|
|
19
16
|
<p>
|
|
20
17
|
<b>Amazon Rekognition Image</b>
|
|
21
18
|
</p>
|
|
22
|
-
|
|
23
19
|
<ul>
|
|
24
20
|
<li>
|
|
25
21
|
<p>
|
|
@@ -107,7 +103,6 @@ and common errors.</p>
|
|
|
107
103
|
</p>
|
|
108
104
|
</li>
|
|
109
105
|
</ul>
|
|
110
|
-
|
|
111
106
|
<p>
|
|
112
107
|
<b>Amazon Rekognition Custom Labels</b>
|
|
113
108
|
</p>
|
|
@@ -213,11 +208,9 @@ and common errors.</p>
|
|
|
213
208
|
</p>
|
|
214
209
|
</li>
|
|
215
210
|
</ul>
|
|
216
|
-
|
|
217
211
|
<p>
|
|
218
212
|
<b>Amazon Rekognition Video Stored Video</b>
|
|
219
213
|
</p>
|
|
220
|
-
|
|
221
214
|
<ul>
|
|
222
215
|
<li>
|
|
223
216
|
<p>
|
|
@@ -300,11 +293,9 @@ and common errors.</p>
|
|
|
300
293
|
</p>
|
|
301
294
|
</li>
|
|
302
295
|
</ul>
|
|
303
|
-
|
|
304
296
|
<p>
|
|
305
297
|
<b>Amazon Rekognition Video Streaming Video</b>
|
|
306
298
|
</p>
|
|
307
|
-
|
|
308
299
|
<ul>
|
|
309
300
|
<li>
|
|
310
301
|
<p>
|
|
@@ -258,12 +258,12 @@ exports.ruleSet = {
|
|
|
258
258
|
{
|
|
259
259
|
ref: "Region",
|
|
260
260
|
},
|
|
261
|
-
"rekognition.us-east-
|
|
261
|
+
"rekognition.us-east-1",
|
|
262
262
|
],
|
|
263
263
|
},
|
|
264
264
|
],
|
|
265
265
|
endpoint: {
|
|
266
|
-
url: "https://rekognition-fips.us-east-
|
|
266
|
+
url: "https://rekognition-fips.us-east-1.amazonaws.com",
|
|
267
267
|
properties: {},
|
|
268
268
|
headers: {},
|
|
269
269
|
},
|
|
@@ -277,12 +277,12 @@ exports.ruleSet = {
|
|
|
277
277
|
{
|
|
278
278
|
ref: "Region",
|
|
279
279
|
},
|
|
280
|
-
"rekognition.us-
|
|
280
|
+
"rekognition.us-east-2",
|
|
281
281
|
],
|
|
282
282
|
},
|
|
283
283
|
],
|
|
284
284
|
endpoint: {
|
|
285
|
-
url: "https://rekognition-fips.us-
|
|
285
|
+
url: "https://rekognition-fips.us-east-2.amazonaws.com",
|
|
286
286
|
properties: {},
|
|
287
287
|
headers: {},
|
|
288
288
|
},
|
|
@@ -296,12 +296,12 @@ exports.ruleSet = {
|
|
|
296
296
|
{
|
|
297
297
|
ref: "Region",
|
|
298
298
|
},
|
|
299
|
-
"rekognition.us-
|
|
299
|
+
"rekognition.us-west-1",
|
|
300
300
|
],
|
|
301
301
|
},
|
|
302
302
|
],
|
|
303
303
|
endpoint: {
|
|
304
|
-
url: "https://rekognition-fips.us-
|
|
304
|
+
url: "https://rekognition-fips.us-west-1.amazonaws.com",
|
|
305
305
|
properties: {},
|
|
306
306
|
headers: {},
|
|
307
307
|
},
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.UpdateStreamProcessorResponseFilterSensitiveLog = exports.UpdateStreamProcessorRequestFilterSensitiveLog = exports.StreamProcessorSettingsForUpdateFilterSensitiveLog = exports.UpdateDatasetEntriesResponseFilterSensitiveLog = exports.UpdateDatasetEntriesRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StopStreamProcessorResponseFilterSensitiveLog = exports.StopStreamProcessorRequestFilterSensitiveLog = exports.StopProjectVersionResponseFilterSensitiveLog = exports.StopProjectVersionRequestFilterSensitiveLog = exports.StartTextDetectionResponseFilterSensitiveLog = exports.StartTextDetectionRequestFilterSensitiveLog = exports.StartTextDetectionFiltersFilterSensitiveLog = exports.StartStreamProcessorResponseFilterSensitiveLog = exports.StartStreamProcessorRequestFilterSensitiveLog = exports.StreamProcessingStopSelectorFilterSensitiveLog = exports.StreamProcessingStartSelectorFilterSensitiveLog = exports.StartSegmentDetectionResponseFilterSensitiveLog = exports.StartSegmentDetectionRequestFilterSensitiveLog = exports.StartSegmentDetectionFiltersFilterSensitiveLog = exports.StartTechnicalCueDetectionFilterFilterSensitiveLog = exports.StartShotDetectionFilterFilterSensitiveLog = exports.StartProjectVersionResponseFilterSensitiveLog = exports.StartProjectVersionRequestFilterSensitiveLog = exports.StartPersonTrackingResponseFilterSensitiveLog = exports.StartPersonTrackingRequestFilterSensitiveLog = void 0;
|
|
3
|
+
exports.StreamProcessorParameterToDelete = exports.VideoTooLargeException = exports.MalformedPolicyDocumentException = exports.Reason = exports.IdempotentParameterMismatchException = exports.SegmentType = exports.TechnicalCueType = exports.PersonTrackingSortBy = exports.LabelDetectionSortBy = exports.VideoColorRange = exports.VideoJobStatus = exports.FaceSearchSortBy = exports.FaceAttributes = exports.TextTypes = exports.HumanLoopQuotaExceededException = exports.DetectLabelsFeatureName = exports.ResourceNotReadyException = exports.StreamProcessorStatus = exports.InvalidPaginationTokenException = exports.ProjectVersionStatus = exports.InvalidPolicyRevisionIdException = exports.ProjectStatus = exports.DatasetStatusMessageCode = exports.DatasetStatus = exports.DatasetType = exports.ResourceAlreadyExistsException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.LimitExceededException = exports.ContentModerationSortBy = exports.ContentClassifier = exports.ThrottlingException = exports.ProvisionedThroughputExceededException = exports.InvalidS3ObjectException = exports.InvalidParameterException = exports.InvalidImageFormatException = exports.InternalServerError = exports.ImageTooLargeException = exports.OrientationCorrection = exports.QualityFilter = exports.CelebrityRecognitionSortBy = exports.GenderType = exports.KnownGenderType = exports.LandmarkType = exports.EmotionName = exports.ProtectiveEquipmentType = exports.BodyPart = exports.Attribute = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.CreateProjectVersionRequestFilterSensitiveLog = exports.TrainingDataFilterSensitiveLog = exports.TestingDataFilterSensitiveLog = exports.CreateProjectResponseFilterSensitiveLog = exports.CreateProjectRequestFilterSensitiveLog = exports.CreateDatasetResponseFilterSensitiveLog = exports.CreateDatasetRequestFilterSensitiveLog = exports.DatasetSourceFilterSensitiveLog = exports.CreateCollectionResponseFilterSensitiveLog = exports.CreateCollectionRequestFilterSensitiveLog = exports.CopyProjectVersionResponseFilterSensitiveLog = exports.CopyProjectVersionRequestFilterSensitiveLog = exports.OutputConfigFilterSensitiveLog = exports.ContentModerationDetectionFilterSensitiveLog = exports.ModerationLabelFilterSensitiveLog = exports.ConnectedHomeSettingsForUpdateFilterSensitiveLog = exports.ConnectedHomeSettingsFilterSensitiveLog = exports.CompareFacesResponseFilterSensitiveLog = exports.CompareFacesMatchFilterSensitiveLog = exports.CompareFacesRequestFilterSensitiveLog = exports.ImageFilterSensitiveLog = exports.ComparedSourceImageFaceFilterSensitiveLog = exports.CelebrityRecognitionFilterSensitiveLog = exports.CelebrityDetailFilterSensitiveLog = exports.FaceDetailFilterSensitiveLog = exports.SunglassesFilterSensitiveLog = exports.MustacheFilterSensitiveLog = exports.MouthOpenFilterSensitiveLog = exports.GenderFilterSensitiveLog = exports.EyeOpenFilterSensitiveLog = exports.EyeglassesFilterSensitiveLog = exports.CelebrityFilterSensitiveLog = exports.KnownGenderFilterSensitiveLog = exports.ComparedFaceFilterSensitiveLog = exports.SmileFilterSensitiveLog = exports.ImageQualityFilterSensitiveLog = exports.PoseFilterSensitiveLog = exports.LandmarkFilterSensitiveLog = exports.EmotionFilterSensitiveLog = exports.ProtectiveEquipmentBodyPartFilterSensitiveLog = exports.EquipmentDetectionFilterSensitiveLog = exports.CoversBodyPartFilterSensitiveLog = exports.BoundingBoxFilterSensitiveLog = exports.BlackFrameFilterSensitiveLog = exports.BeardFilterSensitiveLog = exports.AudioMetadataFilterSensitiveLog = exports.AssetFilterSensitiveLog = exports.GroundTruthManifestFilterSensitiveLog = exports.S3ObjectFilterSensitiveLog = exports.AgeRangeFilterSensitiveLog = void 0;
|
|
5
|
+
exports.ProjectVersionDescriptionFilterSensitiveLog = exports.TrainingDataResultFilterSensitiveLog = exports.TestingDataResultFilterSensitiveLog = exports.ValidationDataFilterSensitiveLog = exports.EvaluationResultFilterSensitiveLog = exports.SummaryFilterSensitiveLog = exports.DescribeProjectVersionsRequestFilterSensitiveLog = exports.DescribeProjectsResponseFilterSensitiveLog = exports.ProjectDescriptionFilterSensitiveLog = exports.DescribeProjectsRequestFilterSensitiveLog = exports.DescribeDatasetResponseFilterSensitiveLog = exports.DescribeDatasetRequestFilterSensitiveLog = exports.DescribeCollectionResponseFilterSensitiveLog = exports.DescribeCollectionRequestFilterSensitiveLog = exports.DeleteStreamProcessorResponseFilterSensitiveLog = exports.DeleteStreamProcessorRequestFilterSensitiveLog = exports.DeleteProjectVersionResponseFilterSensitiveLog = exports.DeleteProjectVersionRequestFilterSensitiveLog = exports.DeleteProjectPolicyResponseFilterSensitiveLog = exports.DeleteProjectPolicyRequestFilterSensitiveLog = exports.DeleteProjectResponseFilterSensitiveLog = exports.DeleteProjectRequestFilterSensitiveLog = exports.DeleteFacesResponseFilterSensitiveLog = exports.DeleteFacesRequestFilterSensitiveLog = exports.DeleteDatasetResponseFilterSensitiveLog = exports.DeleteDatasetRequestFilterSensitiveLog = exports.DeleteCollectionResponseFilterSensitiveLog = exports.DeleteCollectionRequestFilterSensitiveLog = exports.DatasetMetadataFilterSensitiveLog = exports.DatasetLabelDescriptionFilterSensitiveLog = exports.DatasetLabelStatsFilterSensitiveLog = exports.DatasetDescriptionFilterSensitiveLog = exports.DatasetStatsFilterSensitiveLog = exports.DatasetChangesFilterSensitiveLog = exports.CustomLabelFilterSensitiveLog = exports.GeometryFilterSensitiveLog = exports.CreateStreamProcessorResponseFilterSensitiveLog = exports.CreateStreamProcessorRequestFilterSensitiveLog = exports.StreamProcessorSettingsFilterSensitiveLog = exports.FaceSearchSettingsFilterSensitiveLog = exports.RegionOfInterestFilterSensitiveLog = exports.PointFilterSensitiveLog = exports.StreamProcessorOutputFilterSensitiveLog = exports.S3DestinationFilterSensitiveLog = exports.KinesisDataStreamFilterSensitiveLog = exports.StreamProcessorNotificationChannelFilterSensitiveLog = exports.StreamProcessorInputFilterSensitiveLog = exports.KinesisVideoStreamFilterSensitiveLog = exports.StreamProcessorDataSharingPreferenceFilterSensitiveLog = exports.CreateProjectVersionResponseFilterSensitiveLog = void 0;
|
|
6
|
+
exports.GetContentModerationRequestFilterSensitiveLog = exports.GetCelebrityRecognitionResponseFilterSensitiveLog = exports.VideoMetadataFilterSensitiveLog = exports.GetCelebrityRecognitionRequestFilterSensitiveLog = exports.GetCelebrityInfoResponseFilterSensitiveLog = exports.GetCelebrityInfoRequestFilterSensitiveLog = exports.FaceRecordFilterSensitiveLog = exports.FaceMatchFilterSensitiveLog = exports.FaceDetectionFilterSensitiveLog = exports.FaceFilterSensitiveLog = exports.DistributeDatasetEntriesResponseFilterSensitiveLog = exports.DistributeDatasetEntriesRequestFilterSensitiveLog = exports.DistributeDatasetFilterSensitiveLog = exports.DetectTextResponseFilterSensitiveLog = exports.TextDetectionFilterSensitiveLog = exports.DetectTextRequestFilterSensitiveLog = exports.DetectTextFiltersFilterSensitiveLog = exports.DetectProtectiveEquipmentResponseFilterSensitiveLog = exports.ProtectiveEquipmentSummaryFilterSensitiveLog = exports.ProtectiveEquipmentPersonFilterSensitiveLog = exports.DetectProtectiveEquipmentRequestFilterSensitiveLog = exports.ProtectiveEquipmentSummarizationAttributesFilterSensitiveLog = exports.DetectModerationLabelsResponseFilterSensitiveLog = exports.HumanLoopActivationOutputFilterSensitiveLog = exports.DetectModerationLabelsRequestFilterSensitiveLog = exports.HumanLoopConfigFilterSensitiveLog = exports.HumanLoopDataAttributesFilterSensitiveLog = exports.DetectLabelsResponseFilterSensitiveLog = exports.LabelFilterSensitiveLog = exports.ParentFilterSensitiveLog = exports.InstanceFilterSensitiveLog = exports.LabelCategoryFilterSensitiveLog = exports.LabelAliasFilterSensitiveLog = exports.DetectLabelsImagePropertiesFilterSensitiveLog = exports.DetectLabelsImageForegroundFilterSensitiveLog = exports.DetectLabelsImageBackgroundFilterSensitiveLog = exports.DetectLabelsImageQualityFilterSensitiveLog = exports.DominantColorFilterSensitiveLog = exports.DetectLabelsRequestFilterSensitiveLog = exports.DetectLabelsSettingsFilterSensitiveLog = exports.DetectLabelsImagePropertiesSettingsFilterSensitiveLog = exports.GeneralLabelsSettingsFilterSensitiveLog = exports.DetectionFilterFilterSensitiveLog = exports.DetectFacesResponseFilterSensitiveLog = exports.DetectFacesRequestFilterSensitiveLog = exports.DetectCustomLabelsResponseFilterSensitiveLog = exports.DetectCustomLabelsRequestFilterSensitiveLog = exports.DescribeStreamProcessorResponseFilterSensitiveLog = exports.DescribeStreamProcessorRequestFilterSensitiveLog = exports.DescribeProjectVersionsResponseFilterSensitiveLog = void 0;
|
|
7
|
+
exports.SearchFacesByImageRequestFilterSensitiveLog = exports.SearchFacesResponseFilterSensitiveLog = exports.SearchFacesRequestFilterSensitiveLog = exports.RecognizeCelebritiesResponseFilterSensitiveLog = exports.RecognizeCelebritiesRequestFilterSensitiveLog = exports.PutProjectPolicyResponseFilterSensitiveLog = exports.PutProjectPolicyRequestFilterSensitiveLog = exports.NotificationChannelFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListStreamProcessorsResponseFilterSensitiveLog = exports.StreamProcessorFilterSensitiveLog = exports.ListStreamProcessorsRequestFilterSensitiveLog = exports.ListProjectPoliciesResponseFilterSensitiveLog = exports.ProjectPolicyFilterSensitiveLog = exports.ListProjectPoliciesRequestFilterSensitiveLog = exports.ListFacesResponseFilterSensitiveLog = exports.ListFacesRequestFilterSensitiveLog = exports.ListDatasetLabelsResponseFilterSensitiveLog = exports.ListDatasetLabelsRequestFilterSensitiveLog = exports.ListDatasetEntriesResponseFilterSensitiveLog = exports.ListDatasetEntriesRequestFilterSensitiveLog = exports.ListCollectionsResponseFilterSensitiveLog = exports.ListCollectionsRequestFilterSensitiveLog = exports.KinesisVideoStreamStartSelectorFilterSensitiveLog = exports.IndexFacesResponseFilterSensitiveLog = exports.UnindexedFaceFilterSensitiveLog = exports.IndexFacesRequestFilterSensitiveLog = exports.GetTextDetectionResponseFilterSensitiveLog = exports.TextDetectionResultFilterSensitiveLog = exports.GetTextDetectionRequestFilterSensitiveLog = exports.GetSegmentDetectionResponseFilterSensitiveLog = exports.SegmentTypeInfoFilterSensitiveLog = exports.SegmentDetectionFilterSensitiveLog = exports.TechnicalCueSegmentFilterSensitiveLog = exports.ShotSegmentFilterSensitiveLog = exports.GetSegmentDetectionRequestFilterSensitiveLog = exports.GetPersonTrackingResponseFilterSensitiveLog = exports.PersonDetectionFilterSensitiveLog = exports.GetPersonTrackingRequestFilterSensitiveLog = exports.GetLabelDetectionResponseFilterSensitiveLog = exports.LabelDetectionFilterSensitiveLog = exports.GetLabelDetectionRequestFilterSensitiveLog = exports.GetFaceSearchResponseFilterSensitiveLog = exports.PersonMatchFilterSensitiveLog = exports.PersonDetailFilterSensitiveLog = exports.GetFaceSearchRequestFilterSensitiveLog = exports.GetFaceDetectionResponseFilterSensitiveLog = exports.GetFaceDetectionRequestFilterSensitiveLog = exports.GetContentModerationResponseFilterSensitiveLog = void 0;
|
|
8
|
+
exports.UpdateStreamProcessorResponseFilterSensitiveLog = exports.UpdateStreamProcessorRequestFilterSensitiveLog = exports.StreamProcessorSettingsForUpdateFilterSensitiveLog = exports.UpdateDatasetEntriesResponseFilterSensitiveLog = exports.UpdateDatasetEntriesRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StopStreamProcessorResponseFilterSensitiveLog = exports.StopStreamProcessorRequestFilterSensitiveLog = exports.StopProjectVersionResponseFilterSensitiveLog = exports.StopProjectVersionRequestFilterSensitiveLog = exports.StartTextDetectionResponseFilterSensitiveLog = exports.StartTextDetectionRequestFilterSensitiveLog = exports.StartTextDetectionFiltersFilterSensitiveLog = exports.StartStreamProcessorResponseFilterSensitiveLog = exports.StartStreamProcessorRequestFilterSensitiveLog = exports.StreamProcessingStopSelectorFilterSensitiveLog = exports.StreamProcessingStartSelectorFilterSensitiveLog = exports.StartSegmentDetectionResponseFilterSensitiveLog = exports.StartSegmentDetectionRequestFilterSensitiveLog = exports.StartSegmentDetectionFiltersFilterSensitiveLog = exports.StartTechnicalCueDetectionFilterFilterSensitiveLog = exports.StartShotDetectionFilterFilterSensitiveLog = exports.StartProjectVersionResponseFilterSensitiveLog = exports.StartProjectVersionRequestFilterSensitiveLog = exports.StartPersonTrackingResponseFilterSensitiveLog = exports.StartPersonTrackingRequestFilterSensitiveLog = exports.StartLabelDetectionResponseFilterSensitiveLog = exports.StartLabelDetectionRequestFilterSensitiveLog = exports.StartFaceSearchResponseFilterSensitiveLog = exports.StartFaceSearchRequestFilterSensitiveLog = exports.StartFaceDetectionResponseFilterSensitiveLog = exports.StartFaceDetectionRequestFilterSensitiveLog = exports.StartContentModerationResponseFilterSensitiveLog = exports.StartContentModerationRequestFilterSensitiveLog = exports.StartCelebrityRecognitionResponseFilterSensitiveLog = exports.StartCelebrityRecognitionRequestFilterSensitiveLog = exports.VideoFilterSensitiveLog = exports.SearchFacesByImageResponseFilterSensitiveLog = void 0;
|
|
9
9
|
const RekognitionServiceException_1 = require("./RekognitionServiceException");
|
|
10
10
|
class AccessDeniedException extends RekognitionServiceException_1.RekognitionServiceException {
|
|
11
11
|
constructor(opts) {
|
|
@@ -41,6 +41,18 @@ var ProtectiveEquipmentType;
|
|
|
41
41
|
ProtectiveEquipmentType["HAND_COVER"] = "HAND_COVER";
|
|
42
42
|
ProtectiveEquipmentType["HEAD_COVER"] = "HEAD_COVER";
|
|
43
43
|
})(ProtectiveEquipmentType = exports.ProtectiveEquipmentType || (exports.ProtectiveEquipmentType = {}));
|
|
44
|
+
var EmotionName;
|
|
45
|
+
(function (EmotionName) {
|
|
46
|
+
EmotionName["ANGRY"] = "ANGRY";
|
|
47
|
+
EmotionName["CALM"] = "CALM";
|
|
48
|
+
EmotionName["CONFUSED"] = "CONFUSED";
|
|
49
|
+
EmotionName["DISGUSTED"] = "DISGUSTED";
|
|
50
|
+
EmotionName["FEAR"] = "FEAR";
|
|
51
|
+
EmotionName["HAPPY"] = "HAPPY";
|
|
52
|
+
EmotionName["SAD"] = "SAD";
|
|
53
|
+
EmotionName["SURPRISED"] = "SURPRISED";
|
|
54
|
+
EmotionName["UNKNOWN"] = "UNKNOWN";
|
|
55
|
+
})(EmotionName = exports.EmotionName || (exports.EmotionName = {}));
|
|
44
56
|
var LandmarkType;
|
|
45
57
|
(function (LandmarkType) {
|
|
46
58
|
LandmarkType["chinBottom"] = "chinBottom";
|
|
@@ -407,6 +419,11 @@ class ResourceNotReadyException extends RekognitionServiceException_1.Rekognitio
|
|
|
407
419
|
}
|
|
408
420
|
}
|
|
409
421
|
exports.ResourceNotReadyException = ResourceNotReadyException;
|
|
422
|
+
var DetectLabelsFeatureName;
|
|
423
|
+
(function (DetectLabelsFeatureName) {
|
|
424
|
+
DetectLabelsFeatureName["GENERAL_LABELS"] = "GENERAL_LABELS";
|
|
425
|
+
DetectLabelsFeatureName["IMAGE_PROPERTIES"] = "IMAGE_PROPERTIES";
|
|
426
|
+
})(DetectLabelsFeatureName = exports.DetectLabelsFeatureName || (exports.DetectLabelsFeatureName = {}));
|
|
410
427
|
class HumanLoopQuotaExceededException extends RekognitionServiceException_1.RekognitionServiceException {
|
|
411
428
|
constructor(opts) {
|
|
412
429
|
super({
|
|
@@ -972,10 +989,50 @@ const DetectionFilterFilterSensitiveLog = (obj) => ({
|
|
|
972
989
|
...obj,
|
|
973
990
|
});
|
|
974
991
|
exports.DetectionFilterFilterSensitiveLog = DetectionFilterFilterSensitiveLog;
|
|
992
|
+
const GeneralLabelsSettingsFilterSensitiveLog = (obj) => ({
|
|
993
|
+
...obj,
|
|
994
|
+
});
|
|
995
|
+
exports.GeneralLabelsSettingsFilterSensitiveLog = GeneralLabelsSettingsFilterSensitiveLog;
|
|
996
|
+
const DetectLabelsImagePropertiesSettingsFilterSensitiveLog = (obj) => ({
|
|
997
|
+
...obj,
|
|
998
|
+
});
|
|
999
|
+
exports.DetectLabelsImagePropertiesSettingsFilterSensitiveLog = DetectLabelsImagePropertiesSettingsFilterSensitiveLog;
|
|
1000
|
+
const DetectLabelsSettingsFilterSensitiveLog = (obj) => ({
|
|
1001
|
+
...obj,
|
|
1002
|
+
});
|
|
1003
|
+
exports.DetectLabelsSettingsFilterSensitiveLog = DetectLabelsSettingsFilterSensitiveLog;
|
|
975
1004
|
const DetectLabelsRequestFilterSensitiveLog = (obj) => ({
|
|
976
1005
|
...obj,
|
|
977
1006
|
});
|
|
978
1007
|
exports.DetectLabelsRequestFilterSensitiveLog = DetectLabelsRequestFilterSensitiveLog;
|
|
1008
|
+
const DominantColorFilterSensitiveLog = (obj) => ({
|
|
1009
|
+
...obj,
|
|
1010
|
+
});
|
|
1011
|
+
exports.DominantColorFilterSensitiveLog = DominantColorFilterSensitiveLog;
|
|
1012
|
+
const DetectLabelsImageQualityFilterSensitiveLog = (obj) => ({
|
|
1013
|
+
...obj,
|
|
1014
|
+
});
|
|
1015
|
+
exports.DetectLabelsImageQualityFilterSensitiveLog = DetectLabelsImageQualityFilterSensitiveLog;
|
|
1016
|
+
const DetectLabelsImageBackgroundFilterSensitiveLog = (obj) => ({
|
|
1017
|
+
...obj,
|
|
1018
|
+
});
|
|
1019
|
+
exports.DetectLabelsImageBackgroundFilterSensitiveLog = DetectLabelsImageBackgroundFilterSensitiveLog;
|
|
1020
|
+
const DetectLabelsImageForegroundFilterSensitiveLog = (obj) => ({
|
|
1021
|
+
...obj,
|
|
1022
|
+
});
|
|
1023
|
+
exports.DetectLabelsImageForegroundFilterSensitiveLog = DetectLabelsImageForegroundFilterSensitiveLog;
|
|
1024
|
+
const DetectLabelsImagePropertiesFilterSensitiveLog = (obj) => ({
|
|
1025
|
+
...obj,
|
|
1026
|
+
});
|
|
1027
|
+
exports.DetectLabelsImagePropertiesFilterSensitiveLog = DetectLabelsImagePropertiesFilterSensitiveLog;
|
|
1028
|
+
const LabelAliasFilterSensitiveLog = (obj) => ({
|
|
1029
|
+
...obj,
|
|
1030
|
+
});
|
|
1031
|
+
exports.LabelAliasFilterSensitiveLog = LabelAliasFilterSensitiveLog;
|
|
1032
|
+
const LabelCategoryFilterSensitiveLog = (obj) => ({
|
|
1033
|
+
...obj,
|
|
1034
|
+
});
|
|
1035
|
+
exports.LabelCategoryFilterSensitiveLog = LabelCategoryFilterSensitiveLog;
|
|
979
1036
|
const InstanceFilterSensitiveLog = (obj) => ({
|
|
980
1037
|
...obj,
|
|
981
1038
|
});
|
|
@@ -4455,11 +4455,35 @@ const serializeAws_json1_1DetectionFilter = (input, context) => {
|
|
|
4455
4455
|
...(input.MinConfidence != null && { MinConfidence: (0, smithy_client_1.serializeFloat)(input.MinConfidence) }),
|
|
4456
4456
|
};
|
|
4457
4457
|
};
|
|
4458
|
+
const serializeAws_json1_1DetectLabelsFeatureList = (input, context) => {
|
|
4459
|
+
return input
|
|
4460
|
+
.filter((e) => e != null)
|
|
4461
|
+
.map((entry) => {
|
|
4462
|
+
return entry;
|
|
4463
|
+
});
|
|
4464
|
+
};
|
|
4465
|
+
const serializeAws_json1_1DetectLabelsImagePropertiesSettings = (input, context) => {
|
|
4466
|
+
return {
|
|
4467
|
+
...(input.MaxDominantColors != null && { MaxDominantColors: input.MaxDominantColors }),
|
|
4468
|
+
};
|
|
4469
|
+
};
|
|
4458
4470
|
const serializeAws_json1_1DetectLabelsRequest = (input, context) => {
|
|
4459
4471
|
return {
|
|
4472
|
+
...(input.Features != null && { Features: serializeAws_json1_1DetectLabelsFeatureList(input.Features, context) }),
|
|
4460
4473
|
...(input.Image != null && { Image: serializeAws_json1_1Image(input.Image, context) }),
|
|
4461
4474
|
...(input.MaxLabels != null && { MaxLabels: input.MaxLabels }),
|
|
4462
4475
|
...(input.MinConfidence != null && { MinConfidence: (0, smithy_client_1.serializeFloat)(input.MinConfidence) }),
|
|
4476
|
+
...(input.Settings != null && { Settings: serializeAws_json1_1DetectLabelsSettings(input.Settings, context) }),
|
|
4477
|
+
};
|
|
4478
|
+
};
|
|
4479
|
+
const serializeAws_json1_1DetectLabelsSettings = (input, context) => {
|
|
4480
|
+
return {
|
|
4481
|
+
...(input.GeneralLabels != null && {
|
|
4482
|
+
GeneralLabels: serializeAws_json1_1GeneralLabelsSettings(input.GeneralLabels, context),
|
|
4483
|
+
}),
|
|
4484
|
+
...(input.ImageProperties != null && {
|
|
4485
|
+
ImageProperties: serializeAws_json1_1DetectLabelsImagePropertiesSettings(input.ImageProperties, context),
|
|
4486
|
+
}),
|
|
4463
4487
|
};
|
|
4464
4488
|
};
|
|
4465
4489
|
const serializeAws_json1_1DetectModerationLabelsRequest = (input, context) => {
|
|
@@ -4525,6 +4549,29 @@ const serializeAws_json1_1FaceSearchSettings = (input, context) => {
|
|
|
4525
4549
|
...(input.FaceMatchThreshold != null && { FaceMatchThreshold: (0, smithy_client_1.serializeFloat)(input.FaceMatchThreshold) }),
|
|
4526
4550
|
};
|
|
4527
4551
|
};
|
|
4552
|
+
const serializeAws_json1_1GeneralLabelsFilterList = (input, context) => {
|
|
4553
|
+
return input
|
|
4554
|
+
.filter((e) => e != null)
|
|
4555
|
+
.map((entry) => {
|
|
4556
|
+
return entry;
|
|
4557
|
+
});
|
|
4558
|
+
};
|
|
4559
|
+
const serializeAws_json1_1GeneralLabelsSettings = (input, context) => {
|
|
4560
|
+
return {
|
|
4561
|
+
...(input.LabelCategoryExclusionFilters != null && {
|
|
4562
|
+
LabelCategoryExclusionFilters: serializeAws_json1_1GeneralLabelsFilterList(input.LabelCategoryExclusionFilters, context),
|
|
4563
|
+
}),
|
|
4564
|
+
...(input.LabelCategoryInclusionFilters != null && {
|
|
4565
|
+
LabelCategoryInclusionFilters: serializeAws_json1_1GeneralLabelsFilterList(input.LabelCategoryInclusionFilters, context),
|
|
4566
|
+
}),
|
|
4567
|
+
...(input.LabelExclusionFilters != null && {
|
|
4568
|
+
LabelExclusionFilters: serializeAws_json1_1GeneralLabelsFilterList(input.LabelExclusionFilters, context),
|
|
4569
|
+
}),
|
|
4570
|
+
...(input.LabelInclusionFilters != null && {
|
|
4571
|
+
LabelInclusionFilters: serializeAws_json1_1GeneralLabelsFilterList(input.LabelInclusionFilters, context),
|
|
4572
|
+
}),
|
|
4573
|
+
};
|
|
4574
|
+
};
|
|
4528
4575
|
const serializeAws_json1_1GetCelebrityInfoRequest = (input, context) => {
|
|
4529
4576
|
return {
|
|
4530
4577
|
...(input.Id != null && { Id: input.Id }),
|
|
@@ -5565,8 +5612,42 @@ const deserializeAws_json1_1DetectFacesResponse = (output, context) => {
|
|
|
5565
5612
|
OrientationCorrection: (0, smithy_client_1.expectString)(output.OrientationCorrection),
|
|
5566
5613
|
};
|
|
5567
5614
|
};
|
|
5615
|
+
const deserializeAws_json1_1DetectLabelsImageBackground = (output, context) => {
|
|
5616
|
+
return {
|
|
5617
|
+
DominantColors: output.DominantColors != null ? deserializeAws_json1_1DominantColors(output.DominantColors, context) : undefined,
|
|
5618
|
+
Quality: output.Quality != null ? deserializeAws_json1_1DetectLabelsImageQuality(output.Quality, context) : undefined,
|
|
5619
|
+
};
|
|
5620
|
+
};
|
|
5621
|
+
const deserializeAws_json1_1DetectLabelsImageForeground = (output, context) => {
|
|
5622
|
+
return {
|
|
5623
|
+
DominantColors: output.DominantColors != null ? deserializeAws_json1_1DominantColors(output.DominantColors, context) : undefined,
|
|
5624
|
+
Quality: output.Quality != null ? deserializeAws_json1_1DetectLabelsImageQuality(output.Quality, context) : undefined,
|
|
5625
|
+
};
|
|
5626
|
+
};
|
|
5627
|
+
const deserializeAws_json1_1DetectLabelsImageProperties = (output, context) => {
|
|
5628
|
+
return {
|
|
5629
|
+
Background: output.Background != null
|
|
5630
|
+
? deserializeAws_json1_1DetectLabelsImageBackground(output.Background, context)
|
|
5631
|
+
: undefined,
|
|
5632
|
+
DominantColors: output.DominantColors != null ? deserializeAws_json1_1DominantColors(output.DominantColors, context) : undefined,
|
|
5633
|
+
Foreground: output.Foreground != null
|
|
5634
|
+
? deserializeAws_json1_1DetectLabelsImageForeground(output.Foreground, context)
|
|
5635
|
+
: undefined,
|
|
5636
|
+
Quality: output.Quality != null ? deserializeAws_json1_1DetectLabelsImageQuality(output.Quality, context) : undefined,
|
|
5637
|
+
};
|
|
5638
|
+
};
|
|
5639
|
+
const deserializeAws_json1_1DetectLabelsImageQuality = (output, context) => {
|
|
5640
|
+
return {
|
|
5641
|
+
Brightness: (0, smithy_client_1.limitedParseFloat32)(output.Brightness),
|
|
5642
|
+
Contrast: (0, smithy_client_1.limitedParseFloat32)(output.Contrast),
|
|
5643
|
+
Sharpness: (0, smithy_client_1.limitedParseFloat32)(output.Sharpness),
|
|
5644
|
+
};
|
|
5645
|
+
};
|
|
5568
5646
|
const deserializeAws_json1_1DetectLabelsResponse = (output, context) => {
|
|
5569
5647
|
return {
|
|
5648
|
+
ImageProperties: output.ImageProperties != null
|
|
5649
|
+
? deserializeAws_json1_1DetectLabelsImageProperties(output.ImageProperties, context)
|
|
5650
|
+
: undefined,
|
|
5570
5651
|
LabelModelVersion: (0, smithy_client_1.expectString)(output.LabelModelVersion),
|
|
5571
5652
|
Labels: output.Labels != null ? deserializeAws_json1_1Labels(output.Labels, context) : undefined,
|
|
5572
5653
|
OrientationCorrection: (0, smithy_client_1.expectString)(output.OrientationCorrection),
|
|
@@ -5601,6 +5682,28 @@ const deserializeAws_json1_1DetectTextResponse = (output, context) => {
|
|
|
5601
5682
|
const deserializeAws_json1_1DistributeDatasetEntriesResponse = (output, context) => {
|
|
5602
5683
|
return {};
|
|
5603
5684
|
};
|
|
5685
|
+
const deserializeAws_json1_1DominantColor = (output, context) => {
|
|
5686
|
+
return {
|
|
5687
|
+
Blue: (0, smithy_client_1.expectInt32)(output.Blue),
|
|
5688
|
+
CSSColor: (0, smithy_client_1.expectString)(output.CSSColor),
|
|
5689
|
+
Green: (0, smithy_client_1.expectInt32)(output.Green),
|
|
5690
|
+
HexCode: (0, smithy_client_1.expectString)(output.HexCode),
|
|
5691
|
+
PixelPercent: (0, smithy_client_1.limitedParseFloat32)(output.PixelPercent),
|
|
5692
|
+
Red: (0, smithy_client_1.expectInt32)(output.Red),
|
|
5693
|
+
SimplifiedColor: (0, smithy_client_1.expectString)(output.SimplifiedColor),
|
|
5694
|
+
};
|
|
5695
|
+
};
|
|
5696
|
+
const deserializeAws_json1_1DominantColors = (output, context) => {
|
|
5697
|
+
const retVal = (output || [])
|
|
5698
|
+
.filter((e) => e != null)
|
|
5699
|
+
.map((entry) => {
|
|
5700
|
+
if (entry === null) {
|
|
5701
|
+
return null;
|
|
5702
|
+
}
|
|
5703
|
+
return deserializeAws_json1_1DominantColor(entry, context);
|
|
5704
|
+
});
|
|
5705
|
+
return retVal;
|
|
5706
|
+
};
|
|
5604
5707
|
const deserializeAws_json1_1Emotion = (output, context) => {
|
|
5605
5708
|
return {
|
|
5606
5709
|
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
@@ -5956,6 +6059,7 @@ const deserializeAws_json1_1Instance = (output, context) => {
|
|
|
5956
6059
|
return {
|
|
5957
6060
|
BoundingBox: output.BoundingBox != null ? deserializeAws_json1_1BoundingBox(output.BoundingBox, context) : undefined,
|
|
5958
6061
|
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
6062
|
+
DominantColors: output.DominantColors != null ? deserializeAws_json1_1DominantColors(output.DominantColors, context) : undefined,
|
|
5959
6063
|
};
|
|
5960
6064
|
};
|
|
5961
6065
|
const deserializeAws_json1_1Instances = (output, context) => {
|
|
@@ -6028,12 +6132,46 @@ const deserializeAws_json1_1KnownGender = (output, context) => {
|
|
|
6028
6132
|
};
|
|
6029
6133
|
const deserializeAws_json1_1Label = (output, context) => {
|
|
6030
6134
|
return {
|
|
6135
|
+
Aliases: output.Aliases != null ? deserializeAws_json1_1LabelAliases(output.Aliases, context) : undefined,
|
|
6136
|
+
Categories: output.Categories != null ? deserializeAws_json1_1LabelCategories(output.Categories, context) : undefined,
|
|
6031
6137
|
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
6032
6138
|
Instances: output.Instances != null ? deserializeAws_json1_1Instances(output.Instances, context) : undefined,
|
|
6033
6139
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6034
6140
|
Parents: output.Parents != null ? deserializeAws_json1_1Parents(output.Parents, context) : undefined,
|
|
6035
6141
|
};
|
|
6036
6142
|
};
|
|
6143
|
+
const deserializeAws_json1_1LabelAlias = (output, context) => {
|
|
6144
|
+
return {
|
|
6145
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6146
|
+
};
|
|
6147
|
+
};
|
|
6148
|
+
const deserializeAws_json1_1LabelAliases = (output, context) => {
|
|
6149
|
+
const retVal = (output || [])
|
|
6150
|
+
.filter((e) => e != null)
|
|
6151
|
+
.map((entry) => {
|
|
6152
|
+
if (entry === null) {
|
|
6153
|
+
return null;
|
|
6154
|
+
}
|
|
6155
|
+
return deserializeAws_json1_1LabelAlias(entry, context);
|
|
6156
|
+
});
|
|
6157
|
+
return retVal;
|
|
6158
|
+
};
|
|
6159
|
+
const deserializeAws_json1_1LabelCategories = (output, context) => {
|
|
6160
|
+
const retVal = (output || [])
|
|
6161
|
+
.filter((e) => e != null)
|
|
6162
|
+
.map((entry) => {
|
|
6163
|
+
if (entry === null) {
|
|
6164
|
+
return null;
|
|
6165
|
+
}
|
|
6166
|
+
return deserializeAws_json1_1LabelCategory(entry, context);
|
|
6167
|
+
});
|
|
6168
|
+
return retVal;
|
|
6169
|
+
};
|
|
6170
|
+
const deserializeAws_json1_1LabelCategory = (output, context) => {
|
|
6171
|
+
return {
|
|
6172
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6173
|
+
};
|
|
6174
|
+
};
|
|
6037
6175
|
const deserializeAws_json1_1LabelDetection = (output, context) => {
|
|
6038
6176
|
return {
|
|
6039
6177
|
Label: output.Label != null ? deserializeAws_json1_1Label(output.Label, context) : undefined,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
6
|
const util_base64_1 = require("@aws-sdk/util-base64");
|
|
6
7
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
@@ -10,7 +11,7 @@ const getRuntimeConfig = (config) => ({
|
|
|
10
11
|
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
11
12
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
12
13
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
13
|
-
logger: config?.logger ??
|
|
14
|
+
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
14
15
|
serviceId: config?.serviceId ?? "Rekognition",
|
|
15
16
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
16
17
|
});
|
|
@@ -255,12 +255,12 @@ export const ruleSet = {
|
|
|
255
255
|
{
|
|
256
256
|
ref: "Region",
|
|
257
257
|
},
|
|
258
|
-
"rekognition.us-east-
|
|
258
|
+
"rekognition.us-east-1",
|
|
259
259
|
],
|
|
260
260
|
},
|
|
261
261
|
],
|
|
262
262
|
endpoint: {
|
|
263
|
-
url: "https://rekognition-fips.us-east-
|
|
263
|
+
url: "https://rekognition-fips.us-east-1.amazonaws.com",
|
|
264
264
|
properties: {},
|
|
265
265
|
headers: {},
|
|
266
266
|
},
|
|
@@ -274,12 +274,12 @@ export const ruleSet = {
|
|
|
274
274
|
{
|
|
275
275
|
ref: "Region",
|
|
276
276
|
},
|
|
277
|
-
"rekognition.us-
|
|
277
|
+
"rekognition.us-east-2",
|
|
278
278
|
],
|
|
279
279
|
},
|
|
280
280
|
],
|
|
281
281
|
endpoint: {
|
|
282
|
-
url: "https://rekognition-fips.us-
|
|
282
|
+
url: "https://rekognition-fips.us-east-2.amazonaws.com",
|
|
283
283
|
properties: {},
|
|
284
284
|
headers: {},
|
|
285
285
|
},
|
|
@@ -293,12 +293,12 @@ export const ruleSet = {
|
|
|
293
293
|
{
|
|
294
294
|
ref: "Region",
|
|
295
295
|
},
|
|
296
|
-
"rekognition.us-
|
|
296
|
+
"rekognition.us-west-1",
|
|
297
297
|
],
|
|
298
298
|
},
|
|
299
299
|
],
|
|
300
300
|
endpoint: {
|
|
301
|
-
url: "https://rekognition-fips.us-
|
|
301
|
+
url: "https://rekognition-fips.us-west-1.amazonaws.com",
|
|
302
302
|
properties: {},
|
|
303
303
|
headers: {},
|
|
304
304
|
},
|
|
@@ -32,6 +32,18 @@ export var ProtectiveEquipmentType;
|
|
|
32
32
|
ProtectiveEquipmentType["HAND_COVER"] = "HAND_COVER";
|
|
33
33
|
ProtectiveEquipmentType["HEAD_COVER"] = "HEAD_COVER";
|
|
34
34
|
})(ProtectiveEquipmentType || (ProtectiveEquipmentType = {}));
|
|
35
|
+
export var EmotionName;
|
|
36
|
+
(function (EmotionName) {
|
|
37
|
+
EmotionName["ANGRY"] = "ANGRY";
|
|
38
|
+
EmotionName["CALM"] = "CALM";
|
|
39
|
+
EmotionName["CONFUSED"] = "CONFUSED";
|
|
40
|
+
EmotionName["DISGUSTED"] = "DISGUSTED";
|
|
41
|
+
EmotionName["FEAR"] = "FEAR";
|
|
42
|
+
EmotionName["HAPPY"] = "HAPPY";
|
|
43
|
+
EmotionName["SAD"] = "SAD";
|
|
44
|
+
EmotionName["SURPRISED"] = "SURPRISED";
|
|
45
|
+
EmotionName["UNKNOWN"] = "UNKNOWN";
|
|
46
|
+
})(EmotionName || (EmotionName = {}));
|
|
35
47
|
export var LandmarkType;
|
|
36
48
|
(function (LandmarkType) {
|
|
37
49
|
LandmarkType["chinBottom"] = "chinBottom";
|
|
@@ -383,6 +395,11 @@ export class ResourceNotReadyException extends __BaseException {
|
|
|
383
395
|
this.Logref = opts.Logref;
|
|
384
396
|
}
|
|
385
397
|
}
|
|
398
|
+
export var DetectLabelsFeatureName;
|
|
399
|
+
(function (DetectLabelsFeatureName) {
|
|
400
|
+
DetectLabelsFeatureName["GENERAL_LABELS"] = "GENERAL_LABELS";
|
|
401
|
+
DetectLabelsFeatureName["IMAGE_PROPERTIES"] = "IMAGE_PROPERTIES";
|
|
402
|
+
})(DetectLabelsFeatureName || (DetectLabelsFeatureName = {}));
|
|
386
403
|
export class HumanLoopQuotaExceededException extends __BaseException {
|
|
387
404
|
constructor(opts) {
|
|
388
405
|
super({
|
|
@@ -836,9 +853,39 @@ export const DetectFacesResponseFilterSensitiveLog = (obj) => ({
|
|
|
836
853
|
export const DetectionFilterFilterSensitiveLog = (obj) => ({
|
|
837
854
|
...obj,
|
|
838
855
|
});
|
|
856
|
+
export const GeneralLabelsSettingsFilterSensitiveLog = (obj) => ({
|
|
857
|
+
...obj,
|
|
858
|
+
});
|
|
859
|
+
export const DetectLabelsImagePropertiesSettingsFilterSensitiveLog = (obj) => ({
|
|
860
|
+
...obj,
|
|
861
|
+
});
|
|
862
|
+
export const DetectLabelsSettingsFilterSensitiveLog = (obj) => ({
|
|
863
|
+
...obj,
|
|
864
|
+
});
|
|
839
865
|
export const DetectLabelsRequestFilterSensitiveLog = (obj) => ({
|
|
840
866
|
...obj,
|
|
841
867
|
});
|
|
868
|
+
export const DominantColorFilterSensitiveLog = (obj) => ({
|
|
869
|
+
...obj,
|
|
870
|
+
});
|
|
871
|
+
export const DetectLabelsImageQualityFilterSensitiveLog = (obj) => ({
|
|
872
|
+
...obj,
|
|
873
|
+
});
|
|
874
|
+
export const DetectLabelsImageBackgroundFilterSensitiveLog = (obj) => ({
|
|
875
|
+
...obj,
|
|
876
|
+
});
|
|
877
|
+
export const DetectLabelsImageForegroundFilterSensitiveLog = (obj) => ({
|
|
878
|
+
...obj,
|
|
879
|
+
});
|
|
880
|
+
export const DetectLabelsImagePropertiesFilterSensitiveLog = (obj) => ({
|
|
881
|
+
...obj,
|
|
882
|
+
});
|
|
883
|
+
export const LabelAliasFilterSensitiveLog = (obj) => ({
|
|
884
|
+
...obj,
|
|
885
|
+
});
|
|
886
|
+
export const LabelCategoryFilterSensitiveLog = (obj) => ({
|
|
887
|
+
...obj,
|
|
888
|
+
});
|
|
842
889
|
export const InstanceFilterSensitiveLog = (obj) => ({
|
|
843
890
|
...obj,
|
|
844
891
|
});
|