@aws-sdk/client-mturk 3.716.0 → 3.723.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 +189 -137
- package/dist-es/MTurkClient.js +1 -0
- package/dist-es/models/models_0.js +8 -4
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -188,7 +188,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
188
188
|
}, "resolveRuntimeExtensions");
|
|
189
189
|
|
|
190
190
|
// src/MTurkClient.ts
|
|
191
|
-
var
|
|
191
|
+
var MTurkClient = class extends import_smithy_client.Client {
|
|
192
|
+
static {
|
|
193
|
+
__name(this, "MTurkClient");
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* The resolved configuration of MTurkClient class. This is resolved and normalized from the {@link MTurkClientConfig | constructor configuration interface}.
|
|
197
|
+
*/
|
|
198
|
+
config;
|
|
192
199
|
constructor(...[configuration]) {
|
|
193
200
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
194
201
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -198,7 +205,7 @@ var _MTurkClient = class _MTurkClient extends import_smithy_client.Client {
|
|
|
198
205
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
199
206
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
200
207
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
201
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
208
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
202
209
|
super(_config_8);
|
|
203
210
|
this.config = _config_8;
|
|
204
211
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -226,8 +233,6 @@ var _MTurkClient = class _MTurkClient extends import_smithy_client.Client {
|
|
|
226
233
|
super.destroy();
|
|
227
234
|
}
|
|
228
235
|
};
|
|
229
|
-
__name(_MTurkClient, "MTurkClient");
|
|
230
|
-
var MTurkClient = _MTurkClient;
|
|
231
236
|
|
|
232
237
|
// src/MTurk.ts
|
|
233
238
|
|
|
@@ -244,7 +249,10 @@ var import_core2 = require("@aws-sdk/core");
|
|
|
244
249
|
|
|
245
250
|
// src/models/MTurkServiceException.ts
|
|
246
251
|
|
|
247
|
-
var
|
|
252
|
+
var MTurkServiceException = class _MTurkServiceException extends import_smithy_client.ServiceException {
|
|
253
|
+
static {
|
|
254
|
+
__name(this, "MTurkServiceException");
|
|
255
|
+
}
|
|
248
256
|
/**
|
|
249
257
|
* @internal
|
|
250
258
|
*/
|
|
@@ -253,11 +261,16 @@ var _MTurkServiceException = class _MTurkServiceException extends import_smithy_
|
|
|
253
261
|
Object.setPrototypeOf(this, _MTurkServiceException.prototype);
|
|
254
262
|
}
|
|
255
263
|
};
|
|
256
|
-
__name(_MTurkServiceException, "MTurkServiceException");
|
|
257
|
-
var MTurkServiceException = _MTurkServiceException;
|
|
258
264
|
|
|
259
265
|
// src/models/models_0.ts
|
|
260
|
-
var
|
|
266
|
+
var RequestError = class _RequestError extends MTurkServiceException {
|
|
267
|
+
static {
|
|
268
|
+
__name(this, "RequestError");
|
|
269
|
+
}
|
|
270
|
+
name = "RequestError";
|
|
271
|
+
$fault = "client";
|
|
272
|
+
Message;
|
|
273
|
+
TurkErrorCode;
|
|
261
274
|
/**
|
|
262
275
|
* @internal
|
|
263
276
|
*/
|
|
@@ -267,16 +280,19 @@ var _RequestError = class _RequestError extends MTurkServiceException {
|
|
|
267
280
|
$fault: "client",
|
|
268
281
|
...opts
|
|
269
282
|
});
|
|
270
|
-
this.name = "RequestError";
|
|
271
|
-
this.$fault = "client";
|
|
272
283
|
Object.setPrototypeOf(this, _RequestError.prototype);
|
|
273
284
|
this.Message = opts.Message;
|
|
274
285
|
this.TurkErrorCode = opts.TurkErrorCode;
|
|
275
286
|
}
|
|
276
287
|
};
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
288
|
+
var ServiceFault = class _ServiceFault extends MTurkServiceException {
|
|
289
|
+
static {
|
|
290
|
+
__name(this, "ServiceFault");
|
|
291
|
+
}
|
|
292
|
+
name = "ServiceFault";
|
|
293
|
+
$fault = "server";
|
|
294
|
+
Message;
|
|
295
|
+
TurkErrorCode;
|
|
280
296
|
/**
|
|
281
297
|
* @internal
|
|
282
298
|
*/
|
|
@@ -286,15 +302,11 @@ var _ServiceFault = class _ServiceFault extends MTurkServiceException {
|
|
|
286
302
|
$fault: "server",
|
|
287
303
|
...opts
|
|
288
304
|
});
|
|
289
|
-
this.name = "ServiceFault";
|
|
290
|
-
this.$fault = "server";
|
|
291
305
|
Object.setPrototypeOf(this, _ServiceFault.prototype);
|
|
292
306
|
this.Message = opts.Message;
|
|
293
307
|
this.TurkErrorCode = opts.TurkErrorCode;
|
|
294
308
|
}
|
|
295
309
|
};
|
|
296
|
-
__name(_ServiceFault, "ServiceFault");
|
|
297
|
-
var ServiceFault = _ServiceFault;
|
|
298
310
|
var AssignmentStatus = {
|
|
299
311
|
Approved: "Approved",
|
|
300
312
|
Rejected: "Rejected",
|
|
@@ -1452,547 +1464,586 @@ function sharedHeaders(operation) {
|
|
|
1452
1464
|
__name(sharedHeaders, "sharedHeaders");
|
|
1453
1465
|
|
|
1454
1466
|
// src/commands/AcceptQualificationRequestCommand.ts
|
|
1455
|
-
var
|
|
1467
|
+
var AcceptQualificationRequestCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1456
1468
|
return [
|
|
1457
1469
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1458
1470
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1459
1471
|
];
|
|
1460
1472
|
}).s("MTurkRequesterServiceV20170117", "AcceptQualificationRequest", {}).n("MTurkClient", "AcceptQualificationRequestCommand").f(void 0, void 0).ser(se_AcceptQualificationRequestCommand).de(de_AcceptQualificationRequestCommand).build() {
|
|
1473
|
+
static {
|
|
1474
|
+
__name(this, "AcceptQualificationRequestCommand");
|
|
1475
|
+
}
|
|
1461
1476
|
};
|
|
1462
|
-
__name(_AcceptQualificationRequestCommand, "AcceptQualificationRequestCommand");
|
|
1463
|
-
var AcceptQualificationRequestCommand = _AcceptQualificationRequestCommand;
|
|
1464
1477
|
|
|
1465
1478
|
// src/commands/ApproveAssignmentCommand.ts
|
|
1466
1479
|
|
|
1467
1480
|
|
|
1468
1481
|
|
|
1469
|
-
var
|
|
1482
|
+
var ApproveAssignmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1470
1483
|
return [
|
|
1471
1484
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1472
1485
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1473
1486
|
];
|
|
1474
1487
|
}).s("MTurkRequesterServiceV20170117", "ApproveAssignment", {}).n("MTurkClient", "ApproveAssignmentCommand").f(void 0, void 0).ser(se_ApproveAssignmentCommand).de(de_ApproveAssignmentCommand).build() {
|
|
1488
|
+
static {
|
|
1489
|
+
__name(this, "ApproveAssignmentCommand");
|
|
1490
|
+
}
|
|
1475
1491
|
};
|
|
1476
|
-
__name(_ApproveAssignmentCommand, "ApproveAssignmentCommand");
|
|
1477
|
-
var ApproveAssignmentCommand = _ApproveAssignmentCommand;
|
|
1478
1492
|
|
|
1479
1493
|
// src/commands/AssociateQualificationWithWorkerCommand.ts
|
|
1480
1494
|
|
|
1481
1495
|
|
|
1482
1496
|
|
|
1483
|
-
var
|
|
1497
|
+
var AssociateQualificationWithWorkerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1484
1498
|
return [
|
|
1485
1499
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1486
1500
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1487
1501
|
];
|
|
1488
1502
|
}).s("MTurkRequesterServiceV20170117", "AssociateQualificationWithWorker", {}).n("MTurkClient", "AssociateQualificationWithWorkerCommand").f(void 0, void 0).ser(se_AssociateQualificationWithWorkerCommand).de(de_AssociateQualificationWithWorkerCommand).build() {
|
|
1503
|
+
static {
|
|
1504
|
+
__name(this, "AssociateQualificationWithWorkerCommand");
|
|
1505
|
+
}
|
|
1489
1506
|
};
|
|
1490
|
-
__name(_AssociateQualificationWithWorkerCommand, "AssociateQualificationWithWorkerCommand");
|
|
1491
|
-
var AssociateQualificationWithWorkerCommand = _AssociateQualificationWithWorkerCommand;
|
|
1492
1507
|
|
|
1493
1508
|
// src/commands/CreateAdditionalAssignmentsForHITCommand.ts
|
|
1494
1509
|
|
|
1495
1510
|
|
|
1496
1511
|
|
|
1497
|
-
var
|
|
1512
|
+
var CreateAdditionalAssignmentsForHITCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1498
1513
|
return [
|
|
1499
1514
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1500
1515
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1501
1516
|
];
|
|
1502
1517
|
}).s("MTurkRequesterServiceV20170117", "CreateAdditionalAssignmentsForHIT", {}).n("MTurkClient", "CreateAdditionalAssignmentsForHITCommand").f(void 0, void 0).ser(se_CreateAdditionalAssignmentsForHITCommand).de(de_CreateAdditionalAssignmentsForHITCommand).build() {
|
|
1518
|
+
static {
|
|
1519
|
+
__name(this, "CreateAdditionalAssignmentsForHITCommand");
|
|
1520
|
+
}
|
|
1503
1521
|
};
|
|
1504
|
-
__name(_CreateAdditionalAssignmentsForHITCommand, "CreateAdditionalAssignmentsForHITCommand");
|
|
1505
|
-
var CreateAdditionalAssignmentsForHITCommand = _CreateAdditionalAssignmentsForHITCommand;
|
|
1506
1522
|
|
|
1507
1523
|
// src/commands/CreateHITCommand.ts
|
|
1508
1524
|
|
|
1509
1525
|
|
|
1510
1526
|
|
|
1511
|
-
var
|
|
1527
|
+
var CreateHITCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1512
1528
|
return [
|
|
1513
1529
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1514
1530
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1515
1531
|
];
|
|
1516
1532
|
}).s("MTurkRequesterServiceV20170117", "CreateHIT", {}).n("MTurkClient", "CreateHITCommand").f(void 0, void 0).ser(se_CreateHITCommand).de(de_CreateHITCommand).build() {
|
|
1533
|
+
static {
|
|
1534
|
+
__name(this, "CreateHITCommand");
|
|
1535
|
+
}
|
|
1517
1536
|
};
|
|
1518
|
-
__name(_CreateHITCommand, "CreateHITCommand");
|
|
1519
|
-
var CreateHITCommand = _CreateHITCommand;
|
|
1520
1537
|
|
|
1521
1538
|
// src/commands/CreateHITTypeCommand.ts
|
|
1522
1539
|
|
|
1523
1540
|
|
|
1524
1541
|
|
|
1525
|
-
var
|
|
1542
|
+
var CreateHITTypeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1526
1543
|
return [
|
|
1527
1544
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1528
1545
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1529
1546
|
];
|
|
1530
1547
|
}).s("MTurkRequesterServiceV20170117", "CreateHITType", {}).n("MTurkClient", "CreateHITTypeCommand").f(void 0, void 0).ser(se_CreateHITTypeCommand).de(de_CreateHITTypeCommand).build() {
|
|
1548
|
+
static {
|
|
1549
|
+
__name(this, "CreateHITTypeCommand");
|
|
1550
|
+
}
|
|
1531
1551
|
};
|
|
1532
|
-
__name(_CreateHITTypeCommand, "CreateHITTypeCommand");
|
|
1533
|
-
var CreateHITTypeCommand = _CreateHITTypeCommand;
|
|
1534
1552
|
|
|
1535
1553
|
// src/commands/CreateHITWithHITTypeCommand.ts
|
|
1536
1554
|
|
|
1537
1555
|
|
|
1538
1556
|
|
|
1539
|
-
var
|
|
1557
|
+
var CreateHITWithHITTypeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1540
1558
|
return [
|
|
1541
1559
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1542
1560
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1543
1561
|
];
|
|
1544
1562
|
}).s("MTurkRequesterServiceV20170117", "CreateHITWithHITType", {}).n("MTurkClient", "CreateHITWithHITTypeCommand").f(void 0, void 0).ser(se_CreateHITWithHITTypeCommand).de(de_CreateHITWithHITTypeCommand).build() {
|
|
1563
|
+
static {
|
|
1564
|
+
__name(this, "CreateHITWithHITTypeCommand");
|
|
1565
|
+
}
|
|
1545
1566
|
};
|
|
1546
|
-
__name(_CreateHITWithHITTypeCommand, "CreateHITWithHITTypeCommand");
|
|
1547
|
-
var CreateHITWithHITTypeCommand = _CreateHITWithHITTypeCommand;
|
|
1548
1567
|
|
|
1549
1568
|
// src/commands/CreateQualificationTypeCommand.ts
|
|
1550
1569
|
|
|
1551
1570
|
|
|
1552
1571
|
|
|
1553
|
-
var
|
|
1572
|
+
var CreateQualificationTypeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1554
1573
|
return [
|
|
1555
1574
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1556
1575
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1557
1576
|
];
|
|
1558
1577
|
}).s("MTurkRequesterServiceV20170117", "CreateQualificationType", {}).n("MTurkClient", "CreateQualificationTypeCommand").f(void 0, void 0).ser(se_CreateQualificationTypeCommand).de(de_CreateQualificationTypeCommand).build() {
|
|
1578
|
+
static {
|
|
1579
|
+
__name(this, "CreateQualificationTypeCommand");
|
|
1580
|
+
}
|
|
1559
1581
|
};
|
|
1560
|
-
__name(_CreateQualificationTypeCommand, "CreateQualificationTypeCommand");
|
|
1561
|
-
var CreateQualificationTypeCommand = _CreateQualificationTypeCommand;
|
|
1562
1582
|
|
|
1563
1583
|
// src/commands/CreateWorkerBlockCommand.ts
|
|
1564
1584
|
|
|
1565
1585
|
|
|
1566
1586
|
|
|
1567
|
-
var
|
|
1587
|
+
var CreateWorkerBlockCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1568
1588
|
return [
|
|
1569
1589
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1570
1590
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1571
1591
|
];
|
|
1572
1592
|
}).s("MTurkRequesterServiceV20170117", "CreateWorkerBlock", {}).n("MTurkClient", "CreateWorkerBlockCommand").f(void 0, void 0).ser(se_CreateWorkerBlockCommand).de(de_CreateWorkerBlockCommand).build() {
|
|
1593
|
+
static {
|
|
1594
|
+
__name(this, "CreateWorkerBlockCommand");
|
|
1595
|
+
}
|
|
1573
1596
|
};
|
|
1574
|
-
__name(_CreateWorkerBlockCommand, "CreateWorkerBlockCommand");
|
|
1575
|
-
var CreateWorkerBlockCommand = _CreateWorkerBlockCommand;
|
|
1576
1597
|
|
|
1577
1598
|
// src/commands/DeleteHITCommand.ts
|
|
1578
1599
|
|
|
1579
1600
|
|
|
1580
1601
|
|
|
1581
|
-
var
|
|
1602
|
+
var DeleteHITCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1582
1603
|
return [
|
|
1583
1604
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1584
1605
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1585
1606
|
];
|
|
1586
1607
|
}).s("MTurkRequesterServiceV20170117", "DeleteHIT", {}).n("MTurkClient", "DeleteHITCommand").f(void 0, void 0).ser(se_DeleteHITCommand).de(de_DeleteHITCommand).build() {
|
|
1608
|
+
static {
|
|
1609
|
+
__name(this, "DeleteHITCommand");
|
|
1610
|
+
}
|
|
1587
1611
|
};
|
|
1588
|
-
__name(_DeleteHITCommand, "DeleteHITCommand");
|
|
1589
|
-
var DeleteHITCommand = _DeleteHITCommand;
|
|
1590
1612
|
|
|
1591
1613
|
// src/commands/DeleteQualificationTypeCommand.ts
|
|
1592
1614
|
|
|
1593
1615
|
|
|
1594
1616
|
|
|
1595
|
-
var
|
|
1617
|
+
var DeleteQualificationTypeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1596
1618
|
return [
|
|
1597
1619
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1598
1620
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1599
1621
|
];
|
|
1600
1622
|
}).s("MTurkRequesterServiceV20170117", "DeleteQualificationType", {}).n("MTurkClient", "DeleteQualificationTypeCommand").f(void 0, void 0).ser(se_DeleteQualificationTypeCommand).de(de_DeleteQualificationTypeCommand).build() {
|
|
1623
|
+
static {
|
|
1624
|
+
__name(this, "DeleteQualificationTypeCommand");
|
|
1625
|
+
}
|
|
1601
1626
|
};
|
|
1602
|
-
__name(_DeleteQualificationTypeCommand, "DeleteQualificationTypeCommand");
|
|
1603
|
-
var DeleteQualificationTypeCommand = _DeleteQualificationTypeCommand;
|
|
1604
1627
|
|
|
1605
1628
|
// src/commands/DeleteWorkerBlockCommand.ts
|
|
1606
1629
|
|
|
1607
1630
|
|
|
1608
1631
|
|
|
1609
|
-
var
|
|
1632
|
+
var DeleteWorkerBlockCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1610
1633
|
return [
|
|
1611
1634
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1612
1635
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1613
1636
|
];
|
|
1614
1637
|
}).s("MTurkRequesterServiceV20170117", "DeleteWorkerBlock", {}).n("MTurkClient", "DeleteWorkerBlockCommand").f(void 0, void 0).ser(se_DeleteWorkerBlockCommand).de(de_DeleteWorkerBlockCommand).build() {
|
|
1638
|
+
static {
|
|
1639
|
+
__name(this, "DeleteWorkerBlockCommand");
|
|
1640
|
+
}
|
|
1615
1641
|
};
|
|
1616
|
-
__name(_DeleteWorkerBlockCommand, "DeleteWorkerBlockCommand");
|
|
1617
|
-
var DeleteWorkerBlockCommand = _DeleteWorkerBlockCommand;
|
|
1618
1642
|
|
|
1619
1643
|
// src/commands/DisassociateQualificationFromWorkerCommand.ts
|
|
1620
1644
|
|
|
1621
1645
|
|
|
1622
1646
|
|
|
1623
|
-
var
|
|
1647
|
+
var DisassociateQualificationFromWorkerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1624
1648
|
return [
|
|
1625
1649
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1626
1650
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1627
1651
|
];
|
|
1628
1652
|
}).s("MTurkRequesterServiceV20170117", "DisassociateQualificationFromWorker", {}).n("MTurkClient", "DisassociateQualificationFromWorkerCommand").f(void 0, void 0).ser(se_DisassociateQualificationFromWorkerCommand).de(de_DisassociateQualificationFromWorkerCommand).build() {
|
|
1653
|
+
static {
|
|
1654
|
+
__name(this, "DisassociateQualificationFromWorkerCommand");
|
|
1655
|
+
}
|
|
1629
1656
|
};
|
|
1630
|
-
__name(_DisassociateQualificationFromWorkerCommand, "DisassociateQualificationFromWorkerCommand");
|
|
1631
|
-
var DisassociateQualificationFromWorkerCommand = _DisassociateQualificationFromWorkerCommand;
|
|
1632
1657
|
|
|
1633
1658
|
// src/commands/GetAccountBalanceCommand.ts
|
|
1634
1659
|
|
|
1635
1660
|
|
|
1636
1661
|
|
|
1637
|
-
var
|
|
1662
|
+
var GetAccountBalanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1638
1663
|
return [
|
|
1639
1664
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1640
1665
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1641
1666
|
];
|
|
1642
1667
|
}).s("MTurkRequesterServiceV20170117", "GetAccountBalance", {}).n("MTurkClient", "GetAccountBalanceCommand").f(void 0, void 0).ser(se_GetAccountBalanceCommand).de(de_GetAccountBalanceCommand).build() {
|
|
1668
|
+
static {
|
|
1669
|
+
__name(this, "GetAccountBalanceCommand");
|
|
1670
|
+
}
|
|
1643
1671
|
};
|
|
1644
|
-
__name(_GetAccountBalanceCommand, "GetAccountBalanceCommand");
|
|
1645
|
-
var GetAccountBalanceCommand = _GetAccountBalanceCommand;
|
|
1646
1672
|
|
|
1647
1673
|
// src/commands/GetAssignmentCommand.ts
|
|
1648
1674
|
|
|
1649
1675
|
|
|
1650
1676
|
|
|
1651
|
-
var
|
|
1677
|
+
var GetAssignmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1652
1678
|
return [
|
|
1653
1679
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1654
1680
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1655
1681
|
];
|
|
1656
1682
|
}).s("MTurkRequesterServiceV20170117", "GetAssignment", {}).n("MTurkClient", "GetAssignmentCommand").f(void 0, void 0).ser(se_GetAssignmentCommand).de(de_GetAssignmentCommand).build() {
|
|
1683
|
+
static {
|
|
1684
|
+
__name(this, "GetAssignmentCommand");
|
|
1685
|
+
}
|
|
1657
1686
|
};
|
|
1658
|
-
__name(_GetAssignmentCommand, "GetAssignmentCommand");
|
|
1659
|
-
var GetAssignmentCommand = _GetAssignmentCommand;
|
|
1660
1687
|
|
|
1661
1688
|
// src/commands/GetFileUploadURLCommand.ts
|
|
1662
1689
|
|
|
1663
1690
|
|
|
1664
1691
|
|
|
1665
|
-
var
|
|
1692
|
+
var GetFileUploadURLCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1666
1693
|
return [
|
|
1667
1694
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1668
1695
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1669
1696
|
];
|
|
1670
1697
|
}).s("MTurkRequesterServiceV20170117", "GetFileUploadURL", {}).n("MTurkClient", "GetFileUploadURLCommand").f(void 0, void 0).ser(se_GetFileUploadURLCommand).de(de_GetFileUploadURLCommand).build() {
|
|
1698
|
+
static {
|
|
1699
|
+
__name(this, "GetFileUploadURLCommand");
|
|
1700
|
+
}
|
|
1671
1701
|
};
|
|
1672
|
-
__name(_GetFileUploadURLCommand, "GetFileUploadURLCommand");
|
|
1673
|
-
var GetFileUploadURLCommand = _GetFileUploadURLCommand;
|
|
1674
1702
|
|
|
1675
1703
|
// src/commands/GetHITCommand.ts
|
|
1676
1704
|
|
|
1677
1705
|
|
|
1678
1706
|
|
|
1679
|
-
var
|
|
1707
|
+
var GetHITCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1680
1708
|
return [
|
|
1681
1709
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1682
1710
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1683
1711
|
];
|
|
1684
1712
|
}).s("MTurkRequesterServiceV20170117", "GetHIT", {}).n("MTurkClient", "GetHITCommand").f(void 0, void 0).ser(se_GetHITCommand).de(de_GetHITCommand).build() {
|
|
1713
|
+
static {
|
|
1714
|
+
__name(this, "GetHITCommand");
|
|
1715
|
+
}
|
|
1685
1716
|
};
|
|
1686
|
-
__name(_GetHITCommand, "GetHITCommand");
|
|
1687
|
-
var GetHITCommand = _GetHITCommand;
|
|
1688
1717
|
|
|
1689
1718
|
// src/commands/GetQualificationScoreCommand.ts
|
|
1690
1719
|
|
|
1691
1720
|
|
|
1692
1721
|
|
|
1693
|
-
var
|
|
1722
|
+
var GetQualificationScoreCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1694
1723
|
return [
|
|
1695
1724
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1696
1725
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1697
1726
|
];
|
|
1698
1727
|
}).s("MTurkRequesterServiceV20170117", "GetQualificationScore", {}).n("MTurkClient", "GetQualificationScoreCommand").f(void 0, void 0).ser(se_GetQualificationScoreCommand).de(de_GetQualificationScoreCommand).build() {
|
|
1728
|
+
static {
|
|
1729
|
+
__name(this, "GetQualificationScoreCommand");
|
|
1730
|
+
}
|
|
1699
1731
|
};
|
|
1700
|
-
__name(_GetQualificationScoreCommand, "GetQualificationScoreCommand");
|
|
1701
|
-
var GetQualificationScoreCommand = _GetQualificationScoreCommand;
|
|
1702
1732
|
|
|
1703
1733
|
// src/commands/GetQualificationTypeCommand.ts
|
|
1704
1734
|
|
|
1705
1735
|
|
|
1706
1736
|
|
|
1707
|
-
var
|
|
1737
|
+
var GetQualificationTypeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1708
1738
|
return [
|
|
1709
1739
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1710
1740
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1711
1741
|
];
|
|
1712
1742
|
}).s("MTurkRequesterServiceV20170117", "GetQualificationType", {}).n("MTurkClient", "GetQualificationTypeCommand").f(void 0, void 0).ser(se_GetQualificationTypeCommand).de(de_GetQualificationTypeCommand).build() {
|
|
1743
|
+
static {
|
|
1744
|
+
__name(this, "GetQualificationTypeCommand");
|
|
1745
|
+
}
|
|
1713
1746
|
};
|
|
1714
|
-
__name(_GetQualificationTypeCommand, "GetQualificationTypeCommand");
|
|
1715
|
-
var GetQualificationTypeCommand = _GetQualificationTypeCommand;
|
|
1716
1747
|
|
|
1717
1748
|
// src/commands/ListAssignmentsForHITCommand.ts
|
|
1718
1749
|
|
|
1719
1750
|
|
|
1720
1751
|
|
|
1721
|
-
var
|
|
1752
|
+
var ListAssignmentsForHITCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1722
1753
|
return [
|
|
1723
1754
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1724
1755
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1725
1756
|
];
|
|
1726
1757
|
}).s("MTurkRequesterServiceV20170117", "ListAssignmentsForHIT", {}).n("MTurkClient", "ListAssignmentsForHITCommand").f(void 0, void 0).ser(se_ListAssignmentsForHITCommand).de(de_ListAssignmentsForHITCommand).build() {
|
|
1758
|
+
static {
|
|
1759
|
+
__name(this, "ListAssignmentsForHITCommand");
|
|
1760
|
+
}
|
|
1727
1761
|
};
|
|
1728
|
-
__name(_ListAssignmentsForHITCommand, "ListAssignmentsForHITCommand");
|
|
1729
|
-
var ListAssignmentsForHITCommand = _ListAssignmentsForHITCommand;
|
|
1730
1762
|
|
|
1731
1763
|
// src/commands/ListBonusPaymentsCommand.ts
|
|
1732
1764
|
|
|
1733
1765
|
|
|
1734
1766
|
|
|
1735
|
-
var
|
|
1767
|
+
var ListBonusPaymentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1736
1768
|
return [
|
|
1737
1769
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1738
1770
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1739
1771
|
];
|
|
1740
1772
|
}).s("MTurkRequesterServiceV20170117", "ListBonusPayments", {}).n("MTurkClient", "ListBonusPaymentsCommand").f(void 0, void 0).ser(se_ListBonusPaymentsCommand).de(de_ListBonusPaymentsCommand).build() {
|
|
1773
|
+
static {
|
|
1774
|
+
__name(this, "ListBonusPaymentsCommand");
|
|
1775
|
+
}
|
|
1741
1776
|
};
|
|
1742
|
-
__name(_ListBonusPaymentsCommand, "ListBonusPaymentsCommand");
|
|
1743
|
-
var ListBonusPaymentsCommand = _ListBonusPaymentsCommand;
|
|
1744
1777
|
|
|
1745
1778
|
// src/commands/ListHITsCommand.ts
|
|
1746
1779
|
|
|
1747
1780
|
|
|
1748
1781
|
|
|
1749
|
-
var
|
|
1782
|
+
var ListHITsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1750
1783
|
return [
|
|
1751
1784
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1752
1785
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1753
1786
|
];
|
|
1754
1787
|
}).s("MTurkRequesterServiceV20170117", "ListHITs", {}).n("MTurkClient", "ListHITsCommand").f(void 0, void 0).ser(se_ListHITsCommand).de(de_ListHITsCommand).build() {
|
|
1788
|
+
static {
|
|
1789
|
+
__name(this, "ListHITsCommand");
|
|
1790
|
+
}
|
|
1755
1791
|
};
|
|
1756
|
-
__name(_ListHITsCommand, "ListHITsCommand");
|
|
1757
|
-
var ListHITsCommand = _ListHITsCommand;
|
|
1758
1792
|
|
|
1759
1793
|
// src/commands/ListHITsForQualificationTypeCommand.ts
|
|
1760
1794
|
|
|
1761
1795
|
|
|
1762
1796
|
|
|
1763
|
-
var
|
|
1797
|
+
var ListHITsForQualificationTypeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1764
1798
|
return [
|
|
1765
1799
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1766
1800
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1767
1801
|
];
|
|
1768
1802
|
}).s("MTurkRequesterServiceV20170117", "ListHITsForQualificationType", {}).n("MTurkClient", "ListHITsForQualificationTypeCommand").f(void 0, void 0).ser(se_ListHITsForQualificationTypeCommand).de(de_ListHITsForQualificationTypeCommand).build() {
|
|
1803
|
+
static {
|
|
1804
|
+
__name(this, "ListHITsForQualificationTypeCommand");
|
|
1805
|
+
}
|
|
1769
1806
|
};
|
|
1770
|
-
__name(_ListHITsForQualificationTypeCommand, "ListHITsForQualificationTypeCommand");
|
|
1771
|
-
var ListHITsForQualificationTypeCommand = _ListHITsForQualificationTypeCommand;
|
|
1772
1807
|
|
|
1773
1808
|
// src/commands/ListQualificationRequestsCommand.ts
|
|
1774
1809
|
|
|
1775
1810
|
|
|
1776
1811
|
|
|
1777
|
-
var
|
|
1812
|
+
var ListQualificationRequestsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1778
1813
|
return [
|
|
1779
1814
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1780
1815
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1781
1816
|
];
|
|
1782
1817
|
}).s("MTurkRequesterServiceV20170117", "ListQualificationRequests", {}).n("MTurkClient", "ListQualificationRequestsCommand").f(void 0, void 0).ser(se_ListQualificationRequestsCommand).de(de_ListQualificationRequestsCommand).build() {
|
|
1818
|
+
static {
|
|
1819
|
+
__name(this, "ListQualificationRequestsCommand");
|
|
1820
|
+
}
|
|
1783
1821
|
};
|
|
1784
|
-
__name(_ListQualificationRequestsCommand, "ListQualificationRequestsCommand");
|
|
1785
|
-
var ListQualificationRequestsCommand = _ListQualificationRequestsCommand;
|
|
1786
1822
|
|
|
1787
1823
|
// src/commands/ListQualificationTypesCommand.ts
|
|
1788
1824
|
|
|
1789
1825
|
|
|
1790
1826
|
|
|
1791
|
-
var
|
|
1827
|
+
var ListQualificationTypesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1792
1828
|
return [
|
|
1793
1829
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1794
1830
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1795
1831
|
];
|
|
1796
1832
|
}).s("MTurkRequesterServiceV20170117", "ListQualificationTypes", {}).n("MTurkClient", "ListQualificationTypesCommand").f(void 0, void 0).ser(se_ListQualificationTypesCommand).de(de_ListQualificationTypesCommand).build() {
|
|
1833
|
+
static {
|
|
1834
|
+
__name(this, "ListQualificationTypesCommand");
|
|
1835
|
+
}
|
|
1797
1836
|
};
|
|
1798
|
-
__name(_ListQualificationTypesCommand, "ListQualificationTypesCommand");
|
|
1799
|
-
var ListQualificationTypesCommand = _ListQualificationTypesCommand;
|
|
1800
1837
|
|
|
1801
1838
|
// src/commands/ListReviewableHITsCommand.ts
|
|
1802
1839
|
|
|
1803
1840
|
|
|
1804
1841
|
|
|
1805
|
-
var
|
|
1842
|
+
var ListReviewableHITsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1806
1843
|
return [
|
|
1807
1844
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1808
1845
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1809
1846
|
];
|
|
1810
1847
|
}).s("MTurkRequesterServiceV20170117", "ListReviewableHITs", {}).n("MTurkClient", "ListReviewableHITsCommand").f(void 0, void 0).ser(se_ListReviewableHITsCommand).de(de_ListReviewableHITsCommand).build() {
|
|
1848
|
+
static {
|
|
1849
|
+
__name(this, "ListReviewableHITsCommand");
|
|
1850
|
+
}
|
|
1811
1851
|
};
|
|
1812
|
-
__name(_ListReviewableHITsCommand, "ListReviewableHITsCommand");
|
|
1813
|
-
var ListReviewableHITsCommand = _ListReviewableHITsCommand;
|
|
1814
1852
|
|
|
1815
1853
|
// src/commands/ListReviewPolicyResultsForHITCommand.ts
|
|
1816
1854
|
|
|
1817
1855
|
|
|
1818
1856
|
|
|
1819
|
-
var
|
|
1857
|
+
var ListReviewPolicyResultsForHITCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1820
1858
|
return [
|
|
1821
1859
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1822
1860
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1823
1861
|
];
|
|
1824
1862
|
}).s("MTurkRequesterServiceV20170117", "ListReviewPolicyResultsForHIT", {}).n("MTurkClient", "ListReviewPolicyResultsForHITCommand").f(void 0, void 0).ser(se_ListReviewPolicyResultsForHITCommand).de(de_ListReviewPolicyResultsForHITCommand).build() {
|
|
1863
|
+
static {
|
|
1864
|
+
__name(this, "ListReviewPolicyResultsForHITCommand");
|
|
1865
|
+
}
|
|
1825
1866
|
};
|
|
1826
|
-
__name(_ListReviewPolicyResultsForHITCommand, "ListReviewPolicyResultsForHITCommand");
|
|
1827
|
-
var ListReviewPolicyResultsForHITCommand = _ListReviewPolicyResultsForHITCommand;
|
|
1828
1867
|
|
|
1829
1868
|
// src/commands/ListWorkerBlocksCommand.ts
|
|
1830
1869
|
|
|
1831
1870
|
|
|
1832
1871
|
|
|
1833
|
-
var
|
|
1872
|
+
var ListWorkerBlocksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1834
1873
|
return [
|
|
1835
1874
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1836
1875
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1837
1876
|
];
|
|
1838
1877
|
}).s("MTurkRequesterServiceV20170117", "ListWorkerBlocks", {}).n("MTurkClient", "ListWorkerBlocksCommand").f(void 0, void 0).ser(se_ListWorkerBlocksCommand).de(de_ListWorkerBlocksCommand).build() {
|
|
1878
|
+
static {
|
|
1879
|
+
__name(this, "ListWorkerBlocksCommand");
|
|
1880
|
+
}
|
|
1839
1881
|
};
|
|
1840
|
-
__name(_ListWorkerBlocksCommand, "ListWorkerBlocksCommand");
|
|
1841
|
-
var ListWorkerBlocksCommand = _ListWorkerBlocksCommand;
|
|
1842
1882
|
|
|
1843
1883
|
// src/commands/ListWorkersWithQualificationTypeCommand.ts
|
|
1844
1884
|
|
|
1845
1885
|
|
|
1846
1886
|
|
|
1847
|
-
var
|
|
1887
|
+
var ListWorkersWithQualificationTypeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1848
1888
|
return [
|
|
1849
1889
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1850
1890
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1851
1891
|
];
|
|
1852
1892
|
}).s("MTurkRequesterServiceV20170117", "ListWorkersWithQualificationType", {}).n("MTurkClient", "ListWorkersWithQualificationTypeCommand").f(void 0, void 0).ser(se_ListWorkersWithQualificationTypeCommand).de(de_ListWorkersWithQualificationTypeCommand).build() {
|
|
1893
|
+
static {
|
|
1894
|
+
__name(this, "ListWorkersWithQualificationTypeCommand");
|
|
1895
|
+
}
|
|
1853
1896
|
};
|
|
1854
|
-
__name(_ListWorkersWithQualificationTypeCommand, "ListWorkersWithQualificationTypeCommand");
|
|
1855
|
-
var ListWorkersWithQualificationTypeCommand = _ListWorkersWithQualificationTypeCommand;
|
|
1856
1897
|
|
|
1857
1898
|
// src/commands/NotifyWorkersCommand.ts
|
|
1858
1899
|
|
|
1859
1900
|
|
|
1860
1901
|
|
|
1861
|
-
var
|
|
1902
|
+
var NotifyWorkersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1862
1903
|
return [
|
|
1863
1904
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1864
1905
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1865
1906
|
];
|
|
1866
1907
|
}).s("MTurkRequesterServiceV20170117", "NotifyWorkers", {}).n("MTurkClient", "NotifyWorkersCommand").f(void 0, void 0).ser(se_NotifyWorkersCommand).de(de_NotifyWorkersCommand).build() {
|
|
1908
|
+
static {
|
|
1909
|
+
__name(this, "NotifyWorkersCommand");
|
|
1910
|
+
}
|
|
1867
1911
|
};
|
|
1868
|
-
__name(_NotifyWorkersCommand, "NotifyWorkersCommand");
|
|
1869
|
-
var NotifyWorkersCommand = _NotifyWorkersCommand;
|
|
1870
1912
|
|
|
1871
1913
|
// src/commands/RejectAssignmentCommand.ts
|
|
1872
1914
|
|
|
1873
1915
|
|
|
1874
1916
|
|
|
1875
|
-
var
|
|
1917
|
+
var RejectAssignmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1876
1918
|
return [
|
|
1877
1919
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1878
1920
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1879
1921
|
];
|
|
1880
1922
|
}).s("MTurkRequesterServiceV20170117", "RejectAssignment", {}).n("MTurkClient", "RejectAssignmentCommand").f(void 0, void 0).ser(se_RejectAssignmentCommand).de(de_RejectAssignmentCommand).build() {
|
|
1923
|
+
static {
|
|
1924
|
+
__name(this, "RejectAssignmentCommand");
|
|
1925
|
+
}
|
|
1881
1926
|
};
|
|
1882
|
-
__name(_RejectAssignmentCommand, "RejectAssignmentCommand");
|
|
1883
|
-
var RejectAssignmentCommand = _RejectAssignmentCommand;
|
|
1884
1927
|
|
|
1885
1928
|
// src/commands/RejectQualificationRequestCommand.ts
|
|
1886
1929
|
|
|
1887
1930
|
|
|
1888
1931
|
|
|
1889
|
-
var
|
|
1932
|
+
var RejectQualificationRequestCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1890
1933
|
return [
|
|
1891
1934
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1892
1935
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1893
1936
|
];
|
|
1894
1937
|
}).s("MTurkRequesterServiceV20170117", "RejectQualificationRequest", {}).n("MTurkClient", "RejectQualificationRequestCommand").f(void 0, void 0).ser(se_RejectQualificationRequestCommand).de(de_RejectQualificationRequestCommand).build() {
|
|
1938
|
+
static {
|
|
1939
|
+
__name(this, "RejectQualificationRequestCommand");
|
|
1940
|
+
}
|
|
1895
1941
|
};
|
|
1896
|
-
__name(_RejectQualificationRequestCommand, "RejectQualificationRequestCommand");
|
|
1897
|
-
var RejectQualificationRequestCommand = _RejectQualificationRequestCommand;
|
|
1898
1942
|
|
|
1899
1943
|
// src/commands/SendBonusCommand.ts
|
|
1900
1944
|
|
|
1901
1945
|
|
|
1902
1946
|
|
|
1903
|
-
var
|
|
1947
|
+
var SendBonusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1904
1948
|
return [
|
|
1905
1949
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1906
1950
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1907
1951
|
];
|
|
1908
1952
|
}).s("MTurkRequesterServiceV20170117", "SendBonus", {}).n("MTurkClient", "SendBonusCommand").f(void 0, void 0).ser(se_SendBonusCommand).de(de_SendBonusCommand).build() {
|
|
1953
|
+
static {
|
|
1954
|
+
__name(this, "SendBonusCommand");
|
|
1955
|
+
}
|
|
1909
1956
|
};
|
|
1910
|
-
__name(_SendBonusCommand, "SendBonusCommand");
|
|
1911
|
-
var SendBonusCommand = _SendBonusCommand;
|
|
1912
1957
|
|
|
1913
1958
|
// src/commands/SendTestEventNotificationCommand.ts
|
|
1914
1959
|
|
|
1915
1960
|
|
|
1916
1961
|
|
|
1917
|
-
var
|
|
1962
|
+
var SendTestEventNotificationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1918
1963
|
return [
|
|
1919
1964
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1920
1965
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1921
1966
|
];
|
|
1922
1967
|
}).s("MTurkRequesterServiceV20170117", "SendTestEventNotification", {}).n("MTurkClient", "SendTestEventNotificationCommand").f(void 0, void 0).ser(se_SendTestEventNotificationCommand).de(de_SendTestEventNotificationCommand).build() {
|
|
1968
|
+
static {
|
|
1969
|
+
__name(this, "SendTestEventNotificationCommand");
|
|
1970
|
+
}
|
|
1923
1971
|
};
|
|
1924
|
-
__name(_SendTestEventNotificationCommand, "SendTestEventNotificationCommand");
|
|
1925
|
-
var SendTestEventNotificationCommand = _SendTestEventNotificationCommand;
|
|
1926
1972
|
|
|
1927
1973
|
// src/commands/UpdateExpirationForHITCommand.ts
|
|
1928
1974
|
|
|
1929
1975
|
|
|
1930
1976
|
|
|
1931
|
-
var
|
|
1977
|
+
var UpdateExpirationForHITCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1932
1978
|
return [
|
|
1933
1979
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1934
1980
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1935
1981
|
];
|
|
1936
1982
|
}).s("MTurkRequesterServiceV20170117", "UpdateExpirationForHIT", {}).n("MTurkClient", "UpdateExpirationForHITCommand").f(void 0, void 0).ser(se_UpdateExpirationForHITCommand).de(de_UpdateExpirationForHITCommand).build() {
|
|
1983
|
+
static {
|
|
1984
|
+
__name(this, "UpdateExpirationForHITCommand");
|
|
1985
|
+
}
|
|
1937
1986
|
};
|
|
1938
|
-
__name(_UpdateExpirationForHITCommand, "UpdateExpirationForHITCommand");
|
|
1939
|
-
var UpdateExpirationForHITCommand = _UpdateExpirationForHITCommand;
|
|
1940
1987
|
|
|
1941
1988
|
// src/commands/UpdateHITReviewStatusCommand.ts
|
|
1942
1989
|
|
|
1943
1990
|
|
|
1944
1991
|
|
|
1945
|
-
var
|
|
1992
|
+
var UpdateHITReviewStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1946
1993
|
return [
|
|
1947
1994
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1948
1995
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1949
1996
|
];
|
|
1950
1997
|
}).s("MTurkRequesterServiceV20170117", "UpdateHITReviewStatus", {}).n("MTurkClient", "UpdateHITReviewStatusCommand").f(void 0, void 0).ser(se_UpdateHITReviewStatusCommand).de(de_UpdateHITReviewStatusCommand).build() {
|
|
1998
|
+
static {
|
|
1999
|
+
__name(this, "UpdateHITReviewStatusCommand");
|
|
2000
|
+
}
|
|
1951
2001
|
};
|
|
1952
|
-
__name(_UpdateHITReviewStatusCommand, "UpdateHITReviewStatusCommand");
|
|
1953
|
-
var UpdateHITReviewStatusCommand = _UpdateHITReviewStatusCommand;
|
|
1954
2002
|
|
|
1955
2003
|
// src/commands/UpdateHITTypeOfHITCommand.ts
|
|
1956
2004
|
|
|
1957
2005
|
|
|
1958
2006
|
|
|
1959
|
-
var
|
|
2007
|
+
var UpdateHITTypeOfHITCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1960
2008
|
return [
|
|
1961
2009
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1962
2010
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1963
2011
|
];
|
|
1964
2012
|
}).s("MTurkRequesterServiceV20170117", "UpdateHITTypeOfHIT", {}).n("MTurkClient", "UpdateHITTypeOfHITCommand").f(void 0, void 0).ser(se_UpdateHITTypeOfHITCommand).de(de_UpdateHITTypeOfHITCommand).build() {
|
|
2013
|
+
static {
|
|
2014
|
+
__name(this, "UpdateHITTypeOfHITCommand");
|
|
2015
|
+
}
|
|
1965
2016
|
};
|
|
1966
|
-
__name(_UpdateHITTypeOfHITCommand, "UpdateHITTypeOfHITCommand");
|
|
1967
|
-
var UpdateHITTypeOfHITCommand = _UpdateHITTypeOfHITCommand;
|
|
1968
2017
|
|
|
1969
2018
|
// src/commands/UpdateNotificationSettingsCommand.ts
|
|
1970
2019
|
|
|
1971
2020
|
|
|
1972
2021
|
|
|
1973
|
-
var
|
|
2022
|
+
var UpdateNotificationSettingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1974
2023
|
return [
|
|
1975
2024
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1976
2025
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1977
2026
|
];
|
|
1978
2027
|
}).s("MTurkRequesterServiceV20170117", "UpdateNotificationSettings", {}).n("MTurkClient", "UpdateNotificationSettingsCommand").f(void 0, void 0).ser(se_UpdateNotificationSettingsCommand).de(de_UpdateNotificationSettingsCommand).build() {
|
|
2028
|
+
static {
|
|
2029
|
+
__name(this, "UpdateNotificationSettingsCommand");
|
|
2030
|
+
}
|
|
1979
2031
|
};
|
|
1980
|
-
__name(_UpdateNotificationSettingsCommand, "UpdateNotificationSettingsCommand");
|
|
1981
|
-
var UpdateNotificationSettingsCommand = _UpdateNotificationSettingsCommand;
|
|
1982
2032
|
|
|
1983
2033
|
// src/commands/UpdateQualificationTypeCommand.ts
|
|
1984
2034
|
|
|
1985
2035
|
|
|
1986
2036
|
|
|
1987
|
-
var
|
|
2037
|
+
var UpdateQualificationTypeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1988
2038
|
return [
|
|
1989
2039
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1990
2040
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1991
2041
|
];
|
|
1992
2042
|
}).s("MTurkRequesterServiceV20170117", "UpdateQualificationType", {}).n("MTurkClient", "UpdateQualificationTypeCommand").f(void 0, void 0).ser(se_UpdateQualificationTypeCommand).de(de_UpdateQualificationTypeCommand).build() {
|
|
2043
|
+
static {
|
|
2044
|
+
__name(this, "UpdateQualificationTypeCommand");
|
|
2045
|
+
}
|
|
1993
2046
|
};
|
|
1994
|
-
__name(_UpdateQualificationTypeCommand, "UpdateQualificationTypeCommand");
|
|
1995
|
-
var UpdateQualificationTypeCommand = _UpdateQualificationTypeCommand;
|
|
1996
2047
|
|
|
1997
2048
|
// src/MTurk.ts
|
|
1998
2049
|
var commands = {
|
|
@@ -2036,10 +2087,11 @@ var commands = {
|
|
|
2036
2087
|
UpdateNotificationSettingsCommand,
|
|
2037
2088
|
UpdateQualificationTypeCommand
|
|
2038
2089
|
};
|
|
2039
|
-
var
|
|
2090
|
+
var MTurk = class extends MTurkClient {
|
|
2091
|
+
static {
|
|
2092
|
+
__name(this, "MTurk");
|
|
2093
|
+
}
|
|
2040
2094
|
};
|
|
2041
|
-
__name(_MTurk, "MTurk");
|
|
2042
|
-
var MTurk = _MTurk;
|
|
2043
2095
|
(0, import_smithy_client.createAggregatedClient)(commands, MTurk);
|
|
2044
2096
|
|
|
2045
2097
|
// src/pagination/ListAssignmentsForHITPaginator.ts
|
package/dist-es/MTurkClient.js
CHANGED
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class MTurkClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,27 +1,31 @@
|
|
|
1
1
|
import { MTurkServiceException as __BaseException } from "./MTurkServiceException";
|
|
2
2
|
export class RequestError extends __BaseException {
|
|
3
|
+
name = "RequestError";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
TurkErrorCode;
|
|
3
7
|
constructor(opts) {
|
|
4
8
|
super({
|
|
5
9
|
name: "RequestError",
|
|
6
10
|
$fault: "client",
|
|
7
11
|
...opts,
|
|
8
12
|
});
|
|
9
|
-
this.name = "RequestError";
|
|
10
|
-
this.$fault = "client";
|
|
11
13
|
Object.setPrototypeOf(this, RequestError.prototype);
|
|
12
14
|
this.Message = opts.Message;
|
|
13
15
|
this.TurkErrorCode = opts.TurkErrorCode;
|
|
14
16
|
}
|
|
15
17
|
}
|
|
16
18
|
export class ServiceFault extends __BaseException {
|
|
19
|
+
name = "ServiceFault";
|
|
20
|
+
$fault = "server";
|
|
21
|
+
Message;
|
|
22
|
+
TurkErrorCode;
|
|
17
23
|
constructor(opts) {
|
|
18
24
|
super({
|
|
19
25
|
name: "ServiceFault",
|
|
20
26
|
$fault: "server",
|
|
21
27
|
...opts,
|
|
22
28
|
});
|
|
23
|
-
this.name = "ServiceFault";
|
|
24
|
-
this.$fault = "server";
|
|
25
29
|
Object.setPrototypeOf(this, ServiceFault.prototype);
|
|
26
30
|
this.Message = opts.Message;
|
|
27
31
|
this.TurkErrorCode = opts.TurkErrorCode;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mturk",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mturk Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.723.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-mturk",
|
|
@@ -20,56 +20,56 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|