@aws-sdk/client-mturk 3.1076.0 → 3.1078.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/index.js +50 -395
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AcceptQualificationRequestCommand.js +2 -14
- package/dist-es/commands/ApproveAssignmentCommand.js +2 -14
- package/dist-es/commands/AssociateQualificationWithWorkerCommand.js +2 -14
- package/dist-es/commands/CreateAdditionalAssignmentsForHITCommand.js +2 -14
- package/dist-es/commands/CreateHITCommand.js +2 -14
- package/dist-es/commands/CreateHITTypeCommand.js +2 -14
- package/dist-es/commands/CreateHITWithHITTypeCommand.js +2 -14
- package/dist-es/commands/CreateQualificationTypeCommand.js +2 -14
- package/dist-es/commands/CreateWorkerBlockCommand.js +2 -14
- package/dist-es/commands/DeleteHITCommand.js +2 -14
- package/dist-es/commands/DeleteQualificationTypeCommand.js +2 -14
- package/dist-es/commands/DeleteWorkerBlockCommand.js +2 -14
- package/dist-es/commands/DisassociateQualificationFromWorkerCommand.js +2 -14
- package/dist-es/commands/GetAccountBalanceCommand.js +2 -14
- package/dist-es/commands/GetAssignmentCommand.js +2 -14
- package/dist-es/commands/GetFileUploadURLCommand.js +2 -14
- package/dist-es/commands/GetHITCommand.js +2 -14
- package/dist-es/commands/GetQualificationScoreCommand.js +2 -14
- package/dist-es/commands/GetQualificationTypeCommand.js +2 -14
- package/dist-es/commands/ListAssignmentsForHITCommand.js +2 -14
- package/dist-es/commands/ListBonusPaymentsCommand.js +2 -14
- package/dist-es/commands/ListHITsCommand.js +2 -14
- package/dist-es/commands/ListHITsForQualificationTypeCommand.js +2 -14
- package/dist-es/commands/ListQualificationRequestsCommand.js +2 -14
- package/dist-es/commands/ListQualificationTypesCommand.js +2 -14
- package/dist-es/commands/ListReviewPolicyResultsForHITCommand.js +2 -14
- package/dist-es/commands/ListReviewableHITsCommand.js +2 -14
- package/dist-es/commands/ListWorkerBlocksCommand.js +2 -14
- package/dist-es/commands/ListWorkersWithQualificationTypeCommand.js +2 -14
- package/dist-es/commands/NotifyWorkersCommand.js +2 -14
- package/dist-es/commands/RejectAssignmentCommand.js +2 -14
- package/dist-es/commands/RejectQualificationRequestCommand.js +2 -14
- package/dist-es/commands/SendBonusCommand.js +2 -14
- package/dist-es/commands/SendTestEventNotificationCommand.js +2 -14
- package/dist-es/commands/UpdateExpirationForHITCommand.js +2 -14
- package/dist-es/commands/UpdateHITReviewStatusCommand.js +2 -14
- package/dist-es/commands/UpdateHITTypeOfHITCommand.js +2 -14
- package/dist-es/commands/UpdateNotificationSettingsCommand.js +2 -14
- package/dist-es/commands/UpdateQualificationTypeCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AcceptQualificationRequestCommand.d.ts +3 -8
- package/dist-types/commands/ApproveAssignmentCommand.d.ts +3 -8
- package/dist-types/commands/AssociateQualificationWithWorkerCommand.d.ts +3 -8
- package/dist-types/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +3 -8
- package/dist-types/commands/CreateHITCommand.d.ts +3 -8
- package/dist-types/commands/CreateHITTypeCommand.d.ts +3 -8
- package/dist-types/commands/CreateHITWithHITTypeCommand.d.ts +3 -8
- package/dist-types/commands/CreateQualificationTypeCommand.d.ts +3 -8
- package/dist-types/commands/CreateWorkerBlockCommand.d.ts +3 -8
- package/dist-types/commands/DeleteHITCommand.d.ts +3 -8
- package/dist-types/commands/DeleteQualificationTypeCommand.d.ts +3 -8
- package/dist-types/commands/DeleteWorkerBlockCommand.d.ts +3 -8
- package/dist-types/commands/DisassociateQualificationFromWorkerCommand.d.ts +3 -8
- package/dist-types/commands/GetAccountBalanceCommand.d.ts +3 -8
- package/dist-types/commands/GetAssignmentCommand.d.ts +3 -8
- package/dist-types/commands/GetFileUploadURLCommand.d.ts +3 -8
- package/dist-types/commands/GetHITCommand.d.ts +3 -8
- package/dist-types/commands/GetQualificationScoreCommand.d.ts +3 -8
- package/dist-types/commands/GetQualificationTypeCommand.d.ts +3 -8
- package/dist-types/commands/ListAssignmentsForHITCommand.d.ts +3 -8
- package/dist-types/commands/ListBonusPaymentsCommand.d.ts +3 -8
- package/dist-types/commands/ListHITsCommand.d.ts +3 -8
- package/dist-types/commands/ListHITsForQualificationTypeCommand.d.ts +3 -8
- package/dist-types/commands/ListQualificationRequestsCommand.d.ts +3 -8
- package/dist-types/commands/ListQualificationTypesCommand.d.ts +3 -8
- package/dist-types/commands/ListReviewPolicyResultsForHITCommand.d.ts +3 -8
- package/dist-types/commands/ListReviewableHITsCommand.d.ts +3 -8
- package/dist-types/commands/ListWorkerBlocksCommand.d.ts +3 -8
- package/dist-types/commands/ListWorkersWithQualificationTypeCommand.d.ts +3 -8
- package/dist-types/commands/NotifyWorkersCommand.d.ts +3 -8
- package/dist-types/commands/RejectAssignmentCommand.d.ts +3 -8
- package/dist-types/commands/RejectQualificationRequestCommand.d.ts +3 -8
- package/dist-types/commands/SendBonusCommand.d.ts +3 -8
- package/dist-types/commands/SendTestEventNotificationCommand.d.ts +3 -8
- package/dist-types/commands/UpdateExpirationForHITCommand.d.ts +3 -8
- package/dist-types/commands/UpdateHITReviewStatusCommand.d.ts +3 -8
- package/dist-types/commands/UpdateHITTypeOfHITCommand.d.ts +3 -8
- package/dist-types/commands/UpdateNotificationSettingsCommand.d.ts +3 -8
- package/dist-types/commands/UpdateQualificationTypeCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AcceptQualificationRequestCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ApproveAssignmentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/AssociateQualificationWithWorkerCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateHITCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateHITTypeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateHITWithHITTypeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateQualificationTypeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateWorkerBlockCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteHITCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteQualificationTypeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteWorkerBlockCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisassociateQualificationFromWorkerCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAccountBalanceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAssignmentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetFileUploadURLCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetHITCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetQualificationScoreCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetQualificationTypeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAssignmentsForHITCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListBonusPaymentsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListHITsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListHITsForQualificationTypeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListQualificationRequestsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListQualificationTypesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListReviewPolicyResultsForHITCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListReviewableHITsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListWorkerBlocksCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListWorkersWithQualificationTypeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/NotifyWorkersCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RejectAssignmentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RejectQualificationRequestCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SendBonusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SendTestEventNotificationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateExpirationForHITCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateHITReviewStatusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateHITTypeOfHITCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateNotificationSettingsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateQualificationTypeCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultMTurkHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -67,7 +69,7 @@ const commonParams = {
|
|
|
67
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
68
70
|
};
|
|
69
71
|
|
|
70
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
71
73
|
var packageInfo = {
|
|
72
74
|
version: version};
|
|
73
75
|
|
|
@@ -1142,6 +1144,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
1142
1144
|
serviceTarget: "MTurkRequesterServiceV20170117",
|
|
1143
1145
|
},
|
|
1144
1146
|
serviceId: config?.serviceId ?? "MTurk",
|
|
1147
|
+
sha256: config?.sha256 ?? Sha256,
|
|
1145
1148
|
urlParser: config?.urlParser ?? parseUrl,
|
|
1146
1149
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1147
1150
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -1175,7 +1178,6 @@ const getRuntimeConfig = (config) => {
|
|
|
1175
1178
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1176
1179
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1177
1180
|
}, config),
|
|
1178
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1179
1181
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1180
1182
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1181
1183
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1263,472 +1265,125 @@ class MTurkClient extends Client {
|
|
|
1263
1265
|
}
|
|
1264
1266
|
}
|
|
1265
1267
|
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
})
|
|
1272
|
-
.s("MTurkRequesterServiceV20170117", "AcceptQualificationRequest", {})
|
|
1273
|
-
.n("MTurkClient", "AcceptQualificationRequestCommand")
|
|
1274
|
-
.sc(AcceptQualificationRequest$)
|
|
1275
|
-
.build() {
|
|
1268
|
+
const command = makeBuilder(commonParams, "MTurkRequesterServiceV20170117", "MTurkClient", getEndpointPlugin);
|
|
1269
|
+
const _ep0 = {};
|
|
1270
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
1271
|
+
|
|
1272
|
+
class AcceptQualificationRequestCommand extends command(_ep0, _mw0, "AcceptQualificationRequest", AcceptQualificationRequest$) {
|
|
1276
1273
|
}
|
|
1277
1274
|
|
|
1278
|
-
class ApproveAssignmentCommand extends
|
|
1279
|
-
.classBuilder()
|
|
1280
|
-
.ep(commonParams)
|
|
1281
|
-
.m(function (Command, cs, config, o) {
|
|
1282
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1283
|
-
})
|
|
1284
|
-
.s("MTurkRequesterServiceV20170117", "ApproveAssignment", {})
|
|
1285
|
-
.n("MTurkClient", "ApproveAssignmentCommand")
|
|
1286
|
-
.sc(ApproveAssignment$)
|
|
1287
|
-
.build() {
|
|
1275
|
+
class ApproveAssignmentCommand extends command(_ep0, _mw0, "ApproveAssignment", ApproveAssignment$) {
|
|
1288
1276
|
}
|
|
1289
1277
|
|
|
1290
|
-
class AssociateQualificationWithWorkerCommand extends
|
|
1291
|
-
.classBuilder()
|
|
1292
|
-
.ep(commonParams)
|
|
1293
|
-
.m(function (Command, cs, config, o) {
|
|
1294
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1295
|
-
})
|
|
1296
|
-
.s("MTurkRequesterServiceV20170117", "AssociateQualificationWithWorker", {})
|
|
1297
|
-
.n("MTurkClient", "AssociateQualificationWithWorkerCommand")
|
|
1298
|
-
.sc(AssociateQualificationWithWorker$)
|
|
1299
|
-
.build() {
|
|
1278
|
+
class AssociateQualificationWithWorkerCommand extends command(_ep0, _mw0, "AssociateQualificationWithWorker", AssociateQualificationWithWorker$) {
|
|
1300
1279
|
}
|
|
1301
1280
|
|
|
1302
|
-
class CreateAdditionalAssignmentsForHITCommand extends
|
|
1303
|
-
.classBuilder()
|
|
1304
|
-
.ep(commonParams)
|
|
1305
|
-
.m(function (Command, cs, config, o) {
|
|
1306
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1307
|
-
})
|
|
1308
|
-
.s("MTurkRequesterServiceV20170117", "CreateAdditionalAssignmentsForHIT", {})
|
|
1309
|
-
.n("MTurkClient", "CreateAdditionalAssignmentsForHITCommand")
|
|
1310
|
-
.sc(CreateAdditionalAssignmentsForHIT$)
|
|
1311
|
-
.build() {
|
|
1281
|
+
class CreateAdditionalAssignmentsForHITCommand extends command(_ep0, _mw0, "CreateAdditionalAssignmentsForHIT", CreateAdditionalAssignmentsForHIT$) {
|
|
1312
1282
|
}
|
|
1313
1283
|
|
|
1314
|
-
class CreateHITCommand extends
|
|
1315
|
-
.classBuilder()
|
|
1316
|
-
.ep(commonParams)
|
|
1317
|
-
.m(function (Command, cs, config, o) {
|
|
1318
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1319
|
-
})
|
|
1320
|
-
.s("MTurkRequesterServiceV20170117", "CreateHIT", {})
|
|
1321
|
-
.n("MTurkClient", "CreateHITCommand")
|
|
1322
|
-
.sc(CreateHIT$)
|
|
1323
|
-
.build() {
|
|
1284
|
+
class CreateHITCommand extends command(_ep0, _mw0, "CreateHIT", CreateHIT$) {
|
|
1324
1285
|
}
|
|
1325
1286
|
|
|
1326
|
-
class CreateHITTypeCommand extends
|
|
1327
|
-
.classBuilder()
|
|
1328
|
-
.ep(commonParams)
|
|
1329
|
-
.m(function (Command, cs, config, o) {
|
|
1330
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1331
|
-
})
|
|
1332
|
-
.s("MTurkRequesterServiceV20170117", "CreateHITType", {})
|
|
1333
|
-
.n("MTurkClient", "CreateHITTypeCommand")
|
|
1334
|
-
.sc(CreateHITType$)
|
|
1335
|
-
.build() {
|
|
1287
|
+
class CreateHITTypeCommand extends command(_ep0, _mw0, "CreateHITType", CreateHITType$) {
|
|
1336
1288
|
}
|
|
1337
1289
|
|
|
1338
|
-
class CreateHITWithHITTypeCommand extends
|
|
1339
|
-
.classBuilder()
|
|
1340
|
-
.ep(commonParams)
|
|
1341
|
-
.m(function (Command, cs, config, o) {
|
|
1342
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1343
|
-
})
|
|
1344
|
-
.s("MTurkRequesterServiceV20170117", "CreateHITWithHITType", {})
|
|
1345
|
-
.n("MTurkClient", "CreateHITWithHITTypeCommand")
|
|
1346
|
-
.sc(CreateHITWithHITType$)
|
|
1347
|
-
.build() {
|
|
1290
|
+
class CreateHITWithHITTypeCommand extends command(_ep0, _mw0, "CreateHITWithHITType", CreateHITWithHITType$) {
|
|
1348
1291
|
}
|
|
1349
1292
|
|
|
1350
|
-
class CreateQualificationTypeCommand extends
|
|
1351
|
-
.classBuilder()
|
|
1352
|
-
.ep(commonParams)
|
|
1353
|
-
.m(function (Command, cs, config, o) {
|
|
1354
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1355
|
-
})
|
|
1356
|
-
.s("MTurkRequesterServiceV20170117", "CreateQualificationType", {})
|
|
1357
|
-
.n("MTurkClient", "CreateQualificationTypeCommand")
|
|
1358
|
-
.sc(CreateQualificationType$)
|
|
1359
|
-
.build() {
|
|
1293
|
+
class CreateQualificationTypeCommand extends command(_ep0, _mw0, "CreateQualificationType", CreateQualificationType$) {
|
|
1360
1294
|
}
|
|
1361
1295
|
|
|
1362
|
-
class CreateWorkerBlockCommand extends
|
|
1363
|
-
.classBuilder()
|
|
1364
|
-
.ep(commonParams)
|
|
1365
|
-
.m(function (Command, cs, config, o) {
|
|
1366
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1367
|
-
})
|
|
1368
|
-
.s("MTurkRequesterServiceV20170117", "CreateWorkerBlock", {})
|
|
1369
|
-
.n("MTurkClient", "CreateWorkerBlockCommand")
|
|
1370
|
-
.sc(CreateWorkerBlock$)
|
|
1371
|
-
.build() {
|
|
1296
|
+
class CreateWorkerBlockCommand extends command(_ep0, _mw0, "CreateWorkerBlock", CreateWorkerBlock$) {
|
|
1372
1297
|
}
|
|
1373
1298
|
|
|
1374
|
-
class DeleteHITCommand extends
|
|
1375
|
-
.classBuilder()
|
|
1376
|
-
.ep(commonParams)
|
|
1377
|
-
.m(function (Command, cs, config, o) {
|
|
1378
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1379
|
-
})
|
|
1380
|
-
.s("MTurkRequesterServiceV20170117", "DeleteHIT", {})
|
|
1381
|
-
.n("MTurkClient", "DeleteHITCommand")
|
|
1382
|
-
.sc(DeleteHIT$)
|
|
1383
|
-
.build() {
|
|
1299
|
+
class DeleteHITCommand extends command(_ep0, _mw0, "DeleteHIT", DeleteHIT$) {
|
|
1384
1300
|
}
|
|
1385
1301
|
|
|
1386
|
-
class DeleteQualificationTypeCommand extends
|
|
1387
|
-
.classBuilder()
|
|
1388
|
-
.ep(commonParams)
|
|
1389
|
-
.m(function (Command, cs, config, o) {
|
|
1390
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1391
|
-
})
|
|
1392
|
-
.s("MTurkRequesterServiceV20170117", "DeleteQualificationType", {})
|
|
1393
|
-
.n("MTurkClient", "DeleteQualificationTypeCommand")
|
|
1394
|
-
.sc(DeleteQualificationType$)
|
|
1395
|
-
.build() {
|
|
1302
|
+
class DeleteQualificationTypeCommand extends command(_ep0, _mw0, "DeleteQualificationType", DeleteQualificationType$) {
|
|
1396
1303
|
}
|
|
1397
1304
|
|
|
1398
|
-
class DeleteWorkerBlockCommand extends
|
|
1399
|
-
.classBuilder()
|
|
1400
|
-
.ep(commonParams)
|
|
1401
|
-
.m(function (Command, cs, config, o) {
|
|
1402
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1403
|
-
})
|
|
1404
|
-
.s("MTurkRequesterServiceV20170117", "DeleteWorkerBlock", {})
|
|
1405
|
-
.n("MTurkClient", "DeleteWorkerBlockCommand")
|
|
1406
|
-
.sc(DeleteWorkerBlock$)
|
|
1407
|
-
.build() {
|
|
1305
|
+
class DeleteWorkerBlockCommand extends command(_ep0, _mw0, "DeleteWorkerBlock", DeleteWorkerBlock$) {
|
|
1408
1306
|
}
|
|
1409
1307
|
|
|
1410
|
-
class DisassociateQualificationFromWorkerCommand extends
|
|
1411
|
-
.classBuilder()
|
|
1412
|
-
.ep(commonParams)
|
|
1413
|
-
.m(function (Command, cs, config, o) {
|
|
1414
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1415
|
-
})
|
|
1416
|
-
.s("MTurkRequesterServiceV20170117", "DisassociateQualificationFromWorker", {})
|
|
1417
|
-
.n("MTurkClient", "DisassociateQualificationFromWorkerCommand")
|
|
1418
|
-
.sc(DisassociateQualificationFromWorker$)
|
|
1419
|
-
.build() {
|
|
1308
|
+
class DisassociateQualificationFromWorkerCommand extends command(_ep0, _mw0, "DisassociateQualificationFromWorker", DisassociateQualificationFromWorker$) {
|
|
1420
1309
|
}
|
|
1421
1310
|
|
|
1422
|
-
class GetAccountBalanceCommand extends
|
|
1423
|
-
.classBuilder()
|
|
1424
|
-
.ep(commonParams)
|
|
1425
|
-
.m(function (Command, cs, config, o) {
|
|
1426
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1427
|
-
})
|
|
1428
|
-
.s("MTurkRequesterServiceV20170117", "GetAccountBalance", {})
|
|
1429
|
-
.n("MTurkClient", "GetAccountBalanceCommand")
|
|
1430
|
-
.sc(GetAccountBalance$)
|
|
1431
|
-
.build() {
|
|
1311
|
+
class GetAccountBalanceCommand extends command(_ep0, _mw0, "GetAccountBalance", GetAccountBalance$) {
|
|
1432
1312
|
}
|
|
1433
1313
|
|
|
1434
|
-
class GetAssignmentCommand extends
|
|
1435
|
-
.classBuilder()
|
|
1436
|
-
.ep(commonParams)
|
|
1437
|
-
.m(function (Command, cs, config, o) {
|
|
1438
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1439
|
-
})
|
|
1440
|
-
.s("MTurkRequesterServiceV20170117", "GetAssignment", {})
|
|
1441
|
-
.n("MTurkClient", "GetAssignmentCommand")
|
|
1442
|
-
.sc(GetAssignment$)
|
|
1443
|
-
.build() {
|
|
1314
|
+
class GetAssignmentCommand extends command(_ep0, _mw0, "GetAssignment", GetAssignment$) {
|
|
1444
1315
|
}
|
|
1445
1316
|
|
|
1446
|
-
class GetFileUploadURLCommand extends
|
|
1447
|
-
.classBuilder()
|
|
1448
|
-
.ep(commonParams)
|
|
1449
|
-
.m(function (Command, cs, config, o) {
|
|
1450
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1451
|
-
})
|
|
1452
|
-
.s("MTurkRequesterServiceV20170117", "GetFileUploadURL", {})
|
|
1453
|
-
.n("MTurkClient", "GetFileUploadURLCommand")
|
|
1454
|
-
.sc(GetFileUploadURL$)
|
|
1455
|
-
.build() {
|
|
1317
|
+
class GetFileUploadURLCommand extends command(_ep0, _mw0, "GetFileUploadURL", GetFileUploadURL$) {
|
|
1456
1318
|
}
|
|
1457
1319
|
|
|
1458
|
-
class GetHITCommand extends
|
|
1459
|
-
.classBuilder()
|
|
1460
|
-
.ep(commonParams)
|
|
1461
|
-
.m(function (Command, cs, config, o) {
|
|
1462
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1463
|
-
})
|
|
1464
|
-
.s("MTurkRequesterServiceV20170117", "GetHIT", {})
|
|
1465
|
-
.n("MTurkClient", "GetHITCommand")
|
|
1466
|
-
.sc(GetHIT$)
|
|
1467
|
-
.build() {
|
|
1320
|
+
class GetHITCommand extends command(_ep0, _mw0, "GetHIT", GetHIT$) {
|
|
1468
1321
|
}
|
|
1469
1322
|
|
|
1470
|
-
class GetQualificationScoreCommand extends
|
|
1471
|
-
.classBuilder()
|
|
1472
|
-
.ep(commonParams)
|
|
1473
|
-
.m(function (Command, cs, config, o) {
|
|
1474
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1475
|
-
})
|
|
1476
|
-
.s("MTurkRequesterServiceV20170117", "GetQualificationScore", {})
|
|
1477
|
-
.n("MTurkClient", "GetQualificationScoreCommand")
|
|
1478
|
-
.sc(GetQualificationScore$)
|
|
1479
|
-
.build() {
|
|
1323
|
+
class GetQualificationScoreCommand extends command(_ep0, _mw0, "GetQualificationScore", GetQualificationScore$) {
|
|
1480
1324
|
}
|
|
1481
1325
|
|
|
1482
|
-
class GetQualificationTypeCommand extends
|
|
1483
|
-
.classBuilder()
|
|
1484
|
-
.ep(commonParams)
|
|
1485
|
-
.m(function (Command, cs, config, o) {
|
|
1486
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1487
|
-
})
|
|
1488
|
-
.s("MTurkRequesterServiceV20170117", "GetQualificationType", {})
|
|
1489
|
-
.n("MTurkClient", "GetQualificationTypeCommand")
|
|
1490
|
-
.sc(GetQualificationType$)
|
|
1491
|
-
.build() {
|
|
1326
|
+
class GetQualificationTypeCommand extends command(_ep0, _mw0, "GetQualificationType", GetQualificationType$) {
|
|
1492
1327
|
}
|
|
1493
1328
|
|
|
1494
|
-
class ListAssignmentsForHITCommand extends
|
|
1495
|
-
.classBuilder()
|
|
1496
|
-
.ep(commonParams)
|
|
1497
|
-
.m(function (Command, cs, config, o) {
|
|
1498
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1499
|
-
})
|
|
1500
|
-
.s("MTurkRequesterServiceV20170117", "ListAssignmentsForHIT", {})
|
|
1501
|
-
.n("MTurkClient", "ListAssignmentsForHITCommand")
|
|
1502
|
-
.sc(ListAssignmentsForHIT$)
|
|
1503
|
-
.build() {
|
|
1329
|
+
class ListAssignmentsForHITCommand extends command(_ep0, _mw0, "ListAssignmentsForHIT", ListAssignmentsForHIT$) {
|
|
1504
1330
|
}
|
|
1505
1331
|
|
|
1506
|
-
class ListBonusPaymentsCommand extends
|
|
1507
|
-
.classBuilder()
|
|
1508
|
-
.ep(commonParams)
|
|
1509
|
-
.m(function (Command, cs, config, o) {
|
|
1510
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1511
|
-
})
|
|
1512
|
-
.s("MTurkRequesterServiceV20170117", "ListBonusPayments", {})
|
|
1513
|
-
.n("MTurkClient", "ListBonusPaymentsCommand")
|
|
1514
|
-
.sc(ListBonusPayments$)
|
|
1515
|
-
.build() {
|
|
1332
|
+
class ListBonusPaymentsCommand extends command(_ep0, _mw0, "ListBonusPayments", ListBonusPayments$) {
|
|
1516
1333
|
}
|
|
1517
1334
|
|
|
1518
|
-
class ListHITsCommand extends
|
|
1519
|
-
.classBuilder()
|
|
1520
|
-
.ep(commonParams)
|
|
1521
|
-
.m(function (Command, cs, config, o) {
|
|
1522
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1523
|
-
})
|
|
1524
|
-
.s("MTurkRequesterServiceV20170117", "ListHITs", {})
|
|
1525
|
-
.n("MTurkClient", "ListHITsCommand")
|
|
1526
|
-
.sc(ListHITs$)
|
|
1527
|
-
.build() {
|
|
1335
|
+
class ListHITsCommand extends command(_ep0, _mw0, "ListHITs", ListHITs$) {
|
|
1528
1336
|
}
|
|
1529
1337
|
|
|
1530
|
-
class ListHITsForQualificationTypeCommand extends
|
|
1531
|
-
.classBuilder()
|
|
1532
|
-
.ep(commonParams)
|
|
1533
|
-
.m(function (Command, cs, config, o) {
|
|
1534
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1535
|
-
})
|
|
1536
|
-
.s("MTurkRequesterServiceV20170117", "ListHITsForQualificationType", {})
|
|
1537
|
-
.n("MTurkClient", "ListHITsForQualificationTypeCommand")
|
|
1538
|
-
.sc(ListHITsForQualificationType$)
|
|
1539
|
-
.build() {
|
|
1338
|
+
class ListHITsForQualificationTypeCommand extends command(_ep0, _mw0, "ListHITsForQualificationType", ListHITsForQualificationType$) {
|
|
1540
1339
|
}
|
|
1541
1340
|
|
|
1542
|
-
class ListQualificationRequestsCommand extends
|
|
1543
|
-
.classBuilder()
|
|
1544
|
-
.ep(commonParams)
|
|
1545
|
-
.m(function (Command, cs, config, o) {
|
|
1546
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1547
|
-
})
|
|
1548
|
-
.s("MTurkRequesterServiceV20170117", "ListQualificationRequests", {})
|
|
1549
|
-
.n("MTurkClient", "ListQualificationRequestsCommand")
|
|
1550
|
-
.sc(ListQualificationRequests$)
|
|
1551
|
-
.build() {
|
|
1341
|
+
class ListQualificationRequestsCommand extends command(_ep0, _mw0, "ListQualificationRequests", ListQualificationRequests$) {
|
|
1552
1342
|
}
|
|
1553
1343
|
|
|
1554
|
-
class ListQualificationTypesCommand extends
|
|
1555
|
-
.classBuilder()
|
|
1556
|
-
.ep(commonParams)
|
|
1557
|
-
.m(function (Command, cs, config, o) {
|
|
1558
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1559
|
-
})
|
|
1560
|
-
.s("MTurkRequesterServiceV20170117", "ListQualificationTypes", {})
|
|
1561
|
-
.n("MTurkClient", "ListQualificationTypesCommand")
|
|
1562
|
-
.sc(ListQualificationTypes$)
|
|
1563
|
-
.build() {
|
|
1344
|
+
class ListQualificationTypesCommand extends command(_ep0, _mw0, "ListQualificationTypes", ListQualificationTypes$) {
|
|
1564
1345
|
}
|
|
1565
1346
|
|
|
1566
|
-
class ListReviewableHITsCommand extends
|
|
1567
|
-
.classBuilder()
|
|
1568
|
-
.ep(commonParams)
|
|
1569
|
-
.m(function (Command, cs, config, o) {
|
|
1570
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1571
|
-
})
|
|
1572
|
-
.s("MTurkRequesterServiceV20170117", "ListReviewableHITs", {})
|
|
1573
|
-
.n("MTurkClient", "ListReviewableHITsCommand")
|
|
1574
|
-
.sc(ListReviewableHITs$)
|
|
1575
|
-
.build() {
|
|
1347
|
+
class ListReviewableHITsCommand extends command(_ep0, _mw0, "ListReviewableHITs", ListReviewableHITs$) {
|
|
1576
1348
|
}
|
|
1577
1349
|
|
|
1578
|
-
class ListReviewPolicyResultsForHITCommand extends
|
|
1579
|
-
.classBuilder()
|
|
1580
|
-
.ep(commonParams)
|
|
1581
|
-
.m(function (Command, cs, config, o) {
|
|
1582
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1583
|
-
})
|
|
1584
|
-
.s("MTurkRequesterServiceV20170117", "ListReviewPolicyResultsForHIT", {})
|
|
1585
|
-
.n("MTurkClient", "ListReviewPolicyResultsForHITCommand")
|
|
1586
|
-
.sc(ListReviewPolicyResultsForHIT$)
|
|
1587
|
-
.build() {
|
|
1350
|
+
class ListReviewPolicyResultsForHITCommand extends command(_ep0, _mw0, "ListReviewPolicyResultsForHIT", ListReviewPolicyResultsForHIT$) {
|
|
1588
1351
|
}
|
|
1589
1352
|
|
|
1590
|
-
class ListWorkerBlocksCommand extends
|
|
1591
|
-
.classBuilder()
|
|
1592
|
-
.ep(commonParams)
|
|
1593
|
-
.m(function (Command, cs, config, o) {
|
|
1594
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1595
|
-
})
|
|
1596
|
-
.s("MTurkRequesterServiceV20170117", "ListWorkerBlocks", {})
|
|
1597
|
-
.n("MTurkClient", "ListWorkerBlocksCommand")
|
|
1598
|
-
.sc(ListWorkerBlocks$)
|
|
1599
|
-
.build() {
|
|
1353
|
+
class ListWorkerBlocksCommand extends command(_ep0, _mw0, "ListWorkerBlocks", ListWorkerBlocks$) {
|
|
1600
1354
|
}
|
|
1601
1355
|
|
|
1602
|
-
class ListWorkersWithQualificationTypeCommand extends
|
|
1603
|
-
.classBuilder()
|
|
1604
|
-
.ep(commonParams)
|
|
1605
|
-
.m(function (Command, cs, config, o) {
|
|
1606
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1607
|
-
})
|
|
1608
|
-
.s("MTurkRequesterServiceV20170117", "ListWorkersWithQualificationType", {})
|
|
1609
|
-
.n("MTurkClient", "ListWorkersWithQualificationTypeCommand")
|
|
1610
|
-
.sc(ListWorkersWithQualificationType$)
|
|
1611
|
-
.build() {
|
|
1356
|
+
class ListWorkersWithQualificationTypeCommand extends command(_ep0, _mw0, "ListWorkersWithQualificationType", ListWorkersWithQualificationType$) {
|
|
1612
1357
|
}
|
|
1613
1358
|
|
|
1614
|
-
class NotifyWorkersCommand extends
|
|
1615
|
-
.classBuilder()
|
|
1616
|
-
.ep(commonParams)
|
|
1617
|
-
.m(function (Command, cs, config, o) {
|
|
1618
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1619
|
-
})
|
|
1620
|
-
.s("MTurkRequesterServiceV20170117", "NotifyWorkers", {})
|
|
1621
|
-
.n("MTurkClient", "NotifyWorkersCommand")
|
|
1622
|
-
.sc(NotifyWorkers$)
|
|
1623
|
-
.build() {
|
|
1359
|
+
class NotifyWorkersCommand extends command(_ep0, _mw0, "NotifyWorkers", NotifyWorkers$) {
|
|
1624
1360
|
}
|
|
1625
1361
|
|
|
1626
|
-
class RejectAssignmentCommand extends
|
|
1627
|
-
.classBuilder()
|
|
1628
|
-
.ep(commonParams)
|
|
1629
|
-
.m(function (Command, cs, config, o) {
|
|
1630
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1631
|
-
})
|
|
1632
|
-
.s("MTurkRequesterServiceV20170117", "RejectAssignment", {})
|
|
1633
|
-
.n("MTurkClient", "RejectAssignmentCommand")
|
|
1634
|
-
.sc(RejectAssignment$)
|
|
1635
|
-
.build() {
|
|
1362
|
+
class RejectAssignmentCommand extends command(_ep0, _mw0, "RejectAssignment", RejectAssignment$) {
|
|
1636
1363
|
}
|
|
1637
1364
|
|
|
1638
|
-
class RejectQualificationRequestCommand extends
|
|
1639
|
-
.classBuilder()
|
|
1640
|
-
.ep(commonParams)
|
|
1641
|
-
.m(function (Command, cs, config, o) {
|
|
1642
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1643
|
-
})
|
|
1644
|
-
.s("MTurkRequesterServiceV20170117", "RejectQualificationRequest", {})
|
|
1645
|
-
.n("MTurkClient", "RejectQualificationRequestCommand")
|
|
1646
|
-
.sc(RejectQualificationRequest$)
|
|
1647
|
-
.build() {
|
|
1365
|
+
class RejectQualificationRequestCommand extends command(_ep0, _mw0, "RejectQualificationRequest", RejectQualificationRequest$) {
|
|
1648
1366
|
}
|
|
1649
1367
|
|
|
1650
|
-
class SendBonusCommand extends
|
|
1651
|
-
.classBuilder()
|
|
1652
|
-
.ep(commonParams)
|
|
1653
|
-
.m(function (Command, cs, config, o) {
|
|
1654
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1655
|
-
})
|
|
1656
|
-
.s("MTurkRequesterServiceV20170117", "SendBonus", {})
|
|
1657
|
-
.n("MTurkClient", "SendBonusCommand")
|
|
1658
|
-
.sc(SendBonus$)
|
|
1659
|
-
.build() {
|
|
1368
|
+
class SendBonusCommand extends command(_ep0, _mw0, "SendBonus", SendBonus$) {
|
|
1660
1369
|
}
|
|
1661
1370
|
|
|
1662
|
-
class SendTestEventNotificationCommand extends
|
|
1663
|
-
.classBuilder()
|
|
1664
|
-
.ep(commonParams)
|
|
1665
|
-
.m(function (Command, cs, config, o) {
|
|
1666
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1667
|
-
})
|
|
1668
|
-
.s("MTurkRequesterServiceV20170117", "SendTestEventNotification", {})
|
|
1669
|
-
.n("MTurkClient", "SendTestEventNotificationCommand")
|
|
1670
|
-
.sc(SendTestEventNotification$)
|
|
1671
|
-
.build() {
|
|
1371
|
+
class SendTestEventNotificationCommand extends command(_ep0, _mw0, "SendTestEventNotification", SendTestEventNotification$) {
|
|
1672
1372
|
}
|
|
1673
1373
|
|
|
1674
|
-
class UpdateExpirationForHITCommand extends
|
|
1675
|
-
.classBuilder()
|
|
1676
|
-
.ep(commonParams)
|
|
1677
|
-
.m(function (Command, cs, config, o) {
|
|
1678
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1679
|
-
})
|
|
1680
|
-
.s("MTurkRequesterServiceV20170117", "UpdateExpirationForHIT", {})
|
|
1681
|
-
.n("MTurkClient", "UpdateExpirationForHITCommand")
|
|
1682
|
-
.sc(UpdateExpirationForHIT$)
|
|
1683
|
-
.build() {
|
|
1374
|
+
class UpdateExpirationForHITCommand extends command(_ep0, _mw0, "UpdateExpirationForHIT", UpdateExpirationForHIT$) {
|
|
1684
1375
|
}
|
|
1685
1376
|
|
|
1686
|
-
class UpdateHITReviewStatusCommand extends
|
|
1687
|
-
.classBuilder()
|
|
1688
|
-
.ep(commonParams)
|
|
1689
|
-
.m(function (Command, cs, config, o) {
|
|
1690
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1691
|
-
})
|
|
1692
|
-
.s("MTurkRequesterServiceV20170117", "UpdateHITReviewStatus", {})
|
|
1693
|
-
.n("MTurkClient", "UpdateHITReviewStatusCommand")
|
|
1694
|
-
.sc(UpdateHITReviewStatus$)
|
|
1695
|
-
.build() {
|
|
1377
|
+
class UpdateHITReviewStatusCommand extends command(_ep0, _mw0, "UpdateHITReviewStatus", UpdateHITReviewStatus$) {
|
|
1696
1378
|
}
|
|
1697
1379
|
|
|
1698
|
-
class UpdateHITTypeOfHITCommand extends
|
|
1699
|
-
.classBuilder()
|
|
1700
|
-
.ep(commonParams)
|
|
1701
|
-
.m(function (Command, cs, config, o) {
|
|
1702
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1703
|
-
})
|
|
1704
|
-
.s("MTurkRequesterServiceV20170117", "UpdateHITTypeOfHIT", {})
|
|
1705
|
-
.n("MTurkClient", "UpdateHITTypeOfHITCommand")
|
|
1706
|
-
.sc(UpdateHITTypeOfHIT$)
|
|
1707
|
-
.build() {
|
|
1380
|
+
class UpdateHITTypeOfHITCommand extends command(_ep0, _mw0, "UpdateHITTypeOfHIT", UpdateHITTypeOfHIT$) {
|
|
1708
1381
|
}
|
|
1709
1382
|
|
|
1710
|
-
class UpdateNotificationSettingsCommand extends
|
|
1711
|
-
.classBuilder()
|
|
1712
|
-
.ep(commonParams)
|
|
1713
|
-
.m(function (Command, cs, config, o) {
|
|
1714
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1715
|
-
})
|
|
1716
|
-
.s("MTurkRequesterServiceV20170117", "UpdateNotificationSettings", {})
|
|
1717
|
-
.n("MTurkClient", "UpdateNotificationSettingsCommand")
|
|
1718
|
-
.sc(UpdateNotificationSettings$)
|
|
1719
|
-
.build() {
|
|
1383
|
+
class UpdateNotificationSettingsCommand extends command(_ep0, _mw0, "UpdateNotificationSettings", UpdateNotificationSettings$) {
|
|
1720
1384
|
}
|
|
1721
1385
|
|
|
1722
|
-
class UpdateQualificationTypeCommand extends
|
|
1723
|
-
.classBuilder()
|
|
1724
|
-
.ep(commonParams)
|
|
1725
|
-
.m(function (Command, cs, config, o) {
|
|
1726
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1727
|
-
})
|
|
1728
|
-
.s("MTurkRequesterServiceV20170117", "UpdateQualificationType", {})
|
|
1729
|
-
.n("MTurkClient", "UpdateQualificationTypeCommand")
|
|
1730
|
-
.sc(UpdateQualificationType$)
|
|
1731
|
-
.build() {
|
|
1386
|
+
class UpdateQualificationTypeCommand extends command(_ep0, _mw0, "UpdateQualificationType", UpdateQualificationType$) {
|
|
1732
1387
|
}
|
|
1733
1388
|
|
|
1734
1389
|
const paginateListAssignmentsForHIT = createPaginator(MTurkClient, ListAssignmentsForHITCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "MTurkRequesterServiceV20170117", "MTurkClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { AcceptQualificationRequest$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AcceptQualificationRequestCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MTurkRequesterServiceV20170117", "AcceptQualificationRequest", {})
|
|
13
|
-
.n("MTurkClient", "AcceptQualificationRequestCommand")
|
|
14
|
-
.sc(AcceptQualificationRequest$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class AcceptQualificationRequestCommand extends command(_ep0, _mw0, "AcceptQualificationRequest", AcceptQualificationRequest$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ApproveAssignment$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ApproveAssignmentCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MTurkRequesterServiceV20170117", "ApproveAssignment", {})
|
|
13
|
-
.n("MTurkClient", "ApproveAssignmentCommand")
|
|
14
|
-
.sc(ApproveAssignment$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ApproveAssignmentCommand extends command(_ep0, _mw0, "ApproveAssignment", ApproveAssignment$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { AssociateQualificationWithWorker$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AssociateQualificationWithWorkerCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MTurkRequesterServiceV20170117", "AssociateQualificationWithWorker", {})
|
|
13
|
-
.n("MTurkClient", "AssociateQualificationWithWorkerCommand")
|
|
14
|
-
.sc(AssociateQualificationWithWorker$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class AssociateQualificationWithWorkerCommand extends command(_ep0, _mw0, "AssociateQualificationWithWorker", AssociateQualificationWithWorker$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateAdditionalAssignmentsForHIT$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateAdditionalAssignmentsForHITCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MTurkRequesterServiceV20170117", "CreateAdditionalAssignmentsForHIT", {})
|
|
13
|
-
.n("MTurkClient", "CreateAdditionalAssignmentsForHITCommand")
|
|
14
|
-
.sc(CreateAdditionalAssignmentsForHIT$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateAdditionalAssignmentsForHITCommand extends command(_ep0, _mw0, "CreateAdditionalAssignmentsForHIT", CreateAdditionalAssignmentsForHIT$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateHIT$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateHITCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("MTurkRequesterServiceV20170117", "CreateHIT", {})
|
|
13
|
-
.n("MTurkClient", "CreateHITCommand")
|
|
14
|
-
.sc(CreateHIT$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateHITCommand extends command(_ep0, _mw0, "CreateHIT", CreateHIT$) {
|
|
16
4
|
}
|