@aws-sdk/client-mturk 3.296.0 → 3.298.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 (136) hide show
  1. package/dist-cjs/commands/AcceptQualificationRequestCommand.js +2 -3
  2. package/dist-cjs/commands/ApproveAssignmentCommand.js +2 -3
  3. package/dist-cjs/commands/AssociateQualificationWithWorkerCommand.js +2 -3
  4. package/dist-cjs/commands/CreateAdditionalAssignmentsForHITCommand.js +2 -3
  5. package/dist-cjs/commands/CreateHITCommand.js +2 -3
  6. package/dist-cjs/commands/CreateHITTypeCommand.js +2 -3
  7. package/dist-cjs/commands/CreateHITWithHITTypeCommand.js +2 -3
  8. package/dist-cjs/commands/CreateQualificationTypeCommand.js +2 -3
  9. package/dist-cjs/commands/CreateWorkerBlockCommand.js +2 -3
  10. package/dist-cjs/commands/DeleteHITCommand.js +2 -3
  11. package/dist-cjs/commands/DeleteQualificationTypeCommand.js +2 -3
  12. package/dist-cjs/commands/DeleteWorkerBlockCommand.js +2 -3
  13. package/dist-cjs/commands/DisassociateQualificationFromWorkerCommand.js +2 -3
  14. package/dist-cjs/commands/GetAccountBalanceCommand.js +2 -3
  15. package/dist-cjs/commands/GetAssignmentCommand.js +2 -3
  16. package/dist-cjs/commands/GetFileUploadURLCommand.js +2 -3
  17. package/dist-cjs/commands/GetHITCommand.js +2 -3
  18. package/dist-cjs/commands/GetQualificationScoreCommand.js +2 -3
  19. package/dist-cjs/commands/GetQualificationTypeCommand.js +2 -3
  20. package/dist-cjs/commands/ListAssignmentsForHITCommand.js +2 -3
  21. package/dist-cjs/commands/ListBonusPaymentsCommand.js +2 -3
  22. package/dist-cjs/commands/ListHITsCommand.js +2 -3
  23. package/dist-cjs/commands/ListHITsForQualificationTypeCommand.js +2 -3
  24. package/dist-cjs/commands/ListQualificationRequestsCommand.js +2 -3
  25. package/dist-cjs/commands/ListQualificationTypesCommand.js +2 -3
  26. package/dist-cjs/commands/ListReviewPolicyResultsForHITCommand.js +2 -3
  27. package/dist-cjs/commands/ListReviewableHITsCommand.js +2 -3
  28. package/dist-cjs/commands/ListWorkerBlocksCommand.js +2 -3
  29. package/dist-cjs/commands/ListWorkersWithQualificationTypeCommand.js +2 -3
  30. package/dist-cjs/commands/NotifyWorkersCommand.js +2 -3
  31. package/dist-cjs/commands/RejectAssignmentCommand.js +2 -3
  32. package/dist-cjs/commands/RejectQualificationRequestCommand.js +2 -3
  33. package/dist-cjs/commands/SendBonusCommand.js +2 -3
  34. package/dist-cjs/commands/SendTestEventNotificationCommand.js +2 -3
  35. package/dist-cjs/commands/UpdateExpirationForHITCommand.js +2 -3
  36. package/dist-cjs/commands/UpdateHITReviewStatusCommand.js +2 -3
  37. package/dist-cjs/commands/UpdateHITTypeOfHITCommand.js +2 -3
  38. package/dist-cjs/commands/UpdateNotificationSettingsCommand.js +2 -3
  39. package/dist-cjs/commands/UpdateQualificationTypeCommand.js +2 -3
  40. package/dist-cjs/models/models_0.js +1 -387
  41. package/dist-es/commands/AcceptQualificationRequestCommand.js +2 -3
  42. package/dist-es/commands/ApproveAssignmentCommand.js +2 -3
  43. package/dist-es/commands/AssociateQualificationWithWorkerCommand.js +2 -3
  44. package/dist-es/commands/CreateAdditionalAssignmentsForHITCommand.js +2 -3
  45. package/dist-es/commands/CreateHITCommand.js +2 -3
  46. package/dist-es/commands/CreateHITTypeCommand.js +2 -3
  47. package/dist-es/commands/CreateHITWithHITTypeCommand.js +2 -3
  48. package/dist-es/commands/CreateQualificationTypeCommand.js +2 -3
  49. package/dist-es/commands/CreateWorkerBlockCommand.js +2 -3
  50. package/dist-es/commands/DeleteHITCommand.js +2 -3
  51. package/dist-es/commands/DeleteQualificationTypeCommand.js +2 -3
  52. package/dist-es/commands/DeleteWorkerBlockCommand.js +2 -3
  53. package/dist-es/commands/DisassociateQualificationFromWorkerCommand.js +2 -3
  54. package/dist-es/commands/GetAccountBalanceCommand.js +2 -3
  55. package/dist-es/commands/GetAssignmentCommand.js +2 -3
  56. package/dist-es/commands/GetFileUploadURLCommand.js +2 -3
  57. package/dist-es/commands/GetHITCommand.js +2 -3
  58. package/dist-es/commands/GetQualificationScoreCommand.js +2 -3
  59. package/dist-es/commands/GetQualificationTypeCommand.js +2 -3
  60. package/dist-es/commands/ListAssignmentsForHITCommand.js +2 -3
  61. package/dist-es/commands/ListBonusPaymentsCommand.js +2 -3
  62. package/dist-es/commands/ListHITsCommand.js +2 -3
  63. package/dist-es/commands/ListHITsForQualificationTypeCommand.js +2 -3
  64. package/dist-es/commands/ListQualificationRequestsCommand.js +2 -3
  65. package/dist-es/commands/ListQualificationTypesCommand.js +2 -3
  66. package/dist-es/commands/ListReviewPolicyResultsForHITCommand.js +2 -3
  67. package/dist-es/commands/ListReviewableHITsCommand.js +2 -3
  68. package/dist-es/commands/ListWorkerBlocksCommand.js +2 -3
  69. package/dist-es/commands/ListWorkersWithQualificationTypeCommand.js +2 -3
  70. package/dist-es/commands/NotifyWorkersCommand.js +2 -3
  71. package/dist-es/commands/RejectAssignmentCommand.js +2 -3
  72. package/dist-es/commands/RejectQualificationRequestCommand.js +2 -3
  73. package/dist-es/commands/SendBonusCommand.js +2 -3
  74. package/dist-es/commands/SendTestEventNotificationCommand.js +2 -3
  75. package/dist-es/commands/UpdateExpirationForHITCommand.js +2 -3
  76. package/dist-es/commands/UpdateHITReviewStatusCommand.js +2 -3
  77. package/dist-es/commands/UpdateHITTypeOfHITCommand.js +2 -3
  78. package/dist-es/commands/UpdateNotificationSettingsCommand.js +2 -3
  79. package/dist-es/commands/UpdateQualificationTypeCommand.js +2 -3
  80. package/dist-es/models/models_0.js +0 -288
  81. package/dist-types/MTurk.d.ts +40 -0
  82. package/dist-types/MTurkClient.d.ts +24 -4
  83. package/dist-types/commands/AcceptQualificationRequestCommand.d.ts +16 -0
  84. package/dist-types/commands/ApproveAssignmentCommand.d.ts +16 -0
  85. package/dist-types/commands/AssociateQualificationWithWorkerCommand.d.ts +16 -0
  86. package/dist-types/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +16 -0
  87. package/dist-types/commands/CreateHITCommand.d.ts +16 -0
  88. package/dist-types/commands/CreateHITTypeCommand.d.ts +16 -0
  89. package/dist-types/commands/CreateHITWithHITTypeCommand.d.ts +16 -0
  90. package/dist-types/commands/CreateQualificationTypeCommand.d.ts +16 -0
  91. package/dist-types/commands/CreateWorkerBlockCommand.d.ts +16 -0
  92. package/dist-types/commands/DeleteHITCommand.d.ts +16 -0
  93. package/dist-types/commands/DeleteQualificationTypeCommand.d.ts +16 -0
  94. package/dist-types/commands/DeleteWorkerBlockCommand.d.ts +16 -0
  95. package/dist-types/commands/DisassociateQualificationFromWorkerCommand.d.ts +16 -0
  96. package/dist-types/commands/GetAccountBalanceCommand.d.ts +16 -0
  97. package/dist-types/commands/GetAssignmentCommand.d.ts +16 -0
  98. package/dist-types/commands/GetFileUploadURLCommand.d.ts +16 -0
  99. package/dist-types/commands/GetHITCommand.d.ts +16 -0
  100. package/dist-types/commands/GetQualificationScoreCommand.d.ts +16 -0
  101. package/dist-types/commands/GetQualificationTypeCommand.d.ts +16 -0
  102. package/dist-types/commands/ListAssignmentsForHITCommand.d.ts +16 -0
  103. package/dist-types/commands/ListBonusPaymentsCommand.d.ts +16 -0
  104. package/dist-types/commands/ListHITsCommand.d.ts +16 -0
  105. package/dist-types/commands/ListHITsForQualificationTypeCommand.d.ts +16 -0
  106. package/dist-types/commands/ListQualificationRequestsCommand.d.ts +16 -0
  107. package/dist-types/commands/ListQualificationTypesCommand.d.ts +16 -0
  108. package/dist-types/commands/ListReviewPolicyResultsForHITCommand.d.ts +16 -0
  109. package/dist-types/commands/ListReviewableHITsCommand.d.ts +16 -0
  110. package/dist-types/commands/ListWorkerBlocksCommand.d.ts +16 -0
  111. package/dist-types/commands/ListWorkersWithQualificationTypeCommand.d.ts +16 -0
  112. package/dist-types/commands/NotifyWorkersCommand.d.ts +16 -0
  113. package/dist-types/commands/RejectAssignmentCommand.d.ts +16 -0
  114. package/dist-types/commands/RejectQualificationRequestCommand.d.ts +16 -0
  115. package/dist-types/commands/SendBonusCommand.d.ts +16 -0
  116. package/dist-types/commands/SendTestEventNotificationCommand.d.ts +16 -0
  117. package/dist-types/commands/UpdateExpirationForHITCommand.d.ts +16 -0
  118. package/dist-types/commands/UpdateHITReviewStatusCommand.d.ts +16 -0
  119. package/dist-types/commands/UpdateHITTypeOfHITCommand.d.ts +16 -0
  120. package/dist-types/commands/UpdateNotificationSettingsCommand.d.ts +16 -0
  121. package/dist-types/commands/UpdateQualificationTypeCommand.d.ts +16 -0
  122. package/dist-types/models/MTurkServiceException.d.ts +2 -0
  123. package/dist-types/models/models_0.d.ts +293 -384
  124. package/dist-types/pagination/Interfaces.d.ts +3 -0
  125. package/dist-types/pagination/ListAssignmentsForHITPaginator.d.ts +3 -0
  126. package/dist-types/pagination/ListBonusPaymentsPaginator.d.ts +3 -0
  127. package/dist-types/pagination/ListHITsForQualificationTypePaginator.d.ts +3 -0
  128. package/dist-types/pagination/ListHITsPaginator.d.ts +3 -0
  129. package/dist-types/pagination/ListQualificationRequestsPaginator.d.ts +3 -0
  130. package/dist-types/pagination/ListQualificationTypesPaginator.d.ts +3 -0
  131. package/dist-types/pagination/ListReviewPolicyResultsForHITPaginator.d.ts +3 -0
  132. package/dist-types/pagination/ListReviewableHITsPaginator.d.ts +3 -0
  133. package/dist-types/pagination/ListWorkerBlocksPaginator.d.ts +3 -0
  134. package/dist-types/pagination/ListWorkersWithQualificationTypePaginator.d.ts +3 -0
  135. package/dist-types/ts3.4/models/models_0.d.ts +0 -274
  136. package/package.json +4 -3
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { UpdateNotificationSettingsRequest, UpdateNotificationSettingsResponse } from "../models/models_0";
5
5
  import { MTurkClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MTurkClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdateNotificationSettingsCommand}.
