@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
package/dist-es/Rekognition.js
CHANGED
|
@@ -2,6 +2,7 @@ import { CompareFacesCommand, } from "./commands/CompareFacesCommand";
|
|
|
2
2
|
import { CopyProjectVersionCommand, } from "./commands/CopyProjectVersionCommand";
|
|
3
3
|
import { CreateCollectionCommand, } from "./commands/CreateCollectionCommand";
|
|
4
4
|
import { CreateDatasetCommand, } from "./commands/CreateDatasetCommand";
|
|
5
|
+
import { CreateFaceLivenessSessionCommand, } from "./commands/CreateFaceLivenessSessionCommand";
|
|
5
6
|
import { CreateProjectCommand, } from "./commands/CreateProjectCommand";
|
|
6
7
|
import { CreateProjectVersionCommand, } from "./commands/CreateProjectVersionCommand";
|
|
7
8
|
import { CreateStreamProcessorCommand, } from "./commands/CreateStreamProcessorCommand";
|
|
@@ -28,6 +29,7 @@ import { GetCelebrityInfoCommand, } from "./commands/GetCelebrityInfoCommand";
|
|
|
28
29
|
import { GetCelebrityRecognitionCommand, } from "./commands/GetCelebrityRecognitionCommand";
|
|
29
30
|
import { GetContentModerationCommand, } from "./commands/GetContentModerationCommand";
|
|
30
31
|
import { GetFaceDetectionCommand, } from "./commands/GetFaceDetectionCommand";
|
|
32
|
+
import { GetFaceLivenessSessionResultsCommand, } from "./commands/GetFaceLivenessSessionResultsCommand";
|
|
31
33
|
import { GetFaceSearchCommand, } from "./commands/GetFaceSearchCommand";
|
|
32
34
|
import { GetLabelDetectionCommand, } from "./commands/GetLabelDetectionCommand";
|
|
33
35
|
import { GetPersonTrackingCommand, } from "./commands/GetPersonTrackingCommand";
|
|
@@ -119,6 +121,20 @@ export class Rekognition extends RekognitionClient {
|
|
|
119
121
|
return this.send(command, optionsOrCb);
|
|
120
122
|
}
|
|
121
123
|
}
|
|
124
|
+
createFaceLivenessSession(args, optionsOrCb, cb) {
|
|
125
|
+
const command = new CreateFaceLivenessSessionCommand(args);
|
|
126
|
+
if (typeof optionsOrCb === "function") {
|
|
127
|
+
this.send(command, optionsOrCb);
|
|
128
|
+
}
|
|
129
|
+
else if (typeof cb === "function") {
|
|
130
|
+
if (typeof optionsOrCb !== "object")
|
|
131
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
132
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
133
|
+
}
|
|
134
|
+
else {
|
|
135
|
+
return this.send(command, optionsOrCb);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
122
138
|
createProject(args, optionsOrCb, cb) {
|
|
123
139
|
const command = new CreateProjectCommand(args);
|
|
124
140
|
if (typeof optionsOrCb === "function") {
|
|
@@ -483,6 +499,20 @@ export class Rekognition extends RekognitionClient {
|
|
|
483
499
|
return this.send(command, optionsOrCb);
|
|
484
500
|
}
|
|
485
501
|
}
|
|
502
|
+
getFaceLivenessSessionResults(args, optionsOrCb, cb) {
|
|
503
|
+
const command = new GetFaceLivenessSessionResultsCommand(args);
|
|
504
|
+
if (typeof optionsOrCb === "function") {
|
|
505
|
+
this.send(command, optionsOrCb);
|
|
506
|
+
}
|
|
507
|
+
else if (typeof cb === "function") {
|
|
508
|
+
if (typeof optionsOrCb !== "object")
|
|
509
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
510
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
511
|
+
}
|
|
512
|
+
else {
|
|
513
|
+
return this.send(command, optionsOrCb);
|
|
514
|
+
}
|
|
515
|
+
}
|
|
486
516
|
getFaceSearch(args, optionsOrCb, cb) {
|
|
487
517
|
const command = new GetFaceSearchCommand(args);
|
|
488
518
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_CompareFacesCommand, se_CompareFacesCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class CompareFacesCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class CompareFacesCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_CompareFacesCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_CompareFacesCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_CopyProjectVersionCommand, se_CopyProjectVersionCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class CopyProjectVersionCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class CopyProjectVersionCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_CopyProjectVersionCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_CopyProjectVersionCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_CreateCollectionCommand, se_CreateCollectionCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class CreateCollectionCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class CreateCollectionCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_CreateCollectionCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_CreateCollectionCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_CreateDatasetCommand, se_CreateDatasetCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class CreateDatasetCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class CreateDatasetCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_CreateDatasetCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_CreateDatasetCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_CreateFaceLivenessSessionCommand, se_CreateFaceLivenessSessionCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export class CreateFaceLivenessSessionCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateFaceLivenessSessionCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "RekognitionClient";
|
|
24
|
+
const commandName = "CreateFaceLivenessSessionCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return se_CreateFaceLivenessSessionCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return de_CreateFaceLivenessSessionCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_CreateProjectCommand, se_CreateProjectCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class CreateProjectCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class CreateProjectCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_CreateProjectCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_CreateProjectCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_CreateProjectVersionCommand, se_CreateProjectVersionCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class CreateProjectVersionCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class CreateProjectVersionCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_CreateProjectVersionCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_CreateProjectVersionCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_CreateStreamProcessorCommand, se_CreateStreamProcessorCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class CreateStreamProcessorCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class CreateStreamProcessorCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_CreateStreamProcessorCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_CreateStreamProcessorCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DeleteCollectionCommand, se_DeleteCollectionCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class DeleteCollectionCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DeleteCollectionCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DeleteCollectionCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DeleteCollectionCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DeleteDatasetCommand, se_DeleteDatasetCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class DeleteDatasetCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DeleteDatasetCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DeleteDatasetCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DeleteDatasetCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DeleteFacesCommand, se_DeleteFacesCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class DeleteFacesCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DeleteFacesCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DeleteFacesCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DeleteFacesCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DeleteProjectCommand, se_DeleteProjectCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class DeleteProjectCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DeleteProjectCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DeleteProjectCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DeleteProjectCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DeleteProjectPolicyCommand, se_DeleteProjectPolicyCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class DeleteProjectPolicyCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DeleteProjectPolicyCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DeleteProjectPolicyCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DeleteProjectPolicyCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DeleteProjectVersionCommand, se_DeleteProjectVersionCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class DeleteProjectVersionCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DeleteProjectVersionCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DeleteProjectVersionCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DeleteProjectVersionCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DeleteStreamProcessorCommand, se_DeleteStreamProcessorCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class DeleteStreamProcessorCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DeleteStreamProcessorCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DeleteStreamProcessorCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DeleteStreamProcessorCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DescribeCollectionCommand, se_DescribeCollectionCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class DescribeCollectionCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DescribeCollectionCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DescribeCollectionCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DescribeCollectionCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DescribeDatasetCommand, se_DescribeDatasetCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class DescribeDatasetCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DescribeDatasetCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DescribeDatasetCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DescribeDatasetCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DescribeProjectVersionsCommand, se_DescribeProjectVersionsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class DescribeProjectVersionsCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DescribeProjectVersionsCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DescribeProjectVersionsCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DescribeProjectVersionsCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DescribeProjectsCommand, se_DescribeProjectsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class DescribeProjectsCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DescribeProjectsCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DescribeProjectsCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DescribeProjectsCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DescribeStreamProcessorCommand, se_DescribeStreamProcessorCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class DescribeStreamProcessorCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DescribeStreamProcessorCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DescribeStreamProcessorCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DescribeStreamProcessorCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DetectCustomLabelsCommand, se_DetectCustomLabelsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class DetectCustomLabelsCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DetectCustomLabelsCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DetectCustomLabelsCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DetectCustomLabelsCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DetectFacesCommand, se_DetectFacesCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class DetectFacesCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DetectFacesCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DetectFacesCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DetectFacesCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DetectLabelsCommand, se_DetectLabelsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class DetectLabelsCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DetectLabelsCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DetectLabelsCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DetectLabelsCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DetectModerationLabelsCommand, se_DetectModerationLabelsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class DetectModerationLabelsCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DetectModerationLabelsCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DetectModerationLabelsCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DetectModerationLabelsCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DetectProtectiveEquipmentCommand, se_DetectProtectiveEquipmentCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class DetectProtectiveEquipmentCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DetectProtectiveEquipmentCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DetectProtectiveEquipmentCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DetectProtectiveEquipmentCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|