mturk-requester-2017-01-17.min.json 27 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2017-01-17",
  5. "endpointPrefix": "mturk-requester",
  6. "jsonVersion": "1.1",
  7. "protocol": "json",
  8. "serviceAbbreviation": "Amazon MTurk",
  9. "serviceFullName": "Amazon Mechanical Turk",
  10. "serviceId": "MTurk",
  11. "signatureVersion": "v4",
  12. "targetPrefix": "MTurkRequesterServiceV20170117",
  13. "uid": "mturk-requester-2017-01-17"
  14. },
  15. "operations": {
  16. "AcceptQualificationRequest": {
  17. "input": {
  18. "type": "structure",
  19. "required": [
  20. "QualificationRequestId"
  21. ],
  22. "members": {
  23. "QualificationRequestId": {},
  24. "IntegerValue": {
  25. "type": "integer"
  26. }
  27. }
  28. },
  29. "output": {
  30. "type": "structure",
  31. "members": {}
  32. }
  33. },
  34. "ApproveAssignment": {
  35. "input": {
  36. "type": "structure",
  37. "required": [
  38. "AssignmentId"
  39. ],
  40. "members": {
  41. "AssignmentId": {},
  42. "RequesterFeedback": {},
  43. "OverrideRejection": {
  44. "type": "boolean"
  45. }
  46. }
  47. },
  48. "output": {
  49. "type": "structure",
  50. "members": {}
  51. },
  52. "idempotent": true
  53. },
  54. "AssociateQualificationWithWorker": {
  55. "input": {
  56. "type": "structure",
  57. "required": [
  58. "QualificationTypeId",
  59. "WorkerId"
  60. ],
  61. "members": {
  62. "QualificationTypeId": {},
  63. "WorkerId": {},
  64. "IntegerValue": {
  65. "type": "integer"
  66. },
  67. "SendNotification": {
  68. "type": "boolean"
  69. }
  70. }
  71. },
  72. "output": {
  73. "type": "structure",
  74. "members": {}
  75. }
  76. },
  77. "CreateAdditionalAssignmentsForHIT": {
  78. "input": {
  79. "type": "structure",
  80. "required": [
  81. "HITId",
  82. "NumberOfAdditionalAssignments"
  83. ],
  84. "members": {
  85. "HITId": {},
  86. "NumberOfAdditionalAssignments": {
  87. "type": "integer"
  88. },
  89. "UniqueRequestToken": {}
  90. }
  91. },
  92. "output": {
  93. "type": "structure",
  94. "members": {}
  95. }
  96. },
  97. "CreateHIT": {
  98. "input": {
  99. "type": "structure",
  100. "required": [
  101. "LifetimeInSeconds",
  102. "AssignmentDurationInSeconds",
  103. "Reward",
  104. "Title",
  105. "Description"
  106. ],
  107. "members": {
  108. "MaxAssignments": {
  109. "type": "integer"
  110. },
  111. "AutoApprovalDelayInSeconds": {
  112. "type": "long"
  113. },
  114. "LifetimeInSeconds": {
  115. "type": "long"
  116. },
  117. "AssignmentDurationInSeconds": {
  118. "type": "long"
  119. },
  120. "Reward": {},
  121. "Title": {},
  122. "Keywords": {},
  123. "Description": {},
  124. "Question": {},
  125. "RequesterAnnotation": {},
  126. "QualificationRequirements": {
  127. "shape": "Si"
  128. },
  129. "UniqueRequestToken": {},
  130. "AssignmentReviewPolicy": {
  131. "shape": "Sq"
  132. },
  133. "HITReviewPolicy": {
  134. "shape": "Sq"
  135. },
  136. "HITLayoutId": {},
  137. "HITLayoutParameters": {
  138. "shape": "Sw"
  139. }
  140. }
  141. },
  142. "output": {
  143. "type": "structure",
  144. "members": {
  145. "HIT": {
  146. "shape": "Sz"
  147. }
  148. }
  149. }
  150. },
  151. "CreateHITType": {
  152. "input": {
  153. "type": "structure",
  154. "required": [
  155. "AssignmentDurationInSeconds",
  156. "Reward",
  157. "Title",
  158. "Description"
  159. ],
  160. "members": {
  161. "AutoApprovalDelayInSeconds": {
  162. "type": "long"
  163. },
  164. "AssignmentDurationInSeconds": {
  165. "type": "long"
  166. },
  167. "Reward": {},
  168. "Title": {},
  169. "Keywords": {},
  170. "Description": {},
  171. "QualificationRequirements": {
  172. "shape": "Si"
  173. }
  174. }
  175. },
  176. "output": {
  177. "type": "structure",
  178. "members": {
  179. "HITTypeId": {}
  180. }
  181. },
  182. "idempotent": true
  183. },
  184. "CreateHITWithHITType": {
  185. "input": {
  186. "type": "structure",
  187. "required": [
  188. "HITTypeId",
  189. "LifetimeInSeconds"
  190. ],
  191. "members": {
  192. "HITTypeId": {},
  193. "MaxAssignments": {
  194. "type": "integer"
  195. },
  196. "LifetimeInSeconds": {
  197. "type": "long"
  198. },
  199. "Question": {},
  200. "RequesterAnnotation": {},
  201. "UniqueRequestToken": {},
  202. "AssignmentReviewPolicy": {
  203. "shape": "Sq"
  204. },
  205. "HITReviewPolicy": {
  206. "shape": "Sq"
  207. },
  208. "HITLayoutId": {},
  209. "HITLayoutParameters": {
  210. "shape": "Sw"
  211. }
  212. }
  213. },
  214. "output": {
  215. "type": "structure",
  216. "members": {
  217. "HIT": {
  218. "shape": "Sz"
  219. }
  220. }
  221. }
  222. },
  223. "CreateQualificationType": {
  224. "input": {
  225. "type": "structure",
  226. "required": [
  227. "Name",
  228. "Description",
  229. "QualificationTypeStatus"
  230. ],
  231. "members": {
  232. "Name": {},
  233. "Keywords": {},
  234. "Description": {},
  235. "QualificationTypeStatus": {},
  236. "RetryDelayInSeconds": {
  237. "type": "long"
  238. },
  239. "Test": {},
  240. "AnswerKey": {},
  241. "TestDurationInSeconds": {
  242. "type": "long"
  243. },
  244. "AutoGranted": {
  245. "type": "boolean"
  246. },
  247. "AutoGrantedValue": {
  248. "type": "integer"
  249. }
  250. }
  251. },
  252. "output": {
  253. "type": "structure",
  254. "members": {
  255. "QualificationType": {
  256. "shape": "S1a"
  257. }
  258. }
  259. }
  260. },
  261. "CreateWorkerBlock": {
  262. "input": {
  263. "type": "structure",
  264. "required": [
  265. "WorkerId",
  266. "Reason"
  267. ],
  268. "members": {
  269. "WorkerId": {},
  270. "Reason": {}
  271. }
  272. },
  273. "output": {
  274. "type": "structure",
  275. "members": {}
  276. }
  277. },
  278. "DeleteHIT": {
  279. "input": {
  280. "type": "structure",
  281. "required": [
  282. "HITId"
  283. ],
  284. "members": {
  285. "HITId": {}
  286. }
  287. },
  288. "output": {
  289. "type": "structure",
  290. "members": {}
  291. },
  292. "idempotent": true
  293. },
  294. "DeleteQualificationType": {
  295. "input": {
  296. "type": "structure",
  297. "required": [
  298. "QualificationTypeId"
  299. ],
  300. "members": {
  301. "QualificationTypeId": {}
  302. }
  303. },
  304. "output": {
  305. "type": "structure",
  306. "members": {}
  307. },
  308. "idempotent": true
  309. },
  310. "DeleteWorkerBlock": {
  311. "input": {
  312. "type": "structure",
  313. "required": [
  314. "WorkerId"
  315. ],
  316. "members": {
  317. "WorkerId": {},
  318. "Reason": {}
  319. }
  320. },
  321. "output": {
  322. "type": "structure",
  323. "members": {}
  324. },
  325. "idempotent": true
  326. },
  327. "DisassociateQualificationFromWorker": {
  328. "input": {
  329. "type": "structure",
  330. "required": [
  331. "WorkerId",
  332. "QualificationTypeId"
  333. ],
  334. "members": {
  335. "WorkerId": {},
  336. "QualificationTypeId": {},
  337. "Reason": {}
  338. }
  339. },
  340. "output": {
  341. "type": "structure",
  342. "members": {}
  343. }
  344. },
  345. "GetAccountBalance": {
  346. "input": {
  347. "type": "structure",
  348. "members": {}
  349. },
  350. "output": {
  351. "type": "structure",
  352. "members": {
  353. "AvailableBalance": {},
  354. "OnHoldBalance": {}
  355. }
  356. },
  357. "idempotent": true
  358. },
  359. "GetAssignment": {
  360. "input": {
  361. "type": "structure",
  362. "required": [
  363. "AssignmentId"
  364. ],
  365. "members": {
  366. "AssignmentId": {}
  367. }
  368. },
  369. "output": {
  370. "type": "structure",
  371. "members": {
  372. "Assignment": {
  373. "shape": "S1p"
  374. },
  375. "HIT": {
  376. "shape": "Sz"
  377. }
  378. }
  379. },
  380. "idempotent": true
  381. },
  382. "GetFileUploadURL": {
  383. "input": {
  384. "type": "structure",
  385. "required": [
  386. "AssignmentId",
  387. "QuestionIdentifier"
  388. ],
  389. "members": {
  390. "AssignmentId": {},
  391. "QuestionIdentifier": {}
  392. }
  393. },
  394. "output": {
  395. "type": "structure",
  396. "members": {
  397. "FileUploadURL": {}
  398. }
  399. },
  400. "idempotent": true
  401. },
  402. "GetHIT": {
  403. "input": {
  404. "type": "structure",
  405. "required": [
  406. "HITId"
  407. ],
  408. "members": {
  409. "HITId": {}
  410. }
  411. },
  412. "output": {
  413. "type": "structure",
  414. "members": {
  415. "HIT": {
  416. "shape": "Sz"
  417. }
  418. }
  419. },
  420. "idempotent": true
  421. },
  422. "GetQualificationScore": {
  423. "input": {
  424. "type": "structure",
  425. "required": [
  426. "QualificationTypeId",
  427. "WorkerId"
  428. ],
  429. "members": {
  430. "QualificationTypeId": {},
  431. "WorkerId": {}
  432. }
  433. },
  434. "output": {
  435. "type": "structure",
  436. "members": {
  437. "Qualification": {
  438. "shape": "S1x"
  439. }
  440. }
  441. },
  442. "idempotent": true
  443. },
  444. "GetQualificationType": {
  445. "input": {
  446. "type": "structure",
  447. "required": [
  448. "QualificationTypeId"
  449. ],
  450. "members": {
  451. "QualificationTypeId": {}
  452. }
  453. },
  454. "output": {
  455. "type": "structure",
  456. "members": {
  457. "QualificationType": {
  458. "shape": "S1a"
  459. }
  460. }
  461. },
  462. "idempotent": true
  463. },
  464. "ListAssignmentsForHIT": {
  465. "input": {
  466. "type": "structure",
  467. "required": [
  468. "HITId"
  469. ],
  470. "members": {
  471. "HITId": {},
  472. "NextToken": {},
  473. "MaxResults": {
  474. "type": "integer"
  475. },
  476. "AssignmentStatuses": {
  477. "type": "list",
  478. "member": {}
  479. }
  480. }
  481. },
  482. "output": {
  483. "type": "structure",
  484. "members": {
  485. "NextToken": {},
  486. "NumResults": {
  487. "type": "integer"
  488. },
  489. "Assignments": {
  490. "type": "list",
  491. "member": {
  492. "shape": "S1p"
  493. }
  494. }
  495. }
  496. },
  497. "idempotent": true
  498. },
  499. "ListBonusPayments": {
  500. "input": {
  501. "type": "structure",
  502. "members": {
  503. "HITId": {},
  504. "AssignmentId": {},
  505. "NextToken": {},
  506. "MaxResults": {
  507. "type": "integer"
  508. }
  509. }
  510. },
  511. "output": {
  512. "type": "structure",
  513. "members": {
  514. "NumResults": {
  515. "type": "integer"
  516. },
  517. "NextToken": {},
  518. "BonusPayments": {
  519. "type": "list",
  520. "member": {
  521. "type": "structure",
  522. "members": {
  523. "WorkerId": {},
  524. "BonusAmount": {},
  525. "AssignmentId": {},
  526. "Reason": {},
  527. "GrantTime": {
  528. "type": "timestamp"
  529. }
  530. }
  531. }
  532. }
  533. }
  534. },
  535. "idempotent": true
  536. },
  537. "ListHITs": {
  538. "input": {
  539. "type": "structure",
  540. "members": {
  541. "NextToken": {},
  542. "MaxResults": {
  543. "type": "integer"
  544. }
  545. }
  546. },
  547. "output": {
  548. "type": "structure",
  549. "members": {
  550. "NextToken": {},
  551. "NumResults": {
  552. "type": "integer"
  553. },
  554. "HITs": {
  555. "shape": "S2d"
  556. }
  557. }
  558. },
  559. "idempotent": true
  560. },
  561. "ListHITsForQualificationType": {
  562. "input": {
  563. "type": "structure",
  564. "required": [
  565. "QualificationTypeId"
  566. ],
  567. "members": {
  568. "QualificationTypeId": {},
  569. "NextToken": {},
  570. "MaxResults": {
  571. "type": "integer"
  572. }
  573. }
  574. },
  575. "output": {
  576. "type": "structure",
  577. "members": {
  578. "NextToken": {},
  579. "NumResults": {
  580. "type": "integer"
  581. },
  582. "HITs": {
  583. "shape": "S2d"
  584. }
  585. }
  586. },
  587. "idempotent": true
  588. },
  589. "ListQualificationRequests": {
  590. "input": {
  591. "type": "structure",
  592. "members": {
  593. "QualificationTypeId": {},
  594. "NextToken": {},
  595. "MaxResults": {
  596. "type": "integer"
  597. }
  598. }
  599. },
  600. "output": {
  601. "type": "structure",
  602. "members": {
  603. "NumResults": {
  604. "type": "integer"
  605. },
  606. "NextToken": {},
  607. "QualificationRequests": {
  608. "type": "list",
  609. "member": {
  610. "type": "structure",
  611. "members": {
  612. "QualificationRequestId": {},
  613. "QualificationTypeId": {},
  614. "WorkerId": {},
  615. "Test": {},
  616. "Answer": {},
  617. "SubmitTime": {
  618. "type": "timestamp"
  619. }
  620. }
  621. }
  622. }
  623. }
  624. },
  625. "idempotent": true
  626. },
  627. "ListQualificationTypes": {
  628. "input": {
  629. "type": "structure",
  630. "required": [
  631. "MustBeRequestable"
  632. ],
  633. "members": {
  634. "Query": {},
  635. "MustBeRequestable": {
  636. "type": "boolean"
  637. },
  638. "MustBeOwnedByCaller": {
  639. "type": "boolean"
  640. },
  641. "NextToken": {},
  642. "MaxResults": {
  643. "type": "integer"
  644. }
  645. }
  646. },
  647. "output": {
  648. "type": "structure",
  649. "members": {
  650. "NumResults": {
  651. "type": "integer"
  652. },
  653. "NextToken": {},
  654. "QualificationTypes": {
  655. "type": "list",
  656. "member": {
  657. "shape": "S1a"
  658. }
  659. }
  660. }
  661. },
  662. "idempotent": true
  663. },
  664. "ListReviewPolicyResultsForHIT": {
  665. "input": {
  666. "type": "structure",
  667. "required": [
  668. "HITId"
  669. ],
  670. "members": {
  671. "HITId": {},
  672. "PolicyLevels": {
  673. "type": "list",
  674. "member": {}
  675. },
  676. "RetrieveActions": {
  677. "type": "boolean"
  678. },
  679. "RetrieveResults": {
  680. "type": "boolean"
  681. },
  682. "NextToken": {},
  683. "MaxResults": {
  684. "type": "integer"
  685. }
  686. }
  687. },
  688. "output": {
  689. "type": "structure",
  690. "members": {
  691. "HITId": {},
  692. "AssignmentReviewPolicy": {
  693. "shape": "Sq"
  694. },
  695. "HITReviewPolicy": {
  696. "shape": "Sq"
  697. },
  698. "AssignmentReviewReport": {
  699. "shape": "S2r"
  700. },
  701. "HITReviewReport": {
  702. "shape": "S2r"
  703. },
  704. "NextToken": {}
  705. }
  706. },
  707. "idempotent": true
  708. },
  709. "ListReviewableHITs": {
  710. "input": {
  711. "type": "structure",
  712. "members": {
  713. "HITTypeId": {},
  714. "Status": {},
  715. "NextToken": {},
  716. "MaxResults": {
  717. "type": "integer"
  718. }
  719. }
  720. },
  721. "output": {
  722. "type": "structure",
  723. "members": {
  724. "NextToken": {},
  725. "NumResults": {
  726. "type": "integer"
  727. },
  728. "HITs": {
  729. "shape": "S2d"
  730. }
  731. }
  732. },
  733. "idempotent": true
  734. },
  735. "ListWorkerBlocks": {
  736. "input": {
  737. "type": "structure",
  738. "members": {
  739. "NextToken": {},
  740. "MaxResults": {
  741. "type": "integer"
  742. }
  743. }
  744. },
  745. "output": {
  746. "type": "structure",
  747. "members": {
  748. "NextToken": {},
  749. "NumResults": {
  750. "type": "integer"
  751. },
  752. "WorkerBlocks": {
  753. "type": "list",
  754. "member": {
  755. "type": "structure",
  756. "members": {
  757. "WorkerId": {},
  758. "Reason": {}
  759. }
  760. }
  761. }
  762. }
  763. },
  764. "idempotent": true
  765. },
  766. "ListWorkersWithQualificationType": {
  767. "input": {
  768. "type": "structure",
  769. "required": [
  770. "QualificationTypeId"
  771. ],
  772. "members": {
  773. "QualificationTypeId": {},
  774. "Status": {},
  775. "NextToken": {},
  776. "MaxResults": {
  777. "type": "integer"
  778. }
  779. }
  780. },
  781. "output": {
  782. "type": "structure",
  783. "members": {
  784. "NextToken": {},
  785. "NumResults": {
  786. "type": "integer"
  787. },
  788. "Qualifications": {
  789. "type": "list",
  790. "member": {
  791. "shape": "S1x"
  792. }
  793. }
  794. }
  795. },
  796. "idempotent": true
  797. },
  798. "NotifyWorkers": {
  799. "input": {
  800. "type": "structure",
  801. "required": [
  802. "Subject",
  803. "MessageText",
  804. "WorkerIds"
  805. ],
  806. "members": {
  807. "Subject": {},
  808. "MessageText": {},
  809. "WorkerIds": {
  810. "type": "list",
  811. "member": {}
  812. }
  813. }
  814. },
  815. "output": {
  816. "type": "structure",
  817. "members": {
  818. "NotifyWorkersFailureStatuses": {
  819. "type": "list",
  820. "member": {
  821. "type": "structure",
  822. "members": {
  823. "NotifyWorkersFailureCode": {},
  824. "NotifyWorkersFailureMessage": {},
  825. "WorkerId": {}
  826. }
  827. }
  828. }
  829. }
  830. }
  831. },
  832. "RejectAssignment": {
  833. "input": {
  834. "type": "structure",
  835. "required": [
  836. "AssignmentId",
  837. "RequesterFeedback"
  838. ],
  839. "members": {
  840. "AssignmentId": {},
  841. "RequesterFeedback": {}
  842. }
  843. },
  844. "output": {
  845. "type": "structure",
  846. "members": {}
  847. },
  848. "idempotent": true
  849. },
  850. "RejectQualificationRequest": {
  851. "input": {
  852. "type": "structure",
  853. "required": [
  854. "QualificationRequestId"
  855. ],
  856. "members": {
  857. "QualificationRequestId": {},
  858. "Reason": {}
  859. }
  860. },
  861. "output": {
  862. "type": "structure",
  863. "members": {}
  864. }
  865. },
  866. "SendBonus": {
  867. "input": {
  868. "type": "structure",
  869. "required": [
  870. "WorkerId",
  871. "BonusAmount",
  872. "AssignmentId",
  873. "Reason"
  874. ],
  875. "members": {
  876. "WorkerId": {},
  877. "BonusAmount": {},
  878. "AssignmentId": {},
  879. "Reason": {},
  880. "UniqueRequestToken": {}
  881. }
  882. },
  883. "output": {
  884. "type": "structure",
  885. "members": {}
  886. }
  887. },
  888. "SendTestEventNotification": {
  889. "input": {
  890. "type": "structure",
  891. "required": [
  892. "Notification",
  893. "TestEventType"
  894. ],
  895. "members": {
  896. "Notification": {
  897. "shape": "S3k"
  898. },
  899. "TestEventType": {}
  900. }
  901. },
  902. "output": {
  903. "type": "structure",
  904. "members": {}
  905. }
  906. },
  907. "UpdateExpirationForHIT": {
  908. "input": {
  909. "type": "structure",
  910. "required": [
  911. "HITId",
  912. "ExpireAt"
  913. ],
  914. "members": {
  915. "HITId": {},
  916. "ExpireAt": {
  917. "type": "timestamp"
  918. }
  919. }
  920. },
  921. "output": {
  922. "type": "structure",
  923. "members": {}
  924. },
  925. "idempotent": true
  926. },
  927. "UpdateHITReviewStatus": {
  928. "input": {
  929. "type": "structure",
  930. "required": [
  931. "HITId"
  932. ],
  933. "members": {
  934. "HITId": {},
  935. "Revert": {
  936. "type": "boolean"
  937. }
  938. }
  939. },
  940. "output": {
  941. "type": "structure",
  942. "members": {}
  943. },
  944. "idempotent": true
  945. },
  946. "UpdateHITTypeOfHIT": {
  947. "input": {
  948. "type": "structure",
  949. "required": [
  950. "HITId",
  951. "HITTypeId"
  952. ],
  953. "members": {
  954. "HITId": {},
  955. "HITTypeId": {}
  956. }
  957. },
  958. "output": {
  959. "type": "structure",
  960. "members": {}
  961. },
  962. "idempotent": true
  963. },
  964. "UpdateNotificationSettings": {
  965. "input": {
  966. "type": "structure",
  967. "required": [
  968. "HITTypeId"
  969. ],
  970. "members": {
  971. "HITTypeId": {},
  972. "Notification": {
  973. "shape": "S3k"
  974. },
  975. "Active": {
  976. "type": "boolean"
  977. }
  978. }
  979. },
  980. "output": {
  981. "type": "structure",
  982. "members": {}
  983. },
  984. "idempotent": true
  985. },
  986. "UpdateQualificationType": {
  987. "input": {
  988. "type": "structure",
  989. "required": [
  990. "QualificationTypeId"
  991. ],
  992. "members": {
  993. "QualificationTypeId": {},
  994. "Description": {},
  995. "QualificationTypeStatus": {},
  996. "Test": {},
  997. "AnswerKey": {},
  998. "TestDurationInSeconds": {
  999. "type": "long"
  1000. },
  1001. "RetryDelayInSeconds": {
  1002. "type": "long"
  1003. },
  1004. "AutoGranted": {
  1005. "type": "boolean"
  1006. },
  1007. "AutoGrantedValue": {
  1008. "type": "integer"
  1009. }
  1010. }
  1011. },
  1012. "output": {
  1013. "type": "structure",
  1014. "members": {
  1015. "QualificationType": {
  1016. "shape": "S1a"
  1017. }
  1018. }
  1019. }
  1020. }
  1021. },
  1022. "shapes": {
  1023. "Si": {
  1024. "type": "list",
  1025. "member": {
  1026. "type": "structure",
  1027. "required": [
  1028. "QualificationTypeId",
  1029. "Comparator"
  1030. ],
  1031. "members": {
  1032. "QualificationTypeId": {},
  1033. "Comparator": {},
  1034. "IntegerValues": {
  1035. "type": "list",
  1036. "member": {
  1037. "type": "integer"
  1038. }
  1039. },
  1040. "LocaleValues": {
  1041. "type": "list",
  1042. "member": {
  1043. "shape": "Sn"
  1044. }
  1045. },
  1046. "RequiredToPreview": {
  1047. "deprecated": true,
  1048. "type": "boolean"
  1049. },
  1050. "ActionsGuarded": {}
  1051. }
  1052. }
  1053. },
  1054. "Sn": {
  1055. "type": "structure",
  1056. "required": [
  1057. "Country"
  1058. ],
  1059. "members": {
  1060. "Country": {},
  1061. "Subdivision": {}
  1062. }
  1063. },
  1064. "Sq": {
  1065. "type": "structure",
  1066. "required": [
  1067. "PolicyName"
  1068. ],
  1069. "members": {
  1070. "PolicyName": {},
  1071. "Parameters": {
  1072. "type": "list",
  1073. "member": {
  1074. "type": "structure",
  1075. "members": {
  1076. "Key": {},
  1077. "Values": {
  1078. "shape": "St"
  1079. },
  1080. "MapEntries": {
  1081. "type": "list",
  1082. "member": {
  1083. "type": "structure",
  1084. "members": {
  1085. "Key": {},
  1086. "Values": {
  1087. "shape": "St"
  1088. }
  1089. }
  1090. }
  1091. }
  1092. }
  1093. }
  1094. }
  1095. }
  1096. },
  1097. "St": {
  1098. "type": "list",
  1099. "member": {}
  1100. },
  1101. "Sw": {
  1102. "type": "list",
  1103. "member": {
  1104. "type": "structure",
  1105. "required": [
  1106. "Name",
  1107. "Value"
  1108. ],
  1109. "members": {
  1110. "Name": {},
  1111. "Value": {}
  1112. }
  1113. }
  1114. },
  1115. "Sz": {
  1116. "type": "structure",
  1117. "members": {
  1118. "HITId": {},
  1119. "HITTypeId": {},
  1120. "HITGroupId": {},
  1121. "HITLayoutId": {},
  1122. "CreationTime": {
  1123. "type": "timestamp"
  1124. },
  1125. "Title": {},
  1126. "Description": {},
  1127. "Question": {},
  1128. "Keywords": {},
  1129. "HITStatus": {},
  1130. "MaxAssignments": {
  1131. "type": "integer"
  1132. },
  1133. "Reward": {},
  1134. "AutoApprovalDelayInSeconds": {
  1135. "type": "long"
  1136. },
  1137. "Expiration": {
  1138. "type": "timestamp"
  1139. },
  1140. "AssignmentDurationInSeconds": {
  1141. "type": "long"
  1142. },
  1143. "RequesterAnnotation": {},
  1144. "QualificationRequirements": {
  1145. "shape": "Si"
  1146. },
  1147. "HITReviewStatus": {},
  1148. "NumberOfAssignmentsPending": {
  1149. "type": "integer"
  1150. },
  1151. "NumberOfAssignmentsAvailable": {
  1152. "type": "integer"
  1153. },
  1154. "NumberOfAssignmentsCompleted": {
  1155. "type": "integer"
  1156. }
  1157. }
  1158. },
  1159. "S1a": {
  1160. "type": "structure",
  1161. "members": {
  1162. "QualificationTypeId": {},
  1163. "CreationTime": {
  1164. "type": "timestamp"
  1165. },
  1166. "Name": {},
  1167. "Description": {},
  1168. "Keywords": {},
  1169. "QualificationTypeStatus": {},
  1170. "Test": {},
  1171. "TestDurationInSeconds": {
  1172. "type": "long"
  1173. },
  1174. "AnswerKey": {},
  1175. "RetryDelayInSeconds": {
  1176. "type": "long"
  1177. },
  1178. "IsRequestable": {
  1179. "type": "boolean"
  1180. },
  1181. "AutoGranted": {
  1182. "type": "boolean"
  1183. },
  1184. "AutoGrantedValue": {
  1185. "type": "integer"
  1186. }
  1187. }
  1188. },
  1189. "S1p": {
  1190. "type": "structure",
  1191. "members": {
  1192. "AssignmentId": {},
  1193. "WorkerId": {},
  1194. "HITId": {},
  1195. "AssignmentStatus": {},
  1196. "AutoApprovalTime": {
  1197. "type": "timestamp"
  1198. },
  1199. "AcceptTime": {
  1200. "type": "timestamp"
  1201. },
  1202. "SubmitTime": {
  1203. "type": "timestamp"
  1204. },
  1205. "ApprovalTime": {
  1206. "type": "timestamp"
  1207. },
  1208. "RejectionTime": {
  1209. "type": "timestamp"
  1210. },
  1211. "Deadline": {
  1212. "type": "timestamp"
  1213. },
  1214. "Answer": {},
  1215. "RequesterFeedback": {}
  1216. }
  1217. },
  1218. "S1x": {
  1219. "type": "structure",
  1220. "members": {
  1221. "QualificationTypeId": {},
  1222. "WorkerId": {},
  1223. "GrantTime": {
  1224. "type": "timestamp"
  1225. },
  1226. "IntegerValue": {
  1227. "type": "integer"
  1228. },
  1229. "LocaleValue": {
  1230. "shape": "Sn"
  1231. },
  1232. "Status": {}
  1233. }
  1234. },
  1235. "S2d": {
  1236. "type": "list",
  1237. "member": {
  1238. "shape": "Sz"
  1239. }
  1240. },
  1241. "S2r": {
  1242. "type": "structure",
  1243. "members": {
  1244. "ReviewResults": {
  1245. "type": "list",
  1246. "member": {
  1247. "type": "structure",
  1248. "members": {
  1249. "ActionId": {},
  1250. "SubjectId": {},
  1251. "SubjectType": {},
  1252. "QuestionId": {},
  1253. "Key": {},
  1254. "Value": {}
  1255. }
  1256. }
  1257. },
  1258. "ReviewActions": {
  1259. "type": "list",
  1260. "member": {
  1261. "type": "structure",
  1262. "members": {
  1263. "ActionId": {},
  1264. "ActionName": {},
  1265. "TargetId": {},
  1266. "TargetType": {},
  1267. "Status": {},
  1268. "CompleteTime": {
  1269. "type": "timestamp"
  1270. },
  1271. "Result": {},
  1272. "ErrorCode": {}
  1273. }
  1274. }
  1275. }
  1276. }
  1277. },
  1278. "S3k": {
  1279. "type": "structure",
  1280. "required": [
  1281. "Destination",
  1282. "Transport",
  1283. "Version",
  1284. "EventTypes"
  1285. ],
  1286. "members": {
  1287. "Destination": {},
  1288. "Transport": {},
  1289. "Version": {},
  1290. "EventTypes": {
  1291. "type": "list",
  1292. "member": {}
  1293. }
  1294. }
  1295. }
  1296. }
  1297. }