8
10
  */
9
11
  export interface UpdateNotificationSettingsCommandInput extends UpdateNotificationSettingsRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdateNotificationSettingsCommand}.
13
17
  */
14
18
  export interface UpdateNotificationSettingsCommandOutput extends UpdateNotificationSettingsResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>
18
23
  * The <code>UpdateNotificationSettings</code> operation creates, updates,
19
24
  * disables or re-enables notifications for a HIT type.
@@ -36,6 +41,8 @@ export interface UpdateNotificationSettingsCommandOutput extends UpdateNotificat
36
41
  * const response = await client.send(command);
37
42
  * ```
38
43
  *
44
+ * @param UpdateNotificationSettingsCommandInput - {@link UpdateNotificationSettingsCommandInput}
45
+ * @returns {@link UpdateNotificationSettingsCommandOutput}
39
46
  * @see {@link UpdateNotificationSettingsCommandInput} for command's `input` shape.
40
47
  * @see {@link UpdateNotificationSettingsCommandOutput} for command's `response` shape.
41
48
  * @see {@link MTurkClientResolvedConfig | config} for MTurkClient's `config` shape.
@@ -51,11 +58,20 @@ export interface UpdateNotificationSettingsCommandOutput extends UpdateNotificat
51
58
  export declare class UpdateNotificationSettingsCommand extends $Command<UpdateNotificationSettingsCommandInput, UpdateNotificationSettingsCommandOutput, MTurkClientResolvedConfig> {
52
59
  readonly input: UpdateNotificationSettingsCommandInput;
53
60
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
61
+ /**
62
+ * @public
63
+ */
54
64
  constructor(input: UpdateNotificationSettingsCommandInput);
55
65
  /**
56
66
  * @internal
57
67
  */
58
68
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateNotificationSettingsCommandInput, UpdateNotificationSettingsCommandOutput>;
69
+ /**
70
+ * @internal
71
+ */
59
72
  private serialize;
73
+ /**
74
+ * @internal
75
+ */
60
76
  private deserialize;
61
77
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { UpdateQualificationTypeRequest, UpdateQualificationTypeResponse } from "../models/models_0";
5
5
  import { MTurkClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MTurkClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdateQualificationTypeCommand}.
8
10
  */
9
11
  export interface UpdateQualificationTypeCommandInput extends UpdateQualificationTypeRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdateQualificationTypeCommand}.
13
17
  */
14
18
  export interface UpdateQualificationTypeCommandOutput extends UpdateQualificationTypeResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>
18
23
  * The
19
24
  * <code>UpdateQualificationType</code>
@@ -57,6 +62,8 @@ export interface UpdateQualificationTypeCommandOutput extends UpdateQualificatio
57
62
  * const response = await client.send(command);
58
63
  * ```
