@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
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>
10
- * The
11
- * <code>ListHITs</code>
12
- * operation returns all of a Requester's HITs. The operation returns
13
- * HITs of any status, except for HITs that have been deleted of with
14
- * the DeleteHIT operation or that have been auto-deleted.
15
- * </p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { MTurkClient, ListHITsCommand } from "@aws-sdk/client-mturk"; // ES Modules import
20
- * // const { MTurkClient, ListHITsCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
21
- * const client = new MTurkClient(config);
22
- * const command = new ListHITsCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link ListHITsCommandInput} for command's `input` shape.
27
- * @see {@link ListHITsCommandOutput} for command's `response` shape.
28
- * @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class ListHITsCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -64,4 +34,3 @@ class ListHITsCommand extends smithy_client_1.Command {
64
34
  }
65
35
  }
66
36
  exports.ListHITsCommand = ListHITsCommand;
67
- //# sourceMappingURL=ListHITsCommand.js.map
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>
10
- * The <code>ListHITsForQualificationType</code> operation returns the HITs that use
11
- * the given Qualification type for a Qualification requirement.
12
- * The operation returns HITs of any status, except for HITs that have been deleted
13
- * with the <code>DeleteHIT</code> operation or that have been auto-deleted.
14
- * </p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { MTurkClient, ListHITsForQualificationTypeCommand } from "@aws-sdk/client-mturk"; // ES Modules import
19
- * // const { MTurkClient, ListHITsForQualificationTypeCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
20
- * const client = new MTurkClient(config);
21
- * const command = new ListHITsForQualificationTypeCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link ListHITsForQualificationTypeCommandInput} for command's `input` shape.
26
- * @see {@link ListHITsForQualificationTypeCommandOutput} for command's `response` shape.
27
- * @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class ListHITsForQualificationTypeCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +34,3 @@ class ListHITsForQualificationTypeCommand extends smithy_client_1.Command {
63
34
  }
64
35
  }
65
36
  exports.ListHITsForQualificationTypeCommand = ListHITsForQualificationTypeCommand;
66
- //# sourceMappingURL=ListHITsForQualificationTypeCommand.js.map
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>
10
- * The
11
- * <code>ListQualificationRequests</code>
12
- * operation retrieves requests for Qualifications of a particular
13
- * Qualification type. The owner of the Qualification type calls this
14
- * operation to poll for pending requests, and accepts them using the
15
- * AcceptQualification operation.
16
- * </p>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { MTurkClient, ListQualificationRequestsCommand } from "@aws-sdk/client-mturk"; // ES Modules import
21
- * // const { MTurkClient, ListQualificationRequestsCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
22
- * const client = new MTurkClient(config);
23
- * const command = new ListQualificationRequestsCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link ListQualificationRequestsCommandInput} for command's `input` shape.
28
- * @see {@link ListQualificationRequestsCommandOutput} for command's `response` shape.
29
- * @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
32
8
  class ListQualificationRequestsCommand extends smithy_client_1.Command {
33
- // Start section: command_properties
34
- // End section: command_properties
35
9
  constructor(input) {
36
- // Start section: command_constructor
37
10
  super();
38
11
  this.input = input;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  resolveMiddleware(clientStack, configuration, options) {
45
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -65,4 +34,3 @@ class ListQualificationRequestsCommand extends smithy_client_1.Command {
65
34
  }
66
35
  }
67
36
  exports.ListQualificationRequestsCommand = ListQualificationRequestsCommand;
68
- //# sourceMappingURL=ListQualificationRequestsCommand.js.map
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>
10
- * The
11
- * <code>ListQualificationTypes</code>
12
- * operation returns a list of Qualification types, filtered by
13
- * an optional search term.
14
- * </p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { MTurkClient, ListQualificationTypesCommand } from "@aws-sdk/client-mturk"; // ES Modules import
19
- * // const { MTurkClient, ListQualificationTypesCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
20
- * const client = new MTurkClient(config);
21
- * const command = new ListQualificationTypesCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link ListQualificationTypesCommandInput} for command's `input` shape.
26
- * @see {@link ListQualificationTypesCommandOutput} for command's `response` shape.
27
- * @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class ListQualificationTypesCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +34,3 @@ class ListQualificationTypesCommand extends smithy_client_1.Command {
63
34
  }
64
35
  }
