@aws-sdk/client-rekognition 3.306.0 → 3.310.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/Rekognition.js +30 -0
  3. package/dist-cjs/commands/CompareFacesCommand.js +2 -2
  4. package/dist-cjs/commands/CopyProjectVersionCommand.js +2 -2
  5. package/dist-cjs/commands/CreateCollectionCommand.js +2 -2
  6. package/dist-cjs/commands/CreateDatasetCommand.js +2 -2
  7. package/dist-cjs/commands/CreateFaceLivenessSessionCommand.js +45 -0
  8. package/dist-cjs/commands/CreateProjectCommand.js +2 -2
  9. package/dist-cjs/commands/CreateProjectVersionCommand.js +2 -2
  10. package/dist-cjs/commands/CreateStreamProcessorCommand.js +2 -2
  11. package/dist-cjs/commands/DeleteCollectionCommand.js +2 -2
  12. package/dist-cjs/commands/DeleteDatasetCommand.js +2 -2
  13. package/dist-cjs/commands/DeleteFacesCommand.js +2 -2
  14. package/dist-cjs/commands/DeleteProjectCommand.js +2 -2
  15. package/dist-cjs/commands/DeleteProjectPolicyCommand.js +2 -2
  16. package/dist-cjs/commands/DeleteProjectVersionCommand.js +2 -2
  17. package/dist-cjs/commands/DeleteStreamProcessorCommand.js +2 -2
  18. package/dist-cjs/commands/DescribeCollectionCommand.js +2 -2
  19. package/dist-cjs/commands/DescribeDatasetCommand.js +2 -2
  20. package/dist-cjs/commands/DescribeProjectVersionsCommand.js +2 -2
  21. package/dist-cjs/commands/DescribeProjectsCommand.js +2 -2
  22. package/dist-cjs/commands/DescribeStreamProcessorCommand.js +2 -2
  23. package/dist-cjs/commands/DetectCustomLabelsCommand.js +2 -2
  24. package/dist-cjs/commands/DetectFacesCommand.js +2 -2
  25. package/dist-cjs/commands/DetectLabelsCommand.js +2 -2
  26. package/dist-cjs/commands/DetectModerationLabelsCommand.js +2 -2
  27. package/dist-cjs/commands/DetectProtectiveEquipmentCommand.js +2 -2
  28. package/dist-cjs/commands/DetectTextCommand.js +2 -2
  29. package/dist-cjs/commands/DistributeDatasetEntriesCommand.js +2 -2
  30. package/dist-cjs/commands/GetCelebrityInfoCommand.js +2 -2
  31. package/dist-cjs/commands/GetCelebrityRecognitionCommand.js +2 -2
  32. package/dist-cjs/commands/GetContentModerationCommand.js +2 -2
  33. package/dist-cjs/commands/GetFaceDetectionCommand.js +2 -2
  34. package/dist-cjs/commands/GetFaceLivenessSessionResultsCommand.js +46 -0
  35. package/dist-cjs/commands/GetFaceSearchCommand.js +2 -2
  36. package/dist-cjs/commands/GetLabelDetectionCommand.js +2 -2
  37. package/dist-cjs/commands/GetPersonTrackingCommand.js +2 -2
  38. package/dist-cjs/commands/GetSegmentDetectionCommand.js +2 -2
  39. package/dist-cjs/commands/GetTextDetectionCommand.js +2 -2
  40. package/dist-cjs/commands/IndexFacesCommand.js +2 -2
  41. package/dist-cjs/commands/ListCollectionsCommand.js +2 -2
  42. package/dist-cjs/commands/ListDatasetEntriesCommand.js +2 -2
  43. package/dist-cjs/commands/ListDatasetLabelsCommand.js +2 -2
  44. package/dist-cjs/commands/ListFacesCommand.js +2 -2
  45. package/dist-cjs/commands/ListProjectPoliciesCommand.js +2 -2
  46. package/dist-cjs/commands/ListStreamProcessorsCommand.js +2 -2
  47. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  48. package/dist-cjs/commands/PutProjectPolicyCommand.js +2 -2
  49. package/dist-cjs/commands/RecognizeCelebritiesCommand.js +2 -2
  50. package/dist-cjs/commands/SearchFacesByImageCommand.js +2 -2
  51. package/dist-cjs/commands/SearchFacesCommand.js +2 -2
  52. package/dist-cjs/commands/StartCelebrityRecognitionCommand.js +2 -2
  53. package/dist-cjs/commands/StartContentModerationCommand.js +2 -2
  54. package/dist-cjs/commands/StartFaceDetectionCommand.js +2 -2
  55. package/dist-cjs/commands/StartFaceSearchCommand.js +2 -2
  56. package/dist-cjs/commands/StartLabelDetectionCommand.js +2 -2
  57. package/dist-cjs/commands/StartPersonTrackingCommand.js +2 -2
  58. package/dist-cjs/commands/StartProjectVersionCommand.js +2 -2
  59. package/dist-cjs/commands/StartSegmentDetectionCommand.js +2 -2
  60. package/dist-cjs/commands/StartStreamProcessorCommand.js +2 -2
  61. package/dist-cjs/commands/StartTextDetectionCommand.js +2 -2
  62. package/dist-cjs/commands/StopProjectVersionCommand.js +2 -2
  63. package/dist-cjs/commands/StopStreamProcessorCommand.js +2 -2
  64. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  65. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  66. package/dist-cjs/commands/UpdateDatasetEntriesCommand.js +2 -2
  67. package/dist-cjs/commands/UpdateStreamProcessorCommand.js +2 -2
  68. package/dist-cjs/commands/index.js +2 -0
  69. package/dist-cjs/endpoint/ruleset.js +3 -3
  70. package/dist-cjs/models/index.js +1 -0
  71. package/dist-cjs/models/models_0.js +36 -2
  72. package/dist-cjs/models/models_1.js +2 -0
  73. package/dist-cjs/protocols/Aws_json1_1.js +1883 -1773
  74. package/dist-es/Rekognition.js +30 -0
  75. package/dist-es/commands/CompareFacesCommand.js +3 -3
  76. package/dist-es/commands/CopyProjectVersionCommand.js +3 -3
  77. package/dist-es/commands/CreateCollectionCommand.js +3 -3
  78. package/dist-es/commands/CreateDatasetCommand.js +3 -3
  79. package/dist-es/commands/CreateFaceLivenessSessionCommand.js +41 -0
  80. package/dist-es/commands/CreateProjectCommand.js +3 -3
  81. package/dist-es/commands/CreateProjectVersionCommand.js +3 -3
  82. package/dist-es/commands/CreateStreamProcessorCommand.js +3 -3
  83. package/dist-es/commands/DeleteCollectionCommand.js +3 -3
  84. package/dist-es/commands/DeleteDatasetCommand.js +3 -3
  85. package/dist-es/commands/DeleteFacesCommand.js +3 -3
  86. package/dist-es/commands/DeleteProjectCommand.js +3 -3
  87. package/dist-es/commands/DeleteProjectPolicyCommand.js +3 -3
  88. package/dist-es/commands/DeleteProjectVersionCommand.js +3 -3
  89. package/dist-es/commands/DeleteStreamProcessorCommand.js +3 -3
  90. package/dist-es/commands/DescribeCollectionCommand.js +3 -3
  91. package/dist-es/commands/DescribeDatasetCommand.js +3 -3
  92. package/dist-es/commands/DescribeProjectVersionsCommand.js +3 -3
  93. package/dist-es/commands/DescribeProjectsCommand.js +3 -3
  94. package/dist-es/commands/DescribeStreamProcessorCommand.js +3 -3
  95. package/dist-es/commands/DetectCustomLabelsCommand.js +3 -3
  96. package/dist-es/commands/DetectFacesCommand.js +3 -3
  97. package/dist-es/commands/DetectLabelsCommand.js +3 -3
  98. package/dist-es/commands/DetectModerationLabelsCommand.js +3 -3
  99. package/dist-es/commands/DetectProtectiveEquipmentCommand.js +3 -3
  100. package/dist-es/commands/DetectTextCommand.js +3 -3
  101. package/dist-es/commands/DistributeDatasetEntriesCommand.js +3 -3
  102. package/dist-es/commands/GetCelebrityInfoCommand.js +3 -3
  103. package/dist-es/commands/GetCelebrityRecognitionCommand.js +3 -3
  104. package/dist-es/commands/GetContentModerationCommand.js +3 -3
  105. package/dist-es/commands/GetFaceDetectionCommand.js +3 -3
  106. package/dist-es/commands/GetFaceLivenessSessionResultsCommand.js +42 -0
  107. package/dist-es/commands/GetFaceSearchCommand.js +3 -3
  108. package/dist-es/commands/GetLabelDetectionCommand.js +3 -3
  109. package/dist-es/commands/GetPersonTrackingCommand.js +3 -3
  110. package/dist-es/commands/GetSegmentDetectionCommand.js +3 -3
  111. package/dist-es/commands/GetTextDetectionCommand.js +3 -3
  112. package/dist-es/commands/IndexFacesCommand.js +3 -3
  113. package/dist-es/commands/ListCollectionsCommand.js +3 -3
  114. package/dist-es/commands/ListDatasetEntriesCommand.js +3 -3
  115. package/dist-es/commands/ListDatasetLabelsCommand.js +3 -3
  116. package/dist-es/commands/ListFacesCommand.js +3 -3
  117. package/dist-es/commands/ListProjectPoliciesCommand.js +3 -3
  118. package/dist-es/commands/ListStreamProcessorsCommand.js +3 -3
  119. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  120. package/dist-es/commands/PutProjectPolicyCommand.js +3 -3
  121. package/dist-es/commands/RecognizeCelebritiesCommand.js +3 -3
  122. package/dist-es/commands/SearchFacesByImageCommand.js +3 -3
  123. package/dist-es/commands/SearchFacesCommand.js +3 -3
  124. package/dist-es/commands/StartCelebrityRecognitionCommand.js +3 -3
  125. package/dist-es/commands/StartContentModerationCommand.js +3 -3
  126. package/dist-es/commands/StartFaceDetectionCommand.js +3 -3
  127. package/dist-es/commands/StartFaceSearchCommand.js +3 -3
  128. package/dist-es/commands/StartLabelDetectionCommand.js +3 -3
  129. package/dist-es/commands/StartPersonTrackingCommand.js +3 -3
  130. package/dist-es/commands/StartProjectVersionCommand.js +3 -3
  131. package/dist-es/commands/StartSegmentDetectionCommand.js +3 -3
  132. package/dist-es/commands/StartStreamProcessorCommand.js +3 -3
  133. package/dist-es/commands/StartTextDetectionCommand.js +3 -3
  134. package/dist-es/commands/StopProjectVersionCommand.js +3 -3
  135. package/dist-es/commands/StopStreamProcessorCommand.js +3 -3
  136. package/dist-es/commands/TagResourceCommand.js +3 -3
  137. package/dist-es/commands/UntagResourceCommand.js +3 -3
  138. package/dist-es/commands/UpdateDatasetEntriesCommand.js +3 -3
  139. package/dist-es/commands/UpdateStreamProcessorCommand.js +3 -3
  140. package/dist-es/commands/index.js +2 -0
  141. package/dist-es/endpoint/ruleset.js +3 -3
  142. package/dist-es/models/index.js +1 -0
  143. package/dist-es/models/models_0.js +31 -0
  144. package/dist-es/models/models_1.js +1 -0
  145. package/dist-es/protocols/Aws_json1_1.js +1751 -1645
  146. package/dist-types/Rekognition.d.ts +51 -10
  147. package/dist-types/RekognitionClient.d.ts +4 -2
  148. package/dist-types/commands/CopyProjectVersionCommand.d.ts +1 -0
  149. package/dist-types/commands/CreateFaceLivenessSessionCommand.d.ts +94 -0
  150. package/dist-types/commands/CreateStreamProcessorCommand.d.ts +17 -7
  151. package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +1 -0
  152. package/dist-types/commands/DetectLabelsCommand.d.ts +2 -3
  153. package/dist-types/commands/GetFaceLivenessSessionResultsCommand.d.ts +88 -0
  154. package/dist-types/commands/ListProjectPoliciesCommand.d.ts +1 -0
  155. package/dist-types/commands/PutProjectPolicyCommand.d.ts +1 -0
  156. package/dist-types/commands/StopProjectVersionCommand.d.ts +1 -0
  157. package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +4 -1
  158. package/dist-types/commands/index.d.ts +2 -0
  159. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  160. package/dist-types/models/index.d.ts +1 -0
  161. package/dist-types/models/models_0.d.ts +241 -106
  162. package/dist-types/models/models_1.d.ts +56 -0
  163. package/dist-types/protocols/Aws_json1_1.d.ts +522 -126
  164. package/dist-types/ts3.4/Rekognition.d.ts +34 -0
  165. package/dist-types/ts3.4/RekognitionClient.d.ts +12 -0
  166. package/dist-types/ts3.4/commands/CreateFaceLivenessSessionCommand.d.ts +41 -0
  167. package/dist-types/ts3.4/commands/GetFaceLivenessSessionResultsCommand.d.ts +41 -0
  168. package/dist-types/ts3.4/commands/UpdateStreamProcessorCommand.d.ts +1 -1
  169. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  170. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  171. package/dist-types/ts3.4/models/index.d.ts +1 -0
  172. package/dist-types/ts3.4/models/models_0.d.ts +59 -17
  173. package/dist-types/ts3.4/models/models_1.d.ts +17 -0
  174. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +150 -126
  175. package/package.json +36 -36
