@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
@@ -36,10 +36,10 @@ class GetLabelDetectionCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1GetLabelDetectionCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_GetLabelDetectionCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1GetLabelDetectionCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_GetLabelDetectionCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetLabelDetectionCommand = GetLabelDetectionCommand;
@@ -36,10 +36,10 @@ class GetPersonTrackingCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1GetPersonTrackingCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_GetPersonTrackingCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1GetPersonTrackingCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_GetPersonTrackingCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetPersonTrackingCommand = GetPersonTrackingCommand;
@@ -36,10 +36,10 @@ class GetSegmentDetectionCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1GetSegmentDetectionCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_GetSegmentDetectionCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1GetSegmentDetectionCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_GetSegmentDetectionCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetSegmentDetectionCommand = GetSegmentDetectionCommand;
@@ -36,10 +36,10 @@ class GetTextDetectionCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1GetTextDetectionCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_GetTextDetectionCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1GetTextDetectionCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_GetTextDetectionCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetTextDetectionCommand = GetTextDetectionCommand;
@@ -36,10 +36,10 @@ class IndexFacesCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1IndexFacesCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_IndexFacesCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1IndexFacesCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_IndexFacesCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.IndexFacesCommand = IndexFacesCommand;
@@ -36,10 +36,10 @@ class ListCollectionsCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1ListCollectionsCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_ListCollectionsCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1ListCollectionsCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_ListCollectionsCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.ListCollectionsCommand = ListCollectionsCommand;
@@ -36,10 +36,10 @@ class ListDatasetEntriesCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1ListDatasetEntriesCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_ListDatasetEntriesCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1ListDatasetEntriesCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_ListDatasetEntriesCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.ListDatasetEntriesCommand = ListDatasetEntriesCommand;
@@ -36,10 +36,10 @@ class ListDatasetLabelsCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1ListDatasetLabelsCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_ListDatasetLabelsCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1ListDatasetLabelsCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_ListDatasetLabelsCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.ListDatasetLabelsCommand = ListDatasetLabelsCommand;
@@ -36,10 +36,10 @@ class ListFacesCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1ListFacesCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_ListFacesCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1ListFacesCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_ListFacesCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.ListFacesCommand = ListFacesCommand;
@@ -36,10 +36,10 @@ class ListProjectPoliciesCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1ListProjectPoliciesCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_ListProjectPoliciesCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1ListProjectPoliciesCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_ListProjectPoliciesCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.ListProjectPoliciesCommand = ListProjectPoliciesCommand;
@@ -36,10 +36,10 @@ class ListStreamProcessorsCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1ListStreamProcessorsCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_ListStreamProcessorsCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1ListStreamProcessorsCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_ListStreamProcessorsCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.ListStreamProcessorsCommand = ListStreamProcessorsCommand;
@@ -36,10 +36,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1ListTagsForResourceCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_ListTagsForResourceCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1ListTagsForResourceCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_ListTagsForResourceCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -36,10 +36,10 @@ class PutProjectPolicyCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1PutProjectPolicyCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_PutProjectPolicyCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1PutProjectPolicyCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_PutProjectPolicyCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.PutProjectPolicyCommand = PutProjectPolicyCommand;
@@ -36,10 +36,10 @@ class RecognizeCelebritiesCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1RecognizeCelebritiesCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_RecognizeCelebritiesCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1RecognizeCelebritiesCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_RecognizeCelebritiesCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.RecognizeCelebritiesCommand = RecognizeCelebritiesCommand;
@@ -36,10 +36,10 @@ class SearchFacesByImageCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1SearchFacesByImageCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_SearchFacesByImageCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1SearchFacesByImageCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_SearchFacesByImageCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.SearchFacesByImageCommand = SearchFacesByImageCommand;
@@ -36,10 +36,10 @@ class SearchFacesCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1SearchFacesCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_SearchFacesCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1SearchFacesCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_SearchFacesCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.SearchFacesCommand = SearchFacesCommand;
@@ -36,10 +36,10 @@ class StartCelebrityRecognitionCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1StartCelebrityRecognitionCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_StartCelebrityRecognitionCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1StartCelebrityRecognitionCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_StartCelebrityRecognitionCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.StartCelebrityRecognitionCommand = StartCelebrityRecognitionCommand;
@@ -36,10 +36,10 @@ class StartContentModerationCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1StartContentModerationCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_StartContentModerationCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1StartContentModerationCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_StartContentModerationCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.StartContentModerationCommand = StartContentModerationCommand;
@@ -36,10 +36,10 @@ class StartFaceDetectionCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1StartFaceDetectionCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_StartFaceDetectionCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1StartFaceDetectionCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_StartFaceDetectionCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.StartFaceDetectionCommand = StartFaceDetectionCommand;
@@ -36,10 +36,10 @@ class StartFaceSearchCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1StartFaceSearchCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_StartFaceSearchCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1StartFaceSearchCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_StartFaceSearchCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.StartFaceSearchCommand = StartFaceSearchCommand;
@@ -36,10 +36,10 @@ class StartLabelDetectionCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1StartLabelDetectionCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_StartLabelDetectionCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1StartLabelDetectionCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_StartLabelDetectionCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.StartLabelDetectionCommand = StartLabelDetectionCommand;
@@ -36,10 +36,10 @@ class StartPersonTrackingCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1StartPersonTrackingCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_StartPersonTrackingCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1StartPersonTrackingCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_StartPersonTrackingCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.StartPersonTrackingCommand = StartPersonTrackingCommand;
@@ -36,10 +36,10 @@ class StartProjectVersionCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1StartProjectVersionCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_StartProjectVersionCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1StartProjectVersionCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_StartProjectVersionCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.StartProjectVersionCommand = StartProjectVersionCommand;
@@ -36,10 +36,10 @@ class StartSegmentDetectionCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1StartSegmentDetectionCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_StartSegmentDetectionCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1StartSegmentDetectionCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_StartSegmentDetectionCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.StartSegmentDetectionCommand = StartSegmentDetectionCommand;
@@ -36,10 +36,10 @@ class StartStreamProcessorCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1StartStreamProcessorCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_StartStreamProcessorCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1StartStreamProcessorCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_StartStreamProcessorCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.StartStreamProcessorCommand = StartStreamProcessorCommand;
@@ -36,10 +36,10 @@ class StartTextDetectionCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1StartTextDetectionCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_StartTextDetectionCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1StartTextDetectionCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_StartTextDetectionCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.StartTextDetectionCommand = StartTextDetectionCommand;
@@ -36,10 +36,10 @@ class StopProjectVersionCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1StopProjectVersionCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_StopProjectVersionCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1StopProjectVersionCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_StopProjectVersionCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.StopProjectVersionCommand = StopProjectVersionCommand;
@@ -36,10 +36,10 @@ class StopStreamProcessorCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1StopStreamProcessorCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_StopStreamProcessorCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1StopStreamProcessorCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_StopStreamProcessorCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.StopStreamProcessorCommand = StopStreamProcessorCommand;
@@ -36,10 +36,10 @@ class TagResourceCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1TagResourceCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_TagResourceCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_TagResourceCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.TagResourceCommand = TagResourceCommand;
@@ -36,10 +36,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1UntagResourceCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_UntagResourceCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_UntagResourceCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -36,10 +36,10 @@ class UpdateDatasetEntriesCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1UpdateDatasetEntriesCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_UpdateDatasetEntriesCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateDatasetEntriesCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_UpdateDatasetEntriesCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.UpdateDatasetEntriesCommand = UpdateDatasetEntriesCommand;
@@ -36,10 +36,10 @@ class UpdateStreamProcessorCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_json1_1_1.serializeAws_json1_1UpdateStreamProcessorCommand)(input, context);
39
+ return (0, Aws_json1_1_1.se_UpdateStreamProcessorCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateStreamProcessorCommand)(output, context);
42
+ return (0, Aws_json1_1_1.de_UpdateStreamProcessorCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.UpdateStreamProcessorCommand = UpdateStreamProcessorCommand;
@@ -5,6 +5,7 @@ tslib_1.__exportStar(require("./CompareFacesCommand"), exports);
5
5
  tslib_1.__exportStar(require("./CopyProjectVersionCommand"), exports);
6
6
  tslib_1.__exportStar(require("./CreateCollectionCommand"), exports);
7
7
  tslib_1.__exportStar(require("./CreateDatasetCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateFaceLivenessSessionCommand"), exports);
8
9
  tslib_1.__exportStar(require("./CreateProjectCommand"), exports);
9
10
  tslib_1.__exportStar(require("./CreateProjectVersionCommand"), exports);
10
11
  tslib_1.__exportStar(require("./CreateStreamProcessorCommand"), exports);
@@ -31,6 +32,7 @@ tslib_1.__exportStar(require("./GetCelebrityInfoCommand"), exports);
31
32
  tslib_1.__exportStar(require("./GetCelebrityRecognitionCommand"), exports);
32
33
  tslib_1.__exportStar(require("./GetContentModerationCommand"), exports);
33
34
  tslib_1.__exportStar(require("./GetFaceDetectionCommand"), exports);
35
+ tslib_1.__exportStar(require("./GetFaceLivenessSessionResultsCommand"), exports);
34
36
  tslib_1.__exportStar(require("./GetFaceSearchCommand"), exports);
35
37
  tslib_1.__exportStar(require("./GetLabelDetectionCommand"), exports);
36
38
  tslib_1.__exportStar(require("./GetPersonTrackingCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const s = "fn", t = "argv", u = "ref";
5
- 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];
6
- 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 }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ 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" }];
6
+ 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 }] }] };
7
7
  exports.ruleSet = _data;
