@aws-sdk/client-mturk 3.529.1 → 3.535.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 (91) hide show
  1. package/dist-types/MTurk.d.ts +7 -1
  2. package/dist-types/MTurkClient.d.ts +1 -1
  3. package/dist-types/commands/AcceptQualificationRequestCommand.d.ts +2 -1
  4. package/dist-types/commands/ApproveAssignmentCommand.d.ts +2 -1
  5. package/dist-types/commands/AssociateQualificationWithWorkerCommand.d.ts +2 -1
  6. package/dist-types/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +2 -1
  7. package/dist-types/commands/CreateHITCommand.d.ts +2 -1
  8. package/dist-types/commands/CreateHITTypeCommand.d.ts +2 -1
  9. package/dist-types/commands/CreateHITWithHITTypeCommand.d.ts +2 -1
  10. package/dist-types/commands/CreateQualificationTypeCommand.d.ts +2 -1
  11. package/dist-types/commands/CreateWorkerBlockCommand.d.ts +2 -1
  12. package/dist-types/commands/DeleteHITCommand.d.ts +2 -1
  13. package/dist-types/commands/DeleteQualificationTypeCommand.d.ts +2 -1
  14. package/dist-types/commands/DeleteWorkerBlockCommand.d.ts +2 -1
  15. package/dist-types/commands/DisassociateQualificationFromWorkerCommand.d.ts +2 -1
  16. package/dist-types/commands/GetAccountBalanceCommand.d.ts +2 -1
  17. package/dist-types/commands/GetAssignmentCommand.d.ts +2 -1
  18. package/dist-types/commands/GetFileUploadURLCommand.d.ts +2 -1
  19. package/dist-types/commands/GetHITCommand.d.ts +2 -1
  20. package/dist-types/commands/GetQualificationScoreCommand.d.ts +2 -1
  21. package/dist-types/commands/GetQualificationTypeCommand.d.ts +2 -1
  22. package/dist-types/commands/ListAssignmentsForHITCommand.d.ts +2 -1
  23. package/dist-types/commands/ListBonusPaymentsCommand.d.ts +2 -1
  24. package/dist-types/commands/ListHITsCommand.d.ts +2 -1
  25. package/dist-types/commands/ListHITsForQualificationTypeCommand.d.ts +2 -1
  26. package/dist-types/commands/ListQualificationRequestsCommand.d.ts +2 -1
  27. package/dist-types/commands/ListQualificationTypesCommand.d.ts +2 -1
  28. package/dist-types/commands/ListReviewPolicyResultsForHITCommand.d.ts +2 -1
  29. package/dist-types/commands/ListReviewableHITsCommand.d.ts +2 -1
  30. package/dist-types/commands/ListWorkerBlocksCommand.d.ts +2 -1
  31. package/dist-types/commands/ListWorkersWithQualificationTypeCommand.d.ts +2 -1
  32. package/dist-types/commands/NotifyWorkersCommand.d.ts +2 -1
  33. package/dist-types/commands/RejectAssignmentCommand.d.ts +2 -1
  34. package/dist-types/commands/RejectQualificationRequestCommand.d.ts +2 -1
  35. package/dist-types/commands/SendBonusCommand.d.ts +2 -1
  36. package/dist-types/commands/SendTestEventNotificationCommand.d.ts +2 -1
  37. package/dist-types/commands/UpdateExpirationForHITCommand.d.ts +2 -1
  38. package/dist-types/commands/UpdateHITReviewStatusCommand.d.ts +2 -1
  39. package/dist-types/commands/UpdateHITTypeOfHITCommand.d.ts +2 -1
  40. package/dist-types/commands/UpdateNotificationSettingsCommand.d.ts +2 -1
  41. package/dist-types/commands/UpdateQualificationTypeCommand.d.ts +2 -1
  42. package/dist-types/models/models_0.d.ts +308 -308
  43. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  44. package/dist-types/runtimeConfig.d.ts +2 -2
  45. package/dist-types/runtimeConfig.native.d.ts +2 -2
  46. package/dist-types/runtimeConfig.shared.d.ts +2 -2
  47. package/dist-types/ts3.4/MTurk.d.ts +6 -0
  48. package/dist-types/ts3.4/commands/AcceptQualificationRequestCommand.d.ts +9 -0
  49. package/dist-types/ts3.4/commands/ApproveAssignmentCommand.d.ts +9 -0
  50. package/dist-types/ts3.4/commands/AssociateQualificationWithWorkerCommand.d.ts +9 -0
  51. package/dist-types/ts3.4/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +9 -0
  52. package/dist-types/ts3.4/commands/CreateHITCommand.d.ts +9 -0
  53. package/dist-types/ts3.4/commands/CreateHITTypeCommand.d.ts +9 -0
  54. package/dist-types/ts3.4/commands/CreateHITWithHITTypeCommand.d.ts +9 -0
  55. package/dist-types/ts3.4/commands/CreateQualificationTypeCommand.d.ts +9 -0
  56. package/dist-types/ts3.4/commands/CreateWorkerBlockCommand.d.ts +9 -0
  57. package/dist-types/ts3.4/commands/DeleteHITCommand.d.ts +9 -0
  58. package/dist-types/ts3.4/commands/DeleteQualificationTypeCommand.d.ts +9 -0
  59. package/dist-types/ts3.4/commands/DeleteWorkerBlockCommand.d.ts +9 -0
  60. package/dist-types/ts3.4/commands/DisassociateQualificationFromWorkerCommand.d.ts +9 -0
  61. package/dist-types/ts3.4/commands/GetAccountBalanceCommand.d.ts +9 -0
  62. package/dist-types/ts3.4/commands/GetAssignmentCommand.d.ts +9 -0
  63. package/dist-types/ts3.4/commands/GetFileUploadURLCommand.d.ts +9 -0
  64. package/dist-types/ts3.4/commands/GetHITCommand.d.ts +7 -0
  65. package/dist-types/ts3.4/commands/GetQualificationScoreCommand.d.ts +9 -0
  66. package/dist-types/ts3.4/commands/GetQualificationTypeCommand.d.ts +9 -0
  67. package/dist-types/ts3.4/commands/ListAssignmentsForHITCommand.d.ts +9 -0
  68. package/dist-types/ts3.4/commands/ListBonusPaymentsCommand.d.ts +9 -0
  69. package/dist-types/ts3.4/commands/ListHITsCommand.d.ts +9 -0
  70. package/dist-types/ts3.4/commands/ListHITsForQualificationTypeCommand.d.ts +9 -0
  71. package/dist-types/ts3.4/commands/ListQualificationRequestsCommand.d.ts +9 -0
  72. package/dist-types/ts3.4/commands/ListQualificationTypesCommand.d.ts +9 -0
  73. package/dist-types/ts3.4/commands/ListReviewPolicyResultsForHITCommand.d.ts +9 -0
  74. package/dist-types/ts3.4/commands/ListReviewableHITsCommand.d.ts +9 -0
  75. package/dist-types/ts3.4/commands/ListWorkerBlocksCommand.d.ts +9 -0
  76. package/dist-types/ts3.4/commands/ListWorkersWithQualificationTypeCommand.d.ts +9 -0
  77. package/dist-types/ts3.4/commands/NotifyWorkersCommand.d.ts +9 -0
  78. package/dist-types/ts3.4/commands/RejectAssignmentCommand.d.ts +9 -0
  79. package/dist-types/ts3.4/commands/RejectQualificationRequestCommand.d.ts +9 -0
  80. package/dist-types/ts3.4/commands/SendBonusCommand.d.ts +9 -0
  81. package/dist-types/ts3.4/commands/SendTestEventNotificationCommand.d.ts +9 -0
  82. package/dist-types/ts3.4/commands/UpdateExpirationForHITCommand.d.ts +9 -0
  83. package/dist-types/ts3.4/commands/UpdateHITReviewStatusCommand.d.ts +9 -0
  84. package/dist-types/ts3.4/commands/UpdateHITTypeOfHITCommand.d.ts +9 -0
  85. package/dist-types/ts3.4/commands/UpdateNotificationSettingsCommand.d.ts +9 -0
  86. package/dist-types/ts3.4/commands/UpdateQualificationTypeCommand.d.ts +9 -0
  87. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  88. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  89. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  90. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  91. package/package.json +40 -40
