@aws-sdk/client-mturk 3.35.0 → 3.38.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 (367) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/MTurk.js +0 -4
  3. package/dist-cjs/MTurkClient.js +0 -9
  4. package/dist-cjs/commands/AcceptQualificationRequestCommand.js +0 -34
  5. package/dist-cjs/commands/ApproveAssignmentCommand.js +0 -54
  6. package/dist-cjs/commands/AssociateQualificationWithWorkerCommand.js +0 -45
  7. package/dist-cjs/commands/CreateAdditionalAssignmentsForHITCommand.js +0 -47
  8. package/dist-cjs/commands/CreateHITCommand.js +0 -41
  9. package/dist-cjs/commands/CreateHITTypeCommand.js +0 -30
  10. package/dist-cjs/commands/CreateHITWithHITTypeCommand.js +0 -42
  11. package/dist-cjs/commands/CreateQualificationTypeCommand.js +0 -31
  12. package/dist-cjs/commands/CreateWorkerBlockCommand.js +0 -25
  13. package/dist-cjs/commands/DeleteHITCommand.js +0 -60
  14. package/dist-cjs/commands/DeleteQualificationTypeCommand.js +0 -43
  15. package/dist-cjs/commands/DeleteWorkerBlockCommand.js +0 -25
  16. package/dist-cjs/commands/DisassociateQualificationFromWorkerCommand.js +0 -32
  17. package/dist-cjs/commands/GetAccountBalanceCommand.js +0 -27
  18. package/dist-cjs/commands/GetAssignmentCommand.js +0 -27
  19. package/dist-cjs/commands/GetFileUploadURLCommand.js +0 -42
  20. package/dist-cjs/commands/GetHITCommand.js +0 -27
  21. package/dist-cjs/commands/GetQualificationScoreCommand.js +0 -38
  22. package/dist-cjs/commands/GetQualificationTypeCommand.js +0 -27
  23. package/dist-cjs/commands/ListAssignmentsForHITCommand.js +0 -51
  24. package/dist-cjs/commands/ListBonusPaymentsCommand.js +0 -30
  25. package/dist-cjs/commands/ListHITsCommand.js +0 -31
  26. package/dist-cjs/commands/ListHITsForQualificationTypeCommand.js +0 -30
  27. package/dist-cjs/commands/ListQualificationRequestsCommand.js +0 -32
  28. package/dist-cjs/commands/ListQualificationTypesCommand.js +0 -30
  29. package/dist-cjs/commands/ListReviewPolicyResultsForHITCommand.js +0 -31
  30. package/dist-cjs/commands/ListReviewableHITsCommand.js +0 -28
  31. package/dist-cjs/commands/ListWorkerBlocksCommand.js +0 -25
  32. package/dist-cjs/commands/ListWorkersWithQualificationTypeCommand.js +0 -28
  33. package/dist-cjs/commands/NotifyWorkersCommand.js +0 -34
  34. package/dist-cjs/commands/RejectAssignmentCommand.js +0 -37
  35. package/dist-cjs/commands/RejectQualificationRequestCommand.js +0 -31
  36. package/dist-cjs/commands/SendBonusCommand.js +0 -38
  37. package/dist-cjs/commands/SendTestEventNotificationCommand.js +0 -31
  38. package/dist-cjs/commands/UpdateExpirationForHITCommand.js +0 -28
  39. package/dist-cjs/commands/UpdateHITReviewStatusCommand.js +0 -29
  40. package/dist-cjs/commands/UpdateHITTypeOfHITCommand.js +0 -32
  41. package/dist-cjs/commands/UpdateNotificationSettingsCommand.js +0 -36
  42. package/dist-cjs/commands/UpdateQualificationTypeCommand.js +0 -57
  43. package/dist-cjs/commands/index.js +42 -0
  44. package/dist-cjs/endpoints.js +1 -2
  45. package/dist-cjs/index.js +4 -53
  46. package/dist-cjs/models/index.js +0 -1
  47. package/dist-cjs/models/models_0.js +0 -295
  48. package/dist-cjs/pagination/Interfaces.js +0 -1
  49. package/dist-cjs/pagination/ListAssignmentsForHITPaginator.js +0 -11
  50. package/dist-cjs/pagination/ListBonusPaymentsPaginator.js +0 -11
  51. package/dist-cjs/pagination/ListHITsForQualificationTypePaginator.js +0 -11
  52. package/dist-cjs/pagination/ListHITsPaginator.js +0 -11
  53. package/dist-cjs/pagination/ListQualificationRequestsPaginator.js +0 -11
  54. package/dist-cjs/pagination/ListQualificationTypesPaginator.js +0 -11
  55. package/dist-cjs/pagination/ListReviewPolicyResultsForHITPaginator.js +0 -11
  56. package/dist-cjs/pagination/ListReviewableHITsPaginator.js +0 -11
  57. package/dist-cjs/pagination/ListWorkerBlocksPaginator.js +0 -11
  58. package/dist-cjs/pagination/ListWorkersWithQualificationTypePaginator.js +0 -11
  59. package/dist-cjs/pagination/index.js +14 -0
  60. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  61. package/dist-cjs/runtimeConfig.browser.js +1 -6
  62. package/dist-cjs/runtimeConfig.js +2 -7
  63. package/dist-cjs/runtimeConfig.native.js +0 -4
  64. package/dist-cjs/runtimeConfig.shared.js +0 -4
  65. package/dist-es/MTurk.js +0 -1
  66. package/dist-es/MTurkClient.js +0 -1
  67. package/dist-es/commands/AcceptQualificationRequestCommand.js +0 -1
  68. package/dist-es/commands/ApproveAssignmentCommand.js +0 -1
  69. package/dist-es/commands/AssociateQualificationWithWorkerCommand.js +0 -1
  70. package/dist-es/commands/CreateAdditionalAssignmentsForHITCommand.js +0 -1
  71. package/dist-es/commands/CreateHITCommand.js +0 -1
  72. package/dist-es/commands/CreateHITTypeCommand.js +0 -1
  73. package/dist-es/commands/CreateHITWithHITTypeCommand.js +0 -1
  74. package/dist-es/commands/CreateQualificationTypeCommand.js +0 -1
  75. package/dist-es/commands/CreateWorkerBlockCommand.js +0 -1
  76. package/dist-es/commands/DeleteHITCommand.js +0 -1
  77. package/dist-es/commands/DeleteQualificationTypeCommand.js +0 -1
  78. package/dist-es/commands/DeleteWorkerBlockCommand.js +0 -1
  79. package/dist-es/commands/DisassociateQualificationFromWorkerCommand.js +0 -1
  80. package/dist-es/commands/GetAccountBalanceCommand.js +0 -1
  81. package/dist-es/commands/GetAssignmentCommand.js +0 -1
  82. package/dist-es/commands/GetFileUploadURLCommand.js +0 -1
  83. package/dist-es/commands/GetHITCommand.js +0 -1
  84. package/dist-es/commands/GetQualificationScoreCommand.js +0 -1
  85. package/dist-es/commands/GetQualificationTypeCommand.js +0 -1
  86. package/dist-es/commands/ListAssignmentsForHITCommand.js +0 -1
  87. package/dist-es/commands/ListBonusPaymentsCommand.js +0 -1
  88. package/dist-es/commands/ListHITsCommand.js +0 -1
  89. package/dist-es/commands/ListHITsForQualificationTypeCommand.js +0 -1
  90. package/dist-es/commands/ListQualificationRequestsCommand.js +0 -1
  91. package/dist-es/commands/ListQualificationTypesCommand.js +0 -1
  92. package/dist-es/commands/ListReviewPolicyResultsForHITCommand.js +0 -1
  93. package/dist-es/commands/ListReviewableHITsCommand.js +0 -1
  94. package/dist-es/commands/ListWorkerBlocksCommand.js +0 -1
  95. package/dist-es/commands/ListWorkersWithQualificationTypeCommand.js +0 -1
  96. package/dist-es/commands/NotifyWorkersCommand.js +0 -1
  97. package/dist-es/commands/RejectAssignmentCommand.js +0 -1
  98. package/dist-es/commands/RejectQualificationRequestCommand.js +0 -1
  99. package/dist-es/commands/SendBonusCommand.js +0 -1
  100. package/dist-es/commands/SendTestEventNotificationCommand.js +0 -1
  101. package/dist-es/commands/UpdateExpirationForHITCommand.js +0 -1
  102. package/dist-es/commands/UpdateHITReviewStatusCommand.js +0 -1
  103. package/dist-es/commands/UpdateHITTypeOfHITCommand.js +0 -1
  104. package/dist-es/commands/UpdateNotificationSettingsCommand.js +0 -1
  105. package/dist-es/commands/UpdateQualificationTypeCommand.js +0 -1
  106. package/dist-es/commands/index.js +39 -0
  107. package/dist-es/endpoints.js +1 -2
  108. package/dist-es/index.js +4 -53
  109. package/dist-es/models/index.js +0 -1
  110. package/dist-es/models/models_0.js +0 -1
  111. package/dist-es/pagination/Interfaces.js +0 -1
  112. package/dist-es/pagination/ListAssignmentsForHITPaginator.js +0 -1
  113. package/dist-es/pagination/ListBonusPaymentsPaginator.js +0 -1
  114. package/dist-es/pagination/ListHITsForQualificationTypePaginator.js +0 -1
  115. package/dist-es/pagination/ListHITsPaginator.js +0 -1
  116. package/dist-es/pagination/ListQualificationRequestsPaginator.js +0 -1
  117. package/dist-es/pagination/ListQualificationTypesPaginator.js +0 -1
  118. package/dist-es/pagination/ListReviewPolicyResultsForHITPaginator.js +0 -1
  119. package/dist-es/pagination/ListReviewableHITsPaginator.js +0 -1
  120. package/dist-es/pagination/ListWorkerBlocksPaginator.js +0 -1
  121. package/dist-es/pagination/ListWorkersWithQualificationTypePaginator.js +0 -1
  122. package/dist-es/pagination/index.js +11 -0
  123. package/dist-es/protocols/Aws_json1_1.js +0 -1
  124. package/dist-es/runtimeConfig.browser.js +1 -2
  125. package/dist-es/runtimeConfig.js +2 -3
  126. package/dist-es/runtimeConfig.native.js +0 -1
  127. package/dist-es/runtimeConfig.shared.js +0 -1
  128. package/dist-types/commands/index.d.ts +39 -0
  129. package/dist-types/index.d.ts +4 -52
  130. package/dist-types/pagination/index.d.ts +11 -0
  131. package/dist-types/ts3.4/MTurk.d.ts +40 -511
  132. package/dist-types/ts3.4/MTurkClient.d.ts +24 -89
  133. package/dist-types/ts3.4/commands/AcceptQualificationRequestCommand.d.ts +2 -29
  134. package/dist-types/ts3.4/commands/ApproveAssignmentCommand.d.ts +2 -49
  135. package/dist-types/ts3.4/commands/AssociateQualificationWithWorkerCommand.d.ts +2 -40
  136. package/dist-types/ts3.4/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +2 -42
  137. package/dist-types/ts3.4/commands/CreateHITCommand.d.ts +2 -36
  138. package/dist-types/ts3.4/commands/CreateHITTypeCommand.d.ts +2 -25
  139. package/dist-types/ts3.4/commands/CreateHITWithHITTypeCommand.d.ts +2 -37
  140. package/dist-types/ts3.4/commands/CreateQualificationTypeCommand.d.ts +2 -26
  141. package/dist-types/ts3.4/commands/CreateWorkerBlockCommand.d.ts +2 -20
  142. package/dist-types/ts3.4/commands/DeleteHITCommand.d.ts +2 -55
  143. package/dist-types/ts3.4/commands/DeleteQualificationTypeCommand.d.ts +2 -38
  144. package/dist-types/ts3.4/commands/DeleteWorkerBlockCommand.d.ts +2 -20
  145. package/dist-types/ts3.4/commands/DisassociateQualificationFromWorkerCommand.d.ts +2 -27
  146. package/dist-types/ts3.4/commands/GetAccountBalanceCommand.d.ts +2 -22
  147. package/dist-types/ts3.4/commands/GetAssignmentCommand.d.ts +2 -22
  148. package/dist-types/ts3.4/commands/GetFileUploadURLCommand.d.ts +2 -37
  149. package/dist-types/ts3.4/commands/GetHITCommand.d.ts +2 -22
  150. package/dist-types/ts3.4/commands/GetQualificationScoreCommand.d.ts +2 -33
  151. package/dist-types/ts3.4/commands/GetQualificationTypeCommand.d.ts +2 -22
  152. package/dist-types/ts3.4/commands/ListAssignmentsForHITCommand.d.ts +2 -46
  153. package/dist-types/ts3.4/commands/ListBonusPaymentsCommand.d.ts +2 -25
  154. package/dist-types/ts3.4/commands/ListHITsCommand.d.ts +2 -26
  155. package/dist-types/ts3.4/commands/ListHITsForQualificationTypeCommand.d.ts +2 -25
  156. package/dist-types/ts3.4/commands/ListQualificationRequestsCommand.d.ts +2 -27
  157. package/dist-types/ts3.4/commands/ListQualificationTypesCommand.d.ts +2 -25
  158. package/dist-types/ts3.4/commands/ListReviewPolicyResultsForHITCommand.d.ts +2 -26
  159. package/dist-types/ts3.4/commands/ListReviewableHITsCommand.d.ts +2 -23
  160. package/dist-types/ts3.4/commands/ListWorkerBlocksCommand.d.ts +2 -20
  161. package/dist-types/ts3.4/commands/ListWorkersWithQualificationTypeCommand.d.ts +2 -23
  162. package/dist-types/ts3.4/commands/NotifyWorkersCommand.d.ts +2 -29
  163. package/dist-types/ts3.4/commands/RejectAssignmentCommand.d.ts +2 -32
  164. package/dist-types/ts3.4/commands/RejectQualificationRequestCommand.d.ts +2 -26
  165. package/dist-types/ts3.4/commands/SendBonusCommand.d.ts +2 -33
  166. package/dist-types/ts3.4/commands/SendTestEventNotificationCommand.d.ts +2 -26
  167. package/dist-types/ts3.4/commands/UpdateExpirationForHITCommand.d.ts +2 -23
  168. package/dist-types/ts3.4/commands/UpdateHITReviewStatusCommand.d.ts +2 -24
  169. package/dist-types/ts3.4/commands/UpdateHITTypeOfHITCommand.d.ts +2 -27
  170. package/dist-types/ts3.4/commands/UpdateNotificationSettingsCommand.d.ts +2 -31
  171. package/dist-types/ts3.4/commands/UpdateQualificationTypeCommand.d.ts +2 -52
  172. package/dist-types/ts3.4/commands/index.d.ts +39 -0
  173. package/dist-types/ts3.4/index.d.ts +4 -52
  174. package/dist-types/ts3.4/models/models_0.d.ts +406 -1941
  175. package/dist-types/ts3.4/pagination/index.d.ts +11 -0
  176. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  177. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  178. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  179. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  180. package/package.json +33 -30
  181. package/dist-cjs/MTurk.js.map +0 -1
  182. package/dist-cjs/MTurkClient.js.map +0 -1
  183. package/dist-cjs/commands/AcceptQualificationRequestCommand.js.map +0 -1
  184. package/dist-cjs/commands/ApproveAssignmentCommand.js.map +0 -1
  185. package/dist-cjs/commands/AssociateQualificationWithWorkerCommand.js.map +0 -1
  186. package/dist-cjs/commands/CreateAdditionalAssignmentsForHITCommand.js.map +0 -1
  187. package/dist-cjs/commands/CreateHITCommand.js.map +0 -1
  188. package/dist-cjs/commands/CreateHITTypeCommand.js.map +0 -1
  189. package/dist-cjs/commands/CreateHITWithHITTypeCommand.js.map +0 -1
  190. package/dist-cjs/commands/CreateQualificationTypeCommand.js.map +0 -1
  191. package/dist-cjs/commands/CreateWorkerBlockCommand.js.map +0 -1
  192. package/dist-cjs/commands/DeleteHITCommand.js.map +0 -1
  193. package/dist-cjs/commands/DeleteQualificationTypeCommand.js.map +0 -1
  194. package/dist-cjs/commands/DeleteWorkerBlockCommand.js.map +0 -1
  195. package/dist-cjs/commands/DisassociateQualificationFromWorkerCommand.js.map +0 -1
  196. package/dist-cjs/commands/GetAccountBalanceCommand.js.map +0 -1
  197. package/dist-cjs/commands/GetAssignmentCommand.js.map +0 -1
  198. package/dist-cjs/commands/GetFileUploadURLCommand.js.map +0 -1
  199. package/dist-cjs/commands/GetHITCommand.js.map +0 -1
  200. package/dist-cjs/commands/GetQualificationScoreCommand.js.map +0 -1
  201. package/dist-cjs/commands/GetQualificationTypeCommand.js.map +0 -1
  202. package/dist-cjs/commands/ListAssignmentsForHITCommand.js.map +0 -1
  203. package/dist-cjs/commands/ListBonusPaymentsCommand.js.map +0 -1
  204. package/dist-cjs/commands/ListHITsCommand.js.map +0 -1
  205. package/dist-cjs/commands/ListHITsForQualificationTypeCommand.js.map +0 -1
  206. package/dist-cjs/commands/ListQualificationRequestsCommand.js.map +0 -1
  207. package/dist-cjs/commands/ListQualificationTypesCommand.js.map +0 -1
  208. package/dist-cjs/commands/ListReviewPolicyResultsForHITCommand.js.map +0 -1
  209. package/dist-cjs/commands/ListReviewableHITsCommand.js.map +0 -1
  210. package/dist-cjs/commands/ListWorkerBlocksCommand.js.map +0 -1
  211. package/dist-cjs/commands/ListWorkersWithQualificationTypeCommand.js.map +0 -1
  212. package/dist-cjs/commands/NotifyWorkersCommand.js.map +0 -1
  213. package/dist-cjs/commands/RejectAssignmentCommand.js.map +0 -1
  214. package/dist-cjs/commands/RejectQualificationRequestCommand.js.map +0 -1
  215. package/dist-cjs/commands/SendBonusCommand.js.map +0 -1
  216. package/dist-cjs/commands/SendTestEventNotificationCommand.js.map +0 -1
  217. package/dist-cjs/commands/UpdateExpirationForHITCommand.js.map +0 -1
  218. package/dist-cjs/commands/UpdateHITReviewStatusCommand.js.map +0 -1
  219. package/dist-cjs/commands/UpdateHITTypeOfHITCommand.js.map +0 -1
  220. package/dist-cjs/commands/UpdateNotificationSettingsCommand.js.map +0 -1
  221. package/dist-cjs/commands/UpdateQualificationTypeCommand.js.map +0 -1
  222. package/dist-cjs/endpoints.js.map +0 -1
  223. package/dist-cjs/index.js.map +0 -1
  224. package/dist-cjs/models/index.js.map +0 -1
  225. package/dist-cjs/models/models_0.js.map +0 -1
  226. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  227. package/dist-cjs/pagination/ListAssignmentsForHITPaginator.js.map +0 -1
  228. package/dist-cjs/pagination/ListBonusPaymentsPaginator.js.map +0 -1
  229. package/dist-cjs/pagination/ListHITsForQualificationTypePaginator.js.map +0 -1
  230. package/dist-cjs/pagination/ListHITsPaginator.js.map +0 -1
  231. package/dist-cjs/pagination/ListQualificationRequestsPaginator.js.map +0 -1
  232. package/dist-cjs/pagination/ListQualificationTypesPaginator.js.map +0 -1
  233. package/dist-cjs/pagination/ListReviewPolicyResultsForHITPaginator.js.map +0 -1
  234. package/dist-cjs/pagination/ListReviewableHITsPaginator.js.map +0 -1
  235. package/dist-cjs/pagination/ListWorkerBlocksPaginator.js.map +0 -1
  236. package/dist-cjs/pagination/ListWorkersWithQualificationTypePaginator.js.map +0 -1
  237. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  238. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  239. package/dist-cjs/runtimeConfig.js.map +0 -1
  240. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  241. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  242. package/dist-es/MTurk.js.map +0 -1
  243. package/dist-es/MTurkClient.js.map +0 -1
  244. package/dist-es/commands/AcceptQualificationRequestCommand.js.map +0 -1
  245. package/dist-es/commands/ApproveAssignmentCommand.js.map +0 -1
  246. package/dist-es/commands/AssociateQualificationWithWorkerCommand.js.map +0 -1
  247. package/dist-es/commands/CreateAdditionalAssignmentsForHITCommand.js.map +0 -1
  248. package/dist-es/commands/CreateHITCommand.js.map +0 -1
  249. package/dist-es/commands/CreateHITTypeCommand.js.map +0 -1
  250. package/dist-es/commands/CreateHITWithHITTypeCommand.js.map +0 -1
  251. package/dist-es/commands/CreateQualificationTypeCommand.js.map +0 -1
  252. package/dist-es/commands/CreateWorkerBlockCommand.js.map +0 -1
  253. package/dist-es/commands/DeleteHITCommand.js.map +0 -1
  254. package/dist-es/commands/DeleteQualificationTypeCommand.js.map +0 -1
  255. package/dist-es/commands/DeleteWorkerBlockCommand.js.map +0 -1
  256. package/dist-es/commands/DisassociateQualificationFromWorkerCommand.js.map +0 -1
  257. package/dist-es/commands/GetAccountBalanceCommand.js.map +0 -1
  258. package/dist-es/commands/GetAssignmentCommand.js.map +0 -1
  259. package/dist-es/commands/GetFileUploadURLCommand.js.map +0 -1
  260. package/dist-es/commands/GetHITCommand.js.map +0 -1
  261. package/dist-es/commands/GetQualificationScoreCommand.js.map +0 -1
  262. package/dist-es/commands/GetQualificationTypeCommand.js.map +0 -1
  263. package/dist-es/commands/ListAssignmentsForHITCommand.js.map +0 -1
  264. package/dist-es/commands/ListBonusPaymentsCommand.js.map +0 -1
  265. package/dist-es/commands/ListHITsCommand.js.map +0 -1
  266. package/dist-es/commands/ListHITsForQualificationTypeCommand.js.map +0 -1
  267. package/dist-es/commands/ListQualificationRequestsCommand.js.map +0 -1
  268. package/dist-es/commands/ListQualificationTypesCommand.js.map +0 -1
  269. package/dist-es/commands/ListReviewPolicyResultsForHITCommand.js.map +0 -1
  270. package/dist-es/commands/ListReviewableHITsCommand.js.map +0 -1
  271. package/dist-es/commands/ListWorkerBlocksCommand.js.map +0 -1
  272. package/dist-es/commands/ListWorkersWithQualificationTypeCommand.js.map +0 -1
  273. package/dist-es/commands/NotifyWorkersCommand.js.map +0 -1
  274. package/dist-es/commands/RejectAssignmentCommand.js.map +0 -1
  275. package/dist-es/commands/RejectQualificationRequestCommand.js.map +0 -1
  276. package/dist-es/commands/SendBonusCommand.js.map +0 -1
  277. package/dist-es/commands/SendTestEventNotificationCommand.js.map +0 -1
  278. package/dist-es/commands/UpdateExpirationForHITCommand.js.map +0 -1
  279. package/dist-es/commands/UpdateHITReviewStatusCommand.js.map +0 -1
  280. package/dist-es/commands/UpdateHITTypeOfHITCommand.js.map +0 -1
  281. package/dist-es/commands/UpdateNotificationSettingsCommand.js.map +0 -1
  282. package/dist-es/commands/UpdateQualificationTypeCommand.js.map +0 -1
  283. package/dist-es/endpoints.js.map +0 -1
  284. package/dist-es/index.js.map +0 -1
  285. package/dist-es/models/index.js.map +0 -1
  286. package/dist-es/models/models_0.js.map +0 -1
  287. package/dist-es/pagination/Interfaces.js.map +0 -1
  288. package/dist-es/pagination/ListAssignmentsForHITPaginator.js.map +0 -1
  289. package/dist-es/pagination/ListBonusPaymentsPaginator.js.map +0 -1
  290. package/dist-es/pagination/ListHITsForQualificationTypePaginator.js.map +0 -1
  291. package/dist-es/pagination/ListHITsPaginator.js.map +0 -1
  292. package/dist-es/pagination/ListQualificationRequestsPaginator.js.map +0 -1
  293. package/dist-es/pagination/ListQualificationTypesPaginator.js.map +0 -1
  294. package/dist-es/pagination/ListReviewPolicyResultsForHITPaginator.js.map +0 -1
  295. package/dist-es/pagination/ListReviewableHITsPaginator.js.map +0 -1
  296. package/dist-es/pagination/ListWorkerBlocksPaginator.js.map +0 -1
  297. package/dist-es/pagination/ListWorkersWithQualificationTypePaginator.js.map +0 -1
  298. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  299. package/dist-es/runtimeConfig.browser.js.map +0 -1
  300. package/dist-es/runtimeConfig.js.map +0 -1
  301. package/dist-es/runtimeConfig.native.js.map +0 -1
  302. package/dist-es/runtimeConfig.shared.js.map +0 -1
  303. package/jest.config.js +0 -4
  304. package/src/MTurk.ts +0 -1792
  305. package/src/MTurkClient.ts +0 -416
  306. package/src/commands/AcceptQualificationRequestCommand.ts +0 -107
  307. package/src/commands/ApproveAssignmentCommand.ts +0 -124
  308. package/src/commands/AssociateQualificationWithWorkerCommand.ts +0 -123
  309. package/src/commands/CreateAdditionalAssignmentsForHITCommand.ts +0 -128
  310. package/src/commands/CreateHITCommand.ts +0 -108
  311. package/src/commands/CreateHITTypeCommand.ts +0 -100
  312. package/src/commands/CreateHITWithHITTypeCommand.ts +0 -112
  313. package/src/commands/CreateQualificationTypeCommand.ts +0 -101
  314. package/src/commands/CreateWorkerBlockCommand.ts +0 -95
  315. package/src/commands/DeleteHITCommand.ts +0 -127
  316. package/src/commands/DeleteQualificationTypeCommand.ts +0 -113
  317. package/src/commands/DeleteWorkerBlockCommand.ts +0 -95
  318. package/src/commands/DisassociateQualificationFromWorkerCommand.ts +0 -113
  319. package/src/commands/GetAccountBalanceCommand.ts +0 -97
  320. package/src/commands/GetAssignmentCommand.ts +0 -97
  321. package/src/commands/GetFileUploadURLCommand.ts +0 -112
  322. package/src/commands/GetHITCommand.ts +0 -90
  323. package/src/commands/GetQualificationScoreCommand.ts +0 -108
  324. package/src/commands/GetQualificationTypeCommand.ts +0 -97
  325. package/src/commands/ListAssignmentsForHITCommand.ts +0 -121
  326. package/src/commands/ListBonusPaymentsCommand.ts +0 -100
  327. package/src/commands/ListHITsCommand.ts +0 -94
  328. package/src/commands/ListHITsForQualificationTypeCommand.ts +0 -105
  329. package/src/commands/ListQualificationRequestsCommand.ts +0 -105
  330. package/src/commands/ListQualificationTypesCommand.ts +0 -100
  331. package/src/commands/ListReviewPolicyResultsForHITCommand.ts +0 -106
  332. package/src/commands/ListReviewableHITsCommand.ts +0 -98
  333. package/src/commands/ListWorkerBlocksCommand.ts +0 -95
  334. package/src/commands/ListWorkersWithQualificationTypeCommand.ts +0 -106
  335. package/src/commands/NotifyWorkersCommand.ts +0 -104
  336. package/src/commands/RejectAssignmentCommand.ts +0 -107
  337. package/src/commands/RejectQualificationRequestCommand.ts +0 -104
  338. package/src/commands/SendBonusCommand.ts +0 -105
  339. package/src/commands/SendTestEventNotificationCommand.ts +0 -104
  340. package/src/commands/UpdateExpirationForHITCommand.ts +0 -98
  341. package/src/commands/UpdateHITReviewStatusCommand.ts +0 -99
  342. package/src/commands/UpdateHITTypeOfHITCommand.ts +0 -102
  343. package/src/commands/UpdateNotificationSettingsCommand.ts +0 -109
  344. package/src/commands/UpdateQualificationTypeCommand.ts +0 -127
  345. package/src/endpoints.ts +0 -62
  346. package/src/index.ts +0 -53
  347. package/src/models/index.ts +0 -1
  348. package/src/models/models_0.ts +0 -3412
  349. package/src/pagination/Interfaces.ts +0 -8
  350. package/src/pagination/ListAssignmentsForHITPaginator.ts +0 -59
  351. package/src/pagination/ListBonusPaymentsPaginator.ts +0 -59
  352. package/src/pagination/ListHITsForQualificationTypePaginator.ts +0 -59
  353. package/src/pagination/ListHITsPaginator.ts +0 -55
  354. package/src/pagination/ListQualificationRequestsPaginator.ts +0 -59
  355. package/src/pagination/ListQualificationTypesPaginator.ts +0 -59
  356. package/src/pagination/ListReviewPolicyResultsForHITPaginator.ts +0 -59
  357. package/src/pagination/ListReviewableHITsPaginator.ts +0 -59
  358. package/src/pagination/ListWorkerBlocksPaginator.ts +0 -59
  359. package/src/pagination/ListWorkersWithQualificationTypePaginator.ts +0 -59
  360. package/src/protocols/Aws_json1_1.ts +0 -4803
  361. package/src/runtimeConfig.browser.ts +0 -41
  362. package/src/runtimeConfig.native.ts +0 -17
  363. package/src/runtimeConfig.shared.ts +0 -17
  364. package/src/runtimeConfig.ts +0 -46
  365. package/tsconfig.es.json +0 -10
  366. package/tsconfig.json +0 -33
  367. package/tsconfig.types.json +0 -9
