@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.
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_ListDatasetLabelsCommand, se_ListDatasetLabelsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListDatasetLabels } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDatasetLabelsCommand 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", "ListDatasetLabels", {})
17
13
  .n("RekognitionClient", "ListDatasetLabelsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDatasetLabelsCommand)
20
- .de(de_ListDatasetLabelsCommand)
14
+ .sc(ListDatasetLabels)
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_ListFacesCommand, se_ListFacesCommand } from "../protocols/Aws_json1_1";
4
+ import { ListFaces } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListFacesCommand 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", "ListFaces", {})
17
13
  .n("RekognitionClient", "ListFacesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListFacesCommand)
20
- .de(de_ListFacesCommand)
14
+ .sc(ListFaces)
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_ListMediaAnalysisJobsCommand, se_ListMediaAnalysisJobsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListMediaAnalysisJobs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListMediaAnalysisJobsCommand 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", "ListMediaAnalysisJobs", {})
17
13
  .n("RekognitionClient", "ListMediaAnalysisJobsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListMediaAnalysisJobsCommand)
20
- .de(de_ListMediaAnalysisJobsCommand)
14
+ .sc(ListMediaAnalysisJobs)
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_ListProjectPoliciesCommand, se_ListProjectPoliciesCommand } from "../protocols/Aws_json1_1";
4
+ import { ListProjectPolicies } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListProjectPoliciesCommand 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", "ListProjectPolicies", {})
17
13
  .n("RekognitionClient", "ListProjectPoliciesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListProjectPoliciesCommand)
20
- .de(de_ListProjectPoliciesCommand)
14
+ .sc(ListProjectPolicies)
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_ListStreamProcessorsCommand, se_ListStreamProcessorsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListStreamProcessors } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListStreamProcessorsCommand 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", "ListStreamProcessors", {})
17
13
  .n("RekognitionClient", "ListStreamProcessorsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListStreamProcessorsCommand)
20
- .de(de_ListStreamProcessorsCommand)
14
+ .sc(ListStreamProcessors)
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand 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", "ListTagsForResource", {})
17
13
  .n("RekognitionClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
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_ListUsersCommand, se_ListUsersCommand } from "../protocols/Aws_json1_1";
4
+ import { ListUsers } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListUsersCommand 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", "ListUsers", {})
17
13
  .n("RekognitionClient", "ListUsersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListUsersCommand)
20
- .de(de_ListUsersCommand)
14
+ .sc(ListUsers)
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_PutProjectPolicyCommand, se_PutProjectPolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { PutProjectPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutProjectPolicyCommand 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", "PutProjectPolicy", {})
17
13
  .n("RekognitionClient", "PutProjectPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutProjectPolicyCommand)
20
- .de(de_PutProjectPolicyCommand)
14
+ .sc(PutProjectPolicy)
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_RecognizeCelebritiesCommand, se_RecognizeCelebritiesCommand } from "../protocols/Aws_json1_1";
4
+ import { RecognizeCelebrities } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RecognizeCelebritiesCommand 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", "RecognizeCelebrities", {})
17
13
  .n("RekognitionClient", "RecognizeCelebritiesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RecognizeCelebritiesCommand)
20
- .de(de_RecognizeCelebritiesCommand)
14
+ .sc(RecognizeCelebrities)
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_SearchFacesByImageCommand, se_SearchFacesByImageCommand } from "../protocols/Aws_json1_1";
4
+ import { SearchFacesByImage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SearchFacesByImageCommand 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", "SearchFacesByImage", {})
17
13
  .n("RekognitionClient", "SearchFacesByImageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SearchFacesByImageCommand)
20
- .de(de_SearchFacesByImageCommand)
14
+ .sc(SearchFacesByImage)
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_SearchFacesCommand, se_SearchFacesCommand } from "../protocols/Aws_json1_1";
4
+ import { SearchFaces } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SearchFacesCommand 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", "SearchFaces", {})
17
13
  .n("RekognitionClient", "SearchFacesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SearchFacesCommand)
20
- .de(de_SearchFacesCommand)
14
+ .sc(SearchFaces)
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_SearchUsersByImageCommand, se_SearchUsersByImageCommand } from "../protocols/Aws_json1_1";
4
+ import { SearchUsersByImage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SearchUsersByImageCommand 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", "SearchUsersByImage", {})
17
13
  .n("RekognitionClient", "SearchUsersByImageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SearchUsersByImageCommand)
20
- .de(de_SearchUsersByImageCommand)
14
+ .sc(SearchUsersByImage)
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_SearchUsersCommand, se_SearchUsersCommand } from "../protocols/Aws_json1_1";
4
+ import { SearchUsers } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SearchUsersCommand 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", "SearchUsers", {})
17
13
  .n("RekognitionClient", "SearchUsersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SearchUsersCommand)
20
- .de(de_SearchUsersCommand)
14
+ .sc(SearchUsers)
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_StartCelebrityRecognitionCommand, se_StartCelebrityRecognitionCommand } from "../protocols/Aws_json1_1";
4
+ import { StartCelebrityRecognition } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartCelebrityRecognitionCommand 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", "StartCelebrityRecognition", {})
17
13
  .n("RekognitionClient", "StartCelebrityRecognitionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartCelebrityRecognitionCommand)
20
- .de(de_StartCelebrityRecognitionCommand)
14
+ .sc(StartCelebrityRecognition)
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_StartContentModerationCommand, se_StartContentModerationCommand } from "../protocols/Aws_json1_1";
4
+ import { StartContentModeration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartContentModerationCommand 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", "StartContentModeration", {})
17
13
  .n("RekognitionClient", "StartContentModerationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartContentModerationCommand)
20
- .de(de_StartContentModerationCommand)
14
+ .sc(StartContentModeration)
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_StartFaceDetectionCommand, se_StartFaceDetectionCommand } from "../protocols/Aws_json1_1";
4
+ import { StartFaceDetection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartFaceDetectionCommand 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", "StartFaceDetection", {})
17
13
  .n("RekognitionClient", "StartFaceDetectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartFaceDetectionCommand)
20
- .de(de_StartFaceDetectionCommand)
14
+ .sc(StartFaceDetection)
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_StartFaceSearchCommand, se_StartFaceSearchCommand } from "../protocols/Aws_json1_1";
4
+ import { StartFaceSearch } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartFaceSearchCommand 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", "StartFaceSearch", {})
17
13
  .n("RekognitionClient", "StartFaceSearchCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartFaceSearchCommand)
20
- .de(de_StartFaceSearchCommand)
14
+ .sc(StartFaceSearch)
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_StartLabelDetectionCommand, se_StartLabelDetectionCommand } from "../protocols/Aws_json1_1";
4
+ import { StartLabelDetection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartLabelDetectionCommand 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", "StartLabelDetection", {})
17
13
  .n("RekognitionClient", "StartLabelDetectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartLabelDetectionCommand)
20
- .de(de_StartLabelDetectionCommand)
14
+ .sc(StartLabelDetection)
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_StartMediaAnalysisJobCommand, se_StartMediaAnalysisJobCommand } from "../protocols/Aws_json1_1";
4
+ import { StartMediaAnalysisJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartMediaAnalysisJobCommand 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", "StartMediaAnalysisJob", {})
17
13
  .n("RekognitionClient", "StartMediaAnalysisJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartMediaAnalysisJobCommand)
20
- .de(de_StartMediaAnalysisJobCommand)
14
+ .sc(StartMediaAnalysisJob)
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_StartPersonTrackingCommand, se_StartPersonTrackingCommand } from "../protocols/Aws_json1_1";
4
+ import { StartPersonTracking } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartPersonTrackingCommand 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", "StartPersonTracking", {})
17
13
  .n("RekognitionClient", "StartPersonTrackingCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartPersonTrackingCommand)
20
- .de(de_StartPersonTrackingCommand)
14
+ .sc(StartPersonTracking)
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_StartProjectVersionCommand, se_StartProjectVersionCommand } from "../protocols/Aws_json1_1";
4
+ import { StartProjectVersion } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartProjectVersionCommand 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", "StartProjectVersion", {})
17
13
  .n("RekognitionClient", "StartProjectVersionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartProjectVersionCommand)
20
- .de(de_StartProjectVersionCommand)
14
+ .sc(StartProjectVersion)
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_StartSegmentDetectionCommand, se_StartSegmentDetectionCommand } from "../protocols/Aws_json1_1";
4
+ import { StartSegmentDetection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartSegmentDetectionCommand 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", "StartSegmentDetection", {})
17
13
  .n("RekognitionClient", "StartSegmentDetectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartSegmentDetectionCommand)
20
- .de(de_StartSegmentDetectionCommand)
14
+ .sc(StartSegmentDetection)
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_StartStreamProcessorCommand, se_StartStreamProcessorCommand } from "../protocols/Aws_json1_1";
4
+ import { StartStreamProcessor } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartStreamProcessorCommand 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", "StartStreamProcessor", {})
17
13
  .n("RekognitionClient", "StartStreamProcessorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartStreamProcessorCommand)
20
- .de(de_StartStreamProcessorCommand)
14
+ .sc(StartStreamProcessor)
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_StartTextDetectionCommand, se_StartTextDetectionCommand } from "../protocols/Aws_json1_1";
4
+ import { StartTextDetection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartTextDetectionCommand 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", "StartTextDetection", {})
17
13
  .n("RekognitionClient", "StartTextDetectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartTextDetectionCommand)
20
- .de(de_StartTextDetectionCommand)
14
+ .sc(StartTextDetection)
21
15
  .build() {
22
16
  }