@@ -21,6 +21,15 @@ declare const SendBonusCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: SendBonusCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ SendBonusCommandInput,
28
+ SendBonusCommandOutput,
29
+ MTurkClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class SendBonusCommand extends SendBonusCommand_base {}
@@ -25,6 +25,15 @@ declare const SendTestEventNotificationCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: SendTestEventNotificationCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ SendTestEventNotificationCommandInput,
32
+ SendTestEventNotificationCommandOutput,
33
+ MTurkClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class SendTestEventNotificationCommand extends SendTestEventNotificationCommand_base {}
@@ -25,6 +25,15 @@ declare const UpdateExpirationForHITCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: UpdateExpirationForHITCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ UpdateExpirationForHITCommandInput,
32
+ UpdateExpirationForHITCommandOutput,
33
+ MTurkClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class UpdateExpirationForHITCommand extends UpdateExpirationForHITCommand_base {}
@@ -25,6 +25,15 @@ declare const UpdateHITReviewStatusCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: UpdateHITReviewStatusCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ UpdateHITReviewStatusCommandInput,
32
+ UpdateHITReviewStatusCommandOutput,
33
+ MTurkClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class UpdateHITReviewStatusCommand extends UpdateHITReviewStatusCommand_base {}
@@ -25,6 +25,15 @@ declare const UpdateHITTypeOfHITCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: UpdateHITTypeOfHITCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ UpdateHITTypeOfHITCommandInput,
32
+ UpdateHITTypeOfHITCommandOutput,
33
+ MTurkClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class UpdateHITTypeOfHITCommand extends UpdateHITTypeOfHITCommand_base {}
@@ -25,6 +25,15 @@ declare const UpdateNotificationSettingsCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: UpdateNotificationSettingsCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ UpdateNotificationSettingsCommandInput,
32
+ UpdateNotificationSettingsCommandOutput,
33
+ MTurkClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class UpdateNotificationSettingsCommand extends UpdateNotificationSettingsCommand_base {}
@@ -25,6 +25,15 @@ declare const UpdateQualificationTypeCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: UpdateQualificationTypeCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ UpdateQualificationTypeCommandInput,
32
+ UpdateQualificationTypeCommandOutput,
33
+ MTurkClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class UpdateQualificationTypeCommand extends UpdateQualificationTypeCommand_base {}
@@ -25,9 +25,9 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
25
25
  apiVersion: string;
