@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
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { UpdateQualificationTypeRequest, UpdateQualificationTypeResponse } from "../models/models_0";
|
|
15
|
-
import { MTurkClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MTurkClient";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1UpdateQualificationTypeCommand,
|
|
18
|
-
serializeAws_json1_1UpdateQualificationTypeCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateQualificationTypeCommandInput extends UpdateQualificationTypeRequest {}
|
|
22
|
-
export interface UpdateQualificationTypeCommandOutput extends UpdateQualificationTypeResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>
|
|
26
|
-
* The
|
|
27
|
-
* <code>UpdateQualificationType</code>
|
|
28
|
-
* operation modifies the attributes of an existing Qualification type,
|
|
29
|
-
* which is represented by a QualificationType data structure. Only the
|
|
30
|
-
* owner of a Qualification type can modify its attributes.
|
|
31
|
-
* </p>
|
|
32
|
-
* <p> Most attributes of a Qualification type can be changed after
|
|
33
|
-
* the type has been created. However, the Name and Keywords fields
|
|
34
|
-
* cannot be modified. The RetryDelayInSeconds parameter can be modified
|
|
35
|
-
* or added to change the delay or to enable retries, but
|
|
36
|
-
* RetryDelayInSeconds cannot be used to disable retries. </p>
|
|
37
|
-
* <p> You can use this operation to update the test for a
|
|
38
|
-
* Qualification type. The test is updated based on the values specified
|
|
39
|
-
* for the Test, TestDurationInSeconds and AnswerKey parameters. All
|
|
40
|
-
* three parameters specify the updated test. If you are updating the
|
|
41
|
-
* test for a type, you must specify the Test and TestDurationInSeconds
|
|
42
|
-
* parameters. The AnswerKey parameter is optional; omitting it specifies
|
|
43
|
-
* that the updated test does not have an answer key. </p>
|
|
44
|
-
* <p> If you omit the Test parameter, the test for the
|
|
45
|
-
* Qualification type is unchanged. There is no way to remove a test from
|
|
46
|
-
* a Qualification type that has one. If the type already has a test, you
|
|
47
|
-
* cannot update it to be AutoGranted. If the Qualification type does not
|
|
48
|
-
* have a test and one is provided by an update, the type will henceforth
|
|
49
|
-
* have a test. </p>
|
|
50
|
-
* <p> If you want to update the test duration or answer key for an
|
|
51
|
-
* existing test without changing the questions, you must specify a Test
|
|
52
|
-
* parameter with the original questions, along with the updated values. </p>
|
|
53
|
-
* <p> If you provide an updated Test but no AnswerKey, the new test
|
|
54
|
-
* will not have an answer key. Requests for such Qualifications must be
|
|
55
|
-
* granted manually. </p>
|
|
56
|
-
* <p> You can also update the AutoGranted and AutoGrantedValue
|
|
57
|
-
* attributes of the Qualification type.</p>
|
|
58
|
-
* @example
|
|
59
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
60
|
-
* ```javascript
|
|
61
|
-
* import { MTurkClient, UpdateQualificationTypeCommand } from "@aws-sdk/client-mturk"; // ES Modules import
|
|
62
|
-
* // const { MTurkClient, UpdateQualificationTypeCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
|
|
63
|
-
* const client = new MTurkClient(config);
|
|
64
|
-
* const command = new UpdateQualificationTypeCommand(input);
|
|
65
|
-
* const response = await client.send(command);
|
|
66
|
-
* ```
|
|
67
|
-
*
|
|
68
|
-
* @see {@link UpdateQualificationTypeCommandInput} for command's `input` shape.
|
|
69
|
-
* @see {@link UpdateQualificationTypeCommandOutput} for command's `response` shape.
|
|
70
|
-
* @see {@link MTurkClientResolvedConfig | config} for command's `input` shape.
|
|
71
|
-
*
|
|
72
|
-
*/
|
|
73
|
-
export class UpdateQualificationTypeCommand extends $Command<
|
|
74
|
-
UpdateQualificationTypeCommandInput,
|
|
75
|
-
UpdateQualificationTypeCommandOutput,
|
|
76
|
-
MTurkClientResolvedConfig
|
|
77
|
-
> {
|
|
78
|
-
// Start section: command_properties
|
|
79
|
-
// End section: command_properties
|
|
80
|
-
|
|
81
|
-
constructor(readonly input: UpdateQualificationTypeCommandInput) {
|
|
82
|
-
// Start section: command_constructor
|
|
83
|
-
super();
|
|
84
|
-
// End section: command_constructor
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
|
-
resolveMiddleware(
|
|
91
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
92
|
-
configuration: MTurkClientResolvedConfig,
|
|
93
|
-
options?: __HttpHandlerOptions
|
|
94
|
-
): Handler<UpdateQualificationTypeCommandInput, UpdateQualificationTypeCommandOutput> {
|
|
95
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
96
|
-
|
|
97
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
98
|
-
|
|
99
|
-
const { logger } = configuration;
|
|
100
|
-
const clientName = "MTurkClient";
|
|
101
|
-
const commandName = "UpdateQualificationTypeCommand";
|
|
102
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
103
|
-
logger,
|
|
104
|
-
clientName,
|
|
105
|
-
commandName,
|
|
106
|
-
inputFilterSensitiveLog: UpdateQualificationTypeRequest.filterSensitiveLog,
|
|
107
|
-
outputFilterSensitiveLog: UpdateQualificationTypeResponse.filterSensitiveLog,
|
|
108
|
-
};
|
|
109
|
-
const { requestHandler } = configuration;
|
|
110
|
-
return stack.resolve(
|
|
111
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
112
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
113
|
-
handlerExecutionContext
|
|
114
|
-
);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
private serialize(input: UpdateQualificationTypeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
118
|
-
return serializeAws_json1_1UpdateQualificationTypeCommand(input, context);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateQualificationTypeCommandOutput> {
|
|
122
|
-
return deserializeAws_json1_1UpdateQualificationTypeCommand(output, context);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
// Start section: command_body_extra
|
|
126
|
-
// End section: command_body_extra
|
|
127
|
-
}
|
package/src/endpoints.ts
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
|
|
2
|
-
import { RegionInfoProvider } from "@aws-sdk/types";
|
|
3
|
-
|
|
4
|
-
const regionHash: RegionHash = {
|
|
5
|
-
sandbox: {
|
|
6
|
-
hostname: "mturk-requester-sandbox.us-east-1.amazonaws.com",
|
|
7
|
-
},
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
const partitionHash: PartitionHash = {
|
|
11
|
-
aws: {
|
|
12
|
-
regions: [
|
|
13
|
-
"af-south-1",
|
|
14
|
-
"ap-east-1",
|
|
15
|
-
"ap-northeast-1",
|
|
16
|
-
"ap-northeast-2",
|
|
17
|
-
"ap-northeast-3",
|
|
18
|
-
"ap-south-1",
|
|
19
|
-
"ap-southeast-1",
|
|
20
|
-
"ap-southeast-2",
|
|
21
|
-
"ca-central-1",
|
|
22
|
-
"eu-central-1",
|
|
23
|
-
"eu-north-1",
|
|
24
|
-
"eu-south-1",
|
|
25
|
-
"eu-west-1",
|
|
26
|
-
"eu-west-2",
|
|
27
|
-
"eu-west-3",
|
|
28
|
-
"me-south-1",
|
|
29
|
-
"sa-east-1",
|
|
30
|
-
"sandbox",
|
|
31
|
-
"us-east-1",
|
|
32
|
-
"us-east-2",
|
|
33
|
-
"us-west-1",
|
|
34
|
-
"us-west-2",
|
|
35
|
-
],
|
|
36
|
-
hostname: "mturk-requester.{region}.amazonaws.com",
|
|
37
|
-
},
|
|
38
|
-
"aws-cn": {
|
|
39
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
40
|
-
hostname: "mturk-requester.{region}.amazonaws.com.cn",
|
|
41
|
-
},
|
|
42
|
-
"aws-iso": {
|
|
43
|
-
regions: ["us-iso-east-1"],
|
|
44
|
-
hostname: "mturk-requester.{region}.c2s.ic.gov",
|
|
45
|
-
},
|
|
46
|
-
"aws-iso-b": {
|
|
47
|
-
regions: ["us-isob-east-1"],
|
|
48
|
-
hostname: "mturk-requester.{region}.sc2s.sgov.gov",
|
|
49
|
-
},
|
|
50
|
-
"aws-us-gov": {
|
|
51
|
-
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
52
|
-
hostname: "mturk-requester.{region}.amazonaws.com",
|
|
53
|
-
},
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
|
|
57
|
-
getRegionInfo(region, {
|
|
58
|
-
...options,
|
|
59
|
-
signingService: "mturk-requester",
|
|
60
|
-
regionHash,
|
|
61
|
-
partitionHash,
|
|
62
|
-
});
|
package/src/index.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
export * from "./MTurkClient";
|
|
2
|
-
export * from "./MTurk";
|
|
3
|
-
export * from "./commands/AcceptQualificationRequestCommand";
|
|
4
|
-
export * from "./commands/ApproveAssignmentCommand";
|
|
5
|
-
export * from "./commands/AssociateQualificationWithWorkerCommand";
|
|
6
|
-
export * from "./commands/CreateAdditionalAssignmentsForHITCommand";
|
|
7
|
-
export * from "./commands/CreateHITCommand";
|
|
8
|
-
export * from "./commands/CreateHITTypeCommand";
|
|
9
|
-
export * from "./commands/CreateHITWithHITTypeCommand";
|
|
10
|
-
export * from "./commands/CreateQualificationTypeCommand";
|
|
11
|
-
export * from "./commands/CreateWorkerBlockCommand";
|
|
12
|
-
export * from "./commands/DeleteHITCommand";
|
|
13
|
-
export * from "./commands/DeleteQualificationTypeCommand";
|
|
14
|
-
export * from "./commands/DeleteWorkerBlockCommand";
|
|
15
|
-
export * from "./commands/DisassociateQualificationFromWorkerCommand";
|
|
16
|
-
export * from "./commands/GetAccountBalanceCommand";
|
|
17
|
-
export * from "./commands/GetAssignmentCommand";
|
|
18
|
-
export * from "./commands/GetFileUploadURLCommand";
|
|
19
|
-
export * from "./commands/GetHITCommand";
|
|
20
|
-
export * from "./commands/GetQualificationScoreCommand";
|
|
21
|
-
export * from "./commands/GetQualificationTypeCommand";
|
|
22
|
-
export * from "./commands/ListAssignmentsForHITCommand";
|
|
23
|
-
export * from "./pagination/ListAssignmentsForHITPaginator";
|
|
24
|
-
export * from "./commands/ListBonusPaymentsCommand";
|
|
25
|
-
export * from "./pagination/ListBonusPaymentsPaginator";
|
|
26
|
-
export * from "./commands/ListHITsCommand";
|
|
27
|
-
export * from "./pagination/ListHITsPaginator";
|
|
28
|
-
export * from "./commands/ListHITsForQualificationTypeCommand";
|
|
29
|
-
export * from "./pagination/ListHITsForQualificationTypePaginator";
|
|
30
|
-
export * from "./commands/ListQualificationRequestsCommand";
|
|
31
|
-
export * from "./pagination/ListQualificationRequestsPaginator";
|
|
32
|
-
export * from "./commands/ListQualificationTypesCommand";
|
|
33
|
-
export * from "./pagination/ListQualificationTypesPaginator";
|
|
34
|
-
export * from "./commands/ListReviewableHITsCommand";
|
|
35
|
-
export * from "./pagination/ListReviewableHITsPaginator";
|
|
36
|
-
export * from "./commands/ListReviewPolicyResultsForHITCommand";
|
|
37
|
-
export * from "./pagination/ListReviewPolicyResultsForHITPaginator";
|
|
38
|
-
export * from "./commands/ListWorkerBlocksCommand";
|
|
39
|
-
export * from "./pagination/ListWorkerBlocksPaginator";
|
|
40
|
-
export * from "./commands/ListWorkersWithQualificationTypeCommand";
|
|
41
|
-
export * from "./pagination/ListWorkersWithQualificationTypePaginator";
|
|
42
|
-
export * from "./commands/NotifyWorkersCommand";
|
|
43
|
-
export * from "./commands/RejectAssignmentCommand";
|
|
44
|
-
export * from "./commands/RejectQualificationRequestCommand";
|
|
45
|
-
export * from "./commands/SendBonusCommand";
|
|
46
|
-
export * from "./commands/SendTestEventNotificationCommand";
|
|
47
|
-
export * from "./commands/UpdateExpirationForHITCommand";
|
|
48
|
-
export * from "./commands/UpdateHITReviewStatusCommand";
|
|
49
|
-
export * from "./commands/UpdateHITTypeOfHITCommand";
|
|
50
|
-
export * from "./commands/UpdateNotificationSettingsCommand";
|
|
51
|
-
export * from "./commands/UpdateQualificationTypeCommand";
|
|
52
|
-
export * from "./pagination/Interfaces";
|
|
53
|
-
export * from "./models/index";
|
package/src/models/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|