@aws-sdk/client-mturk 3.413.0 → 3.418.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 +5 -0
  2. package/dist-cjs/commands/ApproveAssignmentCommand.js +5 -0
  3. package/dist-cjs/commands/AssociateQualificationWithWorkerCommand.js +5 -0
  4. package/dist-cjs/commands/CreateAdditionalAssignmentsForHITCommand.js +5 -0
  5. package/dist-cjs/commands/CreateHITCommand.js +5 -0
  6. package/dist-cjs/commands/CreateHITTypeCommand.js +5 -0
  7. package/dist-cjs/commands/CreateHITWithHITTypeCommand.js +5 -0
  8. package/dist-cjs/commands/CreateQualificationTypeCommand.js +5 -0
  9. package/dist-cjs/commands/CreateWorkerBlockCommand.js +5 -0
  10. package/dist-cjs/commands/DeleteHITCommand.js +5 -0
  11. package/dist-cjs/commands/DeleteQualificationTypeCommand.js +5 -0
  12. package/dist-cjs/commands/DeleteWorkerBlockCommand.js +5 -0
  13. package/dist-cjs/commands/DisassociateQualificationFromWorkerCommand.js +5 -0
  14. package/dist-cjs/commands/GetAccountBalanceCommand.js +5 -0
  15. package/dist-cjs/commands/GetAssignmentCommand.js +5 -0
  16. package/dist-cjs/commands/GetFileUploadURLCommand.js +5 -0
  17. package/dist-cjs/commands/GetHITCommand.js +5 -0
  18. package/dist-cjs/commands/GetQualificationScoreCommand.js +5 -0
  19. package/dist-cjs/commands/GetQualificationTypeCommand.js +5 -0
  20. package/dist-cjs/commands/ListAssignmentsForHITCommand.js +5 -0
  21. package/dist-cjs/commands/ListBonusPaymentsCommand.js +5 -0
  22. package/dist-cjs/commands/ListHITsCommand.js +5 -0
  23. package/dist-cjs/commands/ListHITsForQualificationTypeCommand.js +5 -0
  24. package/dist-cjs/commands/ListQualificationRequestsCommand.js +5 -0
  25. package/dist-cjs/commands/ListQualificationTypesCommand.js +5 -0
  26. package/dist-cjs/commands/ListReviewPolicyResultsForHITCommand.js +5 -0
  27. package/dist-cjs/commands/ListReviewableHITsCommand.js +5 -0
  28. package/dist-cjs/commands/ListWorkerBlocksCommand.js +5 -0
  29. package/dist-cjs/commands/ListWorkersWithQualificationTypeCommand.js +5 -0
  30. package/dist-cjs/commands/NotifyWorkersCommand.js +5 -0
  31. package/dist-cjs/commands/RejectAssignmentCommand.js +5 -0
  32. package/dist-cjs/commands/RejectQualificationRequestCommand.js +5 -0
  33. package/dist-cjs/commands/SendBonusCommand.js +5 -0
  34. package/dist-cjs/commands/SendTestEventNotificationCommand.js +5 -0
  35. package/dist-cjs/commands/UpdateExpirationForHITCommand.js +5 -0
  36. package/dist-cjs/commands/UpdateHITReviewStatusCommand.js +5 -0
  37. package/dist-cjs/commands/UpdateHITTypeOfHITCommand.js +5 -0
  38. package/dist-cjs/commands/UpdateNotificationSettingsCommand.js +5 -0
  39. package/dist-cjs/commands/UpdateQualificationTypeCommand.js +5 -0
  40. package/dist-cjs/runtimeExtensions.js +3 -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/dist-es/runtimeExtensions.js +3 -0
  81. package/dist-types/extensionConfiguration.d.ts +2 -1
  82. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  83. package/package.json +31 -30
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListQualificationTypesCommand, se_ListQualificationTypesCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class ListQualificationTypesCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListQualificationTypesCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "MTurkRequesterServiceV20170117",
35
+ operation: "ListQualificationTypes",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListReviewPolicyResultsForHITCommand, se_ListReviewPolicyResultsForHITCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class ListReviewPolicyResultsForHITCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListReviewPolicyResultsForHITCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "MTurkRequesterServiceV20170117",
35
+ operation: "ListReviewPolicyResultsForHIT",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListReviewableHITsCommand, se_ListReviewableHITsCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class ListReviewableHITsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListReviewableHITsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "MTurkRequesterServiceV20170117",
35
+ operation: "ListReviewableHITs",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListWorkerBlocksCommand, se_ListWorkerBlocksCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class ListWorkerBlocksCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListWorkerBlocksCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "MTurkRequesterServiceV20170117",
35
+ operation: "ListWorkerBlocks",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListWorkersWithQualificationTypeCommand, se_ListWorkersWithQualificationTypeCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class ListWorkersWithQualificationTypeCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListWorkersWithQualificationTypeCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "MTurkRequesterServiceV20170117",
35
+ operation: "ListWorkersWithQualificationType",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_NotifyWorkersCommand, se_NotifyWorkersCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class NotifyWorkersCommand extends $Command {
@@ -29,6 +30,10 @@ export class NotifyWorkersCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "MTurkRequesterServiceV20170117",
35
+ operation: "NotifyWorkers",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_RejectAssignmentCommand, se_RejectAssignmentCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class RejectAssignmentCommand extends $Command {
@@ -29,6 +30,10 @@ export class RejectAssignmentCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "MTurkRequesterServiceV20170117",
35
+ operation: "RejectAssignment",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_RejectQualificationRequestCommand, se_RejectQualificationRequestCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class RejectQualificationRequestCommand extends $Command {
@@ -29,6 +30,10 @@ export class RejectQualificationRequestCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "MTurkRequesterServiceV20170117",
35
+ operation: "RejectQualificationRequest",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_SendBonusCommand, se_SendBonusCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class SendBonusCommand extends $Command {
@@ -29,6 +30,10 @@ export class SendBonusCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "MTurkRequesterServiceV20170117",
35
+ operation: "SendBonus",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_SendTestEventNotificationCommand, se_SendTestEventNotificationCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class SendTestEventNotificationCommand extends $Command {
@@ -29,6 +30,10 @@ export class SendTestEventNotificationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "MTurkRequesterServiceV20170117",
35
+ operation: "SendTestEventNotification",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateExpirationForHITCommand, se_UpdateExpirationForHITCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class UpdateExpirationForHITCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateExpirationForHITCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "MTurkRequesterServiceV20170117",
35
+ operation: "UpdateExpirationForHIT",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateHITReviewStatusCommand, se_UpdateHITReviewStatusCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class UpdateHITReviewStatusCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateHITReviewStatusCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "MTurkRequesterServiceV20170117",
35
+ operation: "UpdateHITReviewStatus",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateHITTypeOfHITCommand, se_UpdateHITTypeOfHITCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class UpdateHITTypeOfHITCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateHITTypeOfHITCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "MTurkRequesterServiceV20170117",
35
+ operation: "UpdateHITTypeOfHIT",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateNotificationSettingsCommand, se_UpdateNotificationSettingsCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class UpdateNotificationSettingsCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateNotificationSettingsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "MTurkRequesterServiceV20170117",
35
+ operation: "UpdateNotificationSettings",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateQualificationTypeCommand, se_UpdateQualificationTypeCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class UpdateQualificationTypeCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateQualificationTypeCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "MTurkRequesterServiceV20170117",
35
+ operation: "UpdateQualificationType",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,14 +1,17 @@
1
+ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
1
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
2
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
3
4
  const asPartial = (t) => t;
4
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
5
6
  const extensionConfiguration = {
7
+ ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
6
8
  ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
7
9
  ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
8
10
  };
9
11
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
10
12
  return {
11
13
  ...runtimeConfig,
14
+ ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
12
15
  ...resolveDefaultRuntimeConfig(extensionConfiguration),
13
16
  ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
14
17
  };
@@ -1,7 +1,8 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
1
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
3
4
  /**
4
5
  * @internal
5
6
  */
6
- export interface MTurkExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
7
+ export interface MTurkExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
7
8
  }
@@ -1,5 +1,7 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
1
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
3
4
  export interface MTurkExtensionConfiguration
4
5
  extends HttpHandlerExtensionConfiguration,
5
- DefaultExtensionConfiguration {}
6
+ DefaultExtensionConfiguration,
7
+ AwsRegionExtensionConfiguration {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mturk",
3
3
  "description": "AWS SDK for JavaScript Mturk Client for Node.js, Browser and React Native",
4
- "version": "3.413.0",
4
+ "version": "3.418.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,38 +21,39 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.413.0",
25
- "@aws-sdk/credential-provider-node": "3.413.0",
26
- "@aws-sdk/middleware-host-header": "3.413.0",
27
- "@aws-sdk/middleware-logger": "3.413.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.413.0",
29
- "@aws-sdk/middleware-signing": "3.413.0",
30
- "@aws-sdk/middleware-user-agent": "3.413.0",
31
- "@aws-sdk/types": "3.413.0",
32
- "@aws-sdk/util-endpoints": "3.413.0",
33
- "@aws-sdk/util-user-agent-browser": "3.413.0",
34
- "@aws-sdk/util-user-agent-node": "3.413.0",
35
- "@smithy/config-resolver": "^2.0.8",
36
- "@smithy/fetch-http-handler": "^2.1.3",
37
- "@smithy/hash-node": "^2.0.7",
38
- "@smithy/invalid-dependency": "^2.0.7",
39
- "@smithy/middleware-content-length": "^2.0.9",
40
- "@smithy/middleware-endpoint": "^2.0.7",
41
- "@smithy/middleware-retry": "^2.0.10",
42
- "@smithy/middleware-serde": "^2.0.7",
43
- "@smithy/middleware-stack": "^2.0.0",
44
- "@smithy/node-config-provider": "^2.0.10",
45
- "@smithy/node-http-handler": "^2.1.3",
46
- "@smithy/protocol-http": "^3.0.3",
47
- "@smithy/smithy-client": "^2.1.4",
48
- "@smithy/types": "^2.3.1",
49
- "@smithy/url-parser": "^2.0.7",
24
+ "@aws-sdk/client-sts": "3.418.0",
25
+ "@aws-sdk/credential-provider-node": "3.418.0",
26
+ "@aws-sdk/middleware-host-header": "3.418.0",
27
+ "@aws-sdk/middleware-logger": "3.418.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.418.0",
29
+ "@aws-sdk/middleware-signing": "3.418.0",
30
+ "@aws-sdk/middleware-user-agent": "3.418.0",
31
+ "@aws-sdk/region-config-resolver": "3.418.0",
32
+ "@aws-sdk/types": "3.418.0",
33
+ "@aws-sdk/util-endpoints": "3.418.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.418.0",
35
+ "@aws-sdk/util-user-agent-node": "3.418.0",
36
+ "@smithy/config-resolver": "^2.0.10",
37
+ "@smithy/fetch-http-handler": "^2.1.5",
38
+ "@smithy/hash-node": "^2.0.9",
39
+ "@smithy/invalid-dependency": "^2.0.9",
40
+ "@smithy/middleware-content-length": "^2.0.11",
41
+ "@smithy/middleware-endpoint": "^2.0.9",
42
+ "@smithy/middleware-retry": "^2.0.12",
43
+ "@smithy/middleware-serde": "^2.0.9",
44
+ "@smithy/middleware-stack": "^2.0.2",
45
+ "@smithy/node-config-provider": "^2.0.12",
46
+ "@smithy/node-http-handler": "^2.1.5",
47
+ "@smithy/protocol-http": "^3.0.5",
48
+ "@smithy/smithy-client": "^2.1.6",
49
+ "@smithy/types": "^2.3.3",
50
+ "@smithy/url-parser": "^2.0.9",
50
51
  "@smithy/util-base64": "^2.0.0",
51
52
  "@smithy/util-body-length-browser": "^2.0.0",
52
53
  "@smithy/util-body-length-node": "^2.1.0",
53
- "@smithy/util-defaults-mode-browser": "^2.0.8",
54
- "@smithy/util-defaults-mode-node": "^2.0.10",
55
- "@smithy/util-retry": "^2.0.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.10",
55
+ "@smithy/util-defaults-mode-node": "^2.0.12",
56
+ "@smithy/util-retry": "^2.0.2",
56
57
  "@smithy/util-utf8": "^2.0.0",
57
58
  "tslib": "^2.5.0"
58
59
  },