@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
@@ -1,34 +1,21 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
2
  export interface AcceptQualificationRequestRequest {
3
- /**
4
- * <p>The ID of the Qualification request, as returned by the <code>GetQualificationRequests</code> operation.</p>
5
- */
3
+
6
4
  QualificationRequestId: string | undefined;
7
- /**
8
- * <p>
9
- * The value of the Qualification. You can omit this value if you are using the
10
- * presence or absence of the Qualification as the basis for a HIT requirement.
11
- * </p>
12
- */
5
+
13
6
  IntegerValue?: number;
14
7
  }
15
8
  export declare namespace AcceptQualificationRequestRequest {
16
- /**
17
- * @internal
18
- */
9
+
19
10
  const filterSensitiveLog: (obj: AcceptQualificationRequestRequest) => any;
20
11
  }
21
12
  export interface AcceptQualificationRequestResponse {
22
13
  }
23
14
  export declare namespace AcceptQualificationRequestResponse {
24
- /**
25
- * @internal
26
- */
15
+
27
16
  const filterSensitiveLog: (obj: AcceptQualificationRequestResponse) => any;
28
17
  }
29
- /**
30
- * <p>Your request is invalid.</p>
31
- */
18
+
32
19
  export interface RequestError extends __SmithyException, $MetadataBearer {
33
20
  name: "RequestError";
34
21
  $fault: "client";
@@ -36,14 +23,10 @@ export interface RequestError extends __SmithyException, $MetadataBearer {
36
23
  TurkErrorCode?: string;
37
24
  }
38
25
  export declare namespace RequestError {
39
- /**
40
- * @internal
41
- */
26
+
42
27
  const filterSensitiveLog: (obj: RequestError) => any;
43
28
  }
44
- /**
45
- * <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
46
- */
29
+
47
30
  export interface ServiceFault extends __SmithyException, $MetadataBearer {
48
31
  name: "ServiceFault";
49
32
  $fault: "server";
@@ -51,43 +34,25 @@ export interface ServiceFault extends __SmithyException, $MetadataBearer {
51
34
  TurkErrorCode?: string;
52
35
  }
53
36
  export declare namespace ServiceFault {
54
- /**
55
- * @internal
56
- */
37
+
57
38
  const filterSensitiveLog: (obj: ServiceFault) => any;
58
39
  }
59
40
  export interface ApproveAssignmentRequest {
60
- /**
61
- * <p>
62
- * The ID of the assignment. The assignment must correspond to a HIT created by the Requester.
63
- * </p>
64
- */
41
+
65
42
  AssignmentId: string | undefined;
66
- /**
67
- * <p>
68
- * A message for the Worker, which the Worker can see in the Status section of the web site.
69
- * </p>
70
- */
43
+
71
44
  RequesterFeedback?: string;
72
- /**
73
- * <p>
74
- * A flag indicating that an assignment should be approved even if it was previously rejected. Defaults to <code>False</code>.
75
- * </p>
76
- */
45
+
77
46
  OverrideRejection?: boolean;
78
47
  }
79
48
  export declare namespace ApproveAssignmentRequest {
80
- /**
81
- * @internal
82
- */
49
+
83
50
  const filterSensitiveLog: (obj: ApproveAssignmentRequest) => any;
84
51
  }
85
52
  export interface ApproveAssignmentResponse {
86
53
  }
87
54
  export declare namespace ApproveAssignmentResponse {
88
- /**
89
- * @internal
90
- */
55
+
91
56
  const filterSensitiveLog: (obj: ApproveAssignmentResponse) => any;
92
57
  }
93
58
  export declare enum AssignmentStatus {
@@ -95,156 +60,72 @@ export declare enum AssignmentStatus {
95
60
  Rejected = "Rejected",
96
61
  Submitted = "Submitted"
97
62
  }
98
- /**
99
- * <p> The Assignment data structure represents a single assignment
100
- * of a HIT to a Worker. The assignment tracks the Worker's efforts to
101
- * complete the HIT, and contains the results for later retrieval.
102
- * </p>
103
- */
63
+
104
64
  export interface Assignment {
105
- /**
106
- * <p> A unique identifier for the assignment.</p>
107
- */
65
+
108
66
  AssignmentId?: string;
109
- /**
110
- * <p> The ID of the Worker who accepted the HIT.</p>
111
- */
67
+
112
68
  WorkerId?: string;
113
- /**
114
- * <p> The ID of the HIT.</p>
115
- */
69
+
116
70
  HITId?: string;
117
- /**
118
- * <p> The status of the assignment.</p>
119
- */
71
+
120
72
  AssignmentStatus?: AssignmentStatus | string;
121
- /**
122
- * <p> If results have been submitted, AutoApprovalTime is the date
123
- * and time the results of the assignment results are considered
124
- * Approved automatically if they have not already been explicitly
125
- * approved or rejected by the Requester. This value is derived from the
126
- * auto-approval delay specified by the Requester in the HIT. This value
127
- * is omitted from the assignment if the Worker has not yet submitted
128
- * results.</p>
129
- */
73
+
130
74
  AutoApprovalTime?: Date;
131
- /**
132
- * <p> The date and time the Worker accepted the assignment.</p>
133
- */
75
+
134
76
  AcceptTime?: Date;
135
- /**
136
- * <p> If the Worker has submitted results, SubmitTime is the date
137
- * and time the assignment was submitted. This value is omitted from the
138
- * assignment if the Worker has not yet submitted results.</p>
139
- */
77
+
140
78
  SubmitTime?: Date;
141
- /**
142
- * <p> If the Worker has submitted results and the Requester has
143
- * approved the results, ApprovalTime is the date and time the Requester
144
- * approved the results. This value is omitted from the assignment if
145
- * the Requester has not yet approved the results.</p>
146
- */
79
+
147
80
  ApprovalTime?: Date;
148
- /**
149
- * <p> If the Worker has submitted results and the Requester has
150
- * rejected the results, RejectionTime is the date and time the
151
- * Requester rejected the results.</p>
152
- */
81
+
153
82
  RejectionTime?: Date;
154
- /**
155
- * <p> The date and time of the deadline for the assignment. This
156
- * value is derived from the deadline specification for the HIT and the
157
- * date and time the Worker accepted the HIT.</p>
158
- */
83
+
159
84
  Deadline?: Date;
160
- /**
161
- * <p> The Worker's answers submitted for the HIT contained in a
162
- * QuestionFormAnswers document, if the Worker provides an answer. If
163
- * the Worker does not provide any answers, Answer may contain a
164
- * QuestionFormAnswers document, or Answer may be empty.</p>
165
- */
85
+
166
86
  Answer?: string;
167
- /**
168
- * <p> The feedback string included with the call to the
169
- * ApproveAssignment operation or the RejectAssignment operation, if the
170
- * Requester approved or rejected the assignment and specified feedback.</p>
171
- */
87
+
172
88
  RequesterFeedback?: string;
173
89
  }
174
90
  export declare namespace Assignment {
175
- /**
176
- * @internal
177
- */
91
+
178
92
  const filterSensitiveLog: (obj: Assignment) => any;
179
93
  }
180
94
  export interface AssociateQualificationWithWorkerRequest {
181
- /**
182
- * <p>The ID of the Qualification type to use for the assigned Qualification.</p>
183
- */
95
+
184
96
  QualificationTypeId: string | undefined;
185
- /**
186
- * <p>
187
- * The ID of the Worker to whom the Qualification is being assigned.
188
- * Worker IDs are included with submitted HIT assignments and Qualification requests.
189
- * </p>
190
- */
97
+
191
98
  WorkerId: string | undefined;
192
- /**
193
- * <p>The value of the Qualification to assign.</p>
194
- */
99
+
195
100
  IntegerValue?: number;
196
- /**
197
- * <p>
198
- * Specifies whether to send a notification email message to the Worker
199
- * saying that the qualification was assigned to the Worker.
200
- * Note: this is true by default.
201
- * </p>
202
- */
101
+
203
102
  SendNotification?: boolean;
204
103
  }
205
104
  export declare namespace AssociateQualificationWithWorkerRequest {
206
- /**
207
- * @internal
208
- */
105
+
209
106
  const filterSensitiveLog: (obj: AssociateQualificationWithWorkerRequest) => any;
210
107
  }
211
108
  export interface AssociateQualificationWithWorkerResponse {
212
109
  }
213
110
  export declare namespace AssociateQualificationWithWorkerResponse {
214
- /**
215
- * @internal
216
- */
111
+
217
112
  const filterSensitiveLog: (obj: AssociateQualificationWithWorkerResponse) => any;
218
113
  }
219
- /**
220
- * <p>An object representing a Bonus payment paid to a Worker.</p>
221
- */
114
+
222
115
  export interface BonusPayment {
223
- /**
224
- * <p>The ID of the Worker to whom the bonus was paid.</p>
225
- */
116
+
226
117
  WorkerId?: string;
227
- /**
228
- * <p>A string representing a currency amount.</p>
229
- */
118
+
230
119
  BonusAmount?: string;
231
- /**
232
- * <p>The ID of the assignment associated with this bonus payment.</p>
233
- */
120
+
234
121
  AssignmentId?: string;
235
- /**
236
- * <p>The Reason text given when the bonus was granted, if any.</p>
237
- */
122
+
238
123
  Reason?: string;
239
- /**
240
- * <p>The date and time of when the bonus was granted.</p>
241
- */
124
+
242
125
  GrantTime?: Date;
243
126
  }
244
127
  export declare namespace BonusPayment {
245
- /**
246
- * @internal
247
- */
128
+
248
129
  const filterSensitiveLog: (obj: BonusPayment) => any;
249
130
  }
250
131
  export declare enum Comparator {
@@ -260,140 +141,67 @@ export declare enum Comparator {
260
141
  NotIn = "NotIn"
261
142
  }
262
143
  export interface CreateAdditionalAssignmentsForHITRequest {
263
- /**
264
- * <p>The ID of the HIT to extend.</p>
265
- */
144
+
266
145
  HITId: string | undefined;
267
- /**
268
- * <p>The number of additional assignments to request for this HIT.</p>
269
- */
146
+
270
147
  NumberOfAdditionalAssignments: number | undefined;
271
- /**
272
- * <p>
273
- * A unique identifier for this request, which allows you to retry the call on error
274
- * without extending the HIT multiple times.
275
- * This is useful in cases such as network timeouts where it is unclear whether or not
276
- * the call succeeded on the server. If the extend HIT already exists in the system
277
- * from a previous call using the same <code>UniqueRequestToken</code>,
278
- * subsequent calls will return an error with a message containing the request ID.
279
- * </p>
280
- */
148
+
281
149
  UniqueRequestToken?: string;
282
150
  }
283
151
  export declare namespace CreateAdditionalAssignmentsForHITRequest {
284
- /**
285
- * @internal
286
- */
152
+
287
153
  const filterSensitiveLog: (obj: CreateAdditionalAssignmentsForHITRequest) => any;
288
154
  }
289
155
  export interface CreateAdditionalAssignmentsForHITResponse {
290
156
  }
291
157
  export declare namespace CreateAdditionalAssignmentsForHITResponse {
292
- /**
293
- * @internal
294
- */
158
+
295
159
  const filterSensitiveLog: (obj: CreateAdditionalAssignmentsForHITResponse) => any;
296
160
  }
297
- /**
298
- * <p> This data structure is the data type for the AnswerKey
299
- * parameter of the ScoreMyKnownAnswers/2011-09-01 Review Policy.
300
- * </p>
301
- */
161
+
302
162
  export interface ParameterMapEntry {
303
- /**
304
- * <p> The QuestionID from the HIT that is used to identify which
305
- * question requires Mechanical Turk to score as part of the
306
- * ScoreMyKnownAnswers/2011-09-01 Review Policy.
307
- * </p>
308
- */
163
+
309
164
  Key?: string;
310
- /**
311
- * <p> The list of answers to the question specified in the
312
- * MapEntry Key element. The Worker must match all values in order for
313
- * the answer to be scored correctly.
314
- * </p>
315
- */
165
+
316
166
  Values?: string[];
317
167
  }
318
168
  export declare namespace ParameterMapEntry {
319
- /**
320
- * @internal
321
- */
169
+
322
170
  const filterSensitiveLog: (obj: ParameterMapEntry) => any;
323
171
  }
324
- /**
325
- * <p> Name of the parameter from the Review policy.
326
- * </p>
327
- */
172
+
328
173
  export interface PolicyParameter {
329
- /**
330
- * <p> Name of the parameter from the list of Review Polices.
331
- * </p>
332
- */
174
+
333
175
  Key?: string;
334
- /**
335
- * <p> The list of values of the Parameter</p>
336
- */
176
+
337
177
  Values?: string[];
338
- /**
339
- * <p> List of ParameterMapEntry objects.
340
- * </p>
341
- */
178
+
342
179
  MapEntries?: ParameterMapEntry[];
343
180
  }
344
181
  export declare namespace PolicyParameter {
345
- /**
346
- * @internal
347
- */
182
+
348
183
  const filterSensitiveLog: (obj: PolicyParameter) => any;
349
184
  }
350
- /**
351
- * <p> HIT Review Policy data structures represent HIT review
352
- * policies, which you specify when you create a HIT.
353
- * </p>
354
- */
185
+
355
186
  export interface ReviewPolicy {
356
- /**
357
- * <p> Name of a Review Policy: SimplePlurality/2011-09-01 or
358
- * ScoreMyKnownAnswers/2011-09-01
359
- * </p>
360
- */
187
+
361
188
  PolicyName: string | undefined;
362
- /**
363
- * <p>Name of the parameter from the Review policy.</p>
364
- */
189
+
365
190
  Parameters?: PolicyParameter[];
366
191
  }
367
192
  export declare namespace ReviewPolicy {
368
- /**
369
- * @internal
370
- */
193
+
371
194
  const filterSensitiveLog: (obj: ReviewPolicy) => any;
372
195
  }
373
- /**
374
- * <p> The HITLayoutParameter data structure defines parameter
375
- * values used with a HITLayout. A HITLayout is a reusable Amazon
376
- * Mechanical Turk project template used to provide Human Intelligence
377
- * Task (HIT) question data for CreateHIT.
378
- * </p>
379
- */
196
+
380
197
  export interface HITLayoutParameter {
381
- /**
382
- * <p> The name of the parameter in the HITLayout.
383
- * </p>
384
- */
198
+
385
199
  Name: string | undefined;
386
- /**
387
- * <p>The value substituted for the parameter referenced in the
388
- * HITLayout.
389
- * </p>
390
- */
200
+
391
201
  Value: string | undefined;
392
202
  }
393
203
  export declare namespace HITLayoutParameter {
394
- /**
395
- * @internal
396
- */
204
+
397
205
  const filterSensitiveLog: (obj: HITLayoutParameter) => any;
398
206
  }
399
207
  export declare enum HITAccessActions {
@@ -401,282 +209,72 @@ export declare enum HITAccessActions {
401
209
  DiscoverPreviewAndAccept = "DiscoverPreviewAndAccept",
402
210
  PreviewAndAccept = "PreviewAndAccept"
403
211
  }
404
- /**
405
- * <p>The Locale data structure represents a geographical region or location.</p>
406
- */
212
+
407
213
  export interface Locale {
408
- /**
409
- * <p> The country of the locale. Must be a valid ISO 3166 country
410
- * code. For example, the code US refers to the United States of
411
- * America.
412
- * </p>
413
- */
214
+
414
215
  Country: string | undefined;
415
- /**
416
- * <p>The state or subdivision of the locale. A valid ISO 3166-2
417
- * subdivision code. For example, the code WA refers to the state of
418
- * Washington.</p>
419
- */
216
+
420
217
  Subdivision?: string;
421
218
  }
422
219
  export declare namespace Locale {
423
- /**
424
- * @internal
425
- */
220
+
426
221
  const filterSensitiveLog: (obj: Locale) => any;
427
222
  }
428
- /**
429
- * <p>
430
- * The QualificationRequirement data structure describes a Qualification that a Worker must have
431
- * before the Worker is allowed to accept a HIT.
432
- * A requirement may optionally state that a Worker must have the Qualification in order to preview the HIT, or
433
- * see the HIT in search results.
434
- * </p>
435
- */
223
+
436
224
  export interface QualificationRequirement {
437
- /**
438
- * <p> The ID of the Qualification type for the requirement.</p>
439
- */
225
+
440
226
  QualificationTypeId: string | undefined;
441
- /**
442
- * <p>The kind of comparison to make against a Qualification's
443
- * value. You can compare a Qualification's value to an IntegerValue to
444
- * see if it is LessThan, LessThanOrEqualTo, GreaterThan,
445
- * GreaterThanOrEqualTo, EqualTo, or NotEqualTo the IntegerValue. You
446
- * can compare it to a LocaleValue to see if it is EqualTo, or
447
- * NotEqualTo the LocaleValue. You can check to see if the value is In
448
- * or NotIn a set of IntegerValue
449
- * or LocaleValue values. Lastly, a
450
- * Qualification requirement can also
451
- * test if a Qualification Exists or
452
- * DoesNotExist in the user's profile,
453
- * regardless of its value.
454
- * </p>
455
- */
227
+
456
228
  Comparator: Comparator | string | undefined;
457
- /**
458
- * <p> The integer value to compare against the Qualification's
459
- * value. IntegerValue must not be present if Comparator is Exists or
460
- * DoesNotExist. IntegerValue can only be used if the Qualification type
461
- * has an integer value; it cannot be used with the Worker_Locale
462
- * QualificationType ID. When performing a set comparison by using the
463
- * In or the NotIn comparator, you can use up to 15 IntegerValue
464
- * elements in a QualificationRequirement data structure.
465
- * </p>
466
- */
229
+
467
230
  IntegerValues?: number[];
468
- /**
469
- * <p> The locale value to compare against the Qualification's
470
- * value. The local value must be a valid ISO 3166 country code or
471
- * supports ISO 3166-2 subdivisions. LocaleValue can only be used with a
472
- * Worker_Locale QualificationType ID. LocaleValue can only be used with
473
- * the EqualTo, NotEqualTo, In, and NotIn comparators. You must only use
474
- * a single LocaleValue element when using the EqualTo or NotEqualTo
475
- * comparators. When performing a set comparison by using the In or the
476
- * NotIn comparator, you can use up to 30 LocaleValue elements in a
477
- * QualificationRequirement data structure.
478
- * </p>
479
- */
231
+
480
232
  LocaleValues?: Locale[];
481
- /**
482
- * @deprecated
483
- *
484
- * <p> DEPRECATED: Use the <code>ActionsGuarded</code> field instead.
485
- * If RequiredToPreview is true, the question data for the HIT will not be shown
486
- * when a Worker whose Qualifications do not meet this requirement tries
487
- * to preview the HIT. That is, a Worker's Qualifications must meet all
488
- * of the requirements for which RequiredToPreview is true in order to
489
- * preview the HIT. If a Worker meets all of the requirements where
490
- * RequiredToPreview is true (or if there are no such requirements), but
491
- * does not meet all of the requirements for the HIT, the Worker will be
492
- * allowed to preview the HIT's question data, but will not be allowed
493
- * to accept and complete the HIT. The default is false. This should not
494
- * be used in combination with the <code>ActionsGuarded</code> field.
495
- * </p>
496
- */
233
+
497
234
  RequiredToPreview?: boolean;
498
- /**
499
- * <p> Setting this attribute prevents Workers whose Qualifications do not meet
500
- * this QualificationRequirement from taking the specified action. Valid arguments include
501
- * "Accept" (Worker cannot accept the HIT, but can preview the HIT and see it in their search results),
502
- * "PreviewAndAccept" (Worker cannot accept or preview the HIT, but can see the HIT in their search results),
503
- * and "DiscoverPreviewAndAccept" (Worker cannot accept, preview, or see the HIT in their search results). It's possible for you to create a HIT with multiple
504
- * QualificationRequirements (which can have different values for the ActionGuarded attribute). In this case,
505
- * the Worker is only permitted to perform an action when they have met all QualificationRequirements guarding
506
- * the action. The actions in the order of least restrictive to most restrictive are Discover, Preview and Accept.
507
- * For example, if a Worker meets all QualificationRequirements that are set to DiscoverPreviewAndAccept, but do
508
- * not meet all requirements that are set with PreviewAndAccept, then the Worker will be able to Discover, i.e. see the
509
- * HIT in their search result, but will not be able to Preview or Accept the HIT. ActionsGuarded should not be used in combination with the
510
- * <code>RequiredToPreview</code> field.
511
- * </p>
512
- */
235
+
513
236
  ActionsGuarded?: HITAccessActions | string;
514
237
  }
515
238
  export declare namespace QualificationRequirement {
516
- /**
517
- * @internal
518
- */
239
+
519
240
  const filterSensitiveLog: (obj: QualificationRequirement) => any;
520
241
  }
521
242
  export interface CreateHITRequest {
522
- /**
523
- * <p>
524
- * The number of times the HIT can be accepted and completed before the HIT becomes unavailable.
525
- * </p>
526
- */
243
+
527
244
  MaxAssignments?: number;
528
- /**
529
- * <p>
530
- * The number of seconds after an assignment for the HIT has been submitted,
531
- * after which the assignment is considered Approved automatically
532
- * unless the Requester explicitly rejects it.
533
- * </p>
534
- */
245
+
535
246
  AutoApprovalDelayInSeconds?: number;
536
- /**
537
- * <p>
538
- * An amount of time, in seconds, after which the HIT is no longer available for users to accept.
539
- * After the lifetime of the HIT elapses, the HIT no longer appears in HIT searches,
540
- * even if not all of the assignments for the HIT have been accepted.
541
- * </p>
542
- */
247
+
543
248
  LifetimeInSeconds: number | undefined;
544
- /**
545
- * <p>
546
- * The amount of time, in seconds, that a Worker has to complete the HIT after accepting it.
547
- * If a Worker does not complete the assignment within the specified duration,
548
- * the assignment is considered abandoned. If the HIT is still active
549
- * (that is, its lifetime has not elapsed), the assignment becomes available
550
- * for other users to find and accept.
551
- * </p>
552
- */
249
+
553
250
  AssignmentDurationInSeconds: number | undefined;
554
- /**
555
- * <p>
556
- * The amount of money the Requester will pay a Worker for successfully completing the HIT.
557
- * </p>
558
- */
251
+
559
252
  Reward: string | undefined;
560
- /**
561
- * <p>
562
- * The title of the HIT. A title should be short and descriptive about the kind of task the HIT contains.
563
- * On the Amazon Mechanical Turk web site, the HIT title appears in search results,
564
- * and everywhere the HIT is mentioned.
565
- * </p>
566
- */
253
+
567
254
  Title: string | undefined;
568
- /**
569
- * <p>
570
- * One or more words or phrases that describe the HIT, separated by commas.
571
- * These words are used in searches to find HITs.
572
- * </p>
573
- */
255
+
574
256
  Keywords?: string;
575
- /**
576
- * <p>
577
- * A general description of the HIT. A description includes detailed information about the kind of task
578
- * the HIT contains. On the Amazon Mechanical Turk web site, the HIT description appears in the expanded
579
- * view of search results, and in the HIT and assignment screens. A good description gives the user enough
580
- * information to evaluate the HIT before accepting it.
581
- * </p>
582
- */
257
+
583
258
  Description: string | undefined;
584
- /**
585
- * <p>
586
- * The data the person completing the HIT uses to produce the results.
587
- * </p>
588
- * <p>
589
- * Constraints: Must be a QuestionForm data structure, an ExternalQuestion data structure,
590
- * or an HTMLQuestion data structure. The XML question data must not be larger than
591
- * 64 kilobytes (65,535 bytes) in size, including whitespace.
592
- * </p>
593
- * <p>Either a Question parameter or a HITLayoutId parameter must be provided.</p>
594
- */
259
+
595
260
  Question?: string;
596
- /**
597
- * <p>
598
- * An arbitrary data field.
599
- * The RequesterAnnotation parameter lets your application attach arbitrary data
600
- * to the HIT for tracking purposes.
601
- * For example, this parameter could be an identifier internal to the Requester's application
602
- * that corresponds with the HIT.
603
- * </p>
604
- * <p>
605
- * The RequesterAnnotation parameter for a HIT is only visible to the Requester who created the HIT.
606
- * It is not shown to the Worker, or any other Requester.
607
- * </p>
608
- * <p>
609
- * The RequesterAnnotation parameter may be different for each HIT you submit.
610
- * It does not affect how your HITs are grouped.
611
- * </p>
612
- */
261
+
613
262
  RequesterAnnotation?: string;
614
- /**
615
- * <p>
616
- * Conditions that a Worker's Qualifications must meet in order
617
- * to accept the HIT. A HIT can have between zero and ten
618
- * Qualification requirements. All requirements must be met in
619
- * order for a Worker to accept the HIT. Additionally, other
620
- * actions can be restricted using the <code>ActionsGuarded</code>
621
- * field on each <code>QualificationRequirement</code> structure.
622
- * </p>
623
- */
263
+
624
264
  QualificationRequirements?: QualificationRequirement[];
625
- /**
626
- * <p>
627
- * A unique identifier for this request which allows you to retry the call
628
- * on error without creating duplicate HITs.
629
- * This is useful in cases such as network timeouts where it is unclear whether or not
630
- * the call succeeded on the server.
631
- * If the HIT already exists in the system from a previous call using the same UniqueRequestToken,
632
- * subsequent calls will return a AWS.MechanicalTurk.HitAlreadyExists error
633
- * with a message containing the HITId.
634
- * </p>
635
- * <note>
636
- * <p>
637
- * Note: It is your responsibility to ensure uniqueness of the token.
638
- * The unique token expires after 24 hours. Subsequent calls using the same
639
- * UniqueRequestToken made after the 24 hour limit could create duplicate HITs.
640
- * </p>
641
- * </note>
642
- */
265
+
643
266
  UniqueRequestToken?: string;
644
- /**
645
- * <p>
646
- * The Assignment-level Review Policy applies to the assignments under the HIT.
647
- * You can specify for Mechanical Turk to take various actions based on the policy.
648
- * </p>
649
- */
267
+
650
268
  AssignmentReviewPolicy?: ReviewPolicy;
651
- /**
652
- * <p>
653
- * The HIT-level Review Policy applies to the HIT.
654
- * You can specify for Mechanical Turk to take various actions based on the policy.
655
- * </p>
656
- */
269
+
657
270
  HITReviewPolicy?: ReviewPolicy;
658
- /**
659
- * <p>
660
- * The HITLayoutId allows you to use a pre-existing HIT design with placeholder values
661
- * and create an additional HIT by providing those values as HITLayoutParameters.
662
- * </p>
663
- * <p>
664
- * Constraints: Either a Question parameter or a HITLayoutId parameter must be provided.
665
- * </p>
666
- */
271
+
667
272
  HITLayoutId?: string;
668
- /**
669
- * <p>
670
- * If the HITLayoutId is provided, any placeholder values must be filled in with values
671
- * using the HITLayoutParameter structure. For more information, see HITLayout.
672
- * </p>
673
- */
273
+
674
274
  HITLayoutParameters?: HITLayoutParameter[];
675
275
  }
676
276
  export declare namespace CreateHITRequest {
677
- /**
678
- * @internal
679
- */
277
+
680
278
  const filterSensitiveLog: (obj: CreateHITRequest) => any;
681
279
  }
682
280
  export declare enum HITReviewStatus {
@@ -692,344 +290,123 @@ export declare enum HITStatus {
692
290
  Reviewing = "Reviewing",
693
291
  Unassignable = "Unassignable"
694
292
  }
695
- /**
696
- * <p> The HIT data structure represents a single HIT, including
697
- * all the information necessary for a Worker to accept and complete the
698
- * HIT.</p>
699
- */
293
+
700
294
  export interface HIT {
701
- /**
702
- * <p> A unique identifier for the HIT.</p>
703
- */
295
+
704
296
  HITId?: string;
705
- /**
706
- * <p>The ID of the HIT type of this HIT</p>
707
- */
297
+
708
298
  HITTypeId?: string;
709
- /**
710
- * <p> The ID of the HIT Group of this HIT.</p>
711
- */
299
+
712
300
  HITGroupId?: string;
713
- /**
714
- * <p> The ID of the HIT Layout of this HIT.</p>
715
- */
301
+
716
302
  HITLayoutId?: string;
717
- /**
718
- * <p> The date and time the HIT was created.</p>
719
- */
303
+
720
304
  CreationTime?: Date;
721
- /**
722
- * <p> The title of the HIT.</p>
723
- */
305
+
724
306
  Title?: string;
725
- /**
726
- * <p> A general description of the HIT.</p>
727
- */
307
+
728
308
  Description?: string;
729
- /**
730
- * <p> The data the Worker completing the HIT uses produce the
731
- * results. This is either either a QuestionForm, HTMLQuestion or an
732
- * ExternalQuestion data structure.</p>
733
- */
309
+
734
310
  Question?: string;
735
- /**
736
- * <p> One or more words or phrases that describe the HIT,
737
- * separated by commas. Search terms similar to the keywords of a HIT
738
- * are more likely to have the HIT in the search results.</p>
739
- */
311
+
740
312
  Keywords?: string;
741
- /**
742
- * <p>The status of the HIT and its assignments. Valid Values are
743
- * Assignable | Unassignable | Reviewable | Reviewing | Disposed.
744
- * </p>
745
- */
313
+
746
314
  HITStatus?: HITStatus | string;
747
- /**
748
- * <p>The number of times the HIT can be accepted and completed
749
- * before the HIT becomes unavailable.
750
- * </p>
751
- */
315
+
752
316
  MaxAssignments?: number;
753
- /**
754
- * <p>A string representing a currency amount.</p>
755
- */
317
+
756
318
  Reward?: string;
757
- /**
758
- * <p>The amount of time, in seconds, after the Worker submits an
759
- * assignment for the HIT that the results are automatically approved by
760
- * Amazon Mechanical Turk. This is the amount of time the Requester has
761
- * to reject an assignment submitted by a Worker before the assignment
762
- * is auto-approved and the Worker is paid.
763
- * </p>
764
- */
319
+
765
320
  AutoApprovalDelayInSeconds?: number;
766
- /**
767
- * <p>The date and time the HIT expires.</p>
768
- */
321
+
769
322
  Expiration?: Date;
770
- /**
771
- * <p> The length of time, in seconds, that a Worker has to
772
- * complete the HIT after accepting it.</p>
773
- */
323
+
774
324
  AssignmentDurationInSeconds?: number;
775
- /**
776
- * <p> An arbitrary data field the Requester who created the HIT
777
- * can use. This field is visible only to the creator of the HIT.</p>
778
- */
325
+
779
326
  RequesterAnnotation?: string;
780
- /**
781
- * <p>
782
- * Conditions that a Worker's Qualifications must meet in order
783
- * to accept the HIT. A HIT can have between zero and ten
784
- * Qualification requirements. All requirements must be met in
785
- * order for a Worker to accept the HIT. Additionally, other
786
- * actions can be restricted using the <code>ActionsGuarded</code>
787
- * field on each <code>QualificationRequirement</code> structure.
788
- * </p>
789
- */
327
+
790
328
  QualificationRequirements?: QualificationRequirement[];
791
- /**
792
- * <p> Indicates the review status of the HIT. Valid Values are
793
- * NotReviewed | MarkedForReview | ReviewedAppropriate |
794
- * ReviewedInappropriate.</p>
795
- */
329
+
796
330
  HITReviewStatus?: HITReviewStatus | string;
797
- /**
798
- * <p> The number of assignments for this HIT that are being
799
- * previewed or have been accepted by Workers, but have not yet been
800
- * submitted, returned, or abandoned.</p>
801
- */
331
+
802
332
  NumberOfAssignmentsPending?: number;
803
- /**
804
- * <p> The number of assignments for this HIT that are available
805
- * for Workers to accept.</p>
806
- */
333
+
807
334
  NumberOfAssignmentsAvailable?: number;
808
- /**
809
- * <p> The number of assignments for this HIT that have been
810
- * approved or rejected.</p>
811
- */
335
+
812
336
  NumberOfAssignmentsCompleted?: number;
813
337
  }
814
338
  export declare namespace HIT {
815
- /**
816
- * @internal
817
- */
339
+
818
340
  const filterSensitiveLog: (obj: HIT) => any;
819
341
  }
820
342
  export interface CreateHITResponse {
821
- /**
822
- * <p> Contains the newly created HIT data. For a description of
823
- * the HIT data structure as it appears in responses, see the HIT Data
824
- * Structure documentation.
825
- * </p>
826
- */
343
+
827
344
  HIT?: HIT;
828
345
  }
829
346
  export declare namespace CreateHITResponse {
830
- /**
831
- * @internal
832
- */
347
+
833
348
  const filterSensitiveLog: (obj: CreateHITResponse) => any;
834
349
  }
835
350
  export interface CreateHITTypeRequest {
836
- /**
837
- * <p>
838
- * The number of seconds after an assignment for the HIT has been submitted,
839
- * after which the assignment is considered Approved automatically
840
- * unless the Requester explicitly rejects it.
841
- * </p>
842
- */
351
+
843
352
  AutoApprovalDelayInSeconds?: number;
844
- /**
845
- * <p>
846
- * The amount of time, in seconds, that a Worker has to complete the HIT after accepting it.
847
- * If a Worker does not complete the assignment within the specified duration,
848
- * the assignment is considered abandoned. If the HIT is still active
849
- * (that is, its lifetime has not elapsed), the assignment becomes available
850
- * for other users to find and accept.
851
- * </p>
852
- */
353
+
853
354
  AssignmentDurationInSeconds: number | undefined;
854
- /**
855
- * <p>
856
- * The amount of money the Requester will pay a Worker for successfully completing the HIT.
857
- * </p>
858
- */
355
+
859
356
  Reward: string | undefined;
860
- /**
861
- * <p>
862
- * The title of the HIT. A title should be short and descriptive about the kind of task the HIT contains.
863
- * On the Amazon Mechanical Turk web site, the HIT title appears in search results,
864
- * and everywhere the HIT is mentioned.
865
- * </p>
866
- */
357
+
867
358
  Title: string | undefined;
868
- /**
869
- * <p>
870
- * One or more words or phrases that describe the HIT, separated by commas.
871
- * These words are used in searches to find HITs.
872
- * </p>
873
- */
359
+
874
360
  Keywords?: string;
875
- /**
876
- * <p>
877
- * A general description of the HIT. A description includes detailed information about the kind of task
878
- * the HIT contains. On the Amazon Mechanical Turk web site, the HIT description appears in the expanded
879
- * view of search results, and in the HIT and assignment screens. A good description gives the user enough
880
- * information to evaluate the HIT before accepting it.
881
- * </p>
882
- */
361
+
883
362
  Description: string | undefined;
884
- /**
885
- * <p>
886
- * Conditions that a Worker's Qualifications must meet in order
887
- * to accept the HIT. A HIT can have between zero and ten
888
- * Qualification requirements. All requirements must be met in
889
- * order for a Worker to accept the HIT. Additionally, other
890
- * actions can be restricted using the <code>ActionsGuarded</code>
891
- * field on each <code>QualificationRequirement</code> structure.
892
- * </p>
893
- */
363
+
894
364
  QualificationRequirements?: QualificationRequirement[];
895
365
  }
896
366
  export declare namespace CreateHITTypeRequest {
897
- /**
898
- * @internal
899
- */
367
+
900
368
  const filterSensitiveLog: (obj: CreateHITTypeRequest) => any;
901
369
  }
902
370
  export interface CreateHITTypeResponse {
903
- /**
904
- * <p> The ID of the newly registered HIT type.</p>
905
- */
371
+
906
372
  HITTypeId?: string;
907
373
  }
908
374
  export declare namespace CreateHITTypeResponse {
909
- /**
910
- * @internal
911
- */
375
+
912
376
  const filterSensitiveLog: (obj: CreateHITTypeResponse) => any;
913
377
  }
914
378
  export interface CreateHITWithHITTypeRequest {
915
- /**
916
- * <p>The HIT type ID you want to create this HIT with.</p>
917
- */
379
+
918
380
  HITTypeId: string | undefined;
919
- /**
920
- * <p>
921
- * The number of times the HIT can be accepted and completed before the HIT becomes unavailable.
922
- * </p>
923
- */
381
+
924
382
  MaxAssignments?: number;
925
- /**
926
- * <p>
927
- * An amount of time, in seconds, after which the HIT is no longer available for users to accept.
928
- * After the lifetime of the HIT elapses, the HIT no longer appears in HIT searches,
929
- * even if not all of the assignments for the HIT have been accepted.
930
- * </p>
931
- */
383
+
932
384
  LifetimeInSeconds: number | undefined;
933
- /**
934
- * <p>
935
- * The data the person completing the HIT uses to produce the results.
936
- * </p>
937
- * <p>
938
- * Constraints: Must be a QuestionForm data structure, an ExternalQuestion data structure,
939
- * or an HTMLQuestion data structure. The XML question data must not be larger than
940
- * 64 kilobytes (65,535 bytes) in size, including whitespace.
941
- * </p>
942
- * <p>Either a Question parameter or a HITLayoutId parameter must be provided.</p>
943
- */
385
+
944
386
  Question?: string;
945
- /**
946
- * <p>
947
- * An arbitrary data field.
948
- * The RequesterAnnotation parameter lets your application attach arbitrary data
949
- * to the HIT for tracking purposes.
950
- * For example, this parameter could be an identifier internal to the Requester's application
951
- * that corresponds with the HIT.
952
- * </p>
953
- * <p>
954
- * The RequesterAnnotation parameter for a HIT is only visible to the Requester who created the HIT.
955
- * It is not shown to the Worker, or any other Requester.
956
- * </p>
957
- * <p>
958
- * The RequesterAnnotation parameter may be different for each HIT you submit.
959
- * It does not affect how your HITs are grouped.
960
- * </p>
961
- */
387
+
962
388
  RequesterAnnotation?: string;
963
- /**
964
- * <p>
965
- * A unique identifier for this request which allows you to retry the call
966
- * on error without creating duplicate HITs.
967
- * This is useful in cases such as network timeouts where it is unclear whether or not
968
- * the call succeeded on the server.
969
- * If the HIT already exists in the system from a previous call using the same UniqueRequestToken,
970
- * subsequent calls will return a AWS.MechanicalTurk.HitAlreadyExists error
971
- * with a message containing the HITId.
972
- * </p>
973
- * <note>
974
- * <p>
975
- * Note: It is your responsibility to ensure uniqueness of the token.
976
- * The unique token expires after 24 hours. Subsequent calls using the same
977
- * UniqueRequestToken made after the 24 hour limit could create duplicate HITs.
978
- * </p>
979
- * </note>
980
- */
389
+
981
390
  UniqueRequestToken?: string;
982
- /**
983
- * <p>
984
- * The Assignment-level Review Policy applies to the assignments under the HIT.
985
- * You can specify for Mechanical Turk to take various actions based on the policy.
986
- * </p>
987
- */
391
+
988
392
  AssignmentReviewPolicy?: ReviewPolicy;
989
- /**
990
- * <p>
991
- * The HIT-level Review Policy applies to the HIT.
992
- * You can specify for Mechanical Turk to take various actions based on the policy.
993
- * </p>
994
- */
393
+
995
394
  HITReviewPolicy?: ReviewPolicy;
996
- /**
997
- * <p>
998
- * The HITLayoutId allows you to use a pre-existing HIT design with placeholder values
999
- * and create an additional HIT by providing those values as HITLayoutParameters.
1000
- * </p>
1001
- * <p>
1002
- * Constraints: Either a Question parameter or a HITLayoutId parameter must be provided.
1003
- * </p>
1004
- */
395
+
1005
396
  HITLayoutId?: string;
1006
- /**
1007
- * <p>
1008
- * If the HITLayoutId is provided, any placeholder values must be filled in with values
1009
- * using the HITLayoutParameter structure. For more information, see HITLayout.
1010
- * </p>
1011
- */
397
+
1012
398
  HITLayoutParameters?: HITLayoutParameter[];
1013
399
  }
1014
400
  export declare namespace CreateHITWithHITTypeRequest {
1015
- /**
1016
- * @internal
1017
- */
401
+
1018
402
  const filterSensitiveLog: (obj: CreateHITWithHITTypeRequest) => any;
1019
403
  }
1020
404
  export interface CreateHITWithHITTypeResponse {
1021
- /**
1022
- * <p> Contains the newly created HIT data. For a description of
1023
- * the HIT data structure as it appears in responses, see the HIT Data
1024
- * Structure documentation.
1025
- * </p>
1026
- */
405
+
1027
406
  HIT?: HIT;
1028
407
  }
1029
408
  export declare namespace CreateHITWithHITTypeResponse {
1030
- /**
1031
- * @internal
1032
- */
409
+
1033
410
  const filterSensitiveLog: (obj: CreateHITWithHITTypeResponse) => any;
1034
411
  }
1035
412
  export declare enum QualificationTypeStatus {
@@ -1037,327 +414,148 @@ export declare enum QualificationTypeStatus {
1037
414
  Inactive = "Inactive"
1038
415
  }
1039
416
  export interface CreateQualificationTypeRequest {
1040
- /**
1041
- * <p> The name you give to the Qualification type. The type name
1042
- * is used to represent the Qualification to Workers, and to find the
1043
- * type using a Qualification type search. It must be unique across all
1044
- * of your Qualification types.</p>
1045
- */
417
+
1046
418
  Name: string | undefined;
1047
- /**
1048
- * <p>One or more words or phrases that describe the Qualification
1049
- * type, separated by commas. The keywords of a type make the type
1050
- * easier to find during a search.</p>
1051
- */
419
+
1052
420
  Keywords?: string;
1053
- /**
1054
- * <p>A long description for the Qualification type. On the Amazon
1055
- * Mechanical Turk website, the long description is displayed when a
1056
- * Worker examines a Qualification type.</p>
1057
- */
421
+
1058
422
  Description: string | undefined;
1059
- /**
1060
- * <p>The initial status of the Qualification type.</p>
1061
- * <p>Constraints: Valid values are: Active | Inactive</p>
1062
- */
423
+
1063
424
  QualificationTypeStatus: QualificationTypeStatus | string | undefined;
1064
- /**
1065
- * <p>The number of seconds that a Worker must wait after
1066
- * requesting a Qualification of the Qualification type before the
1067
- * worker can retry the Qualification request.</p>
1068
- * <p>Constraints: None. If not specified, retries are disabled and
1069
- * Workers can request a Qualification of this type only once, even if
1070
- * the Worker has not been granted the Qualification. It is not possible
1071
- * to disable retries for a Qualification type after it has been created
1072
- * with retries enabled. If you want to disable retries, you must delete
1073
- * existing retry-enabled Qualification type and then create a new
1074
- * Qualification type with retries disabled.</p>
1075
- */
425
+
1076
426
  RetryDelayInSeconds?: number;
1077
- /**
1078
- * <p>
1079
- * The questions for the Qualification test a Worker must answer
1080
- * correctly to obtain a Qualification of this type. If this parameter
1081
- * is specified,
1082
- * <code>TestDurationInSeconds</code>
1083
- * must also be specified.
1084
- * </p>
1085
- * <p>Constraints: Must not be longer than 65535 bytes. Must be a
1086
- * QuestionForm data structure. This parameter cannot be specified if
1087
- * AutoGranted is true.</p>
1088
- * <p>Constraints: None. If not specified, the Worker may request
1089
- * the Qualification without answering any questions.</p>
1090
- */
427
+
1091
428
  Test?: string;
1092
- /**
1093
- * <p>The answers to the Qualification test specified in the Test
1094
- * parameter, in the form of an AnswerKey data structure.</p>
1095
- * <p>Constraints: Must not be longer than 65535 bytes.</p>
1096
- * <p>Constraints: None. If not specified, you must process
1097
- * Qualification requests manually.</p>
1098
- */
429
+
1099
430
  AnswerKey?: string;
1100
- /**
1101
- * <p>The number of seconds the Worker has to complete the
1102
- * Qualification test, starting from the time the Worker requests the
1103
- * Qualification.</p>
1104
- */
431
+
1105
432
  TestDurationInSeconds?: number;
1106
- /**
1107
- * <p>Specifies whether requests for the Qualification type are
1108
- * granted immediately, without prompting the Worker with a
1109
- * Qualification test.</p>
1110
- * <p>Constraints: If the Test parameter is specified, this
1111
- * parameter cannot be true.</p>
1112
- */
433
+
1113
434
  AutoGranted?: boolean;
1114
- /**
1115
- * <p>The Qualification value to use for automatically granted
1116
- * Qualifications. This parameter is used only if the AutoGranted
1117
- * parameter is true.</p>
1118
- */
435
+
1119
436
  AutoGrantedValue?: number;
1120
437
  }
1121
438
  export declare namespace CreateQualificationTypeRequest {
1122
- /**
1123
- * @internal
1124
- */
439
+
1125
440
  const filterSensitiveLog: (obj: CreateQualificationTypeRequest) => any;
1126
441
  }
1127
- /**
1128
- * <p> The QualificationType data structure represents a
1129
- * Qualification type, a description of a property of a Worker that must
1130
- * match the requirements of a HIT for the Worker to be able to accept
1131
- * the HIT. The type also describes how a Worker can obtain a
1132
- * Qualification of that type, such as through a Qualification test.
1133
- * </p>
1134
- */
442
+
1135
443
  export interface QualificationType {
1136
- /**
1137
- * <p> A unique identifier for the Qualification type. A
1138
- * Qualification type is given a Qualification type ID when you call the
1139
- * CreateQualificationType operation.
1140
- * </p>
1141
- */
444
+
1142
445
  QualificationTypeId?: string;
1143
- /**
1144
- * <p> The date and time the Qualification type was created.
1145
- * </p>
1146
- */
446
+
1147
447
  CreationTime?: Date;
1148
- /**
1149
- * <p> The name of the Qualification type. The type name is used to
1150
- * identify the type, and to find the type using a Qualification type
1151
- * search.
1152
- * </p>
1153
- */
448
+
1154
449
  Name?: string;
1155
- /**
1156
- * <p> A long description for the Qualification type.
1157
- * </p>
1158
- */
450
+
1159
451
  Description?: string;
1160
- /**
1161
- * <p> One or more words or phrases that describe theQualification
1162
- * type, separated by commas. The Keywords make the type easier to find
1163
- * using a search.
1164
- * </p>
1165
- */
452
+
1166
453
  Keywords?: string;
1167
- /**
1168
- * <p> The status of the Qualification type. A Qualification type's
1169
- * status determines if users can apply to receive a Qualification of
1170
- * this type, and if HITs can be created with requirements based on this
1171
- * type. Valid values are Active | Inactive.
1172
- * </p>
1173
- */
454
+
1174
455
  QualificationTypeStatus?: QualificationTypeStatus | string;
1175
- /**
1176
- * <p> The questions for a Qualification test associated with this
1177
- * Qualification type that a user can take to obtain a Qualification of
1178
- * this type. This parameter must be specified if AnswerKey is present.
1179
- * A Qualification type cannot have both a specified Test parameter and
1180
- * an AutoGranted value of true.
1181
- * </p>
1182
- */
456
+
1183
457
  Test?: string;
1184
- /**
1185
- * <p> The amount of time, in seconds, given to a Worker to
1186
- * complete the Qualification test, beginning from the time the Worker
1187
- * requests the Qualification.
1188
- * </p>
1189
- */
458
+
1190
459
  TestDurationInSeconds?: number;
1191
- /**
1192
- * <p>The answers to the Qualification test specified in the Test
1193
- * parameter.</p>
1194
- */
460
+
1195
461
  AnswerKey?: string;
1196
- /**
1197
- * <p> The amount of time, in seconds, Workers must wait after
1198
- * taking the Qualification test before they can take it again. Workers
1199
- * can take a Qualification test multiple times if they were not granted
1200
- * the Qualification from a previous attempt, or if the test offers a
1201
- * gradient score and they want a better score. If not specified,
1202
- * retries are disabled and Workers can request a Qualification only
1203
- * once.
1204
- * </p>
1205
- */
462
+
1206
463
  RetryDelayInSeconds?: number;
1207
- /**
1208
- * <p> Specifies whether the Qualification type is one that a user
1209
- * can request through the Amazon Mechanical Turk web site, such as by
1210
- * taking a Qualification test. This value is False for Qualifications
1211
- * assigned automatically by the system. Valid values are True | False.
1212
- * </p>
1213
- */
464
+
1214
465
  IsRequestable?: boolean;
1215
- /**
1216
- * <p>Specifies that requests for the Qualification type are
1217
- * granted immediately, without prompting the Worker with a
1218
- * Qualification test. Valid values are True | False.</p>
1219
- */
466
+
1220
467
  AutoGranted?: boolean;
1221
- /**
1222
- * <p> The Qualification integer value to use for automatically
1223
- * granted Qualifications, if AutoGranted is true. This is 1 by default.
1224
- * </p>
1225
- */
468
+
1226
469
  AutoGrantedValue?: number;
1227
470
  }
1228
471
  export declare namespace QualificationType {
1229
- /**
1230
- * @internal
1231
- */
472
+
1232
473
  const filterSensitiveLog: (obj: QualificationType) => any;
1233
474
  }
1234
475
  export interface CreateQualificationTypeResponse {
1235
- /**
1236
- * <p>The created Qualification type, returned as a
1237
- * QualificationType data structure.</p>
1238
- */
476
+
1239
477
  QualificationType?: QualificationType;
1240
478
  }
1241
479
  export declare namespace CreateQualificationTypeResponse {
1242
- /**
1243
- * @internal
1244
- */
480
+
1245
481
  const filterSensitiveLog: (obj: CreateQualificationTypeResponse) => any;
1246
482
  }
1247
483
  export interface CreateWorkerBlockRequest {
1248
- /**
1249
- * <p>The ID of the Worker to block.</p>
1250
- */
484
+
1251
485
  WorkerId: string | undefined;
1252
- /**
1253
- * <p>A message explaining the reason for blocking the Worker. This parameter enables you to keep track of your Workers. The Worker does not see this message.</p>
1254
- */
486
+
1255
487
  Reason: string | undefined;
1256
488
  }
1257
489
  export declare namespace CreateWorkerBlockRequest {
1258
- /**
1259
- * @internal
1260
- */
490
+
1261
491
  const filterSensitiveLog: (obj: CreateWorkerBlockRequest) => any;
1262
492
  }
1263
493
  export interface CreateWorkerBlockResponse {
1264
494
  }
1265
495
  export declare namespace CreateWorkerBlockResponse {
1266
- /**
1267
- * @internal
1268
- */
496
+
1269
497
  const filterSensitiveLog: (obj: CreateWorkerBlockResponse) => any;
1270
498
  }
1271
499
  export interface DeleteHITRequest {
1272
- /**
1273
- * <p>The ID of the HIT to be deleted.</p>
1274
- */
500
+
1275
501
  HITId: string | undefined;
1276
502
  }
1277
503
  export declare namespace DeleteHITRequest {
1278
- /**
1279
- * @internal
1280
- */
504
+
1281
505
  const filterSensitiveLog: (obj: DeleteHITRequest) => any;
1282
506
  }
1283
507
  export interface DeleteHITResponse {
1284
508
  }
1285
509
  export declare namespace DeleteHITResponse {
1286
- /**
1287
- * @internal
1288
- */
510
+
1289
511
  const filterSensitiveLog: (obj: DeleteHITResponse) => any;
1290
512
  }
1291
513
  export interface DeleteQualificationTypeRequest {
1292
- /**
1293
- * <p>The ID of the QualificationType to dispose.</p>
1294
- */
514
+
1295
515
  QualificationTypeId: string | undefined;
1296
516
  }
1297
517
  export declare namespace DeleteQualificationTypeRequest {
1298
- /**
1299
- * @internal
1300
- */
518
+
1301
519
  const filterSensitiveLog: (obj: DeleteQualificationTypeRequest) => any;
1302
520
  }
1303
521
  export interface DeleteQualificationTypeResponse {
1304
522
  }
1305
523
  export declare namespace DeleteQualificationTypeResponse {
1306
- /**
1307
- * @internal
1308
- */
524
+
1309
525
  const filterSensitiveLog: (obj: DeleteQualificationTypeResponse) => any;
1310
526
  }
1311
527
  export interface DeleteWorkerBlockRequest {
1312
- /**
1313
- * <p>The ID of the Worker to unblock.</p>
1314
- */
528
+
1315
529
  WorkerId: string | undefined;
1316
- /**
1317
- * <p>A message that explains the reason for unblocking the Worker. The Worker does not see this message.</p>
1318
- */
530
+
1319
531
  Reason?: string;
1320
532
  }
1321
533
  export declare namespace DeleteWorkerBlockRequest {
1322
- /**
1323
- * @internal
1324
- */
534
+
1325
535
  const filterSensitiveLog: (obj: DeleteWorkerBlockRequest) => any;
1326
536
  }
1327
537
  export interface DeleteWorkerBlockResponse {
1328
538
  }
1329
539
  export declare namespace DeleteWorkerBlockResponse {
1330
- /**
1331
- * @internal
1332
- */
540
+
1333
541
  const filterSensitiveLog: (obj: DeleteWorkerBlockResponse) => any;
1334
542
  }
1335
543
  export interface DisassociateQualificationFromWorkerRequest {
1336
- /**
1337
- * <p>The ID of the Worker who possesses the Qualification to be revoked.</p>
1338
- */
544
+
1339
545
  WorkerId: string | undefined;
1340
- /**
1341
- * <p>The ID of the Qualification type of the Qualification to be revoked.</p>
1342
- */
546
+
1343
547
  QualificationTypeId: string | undefined;
1344
- /**
1345
- * <p>A text message that explains why the Qualification was revoked. The user who had the Qualification sees this message.</p>
1346
- */
548
+
1347
549
  Reason?: string;
1348
550
  }
1349
551
  export declare namespace DisassociateQualificationFromWorkerRequest {
1350
- /**
1351
- * @internal
1352
- */
552
+
1353
553
  const filterSensitiveLog: (obj: DisassociateQualificationFromWorkerRequest) => any;
1354
554
  }
1355
555
  export interface DisassociateQualificationFromWorkerResponse {
1356
556
  }
1357
557
  export declare namespace DisassociateQualificationFromWorkerResponse {
1358
- /**
1359
- * @internal
1360
- */
558
+
1361
559
  const filterSensitiveLog: (obj: DisassociateQualificationFromWorkerResponse) => any;
1362
560
  }
1363
561
  export declare enum EventType {
@@ -1377,580 +575,292 @@ export declare enum EventType {
1377
575
  export interface GetAccountBalanceRequest {
1378
576
  }
1379
577
  export declare namespace GetAccountBalanceRequest {
1380
- /**
1381
- * @internal
1382
- */
578
+
1383
579
  const filterSensitiveLog: (obj: GetAccountBalanceRequest) => any;
1384
580
  }
1385
581
  export interface GetAccountBalanceResponse {
1386
- /**
1387
- * <p>A string representing a currency amount.</p>
1388
- */
582
+
1389
583
  AvailableBalance?: string;
1390
- /**
1391
- * <p>A string representing a currency amount.</p>
1392
- */
584
+
1393
585
  OnHoldBalance?: string;
1394
586
  }
1395
587
  export declare namespace GetAccountBalanceResponse {
1396
- /**
1397
- * @internal
1398
- */
588
+
1399
589
  const filterSensitiveLog: (obj: GetAccountBalanceResponse) => any;
1400
590
  }
1401
591
  export interface GetAssignmentRequest {
1402
- /**
1403
- * <p>The ID of the Assignment to be retrieved.</p>
1404
- */
592
+
1405
593
  AssignmentId: string | undefined;
1406
594
  }
1407
595
  export declare namespace GetAssignmentRequest {
1408
- /**
1409
- * @internal
1410
- */
596
+
1411
597
  const filterSensitiveLog: (obj: GetAssignmentRequest) => any;
1412
598
  }
1413
599
  export interface GetAssignmentResponse {
1414
- /**
1415
- * <p> The assignment. The response includes one Assignment
1416
- * element.
1417
- * </p>
1418
- */
600
+
1419
601
  Assignment?: Assignment;
1420
- /**
1421
- * <p> The HIT associated with this assignment. The response
1422
- * includes one HIT element.</p>
1423
- */
602
+
1424
603
  HIT?: HIT;
1425
604
  }
1426
605
  export declare namespace GetAssignmentResponse {
1427
- /**
1428
- * @internal
1429
- */
606
+
1430
607
  const filterSensitiveLog: (obj: GetAssignmentResponse) => any;
1431
608
  }
1432
609
  export interface GetFileUploadURLRequest {
1433
- /**
1434
- * <p>The ID of the assignment that contains the question with a
1435
- * FileUploadAnswer.</p>
1436
- */
610
+
1437
611
  AssignmentId: string | undefined;
1438
- /**
1439
- * <p>The identifier of the question with a FileUploadAnswer, as
1440
- * specified in the QuestionForm of the HIT.</p>
1441
- */
612
+
1442
613
  QuestionIdentifier: string | undefined;
1443
614
  }
1444
615
  export declare namespace GetFileUploadURLRequest {
1445
- /**
1446
- * @internal
1447
- */
616
+
1448
617
  const filterSensitiveLog: (obj: GetFileUploadURLRequest) => any;
1449
618
  }
1450
619
  export interface GetFileUploadURLResponse {
1451
- /**
1452
- * <p> A temporary URL for the file that the Worker uploaded for
1453
- * the answer.
1454
- * </p>
1455
- */
620
+
1456
621
  FileUploadURL?: string;
1457
622
  }
1458
623
  export declare namespace GetFileUploadURLResponse {
1459
- /**
1460
- * @internal
1461
- */
624
+
1462
625
  const filterSensitiveLog: (obj: GetFileUploadURLResponse) => any;
1463
626
  }
1464
627
  export interface GetHITRequest {
1465
- /**
1466
- * <p>The ID of the HIT to be retrieved.</p>
1467
- */
628
+
1468
629
  HITId: string | undefined;
1469
630
  }
1470
631
  export declare namespace GetHITRequest {
1471
- /**
1472
- * @internal
1473
- */
632
+
1474
633
  const filterSensitiveLog: (obj: GetHITRequest) => any;
1475
634
  }
1476
635
  export interface GetHITResponse {
1477
- /**
1478
- * <p> Contains the requested HIT data.</p>
1479
- */
636
+
1480
637
  HIT?: HIT;
1481
638
  }
1482
639
  export declare namespace GetHITResponse {
1483
- /**
1484
- * @internal
1485
- */
640
+
1486
641
  const filterSensitiveLog: (obj: GetHITResponse) => any;
1487
642
  }
1488
643
  export interface GetQualificationScoreRequest {
1489
- /**
1490
- * <p>The ID of the QualificationType.</p>
1491
- */
644
+
1492
645
  QualificationTypeId: string | undefined;
1493
- /**
1494
- * <p>The ID of the Worker whose Qualification is being updated.</p>
1495
- */
646
+
1496
647
  WorkerId: string | undefined;
1497
648
  }
1498
649
  export declare namespace GetQualificationScoreRequest {
1499
- /**
1500
- * @internal
1501
- */
650
+
1502
651
  const filterSensitiveLog: (obj: GetQualificationScoreRequest) => any;
1503
652
  }
1504
653
  export declare enum QualificationStatus {
1505
654
  Granted = "Granted",
1506
655
  Revoked = "Revoked"
1507
656
  }
1508
- /**
1509
- * <p>The Qualification data structure represents a Qualification
1510
- * assigned to a user, including the Qualification type and the value
1511
- * (score).</p>
1512
- */
657
+
1513
658
  export interface Qualification {
1514
- /**
1515
- * <p> The ID of the Qualification type for the Qualification.</p>
1516
- */
659
+
1517
660
  QualificationTypeId?: string;
1518
- /**
1519
- * <p> The ID of the Worker who possesses the Qualification.
1520
- * </p>
1521
- */
661
+
1522
662
  WorkerId?: string;
1523
- /**
1524
- * <p> The date and time the Qualification was granted to the
1525
- * Worker. If the Worker's Qualification was revoked, and then
1526
- * re-granted based on a new Qualification request, GrantTime is the
1527
- * date and time of the last call to the AcceptQualificationRequest
1528
- * operation.</p>
1529
- */
663
+
1530
664
  GrantTime?: Date;
1531
- /**
1532
- * <p> The value (score) of the Qualification, if the Qualification
1533
- * has an integer value.</p>
1534
- */
665
+
1535
666
  IntegerValue?: number;
1536
- /**
1537
- * <p>The Locale data structure represents a geographical region or location.</p>
1538
- */
667
+
1539
668
  LocaleValue?: Locale;
1540
- /**
1541
- * <p> The status of the Qualification. Valid values are Granted |
1542
- * Revoked.</p>
1543
- */
669
+
1544
670
  Status?: QualificationStatus | string;
1545
671
  }
1546
672
  export declare namespace Qualification {
1547
- /**
1548
- * @internal
1549
- */
673
+
1550
674
  const filterSensitiveLog: (obj: Qualification) => any;
1551
675
  }
1552
676
  export interface GetQualificationScoreResponse {
1553
- /**
1554
- * <p> The Qualification data structure of the Qualification
1555
- * assigned to a user, including the Qualification type and the value
1556
- * (score).
1557
- * </p>
1558
- */
677
+
1559
678
  Qualification?: Qualification;
1560
679
  }
1561
680
  export declare namespace GetQualificationScoreResponse {
1562
- /**
1563
- * @internal
1564
- */
681
+
1565
682
  const filterSensitiveLog: (obj: GetQualificationScoreResponse) => any;
1566
683
  }
1567
684
  export interface GetQualificationTypeRequest {
1568
- /**
1569
- * <p>The ID of the QualificationType.</p>
1570
- */
685
+
1571
686
  QualificationTypeId: string | undefined;
1572
687
  }
1573
688
  export declare namespace GetQualificationTypeRequest {
1574
- /**
1575
- * @internal
1576
- */
689
+
1577
690
  const filterSensitiveLog: (obj: GetQualificationTypeRequest) => any;
1578
691
  }
1579
692
  export interface GetQualificationTypeResponse {
1580
- /**
1581
- * <p> The returned Qualification Type</p>
1582
- */
693
+
1583
694
  QualificationType?: QualificationType;
1584
695
  }
1585
696
  export declare namespace GetQualificationTypeResponse {
1586
- /**
1587
- * @internal
1588
- */
697
+
1589
698
  const filterSensitiveLog: (obj: GetQualificationTypeResponse) => any;
1590
699
  }
1591
700
  export interface ListAssignmentsForHITRequest {
1592
- /**
1593
- * <p>The ID of the HIT.</p>
1594
- */
701
+
1595
702
  HITId: string | undefined;
1596
- /**
1597
- * <p>Pagination token</p>
1598
- */
703
+
1599
704
  NextToken?: string;
1600
705
  MaxResults?: number;
1601
- /**
1602
- * <p>The status of the assignments to return: Submitted | Approved
1603
- * | Rejected</p>
1604
- */
706
+
1605
707
  AssignmentStatuses?: (AssignmentStatus | string)[];
1606
708
  }
1607
709
  export declare namespace ListAssignmentsForHITRequest {
1608
- /**
1609
- * @internal
1610
- */
710
+
1611
711
  const filterSensitiveLog: (obj: ListAssignmentsForHITRequest) => any;
1612
712
  }
1613
713
  export interface ListAssignmentsForHITResponse {
1614
- /**
1615
- * <p>If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk
1616
- * returns a pagination token in the response. You can use this pagination token
1617
- * to retrieve the next set of results.
1618
- * </p>
1619
- */
714
+
1620
715
  NextToken?: string;
1621
- /**
1622
- * <p> The number of assignments on the page in the filtered
1623
- * results list, equivalent to the number of assignments returned by
1624
- * this call.</p>
1625
- */
716
+
1626
717
  NumResults?: number;
1627
- /**
1628
- * <p> The collection of Assignment data structures returned by
1629
- * this call.</p>
1630
- */
718
+
1631
719
  Assignments?: Assignment[];
1632
720
  }
1633
721
  export declare namespace ListAssignmentsForHITResponse {
1634
- /**
1635
- * @internal
1636
- */
722
+
1637
723
  const filterSensitiveLog: (obj: ListAssignmentsForHITResponse) => any;
1638
724
  }
1639
725
  export interface ListBonusPaymentsRequest {
1640
- /**
1641
- * <p>The ID of the HIT associated with the bonus payments to
1642
- * retrieve. If not specified, all bonus payments for all assignments
1643
- * for the given HIT are returned. Either the HITId parameter or the
1644
- * AssignmentId parameter must be specified</p>
1645
- */
726
+
1646
727
  HITId?: string;
1647
- /**
1648
- * <p>The ID of the assignment associated with the bonus payments
1649
- * to retrieve. If specified, only bonus payments for the given
1650
- * assignment are returned. Either the HITId parameter or the
1651
- * AssignmentId parameter must be specified</p>
1652
- */
728
+
1653
729
  AssignmentId?: string;
1654
- /**
1655
- * <p>Pagination token</p>
1656
- */
730
+
1657
731
  NextToken?: string;
1658
732
  MaxResults?: number;
1659
733
  }
1660
734
  export declare namespace ListBonusPaymentsRequest {
1661
- /**
1662
- * @internal
1663
- */
735
+
1664
736
  const filterSensitiveLog: (obj: ListBonusPaymentsRequest) => any;
1665
737
  }
1666
738
  export interface ListBonusPaymentsResponse {
1667
- /**
1668
- * <p>The number of bonus payments on this page in the filtered
1669
- * results list, equivalent to the number of bonus payments being
1670
- * returned by this call.
1671
- * </p>
1672
- */
739
+
1673
740
  NumResults?: number;
1674
- /**
1675
- * <p>If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk
1676
- * returns a pagination token in the response. You can use this pagination token
1677
- * to retrieve the next set of results.
1678
- * </p>
1679
- */
741
+
1680
742
  NextToken?: string;
1681
- /**
1682
- * <p>A successful request to the ListBonusPayments operation
1683
- * returns a list of BonusPayment objects.
1684
- * </p>
1685
- */
743
+
1686
744
  BonusPayments?: BonusPayment[];
1687
745
  }
1688
746
  export declare namespace ListBonusPaymentsResponse {
1689
- /**
1690
- * @internal
1691
- */
747
+
1692
748
  const filterSensitiveLog: (obj: ListBonusPaymentsResponse) => any;
1693
749
  }
1694
750
  export interface ListHITsRequest {
1695
- /**
1696
- * <p>Pagination token</p>
1697
- */
751
+
1698
752
  NextToken?: string;
1699
753
  MaxResults?: number;
1700
754
  }
1701
755
  export declare namespace ListHITsRequest {
1702
- /**
1703
- * @internal
1704
- */
756
+
1705
757
  const filterSensitiveLog: (obj: ListHITsRequest) => any;
1706
758
  }
1707
759
  export interface ListHITsResponse {
1708
- /**
1709
- * <p>If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk
1710
- * returns a pagination token in the response. You can use this pagination token
1711
- * to retrieve the next set of results.
1712
- * </p>
1713
- */
760
+
1714
761
  NextToken?: string;
1715
- /**
1716
- * <p>The number of HITs on this page in the filtered results list,
1717
- * equivalent to the number of HITs being returned by this call.</p>
1718
- */
762
+
1719
763
  NumResults?: number;
1720
- /**
1721
- * <p> The list of HIT elements returned by the query.</p>
1722
- */
764
+
1723
765
  HITs?: HIT[];
1724
766
  }
1725
767
  export declare namespace ListHITsResponse {
1726
- /**
1727
- * @internal
1728
- */
768
+
1729
769
  const filterSensitiveLog: (obj: ListHITsResponse) => any;
1730
770
  }
1731
771
  export interface ListHITsForQualificationTypeRequest {
1732
- /**
1733
- * <p>
1734
- * The ID of the Qualification type to use when querying HITs.
1735
- * </p>
1736
- */
772
+
1737
773
  QualificationTypeId: string | undefined;
1738
- /**
1739
- * <p>Pagination Token</p>
1740
- */
774
+
1741
775
  NextToken?: string;
1742
- /**
1743
- * <p>
1744
- * Limit the number of results returned.
1745
- * </p>
1746
- */
776
+
1747
777
  MaxResults?: number;
1748
778
  }
1749
779
  export declare namespace ListHITsForQualificationTypeRequest {
1750
- /**
1751
- * @internal
1752
- */
780
+
1753
781
  const filterSensitiveLog: (obj: ListHITsForQualificationTypeRequest) => any;
1754
782
  }
1755
783
  export interface ListHITsForQualificationTypeResponse {
1756
- /**
1757
- * <p>If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk
1758
- * returns a pagination token in the response. You can use this pagination token
1759
- * to retrieve the next set of results.
1760
- * </p>
1761
- */
784
+
1762
785
  NextToken?: string;
1763
- /**
1764
- * <p> The number of HITs on this page in the filtered results
1765
- * list, equivalent to the number of HITs being returned by this call. </p>
1766
- */
786
+
1767
787
  NumResults?: number;
1768
- /**
1769
- * <p> The list of HIT elements returned by the query.</p>
1770
- */
788
+
1771
789
  HITs?: HIT[];
1772
790
  }
1773
791
  export declare namespace ListHITsForQualificationTypeResponse {
1774
- /**
1775
- * @internal
1776
- */
792
+
1777
793
  const filterSensitiveLog: (obj: ListHITsForQualificationTypeResponse) => any;
1778
794
  }
1779
795
  export interface ListQualificationRequestsRequest {
1780
- /**
1781
- * <p>The ID of the QualificationType.</p>
1782
- */
796
+
1783
797
  QualificationTypeId?: string;
1784
- /**
1785
- * <p>If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk
1786
- * returns a pagination token in the response. You can use this pagination token
1787
- * to retrieve the next set of results.
1788
- * </p>
1789
- */
798
+
1790
799
  NextToken?: string;
1791
- /**
1792
- * <p> The maximum number of results to return in a single call.
1793
- * </p>
1794
- */
800
+
1795
801
  MaxResults?: number;
1796
802
  }
1797
803
  export declare namespace ListQualificationRequestsRequest {
1798
- /**
1799
- * @internal
1800
- */
804
+
1801
805
  const filterSensitiveLog: (obj: ListQualificationRequestsRequest) => any;
1802
806
  }
1803
- /**
1804
- * <p> The QualificationRequest data structure represents a request
1805
- * a Worker has made for a Qualification.
1806
- * </p>
1807
- */
807
+
1808
808
  export interface QualificationRequest {
1809
- /**
1810
- * <p>The ID of the Qualification request, a unique identifier
1811
- * generated when the request was submitted.
1812
- *
1813
- * </p>
1814
- */
809
+
1815
810
  QualificationRequestId?: string;
1816
- /**
1817
- * <p> The ID of the Qualification type the Worker is requesting,
1818
- * as returned by the CreateQualificationType operation.
1819
- * </p>
1820
- */
811
+
1821
812
  QualificationTypeId?: string;
1822
- /**
1823
- * <p> The ID of the Worker requesting the Qualification.</p>
1824
- */
813
+
1825
814
  WorkerId?: string;
1826
- /**
1827
- * <p> The contents of the Qualification test that was presented to
1828
- * the Worker, if the type has a test and the Worker has submitted
1829
- * answers. This value is identical to the QuestionForm associated with
1830
- * the Qualification type at the time the Worker requests the
1831
- * Qualification.</p>
1832
- */
815
+
1833
816
  Test?: string;
1834
- /**
1835
- * <p> The Worker's answers for the Qualification type's test
1836
- * contained in a QuestionFormAnswers document, if the type has a test
1837
- * and the Worker has submitted answers. If the Worker does not provide
1838
- * any answers, Answer may be empty.
1839
- * </p>
1840
- */
817
+
1841
818
  Answer?: string;
1842
- /**
1843
- * <p>The date and time the Qualification request had a status of
1844
- * Submitted. This is either the time the Worker submitted answers for a
1845
- * Qualification test, or the time the Worker requested the
1846
- * Qualification if the Qualification type does not have a test.
1847
- * </p>
1848
- */
819
+
1849
820
  SubmitTime?: Date;
1850
821
  }
1851
822
  export declare namespace QualificationRequest {
1852
- /**
1853
- * @internal
1854
- */
823
+
1855
824
  const filterSensitiveLog: (obj: QualificationRequest) => any;
1856
825
  }
1857
826
  export interface ListQualificationRequestsResponse {
1858
- /**
1859
- * <p>The number of Qualification requests on this page in the filtered results list,
1860
- * equivalent to the number of Qualification requests being returned by this call.</p>
1861
- */
827
+
1862
828
  NumResults?: number;
1863
- /**
1864
- * <p>If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk
1865
- * returns a pagination token in the response. You can use this pagination token
1866
- * to retrieve the next set of results.
1867
- * </p>
1868
- */
829
+
1869
830
  NextToken?: string;
1870
- /**
1871
- * <p>The Qualification request. The response includes one
1872
- * QualificationRequest element
1873
- * for each Qualification request returned
1874
- * by the query.</p>
1875
- */
831
+
1876
832
  QualificationRequests?: QualificationRequest[];
1877
833
  }
1878
834
  export declare namespace ListQualificationRequestsResponse {
1879
- /**
1880
- * @internal
1881
- */
835
+
1882
836
  const filterSensitiveLog: (obj: ListQualificationRequestsResponse) => any;
1883
837
  }
1884
838
  export interface ListQualificationTypesRequest {
1885
- /**
1886
- * <p> A text query against all of the searchable attributes of
1887
- * Qualification types.
1888
- * </p>
1889
- */
839
+
1890
840
  Query?: string;
1891
- /**
1892
- * <p>Specifies that only Qualification types that a user can
1893
- * request through the Amazon Mechanical Turk web site, such as by
1894
- * taking a Qualification test, are returned as results of the search.
1895
- * Some Qualification types, such as those assigned automatically by the
1896
- * system, cannot be requested directly by users. If false, all
1897
- * Qualification types, including those managed by the system, are
1898
- * considered. Valid values are True | False.
1899
- * </p>
1900
- */
841
+
1901
842
  MustBeRequestable: boolean | undefined;
1902
- /**
1903
- * <p> Specifies that only Qualification types that the Requester
1904
- * created are returned. If false, the operation returns all
1905
- * Qualification types.
1906
- * </p>
1907
- */
843
+
1908
844
  MustBeOwnedByCaller?: boolean;
1909
- /**
1910
- * <p>If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk
1911
- * returns a pagination token in the response. You can use this pagination token
1912
- * to retrieve the next set of results.
1913
- * </p>
1914
- */
845
+
1915
846
  NextToken?: string;
1916
- /**
1917
- * <p> The maximum number of results to return in a single call.
1918
- * </p>
1919
- */
847
+
1920
848
  MaxResults?: number;
1921
849
  }
1922
850
  export declare namespace ListQualificationTypesRequest {
1923
- /**
1924
- * @internal
1925
- */
851
+
1926
852
  const filterSensitiveLog: (obj: ListQualificationTypesRequest) => any;
1927
853
  }
1928
854
  export interface ListQualificationTypesResponse {
1929
- /**
1930
- * <p> The number of Qualification types on this page in the
1931
- * filtered results list, equivalent to the number of types this
1932
- * operation returns.
1933
- * </p>
1934
- */
855
+
1935
856
  NumResults?: number;
1936
- /**
1937
- * <p>If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk
1938
- * returns a pagination token in the response. You can use this pagination token
1939
- * to retrieve the next set of results.
1940
- * </p>
1941
- */
857
+
1942
858
  NextToken?: string;
1943
- /**
1944
- * <p> The list of QualificationType elements returned by the
1945
- * query.
1946
- * </p>
1947
- */
859
+
1948
860
  QualificationTypes?: QualificationType[];
1949
861
  }
1950
862
  export declare namespace ListQualificationTypesResponse {
1951
- /**
1952
- * @internal
1953
- */
863
+
1954
864
  const filterSensitiveLog: (obj: ListQualificationTypesResponse) => any;
1955
865
  }
1956
866
  export declare enum ReviewableHITStatus {
@@ -1958,60 +868,29 @@ export declare enum ReviewableHITStatus {
1958
868
  Reviewing = "Reviewing"
1959
869
  }
1960
870
  export interface ListReviewableHITsRequest {
1961
- /**
1962
- * <p>
1963
- * The ID of the HIT type of the HITs to consider for the query.
1964
- * If not specified, all HITs for the Reviewer are considered
1965
- * </p>
1966
- */
871
+
1967
872
  HITTypeId?: string;
1968
- /**
1969
- * <p>
1970
- * Can be either <code>Reviewable</code> or <code>Reviewing</code>.
1971
- * Reviewable is the default value.
1972
- * </p>
1973
- */
873
+
1974
874
  Status?: ReviewableHITStatus | string;
1975
- /**
1976
- * <p>Pagination Token</p>
1977
- */
875
+
1978
876
  NextToken?: string;
1979
- /**
1980
- * <p>
1981
- * Limit the number of results returned.
1982
- * </p>
1983
- */
877
+
1984
878
  MaxResults?: number;
1985
879
  }
1986
880
  export declare namespace ListReviewableHITsRequest {
1987
- /**
1988
- * @internal
1989
- */
881
+
1990
882
  const filterSensitiveLog: (obj: ListReviewableHITsRequest) => any;
1991
883
  }
1992
884
  export interface ListReviewableHITsResponse {
1993
- /**
1994
- * <p>If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk
1995
- * returns a pagination token in the response. You can use this pagination token
1996
- * to retrieve the next set of results.
1997
- * </p>
1998
- */
885
+
1999
886
  NextToken?: string;
2000
- /**
2001
- * <p> The number of HITs on this page in the filtered results
2002
- * list, equivalent to the number of HITs being returned by this call.
2003
- * </p>
2004
- */
887
+
2005
888
  NumResults?: number;
2006
- /**
2007
- * <p> The list of HIT elements returned by the query.</p>
2008
- */
889
+
2009
890
  HITs?: HIT[];
2010
891
  }
2011
892
  export declare namespace ListReviewableHITsResponse {
2012
- /**
2013
- * @internal
2014
- */
893
+
2015
894
  const filterSensitiveLog: (obj: ListReviewableHITsResponse) => any;
2016
895
  }
2017
896
  export declare enum ReviewPolicyLevel {
@@ -2019,44 +898,21 @@ export declare enum ReviewPolicyLevel {
2019
898
  HIT = "HIT"
2020
899
  }
2021
900
  export interface ListReviewPolicyResultsForHITRequest {
2022
- /**
2023
- * <p>The unique identifier of the HIT to retrieve review results for.</p>
2024
- */
901
+
2025
902
  HITId: string | undefined;
2026
- /**
2027
- * <p>
2028
- * The Policy Level(s) to retrieve review results for - HIT or Assignment.
2029
- * If omitted, the default behavior is to retrieve all data for both policy levels.
2030
- * For a list of all the described policies, see Review Policies.
2031
- * </p>
2032
- */
903
+
2033
904
  PolicyLevels?: (ReviewPolicyLevel | string)[];
2034
- /**
2035
- * <p>
2036
- * Specify if the operation should retrieve a list of the actions taken executing
2037
- * the Review Policies and their outcomes.
2038
- * </p>
2039
- */
905
+
2040
906
  RetrieveActions?: boolean;
2041
- /**
2042
- * <p>
2043
- * Specify if the operation should retrieve a list of the results computed by the Review Policies.
2044
- * </p>
2045
- */
907
+
2046
908
  RetrieveResults?: boolean;
2047
- /**
2048
- * <p>Pagination token</p>
2049
- */
909
+
2050
910
  NextToken?: string;
2051
- /**
2052
- * <p>Limit the number of results returned.</p>
2053
- */
911
+
2054
912
  MaxResults?: number;
2055
913
  }
2056
914
  export declare namespace ListReviewPolicyResultsForHITRequest {
2057
- /**
2058
- * @internal
2059
- */
915
+
2060
916
  const filterSensitiveLog: (obj: ListReviewPolicyResultsForHITRequest) => any;
2061
917
  }
2062
918
  export declare enum ReviewActionStatus {
@@ -2065,466 +921,224 @@ export declare enum ReviewActionStatus {
2065
921
  Intended = "Intended",
2066
922
  Succeeded = "Succeeded"
2067
923
  }
2068
- /**
2069
- * <p> Both the AssignmentReviewReport and the HITReviewReport
2070
- * elements contains the ReviewActionDetail data structure. This
2071
- * structure is returned multiple times for each action specified in the
2072
- * Review Policy.
2073
- * </p>
2074
- */
924
+
2075
925
  export interface ReviewActionDetail {
2076
- /**
2077
- * <p>The unique identifier for the action.</p>
2078
- */
926
+
2079
927
  ActionId?: string;
2080
- /**
2081
- * <p> The nature of the action itself. The Review Policy is
2082
- * responsible for examining the HIT and Assignments, emitting results,
2083
- * and deciding which other actions will be necessary. </p>
2084
- */
928
+
2085
929
  ActionName?: string;
2086
- /**
2087
- * <p> The specific HITId or AssignmentID targeted by the action.</p>
2088
- */
930
+
2089
931
  TargetId?: string;
2090
- /**
2091
- * <p> The type of object in TargetId.</p>
2092
- */
932
+
2093
933
  TargetType?: string;
2094
- /**
2095
- * <p> The current disposition of the action: INTENDED, SUCCEEDED,
2096
- * FAILED, or CANCELLED.
2097
- * </p>
2098
- */
934
+
2099
935
  Status?: ReviewActionStatus | string;
2100
- /**
2101
- * <p> The date when the action was completed.</p>
2102
- */
936
+
2103
937
  CompleteTime?: Date;
2104
- /**
2105
- * <p> A description of the outcome of the review.</p>
2106
- */
938
+
2107
939
  Result?: string;
2108
- /**
2109
- * <p> Present only when the Results have a FAILED Status.</p>
2110
- */
940
+
2111
941
  ErrorCode?: string;
2112
942
  }
2113
943
  export declare namespace ReviewActionDetail {
2114
- /**
2115
- * @internal
2116
- */
944
+
2117
945
  const filterSensitiveLog: (obj: ReviewActionDetail) => any;
2118
946
  }
2119
- /**
2120
- * <p> This data structure is returned multiple times for each
2121
- * result specified in the Review Policy.
2122
- * </p>
2123
- */
947
+
2124
948
  export interface ReviewResultDetail {
2125
- /**
2126
- * <p> A unique identifier of the Review action result.
2127
- * </p>
2128
- */
949
+
2129
950
  ActionId?: string;
2130
- /**
2131
- * <p>The HITID or AssignmentId about which this result was taken.
2132
- * Note that HIT-level Review Policies will often emit results about
2133
- * both the HIT itself and its Assignments, while Assignment-level
2134
- * review policies generally only emit results about the Assignment
2135
- * itself.
2136
- * </p>
2137
- */
951
+
2138
952
  SubjectId?: string;
2139
- /**
2140
- * <p> The type of the object from the SubjectId field.</p>
2141
- */
953
+
2142
954
  SubjectType?: string;
2143
- /**
2144
- * <p> Specifies the QuestionId the result is describing. Depending
2145
- * on whether the TargetType is a HIT or Assignment this results could
2146
- * specify multiple values. If TargetType is HIT and QuestionId is
2147
- * absent, then the result describes results of the HIT, including the
2148
- * HIT agreement score. If ObjectType is Assignment and QuestionId is
2149
- * absent, then the result describes the Worker's performance on the
2150
- * HIT.
2151
- * </p>
2152
- */
955
+
2153
956
  QuestionId?: string;
2154
- /**
2155
- * <p> Key identifies the particular piece of reviewed information.
2156
- * </p>
2157
- */
957
+
2158
958
  Key?: string;
2159
- /**
2160
- * <p> The values of Key provided by the review policies you have
2161
- * selected.
2162
- * </p>
2163
- */
959
+
2164
960
  Value?: string;
2165
961
  }
2166
962
  export declare namespace ReviewResultDetail {
2167
- /**
2168
- * @internal
2169
- */
963
+
2170
964
  const filterSensitiveLog: (obj: ReviewResultDetail) => any;
2171
965
  }
2172
- /**
2173
- * <p> Contains both ReviewResult and ReviewAction elements for a
2174
- * particular HIT.
2175
- * </p>
2176
- */
966
+
2177
967
  export interface ReviewReport {
2178
- /**
2179
- * <p> A list of ReviewResults objects for each action specified in
2180
- * the Review Policy.
2181
- * </p>
2182
- */
968
+
2183
969
  ReviewResults?: ReviewResultDetail[];
2184
- /**
2185
- * <p> A list of ReviewAction objects for each action specified in
2186
- * the Review Policy.
2187
- * </p>
2188
- */
970
+
2189
971
  ReviewActions?: ReviewActionDetail[];
2190
972
  }
2191
973
  export declare namespace ReviewReport {
2192
- /**
2193
- * @internal
2194
- */
974
+
2195
975
  const filterSensitiveLog: (obj: ReviewReport) => any;
2196
976
  }
2197
977
  export interface ListReviewPolicyResultsForHITResponse {
2198
- /**
2199
- * <p>The HITId of the HIT for which results have been returned.</p>
2200
- */
978
+
2201
979
  HITId?: string;
2202
- /**
2203
- * <p> The name of the Assignment-level Review Policy. This
2204
- * contains only the PolicyName element.
2205
- * </p>
2206
- */
980
+
2207
981
  AssignmentReviewPolicy?: ReviewPolicy;
2208
- /**
2209
- * <p>The name of the HIT-level Review Policy. This contains only
2210
- * the PolicyName element.</p>
2211
- */
982
+
2212
983
  HITReviewPolicy?: ReviewPolicy;
2213
- /**
2214
- * <p> Contains both ReviewResult and ReviewAction elements for an
2215
- * Assignment.
2216
- * </p>
2217
- */
984
+
2218
985
  AssignmentReviewReport?: ReviewReport;
2219
- /**
2220
- * <p>Contains both ReviewResult and ReviewAction elements for a particular HIT.
2221
- * </p>
2222
- */
986
+
2223
987
  HITReviewReport?: ReviewReport;
2224
- /**
2225
- * <p>If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk
2226
- * returns a pagination token in the response. You can use this pagination token
2227
- * to retrieve the next set of results.
2228
- * </p>
2229
- */
988
+
2230
989
  NextToken?: string;
2231
990
  }
2232
991
  export declare namespace ListReviewPolicyResultsForHITResponse {
2233
- /**
2234
- * @internal
2235
- */
992
+
2236
993
  const filterSensitiveLog: (obj: ListReviewPolicyResultsForHITResponse) => any;
2237
994
  }
2238
995
  export interface ListWorkerBlocksRequest {
2239
- /**
2240
- * <p>Pagination token</p>
2241
- */
996
+
2242
997
  NextToken?: string;
2243
998
  MaxResults?: number;
2244
999
  }
2245
1000
  export declare namespace ListWorkerBlocksRequest {
2246
- /**
2247
- * @internal
2248
- */
1001
+
2249
1002
  const filterSensitiveLog: (obj: ListWorkerBlocksRequest) => any;
2250
1003
  }
2251
- /**
2252
- * <p> The WorkerBlock data structure represents a Worker who has
2253
- * been blocked. It has two elements: the WorkerId and the Reason for
2254
- * the block.
2255
- * </p>
2256
- */
1004
+
2257
1005
  export interface WorkerBlock {
2258
- /**
2259
- * <p> The ID of the Worker who accepted the HIT.</p>
2260
- */
1006
+
2261
1007
  WorkerId?: string;
2262
- /**
2263
- * <p> A message explaining the reason the Worker was blocked.
2264
- * </p>
2265
- */
1008
+
2266
1009
  Reason?: string;
2267
1010
  }
2268
1011
  export declare namespace WorkerBlock {
2269
- /**
2270
- * @internal
2271
- */
1012
+
2272
1013
  const filterSensitiveLog: (obj: WorkerBlock) => any;
2273
1014
  }
2274
1015
  export interface ListWorkerBlocksResponse {
2275
- /**
2276
- * <p>If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk
2277
- * returns a pagination token in the response. You can use this pagination token
2278
- * to retrieve the next set of results.
2279
- * </p>
2280
- */
1016
+
2281
1017
  NextToken?: string;
2282
- /**
2283
- * <p> The number of assignments on the page in the filtered
2284
- * results list, equivalent to the number of assignments returned by
2285
- * this call.</p>
2286
- */
1018
+
2287
1019
  NumResults?: number;
2288
- /**
2289
- * <p> The list of WorkerBlocks, containing the collection of
2290
- * Worker IDs and reasons for blocking.</p>
2291
- */
1020
+
2292
1021
  WorkerBlocks?: WorkerBlock[];
2293
1022
  }
2294
1023
  export declare namespace ListWorkerBlocksResponse {
2295
- /**
2296
- * @internal
2297
- */
1024
+
2298
1025
  const filterSensitiveLog: (obj: ListWorkerBlocksResponse) => any;
2299
1026
  }
2300
1027
  export interface ListWorkersWithQualificationTypeRequest {
2301
- /**
2302
- * <p>The ID of the Qualification type of the Qualifications to
2303
- * return.</p>
2304
- */
1028
+
2305
1029
  QualificationTypeId: string | undefined;
2306
- /**
2307
- * <p>
2308
- * The status of the Qualifications to return.
2309
- * Can be <code>Granted | Revoked</code>.
2310
- * </p>
2311
- */
1030
+
2312
1031
  Status?: QualificationStatus | string;
2313
- /**
2314
- * <p>Pagination Token</p>
2315
- */
1032
+
2316
1033
  NextToken?: string;
2317
- /**
2318
- * <p>
2319
- * Limit the number of results returned.
2320
- * </p>
2321
- */
1034
+
2322
1035
  MaxResults?: number;
2323
1036
  }
2324
1037
  export declare namespace ListWorkersWithQualificationTypeRequest {
2325
- /**
2326
- * @internal
2327
- */
1038
+
2328
1039
  const filterSensitiveLog: (obj: ListWorkersWithQualificationTypeRequest) => any;
2329
1040
  }
2330
1041
  export interface ListWorkersWithQualificationTypeResponse {
2331
- /**
2332
- * <p>If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk
2333
- * returns a pagination token in the response. You can use this pagination token
2334
- * to retrieve the next set of results.
2335
- * </p>
2336
- */
1042
+
2337
1043
  NextToken?: string;
2338
- /**
2339
- * <p> The number of Qualifications on this page in the filtered
2340
- * results list, equivalent to the number of Qualifications being
2341
- * returned by this call.</p>
2342
- */
1044
+
2343
1045
  NumResults?: number;
2344
- /**
2345
- * <p> The list of Qualification elements returned by this call.
2346
- * </p>
2347
- */
1046
+
2348
1047
  Qualifications?: Qualification[];
2349
1048
  }
2350
1049
  export declare namespace ListWorkersWithQualificationTypeResponse {
2351
- /**
2352
- * @internal
2353
- */
1050
+
2354
1051
  const filterSensitiveLog: (obj: ListWorkersWithQualificationTypeResponse) => any;
2355
1052
  }
2356
1053
  export interface NotifyWorkersRequest {
2357
- /**
2358
- * <p>The subject line of the email message to send. Can include up
2359
- * to 200 characters.</p>
2360
- */
1054
+
2361
1055
  Subject: string | undefined;
2362
- /**
2363
- * <p>The text of the email message to send. Can include up to
2364
- * 4,096 characters</p>
2365
- */
1056
+
2366
1057
  MessageText: string | undefined;
2367
- /**
2368
- * <p>A list of Worker IDs you wish to notify. You
2369
- * can notify upto
2370
- * 100 Workers at a time.</p>
2371
- */
1058
+
2372
1059
  WorkerIds: string[] | undefined;
2373
1060
  }
2374
1061
  export declare namespace NotifyWorkersRequest {
2375
- /**
2376
- * @internal
2377
- */
1062
+
2378
1063
  const filterSensitiveLog: (obj: NotifyWorkersRequest) => any;
2379
1064
  }
2380
1065
  export declare enum NotifyWorkersFailureCode {
2381
1066
  HardFailure = "HardFailure",
2382
1067
  SoftFailure = "SoftFailure"
2383
1068
  }
2384
- /**
2385
- * <p> When MTurk encounters an issue with notifying the Workers
2386
- * you specified, it returns back this object with failure details.
2387
- * </p>
2388
- */
1069
+
2389
1070
  export interface NotifyWorkersFailureStatus {
2390
- /**
2391
- * <p> Encoded value for the failure type.
2392
- * </p>
2393
- */
1071
+
2394
1072
  NotifyWorkersFailureCode?: NotifyWorkersFailureCode | string;
2395
- /**
2396
- * <p> A message detailing the reason the Worker could not be
2397
- * notified.
2398
- * </p>
2399
- */
1073
+
2400
1074
  NotifyWorkersFailureMessage?: string;
2401
- /**
2402
- * <p> The ID of the Worker.</p>
2403
- */
1075
+
2404
1076
  WorkerId?: string;
2405
1077
  }
2406
1078
  export declare namespace NotifyWorkersFailureStatus {
2407
- /**
2408
- * @internal
2409
- */
1079
+
2410
1080
  const filterSensitiveLog: (obj: NotifyWorkersFailureStatus) => any;
2411
1081
  }
2412
1082
  export interface NotifyWorkersResponse {
2413
- /**
2414
- * <p> When MTurk sends notifications to the list of Workers, it
2415
- * returns back any failures it encounters in this list of
2416
- * NotifyWorkersFailureStatus objects.
2417
- * </p>
2418
- */
1083
+
2419
1084
  NotifyWorkersFailureStatuses?: NotifyWorkersFailureStatus[];
2420
1085
  }
2421
1086
  export declare namespace NotifyWorkersResponse {
2422
- /**
2423
- * @internal
2424
- */
1087
+
2425
1088
  const filterSensitiveLog: (obj: NotifyWorkersResponse) => any;
2426
1089
  }
2427
1090
  export interface RejectAssignmentRequest {
2428
- /**
2429
- * <p>
2430
- * The ID of the assignment. The assignment must correspond to a HIT created by the Requester.
2431
- * </p>
2432
- */
1091
+
2433
1092
  AssignmentId: string | undefined;
2434
- /**
2435
- * <p>
2436
- * A message for the Worker, which the Worker can see in the Status section of the web site.
2437
- * </p>
2438
- */
1093
+
2439
1094
  RequesterFeedback: string | undefined;
2440
1095
  }
2441
1096
  export declare namespace RejectAssignmentRequest {
2442
- /**
2443
- * @internal
2444
- */
1097
+
2445
1098
  const filterSensitiveLog: (obj: RejectAssignmentRequest) => any;
2446
1099
  }
2447
1100
  export interface RejectAssignmentResponse {
2448
1101
  }
2449
1102
  export declare namespace RejectAssignmentResponse {
2450
- /**
2451
- * @internal
2452
- */
1103
+
2453
1104
  const filterSensitiveLog: (obj: RejectAssignmentResponse) => any;
2454
1105
  }
2455
1106
  export interface RejectQualificationRequestRequest {
2456
- /**
2457
- * <p>
2458
- * The ID of the Qualification request, as returned by the
2459
- * <code>ListQualificationRequests</code>
2460
- * operation.
2461
- * </p>
2462
- */
1107
+
2463
1108
  QualificationRequestId: string | undefined;
2464
- /**
2465
- * <p>A text message explaining why the request was rejected, to be
2466
- * shown to the Worker who made the request.</p>
2467
- */
1109
+
2468
1110
  Reason?: string;
2469
1111
  }
2470
1112
  export declare namespace RejectQualificationRequestRequest {
2471
- /**
2472
- * @internal
2473
- */
1113
+
2474
1114
  const filterSensitiveLog: (obj: RejectQualificationRequestRequest) => any;
2475
1115
  }
2476
1116
  export interface RejectQualificationRequestResponse {
2477
1117
  }
2478
1118
  export declare namespace RejectQualificationRequestResponse {
2479
- /**
2480
- * @internal
2481
- */
1119
+
2482
1120
  const filterSensitiveLog: (obj: RejectQualificationRequestResponse) => any;
2483
1121
  }
2484
1122
  export interface SendBonusRequest {
2485
- /**
2486
- * <p>The ID of the Worker being paid the bonus.</p>
2487
- */
1123
+
2488
1124
  WorkerId: string | undefined;
2489
- /**
2490
- * <p>
2491
- * The Bonus amount is a US Dollar amount specified using a string (for example, "5" represents $5.00 USD and
2492
- * "101.42" represents $101.42 USD). Do not include currency symbols or currency codes.
2493
- * </p>
2494
- */
1125
+
2495
1126
  BonusAmount: string | undefined;
2496
- /**
2497
- * <p>The ID of the assignment for which this bonus is paid.</p>
2498
- */
1127
+
2499
1128
  AssignmentId: string | undefined;
2500
- /**
2501
- * <p>A message that explains the reason for the bonus payment. The
2502
- * Worker receiving the bonus can see this message.</p>
2503
- */
1129
+
2504
1130
  Reason: string | undefined;
2505
- /**
2506
- * <p>A unique identifier for this request, which allows you to
2507
- * retry the call on error without granting multiple bonuses. This is
2508
- * useful in cases such as network timeouts where it is unclear whether
2509
- * or not the call succeeded on the server. If the bonus already exists
2510
- * in the system from a previous call using the same UniqueRequestToken,
2511
- * subsequent calls will return an error with a message containing the
2512
- * request ID.</p>
2513
- */
1131
+
2514
1132
  UniqueRequestToken?: string;
2515
1133
  }
2516
1134
  export declare namespace SendBonusRequest {
2517
- /**
2518
- * @internal
2519
- */
1135
+
2520
1136
  const filterSensitiveLog: (obj: SendBonusRequest) => any;
2521
1137
  }
2522
1138
  export interface SendBonusResponse {
2523
1139
  }
2524
1140
  export declare namespace SendBonusResponse {
2525
- /**
2526
- * @internal
2527
- */
1141
+
2528
1142
  const filterSensitiveLog: (obj: SendBonusResponse) => any;
2529
1143
  }
2530
1144
  export declare enum NotificationTransport {
@@ -2532,281 +1146,132 @@ export declare enum NotificationTransport {
2532
1146
  SNS = "SNS",
2533
1147
  SQS = "SQS"
2534
1148
  }
2535
- /**
2536
- * <p>The NotificationSpecification data structure describes a HIT
2537
- * event notification for a HIT type.</p>
2538
- */
1149
+
2539
1150
  export interface NotificationSpecification {
2540
- /**
2541
- * <p>
2542
- * The target for notification messages. The Destination’s format is determined by the specified Transport:
2543
- * </p>
2544
- * <ul>
2545
- * <li>
2546
- * <p>When Transport is Email, the Destination is your email address.</p>
2547
- * </li>
2548
- * <li>
2549
- * <p>When Transport is SQS, the Destination is your queue URL.</p>
2550
- * </li>
2551
- * <li>
2552
- * <p>When Transport is SNS, the Destination is the ARN of your topic.</p>
2553
- * </li>
2554
- * </ul>
2555
- */
1151
+
2556
1152
  Destination: string | undefined;
2557
- /**
2558
- * <p> The method Amazon Mechanical Turk uses to send the
2559
- * notification. Valid Values: Email | SQS | SNS.
2560
- * </p>
2561
- */
1153
+
2562
1154
  Transport: NotificationTransport | string | undefined;
2563
- /**
2564
- * <p>The version of the Notification API to use. Valid value is
2565
- * 2006-05-05.</p>
2566
- */
1155
+
2567
1156
  Version: string | undefined;
2568
- /**
2569
- * <p> The list of events that should cause notifications to be
2570
- * sent. Valid Values: AssignmentAccepted | AssignmentAbandoned |
2571
- * AssignmentReturned | AssignmentSubmitted | AssignmentRejected |
2572
- * AssignmentApproved | HITCreated | HITExtended | HITDisposed |
2573
- * HITReviewable | HITExpired | Ping. The Ping event is only valid for
2574
- * the SendTestEventNotification operation.
2575
- * </p>
2576
- */
1157
+
2577
1158
  EventTypes: (EventType | string)[] | undefined;
2578
1159
  }
2579
1160
  export declare namespace NotificationSpecification {
2580
- /**
2581
- * @internal
2582
- */
1161
+
2583
1162
  const filterSensitiveLog: (obj: NotificationSpecification) => any;
2584
1163
  }
2585
1164
  export interface SendTestEventNotificationRequest {
2586
- /**
2587
- * <p>
2588
- * The notification specification to test. This value is identical to the value
2589
- * you would provide to the UpdateNotificationSettings operation when you establish
2590
- * the notification specification for a HIT type.
2591
- * </p>
2592
- */
1165
+
2593
1166
  Notification: NotificationSpecification | undefined;
2594
- /**
2595
- * <p>
2596
- * The event to simulate to test the notification specification.
2597
- * This event is included in the test message even if the notification specification
2598
- * does not include the event type.
2599
- * The notification specification does not filter out the test event.
2600
- * </p>
2601
- */
1167
+
2602
1168
  TestEventType: EventType | string | undefined;
2603
1169
  }
2604
1170
  export declare namespace SendTestEventNotificationRequest {
2605
- /**
2606
- * @internal
2607
- */
1171
+
2608
1172
  const filterSensitiveLog: (obj: SendTestEventNotificationRequest) => any;
2609
1173
  }
2610
1174
  export interface SendTestEventNotificationResponse {
2611
1175
  }
2612
1176
  export declare namespace SendTestEventNotificationResponse {
2613
- /**
2614
- * @internal
2615
- */
1177
+
2616
1178
  const filterSensitiveLog: (obj: SendTestEventNotificationResponse) => any;
2617
1179
  }
2618
1180
  export interface UpdateExpirationForHITRequest {
2619
- /**
2620
- * <p>
2621
- * The HIT to update.
2622
- * </p>
2623
- */
1181
+
2624
1182
  HITId: string | undefined;
2625
- /**
2626
- * <p>
2627
- * The date and time at which you want the HIT to expire
2628
- * </p>
2629
- */
1183
+
2630
1184
  ExpireAt: Date | undefined;
2631
1185
  }
2632
1186
  export declare namespace UpdateExpirationForHITRequest {
2633
- /**
2634
- * @internal
2635
- */
1187
+
2636
1188
  const filterSensitiveLog: (obj: UpdateExpirationForHITRequest) => any;
2637
1189
  }
2638
1190
  export interface UpdateExpirationForHITResponse {
2639
1191
  }
2640
1192
  export declare namespace UpdateExpirationForHITResponse {
2641
- /**
2642
- * @internal
2643
- */
1193
+
2644
1194
  const filterSensitiveLog: (obj: UpdateExpirationForHITResponse) => any;
2645
1195
  }
2646
1196
  export interface UpdateHITReviewStatusRequest {
2647
- /**
2648
- * <p>
2649
- * The ID of the HIT to update.
2650
- * </p>
2651
- */
1197
+
2652
1198
  HITId: string | undefined;
2653
- /**
2654
- * <p>
2655
- * Specifies how to update the HIT status. Default is <code>False</code>.
2656
- * </p>
2657
- * <ul>
2658
- * <li>
2659
- * <p>
2660
- * Setting this to false will only transition a HIT from <code>Reviewable</code> to <code>Reviewing</code>
2661
- * </p>
2662
- * </li>
2663
- * <li>
2664
- * <p>
2665
- * Setting this to true will only transition a HIT from <code>Reviewing</code> to <code>Reviewable</code>
2666
- * </p>
2667
- * </li>
2668
- * </ul>
2669
- */
1199
+
2670
1200
  Revert?: boolean;
2671
1201
  }
2672
1202
  export declare namespace UpdateHITReviewStatusRequest {
2673
- /**
2674
- * @internal
2675
- */
1203
+
2676
1204
  const filterSensitiveLog: (obj: UpdateHITReviewStatusRequest) => any;
2677
1205
  }
2678
1206
  export interface UpdateHITReviewStatusResponse {
2679
1207
  }
2680
1208
  export declare namespace UpdateHITReviewStatusResponse {
2681
- /**
2682
- * @internal
2683
- */
1209
+
2684
1210
  const filterSensitiveLog: (obj: UpdateHITReviewStatusResponse) => any;
2685
1211
  }
2686
1212
  export interface UpdateHITTypeOfHITRequest {
2687
- /**
2688
- * <p>The HIT to update.</p>
2689
- */
1213
+
2690
1214
  HITId: string | undefined;
2691
- /**
2692
- * <p>The ID of the new HIT type.</p>
2693
- */
1215
+
2694
1216
  HITTypeId: string | undefined;
2695
1217
  }
2696
1218
  export declare namespace UpdateHITTypeOfHITRequest {
2697
- /**
2698
- * @internal
2699
- */
1219
+
2700
1220
  const filterSensitiveLog: (obj: UpdateHITTypeOfHITRequest) => any;
2701
1221
  }
2702
1222
  export interface UpdateHITTypeOfHITResponse {
2703
1223
  }
2704
1224
  export declare namespace UpdateHITTypeOfHITResponse {
2705
- /**
2706
- * @internal
2707
- */
1225
+
2708
1226
  const filterSensitiveLog: (obj: UpdateHITTypeOfHITResponse) => any;
2709
1227
  }
2710
1228
  export interface UpdateNotificationSettingsRequest {
2711
- /**
2712
- * <p>
2713
- * The ID of the HIT type whose notification specification is being updated.
2714
- * </p>
2715
- */
1229
+
2716
1230
  HITTypeId: string | undefined;
2717
- /**
2718
- * <p>
2719
- * The notification specification for the HIT type.
2720
- * </p>
2721
- */
1231
+
2722
1232
  Notification?: NotificationSpecification;
2723
- /**
2724
- * <p>
2725
- * Specifies whether notifications are sent for HITs of this HIT type,
2726
- * according to the notification specification.
2727
- * You must specify either the Notification parameter or the Active parameter
2728
- * for the call to UpdateNotificationSettings to succeed.
2729
- * </p>
2730
- */
1233
+
2731
1234
  Active?: boolean;
2732
1235
  }
2733
1236
  export declare namespace UpdateNotificationSettingsRequest {
2734
- /**
2735
- * @internal
2736
- */
1237
+
2737
1238
  const filterSensitiveLog: (obj: UpdateNotificationSettingsRequest) => any;
2738
1239
  }
2739
1240
  export interface UpdateNotificationSettingsResponse {
2740
1241
  }
2741
1242
  export declare namespace UpdateNotificationSettingsResponse {
2742
- /**
2743
- * @internal
2744
- */
1243
+
2745
1244
  const filterSensitiveLog: (obj: UpdateNotificationSettingsResponse) => any;
2746
1245
  }
2747
1246
  export interface UpdateQualificationTypeRequest {
2748
- /**
2749
- * <p>The ID of the Qualification type to update.</p>
2750
- */
1247
+
2751
1248
  QualificationTypeId: string | undefined;
2752
- /**
2753
- * <p>The new description of the Qualification type.</p>
2754
- */
1249
+
2755
1250
  Description?: string;
2756
- /**
2757
- * <p>The new status of the Qualification type - Active | Inactive</p>
2758
- */
1251
+
2759
1252
  QualificationTypeStatus?: QualificationTypeStatus | string;
2760
- /**
2761
- * <p>The questions for the Qualification test a Worker must answer correctly to obtain a Qualification of this type. If this parameter is specified, <code>TestDurationInSeconds</code> must also be specified.</p>
2762
- * <p>Constraints: Must not be longer than 65535 bytes. Must be a QuestionForm data structure. This parameter cannot be specified if AutoGranted is true.</p>
2763
- * <p>Constraints: None. If not specified, the Worker may request the Qualification without answering any questions.</p>
2764
- */
1253
+
2765
1254
  Test?: string;
2766
- /**
2767
- * <p>The answers to the Qualification test specified in the Test parameter, in the form of an AnswerKey data structure.</p>
2768
- */
1255
+
2769
1256
  AnswerKey?: string;
2770
- /**
2771
- * <p>The number of seconds the Worker has to complete the Qualification test, starting from the time the Worker requests the Qualification.</p>
2772
- */
1257
+
2773
1258
  TestDurationInSeconds?: number;
2774
- /**
2775
- * <p>The amount of time, in seconds, that Workers must wait
2776
- * after requesting a Qualification of the specified Qualification type
2777
- * before they can retry the Qualification request. It is not possible to
2778
- * disable retries for a Qualification type after it has been created with
2779
- * retries enabled. If you want to disable retries, you must dispose of
2780
- * the existing retry-enabled Qualification type using
2781
- * DisposeQualificationType and then create a new Qualification type with
2782
- * retries disabled using CreateQualificationType.</p>
2783
- */
1259
+
2784
1260
  RetryDelayInSeconds?: number;
2785
- /**
2786
- * <p>Specifies whether requests for the Qualification type are granted immediately, without prompting the Worker with a Qualification test.</p>
2787
- * <p>Constraints: If the Test parameter is specified, this parameter cannot be true.</p>
2788
- */
1261
+
2789
1262
  AutoGranted?: boolean;
2790
- /**
2791
- * <p>The Qualification value to use for automatically granted Qualifications. This parameter is used only if the AutoGranted parameter is true.</p>
2792
- */
1263
+
2793
1264
  AutoGrantedValue?: number;
2794
1265
  }
2795
1266
  export declare namespace UpdateQualificationTypeRequest {
2796
- /**
2797
- * @internal
2798
- */
1267
+
2799
1268
  const filterSensitiveLog: (obj: UpdateQualificationTypeRequest) => any;
2800
1269
  }
2801
1270
  export interface UpdateQualificationTypeResponse {
2802
- /**
2803
- * <p> Contains a QualificationType data structure.</p>
2804
- */
1271
+
2805
1272
  QualificationType?: QualificationType;
2806
1273
  }
2807
1274
  export declare namespace UpdateQualificationTypeResponse {
2808
- /**
2809
- * @internal
2810
- */
1275
+
2811
1276
  const filterSensitiveLog: (obj: UpdateQualificationTypeResponse) => any;
2812
1277
  }