@aws-sdk/client-rekognition 3.927.0 → 3.929.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.
Files changed (99) hide show
  1. package/dist-cjs/index.js +3039 -3936
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/RekognitionClient.js +2 -0
  4. package/dist-es/commands/AssociateFacesCommand.js +3 -9
  5. package/dist-es/commands/CompareFacesCommand.js +3 -9
  6. package/dist-es/commands/CopyProjectVersionCommand.js +3 -9
  7. package/dist-es/commands/CreateCollectionCommand.js +3 -9
  8. package/dist-es/commands/CreateDatasetCommand.js +3 -9
  9. package/dist-es/commands/CreateFaceLivenessSessionCommand.js +3 -9
  10. package/dist-es/commands/CreateProjectCommand.js +3 -9
  11. package/dist-es/commands/CreateProjectVersionCommand.js +3 -9
  12. package/dist-es/commands/CreateStreamProcessorCommand.js +3 -9
  13. package/dist-es/commands/CreateUserCommand.js +3 -9
  14. package/dist-es/commands/DeleteCollectionCommand.js +3 -9
  15. package/dist-es/commands/DeleteDatasetCommand.js +3 -9
  16. package/dist-es/commands/DeleteFacesCommand.js +3 -9
  17. package/dist-es/commands/DeleteProjectCommand.js +3 -9
  18. package/dist-es/commands/DeleteProjectPolicyCommand.js +3 -9
  19. package/dist-es/commands/DeleteProjectVersionCommand.js +3 -9
  20. package/dist-es/commands/DeleteStreamProcessorCommand.js +3 -9
  21. package/dist-es/commands/DeleteUserCommand.js +3 -9
  22. package/dist-es/commands/DescribeCollectionCommand.js +3 -9
  23. package/dist-es/commands/DescribeDatasetCommand.js +3 -9
  24. package/dist-es/commands/DescribeProjectVersionsCommand.js +3 -9
  25. package/dist-es/commands/DescribeProjectsCommand.js +3 -9
  26. package/dist-es/commands/DescribeStreamProcessorCommand.js +3 -9
  27. package/dist-es/commands/DetectCustomLabelsCommand.js +3 -9
  28. package/dist-es/commands/DetectFacesCommand.js +3 -9
  29. package/dist-es/commands/DetectLabelsCommand.js +3 -9
  30. package/dist-es/commands/DetectModerationLabelsCommand.js +3 -9
  31. package/dist-es/commands/DetectProtectiveEquipmentCommand.js +3 -9
  32. package/dist-es/commands/DetectTextCommand.js +3 -9
  33. package/dist-es/commands/DisassociateFacesCommand.js +3 -9
  34. package/dist-es/commands/DistributeDatasetEntriesCommand.js +3 -9
  35. package/dist-es/commands/GetCelebrityInfoCommand.js +3 -9
  36. package/dist-es/commands/GetCelebrityRecognitionCommand.js +3 -9
  37. package/dist-es/commands/GetContentModerationCommand.js +3 -9
  38. package/dist-es/commands/GetFaceDetectionCommand.js +3 -9
  39. package/dist-es/commands/GetFaceLivenessSessionResultsCommand.js +3 -10
  40. package/dist-es/commands/GetFaceSearchCommand.js +3 -9
  41. package/dist-es/commands/GetLabelDetectionCommand.js +3 -9
  42. package/dist-es/commands/GetMediaAnalysisJobCommand.js +3 -9
  43. package/dist-es/commands/GetPersonTrackingCommand.js +3 -9
  44. package/dist-es/commands/GetSegmentDetectionCommand.js +3 -9
  45. package/dist-es/commands/GetTextDetectionCommand.js +3 -9
  46. package/dist-es/commands/IndexFacesCommand.js +3 -9
  47. package/dist-es/commands/ListCollectionsCommand.js +3 -9
  48. package/dist-es/commands/ListDatasetEntriesCommand.js +3 -9
  49. package/dist-es/commands/ListDatasetLabelsCommand.js +3 -9
  50. package/dist-es/commands/ListFacesCommand.js +3 -9
  51. package/dist-es/commands/ListMediaAnalysisJobsCommand.js +3 -9
  52. package/dist-es/commands/ListProjectPoliciesCommand.js +3 -9
  53. package/dist-es/commands/ListStreamProcessorsCommand.js +3 -9
  54. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  55. package/dist-es/commands/ListUsersCommand.js +3 -9
  56. package/dist-es/commands/PutProjectPolicyCommand.js +3 -9
  57. package/dist-es/commands/RecognizeCelebritiesCommand.js +3 -9
  58. package/dist-es/commands/SearchFacesByImageCommand.js +3 -9
  59. package/dist-es/commands/SearchFacesCommand.js +3 -9
  60. package/dist-es/commands/SearchUsersByImageCommand.js +3 -9
  61. package/dist-es/commands/SearchUsersCommand.js +3 -9
  62. package/dist-es/commands/StartCelebrityRecognitionCommand.js +3 -9
  63. package/dist-es/commands/StartContentModerationCommand.js +3 -9
  64. package/dist-es/commands/StartFaceDetectionCommand.js +3 -9
  65. package/dist-es/commands/StartFaceSearchCommand.js +3 -9
  66. package/dist-es/commands/StartLabelDetectionCommand.js +3 -9
  67. package/dist-es/commands/StartMediaAnalysisJobCommand.js +3 -9
  68. package/dist-es/commands/StartPersonTrackingCommand.js +3 -9
  69. package/dist-es/commands/StartProjectVersionCommand.js +3 -9
  70. package/dist-es/commands/StartSegmentDetectionCommand.js +3 -9
  71. package/dist-es/commands/StartStreamProcessorCommand.js +3 -9
  72. package/dist-es/commands/StartTextDetectionCommand.js +3 -9
  73. package/dist-es/commands/StopProjectVersionCommand.js +3 -9
  74. package/dist-es/commands/StopStreamProcessorCommand.js +3 -9
  75. package/dist-es/commands/TagResourceCommand.js +3 -9
  76. package/dist-es/commands/UntagResourceCommand.js +3 -9
  77. package/dist-es/commands/UpdateDatasetEntriesCommand.js +3 -9
  78. package/dist-es/commands/UpdateStreamProcessorCommand.js +3 -9
  79. package/dist-es/models/models_0.js +0 -10
  80. package/dist-es/runtimeConfig.shared.js +7 -0
  81. package/dist-es/schemas/schemas_0.js +2847 -0
  82. package/dist-types/RekognitionClient.d.ts +10 -1
  83. package/dist-types/models/models_0.d.ts +0 -8
  84. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  85. package/dist-types/runtimeConfig.d.ts +1 -0
  86. package/dist-types/runtimeConfig.native.d.ts +1 -0
  87. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  88. package/dist-types/schemas/schemas_0.d.ts +487 -0
  89. package/dist-types/ts3.4/RekognitionClient.d.ts +4 -0
  90. package/dist-types/ts3.4/models/models_0.d.ts +0 -4
  91. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  92. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  93. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  94. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  95. package/dist-types/ts3.4/schemas/schemas_0.d.ts +493 -0
  96. package/package.json +5 -6
  97. package/dist-es/protocols/Aws_json1_1.js +0 -3336
  98. package/dist-types/protocols/Aws_json1_1.d.ts +0 -677
  99. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -905
