@aws-sdk/client-rekognition 3.183.0 → 3.186.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 +19 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/Rekognition.js +261 -254
- package/dist-es/RekognitionClient.js +28 -22
- package/dist-es/commands/CompareFacesCommand.js +28 -21
- package/dist-es/commands/CopyProjectVersionCommand.js +28 -21
- package/dist-es/commands/CreateCollectionCommand.js +28 -21
- package/dist-es/commands/CreateDatasetCommand.js +28 -21
- package/dist-es/commands/CreateProjectCommand.js +28 -21
- package/dist-es/commands/CreateProjectVersionCommand.js +28 -21
- package/dist-es/commands/CreateStreamProcessorCommand.js +28 -21
- package/dist-es/commands/DeleteCollectionCommand.js +28 -21
- package/dist-es/commands/DeleteDatasetCommand.js +28 -21
- package/dist-es/commands/DeleteFacesCommand.js +28 -21
- package/dist-es/commands/DeleteProjectCommand.js +28 -21
- package/dist-es/commands/DeleteProjectPolicyCommand.js +28 -21
- package/dist-es/commands/DeleteProjectVersionCommand.js +28 -21
- package/dist-es/commands/DeleteStreamProcessorCommand.js +28 -21
- package/dist-es/commands/DescribeCollectionCommand.js +28 -21
- package/dist-es/commands/DescribeDatasetCommand.js +28 -21
- package/dist-es/commands/DescribeProjectVersionsCommand.js +28 -21
- package/dist-es/commands/DescribeProjectsCommand.js +28 -21
- package/dist-es/commands/DescribeStreamProcessorCommand.js +28 -21
- package/dist-es/commands/DetectCustomLabelsCommand.js +28 -21
- package/dist-es/commands/DetectFacesCommand.js +28 -21
- package/dist-es/commands/DetectLabelsCommand.js +28 -21
- package/dist-es/commands/DetectModerationLabelsCommand.js +28 -21
- package/dist-es/commands/DetectProtectiveEquipmentCommand.js +28 -21
- package/dist-es/commands/DetectTextCommand.js +28 -21
- package/dist-es/commands/DistributeDatasetEntriesCommand.js +28 -21
- package/dist-es/commands/GetCelebrityInfoCommand.js +28 -21
- package/dist-es/commands/GetCelebrityRecognitionCommand.js +28 -21
- package/dist-es/commands/GetContentModerationCommand.js +28 -21
- package/dist-es/commands/GetFaceDetectionCommand.js +28 -21
- package/dist-es/commands/GetFaceSearchCommand.js +28 -21
- package/dist-es/commands/GetLabelDetectionCommand.js +28 -21
- package/dist-es/commands/GetPersonTrackingCommand.js +28 -21
- package/dist-es/commands/GetSegmentDetectionCommand.js +28 -21
- package/dist-es/commands/GetTextDetectionCommand.js +28 -21
- package/dist-es/commands/IndexFacesCommand.js +28 -21
- package/dist-es/commands/ListCollectionsCommand.js +28 -21
- package/dist-es/commands/ListDatasetEntriesCommand.js +28 -21
- package/dist-es/commands/ListDatasetLabelsCommand.js +28 -21
- package/dist-es/commands/ListFacesCommand.js +28 -21
- package/dist-es/commands/ListProjectPoliciesCommand.js +28 -21
- package/dist-es/commands/ListStreamProcessorsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/PutProjectPolicyCommand.js +28 -21
- package/dist-es/commands/RecognizeCelebritiesCommand.js +28 -21
- package/dist-es/commands/SearchFacesByImageCommand.js +28 -21
- package/dist-es/commands/SearchFacesCommand.js +28 -21
- package/dist-es/commands/StartCelebrityRecognitionCommand.js +28 -21
- package/dist-es/commands/StartContentModerationCommand.js +28 -21
- package/dist-es/commands/StartFaceDetectionCommand.js +28 -21
- package/dist-es/commands/StartFaceSearchCommand.js +28 -21
- package/dist-es/commands/StartLabelDetectionCommand.js +28 -21
- package/dist-es/commands/StartPersonTrackingCommand.js +28 -21
- package/dist-es/commands/StartProjectVersionCommand.js +28 -21
- package/dist-es/commands/StartSegmentDetectionCommand.js +28 -21
- package/dist-es/commands/StartStreamProcessorCommand.js +28 -21
- package/dist-es/commands/StartTextDetectionCommand.js +28 -21
- package/dist-es/commands/StopProjectVersionCommand.js +28 -21
- package/dist-es/commands/StopStreamProcessorCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateDatasetEntriesCommand.js +28 -21
- package/dist-es/commands/UpdateStreamProcessorCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/RekognitionServiceException.js +10 -5
- package/dist-es/models/models_0.js +515 -976
- package/dist-es/pagination/DescribeProjectVersionsPaginator.js +68 -25
- package/dist-es/pagination/DescribeProjectsPaginator.js +68 -25
- package/dist-es/pagination/GetCelebrityRecognitionPaginator.js +68 -25
- package/dist-es/pagination/GetContentModerationPaginator.js +68 -25
- package/dist-es/pagination/GetFaceDetectionPaginator.js +68 -25
- package/dist-es/pagination/GetFaceSearchPaginator.js +68 -25
- package/dist-es/pagination/GetLabelDetectionPaginator.js +68 -25
- package/dist-es/pagination/GetPersonTrackingPaginator.js +68 -25
- package/dist-es/pagination/GetSegmentDetectionPaginator.js +68 -25
- package/dist-es/pagination/GetTextDetectionPaginator.js +68 -25
- package/dist-es/pagination/ListCollectionsPaginator.js +68 -25
- package/dist-es/pagination/ListDatasetEntriesPaginator.js +68 -25
- package/dist-es/pagination/ListDatasetLabelsPaginator.js +68 -25
- package/dist-es/pagination/ListFacesPaginator.js +68 -25
- package/dist-es/pagination/ListProjectPoliciesPaginator.js +68 -25
- package/dist-es/pagination/ListStreamProcessorsPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +6546 -5219
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/dist-es/waiters/waitForProjectVersionRunning.js +91 -50
- package/dist-es/waiters/waitForProjectVersionTrainingCompleted.js +91 -50
- package/package.json +34 -34
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartFaceDetectionRequestFilterSensitiveLog, StartFaceDetectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1StartFaceDetectionCommand, serializeAws_json1_1StartFaceDetectionCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StartFaceDetectionCommand = (function (_super) {
|
|
7
|
+
__extends(StartFaceDetectionCommand, _super);
|
|
8
|
+
function StartFaceDetectionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StartFaceDetectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RekognitionClient";
|
|
18
|
+
var commandName = "StartFaceDetectionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StartFaceDetectionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StartFaceDetectionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StartFaceDetectionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1StartFaceDetectionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StartFaceDetectionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1StartFaceDetectionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StartFaceDetectionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartFaceDetectionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartFaceSearchRequestFilterSensitiveLog, StartFaceSearchResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1StartFaceSearchCommand, serializeAws_json1_1StartFaceSearchCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StartFaceSearchCommand = (function (_super) {
|
|
7
|
+
__extends(StartFaceSearchCommand, _super);
|
|
8
|
+
function StartFaceSearchCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StartFaceSearchCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RekognitionClient";
|
|
18
|
+
var commandName = "StartFaceSearchCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StartFaceSearchRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StartFaceSearchResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StartFaceSearchCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1StartFaceSearchCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StartFaceSearchCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1StartFaceSearchCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StartFaceSearchCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartFaceSearchCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartLabelDetectionRequestFilterSensitiveLog, StartLabelDetectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1StartLabelDetectionCommand, serializeAws_json1_1StartLabelDetectionCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StartLabelDetectionCommand = (function (_super) {
|
|
7
|
+
__extends(StartLabelDetectionCommand, _super);
|
|
8
|
+
function StartLabelDetectionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StartLabelDetectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RekognitionClient";
|
|
18
|
+
var commandName = "StartLabelDetectionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StartLabelDetectionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StartLabelDetectionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StartLabelDetectionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1StartLabelDetectionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StartLabelDetectionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1StartLabelDetectionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StartLabelDetectionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartLabelDetectionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartPersonTrackingRequestFilterSensitiveLog, StartPersonTrackingResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1StartPersonTrackingCommand, serializeAws_json1_1StartPersonTrackingCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StartPersonTrackingCommand = (function (_super) {
|
|
7
|
+
__extends(StartPersonTrackingCommand, _super);
|
|
8
|
+
function StartPersonTrackingCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StartPersonTrackingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RekognitionClient";
|
|
18
|
+
var commandName = "StartPersonTrackingCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StartPersonTrackingRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StartPersonTrackingResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StartPersonTrackingCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1StartPersonTrackingCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StartPersonTrackingCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1StartPersonTrackingCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StartPersonTrackingCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartPersonTrackingCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartProjectVersionRequestFilterSensitiveLog, StartProjectVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1StartProjectVersionCommand, serializeAws_json1_1StartProjectVersionCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StartProjectVersionCommand = (function (_super) {
|
|
7
|
+
__extends(StartProjectVersionCommand, _super);
|
|
8
|
+
function StartProjectVersionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StartProjectVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RekognitionClient";
|
|
18
|
+
var commandName = "StartProjectVersionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StartProjectVersionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StartProjectVersionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StartProjectVersionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1StartProjectVersionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StartProjectVersionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1StartProjectVersionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StartProjectVersionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartProjectVersionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartSegmentDetectionRequestFilterSensitiveLog, StartSegmentDetectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1StartSegmentDetectionCommand, serializeAws_json1_1StartSegmentDetectionCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StartSegmentDetectionCommand = (function (_super) {
|
|
7
|
+
__extends(StartSegmentDetectionCommand, _super);
|
|
8
|
+
function StartSegmentDetectionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StartSegmentDetectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RekognitionClient";
|
|
18
|
+
var commandName = "StartSegmentDetectionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StartSegmentDetectionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StartSegmentDetectionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StartSegmentDetectionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1StartSegmentDetectionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StartSegmentDetectionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1StartSegmentDetectionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StartSegmentDetectionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartSegmentDetectionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartStreamProcessorRequestFilterSensitiveLog, StartStreamProcessorResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1StartStreamProcessorCommand, serializeAws_json1_1StartStreamProcessorCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StartStreamProcessorCommand = (function (_super) {
|
|
7
|
+
__extends(StartStreamProcessorCommand, _super);
|
|
8
|
+
function StartStreamProcessorCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StartStreamProcessorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RekognitionClient";
|
|
18
|
+
var commandName = "StartStreamProcessorCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StartStreamProcessorRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StartStreamProcessorResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StartStreamProcessorCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1StartStreamProcessorCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StartStreamProcessorCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1StartStreamProcessorCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StartStreamProcessorCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartStreamProcessorCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartTextDetectionRequestFilterSensitiveLog, StartTextDetectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1StartTextDetectionCommand, serializeAws_json1_1StartTextDetectionCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StartTextDetectionCommand = (function (_super) {
|
|
7
|
+
__extends(StartTextDetectionCommand, _super);
|
|
8
|
+
function StartTextDetectionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StartTextDetectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RekognitionClient";
|
|
18
|
+
var commandName = "StartTextDetectionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StartTextDetectionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StartTextDetectionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StartTextDetectionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1StartTextDetectionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StartTextDetectionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1StartTextDetectionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StartTextDetectionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartTextDetectionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StopProjectVersionRequestFilterSensitiveLog, StopProjectVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1StopProjectVersionCommand, serializeAws_json1_1StopProjectVersionCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StopProjectVersionCommand = (function (_super) {
|
|
7
|
+
__extends(StopProjectVersionCommand, _super);
|
|
8
|
+
function StopProjectVersionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StopProjectVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RekognitionClient";
|
|
18
|
+
var commandName = "StopProjectVersionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StopProjectVersionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StopProjectVersionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StopProjectVersionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1StopProjectVersionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StopProjectVersionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1StopProjectVersionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StopProjectVersionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StopProjectVersionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StopStreamProcessorRequestFilterSensitiveLog, StopStreamProcessorResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1StopStreamProcessorCommand, serializeAws_json1_1StopStreamProcessorCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StopStreamProcessorCommand = (function (_super) {
|
|
7
|
+
__extends(StopStreamProcessorCommand, _super);
|
|
8
|
+
function StopStreamProcessorCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StopStreamProcessorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RekognitionClient";
|
|
18
|
+
var commandName = "StopStreamProcessorCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StopStreamProcessorRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StopStreamProcessorResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StopStreamProcessorCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1StopStreamProcessorCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StopStreamProcessorCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1StopStreamProcessorCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StopStreamProcessorCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StopStreamProcessorCommand };
|