@@ -2,3 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./models_0"), exports);
5
+ tslib_1.__exportStar(require("./models_1"), exports);
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MalformedPolicyDocumentException = exports.LabelDetectionFeatureName = exports.Reason = exports.IdempotentParameterMismatchException = exports.SegmentType = exports.TechnicalCueType = exports.PersonTrackingSortBy = exports.LabelDetectionSortBy = exports.LabelDetectionAggregateBy = exports.VideoColorRange = exports.VideoJobStatus = exports.FaceSearchSortBy = exports.FaceAttributes = exports.TextTypes = exports.HumanLoopQuotaExceededException = exports.DetectLabelsFeatureName = exports.ResourceNotReadyException = exports.StreamProcessorStatus = exports.InvalidPaginationTokenException = exports.ProjectVersionStatus = exports.InvalidPolicyRevisionIdException = exports.ProjectStatus = exports.DatasetStatusMessageCode = exports.DatasetStatus = exports.DatasetType = exports.ResourceAlreadyExistsException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.LimitExceededException = exports.ContentModerationSortBy = exports.ContentClassifier = exports.ThrottlingException = exports.ProvisionedThroughputExceededException = exports.InvalidS3ObjectException = exports.InvalidParameterException = exports.InvalidImageFormatException = exports.InternalServerError = exports.ImageTooLargeException = exports.OrientationCorrection = exports.QualityFilter = exports.CelebrityRecognitionSortBy = exports.GenderType = exports.KnownGenderType = exports.LandmarkType = exports.EmotionName = exports.ProtectiveEquipmentType = exports.BodyPart = exports.Attribute = exports.AccessDeniedException = void 0;
4
- exports.StreamProcessorParameterToDelete = exports.VideoTooLargeException = void 0;
3
+ exports.Reason = exports.IdempotentParameterMismatchException = exports.SegmentType = exports.TechnicalCueType = exports.PersonTrackingSortBy = exports.LabelDetectionSortBy = exports.LabelDetectionAggregateBy = exports.SessionNotFoundException = exports.LivenessSessionStatus = exports.VideoColorRange = exports.VideoJobStatus = exports.FaceSearchSortBy = exports.FaceAttributes = exports.TextTypes = exports.HumanLoopQuotaExceededException = exports.DetectLabelsFeatureName = exports.ResourceNotReadyException = exports.StreamProcessorStatus = exports.InvalidPaginationTokenException = exports.ProjectVersionStatus = exports.InvalidPolicyRevisionIdException = exports.ProjectStatus = exports.DatasetStatusMessageCode = exports.DatasetStatus = exports.DatasetType = exports.ResourceAlreadyExistsException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.LimitExceededException = exports.ContentModerationSortBy = exports.ContentClassifier = exports.ThrottlingException = exports.ProvisionedThroughputExceededException = exports.InvalidS3ObjectException = exports.InvalidParameterException = exports.InvalidImageFormatException = exports.InternalServerError = exports.ImageTooLargeException = exports.OrientationCorrection = exports.QualityFilter = exports.CelebrityRecognitionSortBy = exports.GenderType = exports.KnownGenderType = exports.LandmarkType = exports.EmotionName = exports.ProtectiveEquipmentType = exports.BodyPart = exports.Attribute = exports.AccessDeniedException = void 0;
4
+ exports.GetFaceLivenessSessionResultsResponseFilterSensitiveLog = exports.AuditImageFilterSensitiveLog = exports.StreamProcessorParameterToDelete = exports.VideoTooLargeException = exports.MalformedPolicyDocumentException = exports.LabelDetectionFeatureName = void 0;
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
6
  const RekognitionServiceException_1 = require("./RekognitionServiceException");
