@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
@@ -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_1StartLabelDetectionCommand, serializeAws_json1_1StartLabelDetectionCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_StartLabelDetectionCommand, se_StartLabelDetectionCommand } from "../protocols/Aws_json1_1";
5
5
  export class StartLabelDetectionCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class StartLabelDetectionCommand 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_1StartLabelDetectionCommand(input, context);
36
+ return se_StartLabelDetectionCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1StartLabelDetectionCommand(output, context);
39
+ return de_StartLabelDetectionCommand(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_1StartPersonTrackingCommand, serializeAws_json1_1StartPersonTrackingCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_StartPersonTrackingCommand, se_StartPersonTrackingCommand } from "../protocols/Aws_json1_1";
5
5
  export class StartPersonTrackingCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class StartPersonTrackingCommand 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_1StartPersonTrackingCommand(input, context);
36
+ return se_StartPersonTrackingCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1StartPersonTrackingCommand(output, context);
39
+ return de_StartPersonTrackingCommand(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_1StartProjectVersionCommand, serializeAws_json1_1StartProjectVersionCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_StartProjectVersionCommand, se_StartProjectVersionCommand } from "../protocols/Aws_json1_1";
5
5
  export class StartProjectVersionCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class StartProjectVersionCommand 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_1StartProjectVersionCommand(input, context);
36
+ return se_StartProjectVersionCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1StartProjectVersionCommand(output, context);
39
+ return de_StartProjectVersionCommand(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_1StartSegmentDetectionCommand, serializeAws_json1_1StartSegmentDetectionCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_StartSegmentDetectionCommand, se_StartSegmentDetectionCommand } from "../protocols/Aws_json1_1";
5
5
  export class StartSegmentDetectionCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class StartSegmentDetectionCommand 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_1StartSegmentDetectionCommand(input, context);
36
+ return se_StartSegmentDetectionCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1StartSegmentDetectionCommand(output, context);
39
+ return de_StartSegmentDetectionCommand(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_1StartStreamProcessorCommand, serializeAws_json1_1StartStreamProcessorCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_StartStreamProcessorCommand, se_StartStreamProcessorCommand } from "../protocols/Aws_json1_1";
5
5
  export class StartStreamProcessorCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class StartStreamProcessorCommand 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_1StartStreamProcessorCommand(input, context);
36
+ return se_StartStreamProcessorCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1StartStreamProcessorCommand(output, context);
39
+ return de_StartStreamProcessorCommand(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_1StartTextDetectionCommand, serializeAws_json1_1StartTextDetectionCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_StartTextDetectionCommand, se_StartTextDetectionCommand } from "../protocols/Aws_json1_1";
5
5
  export class StartTextDetectionCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class StartTextDetectionCommand 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_1StartTextDetectionCommand(input, context);
36
+ return se_StartTextDetectionCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1StartTextDetectionCommand(output, context);
39
+ return de_StartTextDetectionCommand(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_1StopProjectVersionCommand, serializeAws_json1_1StopProjectVersionCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_StopProjectVersionCommand, se_StopProjectVersionCommand } from "../protocols/Aws_json1_1";
5
5
  export class StopProjectVersionCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class StopProjectVersionCommand 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_1StopProjectVersionCommand(input, context);
36
+ return se_StopProjectVersionCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1StopProjectVersionCommand(output, context);
39
+ return de_StopProjectVersionCommand(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_1StopStreamProcessorCommand, serializeAws_json1_1StopStreamProcessorCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_StopStreamProcessorCommand, se_StopStreamProcessorCommand } from "../protocols/Aws_json1_1";
5
5
  export class StopStreamProcessorCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class StopStreamProcessorCommand 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_1StopStreamProcessorCommand(input, context);
36
+ return se_StopStreamProcessorCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1StopStreamProcessorCommand(output, context);
39
+ return de_StopStreamProcessorCommand(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_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
5
5
  export class TagResourceCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class TagResourceCommand 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_1TagResourceCommand(input, context);
36
+ return se_TagResourceCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1TagResourceCommand(output, context);
39
+ return de_TagResourceCommand(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_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
5
5
  export class UntagResourceCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class UntagResourceCommand 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_1UntagResourceCommand(input, context);
36
+ return se_UntagResourceCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1UntagResourceCommand(output, context);
39
+ return de_UntagResourceCommand(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_1UpdateDatasetEntriesCommand, serializeAws_json1_1UpdateDatasetEntriesCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_UpdateDatasetEntriesCommand, se_UpdateDatasetEntriesCommand } from "../protocols/Aws_json1_1";
5
5
  export class UpdateDatasetEntriesCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class UpdateDatasetEntriesCommand 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_1UpdateDatasetEntriesCommand(input, context);
36
+ return se_UpdateDatasetEntriesCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1UpdateDatasetEntriesCommand(output, context);
39
+ return de_UpdateDatasetEntriesCommand(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_1UpdateStreamProcessorCommand, serializeAws_json1_1UpdateStreamProcessorCommand, } from "../protocols/Aws_json1_1";
4
+ import { de_UpdateStreamProcessorCommand, se_UpdateStreamProcessorCommand } from "../protocols/Aws_json1_1";
5
5
  export class UpdateStreamProcessorCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class UpdateStreamProcessorCommand 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_1UpdateStreamProcessorCommand(input, context);
36
+ return se_UpdateStreamProcessorCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1UpdateStreamProcessorCommand(output, context);
39
+ return de_UpdateStreamProcessorCommand(output, context);
40
40
  }
41
41
  }
@@ -2,6 +2,7 @@ export * from "./CompareFacesCommand";
2
2
  export * from "./CopyProjectVersionCommand";
3
3
  export * from "./CreateCollectionCommand";