65
36
  exports.ListQualificationTypesCommand = ListQualificationTypesCommand;
66
- //# sourceMappingURL=ListQualificationTypesCommand.js.map
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>
10
- * The <code>ListReviewPolicyResultsForHIT</code> operation retrieves the computed results
11
- * and the actions taken in the course of executing your Review Policies for a given HIT.
12
- * For information about how to specify Review Policies when you call CreateHIT,
13
- * see Review Policies. The ListReviewPolicyResultsForHIT operation can return results for both
14
- * Assignment-level and HIT-level review results.
15
- * </p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { MTurkClient, ListReviewPolicyResultsForHITCommand } from "@aws-sdk/client-mturk"; // ES Modules import
20
- * // const { MTurkClient, ListReviewPolicyResultsForHITCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
21
- * const client = new MTurkClient(config);
22
- * const command = new ListReviewPolicyResultsForHITCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link ListReviewPolicyResultsForHITCommandInput} for command's `input` shape.
27
- * @see {@link ListReviewPolicyResultsForHITCommandOutput} for command's `response` shape.
28
- * @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class ListReviewPolicyResultsForHITCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -64,4 +34,3 @@ class ListReviewPolicyResultsForHITCommand extends smithy_client_1.Command {
64
34
  }
65
35
  }
66
36
  exports.ListReviewPolicyResultsForHITCommand = ListReviewPolicyResultsForHITCommand;
