@aws-sdk/client-mturk 3.296.0 → 3.297.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.
- package/dist-types/MTurk.d.ts +40 -0
- package/dist-types/MTurkClient.d.ts +24 -4
- package/dist-types/commands/AcceptQualificationRequestCommand.d.ts +16 -0
- package/dist-types/commands/ApproveAssignmentCommand.d.ts +16 -0
- package/dist-types/commands/AssociateQualificationWithWorkerCommand.d.ts +16 -0
- package/dist-types/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +16 -0
- package/dist-types/commands/CreateHITCommand.d.ts +16 -0
- package/dist-types/commands/CreateHITTypeCommand.d.ts +16 -0
- package/dist-types/commands/CreateHITWithHITTypeCommand.d.ts +16 -0
- package/dist-types/commands/CreateQualificationTypeCommand.d.ts +16 -0
- package/dist-types/commands/CreateWorkerBlockCommand.d.ts +16 -0
- package/dist-types/commands/DeleteHITCommand.d.ts +16 -0
- package/dist-types/commands/DeleteQualificationTypeCommand.d.ts +16 -0
- package/dist-types/commands/DeleteWorkerBlockCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateQualificationFromWorkerCommand.d.ts +16 -0
- package/dist-types/commands/GetAccountBalanceCommand.d.ts +16 -0
- package/dist-types/commands/GetAssignmentCommand.d.ts +16 -0
- package/dist-types/commands/GetFileUploadURLCommand.d.ts +16 -0
- package/dist-types/commands/GetHITCommand.d.ts +16 -0
- package/dist-types/commands/GetQualificationScoreCommand.d.ts +16 -0
- package/dist-types/commands/GetQualificationTypeCommand.d.ts +16 -0
- package/dist-types/commands/ListAssignmentsForHITCommand.d.ts +16 -0
- package/dist-types/commands/ListBonusPaymentsCommand.d.ts +16 -0
- package/dist-types/commands/ListHITsCommand.d.ts +16 -0
- package/dist-types/commands/ListHITsForQualificationTypeCommand.d.ts +16 -0
- package/dist-types/commands/ListQualificationRequestsCommand.d.ts +16 -0
- package/dist-types/commands/ListQualificationTypesCommand.d.ts +16 -0
- package/dist-types/commands/ListReviewPolicyResultsForHITCommand.d.ts +16 -0
- package/dist-types/commands/ListReviewableHITsCommand.d.ts +16 -0
- package/dist-types/commands/ListWorkerBlocksCommand.d.ts +16 -0
- package/dist-types/commands/ListWorkersWithQualificationTypeCommand.d.ts +16 -0
- package/dist-types/commands/NotifyWorkersCommand.d.ts +16 -0
- package/dist-types/commands/RejectAssignmentCommand.d.ts +16 -0
- package/dist-types/commands/RejectQualificationRequestCommand.d.ts +16 -0
- package/dist-types/commands/SendBonusCommand.d.ts +16 -0
- package/dist-types/commands/SendTestEventNotificationCommand.d.ts +16 -0
- package/dist-types/commands/UpdateExpirationForHITCommand.d.ts +16 -0
- package/dist-types/commands/UpdateHITReviewStatusCommand.d.ts +16 -0
- package/dist-types/commands/UpdateHITTypeOfHITCommand.d.ts +16 -0
- package/dist-types/commands/UpdateNotificationSettingsCommand.d.ts +16 -0
- package/dist-types/commands/UpdateQualificationTypeCommand.d.ts +16 -0
- package/dist-types/models/MTurkServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +293 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListAssignmentsForHITPaginator.d.ts +3 -0
- package/dist-types/pagination/ListBonusPaymentsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListHITsForQualificationTypePaginator.d.ts +3 -0
- package/dist-types/pagination/ListHITsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListQualificationRequestsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListQualificationTypesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListReviewPolicyResultsForHITPaginator.d.ts +3 -0
- package/dist-types/pagination/ListReviewableHITsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListWorkerBlocksPaginator.d.ts +3 -0
- package/dist-types/pagination/ListWorkersWithQualificationTypePaginator.d.ts +3 -0
- package/package.json +3 -3
package/dist-types/MTurk.d.ts
CHANGED
|
@@ -40,10 +40,12 @@ import { UpdateNotificationSettingsCommandInput, UpdateNotificationSettingsComma
|
|
|
40
40
|
import { UpdateQualificationTypeCommandInput, UpdateQualificationTypeCommandOutput } from "./commands/UpdateQualificationTypeCommand";
|
|
41
41
|
import { MTurkClient } from "./MTurkClient";
|
|
42
42
|
/**
|
|
43
|
+
* @public
|
|
43
44
|
* <fullname>Amazon Mechanical Turk API Reference</fullname>
|
|
44
45
|
*/
|
|
45
46
|
export declare class MTurk extends MTurkClient {
|
|
46
47
|
/**
|
|
48
|
+
* @public
|
|
47
49
|
* <p>
|
|
48
50
|
* The <code>AcceptQualificationRequest</code> operation approves a Worker's request for a Qualification.
|
|
49
51
|
* </p>
|
|
@@ -59,6 +61,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
59
61
|
acceptQualificationRequest(args: AcceptQualificationRequestCommandInput, cb: (err: any, data?: AcceptQualificationRequestCommandOutput) => void): void;
|
|
60
62
|
acceptQualificationRequest(args: AcceptQualificationRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptQualificationRequestCommandOutput) => void): void;
|
|
61
63
|
/**
|
|
64
|
+
* @public
|
|
62
65
|
* <p>
|
|
63
66
|
* The <code>ApproveAssignment</code> operation approves the results of a completed assignment.
|
|
64
67
|
* </p>
|
|
@@ -94,6 +97,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
94
97
|
approveAssignment(args: ApproveAssignmentCommandInput, cb: (err: any, data?: ApproveAssignmentCommandOutput) => void): void;
|
|
95
98
|
approveAssignment(args: ApproveAssignmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ApproveAssignmentCommandOutput) => void): void;
|
|
96
99
|
/**
|
|
100
|
+
* @public
|
|
97
101
|
* <p>
|
|
98
102
|
* The <code>AssociateQualificationWithWorker</code> operation gives a Worker a
|
|
99
103
|
* Qualification. <code>AssociateQualificationWithWorker</code> does not require that the Worker
|
|
@@ -120,6 +124,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
120
124
|
associateQualificationWithWorker(args: AssociateQualificationWithWorkerCommandInput, cb: (err: any, data?: AssociateQualificationWithWorkerCommandOutput) => void): void;
|
|
121
125
|
associateQualificationWithWorker(args: AssociateQualificationWithWorkerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateQualificationWithWorkerCommandOutput) => void): void;
|
|
122
126
|
/**
|
|
127
|
+
* @public
|
|
123
128
|
* <p>
|
|
124
129
|
* The
|
|
125
130
|
* <code>CreateAdditionalAssignmentsForHIT</code>
|
|
@@ -148,6 +153,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
148
153
|
createAdditionalAssignmentsForHIT(args: CreateAdditionalAssignmentsForHITCommandInput, cb: (err: any, data?: CreateAdditionalAssignmentsForHITCommandOutput) => void): void;
|
|
149
154
|
createAdditionalAssignmentsForHIT(args: CreateAdditionalAssignmentsForHITCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAdditionalAssignmentsForHITCommandOutput) => void): void;
|
|
150
155
|
/**
|
|
156
|
+
* @public
|
|
151
157
|
* <p>The <code>CreateHIT</code> operation creates a new Human Intelligence Task (HIT).
|
|
152
158
|
* The new HIT is made available for Workers to find and accept on the Amazon Mechanical
|
|
153
159
|
* Turk website. </p>
|
|
@@ -170,6 +176,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
170
176
|
createHIT(args: CreateHITCommandInput, cb: (err: any, data?: CreateHITCommandOutput) => void): void;
|
|
171
177
|
createHIT(args: CreateHITCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHITCommandOutput) => void): void;
|
|
172
178
|
/**
|
|
179
|
+
* @public
|
|
173
180
|
* <p>
|
|
174
181
|
* The <code>CreateHITType</code> operation creates a new HIT type. This operation
|
|
175
182
|
* allows you to define a standard set of HIT properties to use when creating HITs.
|
|
@@ -181,6 +188,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
181
188
|
createHITType(args: CreateHITTypeCommandInput, cb: (err: any, data?: CreateHITTypeCommandOutput) => void): void;
|
|
182
189
|
createHITType(args: CreateHITTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHITTypeCommandOutput) => void): void;
|
|
183
190
|
/**
|
|
191
|
+
* @public
|
|
184
192
|
* <p>
|
|
185
193
|
* The <code>CreateHITWithHITType</code> operation creates a new Human Intelligence Task (HIT)
|
|
186
194
|
* using an existing HITTypeID generated by the <code>CreateHITType</code> operation.
|
|
@@ -204,6 +212,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
204
212
|
createHITWithHITType(args: CreateHITWithHITTypeCommandInput, cb: (err: any, data?: CreateHITWithHITTypeCommandOutput) => void): void;
|
|
205
213
|
createHITWithHITType(args: CreateHITWithHITTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHITWithHITTypeCommandOutput) => void): void;
|
|
206
214
|
/**
|
|
215
|
+
* @public
|
|
207
216
|
* <p>
|
|
208
217
|
* The
|
|
209
218
|
* <code>CreateQualificationType</code>
|
|
@@ -216,12 +225,14 @@ export declare class MTurk extends MTurkClient {
|
|
|
216
225
|
createQualificationType(args: CreateQualificationTypeCommandInput, cb: (err: any, data?: CreateQualificationTypeCommandOutput) => void): void;
|
|
217
226
|
createQualificationType(args: CreateQualificationTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateQualificationTypeCommandOutput) => void): void;
|
|
218
227
|
/**
|
|
228
|
+
* @public
|
|
219
229
|
* <p>The <code>CreateWorkerBlock</code> operation allows you to prevent a Worker from working on your HITs. For example, you can block a Worker who is producing poor quality work. You can block up to 100,000 Workers.</p>
|
|
220
230
|
*/
|
|
221
231
|
createWorkerBlock(args: CreateWorkerBlockCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkerBlockCommandOutput>;
|
|
222
232
|
createWorkerBlock(args: CreateWorkerBlockCommandInput, cb: (err: any, data?: CreateWorkerBlockCommandOutput) => void): void;
|
|
223
233
|
createWorkerBlock(args: CreateWorkerBlockCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkerBlockCommandOutput) => void): void;
|
|
224
234
|
/**
|
|
235
|
+
* @public
|
|
225
236
|
* <p>
|
|
226
237
|
* The <code>DeleteHIT</code> operation is used to delete HIT that is no longer needed.
|
|
227
238
|
* Only the Requester who created the HIT can delete it.
|
|
@@ -263,6 +274,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
263
274
|
deleteHIT(args: DeleteHITCommandInput, cb: (err: any, data?: DeleteHITCommandOutput) => void): void;
|
|
264
275
|
deleteHIT(args: DeleteHITCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteHITCommandOutput) => void): void;
|
|
265
276
|
/**
|
|
277
|
+
* @public
|
|
266
278
|
* <p>
|
|
267
279
|
* The
|
|
268
280
|
* <code>DeleteQualificationType</code>
|
|
@@ -287,12 +299,14 @@ export declare class MTurk extends MTurkClient {
|
|
|
287
299
|
deleteQualificationType(args: DeleteQualificationTypeCommandInput, cb: (err: any, data?: DeleteQualificationTypeCommandOutput) => void): void;
|
|
288
300
|
deleteQualificationType(args: DeleteQualificationTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteQualificationTypeCommandOutput) => void): void;
|
|
289
301
|
/**
|
|
302
|
+
* @public
|
|
290
303
|
* <p>The <code>DeleteWorkerBlock</code> operation allows you to reinstate a blocked Worker to work on your HITs. This operation reverses the effects of the CreateWorkerBlock operation. You need the Worker ID to use this operation. If the Worker ID is missing or invalid, this operation fails and returns the message “WorkerId is invalid.” If the specified Worker is not blocked, this operation returns successfully.</p>
|
|
291
304
|
*/
|
|
292
305
|
deleteWorkerBlock(args: DeleteWorkerBlockCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkerBlockCommandOutput>;
|
|
293
306
|
deleteWorkerBlock(args: DeleteWorkerBlockCommandInput, cb: (err: any, data?: DeleteWorkerBlockCommandOutput) => void): void;
|
|
294
307
|
deleteWorkerBlock(args: DeleteWorkerBlockCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkerBlockCommandOutput) => void): void;
|
|
295
308
|
/**
|
|
309
|
+
* @public
|
|
296
310
|
* <p>
|
|
297
311
|
* The <code>DisassociateQualificationFromWorker</code>
|
|
298
312
|
* revokes a previously granted Qualification from a user.
|
|
@@ -306,6 +320,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
306
320
|
disassociateQualificationFromWorker(args: DisassociateQualificationFromWorkerCommandInput, cb: (err: any, data?: DisassociateQualificationFromWorkerCommandOutput) => void): void;
|
|
307
321
|
disassociateQualificationFromWorker(args: DisassociateQualificationFromWorkerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateQualificationFromWorkerCommandOutput) => void): void;
|
|
308
322
|
/**
|
|
323
|
+
* @public
|
|
309
324
|
* <p>The <code>GetAccountBalance</code> operation retrieves the Prepaid HITs balance in your Amazon Mechanical Turk account if you are a Prepaid Requester.
|
|
310
325
|
* Alternatively, this operation will retrieve the remaining available AWS Billing usage if you have enabled AWS Billing.
|
|
311
326
|
* Note: If you have enabled AWS Billing and still have a remaining Prepaid HITs balance, this balance can be viewed on the My Account page in the Requester console.</p>
|
|
@@ -314,6 +329,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
314
329
|
getAccountBalance(args: GetAccountBalanceCommandInput, cb: (err: any, data?: GetAccountBalanceCommandOutput) => void): void;
|
|
315
330
|
getAccountBalance(args: GetAccountBalanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountBalanceCommandOutput) => void): void;
|
|
316
331
|
/**
|
|
332
|
+
* @public
|
|
317
333
|
* <p>
|
|
318
334
|
* The <code>GetAssignment</code> operation retrieves the details of the specified Assignment.
|
|
319
335
|
* </p>
|
|
@@ -322,6 +338,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
322
338
|
getAssignment(args: GetAssignmentCommandInput, cb: (err: any, data?: GetAssignmentCommandOutput) => void): void;
|
|
323
339
|
getAssignment(args: GetAssignmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssignmentCommandOutput) => void): void;
|
|
324
340
|
/**
|
|
341
|
+
* @public
|
|
325
342
|
* <p>
|
|
326
343
|
* The
|
|
327
344
|
* <code>GetFileUploadURL</code>
|
|
@@ -345,6 +362,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
345
362
|
getFileUploadURL(args: GetFileUploadURLCommandInput, cb: (err: any, data?: GetFileUploadURLCommandOutput) => void): void;
|
|
346
363
|
getFileUploadURL(args: GetFileUploadURLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFileUploadURLCommandOutput) => void): void;
|
|
347
364
|
/**
|
|
365
|
+
* @public
|
|
348
366
|
* <p>
|
|
349
367
|
* The <code>GetHIT</code> operation retrieves the details of the specified HIT.
|
|
350
368
|
* </p>
|
|
@@ -353,6 +371,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
353
371
|
getHIT(args: GetHITCommandInput, cb: (err: any, data?: GetHITCommandOutput) => void): void;
|
|
354
372
|
getHIT(args: GetHITCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetHITCommandOutput) => void): void;
|
|
355
373
|
/**
|
|
374
|
+
* @public
|
|
356
375
|
* <p>
|
|
357
376
|
* The
|
|
358
377
|
* <code>GetQualificationScore</code>
|
|
@@ -372,6 +391,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
372
391
|
getQualificationScore(args: GetQualificationScoreCommandInput, cb: (err: any, data?: GetQualificationScoreCommandOutput) => void): void;
|
|
373
392
|
getQualificationScore(args: GetQualificationScoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQualificationScoreCommandOutput) => void): void;
|
|
374
393
|
/**
|
|
394
|
+
* @public
|
|
375
395
|
* <p>
|
|
376
396
|
* The <code>GetQualificationType</code>operation retrieves information about a Qualification type using its ID.
|
|
377
397
|
* </p>
|
|
@@ -380,6 +400,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
380
400
|
getQualificationType(args: GetQualificationTypeCommandInput, cb: (err: any, data?: GetQualificationTypeCommandOutput) => void): void;
|
|
381
401
|
getQualificationType(args: GetQualificationTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQualificationTypeCommandOutput) => void): void;
|
|
382
402
|
/**
|
|
403
|
+
* @public
|
|
383
404
|
* <p>
|
|
384
405
|
* The
|
|
385
406
|
* <code>ListAssignmentsForHIT</code>
|
|
@@ -412,6 +433,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
412
433
|
listAssignmentsForHIT(args: ListAssignmentsForHITCommandInput, cb: (err: any, data?: ListAssignmentsForHITCommandOutput) => void): void;
|
|
413
434
|
listAssignmentsForHIT(args: ListAssignmentsForHITCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssignmentsForHITCommandOutput) => void): void;
|
|
414
435
|
/**
|
|
436
|
+
* @public
|
|
415
437
|
* <p>
|
|
416
438
|
* The
|
|
417
439
|
* <code>ListBonusPayments</code>
|
|
@@ -423,6 +445,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
423
445
|
listBonusPayments(args: ListBonusPaymentsCommandInput, cb: (err: any, data?: ListBonusPaymentsCommandOutput) => void): void;
|
|
424
446
|
listBonusPayments(args: ListBonusPaymentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBonusPaymentsCommandOutput) => void): void;
|
|
425
447
|
/**
|
|
448
|
+
* @public
|
|
426
449
|
* <p>
|
|
427
450
|
* The
|
|
428
451
|
* <code>ListHITs</code>
|
|
@@ -435,6 +458,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
435
458
|
listHITs(args: ListHITsCommandInput, cb: (err: any, data?: ListHITsCommandOutput) => void): void;
|
|
436
459
|
listHITs(args: ListHITsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHITsCommandOutput) => void): void;
|
|
437
460
|
/**
|
|
461
|
+
* @public
|
|
438
462
|
* <p>
|
|
439
463
|
* The <code>ListHITsForQualificationType</code> operation returns the HITs that use
|
|
440
464
|
* the given Qualification type for a Qualification requirement.
|
|
@@ -446,6 +470,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
446
470
|
listHITsForQualificationType(args: ListHITsForQualificationTypeCommandInput, cb: (err: any, data?: ListHITsForQualificationTypeCommandOutput) => void): void;
|
|
447
471
|
listHITsForQualificationType(args: ListHITsForQualificationTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHITsForQualificationTypeCommandOutput) => void): void;
|
|
448
472
|
/**
|
|
473
|
+
* @public
|
|
449
474
|
* <p>
|
|
450
475
|
* The
|
|
451
476
|
* <code>ListQualificationRequests</code>
|
|
@@ -459,6 +484,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
459
484
|
listQualificationRequests(args: ListQualificationRequestsCommandInput, cb: (err: any, data?: ListQualificationRequestsCommandOutput) => void): void;
|
|
460
485
|
listQualificationRequests(args: ListQualificationRequestsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListQualificationRequestsCommandOutput) => void): void;
|
|
461
486
|
/**
|
|
487
|
+
* @public
|
|
462
488
|
* <p>
|
|
463
489
|
* The
|
|
464
490
|
* <code>ListQualificationTypes</code>
|
|
@@ -470,6 +496,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
470
496
|
listQualificationTypes(args: ListQualificationTypesCommandInput, cb: (err: any, data?: ListQualificationTypesCommandOutput) => void): void;
|
|
471
497
|
listQualificationTypes(args: ListQualificationTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListQualificationTypesCommandOutput) => void): void;
|
|
472
498
|
/**
|
|
499
|
+
* @public
|
|
473
500
|
* <p>
|
|
474
501
|
* The <code>ListReviewableHITs</code> operation retrieves the HITs with Status equal to
|
|
475
502
|
* Reviewable or Status equal to Reviewing that belong to the Requester calling the operation.
|
|
@@ -479,6 +506,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
479
506
|
listReviewableHITs(args: ListReviewableHITsCommandInput, cb: (err: any, data?: ListReviewableHITsCommandOutput) => void): void;
|
|
480
507
|
listReviewableHITs(args: ListReviewableHITsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReviewableHITsCommandOutput) => void): void;
|
|
481
508
|
/**
|
|
509
|
+
* @public
|
|
482
510
|
* <p>
|
|
483
511
|
* The <code>ListReviewPolicyResultsForHIT</code> operation retrieves the computed results
|
|
484
512
|
* and the actions taken in the course of executing your Review Policies for a given HIT.
|
|
@@ -491,12 +519,14 @@ export declare class MTurk extends MTurkClient {
|
|
|
491
519
|
listReviewPolicyResultsForHIT(args: ListReviewPolicyResultsForHITCommandInput, cb: (err: any, data?: ListReviewPolicyResultsForHITCommandOutput) => void): void;
|
|
492
520
|
listReviewPolicyResultsForHIT(args: ListReviewPolicyResultsForHITCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReviewPolicyResultsForHITCommandOutput) => void): void;
|
|
493
521
|
/**
|
|
522
|
+
* @public
|
|
494
523
|
* <p>The <code>ListWorkersBlocks</code> operation retrieves a list of Workers who are blocked from working on your HITs.</p>
|
|
495
524
|
*/
|
|
496
525
|
listWorkerBlocks(args: ListWorkerBlocksCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkerBlocksCommandOutput>;
|
|
497
526
|
listWorkerBlocks(args: ListWorkerBlocksCommandInput, cb: (err: any, data?: ListWorkerBlocksCommandOutput) => void): void;
|
|
498
527
|
listWorkerBlocks(args: ListWorkerBlocksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkerBlocksCommandOutput) => void): void;
|
|
499
528
|
/**
|
|
529
|
+
* @public
|
|
500
530
|
* <p>
|
|
501
531
|
* The <code>ListWorkersWithQualificationType</code> operation returns all of the Workers
|
|
502
532
|
* that have been associated with a given Qualification type.
|
|
@@ -506,6 +536,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
506
536
|
listWorkersWithQualificationType(args: ListWorkersWithQualificationTypeCommandInput, cb: (err: any, data?: ListWorkersWithQualificationTypeCommandOutput) => void): void;
|
|
507
537
|
listWorkersWithQualificationType(args: ListWorkersWithQualificationTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkersWithQualificationTypeCommandOutput) => void): void;
|
|
508
538
|
/**
|
|
539
|
+
* @public
|
|
509
540
|
* <p>
|
|
510
541
|
* The
|
|
511
542
|
* <code>NotifyWorkers</code>
|
|
@@ -521,6 +552,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
521
552
|
notifyWorkers(args: NotifyWorkersCommandInput, cb: (err: any, data?: NotifyWorkersCommandOutput) => void): void;
|
|
522
553
|
notifyWorkers(args: NotifyWorkersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: NotifyWorkersCommandOutput) => void): void;
|
|
523
554
|
/**
|
|
555
|
+
* @public
|
|
524
556
|
* <p>
|
|
525
557
|
* The <code>RejectAssignment</code> operation rejects the results of a completed assignment.
|
|
526
558
|
* </p>
|
|
@@ -539,6 +571,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
539
571
|
rejectAssignment(args: RejectAssignmentCommandInput, cb: (err: any, data?: RejectAssignmentCommandOutput) => void): void;
|
|
540
572
|
rejectAssignment(args: RejectAssignmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RejectAssignmentCommandOutput) => void): void;
|
|
541
573
|
/**
|
|
574
|
+
* @public
|
|
542
575
|
* <p>
|
|
543
576
|
* The
|
|
544
577
|
* <code>RejectQualificationRequest</code>
|
|
@@ -551,6 +584,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
551
584
|
rejectQualificationRequest(args: RejectQualificationRequestCommandInput, cb: (err: any, data?: RejectQualificationRequestCommandOutput) => void): void;
|
|
552
585
|
rejectQualificationRequest(args: RejectQualificationRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RejectQualificationRequestCommandOutput) => void): void;
|
|
553
586
|
/**
|
|
587
|
+
* @public
|
|
554
588
|
* <p>
|
|
555
589
|
* The
|
|
556
590
|
* <code>SendBonus</code>
|
|
@@ -570,6 +604,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
570
604
|
sendBonus(args: SendBonusCommandInput, cb: (err: any, data?: SendBonusCommandOutput) => void): void;
|
|
571
605
|
sendBonus(args: SendBonusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendBonusCommandOutput) => void): void;
|
|
572
606
|
/**
|
|
607
|
+
* @public
|
|
573
608
|
* <p>
|
|
574
609
|
* The <code>SendTestEventNotification</code> operation causes Amazon Mechanical Turk to send
|
|
575
610
|
* a notification message as if a HIT event occurred, according to the provided
|
|
@@ -582,6 +617,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
582
617
|
sendTestEventNotification(args: SendTestEventNotificationCommandInput, cb: (err: any, data?: SendTestEventNotificationCommandOutput) => void): void;
|
|
583
618
|
sendTestEventNotification(args: SendTestEventNotificationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendTestEventNotificationCommandOutput) => void): void;
|
|
584
619
|
/**
|
|
620
|
+
* @public
|
|
585
621
|
* <p>
|
|
586
622
|
* The <code>UpdateExpirationForHIT</code> operation allows you update the expiration time of a HIT.
|
|
587
623
|
* If you update it to a time in the past, the HIT will be immediately expired.
|
|
@@ -591,6 +627,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
591
627
|
updateExpirationForHIT(args: UpdateExpirationForHITCommandInput, cb: (err: any, data?: UpdateExpirationForHITCommandOutput) => void): void;
|
|
592
628
|
updateExpirationForHIT(args: UpdateExpirationForHITCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateExpirationForHITCommandOutput) => void): void;
|
|
593
629
|
/**
|
|
630
|
+
* @public
|
|
594
631
|
* <p>
|
|
595
632
|
* The <code>UpdateHITReviewStatus</code> operation updates the status of a HIT.
|
|
596
633
|
* If the status is Reviewable, this operation can update the status to Reviewing,
|
|
@@ -601,6 +638,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
601
638
|
updateHITReviewStatus(args: UpdateHITReviewStatusCommandInput, cb: (err: any, data?: UpdateHITReviewStatusCommandOutput) => void): void;
|
|
602
639
|
updateHITReviewStatus(args: UpdateHITReviewStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateHITReviewStatusCommandOutput) => void): void;
|
|
603
640
|
/**
|
|
641
|
+
* @public
|
|
604
642
|
* <p>
|
|
605
643
|
* The
|
|
606
644
|
* <code>UpdateHITTypeOfHIT</code>
|
|
@@ -614,6 +652,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
614
652
|
updateHITTypeOfHIT(args: UpdateHITTypeOfHITCommandInput, cb: (err: any, data?: UpdateHITTypeOfHITCommandOutput) => void): void;
|
|
615
653
|
updateHITTypeOfHIT(args: UpdateHITTypeOfHITCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateHITTypeOfHITCommandOutput) => void): void;
|
|
616
654
|
/**
|
|
655
|
+
* @public
|
|
617
656
|
* <p>
|
|
618
657
|
* The <code>UpdateNotificationSettings</code> operation creates, updates,
|
|
619
658
|
* disables or re-enables notifications for a HIT type.
|
|
@@ -631,6 +670,7 @@ export declare class MTurk extends MTurkClient {
|
|
|
631
670
|
updateNotificationSettings(args: UpdateNotificationSettingsCommandInput, cb: (err: any, data?: UpdateNotificationSettingsCommandOutput) => void): void;
|
|
632
671
|
updateNotificationSettings(args: UpdateNotificationSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNotificationSettingsCommandOutput) => void): void;
|
|
633
672
|
/**
|
|
673
|
+
* @public
|
|
634
674
|
* <p>
|
|
635
675
|
* The
|
|
636
676
|
* <code>UpdateQualificationType</code>
|
|
@@ -47,15 +47,24 @@ import { UpdateHITTypeOfHITCommandInput, UpdateHITTypeOfHITCommandOutput } from
|
|
|
47
47
|
import { UpdateNotificationSettingsCommandInput, UpdateNotificationSettingsCommandOutput } from "./commands/UpdateNotificationSettingsCommand";
|
|
48
48
|
import { UpdateQualificationTypeCommandInput, UpdateQualificationTypeCommandOutput } from "./commands/UpdateQualificationTypeCommand";
|
|
49
49
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
50
53
|
export type ServiceInputTypes = AcceptQualificationRequestCommandInput | ApproveAssignmentCommandInput | AssociateQualificationWithWorkerCommandInput | CreateAdditionalAssignmentsForHITCommandInput | CreateHITCommandInput | CreateHITTypeCommandInput | CreateHITWithHITTypeCommandInput | CreateQualificationTypeCommandInput | CreateWorkerBlockCommandInput | DeleteHITCommandInput | DeleteQualificationTypeCommandInput | DeleteWorkerBlockCommandInput | DisassociateQualificationFromWorkerCommandInput | GetAccountBalanceCommandInput | GetAssignmentCommandInput | GetFileUploadURLCommandInput | GetHITCommandInput | GetQualificationScoreCommandInput | GetQualificationTypeCommandInput | ListAssignmentsForHITCommandInput | ListBonusPaymentsCommandInput | ListHITsCommandInput | ListHITsForQualificationTypeCommandInput | ListQualificationRequestsCommandInput | ListQualificationTypesCommandInput | ListReviewPolicyResultsForHITCommandInput | ListReviewableHITsCommandInput | ListWorkerBlocksCommandInput | ListWorkersWithQualificationTypeCommandInput | NotifyWorkersCommandInput | RejectAssignmentCommandInput | RejectQualificationRequestCommandInput | SendBonusCommandInput | SendTestEventNotificationCommandInput | UpdateExpirationForHITCommandInput | UpdateHITReviewStatusCommandInput | UpdateHITTypeOfHITCommandInput | UpdateNotificationSettingsCommandInput | UpdateQualificationTypeCommandInput;
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
51
57
|
export type ServiceOutputTypes = AcceptQualificationRequestCommandOutput | ApproveAssignmentCommandOutput | AssociateQualificationWithWorkerCommandOutput | CreateAdditionalAssignmentsForHITCommandOutput | CreateHITCommandOutput | CreateHITTypeCommandOutput | CreateHITWithHITTypeCommandOutput | CreateQualificationTypeCommandOutput | CreateWorkerBlockCommandOutput | DeleteHITCommandOutput | DeleteQualificationTypeCommandOutput | DeleteWorkerBlockCommandOutput | DisassociateQualificationFromWorkerCommandOutput | GetAccountBalanceCommandOutput | GetAssignmentCommandOutput | GetFileUploadURLCommandOutput | GetHITCommandOutput | GetQualificationScoreCommandOutput | GetQualificationTypeCommandOutput | ListAssignmentsForHITCommandOutput | ListBonusPaymentsCommandOutput | ListHITsCommandOutput | ListHITsForQualificationTypeCommandOutput | ListQualificationRequestsCommandOutput | ListQualificationTypesCommandOutput | ListReviewPolicyResultsForHITCommandOutput | ListReviewableHITsCommandOutput | ListWorkerBlocksCommandOutput | ListWorkersWithQualificationTypeCommandOutput | NotifyWorkersCommandOutput | RejectAssignmentCommandOutput | RejectQualificationRequestCommandOutput | SendBonusCommandOutput | SendTestEventNotificationCommandOutput | UpdateExpirationForHITCommandOutput | UpdateHITReviewStatusCommandOutput | UpdateHITTypeOfHITCommandOutput | UpdateNotificationSettingsCommandOutput | UpdateQualificationTypeCommandOutput;
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
52
61
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
53
62
|
/**
|
|
54
63
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
55
64
|
*/
|
|
56
65
|
requestHandler?: __HttpHandler;
|
|
57
66
|
/**
|
|
58
|
-
* A constructor for a class implementing the {@link
|
|
67
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
59
68
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
60
69
|
* @internal
|
|
61
70
|
*/
|
|
@@ -145,23 +154,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
145
154
|
*/
|
|
146
155
|
logger?: __Logger;
|
|
147
156
|
/**
|
|
148
|
-
* The {@link
|
|
157
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
149
158
|
*/
|
|
150
159
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
151
160
|
}
|
|
161
|
+
/**
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
152
164
|
type MTurkClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
153
165
|
/**
|
|
154
|
-
*
|
|
166
|
+
* @public
|
|
167
|
+
*
|
|
168
|
+
* The configuration interface of MTurkClient class constructor that set the region, credentials and other options.
|
|
155
169
|
*/
|
|
156
170
|
export interface MTurkClientConfig extends MTurkClientConfigType {
|
|
157
171
|
}
|
|
172
|
+
/**
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
158
175
|
type MTurkClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
159
176
|
/**
|
|
160
|
-
*
|
|
177
|
+
* @public
|
|
178
|
+
*
|
|
179
|
+
* The resolved configuration interface of MTurkClient class. This is resolved and normalized from the {@link MTurkClientConfig | constructor configuration interface}.
|
|
161
180
|
*/
|
|
162
181
|
export interface MTurkClientResolvedConfig extends MTurkClientResolvedConfigType {
|
|
163
182
|
}
|
|
164
183
|
/**
|
|
184
|
+
* @public
|
|
165
185
|
* <fullname>Amazon Mechanical Turk API Reference</fullname>
|
|
166
186
|
*/
|
|
167
187
|
export declare class MTurkClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MTurkClientResolvedConfig> {
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AcceptQualificationRequestRequest, AcceptQualificationRequestResponse } from "../models/models_0";
|
|
5
5
|
import { MTurkClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MTurkClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AcceptQualificationRequestCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AcceptQualificationRequestCommandInput extends AcceptQualificationRequestRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AcceptQualificationRequestCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AcceptQualificationRequestCommandOutput extends AcceptQualificationRequestResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>
|
|
18
23
|
* The <code>AcceptQualificationRequest</code> operation approves a Worker's request for a Qualification.
|
|
19
24
|
* </p>
|
|
@@ -34,6 +39,8 @@ export interface AcceptQualificationRequestCommandOutput extends AcceptQualifica
|
|
|
34
39
|
* const response = await client.send(command);
|
|
35
40
|
* ```
|
|
36
41
|
*
|
|
42
|
+
* @param AcceptQualificationRequestCommandInput - {@link AcceptQualificationRequestCommandInput}
|
|
43
|
+
* @returns {@link AcceptQualificationRequestCommandOutput}
|
|
37
44
|
* @see {@link AcceptQualificationRequestCommandInput} for command's `input` shape.
|
|
38
45
|
* @see {@link AcceptQualificationRequestCommandOutput} for command's `response` shape.
|
|
39
46
|
* @see {@link MTurkClientResolvedConfig | config} for MTurkClient's `config` shape.
|
|
@@ -49,11 +56,20 @@ export interface AcceptQualificationRequestCommandOutput extends AcceptQualifica
|
|
|
49
56
|
export declare class AcceptQualificationRequestCommand extends $Command<AcceptQualificationRequestCommandInput, AcceptQualificationRequestCommandOutput, MTurkClientResolvedConfig> {
|
|
50
57
|
readonly input: AcceptQualificationRequestCommandInput;
|
|
51
58
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
52
62
|
constructor(input: AcceptQualificationRequestCommandInput);
|
|
53
63
|
/**
|
|
54
64
|
* @internal
|
|
55
65
|
*/
|
|
56
66
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AcceptQualificationRequestCommandInput, AcceptQualificationRequestCommandOutput>;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
57
70
|
private serialize;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
58
74
|
private deserialize;
|
|
59
75
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ApproveAssignmentRequest, ApproveAssignmentResponse } from "../models/models_0";
|
|
5
5
|
import { MTurkClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MTurkClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ApproveAssignmentCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ApproveAssignmentCommandInput extends ApproveAssignmentRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ApproveAssignmentCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ApproveAssignmentCommandOutput extends ApproveAssignmentResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>
|
|
18
23
|
* The <code>ApproveAssignment</code> operation approves the results of a completed assignment.
|
|
19
24
|
* </p>
|
|
@@ -54,6 +59,8 @@ export interface ApproveAssignmentCommandOutput extends ApproveAssignmentRespons
|
|
|
54
59
|
* const response = await client.send(command);
|
|
55
60
|
* ```
|
|
56
61
|
*
|
|
62
|
+
* @param ApproveAssignmentCommandInput - {@link ApproveAssignmentCommandInput}
|
|
63
|
+
* @returns {@link ApproveAssignmentCommandOutput}
|
|
57
64
|
* @see {@link ApproveAssignmentCommandInput} for command's `input` shape.
|
|
58
65
|
* @see {@link ApproveAssignmentCommandOutput} for command's `response` shape.
|
|
59
66
|
* @see {@link MTurkClientResolvedConfig | config} for MTurkClient's `config` shape.
|
|
@@ -69,11 +76,20 @@ export interface ApproveAssignmentCommandOutput extends ApproveAssignmentRespons
|
|
|
69
76
|
export declare class ApproveAssignmentCommand extends $Command<ApproveAssignmentCommandInput, ApproveAssignmentCommandOutput, MTurkClientResolvedConfig> {
|
|
70
77
|
readonly input: ApproveAssignmentCommandInput;
|
|
71
78
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
72
82
|
constructor(input: ApproveAssignmentCommandInput);
|
|
73
83
|
/**
|
|
74
84
|
* @internal
|
|
75
85
|
*/
|
|
76
86
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ApproveAssignmentCommandInput, ApproveAssignmentCommandOutput>;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
77
90
|
private serialize;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
78
94
|
private deserialize;
|
|
79
95
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AssociateQualificationWithWorkerRequest, AssociateQualificationWithWorkerResponse } from "../models/models_0";
|
|
5
5
|
import { MTurkClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MTurkClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AssociateQualificationWithWorkerCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AssociateQualificationWithWorkerCommandInput extends AssociateQualificationWithWorkerRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AssociateQualificationWithWorkerCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AssociateQualificationWithWorkerCommandOutput extends AssociateQualificationWithWorkerResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>
|
|
18
23
|
* The <code>AssociateQualificationWithWorker</code> operation gives a Worker a
|
|
19
24
|
* Qualification. <code>AssociateQualificationWithWorker</code> does not require that the Worker
|
|
@@ -45,6 +50,8 @@ export interface AssociateQualificationWithWorkerCommandOutput extends Associate
|
|
|
45
50
|
* const response = await client.send(command);
|
|
46
51
|
* ```
|
|
47
52
|
*
|
|
53
|
+
* @param AssociateQualificationWithWorkerCommandInput - {@link AssociateQualificationWithWorkerCommandInput}
|
|
54
|
+
* @returns {@link AssociateQualificationWithWorkerCommandOutput}
|
|
48
55
|
* @see {@link AssociateQualificationWithWorkerCommandInput} for command's `input` shape.
|
|
49
56
|
* @see {@link AssociateQualificationWithWorkerCommandOutput} for command's `response` shape.
|
|
50
57
|
* @see {@link MTurkClientResolvedConfig | config} for MTurkClient's `config` shape.
|
|
@@ -60,11 +67,20 @@ export interface AssociateQualificationWithWorkerCommandOutput extends Associate
|
|
|
60
67
|
export declare class AssociateQualificationWithWorkerCommand extends $Command<AssociateQualificationWithWorkerCommandInput, AssociateQualificationWithWorkerCommandOutput, MTurkClientResolvedConfig> {
|
|
61
68
|
readonly input: AssociateQualificationWithWorkerCommandInput;
|
|
62
69
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
63
73
|
constructor(input: AssociateQualificationWithWorkerCommandInput);
|
|
64
74
|
/**
|
|
65
75
|
* @internal
|
|
66
76
|
*/
|
|
67
77
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateQualificationWithWorkerCommandInput, AssociateQualificationWithWorkerCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
68
81
|
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
69
85
|
private deserialize;
|
|
70
86
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CreateAdditionalAssignmentsForHITRequest, CreateAdditionalAssignmentsForHITResponse } from "../models/models_0";
|
|
5
5
|
import { MTurkClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MTurkClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateAdditionalAssignmentsForHITCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateAdditionalAssignmentsForHITCommandInput extends CreateAdditionalAssignmentsForHITRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateAdditionalAssignmentsForHITCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateAdditionalAssignmentsForHITCommandOutput extends CreateAdditionalAssignmentsForHITResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>
|
|
18
23
|
* The
|
|
19
24
|
* <code>CreateAdditionalAssignmentsForHIT</code>
|
|
@@ -47,6 +52,8 @@ export interface CreateAdditionalAssignmentsForHITCommandOutput extends CreateAd
|
|
|
47
52
|
* const response = await client.send(command);
|
|
48
53
|
* ```
|
|
49
54
|
*
|
|
55
|
+
* @param CreateAdditionalAssignmentsForHITCommandInput - {@link CreateAdditionalAssignmentsForHITCommandInput}
|
|
56
|
+
* @returns {@link CreateAdditionalAssignmentsForHITCommandOutput}
|
|
50
57
|
* @see {@link CreateAdditionalAssignmentsForHITCommandInput} for command's `input` shape.
|
|
51
58
|
* @see {@link CreateAdditionalAssignmentsForHITCommandOutput} for command's `response` shape.
|
|
52
59
|
* @see {@link MTurkClientResolvedConfig | config} for MTurkClient's `config` shape.
|
|
@@ -62,11 +69,20 @@ export interface CreateAdditionalAssignmentsForHITCommandOutput extends CreateAd
|
|
|
62
69
|
export declare class CreateAdditionalAssignmentsForHITCommand extends $Command<CreateAdditionalAssignmentsForHITCommandInput, CreateAdditionalAssignmentsForHITCommandOutput, MTurkClientResolvedConfig> {
|
|
63
70
|
readonly input: CreateAdditionalAssignmentsForHITCommandInput;
|
|
64
71
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
65
75
|
constructor(input: CreateAdditionalAssignmentsForHITCommandInput);
|
|
66
76
|
/**
|
|
67
77
|
* @internal
|
|
68
78
|
*/
|
|
69
79
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAdditionalAssignmentsForHITCommandInput, CreateAdditionalAssignmentsForHITCommandOutput>;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
70
83
|
private serialize;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
71
87
|
private deserialize;
|
|
72
88
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CreateHITRequest, CreateHITResponse } from "../models/models_0";
|
|
5
5
|
import { MTurkClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MTurkClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateHITCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateHITCommandInput extends CreateHITRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateHITCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateHITCommandOutput extends CreateHITResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>The <code>CreateHIT</code> operation creates a new Human Intelligence Task (HIT).
|
|
18
23
|
* The new HIT is made available for Workers to find and accept on the Amazon Mechanical
|
|
19
24
|
* Turk website. </p>
|
|
@@ -41,6 +46,8 @@ export interface CreateHITCommandOutput extends CreateHITResponse, __MetadataBea
|
|
|
41
46
|
* const response = await client.send(command);
|
|
42
47
|
* ```
|
|
43
48
|
*
|
|
49
|
+
* @param CreateHITCommandInput - {@link CreateHITCommandInput}
|
|
50
|
+
* @returns {@link CreateHITCommandOutput}
|
|
44
51
|
* @see {@link CreateHITCommandInput} for command's `input` shape.
|
|
45
52
|
* @see {@link CreateHITCommandOutput} for command's `response` shape.
|
|
46
53
|
* @see {@link MTurkClientResolvedConfig | config} for MTurkClient's `config` shape.
|
|
@@ -56,11 +63,20 @@ export interface CreateHITCommandOutput extends CreateHITResponse, __MetadataBea
|
|
|
56
63
|
export declare class CreateHITCommand extends $Command<CreateHITCommandInput, CreateHITCommandOutput, MTurkClientResolvedConfig> {
|
|
57
64
|
readonly input: CreateHITCommandInput;
|
|
58
65
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
59
69
|
constructor(input: CreateHITCommandInput);
|
|
60
70
|
/**
|
|
61
71
|
* @internal
|
|
62
72
|
*/
|
|
63
73
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateHITCommandInput, CreateHITCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
64
77
|
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
65
81
|
private deserialize;
|
|
66
82
|
}
|