@aws-sdk/client-mturk 3.477.0 → 3.481.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-cjs/pagination/ListAssignmentsForHITPaginator.js +2 -24
- package/dist-cjs/pagination/ListBonusPaymentsPaginator.js +2 -24
- package/dist-cjs/pagination/ListHITsForQualificationTypePaginator.js +2 -24
- package/dist-cjs/pagination/ListHITsPaginator.js +2 -24
- package/dist-cjs/pagination/ListQualificationRequestsPaginator.js +2 -24
- package/dist-cjs/pagination/ListQualificationTypesPaginator.js +2 -24
- package/dist-cjs/pagination/ListReviewPolicyResultsForHITPaginator.js +2 -24
- package/dist-cjs/pagination/ListReviewableHITsPaginator.js +2 -24
- package/dist-cjs/pagination/ListWorkerBlocksPaginator.js +2 -24
- package/dist-cjs/pagination/ListWorkersWithQualificationTypePaginator.js +2 -24
- 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-es/pagination/ListAssignmentsForHITPaginator.js +2 -23
- package/dist-es/pagination/ListBonusPaymentsPaginator.js +2 -23
- package/dist-es/pagination/ListHITsForQualificationTypePaginator.js +2 -23
- package/dist-es/pagination/ListHITsPaginator.js +2 -23
- package/dist-es/pagination/ListQualificationRequestsPaginator.js +2 -23
- package/dist-es/pagination/ListQualificationTypesPaginator.js +2 -23
- package/dist-es/pagination/ListReviewPolicyResultsForHITPaginator.js +2 -23
- package/dist-es/pagination/ListReviewableHITsPaginator.js +2 -23
- package/dist-es/pagination/ListWorkerBlocksPaginator.js +2 -23
- package/dist-es/pagination/ListWorkersWithQualificationTypePaginator.js +2 -23
- 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/pagination/ListAssignmentsForHITPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBonusPaymentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListHITsForQualificationTypePaginator.d.ts +1 -1
- package/dist-types/pagination/ListHITsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListQualificationRequestsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListQualificationTypesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReviewPolicyResultsForHITPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReviewableHITsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkerBlocksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkersWithQualificationTypePaginator.d.ts +1 -1
- 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/dist-types/ts3.4/pagination/ListAssignmentsForHITPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListBonusPaymentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListHITsForQualificationTypePaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListHITsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListQualificationRequestsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListQualificationTypesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListReviewPolicyResultsForHITPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListReviewableHITsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWorkerBlocksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWorkersWithQualificationTypePaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListWorkersWithQualificationTypeCommand, se_ListWorkersWithQualificationTypeCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListWorkersWithQualificationTypeCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MTurkClient";
|
|
26
|
-
const commandName = "ListWorkersWithQualificationTypeCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "MTurkRequesterServiceV20170117",
|
|
35
|
-
operation: "ListWorkersWithQualificationType",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListWorkersWithQualificationTypeCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListWorkersWithQualificationTypeCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListWorkersWithQualificationTypeCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("MTurkRequesterServiceV20170117", "ListWorkersWithQualificationType", {})
|
|
19
|
+
.n("MTurkClient", "ListWorkersWithQualificationTypeCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListWorkersWithQualificationTypeCommand)
|
|
22
|
+
.de(de_ListWorkersWithQualificationTypeCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_NotifyWorkersCommand, se_NotifyWorkersCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class NotifyWorkersCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MTurkClient";
|
|
26
|
-
const commandName = "NotifyWorkersCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "MTurkRequesterServiceV20170117",
|
|
35
|
-
operation: "NotifyWorkers",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_NotifyWorkersCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_NotifyWorkersCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class NotifyWorkersCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("MTurkRequesterServiceV20170117", "NotifyWorkers", {})
|
|
19
|
+
.n("MTurkClient", "NotifyWorkersCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_NotifyWorkersCommand)
|
|
22
|
+
.de(de_NotifyWorkersCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_RejectAssignmentCommand, se_RejectAssignmentCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class RejectAssignmentCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MTurkClient";
|
|
26
|
-
const commandName = "RejectAssignmentCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "MTurkRequesterServiceV20170117",
|
|
35
|
-
operation: "RejectAssignment",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_RejectAssignmentCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_RejectAssignmentCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class RejectAssignmentCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("MTurkRequesterServiceV20170117", "RejectAssignment", {})
|
|
19
|
+
.n("MTurkClient", "RejectAssignmentCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_RejectAssignmentCommand)
|
|
22
|
+
.de(de_RejectAssignmentCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_RejectQualificationRequestCommand, se_RejectQualificationRequestCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class RejectQualificationRequestCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MTurkClient";
|
|
26
|
-
const commandName = "RejectQualificationRequestCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "MTurkRequesterServiceV20170117",
|
|
35
|
-
operation: "RejectQualificationRequest",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_RejectQualificationRequestCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_RejectQualificationRequestCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class RejectQualificationRequestCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("MTurkRequesterServiceV20170117", "RejectQualificationRequest", {})
|
|
19
|
+
.n("MTurkClient", "RejectQualificationRequestCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_RejectQualificationRequestCommand)
|
|
22
|
+
.de(de_RejectQualificationRequestCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_SendBonusCommand, se_SendBonusCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class SendBonusCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MTurkClient";
|
|
26
|
-
const commandName = "SendBonusCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "MTurkRequesterServiceV20170117",
|
|
35
|
-
operation: "SendBonus",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_SendBonusCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_SendBonusCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class SendBonusCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("MTurkRequesterServiceV20170117", "SendBonus", {})
|
|
19
|
+
.n("MTurkClient", "SendBonusCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_SendBonusCommand)
|
|
22
|
+
.de(de_SendBonusCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_SendTestEventNotificationCommand, se_SendTestEventNotificationCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class SendTestEventNotificationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MTurkClient";
|
|
26
|
-
const commandName = "SendTestEventNotificationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "MTurkRequesterServiceV20170117",
|
|
35
|
-
operation: "SendTestEventNotification",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_SendTestEventNotificationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_SendTestEventNotificationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class SendTestEventNotificationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("MTurkRequesterServiceV20170117", "SendTestEventNotification", {})
|
|
19
|
+
.n("MTurkClient", "SendTestEventNotificationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_SendTestEventNotificationCommand)
|
|
22
|
+
.de(de_SendTestEventNotificationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateExpirationForHITCommand, se_UpdateExpirationForHITCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateExpirationForHITCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MTurkClient";
|
|
26
|
-
const commandName = "UpdateExpirationForHITCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "MTurkRequesterServiceV20170117",
|
|
35
|
-
operation: "UpdateExpirationForHIT",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateExpirationForHITCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateExpirationForHITCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateExpirationForHITCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("MTurkRequesterServiceV20170117", "UpdateExpirationForHIT", {})
|
|
19
|
+
.n("MTurkClient", "UpdateExpirationForHITCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateExpirationForHITCommand)
|
|
22
|
+
.de(de_UpdateExpirationForHITCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateHITReviewStatusCommand, se_UpdateHITReviewStatusCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateHITReviewStatusCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MTurkClient";
|
|
26
|
-
const commandName = "UpdateHITReviewStatusCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "MTurkRequesterServiceV20170117",
|
|
35
|
-
operation: "UpdateHITReviewStatus",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateHITReviewStatusCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateHITReviewStatusCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateHITReviewStatusCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("MTurkRequesterServiceV20170117", "UpdateHITReviewStatus", {})
|
|
19
|
+
.n("MTurkClient", "UpdateHITReviewStatusCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateHITReviewStatusCommand)
|
|
22
|
+
.de(de_UpdateHITReviewStatusCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateHITTypeOfHITCommand, se_UpdateHITTypeOfHITCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateHITTypeOfHITCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MTurkClient";
|
|
26
|
-
const commandName = "UpdateHITTypeOfHITCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "MTurkRequesterServiceV20170117",
|
|
35
|
-
operation: "UpdateHITTypeOfHIT",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateHITTypeOfHITCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateHITTypeOfHITCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateHITTypeOfHITCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("MTurkRequesterServiceV20170117", "UpdateHITTypeOfHIT", {})
|
|
19
|
+
.n("MTurkClient", "UpdateHITTypeOfHITCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateHITTypeOfHITCommand)
|
|
22
|
+
.de(de_UpdateHITTypeOfHITCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|