@@ -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 { de_DescribeStreamProcessorCommand, se_DescribeStreamProcessorCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeStreamProcessor } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeStreamProcessorCommand 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", "DescribeStreamProcessor", {})
17
13
  .n("RekognitionClient", "DescribeStreamProcessorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeStreamProcessorCommand)
20
- .de(de_DescribeStreamProcessorCommand)
14
+ .sc(DescribeStreamProcessor)
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 { de_DetectCustomLabelsCommand, se_DetectCustomLabelsCommand } from "../protocols/Aws_json1_1";
4
+ import { DetectCustomLabels } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DetectCustomLabelsCommand 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", "DetectCustomLabels", {})
17
13
  .n("RekognitionClient", "DetectCustomLabelsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DetectCustomLabelsCommand)
20
- .de(de_DetectCustomLabelsCommand)
14
+ .sc(DetectCustomLabels)
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 { de_DetectFacesCommand, se_DetectFacesCommand } from "../protocols/Aws_json1_1";
4
+ import { DetectFaces } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DetectFacesCommand 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", "DetectFaces", {})
17
13
  .n("RekognitionClient", "DetectFacesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DetectFacesCommand)
20
- .de(de_DetectFacesCommand)
14
+ .sc(DetectFaces)
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 { de_DetectLabelsCommand, se_DetectLabelsCommand } from "../protocols/Aws_json1_1";
4
+ import { DetectLabels } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DetectLabelsCommand 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", "DetectLabels", {})
17
13
  .n("RekognitionClient", "DetectLabelsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DetectLabelsCommand)
20
- .de(de_DetectLabelsCommand)
14
+ .sc(DetectLabels)
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 { de_DetectModerationLabelsCommand, se_DetectModerationLabelsCommand } from "../protocols/Aws_json1_1";
4
+ import { DetectModerationLabels } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DetectModerationLabelsCommand 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", "DetectModerationLabels", {})
17
13
  .n("RekognitionClient", "DetectModerationLabelsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DetectModerationLabelsCommand)
20
- .de(de_DetectModerationLabelsCommand)
14
+ .sc(DetectModerationLabels)
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 { de_DetectProtectiveEquipmentCommand, se_DetectProtectiveEquipmentCommand } from "../protocols/Aws_json1_1";
4
+ import { DetectProtectiveEquipment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DetectProtectiveEquipmentCommand 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", "DetectProtectiveEquipment", {})
17
13
  .n("RekognitionClient", "DetectProtectiveEquipmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DetectProtectiveEquipmentCommand)
20
- .de(de_DetectProtectiveEquipmentCommand)
14
+ .sc(DetectProtectiveEquipment)
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 { de_DetectTextCommand, se_DetectTextCommand } from "../protocols/Aws_json1_1";
4
+ import { DetectText } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DetectTextCommand 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", "DetectText", {})
17
13
  .n("RekognitionClient", "DetectTextCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DetectTextCommand)
20
- .de(de_DetectTextCommand)
14
+ .sc(DetectText)
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 { de_DisassociateFacesCommand, se_DisassociateFacesCommand } from "../protocols/Aws_json1_1";
4
+ import { DisassociateFaces } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisassociateFacesCommand 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", "DisassociateFaces", {})
17
13
  .n("RekognitionClient", "DisassociateFacesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisassociateFacesCommand)
20
- .de(de_DisassociateFacesCommand)
14
+ .sc(DisassociateFaces)
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 { de_DistributeDatasetEntriesCommand, se_DistributeDatasetEntriesCommand } from "../protocols/Aws_json1_1";
4
+ import { DistributeDatasetEntries } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DistributeDatasetEntriesCommand 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", "DistributeDatasetEntries", {})
17
13
  .n("RekognitionClient", "DistributeDatasetEntriesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DistributeDatasetEntriesCommand)
20
- .de(de_DistributeDatasetEntriesCommand)
14
+ .sc(DistributeDatasetEntries)
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 { de_GetCelebrityInfoCommand, se_GetCelebrityInfoCommand } from "../protocols/Aws_json1_1";
4
+ import { GetCelebrityInfo } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCelebrityInfoCommand 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", "GetCelebrityInfo", {})
17
13
  .n("RekognitionClient", "GetCelebrityInfoCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCelebrityInfoCommand)
20
- .de(de_GetCelebrityInfoCommand)
14
+ .sc(GetCelebrityInfo)
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 { de_GetCelebrityRecognitionCommand, se_GetCelebrityRecognitionCommand } from "../protocols/Aws_json1_1";
4
+ import { GetCelebrityRecognition } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCelebrityRecognitionCommand 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", "GetCelebrityRecognition", {})
17
13
  .n("RekognitionClient", "GetCelebrityRecognitionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCelebrityRecognitionCommand)
20
- .de(de_GetCelebrityRecognitionCommand)
14
+ .sc(GetCelebrityRecognition)
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 { de_GetContentModerationCommand, se_GetContentModerationCommand } from "../protocols/Aws_json1_1";
4
+ import { GetContentModeration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetContentModerationCommand 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", "GetContentModeration", {})
17
13
  .n("RekognitionClient", "GetContentModerationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetContentModerationCommand)
20
- .de(de_GetContentModerationCommand)
14
+ .sc(GetContentModeration)
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 { de_GetFaceDetectionCommand, se_GetFaceDetectionCommand } from "../protocols/Aws_json1_1";
4
+ import { GetFaceDetection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetFaceDetectionCommand 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", "GetFaceDetection", {})
17
13
  .n("RekognitionClient", "GetFaceDetectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetFaceDetectionCommand)
20
- .de(de_GetFaceDetectionCommand)
14
+ .sc(GetFaceDetection)
21
15
  .build() {
22
16
  }
@@ -1,23 +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 { GetFaceLivenessSessionResultsResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetFaceLivenessSessionResultsCommand, se_GetFaceLivenessSessionResultsCommand, } from "../protocols/Aws_json1_1";
4
+ import { GetFaceLivenessSessionResults } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetFaceLivenessSessionResultsCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("RekognitionService", "GetFaceLivenessSessionResults", {})
18
13
  .n("RekognitionClient", "GetFaceLivenessSessionResultsCommand")
19
- .f(void 0, GetFaceLivenessSessionResultsResponseFilterSensitiveLog)
20
- .ser(se_GetFaceLivenessSessionResultsCommand)
21
- .de(de_GetFaceLivenessSessionResultsCommand)
14
+ .sc(GetFaceLivenessSessionResults)
22
15
  .build() {
23
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 { de_GetFaceSearchCommand, se_GetFaceSearchCommand } from "../protocols/Aws_json1_1";
4
+ import { GetFaceSearch } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetFaceSearchCommand 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", "GetFaceSearch", {})
17
13
  .n("RekognitionClient", "GetFaceSearchCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetFaceSearchCommand)
20
- .de(de_GetFaceSearchCommand)
14
+ .sc(GetFaceSearch)
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 { de_GetLabelDetectionCommand, se_GetLabelDetectionCommand } from "../protocols/Aws_json1_1";
4
+ import { GetLabelDetection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetLabelDetectionCommand 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", "GetLabelDetection", {})
17
13
  .n("RekognitionClient", "GetLabelDetectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetLabelDetectionCommand)
20
- .de(de_GetLabelDetectionCommand)
14
+ .sc(GetLabelDetection)
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 { de_GetMediaAnalysisJobCommand, se_GetMediaAnalysisJobCommand } from "../protocols/Aws_json1_1";
4
+ import { GetMediaAnalysisJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetMediaAnalysisJobCommand 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", "GetMediaAnalysisJob", {})
17
13
  .n("RekognitionClient", "GetMediaAnalysisJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetMediaAnalysisJobCommand)
20
- .de(de_GetMediaAnalysisJobCommand)
14
+ .sc(GetMediaAnalysisJob)
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 { de_GetPersonTrackingCommand, se_GetPersonTrackingCommand } from "../protocols/Aws_json1_1";
4
+ import { GetPersonTracking } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetPersonTrackingCommand 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", "GetPersonTracking", {})
17
13
  .n("RekognitionClient", "GetPersonTrackingCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetPersonTrackingCommand)
20
- .de(de_GetPersonTrackingCommand)
14
+ .sc(GetPersonTracking)
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 { de_GetSegmentDetectionCommand, se_GetSegmentDetectionCommand } from "../protocols/Aws_json1_1";
4
+ import { GetSegmentDetection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSegmentDetectionCommand 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", "GetSegmentDetection", {})
17
13
  .n("RekognitionClient", "GetSegmentDetectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSegmentDetectionCommand)
20
- .de(de_GetSegmentDetectionCommand)
14
+ .sc(GetSegmentDetection)
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 { de_GetTextDetectionCommand, se_GetTextDetectionCommand } from "../protocols/Aws_json1_1";
4
+ import { GetTextDetection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTextDetectionCommand 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", "GetTextDetection", {})
17
13
  .n("RekognitionClient", "GetTextDetectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTextDetectionCommand)
20
- .de(de_GetTextDetectionCommand)
14
+ .sc(GetTextDetection)
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 { de_IndexFacesCommand, se_IndexFacesCommand } from "../protocols/Aws_json1_1";
4
+ import { IndexFaces } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class IndexFacesCommand 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", "IndexFaces", {})
17
13
  .n("RekognitionClient", "IndexFacesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_IndexFacesCommand)
20
- .de(de_IndexFacesCommand)
14
+ .sc(IndexFaces)
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 { de_ListCollectionsCommand, se_ListCollectionsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListCollections } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListCollectionsCommand 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", "ListCollections", {})
17
13
  .n("RekognitionClient", "ListCollectionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListCollectionsCommand)
20
- .de(de_ListCollectionsCommand)
14
+ .sc(ListCollections)
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 { de_ListDatasetEntriesCommand, se_ListDatasetEntriesCommand } from "../protocols/Aws_json1_1";
4
+ import { ListDatasetEntries } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDatasetEntriesCommand 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", "ListDatasetEntries", {})
17
13
  .n("RekognitionClient", "ListDatasetEntriesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDatasetEntriesCommand)
20
- .de(de_ListDatasetEntriesCommand)
14
+ .sc(ListDatasetEntries)
21
15
  .build() {
22
16
  }