@aws-sdk/client-mturk 3.170.0 → 3.178.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 (52) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  3. package/dist-types/runtimeConfig.d.ts +1 -1
  4. package/dist-types/runtimeConfig.native.d.ts +1 -1
  5. package/dist-types/ts3.4/MTurk.d.ts +0 -39
  6. package/dist-types/ts3.4/MTurkClient.d.ts +0 -25
  7. package/dist-types/ts3.4/commands/AcceptQualificationRequestCommand.d.ts +0 -2
  8. package/dist-types/ts3.4/commands/ApproveAssignmentCommand.d.ts +0 -2
  9. package/dist-types/ts3.4/commands/AssociateQualificationWithWorkerCommand.d.ts +0 -2
  10. package/dist-types/ts3.4/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +0 -2
  11. package/dist-types/ts3.4/commands/CreateHITCommand.d.ts +0 -2
  12. package/dist-types/ts3.4/commands/CreateHITTypeCommand.d.ts +0 -2
  13. package/dist-types/ts3.4/commands/CreateHITWithHITTypeCommand.d.ts +0 -2
  14. package/dist-types/ts3.4/commands/CreateQualificationTypeCommand.d.ts +0 -2
  15. package/dist-types/ts3.4/commands/CreateWorkerBlockCommand.d.ts +0 -2
  16. package/dist-types/ts3.4/commands/DeleteHITCommand.d.ts +0 -2
  17. package/dist-types/ts3.4/commands/DeleteQualificationTypeCommand.d.ts +0 -2
  18. package/dist-types/ts3.4/commands/DeleteWorkerBlockCommand.d.ts +0 -2
  19. package/dist-types/ts3.4/commands/DisassociateQualificationFromWorkerCommand.d.ts +0 -2
  20. package/dist-types/ts3.4/commands/GetAccountBalanceCommand.d.ts +0 -2
  21. package/dist-types/ts3.4/commands/GetAssignmentCommand.d.ts +0 -2
  22. package/dist-types/ts3.4/commands/GetFileUploadURLCommand.d.ts +0 -2
  23. package/dist-types/ts3.4/commands/GetHITCommand.d.ts +0 -2
  24. package/dist-types/ts3.4/commands/GetQualificationScoreCommand.d.ts +0 -2
  25. package/dist-types/ts3.4/commands/GetQualificationTypeCommand.d.ts +0 -2
  26. package/dist-types/ts3.4/commands/ListAssignmentsForHITCommand.d.ts +0 -2
  27. package/dist-types/ts3.4/commands/ListBonusPaymentsCommand.d.ts +0 -2
  28. package/dist-types/ts3.4/commands/ListHITsCommand.d.ts +0 -2
  29. package/dist-types/ts3.4/commands/ListHITsForQualificationTypeCommand.d.ts +0 -2
  30. package/dist-types/ts3.4/commands/ListQualificationRequestsCommand.d.ts +0 -2
  31. package/dist-types/ts3.4/commands/ListQualificationTypesCommand.d.ts +0 -2
  32. package/dist-types/ts3.4/commands/ListReviewPolicyResultsForHITCommand.d.ts +0 -2
  33. package/dist-types/ts3.4/commands/ListReviewableHITsCommand.d.ts +0 -2
  34. package/dist-types/ts3.4/commands/ListWorkerBlocksCommand.d.ts +0 -2
  35. package/dist-types/ts3.4/commands/ListWorkersWithQualificationTypeCommand.d.ts +0 -2
  36. package/dist-types/ts3.4/commands/NotifyWorkersCommand.d.ts +0 -2
  37. package/dist-types/ts3.4/commands/RejectAssignmentCommand.d.ts +0 -2
  38. package/dist-types/ts3.4/commands/RejectQualificationRequestCommand.d.ts +0 -2
  39. package/dist-types/ts3.4/commands/SendBonusCommand.d.ts +0 -2
  40. package/dist-types/ts3.4/commands/SendTestEventNotificationCommand.d.ts +0 -2
  41. package/dist-types/ts3.4/commands/UpdateExpirationForHITCommand.d.ts +0 -2
  42. package/dist-types/ts3.4/commands/UpdateHITReviewStatusCommand.d.ts +0 -2
  43. package/dist-types/ts3.4/commands/UpdateHITTypeOfHITCommand.d.ts +0 -2
  44. package/dist-types/ts3.4/commands/UpdateNotificationSettingsCommand.d.ts +0 -2
  45. package/dist-types/ts3.4/commands/UpdateQualificationTypeCommand.d.ts +0 -2
  46. package/dist-types/ts3.4/models/MTurkServiceException.d.ts +0 -1
  47. package/dist-types/ts3.4/models/models_0.d.ts +0 -328
  48. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  49. package/dist-types/ts3.4/runtimeConfig.d.ts +3 -2
  50. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -2
  51. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -1
  52. package/package.json +26 -26
@@ -2,33 +2,26 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { MTurkServiceException as __BaseException } from "./MTurkServiceException";
3
3
  export interface AcceptQualificationRequestRequest {
4
4
  QualificationRequestId: string | undefined;
5
-
6
5
  IntegerValue?: number;
7
6
  }
8
7
  export interface AcceptQualificationRequestResponse {}
9
-
10
8
  export declare class RequestError extends __BaseException {
11
9
  readonly name: "RequestError";
12
10
  readonly $fault: "client";
13
11
  Message?: string;
14
12
  TurkErrorCode?: string;
15
-
16
13
  constructor(opts: __ExceptionOptionType<RequestError, __BaseException>);
17
14
  }
18
-
19
15
  export declare class ServiceFault extends __BaseException {
20
16
  readonly name: "ServiceFault";
21
17
  readonly $fault: "server";
22
18
  Message?: string;
23
19
  TurkErrorCode?: string;
24
-
25
20
  constructor(opts: __ExceptionOptionType<ServiceFault, __BaseException>);
26
21
  }
