@aws-sdk/client-mturk 3.414.0 → 3.421.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 (80) hide show
  1. package/README.md +7 -7
  2. package/dist-cjs/commands/AcceptQualificationRequestCommand.js +5 -0
  3. package/dist-cjs/commands/ApproveAssignmentCommand.js +5 -0
  4. package/dist-cjs/commands/AssociateQualificationWithWorkerCommand.js +5 -0
  5. package/dist-cjs/commands/CreateAdditionalAssignmentsForHITCommand.js +5 -0
  6. package/dist-cjs/commands/CreateHITCommand.js +5 -0
  7. package/dist-cjs/commands/CreateHITTypeCommand.js +5 -0
  8. package/dist-cjs/commands/CreateHITWithHITTypeCommand.js +5 -0
  9. package/dist-cjs/commands/CreateQualificationTypeCommand.js +5 -0
  10. package/dist-cjs/commands/CreateWorkerBlockCommand.js +5 -0
  11. package/dist-cjs/commands/DeleteHITCommand.js +5 -0
  12. package/dist-cjs/commands/DeleteQualificationTypeCommand.js +5 -0
  13. package/dist-cjs/commands/DeleteWorkerBlockCommand.js +5 -0
  14. package/dist-cjs/commands/DisassociateQualificationFromWorkerCommand.js +5 -0
  15. package/dist-cjs/commands/GetAccountBalanceCommand.js +5 -0
  16. package/dist-cjs/commands/GetAssignmentCommand.js +5 -0
  17. package/dist-cjs/commands/GetFileUploadURLCommand.js +5 -0
  18. package/dist-cjs/commands/GetHITCommand.js +5 -0
  19. package/dist-cjs/commands/GetQualificationScoreCommand.js +5 -0
  20. package/dist-cjs/commands/GetQualificationTypeCommand.js +5 -0
  21. package/dist-cjs/commands/ListAssignmentsForHITCommand.js +5 -0
  22. package/dist-cjs/commands/ListBonusPaymentsCommand.js +5 -0
  23. package/dist-cjs/commands/ListHITsCommand.js +5 -0
  24. package/dist-cjs/commands/ListHITsForQualificationTypeCommand.js +5 -0
  25. package/dist-cjs/commands/ListQualificationRequestsCommand.js +5 -0
  26. package/dist-cjs/commands/ListQualificationTypesCommand.js +5 -0
  27. package/dist-cjs/commands/ListReviewPolicyResultsForHITCommand.js +5 -0
  28. package/dist-cjs/commands/ListReviewableHITsCommand.js +5 -0
  29. package/dist-cjs/commands/ListWorkerBlocksCommand.js +5 -0
  30. package/dist-cjs/commands/ListWorkersWithQualificationTypeCommand.js +5 -0
  31. package/dist-cjs/commands/NotifyWorkersCommand.js +5 -0
  32. package/dist-cjs/commands/RejectAssignmentCommand.js +5 -0
  33. package/dist-cjs/commands/RejectQualificationRequestCommand.js +5 -0
  34. package/dist-cjs/commands/SendBonusCommand.js +5 -0
  35. package/dist-cjs/commands/SendTestEventNotificationCommand.js +5 -0
  36. package/dist-cjs/commands/UpdateExpirationForHITCommand.js +5 -0
  37. package/dist-cjs/commands/UpdateHITReviewStatusCommand.js +5 -0
  38. package/dist-cjs/commands/UpdateHITTypeOfHITCommand.js +5 -0
  39. package/dist-cjs/commands/UpdateNotificationSettingsCommand.js +5 -0
  40. package/dist-cjs/commands/UpdateQualificationTypeCommand.js +5 -0
  41. package/dist-es/commands/AcceptQualificationRequestCommand.js +5 -0
  42. package/dist-es/commands/ApproveAssignmentCommand.js +5 -0
  43. package/dist-es/commands/AssociateQualificationWithWorkerCommand.js +5 -0
  44. package/dist-es/commands/CreateAdditionalAssignmentsForHITCommand.js +5 -0
  45. package/dist-es/commands/CreateHITCommand.js +5 -0
  46. package/dist-es/commands/CreateHITTypeCommand.js +5 -0
  47. package/dist-es/commands/CreateHITWithHITTypeCommand.js +5 -0
  48. package/dist-es/commands/CreateQualificationTypeCommand.js +5 -0
  49. package/dist-es/commands/CreateWorkerBlockCommand.js +5 -0
  50. package/dist-es/commands/DeleteHITCommand.js +5 -0
  51. package/dist-es/commands/DeleteQualificationTypeCommand.js +5 -0
  52. package/dist-es/commands/DeleteWorkerBlockCommand.js +5 -0
  53. package/dist-es/commands/DisassociateQualificationFromWorkerCommand.js +5 -0
  54. package/dist-es/commands/GetAccountBalanceCommand.js +5 -0
  55. package/dist-es/commands/GetAssignmentCommand.js +5 -0
  56. package/dist-es/commands/GetFileUploadURLCommand.js +5 -0
  57. package/dist-es/commands/GetHITCommand.js +5 -0
  58. package/dist-es/commands/GetQualificationScoreCommand.js +5 -0
  59. package/dist-es/commands/GetQualificationTypeCommand.js +5 -0
  60. package/dist-es/commands/ListAssignmentsForHITCommand.js +5 -0
  61. package/dist-es/commands/ListBonusPaymentsCommand.js +5 -0
  62. package/dist-es/commands/ListHITsCommand.js +5 -0
  63. package/dist-es/commands/ListHITsForQualificationTypeCommand.js +5 -0
  64. package/dist-es/commands/ListQualificationRequestsCommand.js +5 -0
  65. package/dist-es/commands/ListQualificationTypesCommand.js +5 -0
  66. package/dist-es/commands/ListReviewPolicyResultsForHITCommand.js +5 -0
  67. package/dist-es/commands/ListReviewableHITsCommand.js +5 -0
  68. package/dist-es/commands/ListWorkerBlocksCommand.js +5 -0
  69. package/dist-es/commands/ListWorkersWithQualificationTypeCommand.js +5 -0
  70. package/dist-es/commands/NotifyWorkersCommand.js +5 -0
  71. package/dist-es/commands/RejectAssignmentCommand.js +5 -0
  72. package/dist-es/commands/RejectQualificationRequestCommand.js +5 -0
  73. package/dist-es/commands/SendBonusCommand.js +5 -0
  74. package/dist-es/commands/SendTestEventNotificationCommand.js +5 -0
  75. package/dist-es/commands/UpdateExpirationForHITCommand.js +5 -0
  76. package/dist-es/commands/UpdateHITReviewStatusCommand.js +5 -0
  77. package/dist-es/commands/UpdateHITTypeOfHITCommand.js +5 -0
  78. package/dist-es/commands/UpdateNotificationSettingsCommand.js +5 -0
  79. package/dist-es/commands/UpdateQualificationTypeCommand.js +5 -0
  80. package/package.json +31 -31