@@ -39,632 +39,161 @@ import { UpdateHITTypeOfHITCommandInput, UpdateHITTypeOfHITCommandOutput } from
39
39
  import { UpdateNotificationSettingsCommandInput, UpdateNotificationSettingsCommandOutput } from "./commands/UpdateNotificationSettingsCommand";
40
40
  import { UpdateQualificationTypeCommandInput, UpdateQualificationTypeCommandOutput } from "./commands/UpdateQualificationTypeCommand";
41
41
  import { MTurkClient } from "./MTurkClient";
42
- /**
43
- * <fullname>Amazon Mechanical Turk API Reference</fullname>
44
- */
42
+
45
43
  export declare class MTurk extends MTurkClient {
46
- /**
47
- * <p>
48
- * The <code>AcceptQualificationRequest</code> operation approves a Worker's request for a Qualification.
49
- * </p>
50
- * <p>
51
- * Only the owner of the Qualification type can grant a Qualification request for that type.
52
- * </p>
53
- * <p>
54
- * A successful request for the <code>AcceptQualificationRequest</code> operation
55
- * returns with no errors and an empty body.
56
- * </p>
57
- */
44
+
58
45
  acceptQualificationRequest(args: AcceptQualificationRequestCommandInput, options?: __HttpHandlerOptions): Promise<AcceptQualificationRequestCommandOutput>;
59
46
  acceptQualificationRequest(args: AcceptQualificationRequestCommandInput, cb: (err: any, data?: AcceptQualificationRequestCommandOutput) => void): void;
60
47
  acceptQualificationRequest(args: AcceptQualificationRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptQualificationRequestCommandOutput) => void): void;
