@aws-sdk/client-rekognition 3.306.0 → 3.310.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/dist-cjs/Rekognition.js +30 -0
- package/dist-cjs/commands/CompareFacesCommand.js +2 -2
- package/dist-cjs/commands/CopyProjectVersionCommand.js +2 -2
- package/dist-cjs/commands/CreateCollectionCommand.js +2 -2
- package/dist-cjs/commands/CreateDatasetCommand.js +2 -2
- package/dist-cjs/commands/CreateFaceLivenessSessionCommand.js +45 -0
- 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/DeleteProjectPolicyCommand.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/GetFaceLivenessSessionResultsCommand.js +46 -0
- 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/ListProjectPoliciesCommand.js +2 -2
- package/dist-cjs/commands/ListStreamProcessorsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/PutProjectPolicyCommand.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/commands/index.js +2 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +36 -2
- package/dist-cjs/models/models_1.js +2 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1883 -1773
- package/dist-es/Rekognition.js +30 -0
- package/dist-es/commands/CompareFacesCommand.js +3 -3
- package/dist-es/commands/CopyProjectVersionCommand.js +3 -3
- package/dist-es/commands/CreateCollectionCommand.js +3 -3
- package/dist-es/commands/CreateDatasetCommand.js +3 -3
- package/dist-es/commands/CreateFaceLivenessSessionCommand.js +41 -0
- 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/DeleteProjectPolicyCommand.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/GetFaceLivenessSessionResultsCommand.js +42 -0
- 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/ListProjectPoliciesCommand.js +3 -3
- package/dist-es/commands/ListStreamProcessorsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/PutProjectPolicyCommand.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/commands/index.js +2 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +31 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +1751 -1645
- package/dist-types/Rekognition.d.ts +51 -10
- package/dist-types/RekognitionClient.d.ts +4 -2
- package/dist-types/commands/CopyProjectVersionCommand.d.ts +1 -0
- package/dist-types/commands/CreateFaceLivenessSessionCommand.d.ts +94 -0
- package/dist-types/commands/CreateStreamProcessorCommand.d.ts +17 -7
- package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +1 -0
- package/dist-types/commands/DetectLabelsCommand.d.ts +2 -3
- package/dist-types/commands/GetFaceLivenessSessionResultsCommand.d.ts +88 -0
- package/dist-types/commands/ListProjectPoliciesCommand.d.ts +1 -0
- package/dist-types/commands/PutProjectPolicyCommand.d.ts +1 -0
- package/dist-types/commands/StopProjectVersionCommand.d.ts +1 -0
- package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +4 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +241 -106
- package/dist-types/models/models_1.d.ts +56 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +522 -126
- package/dist-types/ts3.4/Rekognition.d.ts +34 -0
- package/dist-types/ts3.4/RekognitionClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateFaceLivenessSessionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetFaceLivenessSessionResultsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateStreamProcessorCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +59 -17
- package/dist-types/ts3.4/models/models_1.d.ts +17 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +150 -126
- package/package.json +36 -36
|
@@ -36,10 +36,10 @@ class GetLabelDetectionCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_GetLabelDetectionCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_GetLabelDetectionCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.GetLabelDetectionCommand = GetLabelDetectionCommand;
|
|
@@ -36,10 +36,10 @@ class GetPersonTrackingCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_GetPersonTrackingCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_GetPersonTrackingCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.GetPersonTrackingCommand = GetPersonTrackingCommand;
|
|
@@ -36,10 +36,10 @@ class GetSegmentDetectionCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_GetSegmentDetectionCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_GetSegmentDetectionCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.GetSegmentDetectionCommand = GetSegmentDetectionCommand;
|
|
@@ -36,10 +36,10 @@ class GetTextDetectionCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_GetTextDetectionCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_GetTextDetectionCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.GetTextDetectionCommand = GetTextDetectionCommand;
|
|
@@ -36,10 +36,10 @@ class IndexFacesCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_IndexFacesCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_IndexFacesCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.IndexFacesCommand = IndexFacesCommand;
|
|
@@ -36,10 +36,10 @@ class ListCollectionsCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_ListCollectionsCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_ListCollectionsCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ListCollectionsCommand = ListCollectionsCommand;
|
|
@@ -36,10 +36,10 @@ class ListDatasetEntriesCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_ListDatasetEntriesCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_ListDatasetEntriesCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ListDatasetEntriesCommand = ListDatasetEntriesCommand;
|
|
@@ -36,10 +36,10 @@ class ListDatasetLabelsCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_ListDatasetLabelsCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_ListDatasetLabelsCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ListDatasetLabelsCommand = ListDatasetLabelsCommand;
|
|
@@ -36,10 +36,10 @@ class ListFacesCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_ListFacesCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_ListFacesCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ListFacesCommand = ListFacesCommand;
|
|
@@ -36,10 +36,10 @@ class ListProjectPoliciesCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_ListProjectPoliciesCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_ListProjectPoliciesCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ListProjectPoliciesCommand = ListProjectPoliciesCommand;
|
|
@@ -36,10 +36,10 @@ class ListStreamProcessorsCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_ListStreamProcessorsCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_ListStreamProcessorsCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ListStreamProcessorsCommand = ListStreamProcessorsCommand;
|
|
@@ -36,10 +36,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_ListTagsForResourceCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_ListTagsForResourceCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
@@ -36,10 +36,10 @@ class PutProjectPolicyCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_PutProjectPolicyCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_PutProjectPolicyCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.PutProjectPolicyCommand = PutProjectPolicyCommand;
|
|
@@ -36,10 +36,10 @@ class RecognizeCelebritiesCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_RecognizeCelebritiesCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_RecognizeCelebritiesCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.RecognizeCelebritiesCommand = RecognizeCelebritiesCommand;
|
|
@@ -36,10 +36,10 @@ class SearchFacesByImageCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_SearchFacesByImageCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_SearchFacesByImageCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.SearchFacesByImageCommand = SearchFacesByImageCommand;
|
|
@@ -36,10 +36,10 @@ class SearchFacesCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_SearchFacesCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_SearchFacesCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.SearchFacesCommand = SearchFacesCommand;
|
|
@@ -36,10 +36,10 @@ class StartCelebrityRecognitionCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_StartCelebrityRecognitionCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_StartCelebrityRecognitionCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.StartCelebrityRecognitionCommand = StartCelebrityRecognitionCommand;
|
|
@@ -36,10 +36,10 @@ class StartContentModerationCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_StartContentModerationCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_StartContentModerationCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.StartContentModerationCommand = StartContentModerationCommand;
|
|
@@ -36,10 +36,10 @@ class StartFaceDetectionCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_StartFaceDetectionCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_StartFaceDetectionCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.StartFaceDetectionCommand = StartFaceDetectionCommand;
|
|
@@ -36,10 +36,10 @@ class StartFaceSearchCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_StartFaceSearchCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_StartFaceSearchCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.StartFaceSearchCommand = StartFaceSearchCommand;
|
|
@@ -36,10 +36,10 @@ class StartLabelDetectionCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_StartLabelDetectionCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_StartLabelDetectionCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.StartLabelDetectionCommand = StartLabelDetectionCommand;
|
|
@@ -36,10 +36,10 @@ class StartPersonTrackingCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_StartPersonTrackingCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_StartPersonTrackingCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.StartPersonTrackingCommand = StartPersonTrackingCommand;
|
|
@@ -36,10 +36,10 @@ class StartProjectVersionCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_StartProjectVersionCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_StartProjectVersionCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.StartProjectVersionCommand = StartProjectVersionCommand;
|
|
@@ -36,10 +36,10 @@ class StartSegmentDetectionCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_StartSegmentDetectionCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_StartSegmentDetectionCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.StartSegmentDetectionCommand = StartSegmentDetectionCommand;
|
|
@@ -36,10 +36,10 @@ class StartStreamProcessorCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_StartStreamProcessorCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_StartStreamProcessorCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.StartStreamProcessorCommand = StartStreamProcessorCommand;
|
|
@@ -36,10 +36,10 @@ class StartTextDetectionCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_StartTextDetectionCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_StartTextDetectionCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.StartTextDetectionCommand = StartTextDetectionCommand;
|
|
@@ -36,10 +36,10 @@ class StopProjectVersionCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_StopProjectVersionCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_StopProjectVersionCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.StopProjectVersionCommand = StopProjectVersionCommand;
|
|
@@ -36,10 +36,10 @@ class StopStreamProcessorCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_StopStreamProcessorCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_StopStreamProcessorCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.StopStreamProcessorCommand = StopStreamProcessorCommand;
|
|
@@ -36,10 +36,10 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_TagResourceCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_TagResourceCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -36,10 +36,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_UntagResourceCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_UntagResourceCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -36,10 +36,10 @@ class UpdateDatasetEntriesCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_UpdateDatasetEntriesCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_UpdateDatasetEntriesCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.UpdateDatasetEntriesCommand = UpdateDatasetEntriesCommand;
|
|
@@ -36,10 +36,10 @@ class UpdateStreamProcessorCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_UpdateStreamProcessorCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_UpdateStreamProcessorCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.UpdateStreamProcessorCommand = UpdateStreamProcessorCommand;
|
|
@@ -5,6 +5,7 @@ tslib_1.__exportStar(require("./CompareFacesCommand"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./CopyProjectVersionCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./CreateCollectionCommand"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./CreateDatasetCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateFaceLivenessSessionCommand"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./CreateProjectCommand"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./CreateProjectVersionCommand"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./CreateStreamProcessorCommand"), exports);
|
|
@@ -31,6 +32,7 @@ tslib_1.__exportStar(require("./GetCelebrityInfoCommand"), exports);
|
|
|
31
32
|
tslib_1.__exportStar(require("./GetCelebrityRecognitionCommand"), exports);
|
|
32
33
|
tslib_1.__exportStar(require("./GetContentModerationCommand"), exports);
|
|
33
34
|
tslib_1.__exportStar(require("./GetFaceDetectionCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./GetFaceLivenessSessionResultsCommand"), exports);
|
|
34
36
|
tslib_1.__exportStar(require("./GetFaceSearchCommand"), exports);
|
|
35
37
|
tslib_1.__exportStar(require("./GetLabelDetectionCommand"), exports);
|
|
36
38
|
tslib_1.__exportStar(require("./GetPersonTrackingCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://rekognition-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://rekognition-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://rekognition.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://rekognition.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.StreamProcessorParameterToDelete = exports.VideoTooLargeException = void 0;
|
|
3
|
+
exports.Reason = exports.IdempotentParameterMismatchException = exports.SegmentType = exports.TechnicalCueType = exports.PersonTrackingSortBy = exports.LabelDetectionSortBy = exports.LabelDetectionAggregateBy = exports.SessionNotFoundException = exports.LivenessSessionStatus = exports.VideoColorRange = exports.VideoJobStatus = exports.FaceSearchSortBy = exports.FaceAttributes = exports.TextTypes = exports.HumanLoopQuotaExceededException = exports.DetectLabelsFeatureName = exports.ResourceNotReadyException = exports.StreamProcessorStatus = exports.InvalidPaginationTokenException = exports.ProjectVersionStatus = exports.InvalidPolicyRevisionIdException = exports.ProjectStatus = exports.DatasetStatusMessageCode = exports.DatasetStatus = exports.DatasetType = exports.ResourceAlreadyExistsException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.LimitExceededException = exports.ContentModerationSortBy = exports.ContentClassifier = exports.ThrottlingException = exports.ProvisionedThroughputExceededException = exports.InvalidS3ObjectException = exports.InvalidParameterException = exports.InvalidImageFormatException = exports.InternalServerError = exports.ImageTooLargeException = exports.OrientationCorrection = exports.QualityFilter = exports.CelebrityRecognitionSortBy = exports.GenderType = exports.KnownGenderType = exports.LandmarkType = exports.EmotionName = exports.ProtectiveEquipmentType = exports.BodyPart = exports.Attribute = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.GetFaceLivenessSessionResultsResponseFilterSensitiveLog = exports.AuditImageFilterSensitiveLog = exports.StreamProcessorParameterToDelete = exports.VideoTooLargeException = exports.MalformedPolicyDocumentException = exports.LabelDetectionFeatureName = void 0;
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
6
|
const RekognitionServiceException_1 = require("./RekognitionServiceException");
|
|
6
7
|
class AccessDeniedException extends RekognitionServiceException_1.RekognitionServiceException {
|
|
7
8
|
constructor(opts) {
|
|
@@ -441,6 +442,28 @@ exports.VideoColorRange = {
|
|
|
441
442
|
FULL: "FULL",
|
|
442
443
|
LIMITED: "LIMITED",
|
|
443
444
|
};
|
|
445
|
+
exports.LivenessSessionStatus = {
|
|
446
|
+
CREATED: "CREATED",
|
|
447
|
+
FAILED: "FAILED",
|
|
448
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
449
|
+
SUCCEEDED: "SUCCEEDED",
|
|
450
|
+
};
|
|
451
|
+
class SessionNotFoundException extends RekognitionServiceException_1.RekognitionServiceException {
|
|
452
|
+
constructor(opts) {
|
|
453
|
+
super({
|
|
454
|
+
name: "SessionNotFoundException",
|
|
455
|
+
$fault: "client",
|
|
456
|
+
...opts,
|
|
457
|
+
});
|
|
458
|
+
this.name = "SessionNotFoundException";
|
|
459
|
+
this.$fault = "client";
|
|
460
|
+
Object.setPrototypeOf(this, SessionNotFoundException.prototype);
|
|
461
|
+
this.Message = opts.Message;
|
|
462
|
+
this.Code = opts.Code;
|
|
463
|
+
this.Logref = opts.Logref;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
exports.SessionNotFoundException = SessionNotFoundException;
|
|
444
467
|
exports.LabelDetectionAggregateBy = {
|
|
445
468
|
SEGMENTS: "SEGMENTS",
|
|
446
469
|
TIMESTAMPS: "TIMESTAMPS",
|
|
@@ -530,3 +553,14 @@ exports.StreamProcessorParameterToDelete = {
|
|
|
530
553
|
ConnectedHomeMinConfidence: "ConnectedHomeMinConfidence",
|
|
531
554
|
RegionsOfInterest: "RegionsOfInterest",
|
|
532
555
|
};
|
|
556
|
+
const AuditImageFilterSensitiveLog = (obj) => ({
|
|
557
|
+
...obj,
|
|
558
|
+
...(obj.Bytes && { Bytes: smithy_client_1.SENSITIVE_STRING }),
|
|
559
|
+
});
|
|
560
|
+
exports.AuditImageFilterSensitiveLog = AuditImageFilterSensitiveLog;
|
|
561
|
+
const GetFaceLivenessSessionResultsResponseFilterSensitiveLog = (obj) => ({
|
|
562
|
+
...obj,
|
|
563
|
+
...(obj.ReferenceImage && { ReferenceImage: (0, exports.AuditImageFilterSensitiveLog)(obj.ReferenceImage) }),
|
|
564
|
+
...(obj.AuditImages && { AuditImages: obj.AuditImages.map((item) => (0, exports.AuditImageFilterSensitiveLog)(item)) }),
|
|
565
|
+
});
|
|
566
|
+
exports.GetFaceLivenessSessionResultsResponseFilterSensitiveLog = GetFaceLivenessSessionResultsResponseFilterSensitiveLog;
|