26
26
  urlParser: import("@smithy/types").UrlParser;
27
27
  base64Decoder: import("@smithy/types").Decoder;
28
- base64Encoder: import("@smithy/types").Encoder;
28
+ base64Encoder: (_input: string | Uint8Array) => string;
29
29
  utf8Decoder: import("@smithy/types").Decoder;
30
- utf8Encoder: import("@smithy/types").Encoder;
30
+ utf8Encoder: (input: string | Uint8Array) => string;
31
31
  disableHostPrefix: boolean;
32
32
  serviceId: string;
33
33
  logger: import("@smithy/types").Logger;
@@ -29,9 +29,9 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
29
29
  apiVersion: string;
30
30
  urlParser: import("@smithy/types").UrlParser;
31
31
  base64Decoder: import("@smithy/types").Decoder;
32
- base64Encoder: import("@smithy/types").Encoder;
32
+ base64Encoder: (_input: string | Uint8Array) => string;
33
33
  utf8Decoder: import("@smithy/types").Decoder;
34
- utf8Encoder: import("@smithy/types").Encoder;
34
+ utf8Encoder: (input: string | Uint8Array) => string;
35
35
  disableHostPrefix: boolean;
36
36
  serviceId: string;
37
37
  logger: import("@smithy/types").Logger;
@@ -13,9 +13,9 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
13
13
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
14
14
  streamCollector: import("@smithy/types").StreamCollector;
15
15
  base64Decoder: import("@smithy/types").Decoder;
16
- base64Encoder: import("@smithy/types").Encoder;
16
+ base64Encoder: (_input: string | Uint8Array) => string;
17
17
  utf8Decoder: import("@smithy/types").Decoder;
18
- utf8Encoder: import("@smithy/types").Encoder;
18
+ utf8Encoder: (input: string | Uint8Array) => string;
19
19
  disableHostPrefix: boolean;
20
20
  serviceId: string;
21
21
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -2,7 +2,7 @@ import { MTurkClientConfig } from "./MTurkClient";
2
2
  export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
3
3
  apiVersion: string;
4
4
  base64Decoder: import("@smithy/types").Decoder;
5
- base64Encoder: import("@smithy/types").Encoder;
5
+ base64Encoder: (_input: string | Uint8Array) => string;
6
6
  disableHostPrefix: boolean;
