@aws-sdk/client-mturk 3.489.0 → 3.495.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.
Files changed (63) hide show
  1. package/dist-cjs/MTurk.js +1 -89
  2. package/dist-cjs/MTurkClient.js +1 -43
  3. package/dist-cjs/commands/AcceptQualificationRequestCommand.js +1 -28
  4. package/dist-cjs/commands/ApproveAssignmentCommand.js +1 -28
  5. package/dist-cjs/commands/AssociateQualificationWithWorkerCommand.js +1 -28
  6. package/dist-cjs/commands/CreateAdditionalAssignmentsForHITCommand.js +1 -28
  7. package/dist-cjs/commands/CreateHITCommand.js +1 -28
  8. package/dist-cjs/commands/CreateHITTypeCommand.js +1 -28
  9. package/dist-cjs/commands/CreateHITWithHITTypeCommand.js +1 -28
  10. package/dist-cjs/commands/CreateQualificationTypeCommand.js +1 -28
  11. package/dist-cjs/commands/CreateWorkerBlockCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteHITCommand.js +1 -28
  13. package/dist-cjs/commands/DeleteQualificationTypeCommand.js +1 -28
  14. package/dist-cjs/commands/DeleteWorkerBlockCommand.js +1 -28
  15. package/dist-cjs/commands/DisassociateQualificationFromWorkerCommand.js +1 -28
  16. package/dist-cjs/commands/GetAccountBalanceCommand.js +1 -28
  17. package/dist-cjs/commands/GetAssignmentCommand.js +1 -28
  18. package/dist-cjs/commands/GetFileUploadURLCommand.js +1 -28
  19. package/dist-cjs/commands/GetHITCommand.js +1 -28
  20. package/dist-cjs/commands/GetQualificationScoreCommand.js +1 -28
  21. package/dist-cjs/commands/GetQualificationTypeCommand.js +1 -28
  22. package/dist-cjs/commands/ListAssignmentsForHITCommand.js +1 -28
  23. package/dist-cjs/commands/ListBonusPaymentsCommand.js +1 -28
  24. package/dist-cjs/commands/ListHITsCommand.js +1 -28
  25. package/dist-cjs/commands/ListHITsForQualificationTypeCommand.js +1 -28
  26. package/dist-cjs/commands/ListQualificationRequestsCommand.js +1 -28
  27. package/dist-cjs/commands/ListQualificationTypesCommand.js +1 -28
  28. package/dist-cjs/commands/ListReviewPolicyResultsForHITCommand.js +1 -28
  29. package/dist-cjs/commands/ListReviewableHITsCommand.js +1 -28
  30. package/dist-cjs/commands/ListWorkerBlocksCommand.js +1 -28
  31. package/dist-cjs/commands/ListWorkersWithQualificationTypeCommand.js +1 -28
  32. package/dist-cjs/commands/NotifyWorkersCommand.js +1 -28
  33. package/dist-cjs/commands/RejectAssignmentCommand.js +1 -28
  34. package/dist-cjs/commands/RejectQualificationRequestCommand.js +1 -28
  35. package/dist-cjs/commands/SendBonusCommand.js +1 -28
  36. package/dist-cjs/commands/SendTestEventNotificationCommand.js +1 -28
  37. package/dist-cjs/commands/UpdateExpirationForHITCommand.js +1 -28
  38. package/dist-cjs/commands/UpdateHITReviewStatusCommand.js +1 -28
  39. package/dist-cjs/commands/UpdateHITTypeOfHITCommand.js +1 -28
  40. package/dist-cjs/commands/UpdateNotificationSettingsCommand.js +1 -28
  41. package/dist-cjs/commands/UpdateQualificationTypeCommand.js +1 -28
  42. package/dist-cjs/commands/index.js +1 -42
  43. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  44. package/dist-cjs/extensionConfiguration.js +1 -2
  45. package/dist-cjs/index.js +3097 -11
  46. package/dist-cjs/models/MTurkServiceException.js +1 -12
  47. package/dist-cjs/models/index.js +1 -4
  48. package/dist-cjs/models/models_0.js +1 -114
  49. package/dist-cjs/pagination/Interfaces.js +1 -2
  50. package/dist-cjs/pagination/ListAssignmentsForHITPaginator.js +1 -7
  51. package/dist-cjs/pagination/ListBonusPaymentsPaginator.js +1 -7
  52. package/dist-cjs/pagination/ListHITsForQualificationTypePaginator.js +1 -7
  53. package/dist-cjs/pagination/ListHITsPaginator.js +1 -7
  54. package/dist-cjs/pagination/ListQualificationRequestsPaginator.js +1 -7
  55. package/dist-cjs/pagination/ListQualificationTypesPaginator.js +1 -7
  56. package/dist-cjs/pagination/ListReviewPolicyResultsForHITPaginator.js +1 -7
  57. package/dist-cjs/pagination/ListReviewableHITsPaginator.js +1 -7
  58. package/dist-cjs/pagination/ListWorkerBlocksPaginator.js +1 -7
  59. package/dist-cjs/pagination/ListWorkersWithQualificationTypePaginator.js +1 -7
  60. package/dist-cjs/pagination/index.js +1 -14
  61. package/dist-cjs/protocols/Aws_json1_1.js +1 -2049
  62. package/dist-cjs/runtimeExtensions.js +1 -22
  63. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MTurkServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class MTurkServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, MTurkServiceException.prototype);