27
22
  export interface ApproveAssignmentRequest {
28
23
  AssignmentId: string | undefined;
29
-
30
24
  RequesterFeedback?: string;
31
-
32
25
  OverrideRejection?: boolean;
33
26
  }
34
27
  export interface ApproveAssignmentResponse {}
@@ -37,52 +30,32 @@ export declare enum AssignmentStatus {
37
30
  Rejected = "Rejected",
38
31
  Submitted = "Submitted",
39
32
  }
40
-
41
33
  export interface Assignment {
42
34
  AssignmentId?: string;
43
-
44
35
  WorkerId?: string;
45
-
46
36
  HITId?: string;
47
-
48
37
  AssignmentStatus?: AssignmentStatus | string;
49
-
50
38
  AutoApprovalTime?: Date;
51
-
52
39
  AcceptTime?: Date;
53
-
54
40
  SubmitTime?: Date;
55
-
56
41
  ApprovalTime?: Date;
57
-
58
42
  RejectionTime?: Date;
59
-
60
43
  Deadline?: Date;
61
-
62
44
  Answer?: string;
63
-
64
45
  RequesterFeedback?: string;
65
46
  }
66
47
  export interface AssociateQualificationWithWorkerRequest {
67
48
  QualificationTypeId: string | undefined;
68
-
69
49
  WorkerId: string | undefined;
70
-
71
50
  IntegerValue?: number;
72
-
73
51
  SendNotification?: boolean;
74
52
  }
75
53
  export interface AssociateQualificationWithWorkerResponse {}
76
-
77
54
  export interface BonusPayment {
78
55
  WorkerId?: string;
79
-
80
56
  BonusAmount?: string;
81
-
82
57
  AssignmentId?: string;
83
-
84
58
  Reason?: string;
85
-
86
59
  GrantTime?: Date;
87
60
  }
