@aws-sdk/client-mturk 3.50.0 → 3.53.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/MTurkServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +34 -3
- package/dist-cjs/protocols/Aws_json1_1.js +274 -884
- package/dist-es/index.js +1 -0
- package/dist-es/models/MTurkServiceException.js +12 -0
- package/dist-es/models/models_0.js +30 -1
- package/dist-es/protocols/Aws_json1_1.js +665 -1037
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/MTurkServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +16 -7
- package/dist-types/ts3.4/MTurk.d.ts +200 -0
- package/dist-types/ts3.4/MTurkClient.d.ts +112 -0
- package/dist-types/ts3.4/commands/AcceptQualificationRequestCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ApproveAssignmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssociateQualificationWithWorkerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateHITCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateHITTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateHITWithHITTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateQualificationTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateWorkerBlockCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteHITCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteQualificationTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteWorkerBlockCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateQualificationFromWorkerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAccountBalanceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAssignmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetFileUploadURLCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetHITCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetQualificationScoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetQualificationTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAssignmentsForHITCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBonusPaymentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListHITsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListHITsForQualificationTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListQualificationRequestsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListQualificationTypesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListReviewPolicyResultsForHITCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListReviewableHITsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListWorkerBlocksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListWorkersWithQualificationTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/NotifyWorkersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RejectAssignmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RejectQualificationRequestCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SendBonusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SendTestEventNotificationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateExpirationForHITCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateHITReviewStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateHITTypeOfHITCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateNotificationSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateQualificationTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +39 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/MTurkServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1274 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAssignmentsForHITPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListBonusPaymentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListHITsForQualificationTypePaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListHITsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListQualificationRequestsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListQualificationTypesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListReviewPolicyResultsForHITPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListReviewableHITsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListWorkerBlocksPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListWorkersWithQualificationTypePaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +11 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +119 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
+
var MTurkServiceException = (function (_super) {
|
|
4
|
+
__extends(MTurkServiceException, _super);
|
|
5
|
+
function MTurkServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, MTurkServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return MTurkServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { MTurkServiceException };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
|
+
import { MTurkServiceException as __BaseException } from "./MTurkServiceException";
|
|
2
3
|
export var AcceptQualificationRequestRequest;
|
|
3
4
|
(function (AcceptQualificationRequestRequest) {
|
|
4
5
|
AcceptQualificationRequestRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -7,6 +8,34 @@ export var AcceptQualificationRequestResponse;
|
|
|
7
8
|
(function (AcceptQualificationRequestResponse) {
|
|
8
9
|
AcceptQualificationRequestResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
10
|
})(AcceptQualificationRequestResponse || (AcceptQualificationRequestResponse = {}));
|
|
11
|
+
var RequestError = (function (_super) {
|
|
12
|
+
__extends(RequestError, _super);
|
|
13
|
+
function RequestError(opts) {
|
|
14
|
+
var _this = _super.call(this, __assign({ name: "RequestError", $fault: "client" }, opts)) || this;
|
|
15
|
+
_this.name = "RequestError";
|
|
16
|
+
_this.$fault = "client";
|
|
17
|
+
Object.setPrototypeOf(_this, RequestError.prototype);
|
|
18
|
+
_this.Message = opts.Message;
|
|
19
|
+
_this.TurkErrorCode = opts.TurkErrorCode;
|
|
20
|
+
return _this;
|
|
21
|
+
}
|
|
22
|
+
return RequestError;
|
|
23
|
+
}(__BaseException));
|
|
24
|
+
export { RequestError };
|
|
25
|
+
var ServiceFault = (function (_super) {
|
|
26
|
+
__extends(ServiceFault, _super);
|
|
27
|
+
function ServiceFault(opts) {
|
|
28
|
+
var _this = _super.call(this, __assign({ name: "ServiceFault", $fault: "server" }, opts)) || this;
|
|
29
|
+
_this.name = "ServiceFault";
|
|
30
|
+
_this.$fault = "server";
|
|
31
|
+
Object.setPrototypeOf(_this, ServiceFault.prototype);
|
|
32
|
+
_this.Message = opts.Message;
|
|
33
|
+
_this.TurkErrorCode = opts.TurkErrorCode;
|
|
34
|
+
return _this;
|
|
35
|
+
}
|
|
36
|
+
return ServiceFault;
|
|
37
|
+
}(__BaseException));
|
|
38
|
+
export { ServiceFault };
|
|
10
39
|
export var ApproveAssignmentRequest;
|
|
11
40
|
(function (ApproveAssignmentRequest) {
|
|
12
41
|
ApproveAssignmentRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|