@aws-sdk/client-rekognition 3.30.0 → 3.34.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 (286) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/cjs/RekognitionClient.js +13 -13
  3. package/dist/cjs/RekognitionClient.js.map +1 -1
  4. package/dist/cjs/commands/CompareFacesCommand.js +3 -3
  5. package/dist/cjs/commands/CompareFacesCommand.js.map +1 -1
  6. package/dist/cjs/commands/CreateCollectionCommand.js +3 -3
  7. package/dist/cjs/commands/CreateCollectionCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreateProjectCommand.js +3 -3
  9. package/dist/cjs/commands/CreateProjectCommand.js.map +1 -1
  10. package/dist/cjs/commands/CreateProjectVersionCommand.js +3 -3
  11. package/dist/cjs/commands/CreateProjectVersionCommand.js.map +1 -1
  12. package/dist/cjs/commands/CreateStreamProcessorCommand.js +3 -3
  13. package/dist/cjs/commands/CreateStreamProcessorCommand.js.map +1 -1
  14. package/dist/cjs/commands/DeleteCollectionCommand.js +3 -3
  15. package/dist/cjs/commands/DeleteCollectionCommand.js.map +1 -1
  16. package/dist/cjs/commands/DeleteFacesCommand.js +3 -3
  17. package/dist/cjs/commands/DeleteFacesCommand.js.map +1 -1
  18. package/dist/cjs/commands/DeleteProjectCommand.js +3 -3
  19. package/dist/cjs/commands/DeleteProjectCommand.js.map +1 -1
  20. package/dist/cjs/commands/DeleteProjectVersionCommand.js +3 -3
  21. package/dist/cjs/commands/DeleteProjectVersionCommand.js.map +1 -1
  22. package/dist/cjs/commands/DeleteStreamProcessorCommand.js +3 -3
  23. package/dist/cjs/commands/DeleteStreamProcessorCommand.js.map +1 -1
  24. package/dist/cjs/commands/DescribeCollectionCommand.js +3 -3
  25. package/dist/cjs/commands/DescribeCollectionCommand.js.map +1 -1
  26. package/dist/cjs/commands/DescribeProjectVersionsCommand.js +3 -3
  27. package/dist/cjs/commands/DescribeProjectVersionsCommand.js.map +1 -1
  28. package/dist/cjs/commands/DescribeProjectsCommand.js +3 -3
  29. package/dist/cjs/commands/DescribeProjectsCommand.js.map +1 -1
  30. package/dist/cjs/commands/DescribeStreamProcessorCommand.js +3 -3
  31. package/dist/cjs/commands/DescribeStreamProcessorCommand.js.map +1 -1
  32. package/dist/cjs/commands/DetectCustomLabelsCommand.js +3 -3
  33. package/dist/cjs/commands/DetectCustomLabelsCommand.js.map +1 -1
  34. package/dist/cjs/commands/DetectFacesCommand.js +3 -3
  35. package/dist/cjs/commands/DetectFacesCommand.js.map +1 -1
  36. package/dist/cjs/commands/DetectLabelsCommand.js +3 -3
  37. package/dist/cjs/commands/DetectLabelsCommand.js.map +1 -1
  38. package/dist/cjs/commands/DetectModerationLabelsCommand.js +3 -3
  39. package/dist/cjs/commands/DetectModerationLabelsCommand.js.map +1 -1
  40. package/dist/cjs/commands/DetectProtectiveEquipmentCommand.js +3 -3
  41. package/dist/cjs/commands/DetectProtectiveEquipmentCommand.js.map +1 -1
  42. package/dist/cjs/commands/DetectTextCommand.js +3 -3
  43. package/dist/cjs/commands/DetectTextCommand.js.map +1 -1
  44. package/dist/cjs/commands/GetCelebrityInfoCommand.js +3 -3
  45. package/dist/cjs/commands/GetCelebrityInfoCommand.js.map +1 -1
  46. package/dist/cjs/commands/GetCelebrityRecognitionCommand.js +3 -3
  47. package/dist/cjs/commands/GetCelebrityRecognitionCommand.js.map +1 -1
  48. package/dist/cjs/commands/GetContentModerationCommand.js +3 -3
  49. package/dist/cjs/commands/GetContentModerationCommand.js.map +1 -1
  50. package/dist/cjs/commands/GetFaceDetectionCommand.js +3 -3
  51. package/dist/cjs/commands/GetFaceDetectionCommand.js.map +1 -1
  52. package/dist/cjs/commands/GetFaceSearchCommand.js +3 -3
  53. package/dist/cjs/commands/GetFaceSearchCommand.js.map +1 -1
  54. package/dist/cjs/commands/GetLabelDetectionCommand.js +3 -3
  55. package/dist/cjs/commands/GetLabelDetectionCommand.js.map +1 -1
  56. package/dist/cjs/commands/GetPersonTrackingCommand.js +3 -3
  57. package/dist/cjs/commands/GetPersonTrackingCommand.js.map +1 -1
  58. package/dist/cjs/commands/GetSegmentDetectionCommand.js +3 -3
  59. package/dist/cjs/commands/GetSegmentDetectionCommand.js.map +1 -1
  60. package/dist/cjs/commands/GetTextDetectionCommand.js +3 -3
  61. package/dist/cjs/commands/GetTextDetectionCommand.js.map +1 -1
  62. package/dist/cjs/commands/IndexFacesCommand.js +3 -3
  63. package/dist/cjs/commands/IndexFacesCommand.js.map +1 -1
  64. package/dist/cjs/commands/ListCollectionsCommand.js +3 -3
  65. package/dist/cjs/commands/ListCollectionsCommand.js.map +1 -1
  66. package/dist/cjs/commands/ListFacesCommand.js +3 -3
  67. package/dist/cjs/commands/ListFacesCommand.js.map +1 -1
  68. package/dist/cjs/commands/ListStreamProcessorsCommand.js +3 -3
  69. package/dist/cjs/commands/ListStreamProcessorsCommand.js.map +1 -1
  70. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  71. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  72. package/dist/cjs/commands/RecognizeCelebritiesCommand.js +3 -3
  73. package/dist/cjs/commands/RecognizeCelebritiesCommand.js.map +1 -1
  74. package/dist/cjs/commands/SearchFacesByImageCommand.js +3 -3
  75. package/dist/cjs/commands/SearchFacesByImageCommand.js.map +1 -1
  76. package/dist/cjs/commands/SearchFacesCommand.js +3 -3
  77. package/dist/cjs/commands/SearchFacesCommand.js.map +1 -1
  78. package/dist/cjs/commands/StartCelebrityRecognitionCommand.js +3 -3
  79. package/dist/cjs/commands/StartCelebrityRecognitionCommand.js.map +1 -1
  80. package/dist/cjs/commands/StartContentModerationCommand.js +3 -3
  81. package/dist/cjs/commands/StartContentModerationCommand.js.map +1 -1
  82. package/dist/cjs/commands/StartFaceDetectionCommand.js +3 -3
  83. package/dist/cjs/commands/StartFaceDetectionCommand.js.map +1 -1
  84. package/dist/cjs/commands/StartFaceSearchCommand.js +3 -3
  85. package/dist/cjs/commands/StartFaceSearchCommand.js.map +1 -1
  86. package/dist/cjs/commands/StartLabelDetectionCommand.js +3 -3
  87. package/dist/cjs/commands/StartLabelDetectionCommand.js.map +1 -1
  88. package/dist/cjs/commands/StartPersonTrackingCommand.js +3 -3
  89. package/dist/cjs/commands/StartPersonTrackingCommand.js.map +1 -1
  90. package/dist/cjs/commands/StartProjectVersionCommand.js +3 -3
  91. package/dist/cjs/commands/StartProjectVersionCommand.js.map +1 -1
  92. package/dist/cjs/commands/StartSegmentDetectionCommand.js +3 -3
  93. package/dist/cjs/commands/StartSegmentDetectionCommand.js.map +1 -1
  94. package/dist/cjs/commands/StartStreamProcessorCommand.js +3 -3
  95. package/dist/cjs/commands/StartStreamProcessorCommand.js.map +1 -1
  96. package/dist/cjs/commands/StartTextDetectionCommand.js +3 -3
  97. package/dist/cjs/commands/StartTextDetectionCommand.js.map +1 -1
  98. package/dist/cjs/commands/StopProjectVersionCommand.js +3 -3
  99. package/dist/cjs/commands/StopProjectVersionCommand.js.map +1 -1
  100. package/dist/cjs/commands/StopStreamProcessorCommand.js +3 -3
  101. package/dist/cjs/commands/StopStreamProcessorCommand.js.map +1 -1
  102. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  103. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  104. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  105. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  106. package/dist/cjs/endpoints.js +1 -1
  107. package/dist/cjs/endpoints.js.map +1 -1
  108. package/dist/cjs/index.js +70 -70
  109. package/dist/cjs/index.js.map +1 -1
  110. package/dist/cjs/models/index.js +1 -1
  111. package/dist/cjs/models/index.js.map +1 -1
  112. package/dist/cjs/package.json +40 -40
  113. package/dist/cjs/protocols/Aws_json1_1.js +298 -298
  114. package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
  115. package/dist/cjs/runtimeConfig.browser.js +4 -4
  116. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  117. package/dist/cjs/runtimeConfig.js +8 -8
  118. package/dist/cjs/runtimeConfig.js.map +1 -1
  119. package/dist/cjs/runtimeConfig.native.js +1 -1
  120. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  121. package/dist/cjs/waiters/waitForProjectVersionRunning.js +3 -3
  122. package/dist/cjs/waiters/waitForProjectVersionRunning.js.map +1 -1
  123. package/dist/cjs/waiters/waitForProjectVersionTrainingCompleted.js +3 -3
  124. package/dist/cjs/waiters/waitForProjectVersionTrainingCompleted.js.map +1 -1
  125. package/dist/es/Rekognition.js +1 -4
  126. package/dist/es/Rekognition.js.map +1 -1
  127. package/dist/es/RekognitionClient.js +1 -9
  128. package/dist/es/RekognitionClient.js.map +1 -1
  129. package/dist/es/commands/CompareFacesCommand.js +2 -89
  130. package/dist/es/commands/CompareFacesCommand.js.map +1 -1
  131. package/dist/es/commands/CreateCollectionCommand.js +2 -39
  132. package/dist/es/commands/CreateCollectionCommand.js.map +1 -1
  133. package/dist/es/commands/CreateProjectCommand.js +2 -29
  134. package/dist/es/commands/CreateProjectCommand.js.map +1 -1
  135. package/dist/es/commands/CreateProjectVersionCommand.js +2 -38
  136. package/dist/es/commands/CreateProjectVersionCommand.js.map +1 -1
  137. package/dist/es/commands/CreateStreamProcessorCommand.js +2 -37
  138. package/dist/es/commands/CreateStreamProcessorCommand.js.map +1 -1
  139. package/dist/es/commands/DeleteCollectionCommand.js +2 -31
  140. package/dist/es/commands/DeleteCollectionCommand.js.map +1 -1
  141. package/dist/es/commands/DeleteFacesCommand.js +2 -30
  142. package/dist/es/commands/DeleteFacesCommand.js.map +1 -1
  143. package/dist/es/commands/DeleteProjectCommand.js +2 -30
  144. package/dist/es/commands/DeleteProjectCommand.js.map +1 -1
  145. package/dist/es/commands/DeleteProjectVersionCommand.js +2 -34
  146. package/dist/es/commands/DeleteProjectVersionCommand.js.map +1 -1
  147. package/dist/es/commands/DeleteStreamProcessorCommand.js +2 -28
  148. package/dist/es/commands/DeleteStreamProcessorCommand.js.map +1 -1
  149. package/dist/es/commands/DescribeCollectionCommand.js +2 -32
  150. package/dist/es/commands/DescribeCollectionCommand.js.map +1 -1
  151. package/dist/es/commands/DescribeProjectVersionsCommand.js +2 -31
  152. package/dist/es/commands/DescribeProjectVersionsCommand.js.map +1 -1
  153. package/dist/es/commands/DescribeProjectsCommand.js +2 -28
  154. package/dist/es/commands/DescribeProjectsCommand.js.map +1 -1
  155. package/dist/es/commands/DescribeStreamProcessorCommand.js +2 -28
  156. package/dist/es/commands/DescribeStreamProcessorCommand.js.map +1 -1
  157. package/dist/es/commands/DetectCustomLabelsCommand.js +2 -77
  158. package/dist/es/commands/DetectCustomLabelsCommand.js.map +1 -1
  159. package/dist/es/commands/DetectFacesCommand.js +2 -49
  160. package/dist/es/commands/DetectFacesCommand.js.map +1 -1
  161. package/dist/es/commands/DetectLabelsCommand.js +2 -99
  162. package/dist/es/commands/DetectLabelsCommand.js.map +1 -1
  163. package/dist/es/commands/DetectModerationLabelsCommand.js +2 -40
  164. package/dist/es/commands/DetectModerationLabelsCommand.js.map +1 -1
  165. package/dist/es/commands/DetectProtectiveEquipmentCommand.js +2 -66
  166. package/dist/es/commands/DetectProtectiveEquipmentCommand.js.map +1 -1
  167. package/dist/es/commands/DetectTextCommand.js +2 -48
  168. package/dist/es/commands/DetectTextCommand.js.map +1 -1
  169. package/dist/es/commands/GetCelebrityInfoCommand.js +2 -34
  170. package/dist/es/commands/GetCelebrityInfoCommand.js.map +1 -1
  171. package/dist/es/commands/GetCelebrityRecognitionCommand.js +2 -61
  172. package/dist/es/commands/GetCelebrityRecognitionCommand.js.map +1 -1
  173. package/dist/es/commands/GetContentModerationCommand.js +2 -56
  174. package/dist/es/commands/GetContentModerationCommand.js.map +1 -1
  175. package/dist/es/commands/GetFaceDetectionCommand.js +2 -39
  176. package/dist/es/commands/GetFaceDetectionCommand.js.map +1 -1
  177. package/dist/es/commands/GetFaceSearchCommand.js +2 -57
  178. package/dist/es/commands/GetFaceSearchCommand.js.map +1 -1
  179. package/dist/es/commands/GetLabelDetectionCommand.js +2 -47
  180. package/dist/es/commands/GetLabelDetectionCommand.js.map +1 -1
  181. package/dist/es/commands/GetPersonTrackingCommand.js +2 -56
  182. package/dist/es/commands/GetPersonTrackingCommand.js.map +1 -1
  183. package/dist/es/commands/GetSegmentDetectionCommand.js +2 -49
  184. package/dist/es/commands/GetSegmentDetectionCommand.js.map +1 -1
  185. package/dist/es/commands/GetTextDetectionCommand.js +2 -45
  186. package/dist/es/commands/GetTextDetectionCommand.js.map +1 -1
  187. package/dist/es/commands/IndexFacesCommand.js +2 -126
  188. package/dist/es/commands/IndexFacesCommand.js.map +1 -1
  189. package/dist/es/commands/ListCollectionsCommand.js +2 -32
  190. package/dist/es/commands/ListCollectionsCommand.js.map +1 -1
  191. package/dist/es/commands/ListFacesCommand.js +2 -34
  192. package/dist/es/commands/ListFacesCommand.js.map +1 -1
  193. package/dist/es/commands/ListStreamProcessorsCommand.js +2 -27
  194. package/dist/es/commands/ListStreamProcessorsCommand.js.map +1 -1
  195. package/dist/es/commands/ListTagsForResourceCommand.js +2 -31
  196. package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
  197. package/dist/es/commands/RecognizeCelebritiesCommand.js +2 -57
  198. package/dist/es/commands/RecognizeCelebritiesCommand.js.map +1 -1
  199. package/dist/es/commands/SearchFacesByImageCommand.js +2 -73
  200. package/dist/es/commands/SearchFacesByImageCommand.js.map +1 -1
  201. package/dist/es/commands/SearchFacesCommand.js +2 -47
  202. package/dist/es/commands/SearchFacesCommand.js.map +1 -1
  203. package/dist/es/commands/StartCelebrityRecognitionCommand.js +2 -38
  204. package/dist/es/commands/StartCelebrityRecognitionCommand.js.map +1 -1
  205. package/dist/es/commands/StartContentModerationCommand.js +2 -38
  206. package/dist/es/commands/StartContentModerationCommand.js.map +1 -1
  207. package/dist/es/commands/StartFaceDetectionCommand.js +2 -39
  208. package/dist/es/commands/StartFaceDetectionCommand.js.map +1 -1
  209. package/dist/es/commands/StartFaceSearchCommand.js +2 -36
  210. package/dist/es/commands/StartFaceSearchCommand.js.map +1 -1
  211. package/dist/es/commands/StartLabelDetectionCommand.js +2 -41
  212. package/dist/es/commands/StartLabelDetectionCommand.js.map +1 -1
  213. package/dist/es/commands/StartPersonTrackingCommand.js +2 -35
  214. package/dist/es/commands/StartPersonTrackingCommand.js.map +1 -1
  215. package/dist/es/commands/StartProjectVersionCommand.js +2 -36
  216. package/dist/es/commands/StartProjectVersionCommand.js.map +1 -1
  217. package/dist/es/commands/StartSegmentDetectionCommand.js +2 -42
  218. package/dist/es/commands/StartSegmentDetectionCommand.js.map +1 -1
  219. package/dist/es/commands/StartStreamProcessorCommand.js +2 -29
  220. package/dist/es/commands/StartStreamProcessorCommand.js.map +1 -1
  221. package/dist/es/commands/StartTextDetectionCommand.js +2 -34
  222. package/dist/es/commands/StartTextDetectionCommand.js.map +1 -1
  223. package/dist/es/commands/StopProjectVersionCommand.js +2 -28
  224. package/dist/es/commands/StopProjectVersionCommand.js.map +1 -1
  225. package/dist/es/commands/StopStreamProcessorCommand.js +2 -27
  226. package/dist/es/commands/StopStreamProcessorCommand.js.map +1 -1
  227. package/dist/es/commands/TagResourceCommand.js +2 -31
  228. package/dist/es/commands/TagResourceCommand.js.map +1 -1
  229. package/dist/es/commands/UntagResourceCommand.js +2 -31
  230. package/dist/es/commands/UntagResourceCommand.js.map +1 -1
  231. package/dist/es/endpoints.js +1 -1
  232. package/dist/es/endpoints.js.map +1 -1
  233. package/dist/es/models/models_0.js +0 -621
  234. package/dist/es/models/models_0.js.map +1 -1
  235. package/dist/es/package.json +40 -40
  236. package/dist/es/pagination/DescribeProjectVersionsPaginator.js +16 -28
  237. package/dist/es/pagination/DescribeProjectVersionsPaginator.js.map +1 -1
  238. package/dist/es/pagination/DescribeProjectsPaginator.js +16 -28
  239. package/dist/es/pagination/DescribeProjectsPaginator.js.map +1 -1
  240. package/dist/es/pagination/GetCelebrityRecognitionPaginator.js +16 -28
  241. package/dist/es/pagination/GetCelebrityRecognitionPaginator.js.map +1 -1
  242. package/dist/es/pagination/GetContentModerationPaginator.js +16 -28
  243. package/dist/es/pagination/GetContentModerationPaginator.js.map +1 -1
  244. package/dist/es/pagination/GetFaceDetectionPaginator.js +16 -28
  245. package/dist/es/pagination/GetFaceDetectionPaginator.js.map +1 -1
  246. package/dist/es/pagination/GetFaceSearchPaginator.js +16 -28
  247. package/dist/es/pagination/GetFaceSearchPaginator.js.map +1 -1
  248. package/dist/es/pagination/GetLabelDetectionPaginator.js +16 -28
  249. package/dist/es/pagination/GetLabelDetectionPaginator.js.map +1 -1
  250. package/dist/es/pagination/GetPersonTrackingPaginator.js +16 -28
  251. package/dist/es/pagination/GetPersonTrackingPaginator.js.map +1 -1
  252. package/dist/es/pagination/GetSegmentDetectionPaginator.js +16 -28
  253. package/dist/es/pagination/GetSegmentDetectionPaginator.js.map +1 -1
  254. package/dist/es/pagination/GetTextDetectionPaginator.js +16 -28
  255. package/dist/es/pagination/GetTextDetectionPaginator.js.map +1 -1
  256. package/dist/es/pagination/ListCollectionsPaginator.js +16 -28
  257. package/dist/es/pagination/ListCollectionsPaginator.js.map +1 -1
  258. package/dist/es/pagination/ListFacesPaginator.js +16 -28
  259. package/dist/es/pagination/ListFacesPaginator.js.map +1 -1
  260. package/dist/es/pagination/ListStreamProcessorsPaginator.js +16 -28
  261. package/dist/es/pagination/ListStreamProcessorsPaginator.js.map +1 -1
  262. package/dist/es/protocols/Aws_json1_1.js +1924 -1929
  263. package/dist/es/protocols/Aws_json1_1.js.map +1 -1
  264. package/dist/es/runtimeConfig.browser.js +0 -3
  265. package/dist/es/runtimeConfig.browser.js.map +1 -1
  266. package/dist/es/runtimeConfig.js +0 -3
  267. package/dist/es/runtimeConfig.js.map +1 -1
  268. package/dist/es/runtimeConfig.native.js +0 -3
  269. package/dist/es/runtimeConfig.native.js.map +1 -1
  270. package/dist/es/runtimeConfig.shared.js +0 -3
  271. package/dist/es/runtimeConfig.shared.js.map +1 -1
  272. package/dist/es/waiters/waitForProjectVersionRunning.js +11 -20
  273. package/dist/es/waiters/waitForProjectVersionRunning.js.map +1 -1
  274. package/dist/es/waiters/waitForProjectVersionTrainingCompleted.js +11 -20
  275. package/dist/es/waiters/waitForProjectVersionTrainingCompleted.js.map +1 -1
  276. package/dist/types/runtimeConfig.browser.d.ts +1 -0
  277. package/dist/types/runtimeConfig.d.ts +1 -0
  278. package/dist/types/runtimeConfig.native.d.ts +1 -0
  279. package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  280. package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
  281. package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
  282. package/package.json +40 -40
  283. package/protocols/Aws_json1_1.ts +9 -6
  284. package/tsconfig.es.json +0 -2
  285. package/tsconfig.json +3 -5
  286. package/tsconfig.types.json +8 -0
