@aws-sdk/client-mturk 3.303.0 → 3.309.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 +2 -2
- package/dist-cjs/commands/ApproveAssignmentCommand.js +2 -2
- package/dist-cjs/commands/AssociateQualificationWithWorkerCommand.js +2 -2
- package/dist-cjs/commands/CreateAdditionalAssignmentsForHITCommand.js +2 -2
- package/dist-cjs/commands/CreateHITCommand.js +2 -2
- package/dist-cjs/commands/CreateHITTypeCommand.js +2 -2
- package/dist-cjs/commands/CreateHITWithHITTypeCommand.js +2 -2
- package/dist-cjs/commands/CreateQualificationTypeCommand.js +2 -2
- package/dist-cjs/commands/CreateWorkerBlockCommand.js +2 -2
- package/dist-cjs/commands/DeleteHITCommand.js +2 -2
- package/dist-cjs/commands/DeleteQualificationTypeCommand.js +2 -2
- package/dist-cjs/commands/DeleteWorkerBlockCommand.js +2 -2
- package/dist-cjs/commands/DisassociateQualificationFromWorkerCommand.js +2 -2
- package/dist-cjs/commands/GetAccountBalanceCommand.js +2 -2
- package/dist-cjs/commands/GetAssignmentCommand.js +2 -2
- package/dist-cjs/commands/GetFileUploadURLCommand.js +2 -2
- package/dist-cjs/commands/GetHITCommand.js +2 -2
- package/dist-cjs/commands/GetQualificationScoreCommand.js +2 -2
- package/dist-cjs/commands/GetQualificationTypeCommand.js +2 -2
- package/dist-cjs/commands/ListAssignmentsForHITCommand.js +2 -2
- package/dist-cjs/commands/ListBonusPaymentsCommand.js +2 -2
- package/dist-cjs/commands/ListHITsCommand.js +2 -2
- package/dist-cjs/commands/ListHITsForQualificationTypeCommand.js +2 -2
- package/dist-cjs/commands/ListQualificationRequestsCommand.js +2 -2
- package/dist-cjs/commands/ListQualificationTypesCommand.js +2 -2
- package/dist-cjs/commands/ListReviewPolicyResultsForHITCommand.js +2 -2
- package/dist-cjs/commands/ListReviewableHITsCommand.js +2 -2
- package/dist-cjs/commands/ListWorkerBlocksCommand.js +2 -2
- package/dist-cjs/commands/ListWorkersWithQualificationTypeCommand.js +2 -2
- package/dist-cjs/commands/NotifyWorkersCommand.js +2 -2
- package/dist-cjs/commands/RejectAssignmentCommand.js +2 -2
- package/dist-cjs/commands/RejectQualificationRequestCommand.js +2 -2
- package/dist-cjs/commands/SendBonusCommand.js +2 -2
- package/dist-cjs/commands/SendTestEventNotificationCommand.js +2 -2
- package/dist-cjs/commands/UpdateExpirationForHITCommand.js +2 -2
- package/dist-cjs/commands/UpdateHITReviewStatusCommand.js +2 -2
- package/dist-cjs/commands/UpdateHITTypeOfHITCommand.js +2 -2
- package/dist-cjs/commands/UpdateNotificationSettingsCommand.js +2 -2
- package/dist-cjs/commands/UpdateQualificationTypeCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +598 -630
- package/dist-es/commands/AcceptQualificationRequestCommand.js +3 -3
- package/dist-es/commands/ApproveAssignmentCommand.js +3 -3
- package/dist-es/commands/AssociateQualificationWithWorkerCommand.js +3 -3
- package/dist-es/commands/CreateAdditionalAssignmentsForHITCommand.js +3 -3
- package/dist-es/commands/CreateHITCommand.js +3 -3
- package/dist-es/commands/CreateHITTypeCommand.js +3 -3
- package/dist-es/commands/CreateHITWithHITTypeCommand.js +3 -3
- package/dist-es/commands/CreateQualificationTypeCommand.js +3 -3
- package/dist-es/commands/CreateWorkerBlockCommand.js +3 -3
- package/dist-es/commands/DeleteHITCommand.js +3 -3
- package/dist-es/commands/DeleteQualificationTypeCommand.js +3 -3
- package/dist-es/commands/DeleteWorkerBlockCommand.js +3 -3
- package/dist-es/commands/DisassociateQualificationFromWorkerCommand.js +3 -3
- package/dist-es/commands/GetAccountBalanceCommand.js +3 -3
- package/dist-es/commands/GetAssignmentCommand.js +3 -3
- package/dist-es/commands/GetFileUploadURLCommand.js +3 -3
- package/dist-es/commands/GetHITCommand.js +3 -3
- package/dist-es/commands/GetQualificationScoreCommand.js +3 -3
- package/dist-es/commands/GetQualificationTypeCommand.js +3 -3
- package/dist-es/commands/ListAssignmentsForHITCommand.js +3 -3
- package/dist-es/commands/ListBonusPaymentsCommand.js +3 -3
- package/dist-es/commands/ListHITsCommand.js +3 -3
- package/dist-es/commands/ListHITsForQualificationTypeCommand.js +3 -3
- package/dist-es/commands/ListQualificationRequestsCommand.js +3 -3
- package/dist-es/commands/ListQualificationTypesCommand.js +3 -3
- package/dist-es/commands/ListReviewPolicyResultsForHITCommand.js +3 -3
- package/dist-es/commands/ListReviewableHITsCommand.js +3 -3
- package/dist-es/commands/ListWorkerBlocksCommand.js +3 -3
- package/dist-es/commands/ListWorkersWithQualificationTypeCommand.js +3 -3
- package/dist-es/commands/NotifyWorkersCommand.js +3 -3
- package/dist-es/commands/RejectAssignmentCommand.js +3 -3
- package/dist-es/commands/RejectQualificationRequestCommand.js +3 -3
- package/dist-es/commands/SendBonusCommand.js +3 -3
- package/dist-es/commands/SendTestEventNotificationCommand.js +3 -3
- package/dist-es/commands/UpdateExpirationForHITCommand.js +3 -3
- package/dist-es/commands/UpdateHITReviewStatusCommand.js +3 -3
- package/dist-es/commands/UpdateHITTypeOfHITCommand.js +3 -3
- package/dist-es/commands/UpdateNotificationSettingsCommand.js +3 -3
- package/dist-es/commands/UpdateQualificationTypeCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +518 -550
- package/dist-types/protocols/Aws_json1_1.d.ts +312 -78
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +78 -78
- package/package.json +29 -29
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_ListWorkersWithQualificationTypeCommand, se_ListWorkersWithQualificationTypeCommand, } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class ListWorkersWithQualificationTypeCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class ListWorkersWithQualificationTypeCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_ListWorkersWithQualificationTypeCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_ListWorkersWithQualificationTypeCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_NotifyWorkersCommand, se_NotifyWorkersCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class NotifyWorkersCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class NotifyWorkersCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_NotifyWorkersCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_NotifyWorkersCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_RejectAssignmentCommand, se_RejectAssignmentCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class RejectAssignmentCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class RejectAssignmentCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_RejectAssignmentCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_RejectAssignmentCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_RejectQualificationRequestCommand, se_RejectQualificationRequestCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class RejectQualificationRequestCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class RejectQualificationRequestCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_RejectQualificationRequestCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_RejectQualificationRequestCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_SendBonusCommand, se_SendBonusCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class SendBonusCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class SendBonusCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_SendBonusCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_SendBonusCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_SendTestEventNotificationCommand, se_SendTestEventNotificationCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class SendTestEventNotificationCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class SendTestEventNotificationCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_SendTestEventNotificationCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_SendTestEventNotificationCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UpdateExpirationForHITCommand, se_UpdateExpirationForHITCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class UpdateExpirationForHITCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UpdateExpirationForHITCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UpdateExpirationForHITCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UpdateExpirationForHITCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UpdateHITReviewStatusCommand, se_UpdateHITReviewStatusCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class UpdateHITReviewStatusCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UpdateHITReviewStatusCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UpdateHITReviewStatusCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UpdateHITReviewStatusCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UpdateHITTypeOfHITCommand, se_UpdateHITTypeOfHITCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class UpdateHITTypeOfHITCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UpdateHITTypeOfHITCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UpdateHITTypeOfHITCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UpdateHITTypeOfHITCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UpdateNotificationSettingsCommand, se_UpdateNotificationSettingsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class UpdateNotificationSettingsCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UpdateNotificationSettingsCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UpdateNotificationSettingsCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UpdateNotificationSettingsCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UpdateQualificationTypeCommand, se_UpdateQualificationTypeCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class UpdateQualificationTypeCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UpdateQualificationTypeCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UpdateQualificationTypeCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UpdateQualificationTypeCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|