@aws-sdk/client-rekognition 3.128.0 → 3.137.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 (128) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist-cjs/commands/CompareFacesCommand.js +2 -2
  3. package/dist-cjs/commands/CreateCollectionCommand.js +2 -2
  4. package/dist-cjs/commands/CreateDatasetCommand.js +2 -2
  5. package/dist-cjs/commands/CreateProjectCommand.js +2 -2
  6. package/dist-cjs/commands/CreateProjectVersionCommand.js +2 -2
  7. package/dist-cjs/commands/CreateStreamProcessorCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteCollectionCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteDatasetCommand.js +2 -2
  10. package/dist-cjs/commands/DeleteFacesCommand.js +2 -2
  11. package/dist-cjs/commands/DeleteProjectCommand.js +2 -2
  12. package/dist-cjs/commands/DeleteProjectVersionCommand.js +2 -2
  13. package/dist-cjs/commands/DeleteStreamProcessorCommand.js +2 -2
  14. package/dist-cjs/commands/DescribeCollectionCommand.js +2 -2
  15. package/dist-cjs/commands/DescribeDatasetCommand.js +2 -2
  16. package/dist-cjs/commands/DescribeProjectVersionsCommand.js +2 -2
  17. package/dist-cjs/commands/DescribeProjectsCommand.js +2 -2
  18. package/dist-cjs/commands/DescribeStreamProcessorCommand.js +2 -2
  19. package/dist-cjs/commands/DetectCustomLabelsCommand.js +2 -2
  20. package/dist-cjs/commands/DetectFacesCommand.js +2 -2
  21. package/dist-cjs/commands/DetectLabelsCommand.js +2 -2
  22. package/dist-cjs/commands/DetectModerationLabelsCommand.js +2 -2
  23. package/dist-cjs/commands/DetectProtectiveEquipmentCommand.js +2 -2
  24. package/dist-cjs/commands/DetectTextCommand.js +2 -2
  25. package/dist-cjs/commands/DistributeDatasetEntriesCommand.js +2 -2
  26. package/dist-cjs/commands/GetCelebrityInfoCommand.js +2 -2
  27. package/dist-cjs/commands/GetCelebrityRecognitionCommand.js +2 -2
  28. package/dist-cjs/commands/GetContentModerationCommand.js +2 -2
  29. package/dist-cjs/commands/GetFaceDetectionCommand.js +2 -2
  30. package/dist-cjs/commands/GetFaceSearchCommand.js +2 -2
  31. package/dist-cjs/commands/GetLabelDetectionCommand.js +2 -2
  32. package/dist-cjs/commands/GetPersonTrackingCommand.js +2 -2
  33. package/dist-cjs/commands/GetSegmentDetectionCommand.js +2 -2
  34. package/dist-cjs/commands/GetTextDetectionCommand.js +2 -2
  35. package/dist-cjs/commands/IndexFacesCommand.js +2 -2
  36. package/dist-cjs/commands/ListCollectionsCommand.js +2 -2
  37. package/dist-cjs/commands/ListDatasetEntriesCommand.js +2 -2
  38. package/dist-cjs/commands/ListDatasetLabelsCommand.js +2 -2
  39. package/dist-cjs/commands/ListFacesCommand.js +2 -2
  40. package/dist-cjs/commands/ListStreamProcessorsCommand.js +2 -2
  41. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  42. package/dist-cjs/commands/RecognizeCelebritiesCommand.js +2 -2
  43. package/dist-cjs/commands/SearchFacesByImageCommand.js +2 -2
  44. package/dist-cjs/commands/SearchFacesCommand.js +2 -2
  45. package/dist-cjs/commands/StartCelebrityRecognitionCommand.js +2 -2
  46. package/dist-cjs/commands/StartContentModerationCommand.js +2 -2
  47. package/dist-cjs/commands/StartFaceDetectionCommand.js +2 -2
  48. package/dist-cjs/commands/StartFaceSearchCommand.js +2 -2
  49. package/dist-cjs/commands/StartLabelDetectionCommand.js +2 -2
  50. package/dist-cjs/commands/StartPersonTrackingCommand.js +2 -2
  51. package/dist-cjs/commands/StartProjectVersionCommand.js +2 -2
  52. package/dist-cjs/commands/StartSegmentDetectionCommand.js +2 -2
  53. package/dist-cjs/commands/StartStreamProcessorCommand.js +2 -2
  54. package/dist-cjs/commands/StartTextDetectionCommand.js +2 -2
  55. package/dist-cjs/commands/StopProjectVersionCommand.js +2 -2
  56. package/dist-cjs/commands/StopStreamProcessorCommand.js +2 -2
  57. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  58. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  59. package/dist-cjs/commands/UpdateDatasetEntriesCommand.js +2 -2
  60. package/dist-cjs/commands/UpdateStreamProcessorCommand.js +2 -2
  61. package/dist-cjs/models/models_0.js +894 -1338
  62. package/dist-cjs/protocols/Aws_json1_1.js +5 -0
  63. package/dist-es/commands/CompareFacesCommand.js +3 -3
  64. package/dist-es/commands/CreateCollectionCommand.js +3 -3
  65. package/dist-es/commands/CreateDatasetCommand.js +3 -3
  66. package/dist-es/commands/CreateProjectCommand.js +3 -3
  67. package/dist-es/commands/CreateProjectVersionCommand.js +3 -3
  68. package/dist-es/commands/CreateStreamProcessorCommand.js +3 -3
  69. package/dist-es/commands/DeleteCollectionCommand.js +3 -3
  70. package/dist-es/commands/DeleteDatasetCommand.js +3 -3
  71. package/dist-es/commands/DeleteFacesCommand.js +3 -3
  72. package/dist-es/commands/DeleteProjectCommand.js +3 -3
  73. package/dist-es/commands/DeleteProjectVersionCommand.js +3 -3
  74. package/dist-es/commands/DeleteStreamProcessorCommand.js +3 -3
  75. package/dist-es/commands/DescribeCollectionCommand.js +3 -3
  76. package/dist-es/commands/DescribeDatasetCommand.js +3 -3
  77. package/dist-es/commands/DescribeProjectVersionsCommand.js +3 -3
  78. package/dist-es/commands/DescribeProjectsCommand.js +3 -3
  79. package/dist-es/commands/DescribeStreamProcessorCommand.js +3 -3
  80. package/dist-es/commands/DetectCustomLabelsCommand.js +3 -3
  81. package/dist-es/commands/DetectFacesCommand.js +3 -3
  82. package/dist-es/commands/DetectLabelsCommand.js +3 -3
  83. package/dist-es/commands/DetectModerationLabelsCommand.js +3 -3
  84. package/dist-es/commands/DetectProtectiveEquipmentCommand.js +3 -3
  85. package/dist-es/commands/DetectTextCommand.js +3 -3
  86. package/dist-es/commands/DistributeDatasetEntriesCommand.js +3 -3
  87. package/dist-es/commands/GetCelebrityInfoCommand.js +3 -3
  88. package/dist-es/commands/GetCelebrityRecognitionCommand.js +3 -3
  89. package/dist-es/commands/GetContentModerationCommand.js +3 -3
  90. package/dist-es/commands/GetFaceDetectionCommand.js +3 -3
  91. package/dist-es/commands/GetFaceSearchCommand.js +3 -3
  92. package/dist-es/commands/GetLabelDetectionCommand.js +3 -3
  93. package/dist-es/commands/GetPersonTrackingCommand.js +3 -3
  94. package/dist-es/commands/GetSegmentDetectionCommand.js +3 -3
  95. package/dist-es/commands/GetTextDetectionCommand.js +3 -3
  96. package/dist-es/commands/IndexFacesCommand.js +3 -3
  97. package/dist-es/commands/ListCollectionsCommand.js +3 -3
  98. package/dist-es/commands/ListDatasetEntriesCommand.js +3 -3
  99. package/dist-es/commands/ListDatasetLabelsCommand.js +3 -3
  100. package/dist-es/commands/ListFacesCommand.js +3 -3
  101. package/dist-es/commands/ListStreamProcessorsCommand.js +3 -3
  102. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  103. package/dist-es/commands/RecognizeCelebritiesCommand.js +3 -3
  104. package/dist-es/commands/SearchFacesByImageCommand.js +3 -3
  105. package/dist-es/commands/SearchFacesCommand.js +3 -3
  106. package/dist-es/commands/StartCelebrityRecognitionCommand.js +3 -3
  107. package/dist-es/commands/StartContentModerationCommand.js +3 -3
  108. package/dist-es/commands/StartFaceDetectionCommand.js +3 -3
  109. package/dist-es/commands/StartFaceSearchCommand.js +3 -3
  110. package/dist-es/commands/StartLabelDetectionCommand.js +3 -3
  111. package/dist-es/commands/StartPersonTrackingCommand.js +3 -3
  112. package/dist-es/commands/StartProjectVersionCommand.js +3 -3
  113. package/dist-es/commands/StartSegmentDetectionCommand.js +3 -3
  114. package/dist-es/commands/StartStreamProcessorCommand.js +3 -3
  115. package/dist-es/commands/StartTextDetectionCommand.js +3 -3
  116. package/dist-es/commands/StopProjectVersionCommand.js +3 -3
  117. package/dist-es/commands/StopStreamProcessorCommand.js +3 -3
  118. package/dist-es/commands/TagResourceCommand.js +3 -3
  119. package/dist-es/commands/UntagResourceCommand.js +3 -3
  120. package/dist-es/commands/UpdateDatasetEntriesCommand.js +3 -3
  121. package/dist-es/commands/UpdateStreamProcessorCommand.js +3 -3
  122. package/dist-es/models/models_0.js +222 -888
  123. package/dist-es/protocols/Aws_json1_1.js +5 -1
  124. package/dist-types/Rekognition.d.ts +3 -0
  125. package/dist-types/commands/StartProjectVersionCommand.d.ts +3 -0
  126. package/dist-types/models/models_0.d.ts +905 -1333
  127. package/dist-types/ts3.4/models/models_0.d.ts +446 -886
  128. package/package.json +9 -9
