@aws-sdk/client-rekognition 3.43.0 → 3.47.1
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/CHANGELOG.md +48 -0
- package/dist-cjs/endpoints.js +1 -24
- package/dist-cjs/models/models_0.js +7 -114
- package/dist-cjs/protocols/Aws_json1_1.js +1 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -24
- package/dist-es/models/models_0.js +2 -72
- package/dist-es/protocols/Aws_json1_1.js +1 -0
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/Rekognition.d.ts +3 -3
- package/dist-types/RekognitionClient.d.ts +5 -1
- package/dist-types/commands/CompareFacesCommand.d.ts +1 -1
- package/dist-types/commands/DetectTextCommand.d.ts +1 -1
- package/dist-types/commands/IndexFacesCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +19 -118
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/RekognitionClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +5 -73
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +40 -47
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,54 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-rekognition
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
36
|
+
* **clients:** update clients as of 2021/01/07 ([#3163](https://github.com/aws/aws-sdk-js-v3/issues/3163)) ([6648b07](https://github.com/aws/aws-sdk-js-v3/commit/6648b07ea97691d2fed55eab49831646543b648b))
|
|
37
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
6
54
|
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
55
|
|
|
8
56
|
**Note:** Version bump only for package @aws-sdk/client-rekognition
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const regionHash = {
|
|
6
6
|
"ca-central-1": {
|
|
7
7
|
variants: [
|
|
8
|
-
{
|
|
9
|
-
hostname: "rekognition.ca-central-1.amazonaws.com",
|
|
10
|
-
tags: [],
|
|
11
|
-
},
|
|
12
8
|
{
|
|
13
9
|
hostname: "rekognition-fips.ca-central-1.amazonaws.com",
|
|
14
10
|
tags: ["fips"],
|
|
@@ -17,10 +13,6 @@ const regionHash = {
|
|
|
17
13
|
},
|
|
18
14
|
"us-east-1": {
|
|
19
15
|
variants: [
|
|
20
|
-
{
|
|
21
|
-
hostname: "rekognition.us-east-1.amazonaws.com",
|
|
22
|
-
tags: [],
|
|
23
|
-
},
|
|
24
16
|
{
|
|
25
17
|
hostname: "rekognition-fips.us-east-1.amazonaws.com",
|
|
26
18
|
tags: ["fips"],
|
|
@@ -29,10 +21,6 @@ const regionHash = {
|
|
|
29
21
|
},
|
|
30
22
|
"us-east-2": {
|
|
31
23
|
variants: [
|
|
32
|
-
{
|
|
33
|
-
hostname: "rekognition.us-east-2.amazonaws.com",
|
|
34
|
-
tags: [],
|
|
35
|
-
},
|
|
36
24
|
{
|
|
37
25
|
hostname: "rekognition-fips.us-east-2.amazonaws.com",
|
|
38
26
|
tags: ["fips"],
|
|
@@ -41,10 +29,6 @@ const regionHash = {
|
|
|
41
29
|
},
|
|
42
30
|
"us-gov-west-1": {
|
|
43
31
|
variants: [
|
|
44
|
-
{
|
|
45
|
-
hostname: "rekognition.us-gov-west-1.amazonaws.com",
|
|
46
|
-
tags: [],
|
|
47
|
-
},
|
|
48
32
|
{
|
|
49
33
|
hostname: "rekognition-fips.us-gov-west-1.amazonaws.com",
|
|
50
34
|
tags: ["fips"],
|
|
@@ -53,10 +37,6 @@ const regionHash = {
|
|
|
53
37
|
},
|
|
54
38
|
"us-west-1": {
|
|
55
39
|
variants: [
|
|
56
|
-
{
|
|
57
|
-
hostname: "rekognition.us-west-1.amazonaws.com",
|
|
58
|
-
tags: [],
|
|
59
|
-
},
|
|
60
40
|
{
|
|
61
41
|
hostname: "rekognition-fips.us-west-1.amazonaws.com",
|
|
62
42
|
tags: ["fips"],
|
|
@@ -65,10 +45,6 @@ const regionHash = {
|
|
|
65
45
|
},
|
|
66
46
|
"us-west-2": {
|
|
67
47
|
variants: [
|
|
68
|
-
{
|
|
69
|
-
hostname: "rekognition.us-west-2.amazonaws.com",
|
|
70
|
-
tags: [],
|
|
71
|
-
},
|
|
72
48
|
{
|
|
73
49
|
hostname: "rekognition-fips.us-west-2.amazonaws.com",
|
|
74
50
|
tags: ["fips"],
|
|
@@ -87,6 +63,7 @@ const partitionHash = {
|
|
|
87
63
|
"ap-south-1",
|
|
88
64
|
"ap-southeast-1",
|
|
89
65
|
"ap-southeast-2",
|
|
66
|
+
"ap-southeast-3",
|
|
90
67
|
"ca-central-1",
|
|
91
68
|
"ca-central-1-fips",
|
|
92
69
|
"eu-central-1",
|
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.StopStreamProcessorResponse = exports.StopStreamProcessorRequest = exports.StopProjectVersionResponse = exports.StopProjectVersionRequest = exports.StartTextDetectionResponse = exports.StartTextDetectionRequest = exports.StartTextDetectionFilters = exports.StartStreamProcessorResponse = exports.StartStreamProcessorRequest = exports.StartSegmentDetectionResponse = exports.StartSegmentDetectionRequest = exports.StartSegmentDetectionFilters = exports.StartTechnicalCueDetectionFilter = exports.StartShotDetectionFilter = exports.StartProjectVersionResponse = exports.StartProjectVersionRequest = exports.StartPersonTrackingResponse = exports.StartPersonTrackingRequest = exports.StartLabelDetectionResponse = exports.StartLabelDetectionRequest = exports.StartFaceSearchResponse = exports.StartFaceSearchRequest = exports.StartFaceDetectionResponse = exports.StartFaceDetectionRequest = exports.StartContentModerationResponse = exports.StartContentModerationRequest = exports.
|
|
8
|
-
exports.UpdateDatasetEntriesResponse = exports.UpdateDatasetEntriesRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = void 0;
|
|
9
|
-
var AccessDeniedException;
|
|
10
|
-
(function (AccessDeniedException) {
|
|
11
|
-
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
12
|
-
...obj,
|
|
13
|
-
});
|
|
14
|
-
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
3
|
+
exports.DatasetType = exports.DatasetSource = exports.CreateCollectionResponse = exports.CreateCollectionRequest = exports.ContentModerationSortBy = exports.ContentModerationDetection = exports.ModerationLabel = exports.ContentClassifier = exports.CompareFacesResponse = exports.OrientationCorrection = exports.CompareFacesMatch = exports.CompareFacesRequest = exports.Image = exports.QualityFilter = exports.ComparedSourceImageFace = exports.CelebrityRecognitionSortBy = exports.CelebrityRecognition = exports.CelebrityDetail = exports.FaceDetail = exports.Sunglasses = exports.Mustache = exports.MouthOpen = exports.Gender = exports.GenderType = exports.EyeOpen = exports.Eyeglasses = exports.Celebrity = exports.KnownGender = exports.KnownGenderType = exports.ComparedFace = exports.Smile = exports.ImageQuality = exports.Pose = exports.Landmark = exports.LandmarkType = exports.Emotion = exports.ProtectiveEquipmentBodyPart = exports.EquipmentDetection = exports.ProtectiveEquipmentType = exports.CoversBodyPart = exports.BoundingBox = exports.BodyPart = exports.BlackFrame = exports.Beard = exports.AudioMetadata = exports.Attribute = exports.Asset = exports.GroundTruthManifest = exports.S3Object = exports.AgeRange = void 0;
|
|
4
|
+
exports.DescribeProjectVersionsRequest = exports.DescribeProjectsResponse = exports.ProjectDescription = exports.DescribeProjectsRequest = exports.DescribeDatasetResponse = exports.DescribeDatasetRequest = exports.DescribeCollectionResponse = exports.DescribeCollectionRequest = exports.DeleteStreamProcessorResponse = exports.DeleteStreamProcessorRequest = exports.DeleteProjectVersionResponse = exports.ProjectVersionStatus = exports.DeleteProjectVersionRequest = exports.DeleteProjectResponse = exports.ProjectStatus = exports.DeleteProjectRequest = exports.DeleteFacesResponse = exports.DeleteFacesRequest = exports.DeleteDatasetResponse = exports.DeleteDatasetRequest = exports.DeleteCollectionResponse = exports.DeleteCollectionRequest = exports.DatasetMetadata = exports.DatasetLabelDescription = exports.DatasetLabelStats = exports.DatasetDescription = exports.DatasetStatusMessageCode = exports.DatasetStatus = exports.DatasetStats = exports.DatasetChanges = exports.CustomLabel = exports.Geometry = exports.Point = exports.CreateStreamProcessorResponse = exports.CreateStreamProcessorRequest = exports.StreamProcessorSettings = exports.FaceSearchSettings = exports.StreamProcessorOutput = exports.KinesisDataStream = exports.StreamProcessorInput = exports.KinesisVideoStream = exports.CreateProjectVersionResponse = exports.CreateProjectVersionRequest = exports.TrainingData = exports.TestingData = exports.OutputConfig = exports.CreateProjectResponse = exports.CreateProjectRequest = exports.CreateDatasetResponse = exports.CreateDatasetRequest = void 0;
|
|
5
|
+
exports.VideoColorRange = exports.VideoJobStatus = exports.GetCelebrityRecognitionRequest = exports.GetCelebrityInfoResponse = exports.GetCelebrityInfoRequest = exports.FaceSearchSortBy = exports.FaceRecord = exports.FaceMatch = exports.FaceDetection = exports.FaceAttributes = exports.Face = exports.DistributeDatasetEntriesResponse = exports.DistributeDatasetEntriesRequest = exports.DistributeDataset = exports.DetectTextResponse = exports.TextDetection = exports.TextTypes = exports.DetectTextRequest = exports.DetectTextFilters = exports.RegionOfInterest = exports.DetectProtectiveEquipmentResponse = exports.ProtectiveEquipmentSummary = exports.ProtectiveEquipmentPerson = exports.DetectProtectiveEquipmentRequest = exports.ProtectiveEquipmentSummarizationAttributes = exports.DetectModerationLabelsResponse = exports.HumanLoopActivationOutput = exports.DetectModerationLabelsRequest = exports.HumanLoopConfig = exports.HumanLoopDataAttributes = exports.DetectLabelsResponse = exports.Label = exports.Parent = exports.Instance = exports.DetectLabelsRequest = exports.DetectionFilter = exports.DetectFacesResponse = exports.DetectFacesRequest = exports.DetectCustomLabelsResponse = exports.DetectCustomLabelsRequest = exports.DescribeStreamProcessorResponse = exports.StreamProcessorStatus = exports.DescribeStreamProcessorRequest = exports.DescribeProjectVersionsResponse = exports.ProjectVersionDescription = exports.TrainingDataResult = exports.TestingDataResult = exports.ValidationData = exports.EvaluationResult = exports.Summary = void 0;
|
|
6
|
+
exports.SearchFacesRequest = exports.RecognizeCelebritiesResponse = exports.RecognizeCelebritiesRequest = exports.NotificationChannel = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListStreamProcessorsResponse = exports.StreamProcessor = exports.ListStreamProcessorsRequest = exports.ListFacesResponse = exports.ListFacesRequest = exports.ListDatasetLabelsResponse = exports.ListDatasetLabelsRequest = exports.ListDatasetEntriesResponse = exports.ListDatasetEntriesRequest = exports.ListCollectionsResponse = exports.ListCollectionsRequest = exports.IndexFacesResponse = exports.UnindexedFace = exports.Reason = exports.IndexFacesRequest = exports.GetTextDetectionResponse = exports.TextDetectionResult = exports.GetTextDetectionRequest = exports.GetSegmentDetectionResponse = exports.SegmentTypeInfo = exports.SegmentDetection = exports.SegmentType = exports.TechnicalCueSegment = exports.TechnicalCueType = exports.ShotSegment = exports.GetSegmentDetectionRequest = exports.GetPersonTrackingResponse = exports.PersonDetection = exports.GetPersonTrackingRequest = exports.PersonTrackingSortBy = exports.GetLabelDetectionResponse = exports.LabelDetection = exports.GetLabelDetectionRequest = exports.LabelDetectionSortBy = exports.GetFaceSearchResponse = exports.PersonMatch = exports.PersonDetail = exports.GetFaceSearchRequest = exports.GetFaceDetectionResponse = exports.GetFaceDetectionRequest = exports.GetContentModerationResponse = exports.GetContentModerationRequest = exports.GetCelebrityRecognitionResponse = exports.VideoMetadata = void 0;
|
|
7
|
+
exports.UpdateDatasetEntriesResponse = exports.UpdateDatasetEntriesRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopStreamProcessorResponse = exports.StopStreamProcessorRequest = exports.StopProjectVersionResponse = exports.StopProjectVersionRequest = exports.StartTextDetectionResponse = exports.StartTextDetectionRequest = exports.StartTextDetectionFilters = exports.StartStreamProcessorResponse = exports.StartStreamProcessorRequest = exports.StartSegmentDetectionResponse = exports.StartSegmentDetectionRequest = exports.StartSegmentDetectionFilters = exports.StartTechnicalCueDetectionFilter = exports.StartShotDetectionFilter = exports.StartProjectVersionResponse = exports.StartProjectVersionRequest = exports.StartPersonTrackingResponse = exports.StartPersonTrackingRequest = exports.StartLabelDetectionResponse = exports.StartLabelDetectionRequest = exports.StartFaceSearchResponse = exports.StartFaceSearchRequest = exports.StartFaceDetectionResponse = exports.StartFaceDetectionRequest = exports.StartContentModerationResponse = exports.StartContentModerationRequest = exports.StartCelebrityRecognitionResponse = exports.StartCelebrityRecognitionRequest = exports.Video = exports.SearchFacesByImageResponse = exports.SearchFacesByImageRequest = exports.SearchFacesResponse = void 0;
|
|
15
8
|
var AgeRange;
|
|
16
9
|
(function (AgeRange) {
|
|
17
10
|
AgeRange.filterSensitiveLog = (obj) => ({
|
|
@@ -169,6 +162,8 @@ var KnownGenderType;
|
|
|
169
162
|
(function (KnownGenderType) {
|
|
170
163
|
KnownGenderType["Female"] = "Female";
|
|
171
164
|
KnownGenderType["Male"] = "Male";
|
|
165
|
+
KnownGenderType["Nonbinary"] = "Nonbinary";
|
|
166
|
+
KnownGenderType["Unlisted"] = "Unlisted";
|
|
172
167
|
})(KnownGenderType = exports.KnownGenderType || (exports.KnownGenderType = {}));
|
|
173
168
|
var KnownGender;
|
|
174
169
|
(function (KnownGender) {
|
|
@@ -291,48 +286,6 @@ var CompareFacesResponse;
|
|
|
291
286
|
...obj,
|
|
292
287
|
});
|
|
293
288
|
})(CompareFacesResponse = exports.CompareFacesResponse || (exports.CompareFacesResponse = {}));
|
|
294
|
-
var ImageTooLargeException;
|
|
295
|
-
(function (ImageTooLargeException) {
|
|
296
|
-
ImageTooLargeException.filterSensitiveLog = (obj) => ({
|
|
297
|
-
...obj,
|
|
298
|
-
});
|
|
299
|
-
})(ImageTooLargeException = exports.ImageTooLargeException || (exports.ImageTooLargeException = {}));
|
|
300
|
-
var InternalServerError;
|
|
301
|
-
(function (InternalServerError) {
|
|
302
|
-
InternalServerError.filterSensitiveLog = (obj) => ({
|
|
303
|
-
...obj,
|
|
304
|
-
});
|
|
305
|
-
})(InternalServerError = exports.InternalServerError || (exports.InternalServerError = {}));
|
|
306
|
-
var InvalidImageFormatException;
|
|
307
|
-
(function (InvalidImageFormatException) {
|
|
308
|
-
InvalidImageFormatException.filterSensitiveLog = (obj) => ({
|
|
309
|
-
...obj,
|
|
310
|
-
});
|
|
311
|
-
})(InvalidImageFormatException = exports.InvalidImageFormatException || (exports.InvalidImageFormatException = {}));
|
|
312
|
-
var InvalidParameterException;
|
|
313
|
-
(function (InvalidParameterException) {
|
|
314
|
-
InvalidParameterException.filterSensitiveLog = (obj) => ({
|
|
315
|
-
...obj,
|
|
316
|
-
});
|
|
317
|
-
})(InvalidParameterException = exports.InvalidParameterException || (exports.InvalidParameterException = {}));
|
|
318
|
-
var InvalidS3ObjectException;
|
|
319
|
-
(function (InvalidS3ObjectException) {
|
|
320
|
-
InvalidS3ObjectException.filterSensitiveLog = (obj) => ({
|
|
321
|
-
...obj,
|
|
322
|
-
});
|
|
323
|
-
})(InvalidS3ObjectException = exports.InvalidS3ObjectException || (exports.InvalidS3ObjectException = {}));
|
|
324
|
-
var ProvisionedThroughputExceededException;
|
|
325
|
-
(function (ProvisionedThroughputExceededException) {
|
|
326
|
-
ProvisionedThroughputExceededException.filterSensitiveLog = (obj) => ({
|
|
327
|
-
...obj,
|
|
328
|
-
});
|
|
329
|
-
})(ProvisionedThroughputExceededException = exports.ProvisionedThroughputExceededException || (exports.ProvisionedThroughputExceededException = {}));
|
|
330
|
-
var ThrottlingException;
|
|
331
|
-
(function (ThrottlingException) {
|
|
332
|
-
ThrottlingException.filterSensitiveLog = (obj) => ({
|
|
333
|
-
...obj,
|
|
334
|
-
});
|
|
335
|
-
})(ThrottlingException = exports.ThrottlingException || (exports.ThrottlingException = {}));
|
|
336
289
|
var ContentClassifier;
|
|
337
290
|
(function (ContentClassifier) {
|
|
338
291
|
ContentClassifier["FREE_OF_ADULT_CONTENT"] = "FreeOfAdultContent";
|
|
@@ -367,18 +320,6 @@ var CreateCollectionResponse;
|
|
|
367
320
|
...obj,
|
|
368
321
|
});
|
|
369
322
|
})(CreateCollectionResponse = exports.CreateCollectionResponse || (exports.CreateCollectionResponse = {}));
|
|
370
|
-
var ResourceAlreadyExistsException;
|
|
371
|
-
(function (ResourceAlreadyExistsException) {
|
|
372
|
-
ResourceAlreadyExistsException.filterSensitiveLog = (obj) => ({
|
|
373
|
-
...obj,
|
|
374
|
-
});
|
|
375
|
-
})(ResourceAlreadyExistsException = exports.ResourceAlreadyExistsException || (exports.ResourceAlreadyExistsException = {}));
|
|
376
|
-
var ServiceQuotaExceededException;
|
|
377
|
-
(function (ServiceQuotaExceededException) {
|
|
378
|
-
ServiceQuotaExceededException.filterSensitiveLog = (obj) => ({
|
|
379
|
-
...obj,
|
|
380
|
-
});
|
|
381
|
-
})(ServiceQuotaExceededException = exports.ServiceQuotaExceededException || (exports.ServiceQuotaExceededException = {}));
|
|
382
323
|
var DatasetSource;
|
|
383
324
|
(function (DatasetSource) {
|
|
384
325
|
DatasetSource.filterSensitiveLog = (obj) => ({
|
|
@@ -402,18 +343,6 @@ var CreateDatasetResponse;
|
|
|
402
343
|
...obj,
|
|
403
344
|
});
|
|
404
345
|
})(CreateDatasetResponse = exports.CreateDatasetResponse || (exports.CreateDatasetResponse = {}));
|
|
405
|
-
var LimitExceededException;
|
|
406
|
-
(function (LimitExceededException) {
|
|
407
|
-
LimitExceededException.filterSensitiveLog = (obj) => ({
|
|
408
|
-
...obj,
|
|
409
|
-
});
|
|
410
|
-
})(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
|
|
411
|
-
var ResourceNotFoundException;
|
|
412
|
-
(function (ResourceNotFoundException) {
|
|
413
|
-
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
414
|
-
...obj,
|
|
415
|
-
});
|
|
416
|
-
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
417
346
|
var CreateProjectRequest;
|
|
418
347
|
(function (CreateProjectRequest) {
|
|
419
348
|
CreateProjectRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -426,12 +355,6 @@ var CreateProjectResponse;
|
|
|
426
355
|
...obj,
|
|
427
356
|
});
|
|
428
357
|
})(CreateProjectResponse = exports.CreateProjectResponse || (exports.CreateProjectResponse = {}));
|
|
429
|
-
var ResourceInUseException;
|
|
430
|
-
(function (ResourceInUseException) {
|
|
431
|
-
ResourceInUseException.filterSensitiveLog = (obj) => ({
|
|
432
|
-
...obj,
|
|
433
|
-
});
|
|
434
|
-
})(ResourceInUseException = exports.ResourceInUseException || (exports.ResourceInUseException = {}));
|
|
435
358
|
var OutputConfig;
|
|
436
359
|
(function (OutputConfig) {
|
|
437
360
|
OutputConfig.filterSensitiveLog = (obj) => ({
|
|
@@ -712,12 +635,6 @@ var DescribeProjectsResponse;
|
|
|
712
635
|
...obj,
|
|
713
636
|
});
|
|
714
637
|
})(DescribeProjectsResponse = exports.DescribeProjectsResponse || (exports.DescribeProjectsResponse = {}));
|
|
715
|
-
var InvalidPaginationTokenException;
|
|
716
|
-
(function (InvalidPaginationTokenException) {
|
|
717
|
-
InvalidPaginationTokenException.filterSensitiveLog = (obj) => ({
|
|
718
|
-
...obj,
|
|
719
|
-
});
|
|
720
|
-
})(InvalidPaginationTokenException = exports.InvalidPaginationTokenException || (exports.InvalidPaginationTokenException = {}));
|
|
721
638
|
var DescribeProjectVersionsRequest;
|
|
722
639
|
(function (DescribeProjectVersionsRequest) {
|
|
723
640
|
DescribeProjectVersionsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -798,12 +715,6 @@ var DetectCustomLabelsResponse;
|
|
|
798
715
|
...obj,
|
|
799
716
|
});
|
|
800
717
|
})(DetectCustomLabelsResponse = exports.DetectCustomLabelsResponse || (exports.DetectCustomLabelsResponse = {}));
|
|
801
|
-
var ResourceNotReadyException;
|
|
802
|
-
(function (ResourceNotReadyException) {
|
|
803
|
-
ResourceNotReadyException.filterSensitiveLog = (obj) => ({
|
|
804
|
-
...obj,
|
|
805
|
-
});
|
|
806
|
-
})(ResourceNotReadyException = exports.ResourceNotReadyException || (exports.ResourceNotReadyException = {}));
|
|
807
718
|
var DetectFacesRequest;
|
|
808
719
|
(function (DetectFacesRequest) {
|
|
809
720
|
DetectFacesRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -882,12 +793,6 @@ var DetectModerationLabelsResponse;
|
|
|
882
793
|
...obj,
|
|
883
794
|
});
|
|
884
795
|
})(DetectModerationLabelsResponse = exports.DetectModerationLabelsResponse || (exports.DetectModerationLabelsResponse = {}));
|
|
885
|
-
var HumanLoopQuotaExceededException;
|
|
886
|
-
(function (HumanLoopQuotaExceededException) {
|
|
887
|
-
HumanLoopQuotaExceededException.filterSensitiveLog = (obj) => ({
|
|
888
|
-
...obj,
|
|
889
|
-
});
|
|
890
|
-
})(HumanLoopQuotaExceededException = exports.HumanLoopQuotaExceededException || (exports.HumanLoopQuotaExceededException = {}));
|
|
891
796
|
var ProtectiveEquipmentSummarizationAttributes;
|
|
892
797
|
(function (ProtectiveEquipmentSummarizationAttributes) {
|
|
893
798
|
ProtectiveEquipmentSummarizationAttributes.filterSensitiveLog = (obj) => ({
|
|
@@ -1209,12 +1114,6 @@ var GetTextDetectionResponse;
|
|
|
1209
1114
|
...obj,
|
|
1210
1115
|
});
|
|
1211
1116
|
})(GetTextDetectionResponse = exports.GetTextDetectionResponse || (exports.GetTextDetectionResponse = {}));
|
|
1212
|
-
var IdempotentParameterMismatchException;
|
|
1213
|
-
(function (IdempotentParameterMismatchException) {
|
|
1214
|
-
IdempotentParameterMismatchException.filterSensitiveLog = (obj) => ({
|
|
1215
|
-
...obj,
|
|
1216
|
-
});
|
|
1217
|
-
})(IdempotentParameterMismatchException = exports.IdempotentParameterMismatchException || (exports.IdempotentParameterMismatchException = {}));
|
|
1218
1117
|
var IndexFacesRequest;
|
|
1219
1118
|
(function (IndexFacesRequest) {
|
|
1220
1119
|
IndexFacesRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1381,12 +1280,6 @@ var StartCelebrityRecognitionResponse;
|
|
|
1381
1280
|
...obj,
|
|
1382
1281
|
});
|
|
1383
1282
|
})(StartCelebrityRecognitionResponse = exports.StartCelebrityRecognitionResponse || (exports.StartCelebrityRecognitionResponse = {}));
|
|
1384
|
-
var VideoTooLargeException;
|
|
1385
|
-
(function (VideoTooLargeException) {
|
|
1386
|
-
VideoTooLargeException.filterSensitiveLog = (obj) => ({
|
|
1387
|
-
...obj,
|
|
1388
|
-
});
|
|
1389
|
-
})(VideoTooLargeException = exports.VideoTooLargeException || (exports.VideoTooLargeException = {}));
|
|
1390
1283
|
var StartContentModerationRequest;
|
|
1391
1284
|
(function (StartContentModerationRequest) {
|
|
1392
1285
|
StartContentModerationRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -8017,6 +8017,7 @@ const deserializeAws_json1_1Face = (output, context) => {
|
|
|
8017
8017
|
ExternalImageId: smithy_client_1.expectString(output.ExternalImageId),
|
|
8018
8018
|
FaceId: smithy_client_1.expectString(output.FaceId),
|
|
8019
8019
|
ImageId: smithy_client_1.expectString(output.ImageId),
|
|
8020
|
+
IndexFacesModelVersion: smithy_client_1.expectString(output.IndexFacesModelVersion),
|
|
8020
8021
|
};
|
|
8021
8022
|
};
|
|
8022
8023
|
const deserializeAws_json1_1FaceDetail = (output, context) => {
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
19
20
|
const getRuntimeConfig = (config) => {
|
|
20
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
25
|
return {
|
|
24
26
|
...clientSharedValues,
|
|
25
27
|
...config,
|
|
26
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
27
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
28
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
29
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
31
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
33
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
35
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
36
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
package/dist-es/endpoints.js
CHANGED
|
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
|
3
3
|
var regionHash = {
|
|
4
4
|
"ca-central-1": {
|
|
5
5
|
variants: [
|
|
6
|
-
{
|
|
7
|
-
hostname: "rekognition.ca-central-1.amazonaws.com",
|
|
8
|
-
tags: [],
|
|
9
|
-
},
|
|
10
6
|
{
|
|
11
7
|
hostname: "rekognition-fips.ca-central-1.amazonaws.com",
|
|
12
8
|
tags: ["fips"],
|
|
@@ -15,10 +11,6 @@ var regionHash = {
|
|
|
15
11
|
},
|
|
16
12
|
"us-east-1": {
|
|
17
13
|
variants: [
|
|
18
|
-
{
|
|
19
|
-
hostname: "rekognition.us-east-1.amazonaws.com",
|
|
20
|
-
tags: [],
|
|
21
|
-
},
|
|
22
14
|
{
|
|
23
15
|
hostname: "rekognition-fips.us-east-1.amazonaws.com",
|
|
24
16
|
tags: ["fips"],
|
|
@@ -27,10 +19,6 @@ var regionHash = {
|
|
|
27
19
|
},
|
|
28
20
|
"us-east-2": {
|
|
29
21
|
variants: [
|
|
30
|
-
{
|
|
31
|
-
hostname: "rekognition.us-east-2.amazonaws.com",
|
|
32
|
-
tags: [],
|
|
33
|
-
},
|
|
34
22
|
{
|
|
35
23
|
hostname: "rekognition-fips.us-east-2.amazonaws.com",
|
|
36
24
|
tags: ["fips"],
|
|
@@ -39,10 +27,6 @@ var regionHash = {
|
|
|
39
27
|
},
|
|
40
28
|
"us-gov-west-1": {
|
|
41
29
|
variants: [
|
|
42
|
-
{
|
|
43
|
-
hostname: "rekognition.us-gov-west-1.amazonaws.com",
|
|
44
|
-
tags: [],
|
|
45
|
-
},
|
|
46
30
|
{
|
|
47
31
|
hostname: "rekognition-fips.us-gov-west-1.amazonaws.com",
|
|
48
32
|
tags: ["fips"],
|
|
@@ -51,10 +35,6 @@ var regionHash = {
|
|
|
51
35
|
},
|
|
52
36
|
"us-west-1": {
|
|
53
37
|
variants: [
|
|
54
|
-
{
|
|
55
|
-
hostname: "rekognition.us-west-1.amazonaws.com",
|
|
56
|
-
tags: [],
|
|
57
|
-
},
|
|
58
38
|
{
|
|
59
39
|
hostname: "rekognition-fips.us-west-1.amazonaws.com",
|
|
60
40
|
tags: ["fips"],
|
|
@@ -63,10 +43,6 @@ var regionHash = {
|
|
|
63
43
|
},
|
|
64
44
|
"us-west-2": {
|
|
65
45
|
variants: [
|
|
66
|
-
{
|
|
67
|
-
hostname: "rekognition.us-west-2.amazonaws.com",
|
|
68
|
-
tags: [],
|
|
69
|
-
},
|
|
70
46
|
{
|
|
71
47
|
hostname: "rekognition-fips.us-west-2.amazonaws.com",
|
|
72
48
|
tags: ["fips"],
|
|
@@ -85,6 +61,7 @@ var partitionHash = {
|
|
|
85
61
|
"ap-south-1",
|
|
86
62
|
"ap-southeast-1",
|
|
87
63
|
"ap-southeast-2",
|
|
64
|
+
"ap-southeast-3",
|
|
88
65
|
"ca-central-1",
|
|
89
66
|
"ca-central-1-fips",
|
|
90
67
|
"eu-central-1",
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
export var AccessDeniedException;
|
|
3
|
-
(function (AccessDeniedException) {
|
|
4
|
-
AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
-
})(AccessDeniedException || (AccessDeniedException = {}));
|
|
6
2
|
export var AgeRange;
|
|
7
3
|
(function (AgeRange) {
|
|
8
4
|
AgeRange.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -126,6 +122,8 @@ export var KnownGenderType;
|
|
|
126
122
|
(function (KnownGenderType) {
|
|
127
123
|
KnownGenderType["Female"] = "Female";
|
|
128
124
|
KnownGenderType["Male"] = "Male";
|
|
125
|
+
KnownGenderType["Nonbinary"] = "Nonbinary";
|
|
126
|
+
KnownGenderType["Unlisted"] = "Unlisted";
|
|
129
127
|
})(KnownGenderType || (KnownGenderType = {}));
|
|
130
128
|
export var KnownGender;
|
|
131
129
|
(function (KnownGender) {
|
|
@@ -216,34 +214,6 @@ export var CompareFacesResponse;
|
|
|
216
214
|
(function (CompareFacesResponse) {
|
|
217
215
|
CompareFacesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
218
216
|
})(CompareFacesResponse || (CompareFacesResponse = {}));
|
|
219
|
-
export var ImageTooLargeException;
|
|
220
|
-
(function (ImageTooLargeException) {
|
|
221
|
-
ImageTooLargeException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
222
|
-
})(ImageTooLargeException || (ImageTooLargeException = {}));
|
|
223
|
-
export var InternalServerError;
|
|
224
|
-
(function (InternalServerError) {
|
|
225
|
-
InternalServerError.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
226
|
-
})(InternalServerError || (InternalServerError = {}));
|
|
227
|
-
export var InvalidImageFormatException;
|
|
228
|
-
(function (InvalidImageFormatException) {
|
|
229
|
-
InvalidImageFormatException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
230
|
-
})(InvalidImageFormatException || (InvalidImageFormatException = {}));
|
|
231
|
-
export var InvalidParameterException;
|
|
232
|
-
(function (InvalidParameterException) {
|
|
233
|
-
InvalidParameterException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
234
|
-
})(InvalidParameterException || (InvalidParameterException = {}));
|
|
235
|
-
export var InvalidS3ObjectException;
|
|
236
|
-
(function (InvalidS3ObjectException) {
|
|
237
|
-
InvalidS3ObjectException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
238
|
-
})(InvalidS3ObjectException || (InvalidS3ObjectException = {}));
|
|
239
|
-
export var ProvisionedThroughputExceededException;
|
|
240
|
-
(function (ProvisionedThroughputExceededException) {
|
|
241
|
-
ProvisionedThroughputExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
242
|
-
})(ProvisionedThroughputExceededException || (ProvisionedThroughputExceededException = {}));
|
|
243
|
-
export var ThrottlingException;
|
|
244
|
-
(function (ThrottlingException) {
|
|
245
|
-
ThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
246
|
-
})(ThrottlingException || (ThrottlingException = {}));
|
|
247
217
|
export var ContentClassifier;
|
|
248
218
|
(function (ContentClassifier) {
|
|
249
219
|
ContentClassifier["FREE_OF_ADULT_CONTENT"] = "FreeOfAdultContent";
|
|
@@ -270,14 +240,6 @@ export var CreateCollectionResponse;
|
|
|
270
240
|
(function (CreateCollectionResponse) {
|
|
271
241
|
CreateCollectionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
272
242
|
})(CreateCollectionResponse || (CreateCollectionResponse = {}));
|
|
273
|
-
export var ResourceAlreadyExistsException;
|
|
274
|
-
(function (ResourceAlreadyExistsException) {
|
|
275
|
-
ResourceAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
276
|
-
})(ResourceAlreadyExistsException || (ResourceAlreadyExistsException = {}));
|
|
277
|
-
export var ServiceQuotaExceededException;
|
|
278
|
-
(function (ServiceQuotaExceededException) {
|
|
279
|
-
ServiceQuotaExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
280
|
-
})(ServiceQuotaExceededException || (ServiceQuotaExceededException = {}));
|
|
281
243
|
export var DatasetSource;
|
|
282
244
|
(function (DatasetSource) {
|
|
283
245
|
DatasetSource.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -295,14 +257,6 @@ export var CreateDatasetResponse;
|
|
|
295
257
|
(function (CreateDatasetResponse) {
|
|
296
258
|
CreateDatasetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
297
259
|
})(CreateDatasetResponse || (CreateDatasetResponse = {}));
|
|
298
|
-
export var LimitExceededException;
|
|
299
|
-
(function (LimitExceededException) {
|
|
300
|
-
LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
301
|
-
})(LimitExceededException || (LimitExceededException = {}));
|
|
302
|
-
export var ResourceNotFoundException;
|
|
303
|
-
(function (ResourceNotFoundException) {
|
|
304
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
305
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
306
260
|
export var CreateProjectRequest;
|
|
307
261
|
(function (CreateProjectRequest) {
|
|
308
262
|
CreateProjectRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -311,10 +265,6 @@ export var CreateProjectResponse;
|
|
|
311
265
|
(function (CreateProjectResponse) {
|
|
312
266
|
CreateProjectResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
313
267
|
})(CreateProjectResponse || (CreateProjectResponse = {}));
|
|
314
|
-
export var ResourceInUseException;
|
|
315
|
-
(function (ResourceInUseException) {
|
|
316
|
-
ResourceInUseException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
317
|
-
})(ResourceInUseException || (ResourceInUseException = {}));
|
|
318
268
|
export var OutputConfig;
|
|
319
269
|
(function (OutputConfig) {
|
|
320
270
|
OutputConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -513,10 +463,6 @@ export var DescribeProjectsResponse;
|
|
|
513
463
|
(function (DescribeProjectsResponse) {
|
|
514
464
|
DescribeProjectsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
515
465
|
})(DescribeProjectsResponse || (DescribeProjectsResponse = {}));
|
|
516
|
-
export var InvalidPaginationTokenException;
|
|
517
|
-
(function (InvalidPaginationTokenException) {
|
|
518
|
-
InvalidPaginationTokenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
519
|
-
})(InvalidPaginationTokenException || (InvalidPaginationTokenException = {}));
|
|
520
466
|
export var DescribeProjectVersionsRequest;
|
|
521
467
|
(function (DescribeProjectVersionsRequest) {
|
|
522
468
|
DescribeProjectVersionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -573,10 +519,6 @@ export var DetectCustomLabelsResponse;
|
|
|
573
519
|
(function (DetectCustomLabelsResponse) {
|
|
574
520
|
DetectCustomLabelsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
575
521
|
})(DetectCustomLabelsResponse || (DetectCustomLabelsResponse = {}));
|
|
576
|
-
export var ResourceNotReadyException;
|
|
577
|
-
(function (ResourceNotReadyException) {
|
|
578
|
-
ResourceNotReadyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
579
|
-
})(ResourceNotReadyException || (ResourceNotReadyException = {}));
|
|
580
522
|
export var DetectFacesRequest;
|
|
581
523
|
(function (DetectFacesRequest) {
|
|
582
524
|
DetectFacesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -629,10 +571,6 @@ export var DetectModerationLabelsResponse;
|
|
|
629
571
|
(function (DetectModerationLabelsResponse) {
|
|
630
572
|
DetectModerationLabelsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
631
573
|
})(DetectModerationLabelsResponse || (DetectModerationLabelsResponse = {}));
|
|
632
|
-
export var HumanLoopQuotaExceededException;
|
|
633
|
-
(function (HumanLoopQuotaExceededException) {
|
|
634
|
-
HumanLoopQuotaExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
635
|
-
})(HumanLoopQuotaExceededException || (HumanLoopQuotaExceededException = {}));
|
|
636
574
|
export var ProtectiveEquipmentSummarizationAttributes;
|
|
637
575
|
(function (ProtectiveEquipmentSummarizationAttributes) {
|
|
638
576
|
ProtectiveEquipmentSummarizationAttributes.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -864,10 +802,6 @@ export var GetTextDetectionResponse;
|
|
|
864
802
|
(function (GetTextDetectionResponse) {
|
|
865
803
|
GetTextDetectionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
866
804
|
})(GetTextDetectionResponse || (GetTextDetectionResponse = {}));
|
|
867
|
-
export var IdempotentParameterMismatchException;
|
|
868
|
-
(function (IdempotentParameterMismatchException) {
|
|
869
|
-
IdempotentParameterMismatchException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
870
|
-
})(IdempotentParameterMismatchException || (IdempotentParameterMismatchException = {}));
|
|
871
805
|
export var IndexFacesRequest;
|
|
872
806
|
(function (IndexFacesRequest) {
|
|
873
807
|
IndexFacesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -982,10 +916,6 @@ export var StartCelebrityRecognitionResponse;
|
|
|
982
916
|
(function (StartCelebrityRecognitionResponse) {
|
|
983
917
|
StartCelebrityRecognitionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
984
918
|
})(StartCelebrityRecognitionResponse || (StartCelebrityRecognitionResponse = {}));
|
|
985
|
-
export var VideoTooLargeException;
|
|
986
|
-
(function (VideoTooLargeException) {
|
|
987
|
-
VideoTooLargeException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
988
|
-
})(VideoTooLargeException || (VideoTooLargeException = {}));
|
|
989
919
|
export var StartContentModerationRequest;
|
|
990
920
|
(function (StartContentModerationRequest) {
|
|
991
921
|
StartContentModerationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -8245,6 +8245,7 @@ var deserializeAws_json1_1Face = function (output, context) {
|
|
|
8245
8245
|
ExternalImageId: __expectString(output.ExternalImageId),
|
|
8246
8246
|
FaceId: __expectString(output.FaceId),
|
|
8247
8247
|
ImageId: __expectString(output.ImageId),
|
|
8248
|
+
IndexFacesModelVersion: __expectString(output.IndexFacesModelVersion),
|
|
8248
8249
|
};
|
|
8249
8250
|
};
|
|
8250
8251
|
var deserializeAws_json1_1FaceDetail = function (output, context) {
|