61
- /**
62
- * <p>
63
- * The <code>ApproveAssignment</code> operation approves the results of a completed assignment.
64
- * </p>
65
- * <p>
66
- * Approving an assignment initiates two payments from the Requester's Amazon.com account
67
- * </p>
68
- * <ul>
69
- * <li>
70
- * <p>
71
- * The Worker who submitted the results is paid the reward specified in the HIT.
72
- * </p>
73
- * </li>
74
- * <li>
75
- * <p>
76
- * Amazon Mechanical Turk fees are debited.
77
- * </p>
78
- * </li>
79
- * </ul>
80
- * <p>
81
- * If the Requester's account does not have adequate funds for these payments,
82
- * the call to ApproveAssignment returns an exception, and the approval is not processed.
83
- * You can include an optional feedback message with the approval,
84
- * which the Worker can see in the Status section of the web site.
85
- * </p>
86
- * <p>
87
- * You can also call this operation for assignments that were previous rejected
88
- * and approve them by explicitly overriding the previous rejection.
89
- * This only works on rejected assignments that were submitted within the previous 30 days
90
- * and only if the assignment's related HIT has not been deleted.
91
- * </p>
92
- */
48
+
93
49
  approveAssignment(args: ApproveAssignmentCommandInput, options?: __HttpHandlerOptions): Promise<ApproveAssignmentCommandOutput>;