67
- //# sourceMappingURL=ListReviewPolicyResultsForHITCommand.js.map
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>
10
- * The <code>ListReviewableHITs</code> operation retrieves the HITs with Status equal to
11
- * Reviewable or Status equal to Reviewing that belong to the Requester calling the operation.
12
- * </p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { MTurkClient, ListReviewableHITsCommand } from "@aws-sdk/client-mturk"; // ES Modules import
17
- * // const { MTurkClient, ListReviewableHITsCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
18
- * const client = new MTurkClient(config);
19
- * const command = new ListReviewableHITsCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link ListReviewableHITsCommandInput} for command's `input` shape.
24
- * @see {@link ListReviewableHITsCommandOutput} for command's `response` shape.
25
- * @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class ListReviewableHITsCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class ListReviewableHITsCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.ListReviewableHITsCommand = ListReviewableHITsCommand;
64
- //# sourceMappingURL=ListReviewableHITsCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>The <code>ListWorkersBlocks</code> operation retrieves a list of Workers who are blocked from working on your HITs.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MTurkClient, ListWorkerBlocksCommand } from "@aws-sdk/client-mturk"; // ES Modules import
14
- * // const { MTurkClient, ListWorkerBlocksCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
15
- * const client = new MTurkClient(config);
16
- * const command = new ListWorkerBlocksCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListWorkerBlocksCommandInput} for command's `input` shape.
21
- * @see {@link ListWorkerBlocksCommandOutput} for command's `response` shape.
22
- * @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListWorkerBlocksCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ListWorkerBlocksCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ListWorkerBlocksCommand = ListWorkerBlocksCommand;
61
- //# sourceMappingURL=ListWorkerBlocksCommand.js.map
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>
10
- * The <code>ListWorkersWithQualificationType</code> operation returns all of the Workers
11
- * that have been associated with a given Qualification type.
12
- * </p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { MTurkClient, ListWorkersWithQualificationTypeCommand } from "@aws-sdk/client-mturk"; // ES Modules import
17
- * // const { MTurkClient, ListWorkersWithQualificationTypeCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
18
- * const client = new MTurkClient(config);
19
- * const command = new ListWorkersWithQualificationTypeCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link ListWorkersWithQualificationTypeCommandInput} for command's `input` shape.
24
- * @see {@link ListWorkersWithQualificationTypeCommandOutput} for command's `response` shape.
25
- * @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class ListWorkersWithQualificationTypeCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class ListWorkersWithQualificationTypeCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.ListWorkersWithQualificationTypeCommand = ListWorkersWithQualificationTypeCommand;
64
- //# sourceMappingURL=ListWorkersWithQualificationTypeCommand.js.map
@@ -5,44 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>
10
- * The
11
- * <code>NotifyWorkers</code>
12
- * operation sends an email to one or more Workers that you specify with
13
- * the Worker ID. You can specify up to 100 Worker IDs to send the same
14
- * message with a single call to the NotifyWorkers operation. The
15
- * NotifyWorkers operation will send a notification email to a Worker
16
- * only if you have previously approved or rejected work from the
17
- * Worker.
18
- * </p>
19
- * @example
20
- * Use a bare-bones client and the command you need to make an API call.
21
- * ```javascript
22
- * import { MTurkClient, NotifyWorkersCommand } from "@aws-sdk/client-mturk"; // ES Modules import
23
- * // const { MTurkClient, NotifyWorkersCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
24
- * const client = new MTurkClient(config);
25
- * const command = new NotifyWorkersCommand(input);
26
- * const response = await client.send(command);
27
- * ```
28
- *
29
- * @see {@link NotifyWorkersCommandInput} for command's `input` shape.
30
- * @see {@link NotifyWorkersCommandOutput} for command's `response` shape.
31
- * @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
32
- *
33
- */
34
8
  class NotifyWorkersCommand extends smithy_client_1.Command {
35
- // Start section: command_properties
36
- // End section: command_properties
37
9
  constructor(input) {
38
- // Start section: command_constructor
39
10
  super();
40
11
  this.input = input;
41
- // End section: command_constructor
42
12
  }
43
- /**
44
- * @internal
45
- */
46
13
  resolveMiddleware(clientStack, configuration, options) {
47
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
48
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -67,4 +34,3 @@ class NotifyWorkersCommand extends smithy_client_1.Command {
67
34
  }
68
35
  }
69
36
  exports.NotifyWorkersCommand = NotifyWorkersCommand;
70
- //# sourceMappingURL=NotifyWorkersCommand.js.map
@@ -5,47 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>
10
- * The <code>RejectAssignment</code> operation rejects the results of a completed assignment.
11
- * </p>
12
- * <p>
13
- * You can include an optional feedback message with the rejection,
14
- * which the Worker can see in the Status section of the web site.
15
- * When you include a feedback message with the rejection,
16
- * it helps the Worker understand why the assignment was rejected,
17
- * and can improve the quality of the results the Worker submits in the future.
18
- * </p>
19
- * <p>
20
- * Only the Requester who created the HIT can reject an assignment for the HIT.
21
- * </p>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { MTurkClient, RejectAssignmentCommand } from "@aws-sdk/client-mturk"; // ES Modules import
26
- * // const { MTurkClient, RejectAssignmentCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
27
- * const client = new MTurkClient(config);
28
- * const command = new RejectAssignmentCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link RejectAssignmentCommandInput} for command's `input` shape.
33
- * @see {@link RejectAssignmentCommandOutput} for command's `response` shape.
34
- * @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
8
  class RejectAssignmentCommand extends smithy_client_1.Command {
38
- // Start section: command_properties
39
- // End section: command_properties
40
9
  constructor(input) {
41
- // Start section: command_constructor
42
10
  super();
43
11
  this.input = input;
44
- // End section: command_constructor
45
12
  }
46
- /**
47
- * @internal
48
- */
49
13
  resolveMiddleware(clientStack, configuration, options) {
50
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
51
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -70,4 +34,3 @@ class RejectAssignmentCommand extends smithy_client_1.Command {
70
34
  }
71
35
  }
72
36
  exports.RejectAssignmentCommand = RejectAssignmentCommand;
73
- //# sourceMappingURL=RejectAssignmentCommand.js.map
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>
10
- * The
11
- * <code>RejectQualificationRequest</code>
12
- * operation rejects a user's request for a Qualification.
13
- * </p>
14
- * <p> You can provide a text message explaining why the request was
15
- * rejected. The Worker who made the request can see this message.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { MTurkClient, RejectQualificationRequestCommand } from "@aws-sdk/client-mturk"; // ES Modules import
20
- * // const { MTurkClient, RejectQualificationRequestCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
21
- * const client = new MTurkClient(config);
22
- * const command = new RejectQualificationRequestCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link RejectQualificationRequestCommandInput} for command's `input` shape.
27
- * @see {@link RejectQualificationRequestCommandOutput} for command's `response` shape.
28
- * @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class RejectQualificationRequestCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -64,4 +34,3 @@ class RejectQualificationRequestCommand extends smithy_client_1.Command {
64
34
  }
65
35
  }
