aws-sdk-mturk 1.51.0 → 1.52.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.
data/sig/types.rbs ADDED
@@ -0,0 +1,681 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::MTurk
9
+ module Types
10
+
11
+ class AcceptQualificationRequestRequest
12
+ attr_accessor qualification_request_id: ::String
13
+ attr_accessor integer_value: ::Integer
14
+ SENSITIVE: []
15
+ end
16
+
17
+ class AcceptQualificationRequestResponse < Aws::EmptyStructure
18
+ end
19
+
20
+ class ApproveAssignmentRequest
21
+ attr_accessor assignment_id: ::String
22
+ attr_accessor requester_feedback: ::String
23
+ attr_accessor override_rejection: bool
24
+ SENSITIVE: []
25
+ end
26
+
27
+ class ApproveAssignmentResponse < Aws::EmptyStructure
28
+ end
29
+
30
+ class Assignment
31
+ attr_accessor assignment_id: ::String
32
+ attr_accessor worker_id: ::String
33
+ attr_accessor hit_id: ::String
34
+ attr_accessor assignment_status: ("Submitted" | "Approved" | "Rejected")
35
+ attr_accessor auto_approval_time: ::Time
36
+ attr_accessor accept_time: ::Time
37
+ attr_accessor submit_time: ::Time
38
+ attr_accessor approval_time: ::Time
39
+ attr_accessor rejection_time: ::Time
40
+ attr_accessor deadline: ::Time
41
+ attr_accessor answer: ::String
42
+ attr_accessor requester_feedback: ::String
43
+ SENSITIVE: []
44
+ end
45
+
46
+ class AssociateQualificationWithWorkerRequest
47
+ attr_accessor qualification_type_id: ::String
48
+ attr_accessor worker_id: ::String
49
+ attr_accessor integer_value: ::Integer
50
+ attr_accessor send_notification: bool
51
+ SENSITIVE: []
52
+ end
53
+
54
+ class AssociateQualificationWithWorkerResponse < Aws::EmptyStructure
55
+ end
56
+
57
+ class BonusPayment
58
+ attr_accessor worker_id: ::String
59
+ attr_accessor bonus_amount: ::String
60
+ attr_accessor assignment_id: ::String
61
+ attr_accessor reason: ::String
62
+ attr_accessor grant_time: ::Time
63
+ SENSITIVE: []
64
+ end
65
+
66
+ class CreateAdditionalAssignmentsForHITRequest
67
+ attr_accessor hit_id: ::String
68
+ attr_accessor number_of_additional_assignments: ::Integer
69
+ attr_accessor unique_request_token: ::String
70
+ SENSITIVE: []
71
+ end
72
+
73
+ class CreateAdditionalAssignmentsForHITResponse < Aws::EmptyStructure
74
+ end
75
+
76
+ class CreateHITRequest
77
+ attr_accessor max_assignments: ::Integer
78
+ attr_accessor auto_approval_delay_in_seconds: ::Integer
79
+ attr_accessor lifetime_in_seconds: ::Integer
80
+ attr_accessor assignment_duration_in_seconds: ::Integer
81
+ attr_accessor reward: ::String
82
+ attr_accessor title: ::String
83
+ attr_accessor keywords: ::String
84
+ attr_accessor description: ::String
85
+ attr_accessor question: ::String
86
+ attr_accessor requester_annotation: ::String
87
+ attr_accessor qualification_requirements: ::Array[Types::QualificationRequirement]
88
+ attr_accessor unique_request_token: ::String
89
+ attr_accessor assignment_review_policy: Types::ReviewPolicy
90
+ attr_accessor hit_review_policy: Types::ReviewPolicy
91
+ attr_accessor hit_layout_id: ::String
92
+ attr_accessor hit_layout_parameters: ::Array[Types::HITLayoutParameter]
93
+ SENSITIVE: []
94
+ end
95
+
96
+ class CreateHITResponse
97
+ attr_accessor hit: Types::HIT
98
+ SENSITIVE: []
99
+ end
100
+
101
+ class CreateHITTypeRequest
102
+ attr_accessor auto_approval_delay_in_seconds: ::Integer
103
+ attr_accessor assignment_duration_in_seconds: ::Integer
104
+ attr_accessor reward: ::String
105
+ attr_accessor title: ::String
106
+ attr_accessor keywords: ::String
107
+ attr_accessor description: ::String
108
+ attr_accessor qualification_requirements: ::Array[Types::QualificationRequirement]
109
+ SENSITIVE: []
110
+ end
111
+
112
+ class CreateHITTypeResponse
113
+ attr_accessor hit_type_id: ::String
114
+ SENSITIVE: []
115
+ end
116
+
117
+ class CreateHITWithHITTypeRequest
118
+ attr_accessor hit_type_id: ::String
119
+ attr_accessor max_assignments: ::Integer
120
+ attr_accessor lifetime_in_seconds: ::Integer
121
+ attr_accessor question: ::String
122
+ attr_accessor requester_annotation: ::String
123
+ attr_accessor unique_request_token: ::String
124
+ attr_accessor assignment_review_policy: Types::ReviewPolicy
125
+ attr_accessor hit_review_policy: Types::ReviewPolicy
126
+ attr_accessor hit_layout_id: ::String
127
+ attr_accessor hit_layout_parameters: ::Array[Types::HITLayoutParameter]
128
+ SENSITIVE: []
129
+ end
130
+
131
+ class CreateHITWithHITTypeResponse
132
+ attr_accessor hit: Types::HIT
133
+ SENSITIVE: []
134
+ end
135
+
136
+ class CreateQualificationTypeRequest
137
+ attr_accessor name: ::String
138
+ attr_accessor keywords: ::String
139
+ attr_accessor description: ::String
140
+ attr_accessor qualification_type_status: ("Active" | "Inactive")
141
+ attr_accessor retry_delay_in_seconds: ::Integer
142
+ attr_accessor test: ::String
143
+ attr_accessor answer_key: ::String
144
+ attr_accessor test_duration_in_seconds: ::Integer
145
+ attr_accessor auto_granted: bool
146
+ attr_accessor auto_granted_value: ::Integer
147
+ SENSITIVE: []
148
+ end
149
+
150
+ class CreateQualificationTypeResponse
151
+ attr_accessor qualification_type: Types::QualificationType
152
+ SENSITIVE: []
153
+ end
154
+
155
+ class CreateWorkerBlockRequest
156
+ attr_accessor worker_id: ::String
157
+ attr_accessor reason: ::String
158
+ SENSITIVE: []
159
+ end
160
+
161
+ class CreateWorkerBlockResponse < Aws::EmptyStructure
162
+ end
163
+
164
+ class DeleteHITRequest
165
+ attr_accessor hit_id: ::String
166
+ SENSITIVE: []
167
+ end
168
+
169
+ class DeleteHITResponse < Aws::EmptyStructure
170
+ end
171
+
172
+ class DeleteQualificationTypeRequest
173
+ attr_accessor qualification_type_id: ::String
174
+ SENSITIVE: []
175
+ end
176
+
177
+ class DeleteQualificationTypeResponse < Aws::EmptyStructure
178
+ end
179
+
180
+ class DeleteWorkerBlockRequest
181
+ attr_accessor worker_id: ::String
182
+ attr_accessor reason: ::String
183
+ SENSITIVE: []
184
+ end
185
+
186
+ class DeleteWorkerBlockResponse < Aws::EmptyStructure
187
+ end
188
+
189
+ class DisassociateQualificationFromWorkerRequest
190
+ attr_accessor worker_id: ::String
191
+ attr_accessor qualification_type_id: ::String
192
+ attr_accessor reason: ::String
193
+ SENSITIVE: []
194
+ end
195
+
196
+ class DisassociateQualificationFromWorkerResponse < Aws::EmptyStructure
197
+ end
198
+
199
+ class GetAccountBalanceRequest < Aws::EmptyStructure
200
+ end
201
+
202
+ class GetAccountBalanceResponse
203
+ attr_accessor available_balance: ::String
204
+ attr_accessor on_hold_balance: ::String
205
+ SENSITIVE: []
206
+ end
207
+
208
+ class GetAssignmentRequest
209
+ attr_accessor assignment_id: ::String
210
+ SENSITIVE: []
211
+ end
212
+
213
+ class GetAssignmentResponse
214
+ attr_accessor assignment: Types::Assignment
215
+ attr_accessor hit: Types::HIT
216
+ SENSITIVE: []
217
+ end
218
+
219
+ class GetFileUploadURLRequest
220
+ attr_accessor assignment_id: ::String
221
+ attr_accessor question_identifier: ::String
222
+ SENSITIVE: []
223
+ end
224
+
225
+ class GetFileUploadURLResponse
226
+ attr_accessor file_upload_url: ::String
227
+ SENSITIVE: []
228
+ end
229
+
230
+ class GetHITRequest
231
+ attr_accessor hit_id: ::String
232
+ SENSITIVE: []
233
+ end
234
+
235
+ class GetHITResponse
236
+ attr_accessor hit: Types::HIT
237
+ SENSITIVE: []
238
+ end
239
+
240
+ class GetQualificationScoreRequest
241
+ attr_accessor qualification_type_id: ::String
242
+ attr_accessor worker_id: ::String
243
+ SENSITIVE: []
244
+ end
245
+
246
+ class GetQualificationScoreResponse
247
+ attr_accessor qualification: Types::Qualification
248
+ SENSITIVE: []
249
+ end
250
+
251
+ class GetQualificationTypeRequest
252
+ attr_accessor qualification_type_id: ::String
253
+ SENSITIVE: []
254
+ end
255
+
256
+ class GetQualificationTypeResponse
257
+ attr_accessor qualification_type: Types::QualificationType
258
+ SENSITIVE: []
259
+ end
260
+
261
+ class HIT
262
+ attr_accessor hit_id: ::String
263
+ attr_accessor hit_type_id: ::String
264
+ attr_accessor hit_group_id: ::String
265
+ attr_accessor hit_layout_id: ::String
266
+ attr_accessor creation_time: ::Time
267
+ attr_accessor title: ::String
268
+ attr_accessor description: ::String
269
+ attr_accessor question: ::String
270
+ attr_accessor keywords: ::String
271
+ attr_accessor hit_status: ("Assignable" | "Unassignable" | "Reviewable" | "Reviewing" | "Disposed")
272
+ attr_accessor max_assignments: ::Integer
273
+ attr_accessor reward: ::String
274
+ attr_accessor auto_approval_delay_in_seconds: ::Integer
275
+ attr_accessor expiration: ::Time
276
+ attr_accessor assignment_duration_in_seconds: ::Integer
277
+ attr_accessor requester_annotation: ::String
278
+ attr_accessor qualification_requirements: ::Array[Types::QualificationRequirement]
279
+ attr_accessor hit_review_status: ("NotReviewed" | "MarkedForReview" | "ReviewedAppropriate" | "ReviewedInappropriate")
280
+ attr_accessor number_of_assignments_pending: ::Integer
281
+ attr_accessor number_of_assignments_available: ::Integer
282
+ attr_accessor number_of_assignments_completed: ::Integer
283
+ SENSITIVE: []
284
+ end
285
+
286
+ class HITLayoutParameter
287
+ attr_accessor name: ::String
288
+ attr_accessor value: ::String
289
+ SENSITIVE: []
290
+ end
291
+
292
+ class ListAssignmentsForHITRequest
293
+ attr_accessor hit_id: ::String
294
+ attr_accessor next_token: ::String
295
+ attr_accessor max_results: ::Integer
296
+ attr_accessor assignment_statuses: ::Array[("Submitted" | "Approved" | "Rejected")]
297
+ SENSITIVE: []
298
+ end
299
+
300
+ class ListAssignmentsForHITResponse
301
+ attr_accessor next_token: ::String
302
+ attr_accessor num_results: ::Integer
303
+ attr_accessor assignments: ::Array[Types::Assignment]
304
+ SENSITIVE: []
305
+ end
306
+
307
+ class ListBonusPaymentsRequest
308
+ attr_accessor hit_id: ::String
309
+ attr_accessor assignment_id: ::String
310
+ attr_accessor next_token: ::String
311
+ attr_accessor max_results: ::Integer
312
+ SENSITIVE: []
313
+ end
314
+
315
+ class ListBonusPaymentsResponse
316
+ attr_accessor num_results: ::Integer
317
+ attr_accessor next_token: ::String
318
+ attr_accessor bonus_payments: ::Array[Types::BonusPayment]
319
+ SENSITIVE: []
320
+ end
321
+
322
+ class ListHITsForQualificationTypeRequest
323
+ attr_accessor qualification_type_id: ::String
324
+ attr_accessor next_token: ::String
325
+ attr_accessor max_results: ::Integer
326
+ SENSITIVE: []
327
+ end
328
+
329
+ class ListHITsForQualificationTypeResponse
330
+ attr_accessor next_token: ::String
331
+ attr_accessor num_results: ::Integer
332
+ attr_accessor hits: ::Array[Types::HIT]
333
+ SENSITIVE: []
334
+ end
335
+
336
+ class ListHITsRequest
337
+ attr_accessor next_token: ::String
338
+ attr_accessor max_results: ::Integer
339
+ SENSITIVE: []
340
+ end
341
+
342
+ class ListHITsResponse
343
+ attr_accessor next_token: ::String
344
+ attr_accessor num_results: ::Integer
345
+ attr_accessor hits: ::Array[Types::HIT]
346
+ SENSITIVE: []
347
+ end
348
+
349
+ class ListQualificationRequestsRequest
350
+ attr_accessor qualification_type_id: ::String
351
+ attr_accessor next_token: ::String
352
+ attr_accessor max_results: ::Integer
353
+ SENSITIVE: []
354
+ end
355
+
356
+ class ListQualificationRequestsResponse
357
+ attr_accessor num_results: ::Integer
358
+ attr_accessor next_token: ::String
359
+ attr_accessor qualification_requests: ::Array[Types::QualificationRequest]
360
+ SENSITIVE: []
361
+ end
362
+
363
+ class ListQualificationTypesRequest
364
+ attr_accessor query: ::String
365
+ attr_accessor must_be_requestable: bool
366
+ attr_accessor must_be_owned_by_caller: bool
367
+ attr_accessor next_token: ::String
368
+ attr_accessor max_results: ::Integer
369
+ SENSITIVE: []
370
+ end
371
+
372
+ class ListQualificationTypesResponse
373
+ attr_accessor num_results: ::Integer
374
+ attr_accessor next_token: ::String
375
+ attr_accessor qualification_types: ::Array[Types::QualificationType]
376
+ SENSITIVE: []
377
+ end
378
+
379
+ class ListReviewPolicyResultsForHITRequest
380
+ attr_accessor hit_id: ::String
381
+ attr_accessor policy_levels: ::Array[("Assignment" | "HIT")]
382
+ attr_accessor retrieve_actions: bool
383
+ attr_accessor retrieve_results: bool
384
+ attr_accessor next_token: ::String
385
+ attr_accessor max_results: ::Integer
386
+ SENSITIVE: []
387
+ end
388
+
389
+ class ListReviewPolicyResultsForHITResponse
390
+ attr_accessor hit_id: ::String
391
+ attr_accessor assignment_review_policy: Types::ReviewPolicy
392
+ attr_accessor hit_review_policy: Types::ReviewPolicy
393
+ attr_accessor assignment_review_report: Types::ReviewReport
394
+ attr_accessor hit_review_report: Types::ReviewReport
395
+ attr_accessor next_token: ::String
396
+ SENSITIVE: []
397
+ end
398
+
399
+ class ListReviewableHITsRequest
400
+ attr_accessor hit_type_id: ::String
401
+ attr_accessor status: ("Reviewable" | "Reviewing")
402
+ attr_accessor next_token: ::String
403
+ attr_accessor max_results: ::Integer
404
+ SENSITIVE: []
405
+ end
406
+
407
+ class ListReviewableHITsResponse
408
+ attr_accessor next_token: ::String
409
+ attr_accessor num_results: ::Integer
410
+ attr_accessor hits: ::Array[Types::HIT]
411
+ SENSITIVE: []
412
+ end
413
+
414
+ class ListWorkerBlocksRequest
415
+ attr_accessor next_token: ::String
416
+ attr_accessor max_results: ::Integer
417
+ SENSITIVE: []
418
+ end
419
+
420
+ class ListWorkerBlocksResponse
421
+ attr_accessor next_token: ::String
422
+ attr_accessor num_results: ::Integer
423
+ attr_accessor worker_blocks: ::Array[Types::WorkerBlock]
424
+ SENSITIVE: []
425
+ end
426
+
427
+ class ListWorkersWithQualificationTypeRequest
428
+ attr_accessor qualification_type_id: ::String
429
+ attr_accessor status: ("Granted" | "Revoked")
430
+ attr_accessor next_token: ::String
431
+ attr_accessor max_results: ::Integer
432
+ SENSITIVE: []
433
+ end
434
+
435
+ class ListWorkersWithQualificationTypeResponse
436
+ attr_accessor next_token: ::String
437
+ attr_accessor num_results: ::Integer
438
+ attr_accessor qualifications: ::Array[Types::Qualification]
439
+ SENSITIVE: []
440
+ end
441
+
442
+ class Locale
443
+ attr_accessor country: ::String
444
+ attr_accessor subdivision: ::String
445
+ SENSITIVE: []
446
+ end
447
+
448
+ class NotificationSpecification
449
+ attr_accessor destination: ::String
450
+ attr_accessor transport: ("Email" | "SQS" | "SNS")
451
+ attr_accessor version: ::String
452
+ attr_accessor event_types: ::Array[("AssignmentAccepted" | "AssignmentAbandoned" | "AssignmentReturned" | "AssignmentSubmitted" | "AssignmentRejected" | "AssignmentApproved" | "HITCreated" | "HITExpired" | "HITReviewable" | "HITExtended" | "HITDisposed" | "Ping")]
453
+ SENSITIVE: []
454
+ end
455
+
456
+ class NotifyWorkersFailureStatus
457
+ attr_accessor notify_workers_failure_code: ("SoftFailure" | "HardFailure")
458
+ attr_accessor notify_workers_failure_message: ::String
459
+ attr_accessor worker_id: ::String
460
+ SENSITIVE: []
461
+ end
462
+
463
+ class NotifyWorkersRequest
464
+ attr_accessor subject: ::String
465
+ attr_accessor message_text: ::String
466
+ attr_accessor worker_ids: ::Array[::String]
467
+ SENSITIVE: []
468
+ end
469
+
470
+ class NotifyWorkersResponse
471
+ attr_accessor notify_workers_failure_statuses: ::Array[Types::NotifyWorkersFailureStatus]
472
+ SENSITIVE: []
473
+ end
474
+
475
+ class ParameterMapEntry
476
+ attr_accessor key: ::String
477
+ attr_accessor values: ::Array[::String]
478
+ SENSITIVE: []
479
+ end
480
+
481
+ class PolicyParameter
482
+ attr_accessor key: ::String
483
+ attr_accessor values: ::Array[::String]
484
+ attr_accessor map_entries: ::Array[Types::ParameterMapEntry]
485
+ SENSITIVE: []
486
+ end
487
+
488
+ class Qualification
489
+ attr_accessor qualification_type_id: ::String
490
+ attr_accessor worker_id: ::String
491
+ attr_accessor grant_time: ::Time
492
+ attr_accessor integer_value: ::Integer
493
+ attr_accessor locale_value: Types::Locale
494
+ attr_accessor status: ("Granted" | "Revoked")
495
+ SENSITIVE: []
496
+ end
497
+
498
+ class QualificationRequest
499
+ attr_accessor qualification_request_id: ::String
500
+ attr_accessor qualification_type_id: ::String
501
+ attr_accessor worker_id: ::String
502
+ attr_accessor test: ::String
503
+ attr_accessor answer: ::String
504
+ attr_accessor submit_time: ::Time
505
+ SENSITIVE: []
506
+ end
507
+
508
+ class QualificationRequirement
509
+ attr_accessor qualification_type_id: ::String
510
+ attr_accessor comparator: ("LessThan" | "LessThanOrEqualTo" | "GreaterThan" | "GreaterThanOrEqualTo" | "EqualTo" | "NotEqualTo" | "Exists" | "DoesNotExist" | "In" | "NotIn")
511
+ attr_accessor integer_values: ::Array[::Integer]
512
+ attr_accessor locale_values: ::Array[Types::Locale]
513
+ attr_accessor required_to_preview: bool
514
+ attr_accessor actions_guarded: ("Accept" | "PreviewAndAccept" | "DiscoverPreviewAndAccept")
515
+ SENSITIVE: []
516
+ end
517
+
518
+ class QualificationType
519
+ attr_accessor qualification_type_id: ::String
520
+ attr_accessor creation_time: ::Time
521
+ attr_accessor name: ::String
522
+ attr_accessor description: ::String
523
+ attr_accessor keywords: ::String
524
+ attr_accessor qualification_type_status: ("Active" | "Inactive")
525
+ attr_accessor test: ::String
526
+ attr_accessor test_duration_in_seconds: ::Integer
527
+ attr_accessor answer_key: ::String
528
+ attr_accessor retry_delay_in_seconds: ::Integer
529
+ attr_accessor is_requestable: bool
530
+ attr_accessor auto_granted: bool
531
+ attr_accessor auto_granted_value: ::Integer
532
+ SENSITIVE: []
533
+ end
534
+
535
+ class RejectAssignmentRequest
536
+ attr_accessor assignment_id: ::String
537
+ attr_accessor requester_feedback: ::String
538
+ SENSITIVE: []
539
+ end
540
+
541
+ class RejectAssignmentResponse < Aws::EmptyStructure
542
+ end
543
+
544
+ class RejectQualificationRequestRequest
545
+ attr_accessor qualification_request_id: ::String
546
+ attr_accessor reason: ::String
547
+ SENSITIVE: []
548
+ end
549
+
550
+ class RejectQualificationRequestResponse < Aws::EmptyStructure
551
+ end
552
+
553
+ class RequestError
554
+ attr_accessor message: ::String
555
+ attr_accessor turk_error_code: ::String
556
+ SENSITIVE: []
557
+ end
558
+
559
+ class ReviewActionDetail
560
+ attr_accessor action_id: ::String
561
+ attr_accessor action_name: ::String
562
+ attr_accessor target_id: ::String
563
+ attr_accessor target_type: ::String
564
+ attr_accessor status: ("Intended" | "Succeeded" | "Failed" | "Cancelled")
565
+ attr_accessor complete_time: ::Time
566
+ attr_accessor result: ::String
567
+ attr_accessor error_code: ::String
568
+ SENSITIVE: []
569
+ end
570
+
571
+ class ReviewPolicy
572
+ attr_accessor policy_name: ::String
573
+ attr_accessor parameters: ::Array[Types::PolicyParameter]
574
+ SENSITIVE: []
575
+ end
576
+
577
+ class ReviewReport
578
+ attr_accessor review_results: ::Array[Types::ReviewResultDetail]
579
+ attr_accessor review_actions: ::Array[Types::ReviewActionDetail]
580
+ SENSITIVE: []
581
+ end
582
+
583
+ class ReviewResultDetail
584
+ attr_accessor action_id: ::String
585
+ attr_accessor subject_id: ::String
586
+ attr_accessor subject_type: ::String
587
+ attr_accessor question_id: ::String
588
+ attr_accessor key: ::String
589
+ attr_accessor value: ::String
590
+ SENSITIVE: []
591
+ end
592
+
593
+ class SendBonusRequest
594
+ attr_accessor worker_id: ::String
595
+ attr_accessor bonus_amount: ::String
596
+ attr_accessor assignment_id: ::String
597
+ attr_accessor reason: ::String
598
+ attr_accessor unique_request_token: ::String
599
+ SENSITIVE: []
600
+ end
601
+
602
+ class SendBonusResponse < Aws::EmptyStructure
603
+ end
604
+
605
+ class SendTestEventNotificationRequest
606
+ attr_accessor notification: Types::NotificationSpecification
607
+ attr_accessor test_event_type: ("AssignmentAccepted" | "AssignmentAbandoned" | "AssignmentReturned" | "AssignmentSubmitted" | "AssignmentRejected" | "AssignmentApproved" | "HITCreated" | "HITExpired" | "HITReviewable" | "HITExtended" | "HITDisposed" | "Ping")
608
+ SENSITIVE: []
609
+ end
610
+
611
+ class SendTestEventNotificationResponse < Aws::EmptyStructure
612
+ end
613
+
614
+ class ServiceFault
615
+ attr_accessor message: ::String
616
+ attr_accessor turk_error_code: ::String
617
+ SENSITIVE: []
618
+ end
619
+
620
+ class UpdateExpirationForHITRequest
621
+ attr_accessor hit_id: ::String
622
+ attr_accessor expire_at: ::Time
623
+ SENSITIVE: []
624
+ end
625
+
626
+ class UpdateExpirationForHITResponse < Aws::EmptyStructure
627
+ end
628
+
629
+ class UpdateHITReviewStatusRequest
630
+ attr_accessor hit_id: ::String
631
+ attr_accessor revert: bool
632
+ SENSITIVE: []
633
+ end
634
+
635
+ class UpdateHITReviewStatusResponse < Aws::EmptyStructure
636
+ end
637
+
638
+ class UpdateHITTypeOfHITRequest
639
+ attr_accessor hit_id: ::String
640
+ attr_accessor hit_type_id: ::String
641
+ SENSITIVE: []
642
+ end
643
+
644
+ class UpdateHITTypeOfHITResponse < Aws::EmptyStructure
645
+ end
646
+
647
+ class UpdateNotificationSettingsRequest
648
+ attr_accessor hit_type_id: ::String
649
+ attr_accessor notification: Types::NotificationSpecification
650
+ attr_accessor active: bool
651
+ SENSITIVE: []
652
+ end
653
+
654
+ class UpdateNotificationSettingsResponse < Aws::EmptyStructure
655
+ end
656
+
657
+ class UpdateQualificationTypeRequest
658
+ attr_accessor qualification_type_id: ::String
659
+ attr_accessor description: ::String
660
+ attr_accessor qualification_type_status: ("Active" | "Inactive")
661
+ attr_accessor test: ::String
662
+ attr_accessor answer_key: ::String
663
+ attr_accessor test_duration_in_seconds: ::Integer
664
+ attr_accessor retry_delay_in_seconds: ::Integer
665
+ attr_accessor auto_granted: bool
666
+ attr_accessor auto_granted_value: ::Integer
667
+ SENSITIVE: []
668
+ end
669
+
670
+ class UpdateQualificationTypeResponse
671
+ attr_accessor qualification_type: Types::QualificationType
672
+ SENSITIVE: []
673
+ end
674
+
675
+ class WorkerBlock
676
+ attr_accessor worker_id: ::String
677
+ attr_accessor reason: ::String
678
+ SENSITIVE: []
679
+ end
680
+ end
681
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module MTurk
10
+ module Waiters
11
+ end
12
+ end
13
+ end