@aws-sdk/client-rekognition 3.50.0 → 3.53.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 (104) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/RekognitionServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +298 -5
  5. package/dist-cjs/protocols/Aws_json1_1.js +821 -3362
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/RekognitionServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +275 -1
  9. package/dist-es/protocols/Aws_json1_1.js +1727 -3559
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/RekognitionServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +128 -56
  13. package/dist-types/ts3.4/Rekognition.d.ts +295 -0
  14. package/dist-types/ts3.4/RekognitionClient.d.ts +131 -0
  15. package/dist-types/ts3.4/commands/CompareFacesCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CreateCollectionCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateProjectVersionCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CreateStreamProcessorCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/DeleteCollectionCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/DeleteFacesCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/DeleteProjectVersionCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/DeleteStreamProcessorCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/DescribeCollectionCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/DescribeProjectVersionsCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/DescribeProjectsCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/DescribeStreamProcessorCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/DetectCustomLabelsCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/DetectFacesCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/DetectLabelsCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/DetectModerationLabelsCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/DetectProtectiveEquipmentCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/DetectTextCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/DistributeDatasetEntriesCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/GetCelebrityInfoCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/GetCelebrityRecognitionCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/GetContentModerationCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/GetFaceDetectionCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/GetFaceSearchCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/GetLabelDetectionCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/GetPersonTrackingCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/GetSegmentDetectionCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/GetTextDetectionCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/IndexFacesCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/ListCollectionsCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/ListDatasetEntriesCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/ListDatasetLabelsCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/ListFacesCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/ListStreamProcessorsCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/RecognizeCelebritiesCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/SearchFacesByImageCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/SearchFacesCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/StartCelebrityRecognitionCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/StartContentModerationCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/StartFaceDetectionCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/StartFaceSearchCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/StartLabelDetectionCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/StartPersonTrackingCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/StartProjectVersionCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/StartSegmentDetectionCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/StartStreamProcessorCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/StartTextDetectionCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/StopProjectVersionCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/StopStreamProcessorCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/UpdateDatasetEntriesCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/index.d.ts +58 -0
  74. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  75. package/dist-types/ts3.4/index.d.ts +7 -0
  76. package/dist-types/ts3.4/models/RekognitionServiceException.d.ts +6 -0
  77. package/dist-types/ts3.4/models/index.d.ts +1 -0
  78. package/dist-types/ts3.4/models/models_0.d.ts +2902 -0
  79. package/dist-types/ts3.4/pagination/DescribeProjectVersionsPaginator.d.ts +4 -0
  80. package/dist-types/ts3.4/pagination/DescribeProjectsPaginator.d.ts +4 -0
  81. package/dist-types/ts3.4/pagination/GetCelebrityRecognitionPaginator.d.ts +4 -0
  82. package/dist-types/ts3.4/pagination/GetContentModerationPaginator.d.ts +4 -0
  83. package/dist-types/ts3.4/pagination/GetFaceDetectionPaginator.d.ts +4 -0
  84. package/dist-types/ts3.4/pagination/GetFaceSearchPaginator.d.ts +4 -0
  85. package/dist-types/ts3.4/pagination/GetLabelDetectionPaginator.d.ts +4 -0
  86. package/dist-types/ts3.4/pagination/GetPersonTrackingPaginator.d.ts +4 -0
  87. package/dist-types/ts3.4/pagination/GetSegmentDetectionPaginator.d.ts +4 -0
  88. package/dist-types/ts3.4/pagination/GetTextDetectionPaginator.d.ts +4 -0
  89. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  90. package/dist-types/ts3.4/pagination/ListCollectionsPaginator.d.ts +4 -0
  91. package/dist-types/ts3.4/pagination/ListDatasetEntriesPaginator.d.ts +4 -0
  92. package/dist-types/ts3.4/pagination/ListDatasetLabelsPaginator.d.ts +4 -0
  93. package/dist-types/ts3.4/pagination/ListFacesPaginator.d.ts +4 -0
  94. package/dist-types/ts3.4/pagination/ListStreamProcessorsPaginator.d.ts +4 -0
  95. package/dist-types/ts3.4/pagination/index.d.ts +16 -0
  96. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +176 -0
  97. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  98. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  99. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  100. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  101. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  102. package/dist-types/ts3.4/waiters/waitForProjectVersionRunning.d.ts +7 -0
  103. package/dist-types/ts3.4/waiters/waitForProjectVersionTrainingCompleted.d.ts +7 -0
  104. package/package.json +34 -34
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
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.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-rekognition
20
+
21
+
22
+
23
+
24
+
25
+ # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-rekognition
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-rekognition
package/dist-cjs/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RekognitionServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./Rekognition"), exports);
5
6
  tslib_1.__exportStar(require("./RekognitionClient"), exports);