@@ -2,6 +2,7 @@ import { CompareFacesCommand, } from "./commands/CompareFacesCommand";
2
2
  import { CopyProjectVersionCommand, } from "./commands/CopyProjectVersionCommand";
3
3
  import { CreateCollectionCommand, } from "./commands/CreateCollectionCommand";
4
4
  import { CreateDatasetCommand, } from "./commands/CreateDatasetCommand";
5
+ import { CreateFaceLivenessSessionCommand, } from "./commands/CreateFaceLivenessSessionCommand";
5
6
  import { CreateProjectCommand, } from "./commands/CreateProjectCommand";
6
7
  import { CreateProjectVersionCommand, } from "./commands/CreateProjectVersionCommand";
7
8
  import { CreateStreamProcessorCommand, } from "./commands/CreateStreamProcessorCommand";
@@ -28,6 +29,7 @@ import { GetCelebrityInfoCommand, } from "./commands/GetCelebrityInfoCommand";
28
29
  import { GetCelebrityRecognitionCommand, } from "./commands/GetCelebrityRecognitionCommand";
29
30
  import { GetContentModerationCommand, } from "./commands/GetContentModerationCommand";
30
31
  import { GetFaceDetectionCommand, } from "./commands/GetFaceDetectionCommand";
32
+ import { GetFaceLivenessSessionResultsCommand, } from "./commands/GetFaceLivenessSessionResultsCommand";
31
33
  import { GetFaceSearchCommand, } from "./commands/GetFaceSearchCommand";
