@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.
- package/CHANGELOG.md +31 -0
- package/dist-cjs/commands/CompareFacesCommand.js +2 -2
- package/dist-cjs/commands/CreateCollectionCommand.js +2 -2
- package/dist-cjs/commands/CreateDatasetCommand.js +2 -2
- package/dist-cjs/commands/CreateProjectCommand.js +2 -2
- package/dist-cjs/commands/CreateProjectVersionCommand.js +2 -2
- package/dist-cjs/commands/CreateStreamProcessorCommand.js +2 -2
- package/dist-cjs/commands/DeleteCollectionCommand.js +2 -2
- package/dist-cjs/commands/DeleteDatasetCommand.js +2 -2
- package/dist-cjs/commands/DeleteFacesCommand.js +2 -2
- package/dist-cjs/commands/DeleteProjectCommand.js +2 -2
- package/dist-cjs/commands/DeleteProjectVersionCommand.js +2 -2
- package/dist-cjs/commands/DeleteStreamProcessorCommand.js +2 -2
- package/dist-cjs/commands/DescribeCollectionCommand.js +2 -2
- package/dist-cjs/commands/DescribeDatasetCommand.js +2 -2
- package/dist-cjs/commands/DescribeProjectVersionsCommand.js +2 -2
- package/dist-cjs/commands/DescribeProjectsCommand.js +2 -2
- package/dist-cjs/commands/DescribeStreamProcessorCommand.js +2 -2
- package/dist-cjs/commands/DetectCustomLabelsCommand.js +2 -2
- package/dist-cjs/commands/DetectFacesCommand.js +2 -2
- package/dist-cjs/commands/DetectLabelsCommand.js +2 -2
- package/dist-cjs/commands/DetectModerationLabelsCommand.js +2 -2
- package/dist-cjs/commands/DetectProtectiveEquipmentCommand.js +2 -2
- package/dist-cjs/commands/DetectTextCommand.js +2 -2
- package/dist-cjs/commands/DistributeDatasetEntriesCommand.js +2 -2
- package/dist-cjs/commands/GetCelebrityInfoCommand.js +2 -2
- package/dist-cjs/commands/GetCelebrityRecognitionCommand.js +2 -2
- package/dist-cjs/commands/GetContentModerationCommand.js +2 -2
- package/dist-cjs/commands/GetFaceDetectionCommand.js +2 -2
- package/dist-cjs/commands/GetFaceSearchCommand.js +2 -2
- package/dist-cjs/commands/GetLabelDetectionCommand.js +2 -2
- package/dist-cjs/commands/GetPersonTrackingCommand.js +2 -2
- package/dist-cjs/commands/GetSegmentDetectionCommand.js +2 -2
- package/dist-cjs/commands/GetTextDetectionCommand.js +2 -2
- package/dist-cjs/commands/IndexFacesCommand.js +2 -2
- package/dist-cjs/commands/ListCollectionsCommand.js +2 -2
- package/dist-cjs/commands/ListDatasetEntriesCommand.js +2 -2
- package/dist-cjs/commands/ListDatasetLabelsCommand.js +2 -2
- package/dist-cjs/commands/ListFacesCommand.js +2 -2
- package/dist-cjs/commands/ListStreamProcessorsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/RecognizeCelebritiesCommand.js +2 -2
- package/dist-cjs/commands/SearchFacesByImageCommand.js +2 -2
- package/dist-cjs/commands/SearchFacesCommand.js +2 -2
- package/dist-cjs/commands/StartCelebrityRecognitionCommand.js +2 -2
- package/dist-cjs/commands/StartContentModerationCommand.js +2 -2
- package/dist-cjs/commands/StartFaceDetectionCommand.js +2 -2
- package/dist-cjs/commands/StartFaceSearchCommand.js +2 -2
- package/dist-cjs/commands/StartLabelDetectionCommand.js +2 -2
- package/dist-cjs/commands/StartPersonTrackingCommand.js +2 -2
- package/dist-cjs/commands/StartProjectVersionCommand.js +2 -2
- package/dist-cjs/commands/StartSegmentDetectionCommand.js +2 -2
- package/dist-cjs/commands/StartStreamProcessorCommand.js +2 -2
- package/dist-cjs/commands/StartTextDetectionCommand.js +2 -2
- package/dist-cjs/commands/StopProjectVersionCommand.js +2 -2
- package/dist-cjs/commands/StopStreamProcessorCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateDatasetEntriesCommand.js +2 -2
- package/dist-cjs/commands/UpdateStreamProcessorCommand.js +2 -2
- package/dist-cjs/models/models_0.js +894 -1338
- package/dist-cjs/protocols/Aws_json1_1.js +5 -0
- package/dist-es/commands/CompareFacesCommand.js +3 -3
- package/dist-es/commands/CreateCollectionCommand.js +3 -3
- package/dist-es/commands/CreateDatasetCommand.js +3 -3
- package/dist-es/commands/CreateProjectCommand.js +3 -3
- package/dist-es/commands/CreateProjectVersionCommand.js +3 -3
- package/dist-es/commands/CreateStreamProcessorCommand.js +3 -3
- package/dist-es/commands/DeleteCollectionCommand.js +3 -3
- package/dist-es/commands/DeleteDatasetCommand.js +3 -3
- package/dist-es/commands/DeleteFacesCommand.js +3 -3
- package/dist-es/commands/DeleteProjectCommand.js +3 -3
- package/dist-es/commands/DeleteProjectVersionCommand.js +3 -3
- package/dist-es/commands/DeleteStreamProcessorCommand.js +3 -3
- package/dist-es/commands/DescribeCollectionCommand.js +3 -3
- package/dist-es/commands/DescribeDatasetCommand.js +3 -3
- package/dist-es/commands/DescribeProjectVersionsCommand.js +3 -3
- package/dist-es/commands/DescribeProjectsCommand.js +3 -3
- package/dist-es/commands/DescribeStreamProcessorCommand.js +3 -3
- package/dist-es/commands/DetectCustomLabelsCommand.js +3 -3
- package/dist-es/commands/DetectFacesCommand.js +3 -3
- package/dist-es/commands/DetectLabelsCommand.js +3 -3
- package/dist-es/commands/DetectModerationLabelsCommand.js +3 -3
- package/dist-es/commands/DetectProtectiveEquipmentCommand.js +3 -3
- package/dist-es/commands/DetectTextCommand.js +3 -3
- package/dist-es/commands/DistributeDatasetEntriesCommand.js +3 -3
- package/dist-es/commands/GetCelebrityInfoCommand.js +3 -3
- package/dist-es/commands/GetCelebrityRecognitionCommand.js +3 -3
- package/dist-es/commands/GetContentModerationCommand.js +3 -3
- package/dist-es/commands/GetFaceDetectionCommand.js +3 -3
- package/dist-es/commands/GetFaceSearchCommand.js +3 -3
- package/dist-es/commands/GetLabelDetectionCommand.js +3 -3
- package/dist-es/commands/GetPersonTrackingCommand.js +3 -3
- package/dist-es/commands/GetSegmentDetectionCommand.js +3 -3
- package/dist-es/commands/GetTextDetectionCommand.js +3 -3
- package/dist-es/commands/IndexFacesCommand.js +3 -3
- package/dist-es/commands/ListCollectionsCommand.js +3 -3
- package/dist-es/commands/ListDatasetEntriesCommand.js +3 -3
- package/dist-es/commands/ListDatasetLabelsCommand.js +3 -3
- package/dist-es/commands/ListFacesCommand.js +3 -3
- package/dist-es/commands/ListStreamProcessorsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/RecognizeCelebritiesCommand.js +3 -3
- package/dist-es/commands/SearchFacesByImageCommand.js +3 -3
- package/dist-es/commands/SearchFacesCommand.js +3 -3
- package/dist-es/commands/StartCelebrityRecognitionCommand.js +3 -3
- package/dist-es/commands/StartContentModerationCommand.js +3 -3
- package/dist-es/commands/StartFaceDetectionCommand.js +3 -3
- package/dist-es/commands/StartFaceSearchCommand.js +3 -3
- package/dist-es/commands/StartLabelDetectionCommand.js +3 -3
- package/dist-es/commands/StartPersonTrackingCommand.js +3 -3
- package/dist-es/commands/StartProjectVersionCommand.js +3 -3
- package/dist-es/commands/StartSegmentDetectionCommand.js +3 -3
- package/dist-es/commands/StartStreamProcessorCommand.js +3 -3
- package/dist-es/commands/StartTextDetectionCommand.js +3 -3
- package/dist-es/commands/StopProjectVersionCommand.js +3 -3
- package/dist-es/commands/StopStreamProcessorCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateDatasetEntriesCommand.js +3 -3
- package/dist-es/commands/UpdateStreamProcessorCommand.js +3 -3
- package/dist-es/models/models_0.js +222 -888
- package/dist-es/protocols/Aws_json1_1.js +5 -1
- package/dist-types/Rekognition.d.ts +3 -0
- package/dist-types/commands/StartProjectVersionCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +905 -1333
- package/dist-types/ts3.4/models/models_0.d.ts +446 -886
- 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
|