@@ -7,3 +8,5 @@ tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
9
10
  tslib_1.__exportStar(require("./waiters"), exports);
11
+ var RekognitionServiceException_1 = require("./models/RekognitionServiceException");
12
+ Object.defineProperty(exports, "RekognitionServiceException", { enumerable: true, get: function () { return RekognitionServiceException_1.RekognitionServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RekognitionServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class RekognitionServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, RekognitionServiceException.prototype);
9
+ }
10
+ }
11
+ exports.RekognitionServiceException = RekognitionServiceException;
@@ -1,10 +1,28 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
3
+ exports.ThrottlingException = exports.ProvisionedThroughputExceededException = exports.InvalidS3ObjectException = exports.InvalidParameterException = exports.InvalidImageFormatException = exports.InternalServerError = exports.ImageTooLargeException = 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 = exports.AccessDeniedException = void 0;
4
+ 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.ResourceInUseException = exports.CreateProjectResponse = exports.CreateProjectRequest = exports.ResourceNotFoundException = exports.LimitExceededException = exports.CreateDatasetResponse = exports.CreateDatasetRequest = exports.DatasetType = exports.DatasetSource = exports.ServiceQuotaExceededException = exports.ResourceAlreadyExistsException = exports.CreateCollectionResponse = exports.CreateCollectionRequest = exports.ContentModerationSortBy = exports.ContentModerationDetection = exports.ModerationLabel = exports.ContentClassifier = void 0;
5
+ exports.TextTypes = exports.DetectTextRequest = exports.DetectTextFilters = exports.RegionOfInterest = exports.DetectProtectiveEquipmentResponse = exports.ProtectiveEquipmentSummary = exports.ProtectiveEquipmentPerson = exports.DetectProtectiveEquipmentRequest = exports.ProtectiveEquipmentSummarizationAttributes = exports.HumanLoopQuotaExceededException = 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.ResourceNotReadyException = exports.DetectCustomLabelsResponse = exports.DetectCustomLabelsRequest = exports.DescribeStreamProcessorResponse = exports.StreamProcessorStatus = exports.DescribeStreamProcessorRequest = exports.DescribeProjectVersionsResponse = exports.ProjectVersionDescription = exports.TrainingDataResult = exports.TestingDataResult = exports.ValidationData = exports.EvaluationResult = exports.Summary = exports.DescribeProjectVersionsRequest = exports.InvalidPaginationTokenException = exports.DescribeProjectsResponse = exports.ProjectDescription = exports.DescribeProjectsRequest = exports.DescribeDatasetResponse = exports.DescribeDatasetRequest = exports.DescribeCollectionResponse = exports.DescribeCollectionRequest = exports.DeleteStreamProcessorResponse = exports.DeleteStreamProcessorRequest = exports.DeleteProjectVersionResponse = exports.ProjectVersionStatus = exports.DeleteProjectVersionRequest = void 0;
6
+ exports.IndexFacesResponse = exports.UnindexedFace = exports.Reason = exports.IndexFacesRequest = exports.IdempotentParameterMismatchException = 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 = 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 = void 0;
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.VideoTooLargeException = exports.StartCelebrityRecognitionResponse = exports.StartCelebrityRecognitionRequest = exports.Video = exports.SearchFacesByImageResponse = exports.SearchFacesByImageRequest = exports.SearchFacesResponse = 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 = void 0;
8
+ exports.UpdateDatasetEntriesResponse = exports.UpdateDatasetEntriesRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = void 0;
9
+ const RekognitionServiceException_1 = require("./RekognitionServiceException");
10
+ class AccessDeniedException extends RekognitionServiceException_1.RekognitionServiceException {
11
+ constructor(opts) {
12
+ super({
13
+ name: "AccessDeniedException",
14
+ $fault: "client",
15
+ ...opts,
16
+ });
17
+ this.name = "AccessDeniedException";
18
+ this.$fault = "client";
19
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
20
+ this.Message = opts.Message;
21
+ this.Code = opts.Code;
22
+ this.Logref = opts.Logref;
23
+ }
24
+ }
25
+ exports.AccessDeniedException = AccessDeniedException;
8
26
  var AgeRange;