6
7
  class AccessDeniedException extends RekognitionServiceException_1.RekognitionServiceException {
7
8
  constructor(opts) {
@@ -441,6 +442,28 @@ exports.VideoColorRange = {
441
442
  FULL: "FULL",
442
443
  LIMITED: "LIMITED",
443
444
  };
445
+ exports.LivenessSessionStatus = {
446
+ CREATED: "CREATED",
447
+ FAILED: "FAILED",
448
+ IN_PROGRESS: "IN_PROGRESS",
449
+ SUCCEEDED: "SUCCEEDED",
450
+ };
451
+ class SessionNotFoundException extends RekognitionServiceException_1.RekognitionServiceException {
452
+ constructor(opts) {
453
+ super({
454
+ name: "SessionNotFoundException",
455
+ $fault: "client",
456
+ ...opts,
457
+ });
458
+ this.name = "SessionNotFoundException";
459
+ this.$fault = "client";
460
+ Object.setPrototypeOf(this, SessionNotFoundException.prototype);
461
+ this.Message = opts.Message;
462
+ this.Code = opts.Code;
463
+ this.Logref = opts.Logref;
464
+ }
465
+ }
466
+ exports.SessionNotFoundException = SessionNotFoundException;
444
467
  exports.LabelDetectionAggregateBy = {
445
468
  SEGMENTS: "SEGMENTS",
446
469
  TIMESTAMPS: "TIMESTAMPS",
@@ -530,3 +553,14 @@ exports.StreamProcessorParameterToDelete = {
530
553
  ConnectedHomeMinConfidence: "ConnectedHomeMinConfidence",
531
554
  RegionsOfInterest: "RegionsOfInterest",
532
555
  };
556
+ const AuditImageFilterSensitiveLog = (obj) => ({
557
+ ...obj,
558
+ ...(obj.Bytes && { Bytes: smithy_client_1.SENSITIVE_STRING }),
559
+ });
560
+ exports.AuditImageFilterSensitiveLog = AuditImageFilterSensitiveLog;
561
+ const GetFaceLivenessSessionResultsResponseFilterSensitiveLog = (obj) => ({
562
+ ...obj,
563
+ ...(obj.ReferenceImage && { ReferenceImage: (0, exports.AuditImageFilterSensitiveLog)(obj.ReferenceImage) }),
564
+ ...(obj.AuditImages && { AuditImages: obj.AuditImages.map((item) => (0, exports.AuditImageFilterSensitiveLog)(item)) }),
565
+ });
566
+ exports.GetFaceLivenessSessionResultsResponseFilterSensitiveLog = GetFaceLivenessSessionResultsResponseFilterSensitiveLog;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });