@aws-sdk/client-mturk 3.478.0 → 3.484.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/commands/AcceptQualificationRequestCommand.js +18 -41
- package/dist-cjs/commands/ApproveAssignmentCommand.js +18 -41
- package/dist-cjs/commands/AssociateQualificationWithWorkerCommand.js +18 -41
- package/dist-cjs/commands/CreateAdditionalAssignmentsForHITCommand.js +18 -41
- package/dist-cjs/commands/CreateHITCommand.js +18 -41
- package/dist-cjs/commands/CreateHITTypeCommand.js +18 -41
- package/dist-cjs/commands/CreateHITWithHITTypeCommand.js +18 -41
- package/dist-cjs/commands/CreateQualificationTypeCommand.js +18 -41
- package/dist-cjs/commands/CreateWorkerBlockCommand.js +18 -41
- package/dist-cjs/commands/DeleteHITCommand.js +18 -41
- package/dist-cjs/commands/DeleteQualificationTypeCommand.js +18 -41
- package/dist-cjs/commands/DeleteWorkerBlockCommand.js +18 -41
- package/dist-cjs/commands/DisassociateQualificationFromWorkerCommand.js +18 -41
- package/dist-cjs/commands/GetAccountBalanceCommand.js +18 -41
- package/dist-cjs/commands/GetAssignmentCommand.js +18 -41
- package/dist-cjs/commands/GetFileUploadURLCommand.js +18 -41
- package/dist-cjs/commands/GetHITCommand.js +18 -41
- package/dist-cjs/commands/GetQualificationScoreCommand.js +18 -41
- package/dist-cjs/commands/GetQualificationTypeCommand.js +18 -41
- package/dist-cjs/commands/ListAssignmentsForHITCommand.js +18 -41
- package/dist-cjs/commands/ListBonusPaymentsCommand.js +18 -41
- package/dist-cjs/commands/ListHITsCommand.js +18 -41
- package/dist-cjs/commands/ListHITsForQualificationTypeCommand.js +18 -41
- package/dist-cjs/commands/ListQualificationRequestsCommand.js +18 -41
- package/dist-cjs/commands/ListQualificationTypesCommand.js +18 -41
- package/dist-cjs/commands/ListReviewPolicyResultsForHITCommand.js +18 -41
- package/dist-cjs/commands/ListReviewableHITsCommand.js +18 -41
- package/dist-cjs/commands/ListWorkerBlocksCommand.js +18 -41
- package/dist-cjs/commands/ListWorkersWithQualificationTypeCommand.js +18 -41
- package/dist-cjs/commands/NotifyWorkersCommand.js +18 -41
- package/dist-cjs/commands/RejectAssignmentCommand.js +18 -41
- package/dist-cjs/commands/RejectQualificationRequestCommand.js +18 -41
- package/dist-cjs/commands/SendBonusCommand.js +18 -41
- package/dist-cjs/commands/SendTestEventNotificationCommand.js +18 -41
- package/dist-cjs/commands/UpdateExpirationForHITCommand.js +18 -41
- package/dist-cjs/commands/UpdateHITReviewStatusCommand.js +18 -41
- package/dist-cjs/commands/UpdateHITTypeOfHITCommand.js +18 -41
- package/dist-cjs/commands/UpdateNotificationSettingsCommand.js +18 -41
- package/dist-cjs/commands/UpdateQualificationTypeCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/AcceptQualificationRequestCommand.js +18 -41
- package/dist-es/commands/ApproveAssignmentCommand.js +18 -41
- package/dist-es/commands/AssociateQualificationWithWorkerCommand.js +18 -41
- package/dist-es/commands/CreateAdditionalAssignmentsForHITCommand.js +18 -41
- package/dist-es/commands/CreateHITCommand.js +18 -41
- package/dist-es/commands/CreateHITTypeCommand.js +18 -41
- package/dist-es/commands/CreateHITWithHITTypeCommand.js +18 -41
- package/dist-es/commands/CreateQualificationTypeCommand.js +18 -41
- package/dist-es/commands/CreateWorkerBlockCommand.js +18 -41
- package/dist-es/commands/DeleteHITCommand.js +18 -41
- package/dist-es/commands/DeleteQualificationTypeCommand.js +18 -41
- package/dist-es/commands/DeleteWorkerBlockCommand.js +18 -41
- package/dist-es/commands/DisassociateQualificationFromWorkerCommand.js +18 -41
- package/dist-es/commands/GetAccountBalanceCommand.js +18 -41
- package/dist-es/commands/GetAssignmentCommand.js +18 -41
- package/dist-es/commands/GetFileUploadURLCommand.js +18 -41
- package/dist-es/commands/GetHITCommand.js +18 -41
- package/dist-es/commands/GetQualificationScoreCommand.js +18 -41
- package/dist-es/commands/GetQualificationTypeCommand.js +18 -41
- package/dist-es/commands/ListAssignmentsForHITCommand.js +18 -41
- package/dist-es/commands/ListBonusPaymentsCommand.js +18 -41
- package/dist-es/commands/ListHITsCommand.js +18 -41
- package/dist-es/commands/ListHITsForQualificationTypeCommand.js +18 -41
- package/dist-es/commands/ListQualificationRequestsCommand.js +18 -41
- package/dist-es/commands/ListQualificationTypesCommand.js +18 -41
- package/dist-es/commands/ListReviewPolicyResultsForHITCommand.js +18 -41
- package/dist-es/commands/ListReviewableHITsCommand.js +18 -41
- package/dist-es/commands/ListWorkerBlocksCommand.js +18 -41
- package/dist-es/commands/ListWorkersWithQualificationTypeCommand.js +18 -41
- package/dist-es/commands/NotifyWorkersCommand.js +18 -41
- package/dist-es/commands/RejectAssignmentCommand.js +18 -41
- package/dist-es/commands/RejectQualificationRequestCommand.js +18 -41
- package/dist-es/commands/SendBonusCommand.js +18 -41
- package/dist-es/commands/SendTestEventNotificationCommand.js +18 -41
- package/dist-es/commands/UpdateExpirationForHITCommand.js +18 -41
- package/dist-es/commands/UpdateHITReviewStatusCommand.js +18 -41
- package/dist-es/commands/UpdateHITTypeOfHITCommand.js +18 -41
- package/dist-es/commands/UpdateNotificationSettingsCommand.js +18 -41
- package/dist-es/commands/UpdateQualificationTypeCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/AcceptQualificationRequestCommand.d.ts +6 -21
- package/dist-types/commands/ApproveAssignmentCommand.d.ts +6 -21
- package/dist-types/commands/AssociateQualificationWithWorkerCommand.d.ts +6 -21
- package/dist-types/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +6 -21
- package/dist-types/commands/CreateHITCommand.d.ts +6 -21
- package/dist-types/commands/CreateHITTypeCommand.d.ts +6 -21
- package/dist-types/commands/CreateHITWithHITTypeCommand.d.ts +6 -21
- package/dist-types/commands/CreateQualificationTypeCommand.d.ts +6 -21
- package/dist-types/commands/CreateWorkerBlockCommand.d.ts +6 -21
- package/dist-types/commands/DeleteHITCommand.d.ts +6 -21
- package/dist-types/commands/DeleteQualificationTypeCommand.d.ts +6 -21
- package/dist-types/commands/DeleteWorkerBlockCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateQualificationFromWorkerCommand.d.ts +6 -21
- package/dist-types/commands/GetAccountBalanceCommand.d.ts +6 -21
- package/dist-types/commands/GetAssignmentCommand.d.ts +6 -21
- package/dist-types/commands/GetFileUploadURLCommand.d.ts +6 -21
- package/dist-types/commands/GetHITCommand.d.ts +6 -21
- package/dist-types/commands/GetQualificationScoreCommand.d.ts +6 -21
- package/dist-types/commands/GetQualificationTypeCommand.d.ts +6 -21
- package/dist-types/commands/ListAssignmentsForHITCommand.d.ts +6 -21
- package/dist-types/commands/ListBonusPaymentsCommand.d.ts +6 -21
- package/dist-types/commands/ListHITsCommand.d.ts +6 -21
- package/dist-types/commands/ListHITsForQualificationTypeCommand.d.ts +6 -21
- package/dist-types/commands/ListQualificationRequestsCommand.d.ts +6 -21
- package/dist-types/commands/ListQualificationTypesCommand.d.ts +6 -21
- package/dist-types/commands/ListReviewPolicyResultsForHITCommand.d.ts +6 -21
- package/dist-types/commands/ListReviewableHITsCommand.d.ts +6 -21
- package/dist-types/commands/ListWorkerBlocksCommand.d.ts +6 -21
- package/dist-types/commands/ListWorkersWithQualificationTypeCommand.d.ts +6 -21
- package/dist-types/commands/NotifyWorkersCommand.d.ts +6 -21
- package/dist-types/commands/RejectAssignmentCommand.d.ts +6 -21
- package/dist-types/commands/RejectQualificationRequestCommand.d.ts +6 -21
- package/dist-types/commands/SendBonusCommand.d.ts +6 -21
- package/dist-types/commands/SendTestEventNotificationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateExpirationForHITCommand.d.ts +6 -21
- package/dist-types/commands/UpdateHITReviewStatusCommand.d.ts +6 -21
- package/dist-types/commands/UpdateHITTypeOfHITCommand.d.ts +6 -21
- package/dist-types/commands/UpdateNotificationSettingsCommand.d.ts +6 -21
- package/dist-types/commands/UpdateQualificationTypeCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/AcceptQualificationRequestCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ApproveAssignmentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/AssociateQualificationWithWorkerCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateHITCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateHITTypeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateHITWithHITTypeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateQualificationTypeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateWorkerBlockCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteHITCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteQualificationTypeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteWorkerBlockCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisassociateQualificationFromWorkerCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetAccountBalanceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetAssignmentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetFileUploadURLCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetHITCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/GetQualificationScoreCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetQualificationTypeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListAssignmentsForHITCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListBonusPaymentsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListHITsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListHITsForQualificationTypeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListQualificationRequestsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListQualificationTypesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListReviewPolicyResultsForHITCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListReviewableHITsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListWorkerBlocksCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListWorkersWithQualificationTypeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/NotifyWorkersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RejectAssignmentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RejectQualificationRequestCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SendBonusCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SendTestEventNotificationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateExpirationForHITCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateHITReviewStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateHITTypeOfHITCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateNotificationSettingsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateQualificationTypeCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +11 -11
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class DeleteHITCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MTurkClient";
|
|
29
|
-
const commandName = "DeleteHITCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "MTurkRequesterServiceV20170117",
|
|
38
|
-
operation: "DeleteHIT",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_DeleteHITCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DeleteHITCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DeleteHITCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("MTurkRequesterServiceV20170117", "DeleteHIT", {})
|
|
22
|
+
.n("MTurkClient", "DeleteHITCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DeleteHITCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DeleteHITCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DeleteHITCommand = DeleteHITCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class DeleteQualificationTypeCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MTurkClient";
|
|
29
|
-
const commandName = "DeleteQualificationTypeCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "MTurkRequesterServiceV20170117",
|
|
38
|
-
operation: "DeleteQualificationType",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_DeleteQualificationTypeCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DeleteQualificationTypeCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DeleteQualificationTypeCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("MTurkRequesterServiceV20170117", "DeleteQualificationType", {})
|
|
22
|
+
.n("MTurkClient", "DeleteQualificationTypeCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DeleteQualificationTypeCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DeleteQualificationTypeCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DeleteQualificationTypeCommand = DeleteQualificationTypeCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class DeleteWorkerBlockCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MTurkClient";
|
|
29
|
-
const commandName = "DeleteWorkerBlockCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "MTurkRequesterServiceV20170117",
|
|
38
|
-
operation: "DeleteWorkerBlock",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_DeleteWorkerBlockCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DeleteWorkerBlockCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DeleteWorkerBlockCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("MTurkRequesterServiceV20170117", "DeleteWorkerBlock", {})
|
|
22
|
+
.n("MTurkClient", "DeleteWorkerBlockCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DeleteWorkerBlockCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DeleteWorkerBlockCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DeleteWorkerBlockCommand = DeleteWorkerBlockCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class DisassociateQualificationFromWorkerCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MTurkClient";
|
|
29
|
-
const commandName = "DisassociateQualificationFromWorkerCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "MTurkRequesterServiceV20170117",
|
|
38
|
-
operation: "DisassociateQualificationFromWorker",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_DisassociateQualificationFromWorkerCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DisassociateQualificationFromWorkerCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DisassociateQualificationFromWorkerCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("MTurkRequesterServiceV20170117", "DisassociateQualificationFromWorker", {})
|
|
22
|
+
.n("MTurkClient", "DisassociateQualificationFromWorkerCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DisassociateQualificationFromWorkerCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DisassociateQualificationFromWorkerCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DisassociateQualificationFromWorkerCommand = DisassociateQualificationFromWorkerCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class GetAccountBalanceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MTurkClient";
|
|
29
|
-
const commandName = "GetAccountBalanceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "MTurkRequesterServiceV20170117",
|
|
38
|
-
operation: "GetAccountBalance",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_GetAccountBalanceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_GetAccountBalanceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class GetAccountBalanceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("MTurkRequesterServiceV20170117", "GetAccountBalance", {})
|
|
22
|
+
.n("MTurkClient", "GetAccountBalanceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_GetAccountBalanceCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_GetAccountBalanceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.GetAccountBalanceCommand = GetAccountBalanceCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class GetAssignmentCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MTurkClient";
|
|
29
|
-
const commandName = "GetAssignmentCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "MTurkRequesterServiceV20170117",
|
|
38
|
-
operation: "GetAssignment",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_GetAssignmentCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_GetAssignmentCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class GetAssignmentCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("MTurkRequesterServiceV20170117", "GetAssignment", {})
|
|
22
|
+
.n("MTurkClient", "GetAssignmentCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_GetAssignmentCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_GetAssignmentCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.GetAssignmentCommand = GetAssignmentCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class GetFileUploadURLCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MTurkClient";
|
|
29
|
-
const commandName = "GetFileUploadURLCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "MTurkRequesterServiceV20170117",
|
|
38
|
-
operation: "GetFileUploadURL",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_GetFileUploadURLCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_GetFileUploadURLCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class GetFileUploadURLCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("MTurkRequesterServiceV20170117", "GetFileUploadURL", {})
|
|
22
|
+
.n("MTurkClient", "GetFileUploadURLCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_GetFileUploadURLCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_GetFileUploadURLCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.GetFileUploadURLCommand = GetFileUploadURLCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class GetHITCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MTurkClient";
|
|
29
|
-
const commandName = "GetHITCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "MTurkRequesterServiceV20170117",
|
|
38
|
-
operation: "GetHIT",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_GetHITCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_GetHITCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class GetHITCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("MTurkRequesterServiceV20170117", "GetHIT", {})
|
|
22
|
+
.n("MTurkClient", "GetHITCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_GetHITCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_GetHITCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.GetHITCommand = GetHITCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class GetQualificationScoreCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MTurkClient";
|
|
29
|
-
const commandName = "GetQualificationScoreCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "MTurkRequesterServiceV20170117",
|
|
38
|
-
operation: "GetQualificationScore",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_GetQualificationScoreCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_GetQualificationScoreCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class GetQualificationScoreCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("MTurkRequesterServiceV20170117", "GetQualificationScore", {})
|
|
22
|
+
.n("MTurkClient", "GetQualificationScoreCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_GetQualificationScoreCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_GetQualificationScoreCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.GetQualificationScoreCommand = GetQualificationScoreCommand;
|