@@ -5762,7 +5762,7 @@ var serializeAws_json1_1StartPersonTrackingRequest = function (input, context) {
5762
5762
  })), (input.Video != null && { Video: serializeAws_json1_1Video(input.Video, context) }));
5763
5763
  };
5764
5764
  var serializeAws_json1_1StartProjectVersionRequest = function (input, context) {
5765
- return __assign(__assign({}, (input.MinInferenceUnits != null && { MinInferenceUnits: input.MinInferenceUnits })), (input.ProjectVersionArn != null && { ProjectVersionArn: input.ProjectVersionArn }));
5765
+ return __assign(__assign(__assign({}, (input.MaxInferenceUnits != null && { MaxInferenceUnits: input.MaxInferenceUnits })), (input.MinInferenceUnits != null && { MinInferenceUnits: input.MinInferenceUnits })), (input.ProjectVersionArn != null && { ProjectVersionArn: input.ProjectVersionArn }));
5766
5766
  };
5767
5767
  var serializeAws_json1_1StartSegmentDetectionFilters = function (input, context) {
5768
5768
  return __assign(__assign({}, (input.ShotFilter != null && {
@@ -7088,6 +7088,7 @@ var deserializeAws_json1_1ProjectVersionDescription = function (output, context)
7088
7088
  ManifestSummary: output.ManifestSummary != null
7089
7089
  ? deserializeAws_json1_1GroundTruthManifest(output.ManifestSummary, context)
7090
7090
  : undefined,
7091
+ MaxInferenceUnits: __expectInt32(output.MaxInferenceUnits),
7091
7092
  MinInferenceUnits: __expectInt32(output.MinInferenceUnits),
7092
7093
  OutputConfig: output.OutputConfig != null ? deserializeAws_json1_1OutputConfig(output.OutputConfig, context) : undefined,
7093
7094
  ProjectVersionArn: __expectString(output.ProjectVersionArn),
@@ -7669,6 +7670,9 @@ var loadRestJsonErrorCode = function (output, data) {
7669
7670
  var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
7670
7671
  var sanitizeErrorCode = function (rawValue) {
7671
7672
  var cleanValue = rawValue;
7673
+ if (typeof cleanValue === "number") {
7674
+ cleanValue = cleanValue.toString();
7675
+ }
7672
7676
  if (cleanValue.indexOf(":") >= 0) {
7673
7677
  cleanValue = cleanValue.split(":")[0];
7674
7678
  }
@@ -1613,6 +1613,9 @@ export declare class Rekognition extends RekognitionClient {
1613
1613
  * <p>You are charged for the amount of time that the model is running. To stop a running
1614
1614
  * model, call <a>StopProjectVersion</a>.</p>
1615
1615
  * </note>
1616
+ *
1617
+ * <p>For more information, see <i>Running a trained Amazon Rekognition Custom Labels model</i> in the Amazon Rekognition Custom Labels Guide.</p>
1618
+ *
1616
1619
  * <p>This operation requires permissions to perform the
1617
1620
  * <code>rekognition:StartProjectVersion</code> action.</p>
1618
1621
  */
@@ -15,6 +15,9 @@ export interface StartProjectVersionCommandOutput extends StartProjectVersionRes
15
15
  * <p>You are charged for the amount of time that the model is running. To stop a running
16
16
  * model, call <a>StopProjectVersion</a>.</p>
17
17
  * </note>
18
+ *
19
+ * <p>For more information, see <i>Running a trained Amazon Rekognition Custom Labels model</i> in the Amazon Rekognition Custom Labels Guide.</p>
20
+ *
18
21
  * <p>This operation requires permissions to perform the
19
22
  * <code>rekognition:StartProjectVersion</code> action.</p>
20
23
  * @example