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