94
50
  approveAssignment(args: ApproveAssignmentCommandInput, cb: (err: any, data?: ApproveAssignmentCommandOutput) => void): void;
95
51
  approveAssignment(args: ApproveAssignmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ApproveAssignmentCommandOutput) => void): void;
96
- /**
97
- * <p>
98
- * The <code>AssociateQualificationWithWorker</code> operation gives a Worker a
99
- * Qualification. <code>AssociateQualificationWithWorker</code> does not require that the Worker
100
- * submit a Qualification request. It gives the Qualification directly to the Worker.
101
- * </p>
102
- *
103
- * <p>
104
- * You can only assign a Qualification of a Qualification type that you created (using
105
- * the <code>CreateQualificationType</code> operation).
106
- * </p>
107
- *
108
- * <note>
109
- * <p>
110
- * Note: <code>AssociateQualificationWithWorker</code> does not affect any pending Qualification
111
- * requests for the Qualification by the Worker. If you assign a Qualification to a
112
- * Worker, then later grant a Qualification request made by the Worker, the granting of
113
- * the request may modify the Qualification score. To resolve a pending Qualification
114
- * request without affecting the Qualification the Worker already has, reject the
115
- * request with the <code>RejectQualificationRequest</code> operation.
116
- * </p>
117
- * </note>
118
- */
52
+
119
53
  associateQualificationWithWorker(args: AssociateQualificationWithWorkerCommandInput, options?: __HttpHandlerOptions): Promise<AssociateQualificationWithWorkerCommandOutput>;
120
54
  associateQualificationWithWorker(args: AssociateQualificationWithWorkerCommandInput, cb: (err: any, data?: AssociateQualificationWithWorkerCommandOutput) => void): void;
121
55
  associateQualificationWithWorker(args: AssociateQualificationWithWorkerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateQualificationWithWorkerCommandOutput) => void): void;