@@ -3,137 +3,13 @@ import { IndexFacesRequest, IndexFacesResponse } from "../models/models_0";
3
3
  import { deserializeAws_json1_1IndexFacesCommand, serializeAws_json1_1IndexFacesCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Detects faces in the input image and adds them to the specified collection. </p>
8
- * <p>Amazon Rekognition doesn't save the actual faces that are detected. Instead, the underlying
9
- * detection algorithm first detects the faces in the input image. For each face, the algorithm
10
- * extracts facial features into a feature vector, and stores it in the backend database.
11
- * Amazon Rekognition uses feature vectors when it performs face match and search operations using the
12
- * <a>SearchFaces</a> and <a>SearchFacesByImage</a>
13
- * operations.</p>
14
- *
15
- * <p>For more information, see Adding Faces to a Collection in the Amazon Rekognition
16
- * Developer Guide.</p>
17
- * <p>To get the number of faces in a collection, call <a>DescribeCollection</a>. </p>
18
- *
19
- * <p>If you're using version 1.0 of the face detection model, <code>IndexFaces</code>
20
- * indexes the 15 largest faces in the input image. Later versions of the face detection model
21
- * index the 100 largest faces in the input image. </p>
22
- * <p>If you're using version 4 or later of the face model, image orientation information
23
- * is not returned in the <code>OrientationCorrection</code> field. </p>
24
- * <p>To determine which version of the model you're using, call <a>DescribeCollection</a>
25
- * and supply the collection ID. You can also get the model version from the value of <code>FaceModelVersion</code> in the response
26
- * from <code>IndexFaces</code>
27
- * </p>
28
- *
29
- * <p>For more information, see Model Versioning in the Amazon Rekognition Developer
30
- * Guide.</p>
31
- * <p>If you provide the optional <code>ExternalImageId</code> for the input image you
32
- * provided, Amazon Rekognition associates this ID with all faces that it detects. When you call the <a>ListFaces</a> operation, the response returns the external ID. You can use this
33
- * external image ID to create a client-side index to associate the faces with each image. You
34
- * can then use the index to find all faces in an image.</p>
35
- * <p>You can specify the maximum number of faces to index with the <code>MaxFaces</code> input
36
- * parameter. This is useful when you want to index the largest faces in an image and don't want to index
37
- * smaller faces, such as those belonging to people standing in the background.</p>
38
- * <p>The <code>QualityFilter</code> input parameter allows you to filter out detected faces
39
- * that don’t meet a required quality bar. The quality bar is based on a
40
- * variety of common use cases. By default, <code>IndexFaces</code> chooses the quality bar that's
41
- * used to filter faces. You can also explicitly choose
42
- * the quality bar. Use <code>QualityFilter</code>, to set the quality bar
43
- * by specifying <code>LOW</code>, <code>MEDIUM</code>, or <code>HIGH</code>.
44
- * If you do not want to filter detected faces, specify <code>NONE</code>. </p>
45
- * <note>
46
- * <p>To use quality filtering, you need a collection associated with version 3 of the
47
- * face model or higher. To get the version of the face model associated with a collection, call
48
- * <a>DescribeCollection</a>. </p>
49
- * </note>
50
- * <p>Information about faces detected in an image, but not indexed, is returned in an array of
51
- * <a>UnindexedFace</a> objects, <code>UnindexedFaces</code>. Faces aren't
52
- * indexed for reasons such as:</p>
53
- * <ul>
54
- * <li>
55
- * <p>The number of faces detected exceeds the value of the <code>MaxFaces</code> request
56
- * parameter.</p>
57
- * </li>
58
- * <li>
59
- * <p>The face is too small compared to the image dimensions.</p>
60
- * </li>
61
- * <li>
62
- * <p>The face is too blurry.</p>
63
- * </li>
64
- * <li>
65
- * <p>The image is too dark.</p>
66
- * </li>
67
- * <li>
68
- * <p>The face has an extreme pose.</p>
69
- * </li>
70
- * <li>
71
- * <p>The face doesn’t have enough detail to be suitable for face search.</p>
72
- * </li>
73
- * </ul>
74
- * <p>In response, the <code>IndexFaces</code> operation returns an array of metadata for
75
- * all detected faces, <code>FaceRecords</code>. This includes: </p>
76
- * <ul>
77
- * <li>
78
- * <p>The bounding box, <code>BoundingBox</code>, of the detected face. </p>
79
- * </li>
80
- * <li>
81
- * <p>A confidence value, <code>Confidence</code>, which indicates the confidence that the
82
- * bounding box contains a face.</p>
83
- * </li>
84
- * <li>
85
- * <p>A face ID, <code>FaceId</code>, assigned by the service for each face that's detected
86
- * and stored.</p>
87
- * </li>
88
- * <li>
89
- * <p>An image ID, <code>ImageId</code>, assigned by the service for the input image.</p>
90
- * </li>
91
- * </ul>
92
- * <p>If you request all facial attributes (by using the <code>detectionAttributes</code>
93
- * parameter), Amazon Rekognition returns detailed facial attributes, such as facial landmarks (for
94
- * example, location of eye and mouth) and other facial attributes. If you provide
95
- * the same image, specify the same collection, and use the same external ID in the
96
- * <code>IndexFaces</code> operation, Amazon Rekognition doesn't save duplicate face metadata.</p>
97
- *
98
- *
99
- * <p></p>
100
- *
101
- *
102
- * <p>The input image is passed either as base64-encoded image bytes, or as a reference to an
103
- * image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations,
104
- * passing image bytes isn't supported. The image must be formatted as a PNG or JPEG file. </p>
105
- * <p>This operation requires permissions to perform the <code>rekognition:IndexFaces</code>
106
- * action.</p>
107
- * @example
108
- * Use a bare-bones client and the command you need to make an API call.
109
- * ```javascript
110
- * import { RekognitionClient, IndexFacesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
111
- * // const { RekognitionClient, IndexFacesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
112
- * const client = new RekognitionClient(config);
113
- * const command = new IndexFacesCommand(input);
114
- * const response = await client.send(command);
115
- * ```
116
- *
117
- * @see {@link IndexFacesCommandInput} for command's `input` shape.
118
- * @see {@link IndexFacesCommandOutput} for command's `response` shape.
119
- * @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
120
- *
121
- */
122
- var IndexFacesCommand = /** @class */ (function (_super) {
6
+ var IndexFacesCommand = (function (_super) {
123
7
  __extends(IndexFacesCommand, _super);
124
- // Start section: command_properties
125
- // End section: command_properties
126
8
  function IndexFacesCommand(input) {
127
- var _this =
128
- // Start section: command_constructor
129
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
130
10
  _this.input = input;
131
11
  return _this;
132
- // End section: command_constructor
133
12
  }
134
- /**
135
- * @internal
136
- */
137
13
  IndexFacesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
138
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
139
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"IndexFacesCommand.js","sourceRoot":"","sources":["../../../commands/IndexFacesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmHG;AACH;IAAuC,qCAItC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,2BAAqB,KAA6B;QAAlD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwB;;QAGhD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,6CAA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AAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,uCAAuC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAIH,wBAAC;AAAD,CAAC,AAtDD,CAAuC,QAAQ,GAsD9C"}
@@ -3,43 +3,13 @@ import { ListCollectionsRequest, ListCollectionsResponse } from "../models/model
3
3
  import { deserializeAws_json1_1ListCollectionsCommand, serializeAws_json1_1ListCollectionsCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Returns list of collection IDs in your account.
8
- * If the result is truncated, the response also provides a <code>NextToken</code>
9
- * that you can use in the subsequent request to fetch the next set of collection IDs.</p>
10
- *
11
- * <p>For an example, see Listing Collections in the Amazon Rekognition Developer Guide.</p>
12
- * <p>This operation requires permissions to perform the <code>rekognition:ListCollections</code> action.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { RekognitionClient, ListCollectionsCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
17
- * // const { RekognitionClient, ListCollectionsCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
18
- * const client = new RekognitionClient(config);
19
- * const command = new ListCollectionsCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link ListCollectionsCommandInput} for command's `input` shape.
24
- * @see {@link ListCollectionsCommandOutput} for command's `response` shape.
25
- * @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
- var ListCollectionsCommand = /** @class */ (function (_super) {
6
+ var ListCollectionsCommand = (function (_super) {
29
7
  __extends(ListCollectionsCommand, _super);
30
- // Start section: command_properties
31
- // End section: command_properties
32
8
  function ListCollectionsCommand(input) {
33
- var _this =
34
- // Start section: command_constructor
35
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
36
10
  _this.input = input;
37
11
  return _this;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  ListCollectionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
44
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"ListCollectionsCommand.js","sourceRoot":"","sources":["../../../commands/ListCollectionsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,4CAA4C,EAC5C,0CAA0C,GAC3C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH;IAA4C,0CAI3C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,gCAAqB,KAAkC;QAAvD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA6B;;QAGrD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,kDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA8C,EAC9C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,mBAAmB,CAAC;QACvC,IAAM,WAAW,GAAG,wBAAwB,CAAC;QAC7C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE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C,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,mBAAmB,CAAC;QACvC,IAAM,WAAW,GAAG,wBAAwB,CAAC;QAC7C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,sBAAsB,CAAC,kBAAkB;YAClE,wBAAwB,EAAE,uBAAuB,CAAC,kBAAkB;SACrE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,0CAAS,GAAjB,UAAkB,KAAkC,EAAE,OAAuB;QAC3E,OAAO,0CAA0C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAEO,4CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,4CAA4C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAIH,6BAAC;AAAD,CAAC,AAtDD,CAA4C,QAAQ,GAsDnD"}
@@ -3,45 +3,13 @@ import { ListFacesRequest, ListFacesResponse } from "../models/models_0";
3
3
  import { deserializeAws_json1_1ListFacesCommand, serializeAws_json1_1ListFacesCommand } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Returns metadata for faces in the specified collection.
8
- * This metadata includes information such as the bounding box coordinates, the confidence
9
- * (that the bounding box contains a face), and face ID. For an example, see Listing Faces in a Collection
10
- * in the Amazon Rekognition Developer Guide.</p>
11
- *
12
- *
13
- * <p>This operation requires permissions to perform the
14
- * <code>rekognition:ListFaces</code> action.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { RekognitionClient, ListFacesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
19
- * // const { RekognitionClient, ListFacesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
20
- * const client = new RekognitionClient(config);
21
- * const command = new ListFacesCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link ListFacesCommandInput} for command's `input` shape.
26
- * @see {@link ListFacesCommandOutput} for command's `response` shape.
27
- * @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
- var ListFacesCommand = /** @class */ (function (_super) {
6
+ var ListFacesCommand = (function (_super) {
31
7
  __extends(ListFacesCommand, _super);
32
- // Start section: command_properties
33
- // End section: command_properties
34
8
  function ListFacesCommand(input) {
35
- var _this =
36
- // Start section: command_constructor
37
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
38
10
  _this.input = input;
39
11
  return _this;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  ListFacesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
46
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"ListFacesCommand.js","sourceRoot":"","sources":["../../../commands/ListFacesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EAAE,sCAAsC,EAAE,oCAAoC,EAAE,MAAM,0BAA0B,CAAC;AACxH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,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,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,oCAAS,GAAjB,UAAkB,KAA4B,EAAE,OAAuB;QACrE,OAAO,oCAAoC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAEO,sCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,sCAAsC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAIH,uBAAC;AAAD,CAAC,AAtDD,CAAsC,QAAQ,GAsD7C"}
@@ -3,38 +3,13 @@ import { ListStreamProcessorsRequest, ListStreamProcessorsResponse } from "../mo
3
3
  import { deserializeAws_json1_1ListStreamProcessorsCommand, serializeAws_json1_1ListStreamProcessorsCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Gets a list of stream processors that you have created with <a>CreateStreamProcessor</a>. </p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { RekognitionClient, ListStreamProcessorsCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
12
- * // const { RekognitionClient, ListStreamProcessorsCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
13
- * const client = new RekognitionClient(config);
14
- * const command = new ListStreamProcessorsCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link ListStreamProcessorsCommandInput} for command's `input` shape.
19
- * @see {@link ListStreamProcessorsCommandOutput} for command's `response` shape.
20
- * @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var ListStreamProcessorsCommand = /** @class */ (function (_super) {
6
+ var ListStreamProcessorsCommand = (function (_super) {
24
7
  __extends(ListStreamProcessorsCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function ListStreamProcessorsCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  ListStreamProcessorsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"ListStreamProcessorsCommand.js","sourceRoot":"","sources":["../../../commands/ListStreamProcessorsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EACL,iDAAiD,EACjD,+CAA+C,GAChD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;GAgBG;AACH;IAAiD,+CAIhD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,qCAAqB,KAAuC;QAA5D;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAkC;;QAG1D,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,uDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA8C,EAC9C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,mBAAmB,CAAC;QACvC,IAAM,WAAW,GAAG,6BAA6B,CAAC;QAClD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,2BAA2B,CAAC,kBAAkB;YACvE,wBAAwB,EAAE,4BAA4B,CAAC,kBAAkB;SAC1E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,+CAAS,GAAjB,UAAkB,KAAuC,EAAE,OAAuB;QAChF,OAAO,+CAA+C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAEO,iDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,iDAAiD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAIH,kCAAC;AAAD,CAAC,AAtDD,CAAiD,QAAQ,GAsDxD"}
1
+ {"version":3,"file":"ListStreamProcessorsCommand.js","sourceRoot":"","sources":["../../../commands/ListStreamProcessorsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EACL,iDAAiD,EACjD,+CAA+C,GAChD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAiD,+CAIhD;IAIC,qCAAqB,KAAuC;QAA5D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAkC;;IAI5D,CAAC;IAKD,uDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA8C,EAC9C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,mBAAmB,CAAC;QACvC,IAAM,WAAW,GAAG,6BAA6B,CAAC;QAClD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,2BAA2B,CAAC,kBAAkB;YACvE,wBAAwB,EAAE,4BAA4B,CAAC,kBAAkB;SAC1E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,+CAAS,GAAjB,UAAkB,KAAuC,EAAE,OAAuB;QAChF,OAAO,+CAA+C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAEO,iDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,iDAAiD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAIH,kCAAC;AAAD,CAAC,AAtDD,CAAiD,QAAQ,GAsDxD"}
@@ -3,42 +3,13 @@ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../mode
3
3
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>
8
- * Returns a list of tags in an Amazon Rekognition collection, stream processor, or Custom Labels model.
9
- * </p>
10
- * <p>This operation requires permissions to perform the
11
- * <code>rekognition:ListTagsForResource</code> action. </p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { RekognitionClient, ListTagsForResourceCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
16
- * // const { RekognitionClient, ListTagsForResourceCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
17
- * const client = new RekognitionClient(config);
18
- * const command = new ListTagsForResourceCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
23
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
24
- * @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
- var ListTagsForResourceCommand = /** @class */ (function (_super) {
6
+ var ListTagsForResourceCommand = (function (_super) {
28
7
  __extends(ListTagsForResourceCommand, _super);
29
- // Start section: command_properties
30
- // End section: command_properties
31
8
  function ListTagsForResourceCommand(input) {
32
- var _this =
33
- // Start section: command_constructor
34
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
35
10
  _this.input = input;
36
11
  return _this;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
43
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"ListTagsForResourceCommand.js","sourceRoot":"","sources":["../../../commands/ListTagsForResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,gDAAg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BAA2B,CAAC,kBAAkB;SACzE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,8CAAS,GAAjB,UAAkB,KAAsC,EAAE,OAAuB;QAC/E,OAAO,8CAA8C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAEO,gDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,gDAAgD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAIH,iCAAC;AAAD,CAAC,AAtDD,CAAgD,QAAQ,GAsDvD"}
@@ -3,68 +3,13 @@ import { RecognizeCelebritiesRequest, RecognizeCelebritiesResponse } from "../mo
3
3
  import { deserializeAws_json1_1RecognizeCelebritiesCommand, serializeAws_json1_1RecognizeCelebritiesCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Returns an array of celebrities recognized in the input image. For more information, see Recognizing Celebrities
8
- * in the Amazon Rekognition Developer Guide. </p>
9
- * <p>
10
- * <code>RecognizeCelebrities</code> returns the 64 largest faces in the image. It lists
11
- * recognized celebrities in the <code>CelebrityFaces</code> array and unrecognized faces in the
12
- * <code>UnrecognizedFaces</code> array. <code>RecognizeCelebrities</code> doesn't return
13
- * celebrities whose faces aren't among the largest 64 faces in the image.</p>
14
- *
15
- * <p>For each celebrity recognized, <code>RecognizeCelebrities</code> returns a
16
- * <code>Celebrity</code> object. The <code>Celebrity</code> object contains the celebrity
17
- * name, ID, URL links to additional information, match confidence, and a
18
- * <code>ComparedFace</code> object that you can use to locate the celebrity's face on the
19
- * image.</p>
20
- * <p>Amazon Rekognition doesn't retain information about which images a celebrity has been recognized
21
- * in. Your application must store this information and use the <code>Celebrity</code> ID
22
- * property as a unique identifier for the celebrity. If you don't store the celebrity name or
23
- * additional information URLs returned by <code>RecognizeCelebrities</code>, you will need the
24
- * ID to identify the celebrity in a call to the <a>GetCelebrityInfo</a>
25
- * operation.</p>
26
- * <p>You pass the input image either as base64-encoded image bytes or as a reference to an
27
- * image in an Amazon S3 bucket. If you use the
28
- * AWS
29
- * CLI to call Amazon Rekognition operations, passing image bytes is not
30
- * supported. The image must be either a PNG or JPEG formatted file. </p>
31
- *
32
- *
33
- *
34
- *
35
- * <p>For an example, see Recognizing Celebrities in an Image in the Amazon Rekognition Developer Guide.</p>
36
- * <p>This operation requires permissions to perform the
37
- * <code>rekognition:RecognizeCelebrities</code> operation.</p>
38
- * @example
39
- * Use a bare-bones client and the command you need to make an API call.
40
- * ```javascript
41
- * import { RekognitionClient, RecognizeCelebritiesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
42
- * // const { RekognitionClient, RecognizeCelebritiesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
43
- * const client = new RekognitionClient(config);
44
- * const command = new RecognizeCelebritiesCommand(input);
45
- * const response = await client.send(command);
46
- * ```
47
- *
48
- * @see {@link RecognizeCelebritiesCommandInput} for command's `input` shape.
49
- * @see {@link RecognizeCelebritiesCommandOutput} for command's `response` shape.
50
- * @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
51
- *
52
- */
53
- var RecognizeCelebritiesCommand = /** @class */ (function (_super) {
6
+ var RecognizeCelebritiesCommand = (function (_super) {
54
7
  __extends(RecognizeCelebritiesCommand, _super);
55
- // Start section: command_properties
56
- // End section: command_properties
57
8
  function RecognizeCelebritiesCommand(input) {
58
- var _this =
59
- // Start section: command_constructor
60
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
61
10
  _this.input = input;
62
11
  return _this;
63
- // End section: command_constructor
64
12
  }
65
- /**
66
- * @internal
67
- */
68
13
  RecognizeCelebritiesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
69
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"RecognizeCelebritiesCommand.js","sourceRoot":"","sources":["../../../commands/RecognizeCelebritiesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EACL,iDAAiD,EACjD,+CAA+C,GAChD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH;IAAiD,+CAIhD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,qCAAqB,KAAuC;QAA5D;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAkC;;QAG1D,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,uDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA8C,EAC9C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,mBAAmB,CAAC;QACvC,IAAM,WAAW,GAAG,6BAA6B,CAAC;QAClD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,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CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,mBAAmB,CAAC;QACvC,IAAM,WAAW,GAAG,6BAA6B,CAAC;QAClD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,2BAA2B,CAAC,kBAAkB;YACvE,wBAAwB,EAAE,4BAA4B,CAAC,kBAAkB;SAC1E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,+CAAS,GAAjB,UAAkB,KAAuC,EAAE,OAAuB;QAChF,OAAO,+CAA+C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAEO,iDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,iDAAiD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAIH,kCAAC;AAAD,CAAC,AAtDD,CAAiD,QAAQ,GAsDxD"}
@@ -3,84 +3,13 @@ import { SearchFacesByImageRequest, SearchFacesByImageResponse } from "../models
3
3
  import { deserializeAws_json1_1SearchFacesByImageCommand, serializeAws_json1_1SearchFacesByImageCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>For a given input image, first detects the largest face in the image, and then searches
8
- * the specified collection for matching faces. The operation compares the features of the input
9
- * face with faces in the specified collection. </p>
10
- * <note>
11
- * <p>To search for all faces in an input image, you might first call the <a>IndexFaces</a> operation, and then use the face IDs returned in subsequent
12
- * calls to the <a>SearchFaces</a> operation. </p>
13
- * <p> You can also call the <code>DetectFaces</code> operation and use the bounding boxes
14
- * in the response to make face crops, which then you can pass in to the
15
- * <code>SearchFacesByImage</code> operation. </p>
16
- * </note>
17
- *
18
- * <p>You pass the input image either as base64-encoded image bytes or as a reference to an
19
- * image in an Amazon S3 bucket. If you use the
20
- * AWS
21
- * CLI to call Amazon Rekognition operations, passing image bytes is not
22
- * supported. The image must be either a PNG or JPEG formatted file. </p>
23
- * <p>
24
- * The response returns an array of faces that match, ordered by similarity score with the
25
- * highest similarity first. More specifically, it is an
26
- * array of metadata for each face match found. Along with the metadata, the response also
27
- * includes a <code>similarity</code> indicating how similar the face is
28
- * to the input face.
29
- *
30
- * In the response, the operation also returns the bounding
31
- * box (and a confidence level that the bounding box contains a face) of the face that Amazon Rekognition
32
- * used for the input image.
33
- * </p>
34
- * <p>If no faces are detected in the input image, <code>SearchFacesByImage</code> returns an
35
- * <code>InvalidParameterException</code> error. </p>
36
- *
37
- * <p>For an example, Searching for a Face Using an Image in the Amazon Rekognition Developer Guide.</p>
38
- *
39
- * <p>The <code>QualityFilter</code> input parameter allows you to filter out detected faces
40
- * that don’t meet a required quality bar. The quality bar is based on a
41
- * variety of common use cases.
42
- * Use <code>QualityFilter</code> to set the quality bar for
43
- * filtering by specifying <code>LOW</code>, <code>MEDIUM</code>, or <code>HIGH</code>.
44
- * If you do not want to filter detected faces, specify <code>NONE</code>. The default
45
- * value is <code>NONE</code>.</p>
46
- * <note>
47
- * <p>To use quality filtering, you need a collection associated with version 3 of the
48
- * face model or higher. To get the version of the face model associated with a collection, call
49
- * <a>DescribeCollection</a>. </p>
50
- * </note>
51
- *
52
- * <p>This operation requires permissions to perform the <code>rekognition:SearchFacesByImage</code>
53
- * action.</p>
54
- * @example
55
- * Use a bare-bones client and the command you need to make an API call.
56
- * ```javascript
57
- * import { RekognitionClient, SearchFacesByImageCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
58
- * // const { RekognitionClient, SearchFacesByImageCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
59
- * const client = new RekognitionClient(config);
60
- * const command = new SearchFacesByImageCommand(input);
61
- * const response = await client.send(command);
62
- * ```
63
- *
64
- * @see {@link SearchFacesByImageCommandInput} for command's `input` shape.
65
- * @see {@link SearchFacesByImageCommandOutput} for command's `response` shape.
66
- * @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
67
- *
68
- */
69
- var SearchFacesByImageCommand = /** @class */ (function (_super) {
6
+ var SearchFacesByImageCommand = (function (_super) {
70
7
  __extends(SearchFacesByImageCommand, _super);
71
- // Start section: command_properties
72
- // End section: command_properties
73
8
  function SearchFacesByImageCommand(input) {
74
- var _this =
75
- // Start section: command_constructor
76
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
77
10
  _this.input = input;
78
11
  return _this;
79
- // End section: command_constructor
80
12
  }
81
- /**
82
- * @internal
83
- */
84
13
  SearchFacesByImageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
85
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
86
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"SearchFacesByImageCommand.js","sourceRoot":"","sources":["../../../commands/SearchFacesByImageCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAC3F,OAAO,EACL,+CAA+C,EAC/C,6CAA6C,GAC9C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,6CAAS,GAAjB,UAAkB,KAAqC,EAAE,OAAuB;QAC9E,OAAO,6CAA6C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAEO,+CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,+CAA+C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAIH,gCAAC;AAAD,CAAC,AAtDD,CAA+C,QAAQ,GAsDtD"}
@@ -3,58 +3,13 @@ import { SearchFacesRequest, SearchFacesResponse } from "../models/models_0";
3
3
  import { deserializeAws_json1_1SearchFacesCommand, serializeAws_json1_1SearchFacesCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>For a given input face ID, searches for matching faces in the collection the face
8
- * belongs to. You get a face ID when you add a face to the collection using the <a>IndexFaces</a> operation. The operation compares the features of the input face with
9
- * faces in the specified collection. </p>
10
- * <note>
11
- * <p>You can also search faces without indexing faces by using the
12
- * <code>SearchFacesByImage</code> operation.</p>
13
- * </note>
14
- *
15
- * <p>
16
- * The operation response returns
17
- * an array of faces that match, ordered by similarity score with the highest
18
- * similarity first. More specifically, it is an
19
- * array of metadata for each face match that is found. Along with the metadata, the response also
20
- * includes a <code>confidence</code> value for each face match, indicating the confidence
21
- * that the specific face matches the input face.
22
- * </p>
23
- *
24
- * <p>For an example, see Searching for a Face Using Its Face ID in the Amazon Rekognition Developer Guide.</p>
25
- *
26
- * <p>This operation requires permissions to perform the <code>rekognition:SearchFaces</code>
27
- * action.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { RekognitionClient, SearchFacesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
32
- * // const { RekognitionClient, SearchFacesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
33
- * const client = new RekognitionClient(config);
34
- * const command = new SearchFacesCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link SearchFacesCommandInput} for command's `input` shape.
39
- * @see {@link SearchFacesCommandOutput} for command's `response` shape.
40
- * @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- var SearchFacesCommand = /** @class */ (function (_super) {
6
+ var SearchFacesCommand = (function (_super) {
44
7
  __extends(SearchFacesCommand, _super);
45
- // Start section: command_properties
46
- // End section: command_properties
47
8
  function SearchFacesCommand(input) {
48
- var _this =
49
- // Start section: command_constructor
50
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
51
10
  _this.input = input;
52
11
  return _this;
53
- // End section: command_constructor
54
12
  }
55
- /**
56
- * @internal
57
- */
58
13
  SearchFacesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
59
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
60
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"SearchFacesCommand.js","sourceRoot":"","sources":["../../../commands/SearchFacesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH;IAAwC,sCAIvC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,4BAAqB,KAA8B;QAAnD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,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