@aws-sdk/client-mturk 3.306.0 → 3.310.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.
Files changed (83) hide show
  1. package/dist-cjs/commands/AcceptQualificationRequestCommand.js +2 -2
  2. package/dist-cjs/commands/ApproveAssignmentCommand.js +2 -2
  3. package/dist-cjs/commands/AssociateQualificationWithWorkerCommand.js +2 -2
  4. package/dist-cjs/commands/CreateAdditionalAssignmentsForHITCommand.js +2 -2
  5. package/dist-cjs/commands/CreateHITCommand.js +2 -2
  6. package/dist-cjs/commands/CreateHITTypeCommand.js +2 -2
  7. package/dist-cjs/commands/CreateHITWithHITTypeCommand.js +2 -2
  8. package/dist-cjs/commands/CreateQualificationTypeCommand.js +2 -2
  9. package/dist-cjs/commands/CreateWorkerBlockCommand.js +2 -2
  10. package/dist-cjs/commands/DeleteHITCommand.js +2 -2
  11. package/dist-cjs/commands/DeleteQualificationTypeCommand.js +2 -2
  12. package/dist-cjs/commands/DeleteWorkerBlockCommand.js +2 -2
  13. package/dist-cjs/commands/DisassociateQualificationFromWorkerCommand.js +2 -2
  14. package/dist-cjs/commands/GetAccountBalanceCommand.js +2 -2
  15. package/dist-cjs/commands/GetAssignmentCommand.js +2 -2
  16. package/dist-cjs/commands/GetFileUploadURLCommand.js +2 -2
  17. package/dist-cjs/commands/GetHITCommand.js +2 -2
  18. package/dist-cjs/commands/GetQualificationScoreCommand.js +2 -2
  19. package/dist-cjs/commands/GetQualificationTypeCommand.js +2 -2
  20. package/dist-cjs/commands/ListAssignmentsForHITCommand.js +2 -2
  21. package/dist-cjs/commands/ListBonusPaymentsCommand.js +2 -2
  22. package/dist-cjs/commands/ListHITsCommand.js +2 -2
  23. package/dist-cjs/commands/ListHITsForQualificationTypeCommand.js +2 -2
  24. package/dist-cjs/commands/ListQualificationRequestsCommand.js +2 -2
  25. package/dist-cjs/commands/ListQualificationTypesCommand.js +2 -2
  26. package/dist-cjs/commands/ListReviewPolicyResultsForHITCommand.js +2 -2
  27. package/dist-cjs/commands/ListReviewableHITsCommand.js +2 -2
  28. package/dist-cjs/commands/ListWorkerBlocksCommand.js +2 -2
  29. package/dist-cjs/commands/ListWorkersWithQualificationTypeCommand.js +2 -2
  30. package/dist-cjs/commands/NotifyWorkersCommand.js +2 -2
  31. package/dist-cjs/commands/RejectAssignmentCommand.js +2 -2
  32. package/dist-cjs/commands/RejectQualificationRequestCommand.js +2 -2
  33. package/dist-cjs/commands/SendBonusCommand.js +2 -2
  34. package/dist-cjs/commands/SendTestEventNotificationCommand.js +2 -2
  35. package/dist-cjs/commands/UpdateExpirationForHITCommand.js +2 -2
  36. package/dist-cjs/commands/UpdateHITReviewStatusCommand.js +2 -2
  37. package/dist-cjs/commands/UpdateHITTypeOfHITCommand.js +2 -2
  38. package/dist-cjs/commands/UpdateNotificationSettingsCommand.js +2 -2
  39. package/dist-cjs/commands/UpdateQualificationTypeCommand.js +2 -2
  40. package/dist-cjs/protocols/Aws_json1_1.js +598 -630
  41. package/dist-es/commands/AcceptQualificationRequestCommand.js +3 -3
  42. package/dist-es/commands/ApproveAssignmentCommand.js +3 -3
  43. package/dist-es/commands/AssociateQualificationWithWorkerCommand.js +3 -3
  44. package/dist-es/commands/CreateAdditionalAssignmentsForHITCommand.js +3 -3
  45. package/dist-es/commands/CreateHITCommand.js +3 -3
  46. package/dist-es/commands/CreateHITTypeCommand.js +3 -3
  47. package/dist-es/commands/CreateHITWithHITTypeCommand.js +3 -3
  48. package/dist-es/commands/CreateQualificationTypeCommand.js +3 -3
  49. package/dist-es/commands/CreateWorkerBlockCommand.js +3 -3
  50. package/dist-es/commands/DeleteHITCommand.js +3 -3
  51. package/dist-es/commands/DeleteQualificationTypeCommand.js +3 -3
  52. package/dist-es/commands/DeleteWorkerBlockCommand.js +3 -3
  53. package/dist-es/commands/DisassociateQualificationFromWorkerCommand.js +3 -3
  54. package/dist-es/commands/GetAccountBalanceCommand.js +3 -3
  55. package/dist-es/commands/GetAssignmentCommand.js +3 -3
  56. package/dist-es/commands/GetFileUploadURLCommand.js +3 -3
  57. package/dist-es/commands/GetHITCommand.js +3 -3
  58. package/dist-es/commands/GetQualificationScoreCommand.js +3 -3
  59. package/dist-es/commands/GetQualificationTypeCommand.js +3 -3
  60. package/dist-es/commands/ListAssignmentsForHITCommand.js +3 -3
  61. package/dist-es/commands/ListBonusPaymentsCommand.js +3 -3
  62. package/dist-es/commands/ListHITsCommand.js +3 -3
  63. package/dist-es/commands/ListHITsForQualificationTypeCommand.js +3 -3
  64. package/dist-es/commands/ListQualificationRequestsCommand.js +3 -3
  65. package/dist-es/commands/ListQualificationTypesCommand.js +3 -3
  66. package/dist-es/commands/ListReviewPolicyResultsForHITCommand.js +3 -3
  67. package/dist-es/commands/ListReviewableHITsCommand.js +3 -3
  68. package/dist-es/commands/ListWorkerBlocksCommand.js +3 -3
  69. package/dist-es/commands/ListWorkersWithQualificationTypeCommand.js +3 -3
  70. package/dist-es/commands/NotifyWorkersCommand.js +3 -3
  71. package/dist-es/commands/RejectAssignmentCommand.js +3 -3
  72. package/dist-es/commands/RejectQualificationRequestCommand.js +3 -3
  73. package/dist-es/commands/SendBonusCommand.js +3 -3
  74. package/dist-es/commands/SendTestEventNotificationCommand.js +3 -3
  75. package/dist-es/commands/UpdateExpirationForHITCommand.js +3 -3
  76. package/dist-es/commands/UpdateHITReviewStatusCommand.js +3 -3
  77. package/dist-es/commands/UpdateHITTypeOfHITCommand.js +3 -3
  78. package/dist-es/commands/UpdateNotificationSettingsCommand.js +3 -3
  79. package/dist-es/commands/UpdateQualificationTypeCommand.js +3 -3
  80. package/dist-es/protocols/Aws_json1_1.js +518 -550
  81. package/dist-types/protocols/Aws_json1_1.d.ts +312 -78
  82. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +78 -78
  83. package/package.json +35 -35
