@aws-sdk/client-mturk 3.183.0 → 3.185.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 +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/MTurk.js +165 -158
- package/dist-es/MTurkClient.js +28 -22
- package/dist-es/commands/AcceptQualificationRequestCommand.js +28 -21
- package/dist-es/commands/ApproveAssignmentCommand.js +28 -21
- package/dist-es/commands/AssociateQualificationWithWorkerCommand.js +28 -21
- package/dist-es/commands/CreateAdditionalAssignmentsForHITCommand.js +28 -21
- package/dist-es/commands/CreateHITCommand.js +28 -21
- package/dist-es/commands/CreateHITTypeCommand.js +28 -21
- package/dist-es/commands/CreateHITWithHITTypeCommand.js +28 -21
- package/dist-es/commands/CreateQualificationTypeCommand.js +28 -21
- package/dist-es/commands/CreateWorkerBlockCommand.js +28 -21
- package/dist-es/commands/DeleteHITCommand.js +28 -21
- package/dist-es/commands/DeleteQualificationTypeCommand.js +28 -21
- package/dist-es/commands/DeleteWorkerBlockCommand.js +28 -21
- package/dist-es/commands/DisassociateQualificationFromWorkerCommand.js +28 -21
- package/dist-es/commands/GetAccountBalanceCommand.js +28 -21
- package/dist-es/commands/GetAssignmentCommand.js +28 -21
- package/dist-es/commands/GetFileUploadURLCommand.js +28 -21
- package/dist-es/commands/GetHITCommand.js +28 -21
- package/dist-es/commands/GetQualificationScoreCommand.js +28 -21
- package/dist-es/commands/GetQualificationTypeCommand.js +28 -21
- package/dist-es/commands/ListAssignmentsForHITCommand.js +28 -21
- package/dist-es/commands/ListBonusPaymentsCommand.js +28 -21
- package/dist-es/commands/ListHITsCommand.js +28 -21
- package/dist-es/commands/ListHITsForQualificationTypeCommand.js +28 -21
- package/dist-es/commands/ListQualificationRequestsCommand.js +28 -21
- package/dist-es/commands/ListQualificationTypesCommand.js +28 -21
- package/dist-es/commands/ListReviewPolicyResultsForHITCommand.js +28 -21
- package/dist-es/commands/ListReviewableHITsCommand.js +28 -21
- package/dist-es/commands/ListWorkerBlocksCommand.js +28 -21
- package/dist-es/commands/ListWorkersWithQualificationTypeCommand.js +28 -21
- package/dist-es/commands/NotifyWorkersCommand.js +28 -21
- package/dist-es/commands/RejectAssignmentCommand.js +28 -21
- package/dist-es/commands/RejectQualificationRequestCommand.js +28 -21
- package/dist-es/commands/SendBonusCommand.js +28 -21
- package/dist-es/commands/SendTestEventNotificationCommand.js +28 -21
- package/dist-es/commands/UpdateExpirationForHITCommand.js +28 -21
- package/dist-es/commands/UpdateHITReviewStatusCommand.js +28 -21
- package/dist-es/commands/UpdateHITTypeOfHITCommand.js +28 -21
- package/dist-es/commands/UpdateNotificationSettingsCommand.js +28 -21
- package/dist-es/commands/UpdateQualificationTypeCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/MTurkServiceException.js +10 -5
- package/dist-es/models/models_0.js +123 -314
- package/dist-es/pagination/ListAssignmentsForHITPaginator.js +68 -25
- package/dist-es/pagination/ListBonusPaymentsPaginator.js +68 -25
- package/dist-es/pagination/ListHITsForQualificationTypePaginator.js +68 -25
- package/dist-es/pagination/ListHITsPaginator.js +68 -25
- package/dist-es/pagination/ListQualificationRequestsPaginator.js +68 -25
- package/dist-es/pagination/ListQualificationTypesPaginator.js +68 -25
- package/dist-es/pagination/ListReviewPolicyResultsForHITPaginator.js +68 -25
- package/dist-es/pagination/ListReviewableHITsPaginator.js +68 -25
- package/dist-es/pagination/ListWorkerBlocksPaginator.js +68 -25
- package/dist-es/pagination/ListWorkersWithQualificationTypePaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +2941 -2304
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListAssignmentsForHITRequestFilterSensitiveLog, ListAssignmentsForHITResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListAssignmentsForHITCommand, serializeAws_json1_1ListAssignmentsForHITCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListAssignmentsForHITCommand = (function (_super) {
|
|
7
|
+
__extends(ListAssignmentsForHITCommand, _super);
|
|
8
|
+
function ListAssignmentsForHITCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListAssignmentsForHITCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "MTurkClient";
|
|
18
|
+
var commandName = "ListAssignmentsForHITCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListAssignmentsForHITRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListAssignmentsForHITResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListAssignmentsForHITCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListAssignmentsForHITCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListAssignmentsForHITCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListAssignmentsForHITCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListAssignmentsForHITCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListAssignmentsForHITCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListBonusPaymentsRequestFilterSensitiveLog, ListBonusPaymentsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListBonusPaymentsCommand, serializeAws_json1_1ListBonusPaymentsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListBonusPaymentsCommand = (function (_super) {
|
|
7
|
+
__extends(ListBonusPaymentsCommand, _super);
|
|
8
|
+
function ListBonusPaymentsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListBonusPaymentsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "MTurkClient";
|
|
18
|
+
var commandName = "ListBonusPaymentsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListBonusPaymentsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListBonusPaymentsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListBonusPaymentsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListBonusPaymentsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListBonusPaymentsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListBonusPaymentsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListBonusPaymentsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListBonusPaymentsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListHITsRequestFilterSensitiveLog, ListHITsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListHITsCommand, serializeAws_json1_1ListHITsCommand } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListHITsCommand = (function (_super) {
|
|
7
|
+
__extends(ListHITsCommand, _super);
|
|
8
|
+
function ListHITsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListHITsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "MTurkClient";
|
|
18
|
+
var commandName = "ListHITsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListHITsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListHITsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListHITsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListHITsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListHITsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListHITsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListHITsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListHITsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListHITsForQualificationTypeRequestFilterSensitiveLog, ListHITsForQualificationTypeResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListHITsForQualificationTypeCommand, serializeAws_json1_1ListHITsForQualificationTypeCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListHITsForQualificationTypeCommand = (function (_super) {
|
|
7
|
+
__extends(ListHITsForQualificationTypeCommand, _super);
|
|
8
|
+
function ListHITsForQualificationTypeCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListHITsForQualificationTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "MTurkClient";
|
|
18
|
+
var commandName = "ListHITsForQualificationTypeCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListHITsForQualificationTypeRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListHITsForQualificationTypeResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListHITsForQualificationTypeCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListHITsForQualificationTypeCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListHITsForQualificationTypeCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListHITsForQualificationTypeCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListHITsForQualificationTypeCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListHITsForQualificationTypeCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListQualificationRequestsRequestFilterSensitiveLog, ListQualificationRequestsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListQualificationRequestsCommand, serializeAws_json1_1ListQualificationRequestsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListQualificationRequestsCommand = (function (_super) {
|
|
7
|
+
__extends(ListQualificationRequestsCommand, _super);
|
|
8
|
+
function ListQualificationRequestsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListQualificationRequestsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "MTurkClient";
|
|
18
|
+
var commandName = "ListQualificationRequestsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListQualificationRequestsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListQualificationRequestsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListQualificationRequestsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListQualificationRequestsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListQualificationRequestsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListQualificationRequestsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListQualificationRequestsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListQualificationRequestsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListQualificationTypesRequestFilterSensitiveLog, ListQualificationTypesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListQualificationTypesCommand, serializeAws_json1_1ListQualificationTypesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListQualificationTypesCommand = (function (_super) {
|
|
7
|
+
__extends(ListQualificationTypesCommand, _super);
|
|
8
|
+
function ListQualificationTypesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListQualificationTypesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "MTurkClient";
|
|
18
|
+
var commandName = "ListQualificationTypesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListQualificationTypesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListQualificationTypesResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListQualificationTypesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListQualificationTypesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListQualificationTypesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListQualificationTypesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListQualificationTypesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListQualificationTypesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListReviewPolicyResultsForHITRequestFilterSensitiveLog, ListReviewPolicyResultsForHITResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListReviewPolicyResultsForHITCommand, serializeAws_json1_1ListReviewPolicyResultsForHITCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListReviewPolicyResultsForHITCommand = (function (_super) {
|
|
7
|
+
__extends(ListReviewPolicyResultsForHITCommand, _super);
|
|
8
|
+
function ListReviewPolicyResultsForHITCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListReviewPolicyResultsForHITCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "MTurkClient";
|
|
18
|
+
var commandName = "ListReviewPolicyResultsForHITCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListReviewPolicyResultsForHITRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListReviewPolicyResultsForHITResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListReviewPolicyResultsForHITCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListReviewPolicyResultsForHITCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListReviewPolicyResultsForHITCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListReviewPolicyResultsForHITCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListReviewPolicyResultsForHITCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListReviewPolicyResultsForHITCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListReviewableHITsRequestFilterSensitiveLog, ListReviewableHITsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListReviewableHITsCommand, serializeAws_json1_1ListReviewableHITsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListReviewableHITsCommand = (function (_super) {
|
|
7
|
+
__extends(ListReviewableHITsCommand, _super);
|
|
8
|
+
function ListReviewableHITsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListReviewableHITsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "MTurkClient";
|
|
18
|
+
var commandName = "ListReviewableHITsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListReviewableHITsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListReviewableHITsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListReviewableHITsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListReviewableHITsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListReviewableHITsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListReviewableHITsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListReviewableHITsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListReviewableHITsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListWorkerBlocksRequestFilterSensitiveLog, ListWorkerBlocksResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListWorkerBlocksCommand, serializeAws_json1_1ListWorkerBlocksCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListWorkerBlocksCommand = (function (_super) {
|
|
7
|
+
__extends(ListWorkerBlocksCommand, _super);
|
|
8
|
+
function ListWorkerBlocksCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListWorkerBlocksCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "MTurkClient";
|
|
18
|
+
var commandName = "ListWorkerBlocksCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListWorkerBlocksRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListWorkerBlocksResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListWorkerBlocksCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListWorkerBlocksCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListWorkerBlocksCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListWorkerBlocksCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListWorkerBlocksCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListWorkerBlocksCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListWorkersWithQualificationTypeRequestFilterSensitiveLog, ListWorkersWithQualificationTypeResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ListWorkersWithQualificationTypeCommand, serializeAws_json1_1ListWorkersWithQualificationTypeCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListWorkersWithQualificationTypeCommand = (function (_super) {
|
|
7
|
+
__extends(ListWorkersWithQualificationTypeCommand, _super);
|
|
8
|
+
function ListWorkersWithQualificationTypeCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListWorkersWithQualificationTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "MTurkClient";
|
|
18
|
+
var commandName = "ListWorkersWithQualificationTypeCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListWorkersWithQualificationTypeRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListWorkersWithQualificationTypeResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListWorkersWithQualificationTypeCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ListWorkersWithQualificationTypeCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListWorkersWithQualificationTypeCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ListWorkersWithQualificationTypeCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListWorkersWithQualificationTypeCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListWorkersWithQualificationTypeCommand };
|