32
34
  import { GetLabelDetectionCommand, } from "./commands/GetLabelDetectionCommand";
33
35
  import { GetPersonTrackingCommand, } from "./commands/GetPersonTrackingCommand";
@@ -119,6 +121,20 @@ export class Rekognition extends RekognitionClient {
119
121
  return this.send(command, optionsOrCb);
120
122
  }
121
123
  }
124
+ createFaceLivenessSession(args, optionsOrCb, cb) {
125
+ const command = new CreateFaceLivenessSessionCommand(args);
126
+ if (typeof optionsOrCb === "function") {
127
+ this.send(command, optionsOrCb);
128
+ }
129
+ else if (typeof cb === "function") {
130
+ if (typeof optionsOrCb !== "object")
131
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
132
+ this.send(command, optionsOrCb || {}, cb);
133
+ }
134
+ else {
135
+ return this.send(command, optionsOrCb);
136
+ }
137
+ }
122
138
  createProject(args, optionsOrCb, cb) {
123
139
  const command = new CreateProjectCommand(args);
124
140
  if (typeof optionsOrCb === "function") {
@@ -483,6 +499,20 @@ export class Rekognition extends RekognitionClient {
483
499
  return this.send(command, optionsOrCb);
484
500
  }
485
501
  }
502
+ getFaceLivenessSessionResults(args, optionsOrCb, cb) {
503
+ const command = new GetFaceLivenessSessionResultsCommand(args);
504
+ if (typeof optionsOrCb === "function") {
505
+ this.send(command, optionsOrCb);
506
+ }
507
+ else if (typeof cb === "function") {
508
+ if (typeof optionsOrCb !== "object")
509
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
510
+ this.send(command, optionsOrCb || {}, cb);
511
+ }
512
+ else {
513
+ return this.send(command, optionsOrCb);
514
+ }
515
+ }
486
516
  getFaceSearch(args, optionsOrCb, cb) {
487
517
  const command = new GetFaceSearchCommand(args);
488
518
  if (typeof optionsOrCb === "function") {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1CompareFacesCommand, serializeAws_json1_1CompareFacesCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_CompareFacesCommand, se_CompareFacesCommand } from "../protocols/Aws_json1_1";
5
5
  export class CompareFacesCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class CompareFacesCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1CompareFacesCommand(input, context);
36
+ return se_CompareFacesCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1CompareFacesCommand(output, context);
39
+ return de_CompareFacesCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1CopyProjectVersionCommand, serializeAws_json1_1CopyProjectVersionCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_CopyProjectVersionCommand, se_CopyProjectVersionCommand } from "../protocols/Aws_json1_1";
5
5
  export class CopyProjectVersionCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class CopyProjectVersionCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1CopyProjectVersionCommand(input, context);
36
+ return se_CopyProjectVersionCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1CopyProjectVersionCommand(output, context);
39
+ return de_CopyProjectVersionCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1CreateCollectionCommand, serializeAws_json1_1CreateCollectionCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_CreateCollectionCommand, se_CreateCollectionCommand } from "../protocols/Aws_json1_1";
5
5
  export class CreateCollectionCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class CreateCollectionCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1CreateCollectionCommand(input, context);
36
+ return se_CreateCollectionCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1CreateCollectionCommand(output, context);
39
+ return de_CreateCollectionCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1CreateDatasetCommand, serializeAws_json1_1CreateDatasetCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_CreateDatasetCommand, se_CreateDatasetCommand } from "../protocols/Aws_json1_1";
5
5
  export class CreateDatasetCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class CreateDatasetCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1CreateDatasetCommand(input, context);
36
+ return se_CreateDatasetCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1CreateDatasetCommand(output, context);
39
+ return de_CreateDatasetCommand(output, context);
40
40
  }
41
41
  }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_CreateFaceLivenessSessionCommand, se_CreateFaceLivenessSessionCommand } from "../protocols/Aws_json1_1";
5
+ export class CreateFaceLivenessSessionCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateFaceLivenessSessionCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "RekognitionClient";
24
+ const commandName = "CreateFaceLivenessSessionCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return se_CreateFaceLivenessSessionCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return de_CreateFaceLivenessSessionCommand(output, context);
40
+ }
41
+ }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1CreateProjectCommand, serializeAws_json1_1CreateProjectCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_CreateProjectCommand, se_CreateProjectCommand } from "../protocols/Aws_json1_1";
5
5
  export class CreateProjectCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class CreateProjectCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1CreateProjectCommand(input, context);