7
7
  endpointProvider: (
8
8
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: MTurkClientConfig) => {
17
17
  serviceId: string;
18
18
  urlParser: import("@smithy/types").UrlParser;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: import("@smithy/types").Encoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
21
  };
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.529.1",
4
+ "version": "3.535.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-mturk",
@@ -20,47 +20,47 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.529.1",
24
- "@aws-sdk/core": "3.529.1",
25
- "@aws-sdk/credential-provider-node": "3.529.1",
26
- "@aws-sdk/middleware-host-header": "3.523.0",
27
- "@aws-sdk/middleware-logger": "3.523.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.523.0",
29
- "@aws-sdk/middleware-user-agent": "3.525.0",
30
- "@aws-sdk/region-config-resolver": "3.525.0",
31
- "@aws-sdk/types": "3.523.0",
32
- "@aws-sdk/util-endpoints": "3.525.0",
33
- "@aws-sdk/util-user-agent-browser": "3.523.0",
34
- "@aws-sdk/util-user-agent-node": "3.525.0",
35
- "@smithy/config-resolver": "^2.1.4",
36
- "@smithy/core": "^1.3.5",
37
- "@smithy/fetch-http-handler": "^2.4.3",
38
- "@smithy/hash-node": "^2.1.3",
39
- "@smithy/invalid-dependency": "^2.1.3",
40
- "@smithy/middleware-content-length": "^2.1.3",
41
- "@smithy/middleware-endpoint": "^2.4.4",
42
- "@smithy/middleware-retry": "^2.1.4",
43
- "@smithy/middleware-serde": "^2.1.3",
44
- "@smithy/middleware-stack": "^2.1.3",
45
- "@smithy/node-config-provider": "^2.2.4",
46
- "@smithy/node-http-handler": "^2.4.1",
47
- "@smithy/protocol-http": "^3.2.1",
48
- "@smithy/smithy-client": "^2.4.2",
49
- "@smithy/types": "^2.10.1",
50
- "@smithy/url-parser": "^2.1.3",
51
- "@smithy/util-base64": "^2.1.1",
52
- "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.1",
54
- "@smithy/util-defaults-mode-browser": "^2.1.4",
55
- "@smithy/util-defaults-mode-node": "^2.2.3",
56
- "@smithy/util-endpoints": "^1.1.4",
57
- "@smithy/util-middleware": "^2.1.3",
58
- "@smithy/util-retry": "^2.1.3",
59
- "@smithy/util-utf8": "^2.1.1",
60
- "tslib": "^2.5.0"
23
+ "@aws-sdk/client-sts": "3.535.0",
24
+ "@aws-sdk/core": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.535.0",
26
+ "@aws-sdk/middleware-host-header": "3.535.0",
27
+ "@aws-sdk/middleware-logger": "3.535.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.535.0",
30
+ "@aws-sdk/region-config-resolver": "3.535.0",
31
+ "@aws-sdk/types": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.535.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.535.0",
34
+ "@aws-sdk/util-user-agent-node": "3.535.0",
35
+ "@smithy/config-resolver": "^2.2.0",
36
+ "@smithy/core": "^1.4.0",
37
+ "@smithy/fetch-http-handler": "^2.5.0",
38
+ "@smithy/hash-node": "^2.2.0",
39
+ "@smithy/invalid-dependency": "^2.2.0",
40
+ "@smithy/middleware-content-length": "^2.2.0",
41
+ "@smithy/middleware-endpoint": "^2.5.0",
42
+ "@smithy/middleware-retry": "^2.2.0",
43
+ "@smithy/middleware-serde": "^2.3.0",
44
+ "@smithy/middleware-stack": "^2.2.0",
45
+ "@smithy/node-config-provider": "^2.3.0",
46
+ "@smithy/node-http-handler": "^2.5.0",
47
+ "@smithy/protocol-http": "^3.3.0",
48
+ "@smithy/smithy-client": "^2.5.0",
49
+ "@smithy/types": "^2.12.0",
50
+ "@smithy/url-parser": "^2.2.0",
51
+ "@smithy/util-base64": "^2.3.0",
52
+ "@smithy/util-body-length-browser": "^2.2.0",
53
+ "@smithy/util-body-length-node": "^2.3.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.2.0",
55
+ "@smithy/util-defaults-mode-node": "^2.3.0",
56
+ "@smithy/util-endpoints": "^1.2.0",
57
+ "@smithy/util-middleware": "^2.2.0",
58
+ "@smithy/util-retry": "^2.2.0",
59
+ "@smithy/util-utf8": "^2.3.0",
60
+ "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@smithy/service-client-documentation-generator": "^2.1.1",
63
+ "@smithy/service-client-documentation-generator": "^2.2.0",
64
64
  "@tsconfig/node14": "1.0.3",
65
65
  "@types/node": "^14.14.31",
66
66
  "concurrently": "7.0.0",