122
- /**
123
- * <p>
124
- * The
125
- * <code>CreateAdditionalAssignmentsForHIT</code>
126
- * operation increases the maximum number of assignments of an existing HIT.
127
- * </p>
128
- * <p>
129
- * To extend the maximum number of assignments, specify the number of additional assignments.</p>
130
- * <note>
131
- * <ul>
132
- * <li>
133
- * <p>HITs created with fewer than 10 assignments cannot be extended to have 10 or more assignments. Attempting to add assignments in a way that brings the total number of assignments for a HIT from fewer than 10 assignments to 10 or more
134
- * assignments will result in an
135
- * <code>AWS.MechanicalTurk.InvalidMaximumAssignmentsIncrease</code>
136
- * exception.</p>
137
- * </li>
138
- * <li>
139
- * <p>HITs that were created before July 22, 2015 cannot be extended. Attempting to extend HITs that were created before July 22, 2015 will result in an
140
- * <code>AWS.MechanicalTurk.HITTooOldForExtension</code>
141
- * exception.
142
- * </p>
143
- * </li>
144
- * </ul>
145
- * </note>
146
- */
56
+
147
57
  createAdditionalAssignmentsForHIT(args: CreateAdditionalAssignmentsForHITCommandInput, options?: __HttpHandlerOptions): Promise<CreateAdditionalAssignmentsForHITCommandOutput>;
148
58
  createAdditionalAssignmentsForHIT(args: CreateAdditionalAssignmentsForHITCommandInput, cb: (err: any, data?: CreateAdditionalAssignmentsForHITCommandOutput) => void): void;
149
59
  createAdditionalAssignmentsForHIT(args: CreateAdditionalAssignmentsForHITCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAdditionalAssignmentsForHITCommandOutput) => void): void;
150
- /**
151
- * <p>The <code>CreateHIT</code> operation creates a new Human Intelligence Task (HIT).
152
- * The new HIT is made available for Workers to find and accept on the Amazon Mechanical
153
- * Turk website. </p>
154
- * <p>
155
- * This operation allows you to specify a new HIT by passing in values for the properties of the HIT, such as its title, reward amount and number of assignments. When you pass these values to <code>CreateHIT</code>, a new HIT is created for you, with a new <code>HITTypeID</code>. The HITTypeID can be used to create additional HITs in the future without needing to specify common parameters such as the title, description and reward amount each time.</p>
156
- * <p> An alternative way to create HITs is to first generate a HITTypeID using the <code>CreateHITType</code> operation and then call the <code>CreateHITWithHITType</code> operation. This is the recommended best practice for Requesters who are creating large numbers of HITs.
157
- * </p>
158
- *
159
- * <p>CreateHIT also supports several ways to provide question data: by providing a value
160
- * for the <code>Question</code> parameter that fully specifies the contents of the HIT, or by providing
161
- * a <code>HitLayoutId</code> and associated <code>HitLayoutParameters</code>.
162
- * </p>
163
- *
164
- * <note>
165
- * <p> If a HIT is created with 10 or more maximum assignments, there is an additional fee. For more information, see
166
- * <a href="https://requester.mturk.com/pricing">Amazon Mechanical Turk Pricing</a>.</p>
167
- * </note>
168
- */
60
+
169
61
  createHIT(args: CreateHITCommandInput, options?: __HttpHandlerOptions): Promise<CreateHITCommandOutput>;
170
62
  createHIT(args: CreateHITCommandInput, cb: (err: any, data?: CreateHITCommandOutput) => void): void;
171
63
  createHIT(args: CreateHITCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHITCommandOutput) => void): void;
172
- /**
173
- * <p>
174
- * The <code>CreateHITType</code> operation creates a new HIT type. This operation
175
- * allows you to define a standard set of HIT properties to use when creating HITs.
176
- * If you register a HIT type with values that match an existing HIT type, the HIT type
177
- * ID of the existing type will be returned.
178
- * </p>
179
- */
64
+
180
65
  createHITType(args: CreateHITTypeCommandInput, options?: __HttpHandlerOptions): Promise<CreateHITTypeCommandOutput>;
181
66
  createHITType(args: CreateHITTypeCommandInput, cb: (err: any, data?: CreateHITTypeCommandOutput) => void): void;
182
67
  createHITType(args: CreateHITTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHITTypeCommandOutput) => void): void;
183
- /**
184
- * <p>
185
- * The <code>CreateHITWithHITType</code> operation creates a new Human Intelligence Task (HIT)
186
- * using an existing HITTypeID generated by the <code>CreateHITType</code> operation.
187
- * </p>
188
- * <p>
189
- * This is an alternative way to create HITs from the <code>CreateHIT</code> operation.
190
- * This is the recommended best practice for Requesters who are creating large numbers of HITs.
191
- * </p>
192
- * <p>CreateHITWithHITType also supports several ways to provide question data:
193
- * by providing a value for the <code>Question</code> parameter that fully specifies the contents of the HIT,
194
- * or by providing a <code>HitLayoutId</code> and associated <code>HitLayoutParameters</code>.
195
- * </p>
196
- * <note>
197
- * <p>
198
- * If a HIT is created with 10 or more maximum assignments, there is an additional fee.
199
- * For more information, see <a href="https://requester.mturk.com/pricing">Amazon Mechanical Turk Pricing</a>.
200
- * </p>
201
- * </note>
202
- */
68
+
203
69
  createHITWithHITType(args: CreateHITWithHITTypeCommandInput, options?: __HttpHandlerOptions): Promise<CreateHITWithHITTypeCommandOutput>;
204
70
  createHITWithHITType(args: CreateHITWithHITTypeCommandInput, cb: (err: any, data?: CreateHITWithHITTypeCommandOutput) => void): void;
205
71
  createHITWithHITType(args: CreateHITWithHITTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHITWithHITTypeCommandOutput) => void): void;
206
- /**
207
- * <p>
208
- * The
209
- * <code>CreateQualificationType</code>
210
- * operation creates a new Qualification type, which is represented by a
211
- * <code>QualificationType</code>
212
- * data structure.
213
- * </p>
214
- */
72
+
215
73
  createQualificationType(args: CreateQualificationTypeCommandInput, options?: __HttpHandlerOptions): Promise<CreateQualificationTypeCommandOutput>;
216
74
  createQualificationType(args: CreateQualificationTypeCommandInput, cb: (err: any, data?: CreateQualificationTypeCommandOutput) => void): void;
217
75
  createQualificationType(args: CreateQualificationTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateQualificationTypeCommandOutput) => void): void;
218
- /**
219
- * <p>The <code>CreateWorkerBlock</code> operation allows you to prevent a Worker from working on your HITs. For example, you can block a Worker who is producing poor quality work. You can block up to 100,000 Workers.</p>
220
- */
76
+
221
77
  createWorkerBlock(args: CreateWorkerBlockCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkerBlockCommandOutput>;
222
78
  createWorkerBlock(args: CreateWorkerBlockCommandInput, cb: (err: any, data?: CreateWorkerBlockCommandOutput) => void): void;
223
79
  createWorkerBlock(args: CreateWorkerBlockCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkerBlockCommandOutput) => void): void;
224
- /**
225
- * <p>
226
- * The <code>DeleteHIT</code> operation is used to delete HIT that is no longer needed.
227
- * Only the Requester who created the HIT can delete it.
228
- * </p>
229
- * <p>
230
- * You can only dispose of HITs that are in the <code>Reviewable</code> state,
231
- * with all of their submitted assignments already either approved or rejected.
232
- * If you call the DeleteHIT operation on a HIT that is not in the <code>Reviewable</code> state
233
- * (for example, that has not expired, or still has active assignments),
234
- * or on a HIT that is Reviewable but without all of its submitted assignments
235
- * already approved or rejected, the service will return an error.
236
- * </p>
237
- * <note>
238
- * <ul>
239
- * <li>
240
- * <p>
241
- * HITs are automatically disposed of after 120 days.
242
- * </p>
243
- * </li>
244
- * <li>
245
- * <p>
246
- * After you dispose of a HIT, you can no longer approve the HIT's rejected assignments.
247
- * </p>
248
- * </li>
249
- * <li>
250
- * <p>
251
- * Disposed HITs are not returned in results for the ListHITs operation.
252
- * </p>
253
- * </li>
254
- * <li>
255
- * <p>
256
- * Disposing HITs can improve the performance of operations such as ListReviewableHITs and ListHITs.
257
- * </p>
258
- * </li>
259
- * </ul>
260
- * </note>
261
- */
80
+
262
81
  deleteHIT(args: DeleteHITCommandInput, options?: __HttpHandlerOptions): Promise<DeleteHITCommandOutput>;
263
82
  deleteHIT(args: DeleteHITCommandInput, cb: (err: any, data?: DeleteHITCommandOutput) => void): void;
264
83
  deleteHIT(args: DeleteHITCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteHITCommandOutput) => void): void;
