@aws-sdk/client-mturk 3.362.0 → 3.369.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/dist-cjs/MTurk.js +1 -1
- package/dist-cjs/MTurkClient.js +5 -5
- package/dist-cjs/commands/AcceptQualificationRequestCommand.js +3 -3
- package/dist-cjs/commands/ApproveAssignmentCommand.js +3 -3
- package/dist-cjs/commands/AssociateQualificationWithWorkerCommand.js +3 -3
- package/dist-cjs/commands/CreateAdditionalAssignmentsForHITCommand.js +3 -3
- package/dist-cjs/commands/CreateHITCommand.js +3 -3
- package/dist-cjs/commands/CreateHITTypeCommand.js +3 -3
- package/dist-cjs/commands/CreateHITWithHITTypeCommand.js +3 -3
- package/dist-cjs/commands/CreateQualificationTypeCommand.js +3 -3
- package/dist-cjs/commands/CreateWorkerBlockCommand.js +3 -3
- package/dist-cjs/commands/DeleteHITCommand.js +3 -3
- package/dist-cjs/commands/DeleteQualificationTypeCommand.js +3 -3
- package/dist-cjs/commands/DeleteWorkerBlockCommand.js +3 -3
- package/dist-cjs/commands/DisassociateQualificationFromWorkerCommand.js +3 -3
- package/dist-cjs/commands/GetAccountBalanceCommand.js +3 -3
- package/dist-cjs/commands/GetAssignmentCommand.js +3 -3
- package/dist-cjs/commands/GetFileUploadURLCommand.js +3 -3
- package/dist-cjs/commands/GetHITCommand.js +3 -3
- package/dist-cjs/commands/GetQualificationScoreCommand.js +3 -3
- package/dist-cjs/commands/GetQualificationTypeCommand.js +3 -3
- package/dist-cjs/commands/ListAssignmentsForHITCommand.js +3 -3
- package/dist-cjs/commands/ListBonusPaymentsCommand.js +3 -3
- package/dist-cjs/commands/ListHITsCommand.js +3 -3
- package/dist-cjs/commands/ListHITsForQualificationTypeCommand.js +3 -3
- package/dist-cjs/commands/ListQualificationRequestsCommand.js +3 -3
- package/dist-cjs/commands/ListQualificationTypesCommand.js +3 -3
- package/dist-cjs/commands/ListReviewPolicyResultsForHITCommand.js +3 -3
- package/dist-cjs/commands/ListReviewableHITsCommand.js +3 -3
- package/dist-cjs/commands/ListWorkerBlocksCommand.js +3 -3
- package/dist-cjs/commands/ListWorkersWithQualificationTypeCommand.js +3 -3
- package/dist-cjs/commands/NotifyWorkersCommand.js +3 -3
- package/dist-cjs/commands/RejectAssignmentCommand.js +3 -3
- package/dist-cjs/commands/RejectQualificationRequestCommand.js +3 -3
- package/dist-cjs/commands/SendBonusCommand.js +3 -3
- package/dist-cjs/commands/SendTestEventNotificationCommand.js +3 -3
- package/dist-cjs/commands/UpdateExpirationForHITCommand.js +3 -3
- package/dist-cjs/commands/UpdateHITReviewStatusCommand.js +3 -3
- package/dist-cjs/commands/UpdateHITTypeOfHITCommand.js +3 -3
- package/dist-cjs/commands/UpdateNotificationSettingsCommand.js +3 -3
- package/dist-cjs/commands/UpdateQualificationTypeCommand.js +3 -3
- package/dist-cjs/models/MTurkServiceException.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +1 -1
- package/dist-cjs/runtimeConfig.browser.js +7 -7
- package/dist-cjs/runtimeConfig.js +10 -10
- package/dist-cjs/runtimeConfig.shared.js +4 -4
- package/dist-es/MTurk.js +1 -1
- package/dist-es/MTurkClient.js +5 -5
- package/dist-es/commands/AcceptQualificationRequestCommand.js +3 -3
- package/dist-es/commands/ApproveAssignmentCommand.js +3 -3
- package/dist-es/commands/AssociateQualificationWithWorkerCommand.js +3 -3
- package/dist-es/commands/CreateAdditionalAssignmentsForHITCommand.js +3 -3
- package/dist-es/commands/CreateHITCommand.js +3 -3
- package/dist-es/commands/CreateHITTypeCommand.js +3 -3
- package/dist-es/commands/CreateHITWithHITTypeCommand.js +3 -3
- package/dist-es/commands/CreateQualificationTypeCommand.js +3 -3
- package/dist-es/commands/CreateWorkerBlockCommand.js +3 -3
- package/dist-es/commands/DeleteHITCommand.js +3 -3
- package/dist-es/commands/DeleteQualificationTypeCommand.js +3 -3
- package/dist-es/commands/DeleteWorkerBlockCommand.js +3 -3
- package/dist-es/commands/DisassociateQualificationFromWorkerCommand.js +3 -3
- package/dist-es/commands/GetAccountBalanceCommand.js +3 -3
- package/dist-es/commands/GetAssignmentCommand.js +3 -3
- package/dist-es/commands/GetFileUploadURLCommand.js +3 -3
- package/dist-es/commands/GetHITCommand.js +3 -3
- package/dist-es/commands/GetQualificationScoreCommand.js +3 -3
- package/dist-es/commands/GetQualificationTypeCommand.js +3 -3
- package/dist-es/commands/ListAssignmentsForHITCommand.js +3 -3
- package/dist-es/commands/ListBonusPaymentsCommand.js +3 -3
- package/dist-es/commands/ListHITsCommand.js +3 -3
- package/dist-es/commands/ListHITsForQualificationTypeCommand.js +3 -3
- package/dist-es/commands/ListQualificationRequestsCommand.js +3 -3
- package/dist-es/commands/ListQualificationTypesCommand.js +3 -3
- package/dist-es/commands/ListReviewPolicyResultsForHITCommand.js +3 -3
- package/dist-es/commands/ListReviewableHITsCommand.js +3 -3
- package/dist-es/commands/ListWorkerBlocksCommand.js +3 -3
- package/dist-es/commands/ListWorkersWithQualificationTypeCommand.js +3 -3
- package/dist-es/commands/NotifyWorkersCommand.js +3 -3
- package/dist-es/commands/RejectAssignmentCommand.js +3 -3
- package/dist-es/commands/RejectQualificationRequestCommand.js +3 -3
- package/dist-es/commands/SendBonusCommand.js +3 -3
- package/dist-es/commands/SendTestEventNotificationCommand.js +3 -3
- package/dist-es/commands/UpdateExpirationForHITCommand.js +3 -3
- package/dist-es/commands/UpdateHITReviewStatusCommand.js +3 -3
- package/dist-es/commands/UpdateHITTypeOfHITCommand.js +3 -3
- package/dist-es/commands/UpdateNotificationSettingsCommand.js +3 -3
- package/dist-es/commands/UpdateQualificationTypeCommand.js +3 -3
- package/dist-es/models/MTurkServiceException.js +1 -1
- package/dist-es/protocols/Aws_json1_1.js +1 -1
- package/dist-es/runtimeConfig.browser.js +7 -7
- package/dist-es/runtimeConfig.js +10 -10
- package/dist-es/runtimeConfig.shared.js +4 -4
- package/dist-types/MTurk.d.ts +1 -1
- package/dist-types/MTurkClient.d.ts +8 -8
- package/dist-types/commands/AcceptQualificationRequestCommand.d.ts +3 -3
- package/dist-types/commands/ApproveAssignmentCommand.d.ts +3 -3
- package/dist-types/commands/AssociateQualificationWithWorkerCommand.d.ts +3 -3
- package/dist-types/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +3 -3
- package/dist-types/commands/CreateHITCommand.d.ts +3 -3
- package/dist-types/commands/CreateHITTypeCommand.d.ts +3 -3
- package/dist-types/commands/CreateHITWithHITTypeCommand.d.ts +3 -3
- package/dist-types/commands/CreateQualificationTypeCommand.d.ts +3 -3
- package/dist-types/commands/CreateWorkerBlockCommand.d.ts +3 -3
- package/dist-types/commands/DeleteHITCommand.d.ts +3 -3
- package/dist-types/commands/DeleteQualificationTypeCommand.d.ts +3 -3
- package/dist-types/commands/DeleteWorkerBlockCommand.d.ts +3 -3
- package/dist-types/commands/DisassociateQualificationFromWorkerCommand.d.ts +3 -3
- package/dist-types/commands/GetAccountBalanceCommand.d.ts +3 -3
- package/dist-types/commands/GetAssignmentCommand.d.ts +3 -3
- package/dist-types/commands/GetFileUploadURLCommand.d.ts +3 -3
- package/dist-types/commands/GetHITCommand.d.ts +3 -3
- package/dist-types/commands/GetQualificationScoreCommand.d.ts +3 -3
- package/dist-types/commands/GetQualificationTypeCommand.d.ts +3 -3
- package/dist-types/commands/ListAssignmentsForHITCommand.d.ts +3 -3
- package/dist-types/commands/ListBonusPaymentsCommand.d.ts +3 -3
- package/dist-types/commands/ListHITsCommand.d.ts +3 -3
- package/dist-types/commands/ListHITsForQualificationTypeCommand.d.ts +3 -3
- package/dist-types/commands/ListQualificationRequestsCommand.d.ts +3 -3
- package/dist-types/commands/ListQualificationTypesCommand.d.ts +3 -3
- package/dist-types/commands/ListReviewPolicyResultsForHITCommand.d.ts +3 -3
- package/dist-types/commands/ListReviewableHITsCommand.d.ts +3 -3
- package/dist-types/commands/ListWorkerBlocksCommand.d.ts +3 -3
- package/dist-types/commands/ListWorkersWithQualificationTypeCommand.d.ts +3 -3
- package/dist-types/commands/NotifyWorkersCommand.d.ts +3 -3
- package/dist-types/commands/RejectAssignmentCommand.d.ts +3 -3
- package/dist-types/commands/RejectQualificationRequestCommand.d.ts +3 -3
- package/dist-types/commands/SendBonusCommand.d.ts +3 -3
- package/dist-types/commands/SendTestEventNotificationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateExpirationForHITCommand.d.ts +3 -3
- package/dist-types/commands/UpdateHITReviewStatusCommand.d.ts +3 -3
- package/dist-types/commands/UpdateHITTypeOfHITCommand.d.ts +3 -3
- package/dist-types/commands/UpdateNotificationSettingsCommand.d.ts +3 -3
- package/dist-types/commands/UpdateQualificationTypeCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -2
- package/dist-types/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/endpoint/ruleset.d.ts +1 -1
- package/dist-types/models/MTurkServiceException.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListAssignmentsForHITPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBonusPaymentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListHITsForQualificationTypePaginator.d.ts +1 -1
- package/dist-types/pagination/ListHITsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListQualificationRequestsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListQualificationTypesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReviewPolicyResultsForHITPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReviewableHITsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkerBlocksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkersWithQualificationTypePaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +20 -20
- package/dist-types/runtimeConfig.d.ts +20 -20
- package/dist-types/runtimeConfig.native.d.ts +19 -19
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/MTurk.d.ts +1 -1
- package/dist-types/ts3.4/MTurkClient.d.ts +19 -21
- package/dist-types/ts3.4/commands/AcceptQualificationRequestCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ApproveAssignmentCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/AssociateQualificationWithWorkerCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateHITCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateHITTypeCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateHITWithHITTypeCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateQualificationTypeCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateWorkerBlockCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteHITCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteQualificationTypeCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteWorkerBlockCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DisassociateQualificationFromWorkerCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetAccountBalanceCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetAssignmentCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetFileUploadURLCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetHITCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetQualificationScoreCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetQualificationTypeCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListAssignmentsForHITCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListBonusPaymentsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListHITsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListHITsForQualificationTypeCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListQualificationRequestsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListQualificationTypesCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListReviewPolicyResultsForHITCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListReviewableHITsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListWorkerBlocksCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListWorkersWithQualificationTypeCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/NotifyWorkersCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/RejectAssignmentCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/RejectQualificationRequestCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/SendBonusCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/SendTestEventNotificationCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateExpirationForHITCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateHITReviewStatusCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateHITTypeOfHITCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateNotificationSettingsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateQualificationTypeCommand.d.ts +3 -3
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -2
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
- package/dist-types/ts3.4/models/MTurkServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -1
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListAssignmentsForHITPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListBonusPaymentsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListHITsForQualificationTypePaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListHITsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListQualificationRequestsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListQualificationTypesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListReviewPolicyResultsForHITPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListReviewableHITsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListWorkerBlocksPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListWorkersWithQualificationTypePaginator.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +35 -40
- package/dist-types/ts3.4/runtimeConfig.d.ts +35 -37
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -38
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/package.json +34 -33
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MTurkServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
6
|
class MTurkServiceException extends smithy_client_1.ServiceException {
|
|
7
7
|
constructor(options) {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.de_DeleteQualificationTypeCommand = exports.de_DeleteHITCommand = exports.de_CreateWorkerBlockCommand = exports.de_CreateQualificationTypeCommand = exports.de_CreateHITWithHITTypeCommand = exports.de_CreateHITTypeCommand = exports.de_CreateHITCommand = exports.de_CreateAdditionalAssignmentsForHITCommand = exports.de_AssociateQualificationWithWorkerCommand = exports.de_ApproveAssignmentCommand = exports.de_AcceptQualificationRequestCommand = exports.se_UpdateQualificationTypeCommand = exports.se_UpdateNotificationSettingsCommand = exports.se_UpdateHITTypeOfHITCommand = exports.se_UpdateHITReviewStatusCommand = exports.se_UpdateExpirationForHITCommand = exports.se_SendTestEventNotificationCommand = exports.se_SendBonusCommand = exports.se_RejectQualificationRequestCommand = exports.se_RejectAssignmentCommand = exports.se_NotifyWorkersCommand = exports.se_ListWorkersWithQualificationTypeCommand = exports.se_ListWorkerBlocksCommand = exports.se_ListReviewPolicyResultsForHITCommand = exports.se_ListReviewableHITsCommand = exports.se_ListQualificationTypesCommand = exports.se_ListQualificationRequestsCommand = exports.se_ListHITsForQualificationTypeCommand = exports.se_ListHITsCommand = exports.se_ListBonusPaymentsCommand = exports.se_ListAssignmentsForHITCommand = exports.se_GetQualificationTypeCommand = exports.se_GetQualificationScoreCommand = exports.se_GetHITCommand = exports.se_GetFileUploadURLCommand = exports.se_GetAssignmentCommand = exports.se_GetAccountBalanceCommand = exports.se_DisassociateQualificationFromWorkerCommand = exports.se_DeleteWorkerBlockCommand = exports.se_DeleteQualificationTypeCommand = exports.se_DeleteHITCommand = exports.se_CreateWorkerBlockCommand = exports.se_CreateQualificationTypeCommand = exports.se_CreateHITWithHITTypeCommand = exports.se_CreateHITTypeCommand = exports.se_CreateHITCommand = exports.se_CreateAdditionalAssignmentsForHITCommand = exports.se_AssociateQualificationWithWorkerCommand = exports.se_ApproveAssignmentCommand = exports.se_AcceptQualificationRequestCommand = void 0;
|
|
4
4
|
exports.de_UpdateQualificationTypeCommand = exports.de_UpdateNotificationSettingsCommand = exports.de_UpdateHITTypeOfHITCommand = exports.de_UpdateHITReviewStatusCommand = exports.de_UpdateExpirationForHITCommand = exports.de_SendTestEventNotificationCommand = exports.de_SendBonusCommand = exports.de_RejectQualificationRequestCommand = exports.de_RejectAssignmentCommand = exports.de_NotifyWorkersCommand = exports.de_ListWorkersWithQualificationTypeCommand = exports.de_ListWorkerBlocksCommand = exports.de_ListReviewPolicyResultsForHITCommand = exports.de_ListReviewableHITsCommand = exports.de_ListQualificationTypesCommand = exports.de_ListQualificationRequestsCommand = exports.de_ListHITsForQualificationTypeCommand = exports.de_ListHITsCommand = exports.de_ListBonusPaymentsCommand = exports.de_ListAssignmentsForHITCommand = exports.de_GetQualificationTypeCommand = exports.de_GetQualificationScoreCommand = exports.de_GetHITCommand = exports.de_GetFileUploadURLCommand = exports.de_GetAssignmentCommand = exports.de_GetAccountBalanceCommand = exports.de_DisassociateQualificationFromWorkerCommand = exports.de_DeleteWorkerBlockCommand = void 0;
|
|
5
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
5
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const MTurkServiceException_1 = require("../models/MTurkServiceException");
|
|
9
9
|
const se_AcceptQualificationRequestCommand = async (input, context) => {
|
|
@@ -4,15 +4,15 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
-
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
|
-
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
|
-
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
10
|
-
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
11
|
-
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
12
7
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
8
|
+
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
|
+
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
|
+
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
12
|
+
const util_retry_1 = require("@smithy/util-retry");
|
|
13
13
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -4,19 +4,19 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
7
|
-
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
7
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
|
-
const hash_node_1 = require("@aws-sdk/hash-node");
|
|
10
|
-
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
11
|
-
const node_config_provider_1 = require("@aws-sdk/node-config-provider");
|
|
12
|
-
const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
13
|
-
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
14
|
-
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
15
8
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
9
|
+
const config_resolver_1 = require("@smithy/config-resolver");
|
|
10
|
+
const hash_node_1 = require("@smithy/hash-node");
|
|
11
|
+
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
|
+
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
|
+
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
15
|
+
const util_retry_1 = require("@smithy/util-retry");
|
|
16
16
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
-
const smithy_client_1 = require("@
|
|
18
|
-
const util_defaults_mode_node_1 = require("@
|
|
19
|
-
const smithy_client_2 = require("@
|
|
17
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
+
const smithy_client_2 = require("@smithy/smithy-client");
|
|
20
20
|
const getRuntimeConfig = (config) => {
|
|
21
21
|
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
22
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const smithy_client_1 = require("@
|
|
5
|
-
const url_parser_1 = require("@
|
|
6
|
-
const util_base64_1 = require("@
|
|
7
|
-
const util_utf8_1 = require("@
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
const url_parser_1 = require("@smithy/url-parser");
|
|
6
|
+
const util_base64_1 = require("@smithy/util-base64");
|
|
7
|
+
const util_utf8_1 = require("@smithy/util-utf8");
|
|
8
8
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
9
9
|
const getRuntimeConfig = (config) => ({
|
|
10
10
|
apiVersion: "2017-01-17",
|
package/dist-es/MTurk.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createAggregatedClient } from "@
|
|
1
|
+
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { AcceptQualificationRequestCommand, } from "./commands/AcceptQualificationRequestCommand";
|
|
3
3
|
import { ApproveAssignmentCommand, } from "./commands/ApproveAssignmentCommand";
|
|
4
4
|
import { AssociateQualificationWithWorkerCommand, } from "./commands/AssociateQualificationWithWorkerCommand";
|
package/dist-es/MTurkClient.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { resolveRegionConfig } from "@aws-sdk/config-resolver";
|
|
2
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
|
-
import { resolveEndpointConfig } from "@aws-sdk/middleware-endpoint";
|
|
4
1
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
2
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
3
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
7
|
-
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
8
4
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
9
5
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
|
-
import {
|
|
6
|
+
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
7
|
+
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
|
+
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
|
+
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
10
|
+
import { Client as __Client, } from "@smithy/smithy-client";
|
|
11
11
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
12
12
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
13
13
|
export { __Client };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_AcceptQualificationRequestCommand, se_AcceptQualificationRequestCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class AcceptQualificationRequestCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ApproveAssignmentCommand, se_ApproveAssignmentCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ApproveAssignmentCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_AssociateQualificationWithWorkerCommand, se_AssociateQualificationWithWorkerCommand, } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class AssociateQualificationWithWorkerCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_CreateAdditionalAssignmentsForHITCommand, se_CreateAdditionalAssignmentsForHITCommand, } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateAdditionalAssignmentsForHITCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_CreateHITCommand, se_CreateHITCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateHITCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_CreateHITTypeCommand, se_CreateHITTypeCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateHITTypeCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_CreateHITWithHITTypeCommand, se_CreateHITWithHITTypeCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateHITWithHITTypeCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_CreateQualificationTypeCommand, se_CreateQualificationTypeCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateQualificationTypeCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_CreateWorkerBlockCommand, se_CreateWorkerBlockCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateWorkerBlockCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_DeleteHITCommand, se_DeleteHITCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteHITCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_DeleteQualificationTypeCommand, se_DeleteQualificationTypeCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteQualificationTypeCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_DeleteWorkerBlockCommand, se_DeleteWorkerBlockCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteWorkerBlockCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_DisassociateQualificationFromWorkerCommand, se_DisassociateQualificationFromWorkerCommand, } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DisassociateQualificationFromWorkerCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetAccountBalanceCommand, se_GetAccountBalanceCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetAccountBalanceCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetAssignmentCommand, se_GetAssignmentCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetAssignmentCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetFileUploadURLCommand, se_GetFileUploadURLCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetFileUploadURLCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetHITCommand, se_GetHITCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetHITCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetQualificationScoreCommand, se_GetQualificationScoreCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetQualificationScoreCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetQualificationTypeCommand, se_GetQualificationTypeCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetQualificationTypeCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListAssignmentsForHITCommand, se_ListAssignmentsForHITCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListAssignmentsForHITCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListBonusPaymentsCommand, se_ListBonusPaymentsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListBonusPaymentsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListHITsCommand, se_ListHITsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListHITsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListHITsForQualificationTypeCommand, se_ListHITsForQualificationTypeCommand, } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListHITsForQualificationTypeCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListQualificationRequestsCommand, se_ListQualificationRequestsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListQualificationRequestsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListQualificationTypesCommand, se_ListQualificationTypesCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListQualificationTypesCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListReviewPolicyResultsForHITCommand, se_ListReviewPolicyResultsForHITCommand, } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListReviewPolicyResultsForHITCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListReviewableHITsCommand, se_ListReviewableHITsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListReviewableHITsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListWorkerBlocksCommand, se_ListWorkerBlocksCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListWorkerBlocksCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListWorkersWithQualificationTypeCommand, se_ListWorkersWithQualificationTypeCommand, } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListWorkersWithQualificationTypeCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_NotifyWorkersCommand, se_NotifyWorkersCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class NotifyWorkersCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_RejectAssignmentCommand, se_RejectAssignmentCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class RejectAssignmentCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_RejectQualificationRequestCommand, se_RejectQualificationRequestCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class RejectQualificationRequestCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_SendBonusCommand, se_SendBonusCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class SendBonusCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_SendTestEventNotificationCommand, se_SendTestEventNotificationCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class SendTestEventNotificationCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_UpdateExpirationForHITCommand, se_UpdateExpirationForHITCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateExpirationForHITCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_UpdateHITReviewStatusCommand, se_UpdateHITReviewStatusCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateHITReviewStatusCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_UpdateHITTypeOfHITCommand, se_UpdateHITTypeOfHITCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateHITTypeOfHITCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_UpdateNotificationSettingsCommand, se_UpdateNotificationSettingsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateNotificationSettingsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_UpdateQualificationTypeCommand, se_UpdateQualificationTypeCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateQualificationTypeCommand extends $Command {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServiceException as __ServiceException, } from "@
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class MTurkServiceException extends __ServiceException {
|
|
4
4
|
constructor(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
1
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { RequestError, ServiceFault, } from "../models/models_0";
|
|
4
4
|
import { MTurkServiceException as __BaseException } from "../models/MTurkServiceException";
|
|
5
5
|
export const se_AcceptQualificationRequestCommand = async (input, context) => {
|