@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.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/MTurk.js +0 -4
- package/dist-cjs/MTurkClient.js +0 -9
- package/dist-cjs/commands/AcceptQualificationRequestCommand.js +0 -34
- package/dist-cjs/commands/ApproveAssignmentCommand.js +0 -54
- package/dist-cjs/commands/AssociateQualificationWithWorkerCommand.js +0 -45
- package/dist-cjs/commands/CreateAdditionalAssignmentsForHITCommand.js +0 -47
- package/dist-cjs/commands/CreateHITCommand.js +0 -41
- package/dist-cjs/commands/CreateHITTypeCommand.js +0 -30
- package/dist-cjs/commands/CreateHITWithHITTypeCommand.js +0 -42
- package/dist-cjs/commands/CreateQualificationTypeCommand.js +0 -31
- package/dist-cjs/commands/CreateWorkerBlockCommand.js +0 -25
- package/dist-cjs/commands/DeleteHITCommand.js +0 -60
- package/dist-cjs/commands/DeleteQualificationTypeCommand.js +0 -43
- package/dist-cjs/commands/DeleteWorkerBlockCommand.js +0 -25
- package/dist-cjs/commands/DisassociateQualificationFromWorkerCommand.js +0 -32
- package/dist-cjs/commands/GetAccountBalanceCommand.js +0 -27
- package/dist-cjs/commands/GetAssignmentCommand.js +0 -27
- package/dist-cjs/commands/GetFileUploadURLCommand.js +0 -42
- package/dist-cjs/commands/GetHITCommand.js +0 -27
- package/dist-cjs/commands/GetQualificationScoreCommand.js +0 -38
- package/dist-cjs/commands/GetQualificationTypeCommand.js +0 -27
- package/dist-cjs/commands/ListAssignmentsForHITCommand.js +0 -51
- package/dist-cjs/commands/ListBonusPaymentsCommand.js +0 -30
- package/dist-cjs/commands/ListHITsCommand.js +0 -31
- package/dist-cjs/commands/ListHITsForQualificationTypeCommand.js +0 -30
- package/dist-cjs/commands/ListQualificationRequestsCommand.js +0 -32
- package/dist-cjs/commands/ListQualificationTypesCommand.js +0 -30
- package/dist-cjs/commands/ListReviewPolicyResultsForHITCommand.js +0 -31
- package/dist-cjs/commands/ListReviewableHITsCommand.js +0 -28
- package/dist-cjs/commands/ListWorkerBlocksCommand.js +0 -25
- package/dist-cjs/commands/ListWorkersWithQualificationTypeCommand.js +0 -28
- package/dist-cjs/commands/NotifyWorkersCommand.js +0 -34
- package/dist-cjs/commands/RejectAssignmentCommand.js +0 -37
- package/dist-cjs/commands/RejectQualificationRequestCommand.js +0 -31
- package/dist-cjs/commands/SendBonusCommand.js +0 -38
- package/dist-cjs/commands/SendTestEventNotificationCommand.js +0 -31
- package/dist-cjs/commands/UpdateExpirationForHITCommand.js +0 -28
- package/dist-cjs/commands/UpdateHITReviewStatusCommand.js +0 -29
- package/dist-cjs/commands/UpdateHITTypeOfHITCommand.js +0 -32
- package/dist-cjs/commands/UpdateNotificationSettingsCommand.js +0 -36
- package/dist-cjs/commands/UpdateQualificationTypeCommand.js +0 -57
- package/dist-cjs/commands/index.js +42 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -53
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -295
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListAssignmentsForHITPaginator.js +0 -11
- package/dist-cjs/pagination/ListBonusPaymentsPaginator.js +0 -11
- package/dist-cjs/pagination/ListHITsForQualificationTypePaginator.js +0 -11
- package/dist-cjs/pagination/ListHITsPaginator.js +0 -11
- package/dist-cjs/pagination/ListQualificationRequestsPaginator.js +0 -11
- package/dist-cjs/pagination/ListQualificationTypesPaginator.js +0 -11
- package/dist-cjs/pagination/ListReviewPolicyResultsForHITPaginator.js +0 -11
- package/dist-cjs/pagination/ListReviewableHITsPaginator.js +0 -11
- package/dist-cjs/pagination/ListWorkerBlocksPaginator.js +0 -11
- package/dist-cjs/pagination/ListWorkersWithQualificationTypePaginator.js +0 -11
- package/dist-cjs/pagination/index.js +14 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/MTurk.js +0 -1
- package/dist-es/MTurkClient.js +0 -1
- package/dist-es/commands/AcceptQualificationRequestCommand.js +0 -1
- package/dist-es/commands/ApproveAssignmentCommand.js +0 -1
- package/dist-es/commands/AssociateQualificationWithWorkerCommand.js +0 -1
- package/dist-es/commands/CreateAdditionalAssignmentsForHITCommand.js +0 -1
- package/dist-es/commands/CreateHITCommand.js +0 -1
- package/dist-es/commands/CreateHITTypeCommand.js +0 -1
- package/dist-es/commands/CreateHITWithHITTypeCommand.js +0 -1
- package/dist-es/commands/CreateQualificationTypeCommand.js +0 -1
- package/dist-es/commands/CreateWorkerBlockCommand.js +0 -1
- package/dist-es/commands/DeleteHITCommand.js +0 -1
- package/dist-es/commands/DeleteQualificationTypeCommand.js +0 -1
- package/dist-es/commands/DeleteWorkerBlockCommand.js +0 -1
- package/dist-es/commands/DisassociateQualificationFromWorkerCommand.js +0 -1
- package/dist-es/commands/GetAccountBalanceCommand.js +0 -1
- package/dist-es/commands/GetAssignmentCommand.js +0 -1
- package/dist-es/commands/GetFileUploadURLCommand.js +0 -1
- package/dist-es/commands/GetHITCommand.js +0 -1
- package/dist-es/commands/GetQualificationScoreCommand.js +0 -1
- package/dist-es/commands/GetQualificationTypeCommand.js +0 -1
- package/dist-es/commands/ListAssignmentsForHITCommand.js +0 -1
- package/dist-es/commands/ListBonusPaymentsCommand.js +0 -1
- package/dist-es/commands/ListHITsCommand.js +0 -1
- package/dist-es/commands/ListHITsForQualificationTypeCommand.js +0 -1
- package/dist-es/commands/ListQualificationRequestsCommand.js +0 -1
- package/dist-es/commands/ListQualificationTypesCommand.js +0 -1
- package/dist-es/commands/ListReviewPolicyResultsForHITCommand.js +0 -1
- package/dist-es/commands/ListReviewableHITsCommand.js +0 -1
- package/dist-es/commands/ListWorkerBlocksCommand.js +0 -1
- package/dist-es/commands/ListWorkersWithQualificationTypeCommand.js +0 -1
- package/dist-es/commands/NotifyWorkersCommand.js +0 -1
- package/dist-es/commands/RejectAssignmentCommand.js +0 -1
- package/dist-es/commands/RejectQualificationRequestCommand.js +0 -1
- package/dist-es/commands/SendBonusCommand.js +0 -1
- package/dist-es/commands/SendTestEventNotificationCommand.js +0 -1
- package/dist-es/commands/UpdateExpirationForHITCommand.js +0 -1
- package/dist-es/commands/UpdateHITReviewStatusCommand.js +0 -1
- package/dist-es/commands/UpdateHITTypeOfHITCommand.js +0 -1
- package/dist-es/commands/UpdateNotificationSettingsCommand.js +0 -1
- package/dist-es/commands/UpdateQualificationTypeCommand.js +0 -1
- package/dist-es/commands/index.js +39 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -53
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListAssignmentsForHITPaginator.js +0 -1
- package/dist-es/pagination/ListBonusPaymentsPaginator.js +0 -1
- package/dist-es/pagination/ListHITsForQualificationTypePaginator.js +0 -1
- package/dist-es/pagination/ListHITsPaginator.js +0 -1
- package/dist-es/pagination/ListQualificationRequestsPaginator.js +0 -1
- package/dist-es/pagination/ListQualificationTypesPaginator.js +0 -1
- package/dist-es/pagination/ListReviewPolicyResultsForHITPaginator.js +0 -1
- package/dist-es/pagination/ListReviewableHITsPaginator.js +0 -1
- package/dist-es/pagination/ListWorkerBlocksPaginator.js +0 -1
- package/dist-es/pagination/ListWorkersWithQualificationTypePaginator.js +0 -1
- package/dist-es/pagination/index.js +11 -0
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +39 -0
- package/dist-types/index.d.ts +4 -52
- package/dist-types/pagination/index.d.ts +11 -0
- package/dist-types/ts3.4/MTurk.d.ts +40 -511
- package/dist-types/ts3.4/MTurkClient.d.ts +24 -89
- package/dist-types/ts3.4/commands/AcceptQualificationRequestCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ApproveAssignmentCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/AssociateQualificationWithWorkerCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/CreateHITCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/CreateHITTypeCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/CreateHITWithHITTypeCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/CreateQualificationTypeCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/CreateWorkerBlockCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteHITCommand.d.ts +2 -55
- package/dist-types/ts3.4/commands/DeleteQualificationTypeCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/DeleteWorkerBlockCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DisassociateQualificationFromWorkerCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/GetAccountBalanceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetAssignmentCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetFileUploadURLCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/GetHITCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetQualificationScoreCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/GetQualificationTypeCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListAssignmentsForHITCommand.d.ts +2 -46
- package/dist-types/ts3.4/commands/ListBonusPaymentsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListHITsCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListHITsForQualificationTypeCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListQualificationRequestsCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListQualificationTypesCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListReviewPolicyResultsForHITCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListReviewableHITsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListWorkerBlocksCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListWorkersWithQualificationTypeCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/NotifyWorkersCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/RejectAssignmentCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/RejectQualificationRequestCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/SendBonusCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/SendTestEventNotificationCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/UpdateExpirationForHITCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UpdateHITReviewStatusCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UpdateHITTypeOfHITCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/UpdateNotificationSettingsCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/UpdateQualificationTypeCommand.d.ts +2 -52
- package/dist-types/ts3.4/commands/index.d.ts +39 -0
- package/dist-types/ts3.4/index.d.ts +4 -52
- package/dist-types/ts3.4/models/models_0.d.ts +406 -1941
- package/dist-types/ts3.4/pagination/index.d.ts +11 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/MTurk.js.map +0 -1
- package/dist-cjs/MTurkClient.js.map +0 -1
- package/dist-cjs/commands/AcceptQualificationRequestCommand.js.map +0 -1
- package/dist-cjs/commands/ApproveAssignmentCommand.js.map +0 -1
- package/dist-cjs/commands/AssociateQualificationWithWorkerCommand.js.map +0 -1
- package/dist-cjs/commands/CreateAdditionalAssignmentsForHITCommand.js.map +0 -1
- package/dist-cjs/commands/CreateHITCommand.js.map +0 -1
- package/dist-cjs/commands/CreateHITTypeCommand.js.map +0 -1
- package/dist-cjs/commands/CreateHITWithHITTypeCommand.js.map +0 -1
- package/dist-cjs/commands/CreateQualificationTypeCommand.js.map +0 -1
- package/dist-cjs/commands/CreateWorkerBlockCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteHITCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteQualificationTypeCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteWorkerBlockCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateQualificationFromWorkerCommand.js.map +0 -1
- package/dist-cjs/commands/GetAccountBalanceCommand.js.map +0 -1
- package/dist-cjs/commands/GetAssignmentCommand.js.map +0 -1
- package/dist-cjs/commands/GetFileUploadURLCommand.js.map +0 -1
- package/dist-cjs/commands/GetHITCommand.js.map +0 -1
- package/dist-cjs/commands/GetQualificationScoreCommand.js.map +0 -1
- package/dist-cjs/commands/GetQualificationTypeCommand.js.map +0 -1
- package/dist-cjs/commands/ListAssignmentsForHITCommand.js.map +0 -1
- package/dist-cjs/commands/ListBonusPaymentsCommand.js.map +0 -1
- package/dist-cjs/commands/ListHITsCommand.js.map +0 -1
- package/dist-cjs/commands/ListHITsForQualificationTypeCommand.js.map +0 -1
- package/dist-cjs/commands/ListQualificationRequestsCommand.js.map +0 -1
- package/dist-cjs/commands/ListQualificationTypesCommand.js.map +0 -1
- package/dist-cjs/commands/ListReviewPolicyResultsForHITCommand.js.map +0 -1
- package/dist-cjs/commands/ListReviewableHITsCommand.js.map +0 -1
- package/dist-cjs/commands/ListWorkerBlocksCommand.js.map +0 -1
- package/dist-cjs/commands/ListWorkersWithQualificationTypeCommand.js.map +0 -1
- package/dist-cjs/commands/NotifyWorkersCommand.js.map +0 -1
- package/dist-cjs/commands/RejectAssignmentCommand.js.map +0 -1
- package/dist-cjs/commands/RejectQualificationRequestCommand.js.map +0 -1
- package/dist-cjs/commands/SendBonusCommand.js.map +0 -1
- package/dist-cjs/commands/SendTestEventNotificationCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateExpirationForHITCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateHITReviewStatusCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateHITTypeOfHITCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateNotificationSettingsCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateQualificationTypeCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListAssignmentsForHITPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListBonusPaymentsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListHITsForQualificationTypePaginator.js.map +0 -1
- package/dist-cjs/pagination/ListHITsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListQualificationRequestsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListQualificationTypesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListReviewPolicyResultsForHITPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListReviewableHITsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListWorkerBlocksPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListWorkersWithQualificationTypePaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/MTurk.js.map +0 -1
- package/dist-es/MTurkClient.js.map +0 -1
- package/dist-es/commands/AcceptQualificationRequestCommand.js.map +0 -1
- package/dist-es/commands/ApproveAssignmentCommand.js.map +0 -1
- package/dist-es/commands/AssociateQualificationWithWorkerCommand.js.map +0 -1
- package/dist-es/commands/CreateAdditionalAssignmentsForHITCommand.js.map +0 -1
- package/dist-es/commands/CreateHITCommand.js.map +0 -1
- package/dist-es/commands/CreateHITTypeCommand.js.map +0 -1
- package/dist-es/commands/CreateHITWithHITTypeCommand.js.map +0 -1
- package/dist-es/commands/CreateQualificationTypeCommand.js.map +0 -1
- package/dist-es/commands/CreateWorkerBlockCommand.js.map +0 -1
- package/dist-es/commands/DeleteHITCommand.js.map +0 -1
- package/dist-es/commands/DeleteQualificationTypeCommand.js.map +0 -1
- package/dist-es/commands/DeleteWorkerBlockCommand.js.map +0 -1
- package/dist-es/commands/DisassociateQualificationFromWorkerCommand.js.map +0 -1
- package/dist-es/commands/GetAccountBalanceCommand.js.map +0 -1
- package/dist-es/commands/GetAssignmentCommand.js.map +0 -1
- package/dist-es/commands/GetFileUploadURLCommand.js.map +0 -1
- package/dist-es/commands/GetHITCommand.js.map +0 -1
- package/dist-es/commands/GetQualificationScoreCommand.js.map +0 -1
- package/dist-es/commands/GetQualificationTypeCommand.js.map +0 -1
- package/dist-es/commands/ListAssignmentsForHITCommand.js.map +0 -1
- package/dist-es/commands/ListBonusPaymentsCommand.js.map +0 -1
- package/dist-es/commands/ListHITsCommand.js.map +0 -1
- package/dist-es/commands/ListHITsForQualificationTypeCommand.js.map +0 -1
- package/dist-es/commands/ListQualificationRequestsCommand.js.map +0 -1
- package/dist-es/commands/ListQualificationTypesCommand.js.map +0 -1
- package/dist-es/commands/ListReviewPolicyResultsForHITCommand.js.map +0 -1
- package/dist-es/commands/ListReviewableHITsCommand.js.map +0 -1
- package/dist-es/commands/ListWorkerBlocksCommand.js.map +0 -1
- package/dist-es/commands/ListWorkersWithQualificationTypeCommand.js.map +0 -1
- package/dist-es/commands/NotifyWorkersCommand.js.map +0 -1
- package/dist-es/commands/RejectAssignmentCommand.js.map +0 -1
- package/dist-es/commands/RejectQualificationRequestCommand.js.map +0 -1
- package/dist-es/commands/SendBonusCommand.js.map +0 -1
- package/dist-es/commands/SendTestEventNotificationCommand.js.map +0 -1
- package/dist-es/commands/UpdateExpirationForHITCommand.js.map +0 -1
- package/dist-es/commands/UpdateHITReviewStatusCommand.js.map +0 -1
- package/dist-es/commands/UpdateHITTypeOfHITCommand.js.map +0 -1
- package/dist-es/commands/UpdateNotificationSettingsCommand.js.map +0 -1
- package/dist-es/commands/UpdateQualificationTypeCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListAssignmentsForHITPaginator.js.map +0 -1
- package/dist-es/pagination/ListBonusPaymentsPaginator.js.map +0 -1
- package/dist-es/pagination/ListHITsForQualificationTypePaginator.js.map +0 -1
- package/dist-es/pagination/ListHITsPaginator.js.map +0 -1
- package/dist-es/pagination/ListQualificationRequestsPaginator.js.map +0 -1
- package/dist-es/pagination/ListQualificationTypesPaginator.js.map +0 -1
- package/dist-es/pagination/ListReviewPolicyResultsForHITPaginator.js.map +0 -1
- package/dist-es/pagination/ListReviewableHITsPaginator.js.map +0 -1
- package/dist-es/pagination/ListWorkerBlocksPaginator.js.map +0 -1
- package/dist-es/pagination/ListWorkersWithQualificationTypePaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/MTurk.ts +0 -1792
- package/src/MTurkClient.ts +0 -416
- package/src/commands/AcceptQualificationRequestCommand.ts +0 -107
- package/src/commands/ApproveAssignmentCommand.ts +0 -124
- package/src/commands/AssociateQualificationWithWorkerCommand.ts +0 -123
- package/src/commands/CreateAdditionalAssignmentsForHITCommand.ts +0 -128
- package/src/commands/CreateHITCommand.ts +0 -108
- package/src/commands/CreateHITTypeCommand.ts +0 -100
- package/src/commands/CreateHITWithHITTypeCommand.ts +0 -112
- package/src/commands/CreateQualificationTypeCommand.ts +0 -101
- package/src/commands/CreateWorkerBlockCommand.ts +0 -95
- package/src/commands/DeleteHITCommand.ts +0 -127
- package/src/commands/DeleteQualificationTypeCommand.ts +0 -113
- package/src/commands/DeleteWorkerBlockCommand.ts +0 -95
- package/src/commands/DisassociateQualificationFromWorkerCommand.ts +0 -113
- package/src/commands/GetAccountBalanceCommand.ts +0 -97
- package/src/commands/GetAssignmentCommand.ts +0 -97
- package/src/commands/GetFileUploadURLCommand.ts +0 -112
- package/src/commands/GetHITCommand.ts +0 -90
- package/src/commands/GetQualificationScoreCommand.ts +0 -108
- package/src/commands/GetQualificationTypeCommand.ts +0 -97
- package/src/commands/ListAssignmentsForHITCommand.ts +0 -121
- package/src/commands/ListBonusPaymentsCommand.ts +0 -100
- package/src/commands/ListHITsCommand.ts +0 -94
- package/src/commands/ListHITsForQualificationTypeCommand.ts +0 -105
- package/src/commands/ListQualificationRequestsCommand.ts +0 -105
- package/src/commands/ListQualificationTypesCommand.ts +0 -100
- package/src/commands/ListReviewPolicyResultsForHITCommand.ts +0 -106
- package/src/commands/ListReviewableHITsCommand.ts +0 -98
- package/src/commands/ListWorkerBlocksCommand.ts +0 -95
- package/src/commands/ListWorkersWithQualificationTypeCommand.ts +0 -106
- package/src/commands/NotifyWorkersCommand.ts +0 -104
- package/src/commands/RejectAssignmentCommand.ts +0 -107
- package/src/commands/RejectQualificationRequestCommand.ts +0 -104
- package/src/commands/SendBonusCommand.ts +0 -105
- package/src/commands/SendTestEventNotificationCommand.ts +0 -104
- package/src/commands/UpdateExpirationForHITCommand.ts +0 -98
- package/src/commands/UpdateHITReviewStatusCommand.ts +0 -99
- package/src/commands/UpdateHITTypeOfHITCommand.ts +0 -102
- package/src/commands/UpdateNotificationSettingsCommand.ts +0 -109
- package/src/commands/UpdateQualificationTypeCommand.ts +0 -127
- package/src/endpoints.ts +0 -62
- package/src/index.ts +0 -53
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -3412
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListAssignmentsForHITPaginator.ts +0 -59
- package/src/pagination/ListBonusPaymentsPaginator.ts +0 -59
- package/src/pagination/ListHITsForQualificationTypePaginator.ts +0 -59
- package/src/pagination/ListHITsPaginator.ts +0 -55
- package/src/pagination/ListQualificationRequestsPaginator.ts +0 -59
- package/src/pagination/ListQualificationTypesPaginator.ts +0 -59
- package/src/pagination/ListReviewPolicyResultsForHITPaginator.ts +0 -59
- package/src/pagination/ListReviewableHITsPaginator.ts +0 -59
- package/src/pagination/ListWorkerBlocksPaginator.ts +0 -59
- package/src/pagination/ListWorkersWithQualificationTypePaginator.ts +0 -59
- package/src/protocols/Aws_json1_1.ts +0 -4803
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -48,124 +48,59 @@ import { UpdateQualificationTypeCommandInput, UpdateQualificationTypeCommandOutp
|
|
|
48
48
|
export declare type ServiceInputTypes = AcceptQualificationRequestCommandInput | ApproveAssignmentCommandInput | AssociateQualificationWithWorkerCommandInput | CreateAdditionalAssignmentsForHITCommandInput | CreateHITCommandInput | CreateHITTypeCommandInput | CreateHITWithHITTypeCommandInput | CreateQualificationTypeCommandInput | CreateWorkerBlockCommandInput | DeleteHITCommandInput | DeleteQualificationTypeCommandInput | DeleteWorkerBlockCommandInput | DisassociateQualificationFromWorkerCommandInput | GetAccountBalanceCommandInput | GetAssignmentCommandInput | GetFileUploadURLCommandInput | GetHITCommandInput | GetQualificationScoreCommandInput | GetQualificationTypeCommandInput | ListAssignmentsForHITCommandInput | ListBonusPaymentsCommandInput | ListHITsCommandInput | ListHITsForQualificationTypeCommandInput | ListQualificationRequestsCommandInput | ListQualificationTypesCommandInput | ListReviewPolicyResultsForHITCommandInput | ListReviewableHITsCommandInput | ListWorkerBlocksCommandInput | ListWorkersWithQualificationTypeCommandInput | NotifyWorkersCommandInput | RejectAssignmentCommandInput | RejectQualificationRequestCommandInput | SendBonusCommandInput | SendTestEventNotificationCommandInput | UpdateExpirationForHITCommandInput | UpdateHITReviewStatusCommandInput | UpdateHITTypeOfHITCommandInput | UpdateNotificationSettingsCommandInput | UpdateQualificationTypeCommandInput;
|
|
49
49
|
export declare type ServiceOutputTypes = AcceptQualificationRequestCommandOutput | ApproveAssignmentCommandOutput | AssociateQualificationWithWorkerCommandOutput | CreateAdditionalAssignmentsForHITCommandOutput | CreateHITCommandOutput | CreateHITTypeCommandOutput | CreateHITWithHITTypeCommandOutput | CreateQualificationTypeCommandOutput | CreateWorkerBlockCommandOutput | DeleteHITCommandOutput | DeleteQualificationTypeCommandOutput | DeleteWorkerBlockCommandOutput | DisassociateQualificationFromWorkerCommandOutput | GetAccountBalanceCommandOutput | GetAssignmentCommandOutput | GetFileUploadURLCommandOutput | GetHITCommandOutput | GetQualificationScoreCommandOutput | GetQualificationTypeCommandOutput | ListAssignmentsForHITCommandOutput | ListBonusPaymentsCommandOutput | ListHITsCommandOutput | ListHITsForQualificationTypeCommandOutput | ListQualificationRequestsCommandOutput | ListQualificationTypesCommandOutput | ListReviewPolicyResultsForHITCommandOutput | ListReviewableHITsCommandOutput | ListWorkerBlocksCommandOutput | ListWorkersWithQualificationTypeCommandOutput | NotifyWorkersCommandOutput | RejectAssignmentCommandOutput | RejectQualificationRequestCommandOutput | SendBonusCommandOutput | SendTestEventNotificationCommandOutput | UpdateExpirationForHITCommandOutput | UpdateHITReviewStatusCommandOutput | UpdateHITTypeOfHITCommandOutput | UpdateNotificationSettingsCommandOutput | UpdateQualificationTypeCommandOutput;
|
|
50
50
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
51
|
-
|
|
52
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
53
|
-
*/
|
|
51
|
+
|
|
54
52
|
requestHandler?: __HttpHandler;
|
|
55
|
-
|
|
56
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
57
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
53
|
+
|
|
60
54
|
sha256?: __HashConstructor;
|
|
61
|
-
|
|
62
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
55
|
+
|
|
65
56
|
urlParser?: __UrlParser;
|
|
66
|
-
|
|
67
|
-
* A function that can calculate the length of a request body.
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
57
|
+
|
|
70
58
|
bodyLengthChecker?: (body: any) => number | undefined;
|
|
71
|
-
|
|
72
|
-
* A function that converts a stream into an array of bytes.
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
59
|
+
|
|
75
60
|
streamCollector?: __StreamCollector;
|
|
76
|
-
|
|
77
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
78
|
-
* @internal
|
|
79
|
-
*/
|
|
61
|
+
|
|
80
62
|
base64Decoder?: __Decoder;
|
|
81
|
-
|
|
82
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
63
|
+
|
|
85
64
|
base64Encoder?: __Encoder;
|
|
86
|
-
|
|
87
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
65
|
+
|
|
90
66
|
utf8Decoder?: __Decoder;
|
|
91
|
-
|
|
92
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
67
|
+
|
|
95
68
|
utf8Encoder?: __Encoder;
|
|
96
|
-
|
|
97
|
-
* The runtime environment.
|
|
98
|
-
* @internal
|
|
99
|
-
*/
|
|
69
|
+
|
|
100
70
|
runtime?: string;
|
|
101
|
-
|
|
102
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
103
|
-
* trait of an operation.
|
|
104
|
-
*/
|
|
71
|
+
|
|
105
72
|
disableHostPrefix?: boolean;
|
|
106
|
-
|
|
107
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
108
|
-
*/
|
|
73
|
+
|
|
109
74
|
maxAttempts?: number | __Provider<number>;
|
|
110
|
-
|
|
111
|
-
* Specifies which retry algorithm to use.
|
|
112
|
-
*/
|
|
75
|
+
|
|
113
76
|
retryMode?: string | __Provider<string>;
|
|
114
|
-
|
|
115
|
-
* Optional logger for logging debug/info/warn/error.
|
|
116
|
-
*/
|
|
77
|
+
|
|
117
78
|
logger?: __Logger;
|
|
118
|
-
|
|
119
|
-
* Unique service identifier.
|
|
120
|
-
* @internal
|
|
121
|
-
*/
|
|
79
|
+
|
|
122
80
|
serviceId?: string;
|
|
123
|
-
|
|
124
|
-
* The AWS region to which this client will send requests
|
|
125
|
-
*/
|
|
81
|
+
|
|
126
82
|
region?: string | __Provider<string>;
|
|
127
|
-
|
|
128
|
-
* Default credentials provider; Not available in browser runtime.
|
|
129
|
-
* @internal
|
|
130
|
-
*/
|
|
83
|
+
|
|
131
84
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
132
|
-
|
|
133
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
134
|
-
* @internal
|
|
135
|
-
*/
|
|
85
|
+
|
|
136
86
|
regionInfoProvider?: RegionInfoProvider;
|
|
137
|
-
|
|
138
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
139
|
-
* @internal
|
|
140
|
-
*/
|
|
87
|
+
|
|
141
88
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
142
89
|
}
|
|
143
90
|
declare type MTurkClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
144
|
-
|
|
145
|
-
* The configuration interface of MTurkClient class constructor that set the region, credentials and other options.
|
|
146
|
-
*/
|
|
91
|
+
|
|
147
92
|
export interface MTurkClientConfig extends MTurkClientConfigType {
|
|
148
93
|
}
|
|
149
94
|
declare type MTurkClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
150
|
-
|
|
151
|
-
* The resolved configuration interface of MTurkClient class. This is resolved and normalized from the {@link MTurkClientConfig | constructor configuration interface}.
|
|
152
|
-
*/
|
|
95
|
+
|
|
153
96
|
export interface MTurkClientResolvedConfig extends MTurkClientResolvedConfigType {
|
|
154
97
|
}
|
|
155
|
-
|
|
156
|
-
* <fullname>Amazon Mechanical Turk API Reference</fullname>
|
|
157
|
-
*/
|
|
98
|
+
|
|
158
99
|
export declare class MTurkClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MTurkClientResolvedConfig> {
|
|
159
|
-
|
|
160
|
-
* The resolved configuration of MTurkClient class. This is resolved and normalized from the {@link MTurkClientConfig | constructor configuration interface}.
|
|
161
|
-
*/
|
|
100
|
+
|
|
162
101
|
readonly config: MTurkClientResolvedConfig;
|
|
163
102
|
constructor(configuration: MTurkClientConfig);
|
|
164
|
-
|
|
165
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
166
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
167
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
168
|
-
*/
|
|
103
|
+
|
|
169
104
|
destroy(): void;
|
|
170
105
|
}
|
|
171
106
|
export {};
|
|
@@ -6,38 +6,11 @@ export interface AcceptQualificationRequestCommandInput extends AcceptQualificat
|
|
|
6
6
|
}
|
|
7
7
|
export interface AcceptQualificationRequestCommandOutput extends AcceptQualificationRequestResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>
|
|
11
|
-
* The <code>AcceptQualificationRequest</code> operation approves a Worker's request for a Qualification.
|
|
12
|
-
* </p>
|
|
13
|
-
* <p>
|
|
14
|
-
* Only the owner of the Qualification type can grant a Qualification request for that type.
|
|
15
|
-
* </p>
|
|
16
|
-
* <p>
|
|
17
|
-
* A successful request for the <code>AcceptQualificationRequest</code> operation
|
|
18
|
-
* returns with no errors and an empty body.
|
|
19
|
-
* </p>
|
|
20
|
-
* @example
|
|
21
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
-
* ```javascript
|
|
23
|
-
* import { MTurkClient, AcceptQualificationRequestCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
24
|
-
* // const { MTurkClient, AcceptQualificationRequestCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
25
|
-
* const client = new MTurkClient(config);
|
|
26
|
-
* const command = new AcceptQualificationRequestCommand(input);
|
|
27
|
-
* const response = await client.send(command);
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* @see {@link AcceptQualificationRequestCommandInput} for command's `input` shape.
|
|
31
|
-
* @see {@link AcceptQualificationRequestCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
9
|
+
|
|
35
10
|
export declare class AcceptQualificationRequestCommand extends $Command<AcceptQualificationRequestCommandInput, AcceptQualificationRequestCommandOutput, MTurkClientResolvedConfig> {
|
|
36
11
|
readonly input: AcceptQualificationRequestCommandInput;
|
|
37
12
|
constructor(input: AcceptQualificationRequestCommandInput);
|
|
38
|
-
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
13
|
+
|
|
41
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AcceptQualificationRequestCommandInput, AcceptQualificationRequestCommandOutput>;
|
|
42
15
|
private serialize;
|
|
43
16
|
private deserialize;
|
|
@@ -6,58 +6,11 @@ export interface ApproveAssignmentCommandInput extends ApproveAssignmentRequest
|
|
|
6
6
|
}
|
|
7
7
|
export interface ApproveAssignmentCommandOutput extends ApproveAssignmentResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>
|
|
11
|
-
* The <code>ApproveAssignment</code> operation approves the results of a completed assignment.
|
|
12
|
-
* </p>
|
|
13
|
-
* <p>
|
|
14
|
-
* Approving an assignment initiates two payments from the Requester's Amazon.com account
|
|
15
|
-
* </p>
|
|
16
|
-
* <ul>
|
|
17
|
-
* <li>
|
|
18
|
-
* <p>
|
|
19
|
-
* The Worker who submitted the results is paid the reward specified in the HIT.
|
|
20
|
-
* </p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>
|
|
24
|
-
* Amazon Mechanical Turk fees are debited.
|
|
25
|
-
* </p>
|
|
26
|
-
* </li>
|
|
27
|
-
* </ul>
|
|
28
|
-
* <p>
|
|
29
|
-
* If the Requester's account does not have adequate funds for these payments,
|
|
30
|
-
* the call to ApproveAssignment returns an exception, and the approval is not processed.
|
|
31
|
-
* You can include an optional feedback message with the approval,
|
|
32
|
-
* which the Worker can see in the Status section of the web site.
|
|
33
|
-
* </p>
|
|
34
|
-
* <p>
|
|
35
|
-
* You can also call this operation for assignments that were previous rejected
|
|
36
|
-
* and approve them by explicitly overriding the previous rejection.
|
|
37
|
-
* This only works on rejected assignments that were submitted within the previous 30 days
|
|
38
|
-
* and only if the assignment's related HIT has not been deleted.
|
|
39
|
-
* </p>
|
|
40
|
-
* @example
|
|
41
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
42
|
-
* ```javascript
|
|
43
|
-
* import { MTurkClient, ApproveAssignmentCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
44
|
-
* // const { MTurkClient, ApproveAssignmentCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
45
|
-
* const client = new MTurkClient(config);
|
|
46
|
-
* const command = new ApproveAssignmentCommand(input);
|
|
47
|
-
* const response = await client.send(command);
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* @see {@link ApproveAssignmentCommandInput} for command's `input` shape.
|
|
51
|
-
* @see {@link ApproveAssignmentCommandOutput} for command's `response` shape.
|
|
52
|
-
* @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
|
|
53
|
-
*
|
|
54
|
-
*/
|
|
9
|
+
|
|
55
10
|
export declare class ApproveAssignmentCommand extends $Command<ApproveAssignmentCommandInput, ApproveAssignmentCommandOutput, MTurkClientResolvedConfig> {
|
|
56
11
|
readonly input: ApproveAssignmentCommandInput;
|
|
57
12
|
constructor(input: ApproveAssignmentCommandInput);
|
|
58
|
-
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
13
|
+
|
|
61
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ApproveAssignmentCommandInput, ApproveAssignmentCommandOutput>;
|
|
62
15
|
private serialize;
|
|
63
16
|
private deserialize;
|
|
@@ -6,49 +6,11 @@ export interface AssociateQualificationWithWorkerCommandInput extends AssociateQ
|
|
|
6
6
|
}
|
|
7
7
|
export interface AssociateQualificationWithWorkerCommandOutput extends AssociateQualificationWithWorkerResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>
|
|
11
|
-
* The <code>AssociateQualificationWithWorker</code> operation gives a Worker a
|
|
12
|
-
* Qualification. <code>AssociateQualificationWithWorker</code> does not require that the Worker
|
|
13
|
-
* submit a Qualification request. It gives the Qualification directly to the Worker.
|
|
14
|
-
* </p>
|
|
15
|
-
*
|
|
16
|
-
* <p>
|
|
17
|
-
* You can only assign a Qualification of a Qualification type that you created (using
|
|
18
|
-
* the <code>CreateQualificationType</code> operation).
|
|
19
|
-
* </p>
|
|
20
|
-
*
|
|
21
|
-
* <note>
|
|
22
|
-
* <p>
|
|
23
|
-
* Note: <code>AssociateQualificationWithWorker</code> does not affect any pending Qualification
|
|
24
|
-
* requests for the Qualification by the Worker. If you assign a Qualification to a
|
|
25
|
-
* Worker, then later grant a Qualification request made by the Worker, the granting of
|
|
26
|
-
* the request may modify the Qualification score. To resolve a pending Qualification
|
|
27
|
-
* request without affecting the Qualification the Worker already has, reject the
|
|
28
|
-
* request with the <code>RejectQualificationRequest</code> operation.
|
|
29
|
-
* </p>
|
|
30
|
-
* </note>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { MTurkClient, AssociateQualificationWithWorkerCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
35
|
-
* // const { MTurkClient, AssociateQualificationWithWorkerCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
36
|
-
* const client = new MTurkClient(config);
|
|
37
|
-
* const command = new AssociateQualificationWithWorkerCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link AssociateQualificationWithWorkerCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link AssociateQualificationWithWorkerCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
9
|
+
|
|
46
10
|
export declare class AssociateQualificationWithWorkerCommand extends $Command<AssociateQualificationWithWorkerCommandInput, AssociateQualificationWithWorkerCommandOutput, MTurkClientResolvedConfig> {
|
|
47
11
|
readonly input: AssociateQualificationWithWorkerCommandInput;
|
|
48
12
|
constructor(input: AssociateQualificationWithWorkerCommandInput);
|
|
49
|
-
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
13
|
+
|
|
52
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateQualificationWithWorkerCommandInput, AssociateQualificationWithWorkerCommandOutput>;
|
|
53
15
|
private serialize;
|
|
54
16
|
private deserialize;
|
|
@@ -6,51 +6,11 @@ export interface CreateAdditionalAssignmentsForHITCommandInput extends CreateAdd
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateAdditionalAssignmentsForHITCommandOutput extends CreateAdditionalAssignmentsForHITResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>
|
|
11
|
-
* The
|
|
12
|
-
* <code>CreateAdditionalAssignmentsForHIT</code>
|
|
13
|
-
* operation increases the maximum number of assignments of an existing HIT.
|
|
14
|
-
* </p>
|
|
15
|
-
* <p>
|
|
16
|
-
* To extend the maximum number of assignments, specify the number of additional assignments.</p>
|
|
17
|
-
* <note>
|
|
18
|
-
* <ul>
|
|
19
|
-
* <li>
|
|
20
|
-
* <p>HITs created with fewer than 10 assignments cannot be extended to have 10 or more assignments. Attempting to add assignments in a way that brings the total number of assignments for a HIT from fewer than 10 assignments to 10 or more
|
|
21
|
-
* assignments will result in an
|
|
22
|
-
* <code>AWS.MechanicalTurk.InvalidMaximumAssignmentsIncrease</code>
|
|
23
|
-
* exception.</p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>HITs that were created before July 22, 2015 cannot be extended. Attempting to extend HITs that were created before July 22, 2015 will result in an
|
|
27
|
-
* <code>AWS.MechanicalTurk.HITTooOldForExtension</code>
|
|
28
|
-
* exception.
|
|
29
|
-
* </p>
|
|
30
|
-
* </li>
|
|
31
|
-
* </ul>
|
|
32
|
-
* </note>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { MTurkClient, CreateAdditionalAssignmentsForHITCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
37
|
-
* // const { MTurkClient, CreateAdditionalAssignmentsForHITCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
38
|
-
* const client = new MTurkClient(config);
|
|
39
|
-
* const command = new CreateAdditionalAssignmentsForHITCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link CreateAdditionalAssignmentsForHITCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link CreateAdditionalAssignmentsForHITCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
9
|
+
|
|
48
10
|
export declare class CreateAdditionalAssignmentsForHITCommand extends $Command<CreateAdditionalAssignmentsForHITCommandInput, CreateAdditionalAssignmentsForHITCommandOutput, MTurkClientResolvedConfig> {
|
|
49
11
|
readonly input: CreateAdditionalAssignmentsForHITCommandInput;
|
|
50
12
|
constructor(input: CreateAdditionalAssignmentsForHITCommandInput);
|
|
51
|
-
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
13
|
+
|
|
54
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAdditionalAssignmentsForHITCommandInput, CreateAdditionalAssignmentsForHITCommandOutput>;
|
|
55
15
|
private serialize;
|
|
56
16
|
private deserialize;
|
|
@@ -6,45 +6,11 @@ export interface CreateHITCommandInput extends CreateHITRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateHITCommandOutput extends CreateHITResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>The <code>CreateHIT</code> operation creates a new Human Intelligence Task (HIT).
|
|
11
|
-
* The new HIT is made available for Workers to find and accept on the Amazon Mechanical
|
|
12
|
-
* Turk website. </p>
|
|
13
|
-
* <p>
|
|
14
|
-
* This operation allows you to specify a new HIT by passing in values for the properties of the HIT, such as its title, reward amount and number of assignments. When you pass these values to <code>CreateHIT</code>, a new HIT is created for you, with a new <code>HITTypeID</code>. The HITTypeID can be used to create additional HITs in the future without needing to specify common parameters such as the title, description and reward amount each time.</p>
|
|
15
|
-
* <p> An alternative way to create HITs is to first generate a HITTypeID using the <code>CreateHITType</code> operation and then call the <code>CreateHITWithHITType</code> operation. This is the recommended best practice for Requesters who are creating large numbers of HITs.
|
|
16
|
-
* </p>
|
|
17
|
-
*
|
|
18
|
-
* <p>CreateHIT also supports several ways to provide question data: by providing a value
|
|
19
|
-
* for the <code>Question</code> parameter that fully specifies the contents of the HIT, or by providing
|
|
20
|
-
* a <code>HitLayoutId</code> and associated <code>HitLayoutParameters</code>.
|
|
21
|
-
* </p>
|
|
22
|
-
*
|
|
23
|
-
* <note>
|
|
24
|
-
* <p> If a HIT is created with 10 or more maximum assignments, there is an additional fee. For more information, see
|
|
25
|
-
* <a href="https://requester.mturk.com/pricing">Amazon Mechanical Turk Pricing</a>.</p>
|
|
26
|
-
* </note>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { MTurkClient, CreateHITCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
31
|
-
* // const { MTurkClient, CreateHITCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
32
|
-
* const client = new MTurkClient(config);
|
|
33
|
-
* const command = new CreateHITCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link CreateHITCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link CreateHITCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
9
|
+
|
|
42
10
|
export declare class CreateHITCommand extends $Command<CreateHITCommandInput, CreateHITCommandOutput, MTurkClientResolvedConfig> {
|
|
43
11
|
readonly input: CreateHITCommandInput;
|
|
44
12
|
constructor(input: CreateHITCommandInput);
|
|
45
|
-
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
13
|
+
|
|
48
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateHITCommandInput, CreateHITCommandOutput>;
|
|
49
15
|
private serialize;
|
|
50
16
|
private deserialize;
|
|
@@ -6,34 +6,11 @@ export interface CreateHITTypeCommandInput extends CreateHITTypeRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateHITTypeCommandOutput extends CreateHITTypeResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>
|
|
11
|
-
* The <code>CreateHITType</code> operation creates a new HIT type. This operation
|
|
12
|
-
* allows you to define a standard set of HIT properties to use when creating HITs.
|
|
13
|
-
* If you register a HIT type with values that match an existing HIT type, the HIT type
|
|
14
|
-
* ID of the existing type will be returned.
|
|
15
|
-
* </p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { MTurkClient, CreateHITTypeCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
20
|
-
* // const { MTurkClient, CreateHITTypeCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
21
|
-
* const client = new MTurkClient(config);
|
|
22
|
-
* const command = new CreateHITTypeCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link CreateHITTypeCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link CreateHITTypeCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
9
|
+
|
|
31
10
|
export declare class CreateHITTypeCommand extends $Command<CreateHITTypeCommandInput, CreateHITTypeCommandOutput, MTurkClientResolvedConfig> {
|
|
32
11
|
readonly input: CreateHITTypeCommandInput;
|
|
33
12
|
constructor(input: CreateHITTypeCommandInput);
|
|
34
|
-
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
13
|
+
|
|
37
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateHITTypeCommandInput, CreateHITTypeCommandOutput>;
|
|
38
15
|
private serialize;
|
|
39
16
|
private deserialize;
|
|
@@ -6,46 +6,11 @@ export interface CreateHITWithHITTypeCommandInput extends CreateHITWithHITTypeRe
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateHITWithHITTypeCommandOutput extends CreateHITWithHITTypeResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>
|
|
11
|
-
* The <code>CreateHITWithHITType</code> operation creates a new Human Intelligence Task (HIT)
|
|
12
|
-
* using an existing HITTypeID generated by the <code>CreateHITType</code> operation.
|
|
13
|
-
* </p>
|
|
14
|
-
* <p>
|
|
15
|
-
* This is an alternative way to create HITs from the <code>CreateHIT</code> operation.
|
|
16
|
-
* This is the recommended best practice for Requesters who are creating large numbers of HITs.
|
|
17
|
-
* </p>
|
|
18
|
-
* <p>CreateHITWithHITType also supports several ways to provide question data:
|
|
19
|
-
* by providing a value for the <code>Question</code> parameter that fully specifies the contents of the HIT,
|
|
20
|
-
* or by providing a <code>HitLayoutId</code> and associated <code>HitLayoutParameters</code>.
|
|
21
|
-
* </p>
|
|
22
|
-
* <note>
|
|
23
|
-
* <p>
|
|
24
|
-
* If a HIT is created with 10 or more maximum assignments, there is an additional fee.
|
|
25
|
-
* For more information, see <a href="https://requester.mturk.com/pricing">Amazon Mechanical Turk Pricing</a>.
|
|
26
|
-
* </p>
|
|
27
|
-
* </note>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { MTurkClient, CreateHITWithHITTypeCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
32
|
-
* // const { MTurkClient, CreateHITWithHITTypeCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
33
|
-
* const client = new MTurkClient(config);
|
|
34
|
-
* const command = new CreateHITWithHITTypeCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link CreateHITWithHITTypeCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link CreateHITWithHITTypeCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
9
|
+
|
|
43
10
|
export declare class CreateHITWithHITTypeCommand extends $Command<CreateHITWithHITTypeCommandInput, CreateHITWithHITTypeCommandOutput, MTurkClientResolvedConfig> {
|
|
44
11
|
readonly input: CreateHITWithHITTypeCommandInput;
|
|
45
12
|
constructor(input: CreateHITWithHITTypeCommandInput);
|
|
46
|
-
|
|
47
|
-
* @internal
|
|
48
|
-
*/
|
|
13
|
+
|
|
49
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateHITWithHITTypeCommandInput, CreateHITWithHITTypeCommandOutput>;
|
|
50
15
|
private serialize;
|
|
51
16
|
private deserialize;
|
|
@@ -6,35 +6,11 @@ export interface CreateQualificationTypeCommandInput extends CreateQualification
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateQualificationTypeCommandOutput extends CreateQualificationTypeResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>
|
|
11
|
-
* The
|
|
12
|
-
* <code>CreateQualificationType</code>
|
|
13
|
-
* operation creates a new Qualification type, which is represented by a
|
|
14
|
-
* <code>QualificationType</code>
|
|
15
|
-
* data structure.
|
|
16
|
-
* </p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { MTurkClient, CreateQualificationTypeCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
21
|
-
* // const { MTurkClient, CreateQualificationTypeCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
22
|
-
* const client = new MTurkClient(config);
|
|
23
|
-
* const command = new CreateQualificationTypeCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link CreateQualificationTypeCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link CreateQualificationTypeCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
9
|
+
|
|
32
10
|
export declare class CreateQualificationTypeCommand extends $Command<CreateQualificationTypeCommandInput, CreateQualificationTypeCommandOutput, MTurkClientResolvedConfig> {
|
|
33
11
|
readonly input: CreateQualificationTypeCommandInput;
|
|
34
12
|
constructor(input: CreateQualificationTypeCommandInput);
|
|
35
|
-
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
13
|
+
|
|
38
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateQualificationTypeCommandInput, CreateQualificationTypeCommandOutput>;
|
|
39
15
|
private serialize;
|
|
40
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface CreateWorkerBlockCommandInput extends CreateWorkerBlockRequest
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateWorkerBlockCommandOutput extends CreateWorkerBlockResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>The <code>CreateWorkerBlock</code> operation allows you to prevent a Worker from working on your HITs. For example, you can block a Worker who is producing poor quality work. You can block up to 100,000 Workers.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { MTurkClient, CreateWorkerBlockCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
15
|
-
* // const { MTurkClient, CreateWorkerBlockCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
16
|
-
* const client = new MTurkClient(config);
|
|
17
|
-
* const command = new CreateWorkerBlockCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateWorkerBlockCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateWorkerBlockCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class CreateWorkerBlockCommand extends $Command<CreateWorkerBlockCommandInput, CreateWorkerBlockCommandOutput, MTurkClientResolvedConfig> {
|
|
27
11
|
readonly input: CreateWorkerBlockCommandInput;
|
|
28
12
|
constructor(input: CreateWorkerBlockCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateWorkerBlockCommandInput, CreateWorkerBlockCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,64 +6,11 @@ export interface DeleteHITCommandInput extends DeleteHITRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteHITCommandOutput extends DeleteHITResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>
|
|
11
|
-
* The <code>DeleteHIT</code> operation is used to delete HIT that is no longer needed.
|
|
12
|
-
* Only the Requester who created the HIT can delete it.
|
|
13
|
-
* </p>
|
|
14
|
-
* <p>
|
|
15
|
-
* You can only dispose of HITs that are in the <code>Reviewable</code> state,
|
|
16
|
-
* with all of their submitted assignments already either approved or rejected.
|
|
17
|
-
* If you call the DeleteHIT operation on a HIT that is not in the <code>Reviewable</code> state
|
|
18
|
-
* (for example, that has not expired, or still has active assignments),
|
|
19
|
-
* or on a HIT that is Reviewable but without all of its submitted assignments
|
|
20
|
-
* already approved or rejected, the service will return an error.
|
|
21
|
-
* </p>
|
|
22
|
-
* <note>
|
|
23
|
-
* <ul>
|
|
24
|
-
* <li>
|
|
25
|
-
* <p>
|
|
26
|
-
* HITs are automatically disposed of after 120 days.
|
|
27
|
-
* </p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>
|
|
31
|
-
* After you dispose of a HIT, you can no longer approve the HIT's rejected assignments.
|
|
32
|
-
* </p>
|
|
33
|
-
* </li>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>
|
|
36
|
-
* Disposed HITs are not returned in results for the ListHITs operation.
|
|
37
|
-
* </p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>
|
|
41
|
-
* Disposing HITs can improve the performance of operations such as ListReviewableHITs and ListHITs.
|
|
42
|
-
* </p>
|
|
43
|
-
* </li>
|
|
44
|
-
* </ul>
|
|
45
|
-
* </note>
|
|
46
|
-
* @example
|
|
47
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
48
|
-
* ```javascript
|
|
49
|
-
* import { MTurkClient, DeleteHITCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
50
|
-
* // const { MTurkClient, DeleteHITCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
51
|
-
* const client = new MTurkClient(config);
|
|
52
|
-
* const command = new DeleteHITCommand(input);
|
|
53
|
-
* const response = await client.send(command);
|
|
54
|
-
* ```
|
|
55
|
-
*
|
|
56
|
-
* @see {@link DeleteHITCommandInput} for command's `input` shape.
|
|
57
|
-
* @see {@link DeleteHITCommandOutput} for command's `response` shape.
|
|
58
|
-
* @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
9
|
+
|
|
61
10
|
export declare class DeleteHITCommand extends $Command<DeleteHITCommandInput, DeleteHITCommandOutput, MTurkClientResolvedConfig> {
|
|
62
11
|
readonly input: DeleteHITCommandInput;
|
|
63
12
|
constructor(input: DeleteHITCommandInput);
|
|
64
|
-
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
13
|
+
|
|
67
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteHITCommandInput, DeleteHITCommandOutput>;
|
|
68
15
|
private serialize;
|
|
69
16
|
private deserialize;
|