265
- /**
266
- * <p>
267
- * The
268
- * <code>DeleteQualificationType</code>
269
- * deletes a Qualification type and deletes any HIT types that are
270
- * associated with the Qualification type.
271
- * </p>
272
- * <p>This operation does not revoke Qualifications already assigned
273
- * to Workers because the Qualifications might be needed for active HITs.
274
- * If there are any pending requests for the Qualification type, Amazon
275
- * Mechanical Turk rejects those requests. After you delete a
276
- * Qualification type, you can no longer use it to create HITs or HIT
277
- * types.</p>
278
- * <note>
279
- * <p>DeleteQualificationType must wait for all the HITs that use
280
- * the deleted Qualification type to be deleted before completing. It
281
- * may take up to 48 hours before DeleteQualificationType completes and
282
- * the unique name of the Qualification type is available for reuse with
283
- * CreateQualificationType.</p>
284
- * </note>
285
- */
84
+
286
85
  deleteQualificationType(args: DeleteQualificationTypeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteQualificationTypeCommandOutput>;
287
86
  deleteQualificationType(args: DeleteQualificationTypeCommandInput, cb: (err: any, data?: DeleteQualificationTypeCommandOutput) => void): void;
288
87
  deleteQualificationType(args: DeleteQualificationTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteQualificationTypeCommandOutput) => void): void;
289
- /**
290
- * <p>The <code>DeleteWorkerBlock</code> operation allows you to reinstate a blocked Worker to work on your HITs. This operation reverses the effects of the CreateWorkerBlock operation. You need the Worker ID to use this operation. If the Worker ID is missing or invalid, this operation fails and returns the message “WorkerId is invalid.” If the specified Worker is not blocked, this operation returns successfully.</p>
291
- */
88
+
292
89
  deleteWorkerBlock(args: DeleteWorkerBlockCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkerBlockCommandOutput>;
293
90
  deleteWorkerBlock(args: DeleteWorkerBlockCommandInput, cb: (err: any, data?: DeleteWorkerBlockCommandOutput) => void): void;
294
91
  deleteWorkerBlock(args: DeleteWorkerBlockCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkerBlockCommandOutput) => void): void;
295
- /**
296
- * <p>
297
- * The <code>DisassociateQualificationFromWorker</code>
298
- * revokes a previously granted Qualification from a user.
299
- * </p>
300
- * <p>
301
- * You can provide a text message explaining why the Qualification was
302
- * revoked. The user who had the Qualification can see this message.
303
- * </p>
304
- */
92
+
305
93
  disassociateQualificationFromWorker(args: DisassociateQualificationFromWorkerCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateQualificationFromWorkerCommandOutput>;
306
94
  disassociateQualificationFromWorker(args: DisassociateQualificationFromWorkerCommandInput, cb: (err: any, data?: DisassociateQualificationFromWorkerCommandOutput) => void): void;
307
95
  disassociateQualificationFromWorker(args: DisassociateQualificationFromWorkerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateQualificationFromWorkerCommandOutput) => void): void;
308
- /**
309
- * <p>The <code>GetAccountBalance</code> operation retrieves the Prepaid HITs balance in your Amazon Mechanical Turk account if you are a Prepaid Requester.
310
- * Alternatively, this operation will retrieve the remaining available AWS Billing usage if you have enabled AWS Billing.
311
- * Note: If you have enabled AWS Billing and still have a remaining Prepaid HITs balance, this balance can be viewed on the My Account page in the Requester console.</p>
312
- */
96
+
313
97
  getAccountBalance(args: GetAccountBalanceCommandInput, options?: __HttpHandlerOptions): Promise<GetAccountBalanceCommandOutput>;
314
98
  getAccountBalance(args: GetAccountBalanceCommandInput, cb: (err: any, data?: GetAccountBalanceCommandOutput) => void): void;
315
99
  getAccountBalance(args: GetAccountBalanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountBalanceCommandOutput) => void): void;
316
- /**
317
- * <p>
318
- * The <code>GetAssignment</code> operation retrieves the details of the specified Assignment.
319
- * </p>
320
- */
100
+
321
101
  getAssignment(args: GetAssignmentCommandInput, options?: __HttpHandlerOptions): Promise<GetAssignmentCommandOutput>;
322
102
  getAssignment(args: GetAssignmentCommandInput, cb: (err: any, data?: GetAssignmentCommandOutput) => void): void;
323
103
  getAssignment(args: GetAssignmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssignmentCommandOutput) => void): void;
324
- /**
325
- * <p>
326
- * The
327
- * <code>GetFileUploadURL</code>
328
- * operation generates and returns a temporary URL. You use the
329
- * temporary URL to retrieve a file uploaded by a Worker as an answer to
330
- * a FileUploadAnswer question for a HIT. The temporary URL is generated
331
- * the instant the GetFileUploadURL operation is called, and is valid
332
- * for 60 seconds. You can get a temporary file upload URL any time
333
- * until the HIT is disposed. After the HIT is disposed, any uploaded
334
- * files are deleted, and cannot be retrieved.
335
- *
336
- * Pending Deprecation on December 12, 2017. The Answer Specification
337
- * structure will no longer support the <code>FileUploadAnswer</code>
338
- * element to be used for the QuestionForm data structure.
339
- * Instead, we recommend that Requesters who want to create HITs asking
340
- * Workers to upload files to use Amazon S3.
341
- *
342
- * </p>
343
- */
104
+
344
105
  getFileUploadURL(args: GetFileUploadURLCommandInput, options?: __HttpHandlerOptions): Promise<GetFileUploadURLCommandOutput>;
345
106
  getFileUploadURL(args: GetFileUploadURLCommandInput, cb: (err: any, data?: GetFileUploadURLCommandOutput) => void): void;
346
107
  getFileUploadURL(args: GetFileUploadURLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFileUploadURLCommandOutput) => void): void;
347
- /**
348
- * <p>
349
- * The <code>GetHIT</code> operation retrieves the details of the specified HIT.
350
- * </p>
351
- */
108
+
352
109
  getHIT(args: GetHITCommandInput, options?: __HttpHandlerOptions): Promise<GetHITCommandOutput>;
353
110
  getHIT(args: GetHITCommandInput, cb: (err: any, data?: GetHITCommandOutput) => void): void;
354
111
  getHIT(args: GetHITCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetHITCommandOutput) => void): void;
355
- /**
356
- * <p>
357
- * The
358
- * <code>GetQualificationScore</code>
359
- * operation returns the value of a Worker's Qualification for a given
360
- * Qualification type.
361
- * </p>
362
- * <p>
363
- * To get a Worker's Qualification, you must know the Worker's ID. The
364
- * Worker's ID is included in the assignment data returned by the
365
- * <code>ListAssignmentsForHIT</code>
366
- * operation.
367
- * </p>
368
- * <p>Only the owner of a Qualification type can query the value of
369
- * a Worker's Qualification of that type.</p>
370
- */
112
+
371
113
  getQualificationScore(args: GetQualificationScoreCommandInput, options?: __HttpHandlerOptions): Promise<GetQualificationScoreCommandOutput>;
372
114
  getQualificationScore(args: GetQualificationScoreCommandInput, cb: (err: any, data?: GetQualificationScoreCommandOutput) => void): void;
373
115
  getQualificationScore(args: GetQualificationScoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQualificationScoreCommandOutput) => void): void;
374
- /**
375
- * <p>
376
- * The <code>GetQualificationType</code>operation retrieves information about a Qualification type using its ID.
377
- * </p>
378
- */
116
+
379
117
  getQualificationType(args: GetQualificationTypeCommandInput, options?: __HttpHandlerOptions): Promise<GetQualificationTypeCommandOutput>;
380
118
  getQualificationType(args: GetQualificationTypeCommandInput, cb: (err: any, data?: GetQualificationTypeCommandOutput) => void): void;
381
119
  getQualificationType(args: GetQualificationTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQualificationTypeCommandOutput) => void): void;
382
- /**
383
- * <p>
384
- * The
385
- * <code>ListAssignmentsForHIT</code>
386
- * operation retrieves completed assignments for a HIT. You can use this
387
- * operation to retrieve the results for a HIT.
388
- * </p>
389
- * <p> You can get assignments for a HIT at any time, even if the
390
- * HIT is not yet Reviewable. If a HIT requested multiple assignments,
391
- * and has received some results but has not yet become Reviewable, you
392
- * can still retrieve the partial results with this operation.
393
- * </p>
394
- * <p> Use the AssignmentStatus parameter to control which set of
395
- * assignments for a HIT are returned. The ListAssignmentsForHIT
396
- * operation
397
- * can return submitted assignments awaiting approval, or it can return
398
- * assignments that have already been approved or rejected. You can set
399
- * AssignmentStatus=Approved,Rejected to get assignments that have
400
- * already been approved and rejected together in one result set.
401
- * </p>
402
- * <p> Only the Requester who created the HIT can retrieve the
403
- * assignments for that HIT.
404
- * </p>
405
- * <p> Results are sorted and divided into numbered pages and the
406
- * operation returns a single page of results. You can use the
407
- * parameters
408
- * of the operation to control sorting and pagination.
409
- * </p>
410
- */
120
+
411
121
  listAssignmentsForHIT(args: ListAssignmentsForHITCommandInput, options?: __HttpHandlerOptions): Promise<ListAssignmentsForHITCommandOutput>;
