@aws-sdk/client-rekognition 3.1076.0 → 3.1078.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 (245) hide show
  1. package/dist-cjs/index.js +86 -755
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateFacesCommand.js +2 -14
  4. package/dist-es/commands/CompareFacesCommand.js +2 -14
  5. package/dist-es/commands/CopyProjectVersionCommand.js +2 -14
  6. package/dist-es/commands/CreateCollectionCommand.js +2 -14
  7. package/dist-es/commands/CreateDatasetCommand.js +2 -14
  8. package/dist-es/commands/CreateFaceLivenessSessionCommand.js +2 -14
  9. package/dist-es/commands/CreateProjectCommand.js +2 -14
  10. package/dist-es/commands/CreateProjectVersionCommand.js +2 -14
  11. package/dist-es/commands/CreateStreamProcessorCommand.js +2 -14
  12. package/dist-es/commands/CreateUserCommand.js +2 -14
  13. package/dist-es/commands/DeleteCollectionCommand.js +2 -14
  14. package/dist-es/commands/DeleteDatasetCommand.js +2 -14
  15. package/dist-es/commands/DeleteFacesCommand.js +2 -14
  16. package/dist-es/commands/DeleteProjectCommand.js +2 -14
  17. package/dist-es/commands/DeleteProjectPolicyCommand.js +2 -14
  18. package/dist-es/commands/DeleteProjectVersionCommand.js +2 -14
  19. package/dist-es/commands/DeleteStreamProcessorCommand.js +2 -14
  20. package/dist-es/commands/DeleteUserCommand.js +2 -14
  21. package/dist-es/commands/DescribeCollectionCommand.js +2 -14
  22. package/dist-es/commands/DescribeDatasetCommand.js +2 -14
  23. package/dist-es/commands/DescribeProjectVersionsCommand.js +2 -14
  24. package/dist-es/commands/DescribeProjectsCommand.js +2 -14
  25. package/dist-es/commands/DescribeStreamProcessorCommand.js +2 -14
  26. package/dist-es/commands/DetectCustomLabelsCommand.js +2 -14
  27. package/dist-es/commands/DetectFacesCommand.js +2 -14
  28. package/dist-es/commands/DetectLabelsCommand.js +2 -14
  29. package/dist-es/commands/DetectModerationLabelsCommand.js +2 -14
  30. package/dist-es/commands/DetectProtectiveEquipmentCommand.js +2 -14
  31. package/dist-es/commands/DetectTextCommand.js +2 -14
  32. package/dist-es/commands/DisassociateFacesCommand.js +2 -14
  33. package/dist-es/commands/DistributeDatasetEntriesCommand.js +2 -14
  34. package/dist-es/commands/GetCelebrityInfoCommand.js +2 -14
  35. package/dist-es/commands/GetCelebrityRecognitionCommand.js +2 -14
  36. package/dist-es/commands/GetContentModerationCommand.js +2 -14
  37. package/dist-es/commands/GetFaceDetectionCommand.js +2 -14
  38. package/dist-es/commands/GetFaceLivenessSessionResultsCommand.js +2 -14
  39. package/dist-es/commands/GetFaceSearchCommand.js +2 -14
  40. package/dist-es/commands/GetLabelDetectionCommand.js +2 -14
  41. package/dist-es/commands/GetMediaAnalysisJobCommand.js +2 -14
  42. package/dist-es/commands/GetPersonTrackingCommand.js +2 -14
  43. package/dist-es/commands/GetSegmentDetectionCommand.js +2 -14
  44. package/dist-es/commands/GetTextDetectionCommand.js +2 -14
  45. package/dist-es/commands/IndexFacesCommand.js +2 -14
  46. package/dist-es/commands/ListCollectionsCommand.js +2 -14
  47. package/dist-es/commands/ListDatasetEntriesCommand.js +2 -14
  48. package/dist-es/commands/ListDatasetLabelsCommand.js +2 -14
  49. package/dist-es/commands/ListFacesCommand.js +2 -14
  50. package/dist-es/commands/ListMediaAnalysisJobsCommand.js +2 -14
  51. package/dist-es/commands/ListProjectPoliciesCommand.js +2 -14
  52. package/dist-es/commands/ListStreamProcessorsCommand.js +2 -14
  53. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  54. package/dist-es/commands/ListUsersCommand.js +2 -14
  55. package/dist-es/commands/PutProjectPolicyCommand.js +2 -14
  56. package/dist-es/commands/RecognizeCelebritiesCommand.js +2 -14
  57. package/dist-es/commands/SearchFacesByImageCommand.js +2 -14
  58. package/dist-es/commands/SearchFacesCommand.js +2 -14
  59. package/dist-es/commands/SearchUsersByImageCommand.js +2 -14
  60. package/dist-es/commands/SearchUsersCommand.js +2 -14
  61. package/dist-es/commands/StartCelebrityRecognitionCommand.js +2 -14
  62. package/dist-es/commands/StartContentModerationCommand.js +2 -14
  63. package/dist-es/commands/StartFaceDetectionCommand.js +2 -14
  64. package/dist-es/commands/StartFaceSearchCommand.js +2 -14
  65. package/dist-es/commands/StartLabelDetectionCommand.js +2 -14
  66. package/dist-es/commands/StartMediaAnalysisJobCommand.js +2 -14
  67. package/dist-es/commands/StartPersonTrackingCommand.js +2 -14
  68. package/dist-es/commands/StartProjectVersionCommand.js +2 -14
  69. package/dist-es/commands/StartSegmentDetectionCommand.js +2 -14
  70. package/dist-es/commands/StartStreamProcessorCommand.js +2 -14
  71. package/dist-es/commands/StartTextDetectionCommand.js +2 -14
  72. package/dist-es/commands/StopProjectVersionCommand.js +2 -14
  73. package/dist-es/commands/StopStreamProcessorCommand.js +2 -14
  74. package/dist-es/commands/TagResourceCommand.js +2 -14
  75. package/dist-es/commands/UntagResourceCommand.js +2 -14
  76. package/dist-es/commands/UpdateDatasetEntriesCommand.js +2 -14
  77. package/dist-es/commands/UpdateStreamProcessorCommand.js +2 -14
  78. package/dist-es/index.js +1 -0
  79. package/dist-es/runtimeConfig.browser.js +0 -2
  80. package/dist-es/runtimeConfig.js +1 -2
  81. package/dist-es/runtimeConfig.native.js +0 -2
  82. package/dist-es/runtimeConfig.shared.js +2 -0
  83. package/dist-types/commandBuilder.d.ts +18 -0
  84. package/dist-types/commands/AssociateFacesCommand.d.ts +3 -8
  85. package/dist-types/commands/CompareFacesCommand.d.ts +3 -8
  86. package/dist-types/commands/CopyProjectVersionCommand.d.ts +3 -8
  87. package/dist-types/commands/CreateCollectionCommand.d.ts +3 -8
  88. package/dist-types/commands/CreateDatasetCommand.d.ts +3 -8
  89. package/dist-types/commands/CreateFaceLivenessSessionCommand.d.ts +3 -8
  90. package/dist-types/commands/CreateProjectCommand.d.ts +3 -8
  91. package/dist-types/commands/CreateProjectVersionCommand.d.ts +3 -8
  92. package/dist-types/commands/CreateStreamProcessorCommand.d.ts +3 -8
  93. package/dist-types/commands/CreateUserCommand.d.ts +3 -8
  94. package/dist-types/commands/DeleteCollectionCommand.d.ts +3 -8
  95. package/dist-types/commands/DeleteDatasetCommand.d.ts +3 -8
  96. package/dist-types/commands/DeleteFacesCommand.d.ts +3 -8
  97. package/dist-types/commands/DeleteProjectCommand.d.ts +3 -8
  98. package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +3 -8
  99. package/dist-types/commands/DeleteProjectVersionCommand.d.ts +3 -8
  100. package/dist-types/commands/DeleteStreamProcessorCommand.d.ts +3 -8
  101. package/dist-types/commands/DeleteUserCommand.d.ts +3 -8
  102. package/dist-types/commands/DescribeCollectionCommand.d.ts +3 -8
  103. package/dist-types/commands/DescribeDatasetCommand.d.ts +3 -8
  104. package/dist-types/commands/DescribeProjectVersionsCommand.d.ts +3 -8
  105. package/dist-types/commands/DescribeProjectsCommand.d.ts +3 -8
  106. package/dist-types/commands/DescribeStreamProcessorCommand.d.ts +3 -8
  107. package/dist-types/commands/DetectCustomLabelsCommand.d.ts +3 -8
  108. package/dist-types/commands/DetectFacesCommand.d.ts +3 -8
  109. package/dist-types/commands/DetectLabelsCommand.d.ts +3 -8
  110. package/dist-types/commands/DetectModerationLabelsCommand.d.ts +3 -8
  111. package/dist-types/commands/DetectProtectiveEquipmentCommand.d.ts +3 -8
  112. package/dist-types/commands/DetectTextCommand.d.ts +3 -8
  113. package/dist-types/commands/DisassociateFacesCommand.d.ts +3 -8
  114. package/dist-types/commands/DistributeDatasetEntriesCommand.d.ts +3 -8
  115. package/dist-types/commands/GetCelebrityInfoCommand.d.ts +3 -8
  116. package/dist-types/commands/GetCelebrityRecognitionCommand.d.ts +3 -8
  117. package/dist-types/commands/GetContentModerationCommand.d.ts +3 -8
  118. package/dist-types/commands/GetFaceDetectionCommand.d.ts +3 -8
  119. package/dist-types/commands/GetFaceLivenessSessionResultsCommand.d.ts +3 -8
  120. package/dist-types/commands/GetFaceSearchCommand.d.ts +3 -8
  121. package/dist-types/commands/GetLabelDetectionCommand.d.ts +3 -8
  122. package/dist-types/commands/GetMediaAnalysisJobCommand.d.ts +3 -8
  123. package/dist-types/commands/GetPersonTrackingCommand.d.ts +3 -8
  124. package/dist-types/commands/GetSegmentDetectionCommand.d.ts +3 -8
  125. package/dist-types/commands/GetTextDetectionCommand.d.ts +3 -8
  126. package/dist-types/commands/IndexFacesCommand.d.ts +3 -8
  127. package/dist-types/commands/ListCollectionsCommand.d.ts +3 -8
  128. package/dist-types/commands/ListDatasetEntriesCommand.d.ts +3 -8
  129. package/dist-types/commands/ListDatasetLabelsCommand.d.ts +3 -8
  130. package/dist-types/commands/ListFacesCommand.d.ts +3 -8
  131. package/dist-types/commands/ListMediaAnalysisJobsCommand.d.ts +3 -8
  132. package/dist-types/commands/ListProjectPoliciesCommand.d.ts +3 -8
  133. package/dist-types/commands/ListStreamProcessorsCommand.d.ts +3 -8
  134. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  135. package/dist-types/commands/ListUsersCommand.d.ts +3 -8
  136. package/dist-types/commands/PutProjectPolicyCommand.d.ts +3 -8
  137. package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +3 -8
  138. package/dist-types/commands/SearchFacesByImageCommand.d.ts +3 -8
  139. package/dist-types/commands/SearchFacesCommand.d.ts +3 -8
  140. package/dist-types/commands/SearchUsersByImageCommand.d.ts +3 -8
  141. package/dist-types/commands/SearchUsersCommand.d.ts +3 -8
  142. package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +3 -8
  143. package/dist-types/commands/StartContentModerationCommand.d.ts +3 -8
  144. package/dist-types/commands/StartFaceDetectionCommand.d.ts +3 -8
  145. package/dist-types/commands/StartFaceSearchCommand.d.ts +3 -8
  146. package/dist-types/commands/StartLabelDetectionCommand.d.ts +3 -8
  147. package/dist-types/commands/StartMediaAnalysisJobCommand.d.ts +3 -8
  148. package/dist-types/commands/StartPersonTrackingCommand.d.ts +3 -8
  149. package/dist-types/commands/StartProjectVersionCommand.d.ts +3 -8
  150. package/dist-types/commands/StartSegmentDetectionCommand.d.ts +3 -8
  151. package/dist-types/commands/StartStreamProcessorCommand.d.ts +3 -8
  152. package/dist-types/commands/StartTextDetectionCommand.d.ts +3 -8
  153. package/dist-types/commands/StopProjectVersionCommand.d.ts +3 -8
  154. package/dist-types/commands/StopStreamProcessorCommand.d.ts +3 -8
  155. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  156. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  157. package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +3 -8
  158. package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +3 -8
  159. package/dist-types/index.d.ts +1 -0
  160. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  161. package/dist-types/runtimeConfig.d.ts +1 -1
  162. package/dist-types/runtimeConfig.native.d.ts +1 -1
  163. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  164. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  165. package/dist-types/ts3.4/commands/AssociateFacesCommand.d.ts +7 -16
  166. package/dist-types/ts3.4/commands/CompareFacesCommand.d.ts +7 -16
  167. package/dist-types/ts3.4/commands/CopyProjectVersionCommand.d.ts +7 -16
  168. package/dist-types/ts3.4/commands/CreateCollectionCommand.d.ts +7 -16
  169. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +7 -16
  170. package/dist-types/ts3.4/commands/CreateFaceLivenessSessionCommand.d.ts +7 -16
  171. package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +7 -16
  172. package/dist-types/ts3.4/commands/CreateProjectVersionCommand.d.ts +7 -16
  173. package/dist-types/ts3.4/commands/CreateStreamProcessorCommand.d.ts +7 -16
  174. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +7 -16
  175. package/dist-types/ts3.4/commands/DeleteCollectionCommand.d.ts +7 -16
  176. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +7 -16
  177. package/dist-types/ts3.4/commands/DeleteFacesCommand.d.ts +7 -16
  178. package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +7 -16
  179. package/dist-types/ts3.4/commands/DeleteProjectPolicyCommand.d.ts +7 -16
  180. package/dist-types/ts3.4/commands/DeleteProjectVersionCommand.d.ts +7 -16
  181. package/dist-types/ts3.4/commands/DeleteStreamProcessorCommand.d.ts +7 -16
  182. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +7 -16
  183. package/dist-types/ts3.4/commands/DescribeCollectionCommand.d.ts +7 -16
  184. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +7 -16
  185. package/dist-types/ts3.4/commands/DescribeProjectVersionsCommand.d.ts +7 -16
  186. package/dist-types/ts3.4/commands/DescribeProjectsCommand.d.ts +7 -16
  187. package/dist-types/ts3.4/commands/DescribeStreamProcessorCommand.d.ts +7 -16
  188. package/dist-types/ts3.4/commands/DetectCustomLabelsCommand.d.ts +7 -16
  189. package/dist-types/ts3.4/commands/DetectFacesCommand.d.ts +7 -16
  190. package/dist-types/ts3.4/commands/DetectLabelsCommand.d.ts +7 -16
  191. package/dist-types/ts3.4/commands/DetectModerationLabelsCommand.d.ts +7 -16
  192. package/dist-types/ts3.4/commands/DetectProtectiveEquipmentCommand.d.ts +7 -16
  193. package/dist-types/ts3.4/commands/DetectTextCommand.d.ts +7 -16
  194. package/dist-types/ts3.4/commands/DisassociateFacesCommand.d.ts +7 -16
  195. package/dist-types/ts3.4/commands/DistributeDatasetEntriesCommand.d.ts +7 -16
  196. package/dist-types/ts3.4/commands/GetCelebrityInfoCommand.d.ts +7 -16
  197. package/dist-types/ts3.4/commands/GetCelebrityRecognitionCommand.d.ts +7 -16
  198. package/dist-types/ts3.4/commands/GetContentModerationCommand.d.ts +7 -16
  199. package/dist-types/ts3.4/commands/GetFaceDetectionCommand.d.ts +7 -16
  200. package/dist-types/ts3.4/commands/GetFaceLivenessSessionResultsCommand.d.ts +7 -16
  201. package/dist-types/ts3.4/commands/GetFaceSearchCommand.d.ts +7 -16
  202. package/dist-types/ts3.4/commands/GetLabelDetectionCommand.d.ts +7 -16
  203. package/dist-types/ts3.4/commands/GetMediaAnalysisJobCommand.d.ts +7 -16
  204. package/dist-types/ts3.4/commands/GetPersonTrackingCommand.d.ts +7 -16
  205. package/dist-types/ts3.4/commands/GetSegmentDetectionCommand.d.ts +7 -16
  206. package/dist-types/ts3.4/commands/GetTextDetectionCommand.d.ts +7 -16
  207. package/dist-types/ts3.4/commands/IndexFacesCommand.d.ts +7 -16
  208. package/dist-types/ts3.4/commands/ListCollectionsCommand.d.ts +7 -16
  209. package/dist-types/ts3.4/commands/ListDatasetEntriesCommand.d.ts +7 -16
  210. package/dist-types/ts3.4/commands/ListDatasetLabelsCommand.d.ts +7 -16
  211. package/dist-types/ts3.4/commands/ListFacesCommand.d.ts +7 -16
  212. package/dist-types/ts3.4/commands/ListMediaAnalysisJobsCommand.d.ts +7 -16
  213. package/dist-types/ts3.4/commands/ListProjectPoliciesCommand.d.ts +7 -16
  214. package/dist-types/ts3.4/commands/ListStreamProcessorsCommand.d.ts +7 -16
  215. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  216. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +7 -16
  217. package/dist-types/ts3.4/commands/PutProjectPolicyCommand.d.ts +7 -16
  218. package/dist-types/ts3.4/commands/RecognizeCelebritiesCommand.d.ts +7 -16
  219. package/dist-types/ts3.4/commands/SearchFacesByImageCommand.d.ts +7 -16
  220. package/dist-types/ts3.4/commands/SearchFacesCommand.d.ts +7 -16
  221. package/dist-types/ts3.4/commands/SearchUsersByImageCommand.d.ts +7 -16
  222. package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +7 -16
  223. package/dist-types/ts3.4/commands/StartCelebrityRecognitionCommand.d.ts +7 -16
  224. package/dist-types/ts3.4/commands/StartContentModerationCommand.d.ts +7 -16
  225. package/dist-types/ts3.4/commands/StartFaceDetectionCommand.d.ts +7 -16
  226. package/dist-types/ts3.4/commands/StartFaceSearchCommand.d.ts +7 -16
  227. package/dist-types/ts3.4/commands/StartLabelDetectionCommand.d.ts +7 -16
  228. package/dist-types/ts3.4/commands/StartMediaAnalysisJobCommand.d.ts +7 -16
  229. package/dist-types/ts3.4/commands/StartPersonTrackingCommand.d.ts +7 -16
  230. package/dist-types/ts3.4/commands/StartProjectVersionCommand.d.ts +7 -16
  231. package/dist-types/ts3.4/commands/StartSegmentDetectionCommand.d.ts +7 -16
  232. package/dist-types/ts3.4/commands/StartStreamProcessorCommand.d.ts +7 -16
  233. package/dist-types/ts3.4/commands/StartTextDetectionCommand.d.ts +7 -16
  234. package/dist-types/ts3.4/commands/StopProjectVersionCommand.d.ts +7 -16
  235. package/dist-types/ts3.4/commands/StopStreamProcessorCommand.d.ts +7 -16
  236. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  237. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  238. package/dist-types/ts3.4/commands/UpdateDatasetEntriesCommand.d.ts +7 -16
  239. package/dist-types/ts3.4/commands/UpdateStreamProcessorCommand.d.ts +7 -16
  240. package/dist-types/ts3.4/index.d.ts +1 -0
  241. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  242. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  243. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  244. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  245. package/package.json +8 -10
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartLabelDetection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartLabelDetectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RekognitionService", "StartLabelDetection", {})
13
- .n("RekognitionClient", "StartLabelDetectionCommand")
14
- .sc(StartLabelDetection$)
15
- .build() {
3
+ export class StartLabelDetectionCommand extends command(_ep0, _mw0, "StartLabelDetection", StartLabelDetection$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartMediaAnalysisJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartMediaAnalysisJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RekognitionService", "StartMediaAnalysisJob", {})
13
- .n("RekognitionClient", "StartMediaAnalysisJobCommand")
14
- .sc(StartMediaAnalysisJob$)
15
- .build() {
3
+ export class StartMediaAnalysisJobCommand extends command(_ep0, _mw0, "StartMediaAnalysisJob", StartMediaAnalysisJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartPersonTracking$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartPersonTrackingCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RekognitionService", "StartPersonTracking", {})
13
- .n("RekognitionClient", "StartPersonTrackingCommand")
14
- .sc(StartPersonTracking$)
15
- .build() {
3
+ export class StartPersonTrackingCommand extends command(_ep0, _mw0, "StartPersonTracking", StartPersonTracking$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartProjectVersion$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartProjectVersionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RekognitionService", "StartProjectVersion", {})
13
- .n("RekognitionClient", "StartProjectVersionCommand")
14
- .sc(StartProjectVersion$)
15
- .build() {
3
+ export class StartProjectVersionCommand extends command(_ep0, _mw0, "StartProjectVersion", StartProjectVersion$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartSegmentDetection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartSegmentDetectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RekognitionService", "StartSegmentDetection", {})
13
- .n("RekognitionClient", "StartSegmentDetectionCommand")
14
- .sc(StartSegmentDetection$)
15
- .build() {
3
+ export class StartSegmentDetectionCommand extends command(_ep0, _mw0, "StartSegmentDetection", StartSegmentDetection$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartStreamProcessor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartStreamProcessorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RekognitionService", "StartStreamProcessor", {})
13
- .n("RekognitionClient", "StartStreamProcessorCommand")
14
- .sc(StartStreamProcessor$)
15
- .build() {
3
+ export class StartStreamProcessorCommand extends command(_ep0, _mw0, "StartStreamProcessor", StartStreamProcessor$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartTextDetection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartTextDetectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RekognitionService", "StartTextDetection", {})
13
- .n("RekognitionClient", "StartTextDetectionCommand")
14
- .sc(StartTextDetection$)
15
- .build() {
3
+ export class StartTextDetectionCommand extends command(_ep0, _mw0, "StartTextDetection", StartTextDetection$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StopProjectVersion$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StopProjectVersionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RekognitionService", "StopProjectVersion", {})
13
- .n("RekognitionClient", "StopProjectVersionCommand")
14
- .sc(StopProjectVersion$)
15
- .build() {
3
+ export class StopProjectVersionCommand extends command(_ep0, _mw0, "StopProjectVersion", StopProjectVersion$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StopStreamProcessor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StopStreamProcessorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RekognitionService", "StopStreamProcessor", {})
13
- .n("RekognitionClient", "StopStreamProcessorCommand")
14
- .sc(StopStreamProcessor$)
15
- .build() {
3
+ export class StopStreamProcessorCommand extends command(_ep0, _mw0, "StopStreamProcessor", StopStreamProcessor$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RekognitionService", "TagResource", {})
13
- .n("RekognitionClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RekognitionService", "UntagResource", {})
13
- .n("RekognitionClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateDatasetEntries$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateDatasetEntriesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RekognitionService", "UpdateDatasetEntries", {})
13
- .n("RekognitionClient", "UpdateDatasetEntriesCommand")
14
- .sc(UpdateDatasetEntries$)
15
- .build() {
3
+ export class UpdateDatasetEntriesCommand extends command(_ep0, _mw0, "UpdateDatasetEntries", UpdateDatasetEntries$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateStreamProcessor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateStreamProcessorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RekognitionService", "UpdateStreamProcessor", {})
13
- .n("RekognitionClient", "UpdateStreamProcessorCommand")
14
- .sc(UpdateStreamProcessor$)
15
- .build() {
3
+ export class UpdateStreamProcessorCommand extends command(_ep0, _mw0, "UpdateStreamProcessor", UpdateStreamProcessor$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./RekognitionClient";
2
2
  export * from "./Rekognition";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./waiters";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "RekognitionService",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "Rekognition",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./RekognitionClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { AssociateFacesRequest, AssociateFacesResponse } from "../models/models_0";
4
- import type { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AssociateFacesCommandInput extends AssociateFacesRequest {
22
19
  export interface AssociateFacesCommandOutput extends AssociateFacesResponse, __MetadataBearer {
23
20
  }
24
21
  declare const AssociateFacesCommand_base: {
25
- new (input: AssociateFacesCommandInput): import("@smithy/core/client").CommandImpl<AssociateFacesCommandInput, AssociateFacesCommandOutput, RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AssociateFacesCommandInput): import("@smithy/core/client").CommandImpl<AssociateFacesCommandInput, AssociateFacesCommandOutput, RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AssociateFacesCommandInput): import("@smithy/core/client").CommandImpl<AssociateFacesCommandInput, AssociateFacesCommandOutput, import("..").RekognitionClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AssociateFacesCommandInput): import("@smithy/core/client").CommandImpl<AssociateFacesCommandInput, AssociateFacesCommandOutput, import("..").RekognitionClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Associates one or more faces with an existing UserID. Takes an array of
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CompareFacesRequest, CompareFacesResponse } from "../models/models_0";
4
- import type { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CompareFacesCommandInput extends CompareFacesRequest {
22
19
  export interface CompareFacesCommandOutput extends CompareFacesResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CompareFacesCommand_base: {
25
- new (input: CompareFacesCommandInput): import("@smithy/core/client").CommandImpl<CompareFacesCommandInput, CompareFacesCommandOutput, RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CompareFacesCommandInput): import("@smithy/core/client").CommandImpl<CompareFacesCommandInput, CompareFacesCommandOutput, RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CompareFacesCommandInput): import("@smithy/core/client").CommandImpl<CompareFacesCommandInput, CompareFacesCommandOutput, import("..").RekognitionClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CompareFacesCommandInput): import("@smithy/core/client").CommandImpl<CompareFacesCommandInput, CompareFacesCommandOutput, import("..").RekognitionClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Compares a face in the <i>source</i> input image with each of the 100
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CopyProjectVersionRequest, CopyProjectVersionResponse } from "../models/models_0";
4
- import type { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CopyProjectVersionCommandInput extends CopyProjectVersionReques
22
19
  export interface CopyProjectVersionCommandOutput extends CopyProjectVersionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CopyProjectVersionCommand_base: {
25
- new (input: CopyProjectVersionCommandInput): import("@smithy/core/client").CommandImpl<CopyProjectVersionCommandInput, CopyProjectVersionCommandOutput, RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CopyProjectVersionCommandInput): import("@smithy/core/client").CommandImpl<CopyProjectVersionCommandInput, CopyProjectVersionCommandOutput, RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CopyProjectVersionCommandInput): import("@smithy/core/client").CommandImpl<CopyProjectVersionCommandInput, CopyProjectVersionCommandOutput, import("..").RekognitionClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CopyProjectVersionCommandInput): import("@smithy/core/client").CommandImpl<CopyProjectVersionCommandInput, CopyProjectVersionCommandOutput, import("..").RekognitionClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <note>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateCollectionRequest, CreateCollectionResponse } from "../models/models_0";
4
- import type { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateCollectionCommandInput extends CreateCollectionRequest {
22
19
  export interface CreateCollectionCommandOutput extends CreateCollectionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateCollectionCommand_base: {
25
- new (input: CreateCollectionCommandInput): import("@smithy/core/client").CommandImpl<CreateCollectionCommandInput, CreateCollectionCommandOutput, RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateCollectionCommandInput): import("@smithy/core/client").CommandImpl<CreateCollectionCommandInput, CreateCollectionCommandOutput, RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateCollectionCommandInput): import("@smithy/core/client").CommandImpl<CreateCollectionCommandInput, CreateCollectionCommandOutput, import("..").RekognitionClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateCollectionCommandInput): import("@smithy/core/client").CommandImpl<CreateCollectionCommandInput, CreateCollectionCommandOutput, import("..").RekognitionClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a collection in an AWS Region. You can add faces to the collection using the
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateDatasetRequest, CreateDatasetResponse } from "../models/models_0";
4
- import type { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateDatasetCommandInput extends CreateDatasetRequest {
22
19
  export interface CreateDatasetCommandOutput extends CreateDatasetResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateDatasetCommand_base: {
25
- new (input: CreateDatasetCommandInput): import("@smithy/core/client").CommandImpl<CreateDatasetCommandInput, CreateDatasetCommandOutput, RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateDatasetCommandInput): import("@smithy/core/client").CommandImpl<CreateDatasetCommandInput, CreateDatasetCommandOutput, RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateDatasetCommandInput): import("@smithy/core/client").CommandImpl<CreateDatasetCommandInput, CreateDatasetCommandOutput, import("..").RekognitionClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateDatasetCommandInput): import("@smithy/core/client").CommandImpl<CreateDatasetCommandInput, CreateDatasetCommandOutput, import("..").RekognitionClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <note>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateFaceLivenessSessionRequest, CreateFaceLivenessSessionResponse } from "../models/models_0";
4
- import type { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateFaceLivenessSessionCommandInput extends CreateFaceLivenes
22
19
  export interface CreateFaceLivenessSessionCommandOutput extends CreateFaceLivenessSessionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateFaceLivenessSessionCommand_base: {
25
- new (input: CreateFaceLivenessSessionCommandInput): import("@smithy/core/client").CommandImpl<CreateFaceLivenessSessionCommandInput, CreateFaceLivenessSessionCommandOutput, RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [CreateFaceLivenessSessionCommandInput]): import("@smithy/core/client").CommandImpl<CreateFaceLivenessSessionCommandInput, CreateFaceLivenessSessionCommandOutput, RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateFaceLivenessSessionCommandInput): import("@smithy/core/client").CommandImpl<CreateFaceLivenessSessionCommandInput, CreateFaceLivenessSessionCommandOutput, import("..").RekognitionClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [CreateFaceLivenessSessionCommandInput]): import("@smithy/core/client").CommandImpl<CreateFaceLivenessSessionCommandInput, CreateFaceLivenessSessionCommandOutput, import("..").RekognitionClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>This API operation initiates a Face Liveness session. It returns a <code>SessionId</code>,
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateProjectRequest, CreateProjectResponse } from "../models/models_0";
4
- import type { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateProjectCommandInput extends CreateProjectRequest {
22
19
  export interface CreateProjectCommandOutput extends CreateProjectResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateProjectCommand_base: {
25
- new (input: CreateProjectCommandInput): import("@smithy/core/client").CommandImpl<CreateProjectCommandInput, CreateProjectCommandOutput, RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateProjectCommandInput): import("@smithy/core/client").CommandImpl<CreateProjectCommandInput, CreateProjectCommandOutput, RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateProjectCommandInput): import("@smithy/core/client").CommandImpl<CreateProjectCommandInput, CreateProjectCommandOutput, import("..").RekognitionClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateProjectCommandInput): import("@smithy/core/client").CommandImpl<CreateProjectCommandInput, CreateProjectCommandOutput, import("..").RekognitionClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a new Amazon Rekognition project. A project is a group of resources (datasets, model
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateProjectVersionRequest, CreateProjectVersionResponse } from "../models/models_0";
4
- import type { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateProjectVersionCommandInput extends CreateProjectVersionRe
22
19
  export interface CreateProjectVersionCommandOutput extends CreateProjectVersionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateProjectVersionCommand_base: {
25
- new (input: CreateProjectVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateProjectVersionCommandInput, CreateProjectVersionCommandOutput, RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateProjectVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateProjectVersionCommandInput, CreateProjectVersionCommandOutput, RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateProjectVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateProjectVersionCommandInput, CreateProjectVersionCommandOutput, import("..").RekognitionClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateProjectVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateProjectVersionCommandInput, CreateProjectVersionCommandOutput, import("..").RekognitionClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a new version of Amazon Rekognition project (like a Custom Labels model or a custom adapter)
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateStreamProcessorRequest, CreateStreamProcessorResponse } from "../models/models_0";
4
- import type { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateStreamProcessorCommandInput extends CreateStreamProcessor
22
19
  export interface CreateStreamProcessorCommandOutput extends CreateStreamProcessorResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateStreamProcessorCommand_base: {
25
- new (input: CreateStreamProcessorCommandInput): import("@smithy/core/client").CommandImpl<CreateStreamProcessorCommandInput, CreateStreamProcessorCommandOutput, RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateStreamProcessorCommandInput): import("@smithy/core/client").CommandImpl<CreateStreamProcessorCommandInput, CreateStreamProcessorCommandOutput, RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateStreamProcessorCommandInput): import("@smithy/core/client").CommandImpl<CreateStreamProcessorCommandInput, CreateStreamProcessorCommandOutput, import("..").RekognitionClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateStreamProcessorCommandInput): import("@smithy/core/client").CommandImpl<CreateStreamProcessorCommandInput, CreateStreamProcessorCommandOutput, import("..").RekognitionClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates an Amazon Rekognition stream processor that you can use to detect and recognize faces or to detect labels in a streaming video.</p>