4
4
  export * from "./CreateDatasetCommand";
5
+ export * from "./CreateFaceLivenessSessionCommand";
5
6
  export * from "./CreateProjectCommand";
6
7
  export * from "./CreateProjectVersionCommand";
7
8
  export * from "./CreateStreamProcessorCommand";
@@ -28,6 +29,7 @@ export * from "./GetCelebrityInfoCommand";
28
29
  export * from "./GetCelebrityRecognitionCommand";
29
30
  export * from "./GetContentModerationCommand";
30
31
  export * from "./GetFaceDetectionCommand";
32
+ export * from "./GetFaceLivenessSessionResultsCommand";
31
33
  export * from "./GetFaceSearchCommand";
32
34
  export * from "./GetLabelDetectionCommand";
33
35
  export * from "./GetPersonTrackingCommand";
@@ -1,4 +1,4 @@
1
- const s = "fn", t = "argv", u = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "stringEquals", i = { "required": true, "default": false, "type": "Boolean" }, j = { [u]: "Region" }, k = { [u]: "Endpoint" }, l = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, m = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, n = {}, o = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: d }, "supportsFIPS"] }] }, p = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: d }, "supportsDualStack"] }] }, q = [l], r = [m];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [s]: "aws.partition", [t]: [j], assign: d }], type: e, rules: [{ conditions: [{ [s]: "isSet", [t]: [k] }], type: e, rules: [{ conditions: q, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: k, properties: n, headers: n }, type: g }] }] }, { conditions: [l, m], type: e, rules: [{ conditions: [o, p], type: e, rules: [{ endpoint: { url: "https://rekognition-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [o], type: e, rules: [{ type: e, rules: [{ conditions: [{ [s]: h, [t]: [j, "rekognition.ca-central-1"] }], endpoint: { url: "https://rekognition-fips.ca-central-1.amazonaws.com", properties: n, headers: n }, type: g }, { conditions: [{ [s]: h, [t]: [j, "rekognition.us-east-1"] }], endpoint: { url: "https://rekognition-fips.us-east-1.amazonaws.com", properties: n, headers: n }, type: g }, { conditions: [{ [s]: h, [t]: [j, "rekognition.us-east-2"] }], endpoint: { url: "https://rekognition-fips.us-east-2.amazonaws.com", properties: n, headers: n }, type: g }, { conditions: [{ [s]: h, [t]: [j, "rekognition.us-west-1"] }], endpoint: { url: "https://rekognition-fips.us-west-1.amazonaws.com", properties: n, headers: n }, type: g }, { conditions: [{ [s]: h, [t]: [j, "rekognition.us-west-2"] }], endpoint: { url: "https://rekognition-fips.us-west-2.amazonaws.com", properties: n, headers: n }, type: g }, { conditions: [{ [s]: h, [t]: [j, "rekognition.us-gov-west-1"] }], endpoint: { url: "https://rekognition-fips.us-gov-west-1.amazonaws.com", properties: n, headers: n }, type: g }, { endpoint: { url: "https://rekognition-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [p], type: e, rules: [{ endpoint: { url: "https://rekognition.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://rekognition.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: g }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://rekognition-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://rekognition-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://rekognition.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://rekognition.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -1 +1,2 @@
1
1
  export * from "./models_0";
2
+ export * from "./models_1";
@@ -1,3 +1,4 @@
1
+ import { SENSITIVE_STRING, } from "@aws-sdk/smithy-client";
1
2
  import { RekognitionServiceException as __BaseException } from "./RekognitionServiceException";
2
3
  export class AccessDeniedException extends __BaseException {
3
4
  constructor(opts) {
@@ -420,6 +421,27 @@ export const VideoColorRange = {
420
421
  FULL: "FULL",
421
422
  LIMITED: "LIMITED",
422
423
  };
424
+ export const LivenessSessionStatus = {
425
+ CREATED: "CREATED",
426
+ FAILED: "FAILED",
427
+ IN_PROGRESS: "IN_PROGRESS",
428
+ SUCCEEDED: "SUCCEEDED",
429
+ };
430
+ export class SessionNotFoundException extends __BaseException {
431
+ constructor(opts) {
432
+ super({
433
+ name: "SessionNotFoundException",
434
+ $fault: "client",
435
+ ...opts,
436
+ });
437
+ this.name = "SessionNotFoundException";
438
+ this.$fault = "client";
439
+ Object.setPrototypeOf(this, SessionNotFoundException.prototype);
440
+ this.Message = opts.Message;
441
+ this.Code = opts.Code;
442
+ this.Logref = opts.Logref;
443
+ }
444
+ }
423
445
  export const LabelDetectionAggregateBy = {
424
446
  SEGMENTS: "SEGMENTS",
425
447
  TIMESTAMPS: "TIMESTAMPS",
@@ -506,3 +528,12 @@ export const StreamProcessorParameterToDelete = {
506
528
  ConnectedHomeMinConfidence: "ConnectedHomeMinConfidence",
507
529
  RegionsOfInterest: "RegionsOfInterest",
508
530
  };
531
+ export const AuditImageFilterSensitiveLog = (obj) => ({
532
+ ...obj,
533
+ ...(obj.Bytes && { Bytes: SENSITIVE_STRING }),
534
+ });
535
+ export const GetFaceLivenessSessionResultsResponseFilterSensitiveLog = (obj) => ({
536
+ ...obj,
537
+ ...(obj.ReferenceImage && { ReferenceImage: AuditImageFilterSensitiveLog(obj.ReferenceImage) }),
538
+ ...(obj.AuditImages && { AuditImages: obj.AuditImages.map((item) => AuditImageFilterSensitiveLog(item)) }),
539
+ });
@@ -0,0 +1 @@
1
+ export {};