10
- }
11
- }
12
- exports.MTurkServiceException = MTurkServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,114 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NotificationTransport = exports.NotifyWorkersFailureCode = exports.ReviewActionStatus = exports.ReviewPolicyLevel = exports.ReviewableHITStatus = exports.QualificationStatus = exports.EventType = exports.QualificationTypeStatus = exports.HITStatus = exports.HITReviewStatus = exports.HITAccessActions = exports.Comparator = exports.AssignmentStatus = exports.ServiceFault = exports.RequestError = void 0;
4
- const MTurkServiceException_1 = require("./MTurkServiceException");
5
- class RequestError extends MTurkServiceException_1.MTurkServiceException {
6
- constructor(opts) {
7
- super({
8
- name: "RequestError",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- this.name = "RequestError";
13
- this.$fault = "client";
14
- Object.setPrototypeOf(this, RequestError.prototype);
15
- this.Message = opts.Message;
16
- this.TurkErrorCode = opts.TurkErrorCode;
17
- }
18
- }
19
- exports.RequestError = RequestError;
20
- class ServiceFault extends MTurkServiceException_1.MTurkServiceException {
21
- constructor(opts) {
22
- super({
23
- name: "ServiceFault",
24
- $fault: "server",
25
- ...opts,
26
- });
27
- this.name = "ServiceFault";
28
- this.$fault = "server";
29
- Object.setPrototypeOf(this, ServiceFault.prototype);
30
- this.Message = opts.Message;
31
- this.TurkErrorCode = opts.TurkErrorCode;
32
- }
33
- }
34
- exports.ServiceFault = ServiceFault;
35
- exports.AssignmentStatus = {
36
- Approved: "Approved",
37
- Rejected: "Rejected",
38
- Submitted: "Submitted",
39
- };
40
- exports.Comparator = {
41
- DoesNotExist: "DoesNotExist",
42
- EqualTo: "EqualTo",
43
- Exists: "Exists",
44
- GreaterThan: "GreaterThan",
45
- GreaterThanOrEqualTo: "GreaterThanOrEqualTo",
46
- In: "In",
47
- LessThan: "LessThan",
48
- LessThanOrEqualTo: "LessThanOrEqualTo",
49
- NotEqualTo: "NotEqualTo",
50
- NotIn: "NotIn",
51
- };
52
- exports.HITAccessActions = {
53
- Accept: "Accept",
54
- DiscoverPreviewAndAccept: "DiscoverPreviewAndAccept",
55
- PreviewAndAccept: "PreviewAndAccept",
56
- };
57
- exports.HITReviewStatus = {
58
- MarkedForReview: "MarkedForReview",
59
- NotReviewed: "NotReviewed",
60
- ReviewedAppropriate: "ReviewedAppropriate",
61
- ReviewedInappropriate: "ReviewedInappropriate",
62
- };
63
- exports.HITStatus = {
64
- Assignable: "Assignable",
65
- Disposed: "Disposed",
66
- Reviewable: "Reviewable",
67
- Reviewing: "Reviewing",
68
- Unassignable: "Unassignable",
69
- };
70
- exports.QualificationTypeStatus = {
71
- Active: "Active",
72
- Inactive: "Inactive",
73
- };
74
- exports.EventType = {
75
- AssignmentAbandoned: "AssignmentAbandoned",
76
- AssignmentAccepted: "AssignmentAccepted",
77
- AssignmentApproved: "AssignmentApproved",
78
- AssignmentRejected: "AssignmentRejected",
79
- AssignmentReturned: "AssignmentReturned",
80
- AssignmentSubmitted: "AssignmentSubmitted",
81
- HITCreated: "HITCreated",
82
- HITDisposed: "HITDisposed",
83
- HITExpired: "HITExpired",
84
- HITExtended: "HITExtended",
85
- HITReviewable: "HITReviewable",
86
- Ping: "Ping",
87
- };
88
- exports.QualificationStatus = {
89
- Granted: "Granted",
90
- Revoked: "Revoked",
91
- };
92
- exports.ReviewableHITStatus = {
93
- Reviewable: "Reviewable",
94
- Reviewing: "Reviewing",
95
- };
96
- exports.ReviewPolicyLevel = {
97
- Assignment: "Assignment",
98
- HIT: "HIT",
99
- };
100
- exports.ReviewActionStatus = {
101
- Cancelled: "Cancelled",
102
- Failed: "Failed",
103
- Intended: "Intended",
104
- Succeeded: "Succeeded",
105
- };
106
- exports.NotifyWorkersFailureCode = {
107
- HardFailure: "HardFailure",
108
- SoftFailure: "SoftFailure",
109
- };
110
- exports.NotificationTransport = {
111
- Email: "Email",
112
- SNS: "SNS",
113
- SQS: "SQS",
114
- };
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListAssignmentsForHIT = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListAssignmentsForHITCommand_1 = require("../commands/ListAssignmentsForHITCommand");
6
- const MTurkClient_1 = require("../MTurkClient");
7
- exports.paginateListAssignmentsForHIT = (0, core_1.createPaginator)(MTurkClient_1.MTurkClient, ListAssignmentsForHITCommand_1.ListAssignmentsForHITCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListBonusPayments = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListBonusPaymentsCommand_1 = require("../commands/ListBonusPaymentsCommand");
6
- const MTurkClient_1 = require("../MTurkClient");
7
- exports.paginateListBonusPayments = (0, core_1.createPaginator)(MTurkClient_1.MTurkClient, ListBonusPaymentsCommand_1.ListBonusPaymentsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListHITsForQualificationType = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListHITsForQualificationTypeCommand_1 = require("../commands/ListHITsForQualificationTypeCommand");
6
- const MTurkClient_1 = require("../MTurkClient");
7
- exports.paginateListHITsForQualificationType = (0, core_1.createPaginator)(MTurkClient_1.MTurkClient, ListHITsForQualificationTypeCommand_1.ListHITsForQualificationTypeCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListHITs = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListHITsCommand_1 = require("../commands/ListHITsCommand");
6
- const MTurkClient_1 = require("../MTurkClient");
7
- exports.paginateListHITs = (0, core_1.createPaginator)(MTurkClient_1.MTurkClient, ListHITsCommand_1.ListHITsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListQualificationRequests = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListQualificationRequestsCommand_1 = require("../commands/ListQualificationRequestsCommand");
6
- const MTurkClient_1 = require("../MTurkClient");
7
- exports.paginateListQualificationRequests = (0, core_1.createPaginator)(MTurkClient_1.MTurkClient, ListQualificationRequestsCommand_1.ListQualificationRequestsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListQualificationTypes = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListQualificationTypesCommand_1 = require("../commands/ListQualificationTypesCommand");
6
- const MTurkClient_1 = require("../MTurkClient");
7
- exports.paginateListQualificationTypes = (0, core_1.createPaginator)(MTurkClient_1.MTurkClient, ListQualificationTypesCommand_1.ListQualificationTypesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListReviewPolicyResultsForHIT = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListReviewPolicyResultsForHITCommand_1 = require("../commands/ListReviewPolicyResultsForHITCommand");
6
- const MTurkClient_1 = require("../MTurkClient");
7
- exports.paginateListReviewPolicyResultsForHIT = (0, core_1.createPaginator)(MTurkClient_1.MTurkClient, ListReviewPolicyResultsForHITCommand_1.ListReviewPolicyResultsForHITCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListReviewableHITs = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListReviewableHITsCommand_1 = require("../commands/ListReviewableHITsCommand");
6
- const MTurkClient_1 = require("../MTurkClient");
7
- exports.paginateListReviewableHITs = (0, core_1.createPaginator)(MTurkClient_1.MTurkClient, ListReviewableHITsCommand_1.ListReviewableHITsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListWorkerBlocks = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListWorkerBlocksCommand_1 = require("../commands/ListWorkerBlocksCommand");
6
- const MTurkClient_1 = require("../MTurkClient");
7
- exports.paginateListWorkerBlocks = (0, core_1.createPaginator)(MTurkClient_1.MTurkClient, ListWorkerBlocksCommand_1.ListWorkerBlocksCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListWorkersWithQualificationType = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListWorkersWithQualificationTypeCommand_1 = require("../commands/ListWorkersWithQualificationTypeCommand");
6
- const MTurkClient_1 = require("../MTurkClient");
7
- exports.paginateListWorkersWithQualificationType = (0, core_1.createPaginator)(MTurkClient_1.MTurkClient, ListWorkersWithQualificationTypeCommand_1.ListWorkersWithQualificationTypeCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,14 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListAssignmentsForHITPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListBonusPaymentsPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListHITsForQualificationTypePaginator"), exports);
8
- tslib_1.__exportStar(require("./ListHITsPaginator"), exports);
9
- tslib_1.__exportStar(require("./ListQualificationRequestsPaginator"), exports);
10
- tslib_1.__exportStar(require("./ListQualificationTypesPaginator"), exports);
11
- tslib_1.__exportStar(require("./ListReviewPolicyResultsForHITPaginator"), exports);
12
- tslib_1.__exportStar(require("./ListReviewableHITsPaginator"), exports);
13
- tslib_1.__exportStar(require("./ListWorkerBlocksPaginator"), exports);
14
- tslib_1.__exportStar(require("./ListWorkersWithQualificationTypePaginator"), exports);
1
+ module.exports = require("../index.js");