9
27
  (function (AgeRange) {
10
28
  AgeRange.filterSensitiveLog = (obj) => ({
@@ -286,6 +304,118 @@ var CompareFacesResponse;
286
304
  ...obj,
287
305
  });
288
306
  })(CompareFacesResponse = exports.CompareFacesResponse || (exports.CompareFacesResponse = {}));
307
+ class ImageTooLargeException extends RekognitionServiceException_1.RekognitionServiceException {
308
+ constructor(opts) {
309
+ super({
310
+ name: "ImageTooLargeException",
311
+ $fault: "client",
312
+ ...opts,
313
+ });
314
+ this.name = "ImageTooLargeException";
315
+ this.$fault = "client";
316
+ Object.setPrototypeOf(this, ImageTooLargeException.prototype);
317
+ this.Message = opts.Message;
318
+ this.Code = opts.Code;
319
+ this.Logref = opts.Logref;
320
+ }
321
+ }
322
+ exports.ImageTooLargeException = ImageTooLargeException;
323
+ class InternalServerError extends RekognitionServiceException_1.RekognitionServiceException {
324
+ constructor(opts) {
325
+ super({
326
+ name: "InternalServerError",
327
+ $fault: "server",
328
+ ...opts,
329
+ });
330
+ this.name = "InternalServerError";
331
+ this.$fault = "server";
332
+ Object.setPrototypeOf(this, InternalServerError.prototype);
333
+ this.Message = opts.Message;
334
+ this.Code = opts.Code;
335
+ this.Logref = opts.Logref;
336
+ }
337
+ }
338
+ exports.InternalServerError = InternalServerError;
339
+ class InvalidImageFormatException extends RekognitionServiceException_1.RekognitionServiceException {
340
+ constructor(opts) {
341
+ super({
342
+ name: "InvalidImageFormatException",
343
+ $fault: "client",
344
+ ...opts,
345
+ });
346
+ this.name = "InvalidImageFormatException";
347
+ this.$fault = "client";
348
+ Object.setPrototypeOf(this, InvalidImageFormatException.prototype);
349
+ this.Message = opts.Message;
350
+ this.Code = opts.Code;
351
+ this.Logref = opts.Logref;
352
+ }
353
+ }
354
+ exports.InvalidImageFormatException = InvalidImageFormatException;
355
+ class InvalidParameterException extends RekognitionServiceException_1.RekognitionServiceException {
356
+ constructor(opts) {
357
+ super({
358
+ name: "InvalidParameterException",
359
+ $fault: "client",
360
+ ...opts,
361
+ });
362
+ this.name = "InvalidParameterException";
363
+ this.$fault = "client";
364
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
365
+ this.Message = opts.Message;
366
+ this.Code = opts.Code;
367
+ this.Logref = opts.Logref;
368
+ }
369
+ }
370
+ exports.InvalidParameterException = InvalidParameterException;
371
+ class InvalidS3ObjectException extends RekognitionServiceException_1.RekognitionServiceException {
372
+ constructor(opts) {
373
+ super({
374
+ name: "InvalidS3ObjectException",
375
+ $fault: "client",
376
+ ...opts,
377
+ });
378
+ this.name = "InvalidS3ObjectException";
379
+ this.$fault = "client";
380
+ Object.setPrototypeOf(this, InvalidS3ObjectException.prototype);
381
+ this.Message = opts.Message;
382
+ this.Code = opts.Code;
383
+ this.Logref = opts.Logref;
384
+ }
385
+ }
386
+ exports.InvalidS3ObjectException = InvalidS3ObjectException;
387
+ class ProvisionedThroughputExceededException extends RekognitionServiceException_1.RekognitionServiceException {
388
+ constructor(opts) {
389
+ super({
390
+ name: "ProvisionedThroughputExceededException",
391
+ $fault: "client",
392
+ ...opts,
393
+ });
394
+ this.name = "ProvisionedThroughputExceededException";
395
+ this.$fault = "client";
396
+ Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype);
397
+ this.Message = opts.Message;
398
+ this.Code = opts.Code;
399
+ this.Logref = opts.Logref;
400
+ }
401
+ }
402
+ exports.ProvisionedThroughputExceededException = ProvisionedThroughputExceededException;
403
+ class ThrottlingException extends RekognitionServiceException_1.RekognitionServiceException {
404
+ constructor(opts) {
405
+ super({
406
+ name: "ThrottlingException",
407
+ $fault: "server",
408
+ ...opts,
409
+ });
410
+ this.name = "ThrottlingException";
411
+ this.$fault = "server";
412
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
413
+ this.Message = opts.Message;
414
+ this.Code = opts.Code;
415
+ this.Logref = opts.Logref;
416
+ }
417
+ }
418
+ exports.ThrottlingException = ThrottlingException;
289
419
  var ContentClassifier;