36
+ return se_CreateProjectCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1CreateProjectCommand(output, context);
39
+ return de_CreateProjectCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1CreateProjectVersionCommand, serializeAws_json1_1CreateProjectVersionCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_CreateProjectVersionCommand, se_CreateProjectVersionCommand } from "../protocols/Aws_json1_1";
5
5
  export class CreateProjectVersionCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class CreateProjectVersionCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1CreateProjectVersionCommand(input, context);
36
+ return se_CreateProjectVersionCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1CreateProjectVersionCommand(output, context);
39
+ return de_CreateProjectVersionCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1CreateStreamProcessorCommand, serializeAws_json1_1CreateStreamProcessorCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_CreateStreamProcessorCommand, se_CreateStreamProcessorCommand } from "../protocols/Aws_json1_1";
5
5
  export class CreateStreamProcessorCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class CreateStreamProcessorCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1CreateStreamProcessorCommand(input, context);
36
+ return se_CreateStreamProcessorCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1CreateStreamProcessorCommand(output, context);
39
+ return de_CreateStreamProcessorCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1DeleteCollectionCommand, serializeAws_json1_1DeleteCollectionCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_DeleteCollectionCommand, se_DeleteCollectionCommand } from "../protocols/Aws_json1_1";
5
5
  export class DeleteCollectionCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DeleteCollectionCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1DeleteCollectionCommand(input, context);
36
+ return se_DeleteCollectionCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1DeleteCollectionCommand(output, context);
39
+ return de_DeleteCollectionCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1DeleteDatasetCommand, serializeAws_json1_1DeleteDatasetCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_DeleteDatasetCommand, se_DeleteDatasetCommand } from "../protocols/Aws_json1_1";
5
5
  export class DeleteDatasetCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DeleteDatasetCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1DeleteDatasetCommand(input, context);
36
+ return se_DeleteDatasetCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1DeleteDatasetCommand(output, context);
39
+ return de_DeleteDatasetCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1DeleteFacesCommand, serializeAws_json1_1DeleteFacesCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_DeleteFacesCommand, se_DeleteFacesCommand } from "../protocols/Aws_json1_1";
5
5
  export class DeleteFacesCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DeleteFacesCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1DeleteFacesCommand(input, context);
36
+ return se_DeleteFacesCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1DeleteFacesCommand(output, context);
39
+ return de_DeleteFacesCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1DeleteProjectCommand, serializeAws_json1_1DeleteProjectCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_DeleteProjectCommand, se_DeleteProjectCommand } from "../protocols/Aws_json1_1";
5
5
  export class DeleteProjectCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DeleteProjectCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1DeleteProjectCommand(input, context);
36
+ return se_DeleteProjectCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1DeleteProjectCommand(output, context);
39
+ return de_DeleteProjectCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1DeleteProjectPolicyCommand, serializeAws_json1_1DeleteProjectPolicyCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_DeleteProjectPolicyCommand, se_DeleteProjectPolicyCommand } from "../protocols/Aws_json1_1";
5
5
  export class DeleteProjectPolicyCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DeleteProjectPolicyCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1DeleteProjectPolicyCommand(input, context);
36
+ return se_DeleteProjectPolicyCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1DeleteProjectPolicyCommand(output, context);
39
+ return de_DeleteProjectPolicyCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1DeleteProjectVersionCommand, serializeAws_json1_1DeleteProjectVersionCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_DeleteProjectVersionCommand, se_DeleteProjectVersionCommand } from "../protocols/Aws_json1_1";
5
5
  export class DeleteProjectVersionCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DeleteProjectVersionCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1DeleteProjectVersionCommand(input, context);
36
+ return se_DeleteProjectVersionCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1DeleteProjectVersionCommand(output, context);
39
+ return de_DeleteProjectVersionCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1DeleteStreamProcessorCommand, serializeAws_json1_1DeleteStreamProcessorCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_DeleteStreamProcessorCommand, se_DeleteStreamProcessorCommand } from "../protocols/Aws_json1_1";
5
5
  export class DeleteStreamProcessorCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DeleteStreamProcessorCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1DeleteStreamProcessorCommand(input, context);
36
+ return se_DeleteStreamProcessorCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1DeleteStreamProcessorCommand(output, context);
39
+ return de_DeleteStreamProcessorCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1DescribeCollectionCommand, serializeAws_json1_1DescribeCollectionCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_DescribeCollectionCommand, se_DescribeCollectionCommand } from "../protocols/Aws_json1_1";
5
5
  export class DescribeCollectionCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DescribeCollectionCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1DescribeCollectionCommand(input, context);
36
+ return se_DescribeCollectionCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1DescribeCollectionCommand(output, context);
39
+ return de_DescribeCollectionCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1DescribeDatasetCommand, serializeAws_json1_1DescribeDatasetCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_DescribeDatasetCommand, se_DescribeDatasetCommand } from "../protocols/Aws_json1_1";
5
5
  export class DescribeDatasetCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DescribeDatasetCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1DescribeDatasetCommand(input, context);
