@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,72 +3,13 @@ import { GetCelebrityRecognitionRequest, GetCelebrityRecognitionResponse } from
3
3
  import { deserializeAws_json1_1GetCelebrityRecognitionCommand, serializeAws_json1_1GetCelebrityRecognitionCommand, } 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 the celebrity recognition results for a Amazon Rekognition Video analysis started by
8
- * <a>StartCelebrityRecognition</a>.</p>
9
- * <p>Celebrity recognition in a video is an asynchronous operation. Analysis is started by a call
10
- * to <a>StartCelebrityRecognition</a> which returns a job identifier (<code>JobId</code>).
11
- * When the celebrity recognition operation finishes, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service
12
- * topic registered in the initial call to <code>StartCelebrityRecognition</code>.
13
- * To get the results of the celebrity recognition analysis, first check that the status value published to the Amazon SNS
14
- * topic is <code>SUCCEEDED</code>. If so, call <code>GetCelebrityDetection</code> and pass the job identifier
15
- * (<code>JobId</code>) from the initial call to <code>StartCelebrityDetection</code>. </p>
16
- *
17
- * <p>For more information, see Working With Stored Videos in the Amazon Rekognition Developer Guide.</p>
18
- * <p>
19
- * <code>GetCelebrityRecognition</code> returns detected celebrities and the time(s) they are detected in an array
20
- * (<code>Celebrities</code>) of <a>CelebrityRecognition</a>
21
- * objects. Each <code>CelebrityRecognition</code> contains information about the celebrity in a <a>CelebrityDetail</a>
22
- * object and the time, <code>Timestamp</code>, the celebrity was detected.
23
- * </p>
24
- * <note>
25
- * <p>
26
- * <code>GetCelebrityRecognition</code> only returns the default
27
- * facial attributes (<code>BoundingBox</code>, <code>Confidence</code>,
28
- * <code>Landmarks</code>, <code>Pose</code>, and <code>Quality</code>). The other facial attributes listed
29
- * in the <code>Face</code> object of the following response syntax are not returned. For more information,
30
- * see FaceDetail in the Amazon Rekognition Developer Guide. </p>
31
- * </note>
32
- * <p>By default, the <code>Celebrities</code> array is sorted by time (milliseconds from the start of the video).
33
- * You can also sort the array by celebrity by specifying the value <code>ID</code> in the <code>SortBy</code> input parameter.</p>
34
- * <p>The <code>CelebrityDetail</code> object includes the celebrity identifer and additional information urls. If you don't store
35
- * the additional information urls, you can get them later by calling <a>GetCelebrityInfo</a> with the celebrity identifer.</p>
36
- * <p>No information is returned for faces not recognized as celebrities.</p>
37
- * <p>Use MaxResults parameter to limit the number of labels returned. If there are more results than
38
- * specified in <code>MaxResults</code>, the value of <code>NextToken</code> in the operation response contains a
39
- * pagination token for getting the next set of results. To get the next page of results, call <code>GetCelebrityDetection</code>
40
- * and populate the <code>NextToken</code> request parameter with the token
41
- * value returned from the previous call to <code>GetCelebrityRecognition</code>.</p>
42
- * @example
43
- * Use a bare-bones client and the command you need to make an API call.
44
- * ```javascript
45
- * import { RekognitionClient, GetCelebrityRecognitionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
46
- * // const { RekognitionClient, GetCelebrityRecognitionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
47
- * const client = new RekognitionClient(config);
48
- * const command = new GetCelebrityRecognitionCommand(input);
49
- * const response = await client.send(command);
50
- * ```
51
- *
52
- * @see {@link GetCelebrityRecognitionCommandInput} for command's `input` shape.
53
- * @see {@link GetCelebrityRecognitionCommandOutput} for command's `response` shape.
54
- * @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
55
- *
56
- */
57
- var GetCelebrityRecognitionCommand = /** @class */ (function (_super) {
6
+ var GetCelebrityRecognitionCommand = (function (_super) {
58
7
  __extends(GetCelebrityRecognitionCommand, _super);
59
- // Start section: command_properties
60
- // End section: command_properties
61
8
  function GetCelebrityRecognitionCommand(input) {
62
- var _this =
63
- // Start section: command_constructor
64
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
65
10
  _this.input = input;
66
11
  return _this;
67
- // End section: command_constructor
68
12
  }
69
- /**
70
- * @internal
71
- */
72
13
  GetCelebrityRecognitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
73
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
74
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"GetCelebrityRecognitionCommand.js","sourceRoot":"","sources":["../../../commands/GetCelebrityRecognitionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EACL,oDAAoD,EACpD,kDAAkD,GACnD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH;IAAoD,kDAInD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,wCAAqB,KAA0C;QAA/D;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAqC;;QAG7D,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,0DAAiB,GAAj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oDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,oDAAoD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAIH,qCAAC;AAAD,CAAC,AAtDD,CAAoD,QAAQ,GAsD3D"}
@@ -3,67 +3,13 @@ import { GetContentModerationRequest, GetContentModerationResponse } from "../mo
3
3
  import { deserializeAws_json1_1GetContentModerationCommand, serializeAws_json1_1GetContentModerationCommand, } 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 the inappropriate, unwanted, or offensive content analysis results for a Amazon Rekognition Video analysis started by
8
- * <a>StartContentModeration</a>. For a list of moderation labels in Amazon Rekognition, see
9
- * <a href="https://docs.aws.amazon.com/rekognition/latest/dg/moderation.html#moderation-api">Using the image and video moderation APIs</a>.</p>
10
- *
11
- * <p>Amazon Rekognition Video inappropriate or offensive content detection in a stored video is an asynchronous operation. You start analysis by calling
12
- * <a>StartContentModeration</a> which returns a job identifier (<code>JobId</code>).
13
- * When analysis finishes, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service
14
- * topic registered in the initial call to <code>StartContentModeration</code>.
15
- * To get the results of the content analysis, first check that the status value published to the Amazon SNS
16
- * topic is <code>SUCCEEDED</code>. If so, call <code>GetContentModeration</code> and pass the job identifier
17
- * (<code>JobId</code>) from the initial call to <code>StartContentModeration</code>. </p>
18
- *
19
- * <p>For more information, see Working with Stored Videos in the
20
- * Amazon Rekognition Devlopers Guide.</p>
21
- * <p>
22
- * <code>GetContentModeration</code> returns detected inappropriate, unwanted, or offensive content moderation labels,
23
- * and the time they are detected, in an array, <code>ModerationLabels</code>, of
24
- * <a>ContentModerationDetection</a> objects.
25
- * </p>
26
- * <p>By default, the moderated labels are returned sorted by time, in milliseconds from the start of the
27
- * video. You can also sort them by moderated label by specifying <code>NAME</code> for the <code>SortBy</code>
28
- * input parameter. </p>
29
- * <p>Since video analysis can return a large number of results, use the <code>MaxResults</code> parameter to limit
30
- * the number of labels returned in a single call to <code>GetContentModeration</code>. If there are more results than
31
- * specified in <code>MaxResults</code>, the value of <code>NextToken</code> in the operation response contains a
32
- * pagination token for getting the next set of results. To get the next page of results, call <code>GetContentModeration</code>
33
- * and populate the <code>NextToken</code> request parameter with the value of <code>NextToken</code>
34
- * returned from the previous call to <code>GetContentModeration</code>.</p>
35
- *
36
- * <p>For more information, see Content moderation in the Amazon Rekognition Developer Guide.</p>
37
- * @example
38
- * Use a bare-bones client and the command you need to make an API call.
39
- * ```javascript
40
- * import { RekognitionClient, GetContentModerationCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
41
- * // const { RekognitionClient, GetContentModerationCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
42
- * const client = new RekognitionClient(config);
43
- * const command = new GetContentModerationCommand(input);
44
- * const response = await client.send(command);
45
- * ```
46
- *
47
- * @see {@link GetContentModerationCommandInput} for command's `input` shape.
48
- * @see {@link GetContentModerationCommandOutput} for command's `response` shape.
49
- * @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
50
- *
51
- */
52
- var GetContentModerationCommand = /** @class */ (function (_super) {
6
+ var GetContentModerationCommand = (function (_super) {
53
7
  __extends(GetContentModerationCommand, _super);
54
- // Start section: command_properties
55
- // End section: command_properties
56
8
  function GetContentModerationCommand(input) {
57
- var _this =
58
- // Start section: command_constructor
59
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
60
10
  _this.input = input;
61
11
  return _this;
62
- // End section: command_constructor
63
12
  }
64
- /**
65
- * @internal
66
- */
67
13
  GetContentModerationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
68
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"GetContentModerationCommand.js","sourceRoot":"","sources":["../../../commands/GetContentModerationComm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M,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,50 +3,13 @@ import { GetFaceDetectionRequest, GetFaceDetectionResponse } from "../models/mod
3
3
  import { deserializeAws_json1_1GetFaceDetectionCommand, serializeAws_json1_1GetFaceDetectionCommand, } 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 face detection results for a Amazon Rekognition Video analysis started by <a>StartFaceDetection</a>.</p>
8
- * <p>Face detection with Amazon Rekognition Video is an asynchronous operation. You start face detection by calling <a>StartFaceDetection</a>
9
- * which returns a job identifier (<code>JobId</code>). When the face detection operation finishes, Amazon Rekognition Video publishes a completion status to
10
- * the Amazon Simple Notification Service topic registered in the initial call to <code>StartFaceDetection</code>. To get the results
11
- * of the face detection operation, first check that the status value published to the Amazon SNS topic is <code>SUCCEEDED</code>.
12
- * If so, call <a>GetFaceDetection</a> and pass the job identifier
13
- * (<code>JobId</code>) from the initial call to <code>StartFaceDetection</code>.</p>
14
- * <p>
15
- * <code>GetFaceDetection</code> returns an array of detected faces (<code>Faces</code>) sorted by the time the faces were detected. </p>
16
- * <p>Use MaxResults parameter to limit the number of labels returned. If there are more results than
17
- * specified in <code>MaxResults</code>, the value of <code>NextToken</code> in the operation response contains a pagination token for getting the next set
18
- * of results. To get the next page of results, call <code>GetFaceDetection</code> and populate the <code>NextToken</code> request parameter with the token
19
- * value returned from the previous call to <code>GetFaceDetection</code>.</p>
20
- * @example
21
- * Use a bare-bones client and the command you need to make an API call.
22
- * ```javascript
23
- * import { RekognitionClient, GetFaceDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
24
- * // const { RekognitionClient, GetFaceDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
25
- * const client = new RekognitionClient(config);
26
- * const command = new GetFaceDetectionCommand(input);
27
- * const response = await client.send(command);
28
- * ```
29
- *
30
- * @see {@link GetFaceDetectionCommandInput} for command's `input` shape.
31
- * @see {@link GetFaceDetectionCommandOutput} for command's `response` shape.
32
- * @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
33
- *
34
- */
35
- var GetFaceDetectionCommand = /** @class */ (function (_super) {
6
+ var GetFaceDetectionCommand = (function (_super) {
36
7
  __extends(GetFaceDetectionCommand, _super);
37
- // Start section: command_properties
38
- // End section: command_properties
39
8
  function GetFaceDetectionCommand(input) {
40
- var _this =
41
- // Start section: command_constructor
42
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
43
10
  _this.input = input;
44
11
  return _this;
45
- // End section: command_constructor
46
12
  }
47
- /**
48
- * @internal
49
- */
50
13
  GetFaceDetectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
51
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
52
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3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ACvC,IAAM,WAAW,GAAG,yBAAyB,CAAC;QAC9C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,uBAAuB,CAAC,kBAAkB;YACnE,wBAAwB,EAAE,wBAAwB,CAAC,kBAAkB;SACtE,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,2CAAS,GAAjB,UAAkB,KAAmC,EAAE,OAAuB;QAC5E,OAAO,2CAA2C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAEO,6CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,6CAA6C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAIH,8BAAC;AAAD,CAAC,AAtDD,CAA6C,QAAQ,GAsDpD"}
@@ -3,68 +3,13 @@ import { GetFaceSearchRequest, GetFaceSearchResponse } from "../models/models_0"
3
3
  import { deserializeAws_json1_1GetFaceSearchCommand, serializeAws_json1_1GetFaceSearchCommand, } 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 the face search results for Amazon Rekognition Video face search started by
8
- * <a>StartFaceSearch</a>. The search returns faces in a collection that match the faces
9
- * of persons detected in a video. It also includes the time(s) that faces are matched in the video.</p>
10
- * <p>Face search in a video is an asynchronous operation. You start face search by calling
11
- * to <a>StartFaceSearch</a> which returns a job identifier (<code>JobId</code>).
12
- * When the search operation finishes, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service
13
- * topic registered in the initial call to <code>StartFaceSearch</code>.
14
- * To get the search results, first check that the status value published to the Amazon SNS
15
- * topic is <code>SUCCEEDED</code>. If so, call <code>GetFaceSearch</code> and pass the job identifier
16
- * (<code>JobId</code>) from the initial call to <code>StartFaceSearch</code>.</p>
17
- *
18
- * <p>For more information, see Searching Faces in a Collection in the
19
- * Amazon Rekognition Developer Guide.</p>
20
- * <p>The search results are retured in an array, <code>Persons</code>, of
21
- * <a>PersonMatch</a> objects. Each<code>PersonMatch</code> element contains
22
- * details about the matching faces in the input collection, person information (facial attributes,
23
- * bounding boxes, and person identifer)
24
- * for the matched person, and the time the person was matched in the video.</p>
25
- * <note>
26
- * <p>
27
- * <code>GetFaceSearch</code> only returns the default
28
- * facial attributes (<code>BoundingBox</code>, <code>Confidence</code>,
29
- * <code>Landmarks</code>, <code>Pose</code>, and <code>Quality</code>). The other facial attributes listed
30
- * in the <code>Face</code> object of the following response syntax are not returned. For more information,
31
- * see FaceDetail in the Amazon Rekognition Developer Guide. </p>
32
- * </note>
33
- *
34
- * <p>By default, the <code>Persons</code> array is sorted by the time, in milliseconds from the
35
- * start of the video, persons are matched.
36
- * You can also sort by persons by specifying <code>INDEX</code> for the <code>SORTBY</code> input
37
- * parameter.</p>
38
- * @example
39
- * Use a bare-bones client and the command you need to make an API call.
40
- * ```javascript
41
- * import { RekognitionClient, GetFaceSearchCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
42
- * // const { RekognitionClient, GetFaceSearchCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
43
- * const client = new RekognitionClient(config);
44
- * const command = new GetFaceSearchCommand(input);
45
- * const response = await client.send(command);
46
- * ```
47
- *
48
- * @see {@link GetFaceSearchCommandInput} for command's `input` shape.
49
- * @see {@link GetFaceSearchCommandOutput} for command's `response` shape.
50
- * @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
51
- *
52
- */
53
- var GetFaceSearchCommand = /** @class */ (function (_super) {
6
+ var GetFaceSearchCommand = (function (_super) {
54
7
  __extends(GetFaceSearchCommand, _super);
55
- // Start section: command_properties
56
- // End section: command_properties
57
8
  function GetFaceSearchCommand(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
  GetFaceSearchCommand.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":"GetFaceSearchCommand.js","sourceRoot":"","sources":["../../../commands/GetFaceSearchCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AACjF,OAAO,EACL,0CAA0C,EAC1C,wCAAwC,GACzC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH;IAA0C,wCAIzC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,8BAAqB,KAAgC;QAArD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA2B;;QAGnD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,gDAAiB,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,CA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LabelDetectionCommand, serializeAws_json1_1GetLabelDetectionCommand, } 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 the label detection results of a Amazon Rekognition Video analysis started by <a>StartLabelDetection</a>. </p>
8
- *
9
- * <p>The label detection operation is started by a call to <a>StartLabelDetection</a>
10
- * which returns a job identifier (<code>JobId</code>). When the label detection operation finishes, Amazon Rekognition publishes a completion status to
11
- * the Amazon Simple Notification Service topic registered in the initial call to <code>StartlabelDetection</code>. To get the results
12
- * of the label detection operation, first check that the status value published to the Amazon SNS topic is <code>SUCCEEDED</code>.
13
- * If so, call <a>GetLabelDetection</a> and pass the job identifier
14
- * (<code>JobId</code>) from the initial call to <code>StartLabelDetection</code>.</p>
15
- * <p>
16
- * <code>GetLabelDetection</code> returns an array of detected labels (<code>Labels</code>) sorted by the time
17
- * the labels were detected. You can also sort by the label name by specifying <code>NAME</code> for the
18
- * <code>SortBy</code> input parameter.</p>
19
- * <p>The labels returned include the label name, the percentage confidence in the accuracy of the detected label,
20
- * and the time the label was detected in the video.</p>
21
- * <p>The returned labels also include bounding box information for common objects, a
22
- * hierarchical taxonomy of detected labels, and the version of the label model used for detection.</p>
23
- *
24
- * <p>Use MaxResults parameter to limit the number of labels returned. If there are more results than
25
- * specified in <code>MaxResults</code>, the value of <code>NextToken</code> in the operation response contains a pagination token for getting the next set
26
- * of results. To get the next page of results, call <code>GetlabelDetection</code> and populate the <code>NextToken</code> request parameter with the token
27
- * value returned from the previous call to <code>GetLabelDetection</code>.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { RekognitionClient, GetLabelDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
32
- * // const { RekognitionClient, GetLabelDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
33
- * const client = new RekognitionClient(config);
34
- * const command = new GetLabelDetectionCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link GetLabelDetectionCommandInput} for command's `input` shape.
39
- * @see {@link GetLabelDetectionCommandOutput} for command's `response` shape.
40
- * @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- var GetLabelDetectionCommand = /** @class */ (function (_super) {
6
+ var GetLabelDetectionCommand = (function (_super) {
44
7
  __extends(GetLabelDetectionCommand, _super);
45
- // Start section: command_properties
46
- // End section: command_properties
47
8
  function GetLabelDetectionCommand(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
  GetLabelDetectionCommand.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":"GetLabelDetectionCommand.js","sourceRoot":"","sources":["../../../commands/GetLabelDetectionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH;IAA8C,4CAI7C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,kCAAqB,KAAoC;QAAzD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA+B;;QAGvD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,oDAAiB,GAAjB,UAC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B,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,8CAA8C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAIH,+BAAC;AAAD,CAAC,AAtDD,CAA8C,QAAQ,GAsDrD"}
@@ -3,67 +3,13 @@ import { GetPersonTrackingRequest, GetPersonTrackingResponse } from "../models/m
3
3
  import { deserializeAws_json1_1GetPersonTrackingCommand, serializeAws_json1_1GetPersonTrackingCommand, } 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 the path tracking results of a Amazon Rekognition Video analysis started by <a>StartPersonTracking</a>.</p>
8
- *
9
- * <p>The person path tracking operation is started by a call to <code>StartPersonTracking</code>
10
- * which returns a job identifier (<code>JobId</code>). When the operation finishes, Amazon Rekognition Video publishes a completion status to
11
- * the Amazon Simple Notification Service topic registered in the initial call to <code>StartPersonTracking</code>.</p>
12
- * <p>To get the results of the person path tracking operation, first check
13
- * that the status value published to the Amazon SNS topic is <code>SUCCEEDED</code>.
14
- * If so, call <a>GetPersonTracking</a> and pass the job identifier
15
- * (<code>JobId</code>) from the initial call to <code>StartPersonTracking</code>.</p>
16
- * <p>
17
- * <code>GetPersonTracking</code> returns an array, <code>Persons</code>, of tracked persons and the time(s) their
18
- * paths were tracked in the video. </p>
19
- * <note>
20
- * <p>
21
- * <code>GetPersonTracking</code> only returns the default
22
- * facial attributes (<code>BoundingBox</code>, <code>Confidence</code>,
23
- * <code>Landmarks</code>, <code>Pose</code>, and <code>Quality</code>). The other facial attributes listed
24
- * in the <code>Face</code> object of the following response syntax are not returned. </p>
25
- *
26
- * <p>For more information, see FaceDetail in the Amazon Rekognition Developer Guide.</p>
27
- * </note>
28
- *
29
- *
30
- * <p>By default, the array is sorted by the time(s) a person's path is tracked in the video.
31
- * You can sort by tracked persons by specifying <code>INDEX</code> for the <code>SortBy</code> input parameter.</p>
32
- *
33
- * <p>Use the <code>MaxResults</code> parameter to limit the number of items returned. If there are more results than
34
- * specified in <code>MaxResults</code>, the value of <code>NextToken</code> in the operation response contains a pagination token for getting the next set
35
- * of results. To get the next page of results, call <code>GetPersonTracking</code> and populate the <code>NextToken</code> request parameter with the token
36
- * value returned from the previous call to <code>GetPersonTracking</code>.</p>
37
- * @example
38
- * Use a bare-bones client and the command you need to make an API call.
39
- * ```javascript
40
- * import { RekognitionClient, GetPersonTrackingCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
41
- * // const { RekognitionClient, GetPersonTrackingCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
42
- * const client = new RekognitionClient(config);
43
- * const command = new GetPersonTrackingCommand(input);
44
- * const response = await client.send(command);
45
- * ```
46
- *
47
- * @see {@link GetPersonTrackingCommandInput} for command's `input` shape.
48
- * @see {@link GetPersonTrackingCommandOutput} for command's `response` shape.
49
- * @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
50
- *
51
- */
52
- var GetPersonTrackingCommand = /** @class */ (function (_super) {
6
+ var GetPersonTrackingCommand = (function (_super) {
53
7
  __extends(GetPersonTrackingCommand, _super);
54
- // Start section: command_properties
55
- // End section: command_properties
56
8
  function GetPersonTrackingCommand(input) {
57
- var _this =
58
- // Start section: command_constructor
59
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
60
10
  _this.input = input;
61
11
  return _this;
62
- // End section: command_constructor
63
12
  }
64
- /**
65
- * @internal
66
- */
67
13
  GetPersonTrackingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
68
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"GetPersonTrackingCommand.js","sourceRoot":"","sources":["../../../commands/GetPersonTrackingCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACzF,O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AE,wBAAwB,CAAC,kBAAkB;YACpE,wBAAwB,EAAE,yBAAyB,CAAC,kBAAkB;SACvE,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,4CAAS,GAAjB,UAAkB,KAAoC,EAAE,OAAuB;QAC7E,OAAO,4CAA4C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAEO,8CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,8CAA8C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAIH,+BAAC;AAAD,CAAC,AAtDD,CAA8C,QAAQ,GAsDrD"}
@@ -3,60 +3,13 @@ import { GetSegmentDetectionRequest, GetSegmentDetectionResponse } from "../mode
3
3
  import { deserializeAws_json1_1GetSegmentDetectionCommand, serializeAws_json1_1GetSegmentDetectionCommand, } 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 the segment detection results of a Amazon Rekognition Video analysis started by <a>StartSegmentDetection</a>.</p>
8
- * <p>Segment detection with Amazon Rekognition Video is an asynchronous operation. You start segment detection by
9
- * calling <a>StartSegmentDetection</a> which returns a job identifier (<code>JobId</code>).
10
- * When the segment detection operation finishes, Amazon Rekognition publishes a completion status to the Amazon Simple Notification Service
11
- * topic registered in the initial call to <code>StartSegmentDetection</code>. To get the results
12
- * of the segment detection operation, first check that the status value published to the Amazon SNS topic is <code>SUCCEEDED</code>.
13
- * if so, call <code>GetSegmentDetection</code> and pass the job identifier (<code>JobId</code>) from the initial call
14
- * of <code>StartSegmentDetection</code>.</p>
15
- * <p>
16
- * <code>GetSegmentDetection</code> returns detected segments in an array (<code>Segments</code>)
17
- * of <a>SegmentDetection</a> objects. <code>Segments</code> is sorted by the segment types
18
- * specified in the <code>SegmentTypes</code> input parameter of <code>StartSegmentDetection</code>.
19
- * Each element of the array includes the detected segment, the precentage confidence in the acuracy
20
- * of the detected segment, the type of the segment, and the frame in which the segment was detected.</p>
21
- * <p>Use <code>SelectedSegmentTypes</code> to find out the type of segment detection requested in the
22
- * call to <code>StartSegmentDetection</code>.</p>
23
- * <p>Use the <code>MaxResults</code> parameter to limit the number of segment detections returned. If there are more results than
24
- * specified in <code>MaxResults</code>, the value of <code>NextToken</code> in the operation response contains
25
- * a pagination token for getting the next set of results. To get the next page of results, call <code>GetSegmentDetection</code>
26
- * and populate the <code>NextToken</code> request parameter with the token value returned from the previous
27
- * call to <code>GetSegmentDetection</code>.</p>
28
- *
29
- * <p>For more information, see Detecting Video Segments in Stored Video in the Amazon Rekognition Developer Guide.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { RekognitionClient, GetSegmentDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
34
- * // const { RekognitionClient, GetSegmentDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
35
- * const client = new RekognitionClient(config);
36
- * const command = new GetSegmentDetectionCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link GetSegmentDetectionCommandInput} for command's `input` shape.
41
- * @see {@link GetSegmentDetectionCommandOutput} for command's `response` shape.
42
- * @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- var GetSegmentDetectionCommand = /** @class */ (function (_super) {
6
+ var GetSegmentDetectionCommand = (function (_super) {
46
7
  __extends(GetSegmentDetectionCommand, _super);
47
- // Start section: command_properties
48
- // End section: command_properties
49
8
  function GetSegmentDetectionCommand(input) {
50
- var _this =
51
- // Start section: command_constructor
52
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
53
10
  _this.input = input;
54
11
  return _this;
55
- // End section: command_constructor
56
12
  }
57
- /**
58
- * @internal
59
- */
60
13
  GetSegmentDetectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
61
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
62
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"GetSegmentDetectionCommand.js","sourceRoot":"","sources":["../../../commands/GetSegmentDetectionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,gDAAgD,EAChD,8CAA8C,GAC/C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH;IAAgD,8CAI/C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,oCAAqB,KAAsC;QAA3D;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAiC;;QAGzD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,sDAAiB,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,4BAA4B,CA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9B,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,4BAA4B,CAAC;QACjD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,0BAA0B,CAAC,kBAAkB;YACtE,wBAAwB,EAAE,2BAA2B,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,56 +3,13 @@ import { GetTextDetectionRequest, GetTextDetectionResponse } from "../models/mod
3
3
  import { deserializeAws_json1_1GetTextDetectionCommand, serializeAws_json1_1GetTextDetectionCommand, } 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 the text detection results of a Amazon Rekognition Video analysis started by <a>StartTextDetection</a>.</p>
8
- * <p>Text detection with Amazon Rekognition Video is an asynchronous operation. You start text detection by
9
- * calling <a>StartTextDetection</a> which returns a job identifier (<code>JobId</code>)
10
- * When the text detection operation finishes, Amazon Rekognition publishes a completion status to the Amazon Simple Notification Service
11
- * topic registered in the initial call to <code>StartTextDetection</code>. To get the results
12
- * of the text detection operation, first check that the status value published to the Amazon SNS topic is <code>SUCCEEDED</code>.
13
- * if so, call <code>GetTextDetection</code> and pass the job identifier (<code>JobId</code>) from the initial call
14
- * of <code>StartLabelDetection</code>.</p>
15
- * <p>
16
- * <code>GetTextDetection</code> returns an array of detected text (<code>TextDetections</code>) sorted by
17
- * the time the text was detected, up to 50 words per frame of video.</p>
18
- * <p>Each element of the array includes the detected text, the precentage confidence in the acuracy
19
- * of the detected text, the time the text was detected, bounding box information for where the text
20
- * was located, and unique identifiers for words and their lines.</p>
21
- * <p>Use MaxResults parameter to limit the number of text detections returned. If there are more results than
22
- * specified in <code>MaxResults</code>, the value of <code>NextToken</code> in the operation response contains
23
- * a pagination token for getting the next set of results. To get the next page of results, call <code>GetTextDetection</code>
24
- * and populate the <code>NextToken</code> request parameter with the token value returned from the previous
25
- * call to <code>GetTextDetection</code>.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { RekognitionClient, GetTextDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
30
- * // const { RekognitionClient, GetTextDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
31
- * const client = new RekognitionClient(config);
32
- * const command = new GetTextDetectionCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetTextDetectionCommandInput} for command's `input` shape.
37
- * @see {@link GetTextDetectionCommandOutput} for command's `response` shape.
38
- * @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- var GetTextDetectionCommand = /** @class */ (function (_super) {
6
+ var GetTextDetectionCommand = (function (_super) {
42
7
  __extends(GetTextDetectionCommand, _super);
43
- // Start section: command_properties
44
- // End section: command_properties
45
8
  function GetTextDetectionCommand(input) {
46
- var _this =
47
- // Start section: command_constructor
48
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
49
10
  _this.input = input;
50
11
  return _this;
51
- // End section: command_constructor
52
12
  }
53
- /**
54
- * @internal
55
- */
56
13
  GetTextDetectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
57
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
58
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"GetTextDetectionCommand.js","sourceRoot":"","sources":["../../../commands/GetTextDetectionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EACL,6CAA6C,EAC7C,2CAA2C,GAC5C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH;IAA6C,2CAI5C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,iCAAqB,KAAmC;QAAxD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA8B;;QAGtD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,mDAAiB,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,C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