package/README.md CHANGED
@@ -23,16 +23,16 @@ using your favorite package manager:
23
23
 
24
24
  The AWS SDK is modulized by clients and commands.
25
25
  To send a request, you only need to import the `MTurkClient` and
26
- the commands you need, for example `AcceptQualificationRequestCommand`:
26
+ the commands you need, for example `ListHITsCommand`:
27
27
 
28
28
  ```js
29
29
  // ES5 example
30
- const { MTurkClient, AcceptQualificationRequestCommand } = require("@aws-sdk/client-mturk");
30
+ const { MTurkClient, ListHITsCommand } = require("@aws-sdk/client-mturk");
31
31
  ```
32
32
 
33
33
  ```ts
34
34
  // ES6+ example
35
- import { MTurkClient, AcceptQualificationRequestCommand } from "@aws-sdk/client-mturk";
35
+ import { MTurkClient, ListHITsCommand } from "@aws-sdk/client-mturk";
36
36
  ```
37
37
 
38
38
  ### Usage
@@ -51,7 +51,7 @@ const client = new MTurkClient({ region: "REGION" });
51
51
  const params = {
52
52
  /** input parameters */
53
53
  };
54
- const command = new AcceptQualificationRequestCommand(params);
54
+ const command = new ListHITsCommand(params);
55
55
  ```
56
56
 
57
57
  #### Async/await
@@ -130,7 +130,7 @@ const client = new AWS.MTurk({ region: "REGION" });
130
130
 
131
131
  // async/await.
132
132
  try {
133
- const data = await client.acceptQualificationRequest(params);
133
+ const data = await client.listHITs(params);
134
134
  // process data.
135
135
  } catch (error) {
136
136
  // error handling.
@@ -138,7 +138,7 @@ try {
138
138
 
139
139
  // Promises.
140
140
  client
141
- .acceptQualificationRequest(params)
141
+ .listHITs(params)
142
142
  .then((data) => {
143
143
  // process data.
144
144
  })
@@ -147,7 +147,7 @@ client
147
147
  });
148
148
 
149
149
  // callbacks.
150
- client.acceptQualificationRequest(params, (err, data) => {
150
+ client.listHITs(params, (err, data) => {
151
151
  // process err and data.
152
152
  });
153
153
  ```
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class AcceptQualificationRequestCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class AcceptQualificationRequestCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "AcceptQualificationRequest",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ApproveAssignmentCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ApproveAssignmentCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "ApproveAssignment",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class AssociateQualificationWithWorkerCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class AssociateQualificationWithWorkerCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "AssociateQualificationWithWorker",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CreateAdditionalAssignmentsForHITCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateAdditionalAssignmentsForHITCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "CreateAdditionalAssignmentsForHIT",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CreateHITCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateHITCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "CreateHIT",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CreateHITTypeCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateHITTypeCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "CreateHITType",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CreateHITWithHITTypeCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateHITWithHITTypeCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "CreateHITWithHITType",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CreateQualificationTypeCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateQualificationTypeCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "CreateQualificationType",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class CreateWorkerBlockCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateWorkerBlockCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "CreateWorkerBlock",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DeleteHITCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteHITCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "DeleteHIT",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DeleteQualificationTypeCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteQualificationTypeCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "DeleteQualificationType",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DeleteWorkerBlockCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteWorkerBlockCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "DeleteWorkerBlock",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class DisassociateQualificationFromWorkerCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DisassociateQualificationFromWorkerCommand extends smithy_client_1.Command
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "DisassociateQualificationFromWorker",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetAccountBalanceCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetAccountBalanceCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "GetAccountBalance",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetAssignmentCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetAssignmentCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "GetAssignment",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetFileUploadURLCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetFileUploadURLCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "GetFileUploadURL",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetHITCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetHITCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "GetHIT",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetQualificationScoreCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetQualificationScoreCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "GetQualificationScore",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class GetQualificationTypeCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetQualificationTypeCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "GetQualificationType",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ListAssignmentsForHITCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListAssignmentsForHITCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "ListAssignmentsForHIT",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ListBonusPaymentsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListBonusPaymentsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "ListBonusPayments",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ListHITsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListHITsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "ListHITs",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ListHITsForQualificationTypeCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListHITsForQualificationTypeCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "ListHITsForQualificationType",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ListQualificationRequestsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListQualificationRequestsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "ListQualificationRequests",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ListQualificationTypesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListQualificationTypesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "ListQualificationTypes",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ListReviewPolicyResultsForHITCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListReviewPolicyResultsForHITCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "ListReviewPolicyResultsForHIT",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ListReviewableHITsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListReviewableHITsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "ListReviewableHITs",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ListWorkerBlocksCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListWorkerBlocksCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "ListWorkerBlocks",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class ListWorkersWithQualificationTypeCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListWorkersWithQualificationTypeCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "MTurkRequesterServiceV20170117",
38
+ operation: "ListWorkersWithQualificationType",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);