412
122
  listAssignmentsForHIT(args: ListAssignmentsForHITCommandInput, cb: (err: any, data?: ListAssignmentsForHITCommandOutput) => void): void;
413
123
  listAssignmentsForHIT(args: ListAssignmentsForHITCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssignmentsForHITCommandOutput) => void): void;
414
- /**
415
- * <p>
416
- * The
417
- * <code>ListBonusPayments</code>
418
- * operation retrieves the amounts of bonuses you have paid to Workers
419
- * for a given HIT or assignment.
420
- * </p>
421
- */
124
+
422
125
  listBonusPayments(args: ListBonusPaymentsCommandInput, options?: __HttpHandlerOptions): Promise<ListBonusPaymentsCommandOutput>;
423
126
  listBonusPayments(args: ListBonusPaymentsCommandInput, cb: (err: any, data?: ListBonusPaymentsCommandOutput) => void): void;
424
127
  listBonusPayments(args: ListBonusPaymentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBonusPaymentsCommandOutput) => void): void;
425
- /**
426
- * <p>
427
- * The
428
- * <code>ListHITs</code>
429
- * operation returns all of a Requester's HITs. The operation returns
430
- * HITs of any status, except for HITs that have been deleted of with
431
- * the DeleteHIT operation or that have been auto-deleted.
432
- * </p>
433
- */
128
+
434
129
  listHITs(args: ListHITsCommandInput, options?: __HttpHandlerOptions): Promise<ListHITsCommandOutput>;
435
130
  listHITs(args: ListHITsCommandInput, cb: (err: any, data?: ListHITsCommandOutput) => void): void;
436
131
  listHITs(args: ListHITsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHITsCommandOutput) => void): void;
437
- /**
438
- * <p>
439
- * The <code>ListHITsForQualificationType</code> operation returns the HITs that use
440
- * the given Qualification type for a Qualification requirement.
441
- * The operation returns HITs of any status, except for HITs that have been deleted
442
- * with the <code>DeleteHIT</code> operation or that have been auto-deleted.
443
- * </p>
444
- */
132
+
445
133
  listHITsForQualificationType(args: ListHITsForQualificationTypeCommandInput, options?: __HttpHandlerOptions): Promise<ListHITsForQualificationTypeCommandOutput>;
446
134
  listHITsForQualificationType(args: ListHITsForQualificationTypeCommandInput, cb: (err: any, data?: ListHITsForQualificationTypeCommandOutput) => void): void;
447
135
  listHITsForQualificationType(args: ListHITsForQualificationTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHITsForQualificationTypeCommandOutput) => void): void;
448
- /**
449
- * <p>
450
- * The
451
- * <code>ListQualificationRequests</code>
452
- * operation retrieves requests for Qualifications of a particular
453
- * Qualification type. The owner of the Qualification type calls this
454
- * operation to poll for pending requests, and accepts them using the
455
- * AcceptQualification operation.
456
- * </p>
457
- */
136
+
458
137
  listQualificationRequests(args: ListQualificationRequestsCommandInput, options?: __HttpHandlerOptions): Promise<ListQualificationRequestsCommandOutput>;
459
138
  listQualificationRequests(args: ListQualificationRequestsCommandInput, cb: (err: any, data?: ListQualificationRequestsCommandOutput) => void): void;
460
139
  listQualificationRequests(args: ListQualificationRequestsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListQualificationRequestsCommandOutput) => void): void;
461
- /**
462
- * <p>
463
- * The
464
- * <code>ListQualificationTypes</code>
465
- * operation returns a list of Qualification types, filtered by
466
- * an optional search term.
467
- * </p>
468
- */
140
+
469
141
  listQualificationTypes(args: ListQualificationTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListQualificationTypesCommandOutput>;
470
142
  listQualificationTypes(args: ListQualificationTypesCommandInput, cb: (err: any, data?: ListQualificationTypesCommandOutput) => void): void;
471
143
  listQualificationTypes(args: ListQualificationTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListQualificationTypesCommandOutput) => void): void;
472
- /**
473
- * <p>
474
- * The <code>ListReviewableHITs</code> operation retrieves the HITs with Status equal to
475
- * Reviewable or Status equal to Reviewing that belong to the Requester calling the operation.
476
- * </p>
477
- */
144
+
478
145
  listReviewableHITs(args: ListReviewableHITsCommandInput, options?: __HttpHandlerOptions): Promise<ListReviewableHITsCommandOutput>;
479
146
  listReviewableHITs(args: ListReviewableHITsCommandInput, cb: (err: any, data?: ListReviewableHITsCommandOutput) => void): void;
480
147
  listReviewableHITs(args: ListReviewableHITsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReviewableHITsCommandOutput) => void): void;
481
- /**
482
- * <p>
483
- * The <code>ListReviewPolicyResultsForHIT</code> operation retrieves the computed results
484
- * and the actions taken in the course of executing your Review Policies for a given HIT.
485
- * For information about how to specify Review Policies when you call CreateHIT,
486
- * see Review Policies. The ListReviewPolicyResultsForHIT operation can return results for both
487
- * Assignment-level and HIT-level review results.
488
- * </p>
489
- */
148
+
490
149
  listReviewPolicyResultsForHIT(args: ListReviewPolicyResultsForHITCommandInput, options?: __HttpHandlerOptions): Promise<ListReviewPolicyResultsForHITCommandOutput>;
491
150
  listReviewPolicyResultsForHIT(args: ListReviewPolicyResultsForHITCommandInput, cb: (err: any, data?: ListReviewPolicyResultsForHITCommandOutput) => void): void;
492
151
  listReviewPolicyResultsForHIT(args: ListReviewPolicyResultsForHITCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReviewPolicyResultsForHITCommandOutput) => void): void;
493
- /**
494
- * <p>The <code>ListWorkersBlocks</code> operation retrieves a list of Workers who are blocked from working on your HITs.</p>
495
- */
152
+
496
153
  listWorkerBlocks(args: ListWorkerBlocksCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkerBlocksCommandOutput>;
497
154
  listWorkerBlocks(args: ListWorkerBlocksCommandInput, cb: (err: any, data?: ListWorkerBlocksCommandOutput) => void): void;
498
155
  listWorkerBlocks(args: ListWorkerBlocksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkerBlocksCommandOutput) => void): void;
499
- /**
500
- * <p>
501
- * The <code>ListWorkersWithQualificationType</code> operation returns all of the Workers
502
- * that have been associated with a given Qualification type.
503
- * </p>
504
- */
156
+
505
157
  listWorkersWithQualificationType(args: ListWorkersWithQualificationTypeCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkersWithQualificationTypeCommandOutput>;
506
158
  listWorkersWithQualificationType(args: ListWorkersWithQualificationTypeCommandInput, cb: (err: any, data?: ListWorkersWithQualificationTypeCommandOutput) => void): void;
507
159
  listWorkersWithQualificationType(args: ListWorkersWithQualificationTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkersWithQualificationTypeCommandOutput) => void): void;
508
- /**
509
- * <p>
510
- * The
511
- * <code>NotifyWorkers</code>
512
- * operation sends an email to one or more Workers that you specify with
513
- * the Worker ID. You can specify up to 100 Worker IDs to send the same
514
- * message with a single call to the NotifyWorkers operation. The
515
- * NotifyWorkers operation will send a notification email to a Worker
516
- * only if you have previously approved or rejected work from the
517
- * Worker.
518
- * </p>
519
- */
160
+
520
161
  notifyWorkers(args: NotifyWorkersCommandInput, options?: __HttpHandlerOptions): Promise<NotifyWorkersCommandOutput>;
521
162
  notifyWorkers(args: NotifyWorkersCommandInput, cb: (err: any, data?: NotifyWorkersCommandOutput) => void): void;
522
163
  notifyWorkers(args: NotifyWorkersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: NotifyWorkersCommandOutput) => void): void;
523
- /**
524
- * <p>
525
- * The <code>RejectAssignment</code> operation rejects the results of a completed assignment.
526
- * </p>
527
- * <p>
528
- * You can include an optional feedback message with the rejection,
529
- * which the Worker can see in the Status section of the web site.
530
- * When you include a feedback message with the rejection,
531
- * it helps the Worker understand why the assignment was rejected,
532
- * and can improve the quality of the results the Worker submits in the future.
533
- * </p>
534
- * <p>
535
- * Only the Requester who created the HIT can reject an assignment for the HIT.
536
- * </p>
537
- */
164
+
538
165
  rejectAssignment(args: RejectAssignmentCommandInput, options?: __HttpHandlerOptions): Promise<RejectAssignmentCommandOutput>;