59
64
  *
65
+ * @param UpdateQualificationTypeCommandInput - {@link UpdateQualificationTypeCommandInput}
66
+ * @returns {@link UpdateQualificationTypeCommandOutput}
60
67
  * @see {@link UpdateQualificationTypeCommandInput} for command's `input` shape.
61
68
  * @see {@link UpdateQualificationTypeCommandOutput} for command's `response` shape.
62
69
  * @see {@link MTurkClientResolvedConfig | config} for MTurkClient's `config` shape.
@@ -72,11 +79,20 @@ export interface UpdateQualificationTypeCommandOutput extends UpdateQualificatio
72
79
  export declare class UpdateQualificationTypeCommand extends $Command<UpdateQualificationTypeCommandInput, UpdateQualificationTypeCommandOutput, MTurkClientResolvedConfig> {
73
80
  readonly input: UpdateQualificationTypeCommandInput;
74
81
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
82
+ /**
83
+ * @public
84
+ */
75
85
  constructor(input: UpdateQualificationTypeCommandInput);
76
86
  /**
77
87
  * @internal
78
88
  */
79
89
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateQualificationTypeCommandInput, UpdateQualificationTypeCommandOutput>;
90
+ /**
91
+ * @internal
92
+ */
80
93
  private serialize;
94
+ /**
95
+ * @internal
96
+ */
81
97
  private deserialize;
82
98
  }
@@ -1,5 +1,7 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
2
  /**
3
+ * @public
4
+ *
3
5
  * Base exception class for all service exceptions from MTurk service.
4
6
  */
5
7
  export declare class MTurkServiceException extends __ServiceException {