88
61
  export declare enum Comparator {
@@ -99,36 +72,25 @@ export declare enum Comparator {
99
72
  }
100
73
  export interface CreateAdditionalAssignmentsForHITRequest {
101
74
  HITId: string | undefined;
102
-
103
75
  NumberOfAdditionalAssignments: number | undefined;
104
-
105
76
  UniqueRequestToken?: string;
106
77
  }
107
78
  export interface CreateAdditionalAssignmentsForHITResponse {}
108
-
109
79
  export interface ParameterMapEntry {
110
80
  Key?: string;
111
-
112
81
  Values?: string[];
113
82
  }
114
-
115
83
  export interface PolicyParameter {
116
84
  Key?: string;
117
-
118
85
  Values?: string[];
119
-
120
86
  MapEntries?: ParameterMapEntry[];
121
87
  }
122
-
123
88
  export interface ReviewPolicy {
124
89
  PolicyName: string | undefined;
125
-
126
90
  Parameters?: PolicyParameter[];
127
91
  }
128
-
129
92
  export interface HITLayoutParameter {
130
93
  Name: string | undefined;
131
-
132
94
  Value: string | undefined;
133
95
  }
134
96
  export declare enum HITAccessActions {
@@ -136,57 +98,34 @@ export declare enum HITAccessActions {
136
98
  DiscoverPreviewAndAccept = "DiscoverPreviewAndAccept",
137
99
  PreviewAndAccept = "PreviewAndAccept",
138
100
  }
139
-
140
101
  export interface Locale {
141
102
  Country: string | undefined;
142
-
143
103
  Subdivision?: string;
144
104
  }
145
-
146
105
  export interface QualificationRequirement {
147
106
  QualificationTypeId: string | undefined;
148
-
149
107
  Comparator: Comparator | string | undefined;
150
-
151
108
  IntegerValues?: number[];
152
-
153
109
  LocaleValues?: Locale[];
154
-
155
110
  RequiredToPreview?: boolean;
156
-
157
111
  ActionsGuarded?: HITAccessActions | string;
158
112
  }
159
113
  export interface CreateHITRequest {
160
114
  MaxAssignments?: number;
161
-
162
115
  AutoApprovalDelayInSeconds?: number;
163
-
164
116
  LifetimeInSeconds: number | undefined;
165
-
166
117
  AssignmentDurationInSeconds: number | undefined;
167
-
168
118
  Reward: string | undefined;
169
-
170
119
  Title: string | undefined;
171
-
172
120
  Keywords?: string;
173
-
174
121
  Description: string | undefined;
175
-
176
122
  Question?: string;
177
-
178
123
  RequesterAnnotation?: string;
179
-
180
124
  QualificationRequirements?: QualificationRequirement[];
181
-
182
125
  UniqueRequestToken?: string;
183
-
184
126
  AssignmentReviewPolicy?: ReviewPolicy;
185
-
186
127
  HITReviewPolicy?: ReviewPolicy;
187
-
188
128
  HITLayoutId?: string;
189
-
190
129
  HITLayoutParameters?: HITLayoutParameter[];
191
130
  }
192
131
  export declare enum HITReviewStatus {
@@ -202,48 +141,27 @@ export declare enum HITStatus {
202
141
  Reviewing = "Reviewing",
203
142
  Unassignable = "Unassignable",
204
143
  }
205
-
206
144
  export interface HIT {
207
145
  HITId?: string;
208
-
209
146
  HITTypeId?: string;
210
-
211
147
  HITGroupId?: string;
212
-
213
148
  HITLayoutId?: string;
214
-
215
149
  CreationTime?: Date;
216
-
217
150
  Title?: string;
218
-
219
151
  Description?: string;
220
-
221
152
  Question?: string;
222
-
223
153
  Keywords?: string;
224
-
225
154
  HITStatus?: HITStatus | string;
226
-
227
155
  MaxAssignments?: number;
228
-
229
156
  Reward?: string;
230
-
231
157
  AutoApprovalDelayInSeconds?: number;
232
-
233
158
  Expiration?: Date;
234
-
235
159
  AssignmentDurationInSeconds?: number;
236
-
237
160
  RequesterAnnotation?: string;
238
-
239
161
  QualificationRequirements?: QualificationRequirement[];
240
-
241
162
  HITReviewStatus?: HITReviewStatus | string;
242
-
243
163
  NumberOfAssignmentsPending?: number;
244
-
245
164
  NumberOfAssignmentsAvailable?: number;
246
-
247
165
  NumberOfAssignmentsCompleted?: number;
248
166
  }
249
167
  export interface CreateHITResponse {
@@ -251,17 +169,11 @@ export interface CreateHITResponse {
251
169
  }
252
170
  export interface CreateHITTypeRequest {
253
171
  AutoApprovalDelayInSeconds?: number;
254
-
255
172
  AssignmentDurationInSeconds: number | undefined;
256
-
257
173
  Reward: string | undefined;
258
-
259
174
  Title: string | undefined;
260
-
261
175
  Keywords?: string;
262
-
263
176
  Description: string | undefined;
264
-
265
177
  QualificationRequirements?: QualificationRequirement[];
266
178
  }
267
179
  export interface CreateHITTypeResponse {
@@ -269,23 +181,14 @@ export interface CreateHITTypeResponse {
269
181
  }
270
182
  export interface CreateHITWithHITTypeRequest {
271
183
  HITTypeId: string | undefined;
272
-
273
184
  MaxAssignments?: number;
274
-
275
185
  LifetimeInSeconds: number | undefined;
276
-
277
186
  Question?: string;
278
-
279
187
  RequesterAnnotation?: string;
280
-
281
188
  UniqueRequestToken?: string;
282
-
283
189
  AssignmentReviewPolicy?: ReviewPolicy;
284
-
285
190
  HITReviewPolicy?: ReviewPolicy;
286
-
287
191
  HITLayoutId?: string;
288
-
289
192
  HITLayoutParameters?: HITLayoutParameter[];
290
193
  }
291
194
  export interface CreateHITWithHITTypeResponse {
@@ -297,51 +200,29 @@ export declare enum QualificationTypeStatus {
297
200
  }
298
201
  export interface CreateQualificationTypeRequest {
299
202
  Name: string | undefined;
300
-
301
203
  Keywords?: string;
302
-
303
204
  Description: string | undefined;
304
-
305
205
  QualificationTypeStatus: QualificationTypeStatus | string | undefined;
306
-
307
206
  RetryDelayInSeconds?: number;
308
-
309
207
  Test?: string;
310
-
311
208
  AnswerKey?: string;
312
-
313
209
  TestDurationInSeconds?: number;
314
-
315
210
  AutoGranted?: boolean;
316
-
317
211
  AutoGrantedValue?: number;
318
212
  }
319
-
320
213
  export interface QualificationType {
321
214
  QualificationTypeId?: string;
322
-
323
215
  CreationTime?: Date;
324
-
325
216
  Name?: string;
326
-
327
217
  Description?: string;
328
-
329
218
  Keywords?: string;
330
-
331
219
  QualificationTypeStatus?: QualificationTypeStatus | string;
332
-
333
220
  Test?: string;
334
-
335
221
  TestDurationInSeconds?: number;
336
-
337
222
  AnswerKey?: string;
338
-
339
223
  RetryDelayInSeconds?: number;
340
-
341
224
  IsRequestable?: boolean;
342
-
343
225
  AutoGranted?: boolean;
344
-
345
226
  AutoGrantedValue?: number;
346
227
  }
347
228
  export interface CreateQualificationTypeResponse {
@@ -349,7 +230,6 @@ export interface CreateQualificationTypeResponse {
349
230
  }
350
231
  export interface CreateWorkerBlockRequest {
351
232
  WorkerId: string | undefined;
352
-
353
233
  Reason: string | undefined;
354
234
  }
355
235
  export interface CreateWorkerBlockResponse {}
@@ -363,15 +243,12 @@ export interface DeleteQualificationTypeRequest {
363
243
  export interface DeleteQualificationTypeResponse {}
364
244
  export interface DeleteWorkerBlockRequest {
365
245
  WorkerId: string | undefined;
366
-
367
246
  Reason?: string;
368
247
  }
369
248
  export interface DeleteWorkerBlockResponse {}
370
249
  export interface DisassociateQualificationFromWorkerRequest {
371
250
  WorkerId: string | undefined;
372
-
373
251
  QualificationTypeId: string | undefined;
374
-
375
252
  Reason?: string;
376
253
  }
377
254
  export interface DisassociateQualificationFromWorkerResponse {}
@@ -392,7 +269,6 @@ export declare enum EventType {
392
269
  export interface GetAccountBalanceRequest {}
393
270
  export interface GetAccountBalanceResponse {
394
271
  AvailableBalance?: string;
395
-
396
272
  OnHoldBalance?: string;
397
273
  }
398
274
  export interface GetAssignmentRequest {
@@ -400,12 +276,10 @@ export interface GetAssignmentRequest {
400
276
  }
401
277
  export interface GetAssignmentResponse {
402
278
  Assignment?: Assignment;
403
-
404
279
  HIT?: HIT;
405
280
  }
406
281
  export interface GetFileUploadURLRequest {
407
282
  AssignmentId: string | undefined;
408
-
409
283
  QuestionIdentifier: string | undefined;
410
284
  }
411
285
  export interface GetFileUploadURLResponse {
@@ -419,25 +293,18 @@ export interface GetHITResponse {
419
293
  }
420
294
  export interface GetQualificationScoreRequest {
421
295
  QualificationTypeId: string | undefined;
422
-
423
296
  WorkerId: string | undefined;
424
297
  }
425
298
  export declare enum QualificationStatus {
426
299
  Granted = "Granted",
427
300
  Revoked = "Revoked",
428
301
  }
429
-
430
302
  export interface Qualification {
431
303
  QualificationTypeId?: string;
432
-
433
304
  WorkerId?: string;
434
-
435
305
  GrantTime?: Date;
436
-
437
306
  IntegerValue?: number;
438
-
439
307
  LocaleValue?: Locale;
440
-
441
308
  Status?: QualificationStatus | string;
442
309
  }
443
310
  export interface GetQualificationScoreResponse {
@@ -451,32 +318,24 @@ export interface GetQualificationTypeResponse {
451
318
  }
452
319
  export interface ListAssignmentsForHITRequest {
453
320
  HITId: string | undefined;
454
-
455
321
  NextToken?: string;
456
322
  MaxResults?: number;
457
-
458
323
  AssignmentStatuses?: (AssignmentStatus | string)[];
459
324
  }
460
325
  export interface ListAssignmentsForHITResponse {
461
326
  NextToken?: string;
462
-
463
327
  NumResults?: number;
464
-
465
328
  Assignments?: Assignment[];
466
329
  }
467
330
  export interface ListBonusPaymentsRequest {
468
331
  HITId?: string;
469
-
470
332
  AssignmentId?: string;
471
-
472
333
  NextToken?: string;
473
334
  MaxResults?: number;
474
335
  }
475
336
  export interface ListBonusPaymentsResponse {
476
337
  NumResults?: number;
477
-
478
338
  NextToken?: string;
479
-
480
339
  BonusPayments?: BonusPayment[];
481
340
  }
482
341
  export interface ListHITsRequest {
@@ -485,69 +344,47 @@ export interface ListHITsRequest {
485
344
  }
486
345
  export interface ListHITsResponse {
487
346
  NextToken?: string;
488
-
489
347
  NumResults?: number;
490
-
491
348
  HITs?: HIT[];
492
349
  }
493
350
  export interface ListHITsForQualificationTypeRequest {
494
351
  QualificationTypeId: string | undefined;
495
-
496
352
  NextToken?: string;
497
-
498
353
  MaxResults?: number;
499
354
  }
500
355
  export interface ListHITsForQualificationTypeResponse {
501
356
  NextToken?: string;
502
-
503
357
  NumResults?: number;
504
-
505
358
  HITs?: HIT[];
506
359
  }
507
360
  export interface ListQualificationRequestsRequest {
508
361
  QualificationTypeId?: string;
509
-
510
362
  NextToken?: string;
511
-
512
363
  MaxResults?: number;
513
364
  }
514
-
515
365
  export interface QualificationRequest {
516
366
  QualificationRequestId?: string;
517
-
518
367
  QualificationTypeId?: string;
519
-
520
368
  WorkerId?: string;
521
-
522
369
  Test?: string;
523
-
524
370
  Answer?: string;
525
-
526
371
  SubmitTime?: Date;
527
372
  }
528
373
  export interface ListQualificationRequestsResponse {
529
374
  NumResults?: number;
530
-
531
375
  NextToken?: string;
532
-
533
376
  QualificationRequests?: QualificationRequest[];
534
377
  }
535
378
  export interface ListQualificationTypesRequest {
536
379
  Query?: string;
537
-
538
380
  MustBeRequestable: boolean | undefined;
539
-
540
381
  MustBeOwnedByCaller?: boolean;
541
-
542
382
  NextToken?: string;
543
-
544
383
  MaxResults?: number;
545
384
  }
546
385
  export interface ListQualificationTypesResponse {
547
386
  NumResults?: number;
548
-
549
387
  NextToken?: string;
550
-
551
388
  QualificationTypes?: QualificationType[];
552
389
  }
553
390
  export declare enum ReviewableHITStatus {
@@ -556,18 +393,13 @@ export declare enum ReviewableHITStatus {
556
393
  }
557
394
  export interface ListReviewableHITsRequest {
558
395
  HITTypeId?: string;
559
-
560
396
  Status?: ReviewableHITStatus | string;
561
-
562
397
  NextToken?: string;
563
-
564
398
  MaxResults?: number;
565
399
  }
566
400
  export interface ListReviewableHITsResponse {
567
401
  NextToken?: string;
568
-
569
402
  NumResults?: number;
570
-
571
403
  HITs?: HIT[];
572
404
  }
573
405
  export declare enum ReviewPolicyLevel {
@@ -576,15 +408,10 @@ export declare enum ReviewPolicyLevel {
576
408
  }
577
409
  export interface ListReviewPolicyResultsForHITRequest {
578
410
  HITId: string | undefined;
579
-
580
411
  PolicyLevels?: (ReviewPolicyLevel | string)[];
581
-
582
412
  RetrieveActions?: boolean;
583
-
584
413
  RetrieveResults?: boolean;
585
-
586
414
  NextToken?: string;
587
-
588
415
  MaxResults?: number;
589
416
  }
590
417
  export declare enum ReviewActionStatus {
@@ -593,107 +420,72 @@ export declare enum ReviewActionStatus {
593
420
  Intended = "Intended",
594
421
  Succeeded = "Succeeded",
595
422
  }
596
-
597
423
  export interface ReviewActionDetail {
598
424
  ActionId?: string;
599
-
600
425
  ActionName?: string;
601
-
602
426
  TargetId?: string;
603
-
604
427
  TargetType?: string;
605
-
606
428
  Status?: ReviewActionStatus | string;
607
-
608
429
  CompleteTime?: Date;
609
-
610
430
  Result?: string;
611
-
612
431
  ErrorCode?: string;
613
432
  }
614
-
615
433
  export interface ReviewResultDetail {
616
434
  ActionId?: string;
617
-
618
435
  SubjectId?: string;
619
-
620
436
  SubjectType?: string;
621
-
622
437
  QuestionId?: string;
623
-
624
438
  Key?: string;
625
-
626
439
  Value?: string;
627
440
  }
628
-
629
441
  export interface ReviewReport {
630
442
  ReviewResults?: ReviewResultDetail[];
631
-
632
443
  ReviewActions?: ReviewActionDetail[];
633
444
  }
634
445
  export interface ListReviewPolicyResultsForHITResponse {
635
446
  HITId?: string;
636
-
637
447
  AssignmentReviewPolicy?: ReviewPolicy;
638
-
639
448
  HITReviewPolicy?: ReviewPolicy;
640
-
641
449
  AssignmentReviewReport?: ReviewReport;
642
-
643
450
  HITReviewReport?: ReviewReport;
644
-
645
451
  NextToken?: string;
646
452
  }
647
453
  export interface ListWorkerBlocksRequest {
648
454
  NextToken?: string;
649
455
  MaxResults?: number;
650
456
  }
651
-
652
457
  export interface WorkerBlock {
653
458
  WorkerId?: string;
654
-
655
459
  Reason?: string;
656
460
  }
657
461
  export interface ListWorkerBlocksResponse {
658
462
  NextToken?: string;
659
-
660
463
  NumResults?: number;
661
-
662
464
  WorkerBlocks?: WorkerBlock[];
663
465
  }
664
466
  export interface ListWorkersWithQualificationTypeRequest {
665
467
  QualificationTypeId: string | undefined;
666
-
667
468
  Status?: QualificationStatus | string;
668
-
669
469
  NextToken?: string;
670
-
671
470
  MaxResults?: number;
672
471
  }
673
472
  export interface ListWorkersWithQualificationTypeResponse {
674
473
  NextToken?: string;
675
-
676
474
  NumResults?: number;
677
-
678
475
  Qualifications?: Qualification[];
679
476
  }
680
477
  export interface NotifyWorkersRequest {
681
478
  Subject: string | undefined;
682
-
683
479
  MessageText: string | undefined;
684
-
685
480
  WorkerIds: string[] | undefined;
686
481
  }
687
482
  export declare enum NotifyWorkersFailureCode {
688
483
  HardFailure = "HardFailure",
689
484
  SoftFailure = "SoftFailure",
690
485
  }
691
-
692
486
  export interface NotifyWorkersFailureStatus {
693
487
  NotifyWorkersFailureCode?: NotifyWorkersFailureCode | string;
694
-
695
488
  NotifyWorkersFailureMessage?: string;
696
-
697
489
  WorkerId?: string;
698
490
  }
699
491
  export interface NotifyWorkersResponse {
@@ -701,25 +493,19 @@ export interface NotifyWorkersResponse {
701
493
  }
702
494
  export interface RejectAssignmentRequest {
703
495
  AssignmentId: string | undefined;
704
-
705
496
  RequesterFeedback: string | undefined;
706
497
  }
707
498
  export interface RejectAssignmentResponse {}
708
499
  export interface RejectQualificationRequestRequest {
709
500
  QualificationRequestId: string | undefined;
710
-
711
501
  Reason?: string;
712
502
  }
713
503
  export interface RejectQualificationRequestResponse {}
714
504
  export interface SendBonusRequest {
715
505
  WorkerId: string | undefined;
716
-
717
506
  BonusAmount: string | undefined;
718
-
719
507
  AssignmentId: string | undefined;
720
-
721
508
  Reason: string | undefined;
722
-
723
509
  UniqueRequestToken?: string;
724
510
  }
725
511
  export interface SendBonusResponse {}
@@ -728,437 +514,323 @@ export declare enum NotificationTransport {
728
514
  SNS = "SNS",
729
515
  SQS = "SQS",
730
516
  }
731
-
732
517
  export interface NotificationSpecification {
733
518
  Destination: string | undefined;
734
-
735
519
  Transport: NotificationTransport | string | undefined;
736
-
737
520
  Version: string | undefined;
738
-
739
521
  EventTypes: (EventType | string)[] | undefined;
740
522
  }
741
523
  export interface SendTestEventNotificationRequest {
742
524
  Notification: NotificationSpecification | undefined;
743
-
744
525
  TestEventType: EventType | string | undefined;
745
526
  }
746
527
  export interface SendTestEventNotificationResponse {}
747
528
  export interface UpdateExpirationForHITRequest {
748
529
  HITId: string | undefined;
749
-
750
530
  ExpireAt: Date | undefined;
751
531
  }
752
532
  export interface UpdateExpirationForHITResponse {}
753
533
  export interface UpdateHITReviewStatusRequest {
754
534
  HITId: string | undefined;
755
-
756
535
  Revert?: boolean;
757
536
  }
758
537
  export interface UpdateHITReviewStatusResponse {}
759
538
  export interface UpdateHITTypeOfHITRequest {
760
539
  HITId: string | undefined;
761
-
762
540
  HITTypeId: string | undefined;
763
541
  }
764
542
  export interface UpdateHITTypeOfHITResponse {}
765
543
  export interface UpdateNotificationSettingsRequest {
766
544
  HITTypeId: string | undefined;
767
-
768
545
  Notification?: NotificationSpecification;
769
-
770
546
  Active?: boolean;
771
547
  }
772
548
  export interface UpdateNotificationSettingsResponse {}
773
549
  export interface UpdateQualificationTypeRequest {
774
550
  QualificationTypeId: string | undefined;
775
-
776
551
  Description?: string;
777
-
778
552
  QualificationTypeStatus?: QualificationTypeStatus | string;
779
-
780
553
  Test?: string;
781
-
782
554
  AnswerKey?: string;
783
-
784
555
  TestDurationInSeconds?: number;
785
-
786
556
  RetryDelayInSeconds?: number;
787
-
788
557
  AutoGranted?: boolean;
789
-
790
558
  AutoGrantedValue?: number;
791
559
  }
792
560
  export interface UpdateQualificationTypeResponse {
793
561
  QualificationType?: QualificationType;
794
562
  }
795
-
796
563
  export declare const AcceptQualificationRequestRequestFilterSensitiveLog: (
797
564
  obj: AcceptQualificationRequestRequest
798
565
  ) => any;
799
-
800
566
  export declare const AcceptQualificationRequestResponseFilterSensitiveLog: (
801
567
  obj: AcceptQualificationRequestResponse
802
568
  ) => any;
803
-
804
569
  export declare const ApproveAssignmentRequestFilterSensitiveLog: (
805
570
  obj: ApproveAssignmentRequest
806
571
  ) => any;
807
-
808
572
  export declare const ApproveAssignmentResponseFilterSensitiveLog: (
809
573
  obj: ApproveAssignmentResponse
810
574
  ) => any;
811
-
812
575
  export declare const AssignmentFilterSensitiveLog: (obj: Assignment) => any;
813
-
814
576
  export declare const AssociateQualificationWithWorkerRequestFilterSensitiveLog: (
815
577
  obj: AssociateQualificationWithWorkerRequest
816
578
  ) => any;
817
-
818
579
  export declare const AssociateQualificationWithWorkerResponseFilterSensitiveLog: (
819
580
  obj: AssociateQualificationWithWorkerResponse
820
581
  ) => any;
821
-
822
582
  export declare const BonusPaymentFilterSensitiveLog: (obj: BonusPayment) => any;
823
-
824
583
  export declare const CreateAdditionalAssignmentsForHITRequestFilterSensitiveLog: (
825
584
  obj: CreateAdditionalAssignmentsForHITRequest
826
585
  ) => any;
827
-
828
586
  export declare const CreateAdditionalAssignmentsForHITResponseFilterSensitiveLog: (
829
587
  obj: CreateAdditionalAssignmentsForHITResponse
830
588
  ) => any;
831
-
832
589
  export declare const ParameterMapEntryFilterSensitiveLog: (
833
590
  obj: ParameterMapEntry
834
591
  ) => any;
835
-
836
592
  export declare const PolicyParameterFilterSensitiveLog: (
837
593
  obj: PolicyParameter
838
594
  ) => any;
839
-
840
595
  export declare const ReviewPolicyFilterSensitiveLog: (obj: ReviewPolicy) => any;
841
-
842
596
  export declare const HITLayoutParameterFilterSensitiveLog: (
843
597
  obj: HITLayoutParameter
844
598
  ) => any;
845
-
846
599
  export declare const LocaleFilterSensitiveLog: (obj: Locale) => any;
847
-
848
600
  export declare const QualificationRequirementFilterSensitiveLog: (
849
601
  obj: QualificationRequirement
850
602
  ) => any;
851
-
852
603
  export declare const CreateHITRequestFilterSensitiveLog: (
853
604
  obj: CreateHITRequest
854
605
  ) => any;
855
-
856
606
  export declare const HITFilterSensitiveLog: (obj: HIT) => any;
857
-
858
607
  export declare const CreateHITResponseFilterSensitiveLog: (
859
608
  obj: CreateHITResponse
860
609
  ) => any;
861
-
862
610
  export declare const CreateHITTypeRequestFilterSensitiveLog: (
863
611
  obj: CreateHITTypeRequest
864
612
  ) => any;
865
-
866
613
  export declare const CreateHITTypeResponseFilterSensitiveLog: (
867
614
  obj: CreateHITTypeResponse
868
615
  ) => any;
869
-
870
616
  export declare const CreateHITWithHITTypeRequestFilterSensitiveLog: (
871
617
  obj: CreateHITWithHITTypeRequest
872
618
  ) => any;
873
-
874
619
  export declare const CreateHITWithHITTypeResponseFilterSensitiveLog: (
875
620
  obj: CreateHITWithHITTypeResponse
876
621
  ) => any;
877
-
878
622
  export declare const CreateQualificationTypeRequestFilterSensitiveLog: (
879
623
  obj: CreateQualificationTypeRequest
880
624
  ) => any;
881
-
882
625
  export declare const QualificationTypeFilterSensitiveLog: (
883
626
  obj: QualificationType
884
627
  ) => any;
885
-
886
628
  export declare const CreateQualificationTypeResponseFilterSensitiveLog: (
887
629
  obj: CreateQualificationTypeResponse
888
630
  ) => any;
889
-
890
631
  export declare const CreateWorkerBlockRequestFilterSensitiveLog: (
891
632
  obj: CreateWorkerBlockRequest
892
633
  ) => any;
893
-
894
634
  export declare const CreateWorkerBlockResponseFilterSensitiveLog: (
895
635
  obj: CreateWorkerBlockResponse
896
636
  ) => any;
897
-
898
637
  export declare const DeleteHITRequestFilterSensitiveLog: (
899
638
  obj: DeleteHITRequest
900
639
  ) => any;
901
-
902
640
  export declare const DeleteHITResponseFilterSensitiveLog: (
903
641
  obj: DeleteHITResponse
904
642
  ) => any;
905
-
906
643
  export declare const DeleteQualificationTypeRequestFilterSensitiveLog: (
907
644
  obj: DeleteQualificationTypeRequest
908
645
  ) => any;
909
-
910
646
  export declare const DeleteQualificationTypeResponseFilterSensitiveLog: (
911
647
  obj: DeleteQualificationTypeResponse
912
648
  ) => any;
913
-
914
649
  export declare const DeleteWorkerBlockRequestFilterSensitiveLog: (
915
650
  obj: DeleteWorkerBlockRequest
916
651
  ) => any;
917
-
918
652
  export declare const DeleteWorkerBlockResponseFilterSensitiveLog: (
919
653
  obj: DeleteWorkerBlockResponse
920
654
  ) => any;
921
-
922
655
  export declare const DisassociateQualificationFromWorkerRequestFilterSensitiveLog: (
923
656
  obj: DisassociateQualificationFromWorkerRequest
924
657
  ) => any;
925
-
926
658
  export declare const DisassociateQualificationFromWorkerResponseFilterSensitiveLog: (
927
659
  obj: DisassociateQualificationFromWorkerResponse
928
660
  ) => any;
929
-
930
661
  export declare const GetAccountBalanceRequestFilterSensitiveLog: (
931
662
  obj: GetAccountBalanceRequest
932
663
  ) => any;
933
-
934
664
  export declare const GetAccountBalanceResponseFilterSensitiveLog: (
935
665
  obj: GetAccountBalanceResponse
936
666
  ) => any;
937
-
938
667
  export declare const GetAssignmentRequestFilterSensitiveLog: (
939
668
  obj: GetAssignmentRequest
940
669
  ) => any;
941
-
942
670
  export declare const GetAssignmentResponseFilterSensitiveLog: (
943
671
  obj: GetAssignmentResponse
944
672
  ) => any;
945
-
946
673
  export declare const GetFileUploadURLRequestFilterSensitiveLog: (
947
674
  obj: GetFileUploadURLRequest
948
675
  ) => any;
949
-
950
676
  export declare const GetFileUploadURLResponseFilterSensitiveLog: (
951
677
  obj: GetFileUploadURLResponse
952
678
  ) => any;
953
-
954
679
  export declare const GetHITRequestFilterSensitiveLog: (
955
680
  obj: GetHITRequest
956
681
  ) => any;
957
-
958
682
  export declare const GetHITResponseFilterSensitiveLog: (
959
683
  obj: GetHITResponse
960
684
  ) => any;
961
-
962
685
  export declare const GetQualificationScoreRequestFilterSensitiveLog: (
963
686
  obj: GetQualificationScoreRequest
964
687
  ) => any;
965
-
966
688
  export declare const QualificationFilterSensitiveLog: (
967
689
  obj: Qualification
968
690
  ) => any;
969
-
970
691
  export declare const GetQualificationScoreResponseFilterSensitiveLog: (
971
692
  obj: GetQualificationScoreResponse
972
693
  ) => any;
973
-
974
694
  export declare const GetQualificationTypeRequestFilterSensitiveLog: (
975
695
  obj: GetQualificationTypeRequest
976
696
  ) => any;
977
-
978
697
  export declare const GetQualificationTypeResponseFilterSensitiveLog: (
979
698
  obj: GetQualificationTypeResponse
980
699
  ) => any;
981
-
982
700
  export declare const ListAssignmentsForHITRequestFilterSensitiveLog: (
983
701
  obj: ListAssignmentsForHITRequest
984
702
  ) => any;
985
-
986
703
  export declare const ListAssignmentsForHITResponseFilterSensitiveLog: (
987
704
  obj: ListAssignmentsForHITResponse
988
705
  ) => any;
989
-
990
706
  export declare const ListBonusPaymentsRequestFilterSensitiveLog: (
991
707
  obj: ListBonusPaymentsRequest
992
708
  ) => any;
993
-
994
709
  export declare const ListBonusPaymentsResponseFilterSensitiveLog: (
995
710
  obj: ListBonusPaymentsResponse
996
711
  ) => any;
997
-
998
712
  export declare const ListHITsRequestFilterSensitiveLog: (
999
713
  obj: ListHITsRequest
1000
714
  ) => any;
1001
-
1002
715
  export declare const ListHITsResponseFilterSensitiveLog: (
1003
716
  obj: ListHITsResponse
1004
717
  ) => any;
1005
-
1006
718
  export declare const ListHITsForQualificationTypeRequestFilterSensitiveLog: (
1007
719
  obj: ListHITsForQualificationTypeRequest
1008
720
  ) => any;
1009
-
1010
721
  export declare const ListHITsForQualificationTypeResponseFilterSensitiveLog: (
1011
722
  obj: ListHITsForQualificationTypeResponse
1012
723
  ) => any;
1013
-
1014
724
  export declare const ListQualificationRequestsRequestFilterSensitiveLog: (
1015
725
  obj: ListQualificationRequestsRequest
1016
726
  ) => any;
1017
-
1018
727
  export declare const QualificationRequestFilterSensitiveLog: (
1019
728
  obj: QualificationRequest
1020
729
  ) => any;
1021
-
1022
730
  export declare const ListQualificationRequestsResponseFilterSensitiveLog: (
1023
731
  obj: ListQualificationRequestsResponse
1024
732
  ) => any;
1025
-
1026
733
  export declare const ListQualificationTypesRequestFilterSensitiveLog: (
1027
734
  obj: ListQualificationTypesRequest
1028
735
  ) => any;
1029
-
1030
736
  export declare const ListQualificationTypesResponseFilterSensitiveLog: (
1031
737
  obj: ListQualificationTypesResponse
1032
738
  ) => any;
1033
-
1034
739
  export declare const ListReviewableHITsRequestFilterSensitiveLog: (
1035
740
  obj: ListReviewableHITsRequest
1036
741
  ) => any;
1037
-
1038
742
  export declare const ListReviewableHITsResponseFilterSensitiveLog: (
1039
743
  obj: ListReviewableHITsResponse
1040
744
  ) => any;
1041
-
1042
745
  export declare const ListReviewPolicyResultsForHITRequestFilterSensitiveLog: (
1043
746
  obj: ListReviewPolicyResultsForHITRequest
1044
747
  ) => any;
1045
-
1046
748
  export declare const ReviewActionDetailFilterSensitiveLog: (
1047
749
  obj: ReviewActionDetail
1048
750
  ) => any;
1049
-
1050
751
  export declare const ReviewResultDetailFilterSensitiveLog: (
1051
752
  obj: ReviewResultDetail
1052
753
  ) => any;
1053
-
1054
754
  export declare const ReviewReportFilterSensitiveLog: (obj: ReviewReport) => any;
1055
-
1056
755
  export declare const ListReviewPolicyResultsForHITResponseFilterSensitiveLog: (
1057
756
  obj: ListReviewPolicyResultsForHITResponse
1058
757
  ) => any;
1059
-
1060
758
  export declare const ListWorkerBlocksRequestFilterSensitiveLog: (
1061
759
  obj: ListWorkerBlocksRequest
1062
760
  ) => any;
1063
-
1064
761
  export declare const WorkerBlockFilterSensitiveLog: (obj: WorkerBlock) => any;
1065
-
1066
762
  export declare const ListWorkerBlocksResponseFilterSensitiveLog: (
1067
763
  obj: ListWorkerBlocksResponse
1068
764
  ) => any;
1069
-
1070
765
  export declare const ListWorkersWithQualificationTypeRequestFilterSensitiveLog: (
1071
766
  obj: ListWorkersWithQualificationTypeRequest
1072
767
  ) => any;
1073
-
1074
768
  export declare const ListWorkersWithQualificationTypeResponseFilterSensitiveLog: (
1075
769
  obj: ListWorkersWithQualificationTypeResponse
1076
770
  ) => any;
1077
-
1078
771
  export declare const NotifyWorkersRequestFilterSensitiveLog: (
1079
772
  obj: NotifyWorkersRequest
1080
773
  ) => any;
1081
-
1082
774
  export declare const NotifyWorkersFailureStatusFilterSensitiveLog: (
1083
775
  obj: NotifyWorkersFailureStatus
1084
776
  ) => any;
1085
-
1086
777
  export declare const NotifyWorkersResponseFilterSensitiveLog: (
1087
778
  obj: NotifyWorkersResponse
1088
779
  ) => any;
1089
-
1090
780
  export declare const RejectAssignmentRequestFilterSensitiveLog: (
1091
781
  obj: RejectAssignmentRequest
1092
782
  ) => any;
1093
-
1094
783
  export declare const RejectAssignmentResponseFilterSensitiveLog: (
1095
784
  obj: RejectAssignmentResponse
1096
785
  ) => any;
1097
-
1098
786
  export declare const RejectQualificationRequestRequestFilterSensitiveLog: (
1099
787
  obj: RejectQualificationRequestRequest
1100
788
  ) => any;
1101
-
1102
789
  export declare const RejectQualificationRequestResponseFilterSensitiveLog: (
1103
790
  obj: RejectQualificationRequestResponse
1104
791
  ) => any;
1105
-
1106
792
  export declare const SendBonusRequestFilterSensitiveLog: (
1107
793
  obj: SendBonusRequest
1108
794
  ) => any;
1109
-
1110
795
  export declare const SendBonusResponseFilterSensitiveLog: (
1111
796
  obj: SendBonusResponse
1112
797
  ) => any;
1113
-
1114
798
  export declare const NotificationSpecificationFilterSensitiveLog: (
1115
799
  obj: NotificationSpecification
1116
800
  ) => any;
1117
-
1118
801
  export declare const SendTestEventNotificationRequestFilterSensitiveLog: (
1119
802
  obj: SendTestEventNotificationRequest
1120
803
  ) => any;
1121
-
1122
804
  export declare const SendTestEventNotificationResponseFilterSensitiveLog: (
1123
805
  obj: SendTestEventNotificationResponse
1124
806
  ) => any;
1125
-
1126
807
  export declare const UpdateExpirationForHITRequestFilterSensitiveLog: (
1127
808
  obj: UpdateExpirationForHITRequest
1128
809
  ) => any;
1129
-
1130
810
  export declare const UpdateExpirationForHITResponseFilterSensitiveLog: (
1131
811
  obj: UpdateExpirationForHITResponse
1132
812
  ) => any;
1133
-
1134
813
  export declare const UpdateHITReviewStatusRequestFilterSensitiveLog: (
1135
814
  obj: UpdateHITReviewStatusRequest
1136
815
  ) => any;
1137
-
1138
816
  export declare const UpdateHITReviewStatusResponseFilterSensitiveLog: (
1139
817
  obj: UpdateHITReviewStatusResponse
1140
818
  ) => any;
1141
-
1142
819
  export declare const UpdateHITTypeOfHITRequestFilterSensitiveLog: (
1143
820
  obj: UpdateHITTypeOfHITRequest
1144
821
  ) => any;
1145
-
1146
822
  export declare const UpdateHITTypeOfHITResponseFilterSensitiveLog: (
1147
823
  obj: UpdateHITTypeOfHITResponse
1148
824
  ) => any;
1149
-
1150
825
  export declare const UpdateNotificationSettingsRequestFilterSensitiveLog: (
1151
826
  obj: UpdateNotificationSettingsRequest
1152
827
  ) => any;
1153
-
1154
828
  export declare const UpdateNotificationSettingsResponseFilterSensitiveLog: (
1155
829
  obj: UpdateNotificationSettingsResponse
1156
830
  ) => any;
1157
-
1158
831
  export declare const UpdateQualificationTypeRequestFilterSensitiveLog: (
1159
832
  obj: UpdateQualificationTypeRequest
1160
833
  ) => any;
1161
-
1162
834
  export declare const UpdateQualificationTypeResponseFilterSensitiveLog: (
1163
835
  obj: UpdateQualificationTypeResponse
1164
836
  ) => any;