@@ -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 { deserializeAws_json1_1ListWorkersWithQualificationTypeCommand, serializeAws_json1_1ListWorkersWithQualificationTypeCommand, } from "../protocols/Aws_json1_1";
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 serializeAws_json1_1ListWorkersWithQualificationTypeCommand(input, context);
36
+ return se_ListWorkersWithQualificationTypeCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1ListWorkersWithQualificationTypeCommand(output, context);
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 { deserializeAws_json1_1NotifyWorkersCommand, serializeAws_json1_1NotifyWorkersCommand, } from "../protocols/Aws_json1_1";
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 serializeAws_json1_1NotifyWorkersCommand(input, context);
36
+ return se_NotifyWorkersCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1NotifyWorkersCommand(output, context);
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 { deserializeAws_json1_1RejectAssignmentCommand, serializeAws_json1_1RejectAssignmentCommand, } from "../protocols/Aws_json1_1";
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 serializeAws_json1_1RejectAssignmentCommand(input, context);
36
+ return se_RejectAssignmentCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1RejectAssignmentCommand(output, context);
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 { deserializeAws_json1_1RejectQualificationRequestCommand, serializeAws_json1_1RejectQualificationRequestCommand, } from "../protocols/Aws_json1_1";
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 serializeAws_json1_1RejectQualificationRequestCommand(input, context);
36
+ return se_RejectQualificationRequestCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1RejectQualificationRequestCommand(output, context);
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 { deserializeAws_json1_1SendBonusCommand, serializeAws_json1_1SendBonusCommand } from "../protocols/Aws_json1_1";
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 serializeAws_json1_1SendBonusCommand(input, context);
36
+ return se_SendBonusCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1SendBonusCommand(output, context);
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 { deserializeAws_json1_1SendTestEventNotificationCommand, serializeAws_json1_1SendTestEventNotificationCommand, } from "../protocols/Aws_json1_1";
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 serializeAws_json1_1SendTestEventNotificationCommand(input, context);
36
+ return se_SendTestEventNotificationCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1SendTestEventNotificationCommand(output, context);
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 { deserializeAws_json1_1UpdateExpirationForHITCommand, serializeAws_json1_1UpdateExpirationForHITCommand, } from "../protocols/Aws_json1_1";
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 serializeAws_json1_1UpdateExpirationForHITCommand(input, context);
36
+ return se_UpdateExpirationForHITCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1UpdateExpirationForHITCommand(output, context);
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 { deserializeAws_json1_1UpdateHITReviewStatusCommand, serializeAws_json1_1UpdateHITReviewStatusCommand, } from "../protocols/Aws_json1_1";
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 serializeAws_json1_1UpdateHITReviewStatusCommand(input, context);
36
+ return se_UpdateHITReviewStatusCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1UpdateHITReviewStatusCommand(output, context);
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 { deserializeAws_json1_1UpdateHITTypeOfHITCommand, serializeAws_json1_1UpdateHITTypeOfHITCommand, } from "../protocols/Aws_json1_1";
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 serializeAws_json1_1UpdateHITTypeOfHITCommand(input, context);
36
+ return se_UpdateHITTypeOfHITCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1UpdateHITTypeOfHITCommand(output, context);
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 { deserializeAws_json1_1UpdateNotificationSettingsCommand, serializeAws_json1_1UpdateNotificationSettingsCommand, } from "../protocols/Aws_json1_1";
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 serializeAws_json1_1UpdateNotificationSettingsCommand(input, context);
36
+ return se_UpdateNotificationSettingsCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1UpdateNotificationSettingsCommand(output, context);
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 { deserializeAws_json1_1UpdateQualificationTypeCommand, serializeAws_json1_1UpdateQualificationTypeCommand, } from "../protocols/Aws_json1_1";
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 serializeAws_json1_1UpdateQualificationTypeCommand(input, context);
36
+ return se_UpdateQualificationTypeCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_json1_1UpdateQualificationTypeCommand(output, context);
39
+ return de_UpdateQualificationTypeCommand(output, context);
40
40
  }
41
41
  }