290
420
  (function (ContentClassifier) {
291
421
  ContentClassifier["FREE_OF_ADULT_CONTENT"] = "FreeOfAdultContent";
@@ -320,6 +450,38 @@ var CreateCollectionResponse;
320
450
  ...obj,
321
451
  });
322
452
  })(CreateCollectionResponse = exports.CreateCollectionResponse || (exports.CreateCollectionResponse = {}));
453
+ class ResourceAlreadyExistsException extends RekognitionServiceException_1.RekognitionServiceException {
454
+ constructor(opts) {
455
+ super({
456
+ name: "ResourceAlreadyExistsException",
457
+ $fault: "client",
458
+ ...opts,
459
+ });
460
+ this.name = "ResourceAlreadyExistsException";
461
+ this.$fault = "client";
462
+ Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
463
+ this.Message = opts.Message;
464
+ this.Code = opts.Code;
465
+ this.Logref = opts.Logref;
466
+ }
467
+ }
468
+ exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
469
+ class ServiceQuotaExceededException extends RekognitionServiceException_1.RekognitionServiceException {
470
+ constructor(opts) {
471
+ super({
472
+ name: "ServiceQuotaExceededException",
473
+ $fault: "client",
474
+ ...opts,
475
+ });
476
+ this.name = "ServiceQuotaExceededException";
477
+ this.$fault = "client";
478
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
479
+ this.Message = opts.Message;
480
+ this.Code = opts.Code;
481
+ this.Logref = opts.Logref;
482
+ }
483
+ }
484
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
323
485
  var DatasetSource;
324
486
  (function (DatasetSource) {
325
487
  DatasetSource.filterSensitiveLog = (obj) => ({
@@ -343,6 +505,38 @@ var CreateDatasetResponse;
343
505
  ...obj,
344
506
  });
345
507
  })(CreateDatasetResponse = exports.CreateDatasetResponse || (exports.CreateDatasetResponse = {}));