36
+ return se_DescribeDatasetCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1DescribeDatasetCommand(output, context);
39
+ return de_DescribeDatasetCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1DescribeProjectVersionsCommand, serializeAws_json1_1DescribeProjectVersionsCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_DescribeProjectVersionsCommand, se_DescribeProjectVersionsCommand } from "../protocols/Aws_json1_1";
5
5
  export class DescribeProjectVersionsCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DescribeProjectVersionsCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1DescribeProjectVersionsCommand(input, context);
36
+ return se_DescribeProjectVersionsCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1DescribeProjectVersionsCommand(output, context);
39
+ return de_DescribeProjectVersionsCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1DescribeProjectsCommand, serializeAws_json1_1DescribeProjectsCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_DescribeProjectsCommand, se_DescribeProjectsCommand } from "../protocols/Aws_json1_1";
5
5
  export class DescribeProjectsCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DescribeProjectsCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1DescribeProjectsCommand(input, context);
36
+ return se_DescribeProjectsCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1DescribeProjectsCommand(output, context);
39
+ return de_DescribeProjectsCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1DescribeStreamProcessorCommand, serializeAws_json1_1DescribeStreamProcessorCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_DescribeStreamProcessorCommand, se_DescribeStreamProcessorCommand } from "../protocols/Aws_json1_1";
5
5
  export class DescribeStreamProcessorCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DescribeStreamProcessorCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1DescribeStreamProcessorCommand(input, context);
36
+ return se_DescribeStreamProcessorCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1DescribeStreamProcessorCommand(output, context);
39
+ return de_DescribeStreamProcessorCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1DetectCustomLabelsCommand, serializeAws_json1_1DetectCustomLabelsCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_DetectCustomLabelsCommand, se_DetectCustomLabelsCommand } from "../protocols/Aws_json1_1";
5
5
  export class DetectCustomLabelsCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DetectCustomLabelsCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1DetectCustomLabelsCommand(input, context);
36
+ return se_DetectCustomLabelsCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1DetectCustomLabelsCommand(output, context);
39
+ return de_DetectCustomLabelsCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1DetectFacesCommand, serializeAws_json1_1DetectFacesCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_DetectFacesCommand, se_DetectFacesCommand } from "../protocols/Aws_json1_1";
5
5
  export class DetectFacesCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DetectFacesCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1DetectFacesCommand(input, context);
36
+ return se_DetectFacesCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1DetectFacesCommand(output, context);
39
+ return de_DetectFacesCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1DetectLabelsCommand, serializeAws_json1_1DetectLabelsCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_DetectLabelsCommand, se_DetectLabelsCommand } from "../protocols/Aws_json1_1";
5
5
  export class DetectLabelsCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DetectLabelsCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1DetectLabelsCommand(input, context);
36
+ return se_DetectLabelsCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1DetectLabelsCommand(output, context);
39
+ return de_DetectLabelsCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1DetectModerationLabelsCommand, serializeAws_json1_1DetectModerationLabelsCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_DetectModerationLabelsCommand, se_DetectModerationLabelsCommand } from "../protocols/Aws_json1_1";
5
5
  export class DetectModerationLabelsCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DetectModerationLabelsCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1DetectModerationLabelsCommand(input, context);
36
+ return se_DetectModerationLabelsCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1DetectModerationLabelsCommand(output, context);
39
+ return de_DetectModerationLabelsCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_json1_1DetectProtectiveEquipmentCommand, serializeAws_json1_1DetectProtectiveEquipmentCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_DetectProtectiveEquipmentCommand, se_DetectProtectiveEquipmentCommand } from "../protocols/Aws_json1_1";
5
5
  export class DetectProtectiveEquipmentCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DetectProtectiveEquipmentCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_json1_1DetectProtectiveEquipmentCommand(input, context);
36
+ return se_DetectProtectiveEquipmentCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1DetectProtectiveEquipmentCommand(output, context);
39
+ return de_DetectProtectiveEquipmentCommand(output, context);
40
40
  }
41
41
  }