66
36
  exports.RejectQualificationRequestCommand = RejectQualificationRequestCommand;
67
- //# sourceMappingURL=RejectQualificationRequestCommand.js.map
@@ -5,48 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>
10
- * The
11
- * <code>SendBonus</code>
12
- * operation issues a payment of money from your account to a Worker.
13
- * This payment happens separately from the reward you pay to the Worker
14
- * when you approve the Worker's assignment. The SendBonus operation
15
- * requires the Worker's ID and the assignment ID as parameters to
16
- * initiate payment of the bonus. You must include a message that
17
- * explains the reason for the bonus payment, as the Worker may not be
18
- * expecting the payment. Amazon Mechanical Turk collects a fee for
19
- * bonus payments, similar to the HIT listing fee. This operation fails
20
- * if your account does not have enough funds to pay for both the bonus
21
- * and the fees.
22
- * </p>
23
- * @example
24
- * Use a bare-bones client and the command you need to make an API call.
25
- * ```javascript
26
- * import { MTurkClient, SendBonusCommand } from "@aws-sdk/client-mturk"; // ES Modules import
27
- * // const { MTurkClient, SendBonusCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
28
- * const client = new MTurkClient(config);
29
- * const command = new SendBonusCommand(input);
30
- * const response = await client.send(command);
31
- * ```
32
- *
33
- * @see {@link SendBonusCommandInput} for command's `input` shape.
34
- * @see {@link SendBonusCommandOutput} for command's `response` shape.
35
- * @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
36
- *
37
- */
38
8
  class SendBonusCommand extends smithy_client_1.Command {
39
- // Start section: command_properties
40
- // End section: command_properties
41
9
  constructor(input) {
42
- // Start section: command_constructor
43
10
  super();
44
11
  this.input = input;
45
- // End section: command_constructor
46
12
  }
47
- /**
48
- * @internal
49
- */
50
13
  resolveMiddleware(clientStack, configuration, options) {
51
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
52
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -71,4 +34,3 @@ class SendBonusCommand extends smithy_client_1.Command {
71
34
  }
72
35
  }
73
36
  exports.SendBonusCommand = SendBonusCommand;
74
- //# sourceMappingURL=SendBonusCommand.js.map
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>
10
- * The <code>SendTestEventNotification</code> operation causes Amazon Mechanical Turk to send
11
- * a notification message as if a HIT event occurred, according to the provided
12
- * notification specification. This allows you to test notifications without
13
- * setting up notifications for a real HIT type and trying to trigger them using the website.
14
- * When you call this operation, the service attempts to send the test notification immediately.
15
- * </p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { MTurkClient, SendTestEventNotificationCommand } from "@aws-sdk/client-mturk"; // ES Modules import
20
- * // const { MTurkClient, SendTestEventNotificationCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
21
- * const client = new MTurkClient(config);
22
- * const command = new SendTestEventNotificationCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link SendTestEventNotificationCommandInput} for command's `input` shape.
27
- * @see {@link SendTestEventNotificationCommandOutput} for command's `response` shape.
28
- * @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class SendTestEventNotificationCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -64,4 +34,3 @@ class SendTestEventNotificationCommand extends smithy_client_1.Command {
64
34
  }
65
35
  }
66
36
  exports.SendTestEventNotificationCommand = SendTestEventNotificationCommand;
67
- //# sourceMappingURL=SendTestEventNotificationCommand.js.map
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>
10
- * The <code>UpdateExpirationForHIT</code> operation allows you update the expiration time of a HIT.
11
- * If you update it to a time in the past, the HIT will be immediately expired.
12
- * </p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { MTurkClient, UpdateExpirationForHITCommand } from "@aws-sdk/client-mturk"; // ES Modules import
17
- * // const { MTurkClient, UpdateExpirationForHITCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
18
- * const client = new MTurkClient(config);
19
- * const command = new UpdateExpirationForHITCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link UpdateExpirationForHITCommandInput} for command's `input` shape.
24
- * @see {@link UpdateExpirationForHITCommandOutput} for command's `response` shape.
25
- * @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class UpdateExpirationForHITCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class UpdateExpirationForHITCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.UpdateExpirationForHITCommand = UpdateExpirationForHITCommand;
64
- //# sourceMappingURL=UpdateExpirationForHITCommand.js.map