508
+ class LimitExceededException extends RekognitionServiceException_1.RekognitionServiceException {
509
+ constructor(opts) {
510
+ super({
511
+ name: "LimitExceededException",
512
+ $fault: "client",
513
+ ...opts,
514
+ });
515
+ this.name = "LimitExceededException";
516
+ this.$fault = "client";
517
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
518
+ this.Message = opts.Message;
519
+ this.Code = opts.Code;
520
+ this.Logref = opts.Logref;
521
+ }
522
+ }
523
+ exports.LimitExceededException = LimitExceededException;
524
+ class ResourceNotFoundException extends RekognitionServiceException_1.RekognitionServiceException {
525
+ constructor(opts) {
526
+ super({
527
+ name: "ResourceNotFoundException",
528
+ $fault: "client",
529
+ ...opts,
530
+ });
531
+ this.name = "ResourceNotFoundException";
532
+ this.$fault = "client";
533
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
534
+ this.Message = opts.Message;
535
+ this.Code = opts.Code;
536
+ this.Logref = opts.Logref;
537
+ }
538
+ }
539
+ exports.ResourceNotFoundException = ResourceNotFoundException;
346
540
  var CreateProjectRequest;
347
541
  (function (CreateProjectRequest) {
348
542
  CreateProjectRequest.filterSensitiveLog = (obj) => ({
@@ -355,6 +549,22 @@ var CreateProjectResponse;
355
549
  ...obj,
356
550
  });
357
551
  })(CreateProjectResponse = exports.CreateProjectResponse || (exports.CreateProjectResponse = {}));
552
+ class ResourceInUseException extends RekognitionServiceException_1.RekognitionServiceException {
553
+ constructor(opts) {
554
+ super({
555
+ name: "ResourceInUseException",
556
+ $fault: "client",
557
+ ...opts,
558
+ });
559
+ this.name = "ResourceInUseException";
560
+ this.$fault = "client";
561
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
562
+ this.Message = opts.Message;
563
+ this.Code = opts.Code;
564
+ this.Logref = opts.Logref;
565
+ }
566
+ }
567
+ exports.ResourceInUseException = ResourceInUseException;
358
568
  var OutputConfig;
359
569
  (function (OutputConfig) {
360
570
  OutputConfig.filterSensitiveLog = (obj) => ({
@@ -635,6 +845,22 @@ var DescribeProjectsResponse;
635
845
  ...obj,
636
846
  });
637
847
  })(DescribeProjectsResponse = exports.DescribeProjectsResponse || (exports.DescribeProjectsResponse = {}));
848
+ class InvalidPaginationTokenException extends RekognitionServiceException_1.RekognitionServiceException {
849
+ constructor(opts) {
850
+ super({
851
+ name: "InvalidPaginationTokenException",
852
+ $fault: "client",
853
+ ...opts,
854
+ });
855
+ this.name = "InvalidPaginationTokenException";
856
+ this.$fault = "client";
857
+ Object.setPrototypeOf(this, InvalidPaginationTokenException.prototype);
858
+ this.Message = opts.Message;
859
+ this.Code = opts.Code;
860
+ this.Logref = opts.Logref;
861
+ }
862
+ }
863
+ exports.InvalidPaginationTokenException = InvalidPaginationTokenException;
638
864
  var DescribeProjectVersionsRequest;
639
865
  (function (DescribeProjectVersionsRequest) {
640
866
  DescribeProjectVersionsRequest.filterSensitiveLog = (obj) => ({
@@ -715,6 +941,22 @@ var DetectCustomLabelsResponse;
715
941
  ...obj,
716
942
  });
717
943
  })(DetectCustomLabelsResponse = exports.DetectCustomLabelsResponse || (exports.DetectCustomLabelsResponse = {}));
944
+ class ResourceNotReadyException extends RekognitionServiceException_1.RekognitionServiceException {
945
+ constructor(opts) {
946
+ super({
947
+ name: "ResourceNotReadyException",
948
+ $fault: "client",
949
+ ...opts,
950
+ });
951
+ this.name = "ResourceNotReadyException";
952
+ this.$fault = "client";
953
+ Object.setPrototypeOf(this, ResourceNotReadyException.prototype);
954
+ this.Message = opts.Message;
955
+ this.Code = opts.Code;
956
+ this.Logref = opts.Logref;
957
+ }
958
+ }
959
+ exports.ResourceNotReadyException = ResourceNotReadyException;
718
960
  var DetectFacesRequest;
719
961
  (function (DetectFacesRequest) {
720
962
  DetectFacesRequest.filterSensitiveLog = (obj) => ({
@@ -793,6 +1035,25 @@ var DetectModerationLabelsResponse;
793
1035
  ...obj,
794
1036
  });
795
1037
  })(DetectModerationLabelsResponse = exports.DetectModerationLabelsResponse || (exports.DetectModerationLabelsResponse = {}));
1038
+ class HumanLoopQuotaExceededException extends RekognitionServiceException_1.RekognitionServiceException {
1039
+ constructor(opts) {
1040
+ super({
1041
+ name: "HumanLoopQuotaExceededException",
1042
+ $fault: "client",
1043
+ ...opts,
1044
+ });
1045
+ this.name = "HumanLoopQuotaExceededException";
1046
+ this.$fault = "client";
1047
+ Object.setPrototypeOf(this, HumanLoopQuotaExceededException.prototype);
1048
+ this.ResourceType = opts.ResourceType;
1049
+ this.QuotaCode = opts.QuotaCode;
1050
+ this.ServiceCode = opts.ServiceCode;
1051
+ this.Message = opts.Message;
1052
+ this.Code = opts.Code;
1053
+ this.Logref = opts.Logref;
1054
+ }
1055
+ }
1056
+ exports.HumanLoopQuotaExceededException = HumanLoopQuotaExceededException;
796
1057
  var ProtectiveEquipmentSummarizationAttributes;
797
1058
  (function (ProtectiveEquipmentSummarizationAttributes) {
798
1059
  ProtectiveEquipmentSummarizationAttributes.filterSensitiveLog = (obj) => ({
@@ -1114,6 +1375,22 @@ var GetTextDetectionResponse;
1114
1375
  ...obj,
1115
1376
  });
1116
1377
  })(GetTextDetectionResponse = exports.GetTextDetectionResponse || (exports.GetTextDetectionResponse = {}));
1378
+ class IdempotentParameterMismatchException extends RekognitionServiceException_1.RekognitionServiceException {
1379
+ constructor(opts) {
1380
+ super({
1381
+ name: "IdempotentParameterMismatchException",
1382
+ $fault: "client",
1383
+ ...opts,
1384
+ });
1385
+ this.name = "IdempotentParameterMismatchException";
1386
+ this.$fault = "client";
1387
+ Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
1388
+ this.Message = opts.Message;
1389
+ this.Code = opts.Code;
1390
+ this.Logref = opts.Logref;
1391
+ }
1392
+ }
1393
+ exports.IdempotentParameterMismatchException = IdempotentParameterMismatchException;
1117
1394
  var IndexFacesRequest;
1118
1395
  (function (IndexFacesRequest) {
1119
1396
  IndexFacesRequest.filterSensitiveLog = (obj) => ({
@@ -1280,6 +1557,22 @@ var StartCelebrityRecognitionResponse;
1280
1557
  ...obj,
1281
1558
  });
1282
1559
  })(StartCelebrityRecognitionResponse = exports.StartCelebrityRecognitionResponse || (exports.StartCelebrityRecognitionResponse = {}));
1560
+ class VideoTooLargeException extends RekognitionServiceException_1.RekognitionServiceException {
1561
+ constructor(opts) {
1562
+ super({
1563
+ name: "VideoTooLargeException",
1564
+ $fault: "client",
1565
+ ...opts,
1566
+ });
1567
+ this.name = "VideoTooLargeException";
1568
+ this.$fault = "client";
1569
+ Object.setPrototypeOf(this, VideoTooLargeException.prototype);
1570
+ this.Message = opts.Message;
1571
+ this.Code = opts.Code;
1572
+ this.Logref = opts.Logref;
1573
+ }
1574
+ }
1575
+ exports.VideoTooLargeException = VideoTooLargeException;
1283
1576
  var StartContentModerationRequest;
1284
1577
  (function (StartContentModerationRequest) {
1285
1578
  StartContentModerationRequest.filterSensitiveLog = (obj) => ({