@aws-sdk/client-rekognition 3.926.0 → 3.928.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/dist-cjs/index.js +3039 -3936
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/RekognitionClient.js +2 -0
- package/dist-es/commands/AssociateFacesCommand.js +3 -9
- package/dist-es/commands/CompareFacesCommand.js +3 -9
- package/dist-es/commands/CopyProjectVersionCommand.js +3 -9
- package/dist-es/commands/CreateCollectionCommand.js +3 -9
- package/dist-es/commands/CreateDatasetCommand.js +3 -9
- package/dist-es/commands/CreateFaceLivenessSessionCommand.js +3 -9
- package/dist-es/commands/CreateProjectCommand.js +3 -9
- package/dist-es/commands/CreateProjectVersionCommand.js +3 -9
- package/dist-es/commands/CreateStreamProcessorCommand.js +3 -9
- package/dist-es/commands/CreateUserCommand.js +3 -9
- package/dist-es/commands/DeleteCollectionCommand.js +3 -9
- package/dist-es/commands/DeleteDatasetCommand.js +3 -9
- package/dist-es/commands/DeleteFacesCommand.js +3 -9
- package/dist-es/commands/DeleteProjectCommand.js +3 -9
- package/dist-es/commands/DeleteProjectPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteProjectVersionCommand.js +3 -9
- package/dist-es/commands/DeleteStreamProcessorCommand.js +3 -9
- package/dist-es/commands/DeleteUserCommand.js +3 -9
- package/dist-es/commands/DescribeCollectionCommand.js +3 -9
- package/dist-es/commands/DescribeDatasetCommand.js +3 -9
- package/dist-es/commands/DescribeProjectVersionsCommand.js +3 -9
- package/dist-es/commands/DescribeProjectsCommand.js +3 -9
- package/dist-es/commands/DescribeStreamProcessorCommand.js +3 -9
- package/dist-es/commands/DetectCustomLabelsCommand.js +3 -9
- package/dist-es/commands/DetectFacesCommand.js +3 -9
- package/dist-es/commands/DetectLabelsCommand.js +3 -9
- package/dist-es/commands/DetectModerationLabelsCommand.js +3 -9
- package/dist-es/commands/DetectProtectiveEquipmentCommand.js +3 -9
- package/dist-es/commands/DetectTextCommand.js +3 -9
- package/dist-es/commands/DisassociateFacesCommand.js +3 -9
- package/dist-es/commands/DistributeDatasetEntriesCommand.js +3 -9
- package/dist-es/commands/GetCelebrityInfoCommand.js +3 -9
- package/dist-es/commands/GetCelebrityRecognitionCommand.js +3 -9
- package/dist-es/commands/GetContentModerationCommand.js +3 -9
- package/dist-es/commands/GetFaceDetectionCommand.js +3 -9
- package/dist-es/commands/GetFaceLivenessSessionResultsCommand.js +3 -10
- package/dist-es/commands/GetFaceSearchCommand.js +3 -9
- package/dist-es/commands/GetLabelDetectionCommand.js +3 -9
- package/dist-es/commands/GetMediaAnalysisJobCommand.js +3 -9
- package/dist-es/commands/GetPersonTrackingCommand.js +3 -9
- package/dist-es/commands/GetSegmentDetectionCommand.js +3 -9
- package/dist-es/commands/GetTextDetectionCommand.js +3 -9
- package/dist-es/commands/IndexFacesCommand.js +3 -9
- package/dist-es/commands/ListCollectionsCommand.js +3 -9
- package/dist-es/commands/ListDatasetEntriesCommand.js +3 -9
- package/dist-es/commands/ListDatasetLabelsCommand.js +3 -9
- package/dist-es/commands/ListFacesCommand.js +3 -9
- package/dist-es/commands/ListMediaAnalysisJobsCommand.js +3 -9
- package/dist-es/commands/ListProjectPoliciesCommand.js +3 -9
- package/dist-es/commands/ListStreamProcessorsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListUsersCommand.js +3 -9
- package/dist-es/commands/PutProjectPolicyCommand.js +3 -9
- package/dist-es/commands/RecognizeCelebritiesCommand.js +3 -9
- package/dist-es/commands/SearchFacesByImageCommand.js +3 -9
- package/dist-es/commands/SearchFacesCommand.js +3 -9
- package/dist-es/commands/SearchUsersByImageCommand.js +3 -9
- package/dist-es/commands/SearchUsersCommand.js +3 -9
- package/dist-es/commands/StartCelebrityRecognitionCommand.js +3 -9
- package/dist-es/commands/StartContentModerationCommand.js +3 -9
- package/dist-es/commands/StartFaceDetectionCommand.js +3 -9
- package/dist-es/commands/StartFaceSearchCommand.js +3 -9
- package/dist-es/commands/StartLabelDetectionCommand.js +3 -9
- package/dist-es/commands/StartMediaAnalysisJobCommand.js +3 -9
- package/dist-es/commands/StartPersonTrackingCommand.js +3 -9
- package/dist-es/commands/StartProjectVersionCommand.js +3 -9
- package/dist-es/commands/StartSegmentDetectionCommand.js +3 -9
- package/dist-es/commands/StartStreamProcessorCommand.js +3 -9
- package/dist-es/commands/StartTextDetectionCommand.js +3 -9
- package/dist-es/commands/StopProjectVersionCommand.js +3 -9
- package/dist-es/commands/StopStreamProcessorCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateDatasetEntriesCommand.js +3 -9
- package/dist-es/commands/UpdateStreamProcessorCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -10
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2847 -0
- package/dist-types/RekognitionClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -8
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +487 -0
- package/dist-types/ts3.4/RekognitionClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +493 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_1.js +0 -3336
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -677
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -905
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ??
|
|
30
|
+
new protocols_1.AwsJson1_1Protocol({
|
|
31
|
+
defaultNamespace: "com.amazonaws.rekognition",
|
|
32
|
+
serviceTarget: "RekognitionService",
|
|
33
|
+
awsQueryCompatible: false,
|
|
34
|
+
}),
|
|
28
35
|
serviceId: config?.serviceId ?? "Rekognition",
|
|
29
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class RekognitionClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { AssociateFaces } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class AssociateFacesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "AssociateFaces", {})
|
|
17
13
|
.n("RekognitionClient", "AssociateFacesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_AssociateFacesCommand)
|
|
20
|
-
.de(de_AssociateFacesCommand)
|
|
14
|
+
.sc(AssociateFaces)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CompareFaces } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CompareFacesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "CompareFaces", {})
|
|
17
13
|
.n("RekognitionClient", "CompareFacesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CompareFacesCommand)
|
|
20
|
-
.de(de_CompareFacesCommand)
|
|
14
|
+
.sc(CompareFaces)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CopyProjectVersion } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CopyProjectVersionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "CopyProjectVersion", {})
|
|
17
13
|
.n("RekognitionClient", "CopyProjectVersionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CopyProjectVersionCommand)
|
|
20
|
-
.de(de_CopyProjectVersionCommand)
|
|
14
|
+
.sc(CopyProjectVersion)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateCollection } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateCollectionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "CreateCollection", {})
|
|
17
13
|
.n("RekognitionClient", "CreateCollectionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateCollectionCommand)
|
|
20
|
-
.de(de_CreateCollectionCommand)
|
|
14
|
+
.sc(CreateCollection)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateDataset } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateDatasetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "CreateDataset", {})
|
|
17
13
|
.n("RekognitionClient", "CreateDatasetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateDatasetCommand)
|
|
20
|
-
.de(de_CreateDatasetCommand)
|
|
14
|
+
.sc(CreateDataset)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateFaceLivenessSession } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateFaceLivenessSessionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "CreateFaceLivenessSession", {})
|
|
17
13
|
.n("RekognitionClient", "CreateFaceLivenessSessionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateFaceLivenessSessionCommand)
|
|
20
|
-
.de(de_CreateFaceLivenessSessionCommand)
|
|
14
|
+
.sc(CreateFaceLivenessSession)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateProject } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateProjectCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "CreateProject", {})
|
|
17
13
|
.n("RekognitionClient", "CreateProjectCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateProjectCommand)
|
|
20
|
-
.de(de_CreateProjectCommand)
|
|
14
|
+
.sc(CreateProject)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateProjectVersion } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateProjectVersionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "CreateProjectVersion", {})
|
|
17
13
|
.n("RekognitionClient", "CreateProjectVersionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateProjectVersionCommand)
|
|
20
|
-
.de(de_CreateProjectVersionCommand)
|
|
14
|
+
.sc(CreateProjectVersion)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateStreamProcessor } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateStreamProcessorCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "CreateStreamProcessor", {})
|
|
17
13
|
.n("RekognitionClient", "CreateStreamProcessorCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateStreamProcessorCommand)
|
|
20
|
-
.de(de_CreateStreamProcessorCommand)
|
|
14
|
+
.sc(CreateStreamProcessor)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateUser } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateUserCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "CreateUser", {})
|
|
17
13
|
.n("RekognitionClient", "CreateUserCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateUserCommand)
|
|
20
|
-
.de(de_CreateUserCommand)
|
|
14
|
+
.sc(CreateUser)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteCollection } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteCollectionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "DeleteCollection", {})
|
|
17
13
|
.n("RekognitionClient", "DeleteCollectionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteCollectionCommand)
|
|
20
|
-
.de(de_DeleteCollectionCommand)
|
|
14
|
+
.sc(DeleteCollection)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteDataset } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteDatasetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "DeleteDataset", {})
|
|
17
13
|
.n("RekognitionClient", "DeleteDatasetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteDatasetCommand)
|
|
20
|
-
.de(de_DeleteDatasetCommand)
|
|
14
|
+
.sc(DeleteDataset)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteFaces } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteFacesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "DeleteFaces", {})
|
|
17
13
|
.n("RekognitionClient", "DeleteFacesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteFacesCommand)
|
|
20
|
-
.de(de_DeleteFacesCommand)
|
|
14
|
+
.sc(DeleteFaces)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteProject } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteProjectCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "DeleteProject", {})
|
|
17
13
|
.n("RekognitionClient", "DeleteProjectCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteProjectCommand)
|
|
20
|
-
.de(de_DeleteProjectCommand)
|
|
14
|
+
.sc(DeleteProject)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteProjectPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteProjectPolicyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "DeleteProjectPolicy", {})
|
|
17
13
|
.n("RekognitionClient", "DeleteProjectPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteProjectPolicyCommand)
|
|
20
|
-
.de(de_DeleteProjectPolicyCommand)
|
|
14
|
+
.sc(DeleteProjectPolicy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteProjectVersion } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteProjectVersionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "DeleteProjectVersion", {})
|
|
17
13
|
.n("RekognitionClient", "DeleteProjectVersionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteProjectVersionCommand)
|
|
20
|
-
.de(de_DeleteProjectVersionCommand)
|
|
14
|
+
.sc(DeleteProjectVersion)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteStreamProcessor } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteStreamProcessorCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "DeleteStreamProcessor", {})
|
|
17
13
|
.n("RekognitionClient", "DeleteStreamProcessorCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteStreamProcessorCommand)
|
|
20
|
-
.de(de_DeleteStreamProcessorCommand)
|
|
14
|
+
.sc(DeleteStreamProcessor)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteUser } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteUserCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "DeleteUser", {})
|
|
17
13
|
.n("RekognitionClient", "DeleteUserCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteUserCommand)
|
|
20
|
-
.de(de_DeleteUserCommand)
|
|
14
|
+
.sc(DeleteUser)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeCollection } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeCollectionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "DescribeCollection", {})
|
|
17
13
|
.n("RekognitionClient", "DescribeCollectionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeCollectionCommand)
|
|
20
|
-
.de(de_DescribeCollectionCommand)
|
|
14
|
+
.sc(DescribeCollection)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeDataset } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeDatasetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "DescribeDataset", {})
|
|
17
13
|
.n("RekognitionClient", "DescribeDatasetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeDatasetCommand)
|
|
20
|
-
.de(de_DescribeDatasetCommand)
|
|
14
|
+
.sc(DescribeDataset)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeProjectVersions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeProjectVersionsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "DescribeProjectVersions", {})
|
|
17
13
|
.n("RekognitionClient", "DescribeProjectVersionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeProjectVersionsCommand)
|
|
20
|
-
.de(de_DescribeProjectVersionsCommand)
|
|
14
|
+
.sc(DescribeProjectVersions)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeProjects } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeProjectsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RekognitionService", "DescribeProjects", {})
|
|
17
13
|
.n("RekognitionClient", "DescribeProjectsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeProjectsCommand)
|
|
20
|
-
.de(de_DescribeProjectsCommand)
|
|
14
|
+
.sc(DescribeProjects)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|