539
166
  rejectAssignment(args: RejectAssignmentCommandInput, cb: (err: any, data?: RejectAssignmentCommandOutput) => void): void;
540
167
  rejectAssignment(args: RejectAssignmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RejectAssignmentCommandOutput) => void): void;
541
- /**
542
- * <p>
543
- * The
544
- * <code>RejectQualificationRequest</code>
545
- * operation rejects a user's request for a Qualification.
546
- * </p>
547
- * <p> You can provide a text message explaining why the request was
548
- * rejected. The Worker who made the request can see this message.</p>
549
- */
168
+
550
169
  rejectQualificationRequest(args: RejectQualificationRequestCommandInput, options?: __HttpHandlerOptions): Promise<RejectQualificationRequestCommandOutput>;
551
170
  rejectQualificationRequest(args: RejectQualificationRequestCommandInput, cb: (err: any, data?: RejectQualificationRequestCommandOutput) => void): void;
552
171
  rejectQualificationRequest(args: RejectQualificationRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RejectQualificationRequestCommandOutput) => void): void;
553
- /**
554
- * <p>
555
- * The
556
- * <code>SendBonus</code>
557
- * operation issues a payment of money from your account to a Worker.
558
- * This payment happens separately from the reward you pay to the Worker
559
- * when you approve the Worker's assignment. The SendBonus operation
560
- * requires the Worker's ID and the assignment ID as parameters to
561
- * initiate payment of the bonus. You must include a message that
562
- * explains the reason for the bonus payment, as the Worker may not be
563
- * expecting the payment. Amazon Mechanical Turk collects a fee for
564
- * bonus payments, similar to the HIT listing fee. This operation fails
565
- * if your account does not have enough funds to pay for both the bonus
566
- * and the fees.
567
- * </p>
568
- */
172
+
569
173
  sendBonus(args: SendBonusCommandInput, options?: __HttpHandlerOptions): Promise<SendBonusCommandOutput>;
570
174
  sendBonus(args: SendBonusCommandInput, cb: (err: any, data?: SendBonusCommandOutput) => void): void;
571
175
  sendBonus(args: SendBonusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendBonusCommandOutput) => void): void;
572
- /**
573
- * <p>
574
- * The <code>SendTestEventNotification</code> operation causes Amazon Mechanical Turk to send
575
- * a notification message as if a HIT event occurred, according to the provided
576
- * notification specification. This allows you to test notifications without
577
- * setting up notifications for a real HIT type and trying to trigger them using the website.
578
- * When you call this operation, the service attempts to send the test notification immediately.
579
- * </p>
580
- */
176
+
581
177
  sendTestEventNotification(args: SendTestEventNotificationCommandInput, options?: __HttpHandlerOptions): Promise<SendTestEventNotificationCommandOutput>;
582
178
  sendTestEventNotification(args: SendTestEventNotificationCommandInput, cb: (err: any, data?: SendTestEventNotificationCommandOutput) => void): void;
583
179
  sendTestEventNotification(args: SendTestEventNotificationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendTestEventNotificationCommandOutput) => void): void;
584
- /**
585
- * <p>
586
- * The <code>UpdateExpirationForHIT</code> operation allows you update the expiration time of a HIT.
587
- * If you update it to a time in the past, the HIT will be immediately expired.
588
- * </p>
589
- */
180
+
590
181
  updateExpirationForHIT(args: UpdateExpirationForHITCommandInput, options?: __HttpHandlerOptions): Promise<UpdateExpirationForHITCommandOutput>;
591
182
  updateExpirationForHIT(args: UpdateExpirationForHITCommandInput, cb: (err: any, data?: UpdateExpirationForHITCommandOutput) => void): void;
592
183
  updateExpirationForHIT(args: UpdateExpirationForHITCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateExpirationForHITCommandOutput) => void): void;
593
- /**
594
- * <p>
595
- * The <code>UpdateHITReviewStatus</code> operation updates the status of a HIT.
596
- * If the status is Reviewable, this operation can update the status to Reviewing,
597
- * or it can revert a Reviewing HIT back to the Reviewable status.
598
- * </p>
599
- */
184
+
600
185
  updateHITReviewStatus(args: UpdateHITReviewStatusCommandInput, options?: __HttpHandlerOptions): Promise<UpdateHITReviewStatusCommandOutput>;
601
186
  updateHITReviewStatus(args: UpdateHITReviewStatusCommandInput, cb: (err: any, data?: UpdateHITReviewStatusCommandOutput) => void): void;
602
187
  updateHITReviewStatus(args: UpdateHITReviewStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateHITReviewStatusCommandOutput) => void): void;
603
- /**
604
- * <p>
605
- * The
606
- * <code>UpdateHITTypeOfHIT</code>
607
- * operation allows you to change the HITType properties of a HIT. This
608
- * operation disassociates the HIT from its old HITType properties and
609
- * associates it with the new HITType properties. The HIT takes on the
610
- * properties of the new HITType in place of the old ones.
611
- * </p>
612
- */
188
+
613
189
  updateHITTypeOfHIT(args: UpdateHITTypeOfHITCommandInput, options?: __HttpHandlerOptions): Promise<UpdateHITTypeOfHITCommandOutput>;
614
190
  updateHITTypeOfHIT(args: UpdateHITTypeOfHITCommandInput, cb: (err: any, data?: UpdateHITTypeOfHITCommandOutput) => void): void;
615
191
  updateHITTypeOfHIT(args: UpdateHITTypeOfHITCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateHITTypeOfHITCommandOutput) => void): void;
616
- /**
617
- * <p>
618
- * The <code>UpdateNotificationSettings</code> operation creates, updates,
619
- * disables or re-enables notifications for a HIT type.
620
- * If you call the UpdateNotificationSettings operation for a HIT type that already has a
621
- * notification specification, the operation replaces the old specification with a new one.
622
- * You can call the UpdateNotificationSettings operation to enable or disable notifications
623
- * for the HIT type, without having to modify the notification specification itself by providing
624
- * updates to the Active status without specifying a new notification specification.
625
- * To change the Active status of a HIT type's notifications,
626
- * the HIT type must already have a notification specification,
627
- * or one must be provided in the same call to <code>UpdateNotificationSettings</code>.
628
- * </p>
629
- */
192
+
630
193
  updateNotificationSettings(args: UpdateNotificationSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNotificationSettingsCommandOutput>;
631
194
  updateNotificationSettings(args: UpdateNotificationSettingsCommandInput, cb: (err: any, data?: UpdateNotificationSettingsCommandOutput) => void): void;
632
195
  updateNotificationSettings(args: UpdateNotificationSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNotificationSettingsCommandOutput) => void): void;
633
- /**
634
- * <p>
635
- * The
636
- * <code>UpdateQualificationType</code>
637
- * operation modifies the attributes of an existing Qualification type,
638
- * which is represented by a QualificationType data structure. Only the
639
- * owner of a Qualification type can modify its attributes.
640
- * </p>
641
- * <p> Most attributes of a Qualification type can be changed after
642
- * the type has been created. However, the Name and Keywords fields
643
- * cannot be modified. The RetryDelayInSeconds parameter can be modified
644
- * or added to change the delay or to enable retries, but
645
- * RetryDelayInSeconds cannot be used to disable retries. </p>
646
- * <p> You can use this operation to update the test for a
647
- * Qualification type. The test is updated based on the values specified
648
- * for the Test, TestDurationInSeconds and AnswerKey parameters. All
649
- * three parameters specify the updated test. If you are updating the
650
- * test for a type, you must specify the Test and TestDurationInSeconds
651
- * parameters. The AnswerKey parameter is optional; omitting it specifies
652
- * that the updated test does not have an answer key. </p>
653
- * <p> If you omit the Test parameter, the test for the
654
- * Qualification type is unchanged. There is no way to remove a test from
655
- * a Qualification type that has one. If the type already has a test, you
656
- * cannot update it to be AutoGranted. If the Qualification type does not
657
- * have a test and one is provided by an update, the type will henceforth
658
- * have a test. </p>
659
- * <p> If you want to update the test duration or answer key for an
660
- * existing test without changing the questions, you must specify a Test
661
- * parameter with the original questions, along with the updated values. </p>
662
- * <p> If you provide an updated Test but no AnswerKey, the new test
663
- * will not have an answer key. Requests for such Qualifications must be
664
- * granted manually. </p>
665
- * <p> You can also update the AutoGranted and AutoGrantedValue
666
- * attributes of the Qualification type.</p>
667
- */
196
+
668
197
  updateQualificationType(args: UpdateQualificationTypeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateQualificationTypeCommandOutput>;
669
198
  updateQualificationType(args: UpdateQualificationTypeCommandInput, cb: (err: any, data?: UpdateQualificationTypeCommandOutput) => void): void;
670
199
  updateQualificationType(args: UpdateQualificationTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateQualificationTypeCommandOutput) => void): void;