aws-sdk-mturk 1.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-mturk.rb +47 -0
- data/lib/aws-sdk-mturk/client.rb +2660 -0
- data/lib/aws-sdk-mturk/client_api.rb +1152 -0
- data/lib/aws-sdk-mturk/customizations.rb +0 -0
- data/lib/aws-sdk-mturk/errors.rb +14 -0
- data/lib/aws-sdk-mturk/resource.rb +23 -0
- data/lib/aws-sdk-mturk/types.rb +3107 -0
- metadata +80 -0
@@ -0,0 +1,1152 @@
|
|
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/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::MTurk
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
AcceptQualificationRequestRequest = Shapes::StructureShape.new(name: 'AcceptQualificationRequestRequest')
|
15
|
+
AcceptQualificationRequestResponse = Shapes::StructureShape.new(name: 'AcceptQualificationRequestResponse')
|
16
|
+
ApproveAssignmentRequest = Shapes::StructureShape.new(name: 'ApproveAssignmentRequest')
|
17
|
+
ApproveAssignmentResponse = Shapes::StructureShape.new(name: 'ApproveAssignmentResponse')
|
18
|
+
Assignment = Shapes::StructureShape.new(name: 'Assignment')
|
19
|
+
AssignmentList = Shapes::ListShape.new(name: 'AssignmentList')
|
20
|
+
AssignmentStatus = Shapes::StringShape.new(name: 'AssignmentStatus')
|
21
|
+
AssignmentStatusList = Shapes::ListShape.new(name: 'AssignmentStatusList')
|
22
|
+
AssociateQualificationWithWorkerRequest = Shapes::StructureShape.new(name: 'AssociateQualificationWithWorkerRequest')
|
23
|
+
AssociateQualificationWithWorkerResponse = Shapes::StructureShape.new(name: 'AssociateQualificationWithWorkerResponse')
|
24
|
+
BonusPayment = Shapes::StructureShape.new(name: 'BonusPayment')
|
25
|
+
BonusPaymentList = Shapes::ListShape.new(name: 'BonusPaymentList')
|
26
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
27
|
+
Comparator = Shapes::StringShape.new(name: 'Comparator')
|
28
|
+
CountryParameters = Shapes::StringShape.new(name: 'CountryParameters')
|
29
|
+
CreateAdditionalAssignmentsForHITRequest = Shapes::StructureShape.new(name: 'CreateAdditionalAssignmentsForHITRequest')
|
30
|
+
CreateAdditionalAssignmentsForHITResponse = Shapes::StructureShape.new(name: 'CreateAdditionalAssignmentsForHITResponse')
|
31
|
+
CreateHITRequest = Shapes::StructureShape.new(name: 'CreateHITRequest')
|
32
|
+
CreateHITResponse = Shapes::StructureShape.new(name: 'CreateHITResponse')
|
33
|
+
CreateHITTypeRequest = Shapes::StructureShape.new(name: 'CreateHITTypeRequest')
|
34
|
+
CreateHITTypeResponse = Shapes::StructureShape.new(name: 'CreateHITTypeResponse')
|
35
|
+
CreateHITWithHITTypeRequest = Shapes::StructureShape.new(name: 'CreateHITWithHITTypeRequest')
|
36
|
+
CreateHITWithHITTypeResponse = Shapes::StructureShape.new(name: 'CreateHITWithHITTypeResponse')
|
37
|
+
CreateQualificationTypeRequest = Shapes::StructureShape.new(name: 'CreateQualificationTypeRequest')
|
38
|
+
CreateQualificationTypeResponse = Shapes::StructureShape.new(name: 'CreateQualificationTypeResponse')
|
39
|
+
CreateWorkerBlockRequest = Shapes::StructureShape.new(name: 'CreateWorkerBlockRequest')
|
40
|
+
CreateWorkerBlockResponse = Shapes::StructureShape.new(name: 'CreateWorkerBlockResponse')
|
41
|
+
CustomerId = Shapes::StringShape.new(name: 'CustomerId')
|
42
|
+
CustomerIdList = Shapes::ListShape.new(name: 'CustomerIdList')
|
43
|
+
DeleteHITRequest = Shapes::StructureShape.new(name: 'DeleteHITRequest')
|
44
|
+
DeleteHITResponse = Shapes::StructureShape.new(name: 'DeleteHITResponse')
|
45
|
+
DeleteQualificationTypeRequest = Shapes::StructureShape.new(name: 'DeleteQualificationTypeRequest')
|
46
|
+
DeleteQualificationTypeResponse = Shapes::StructureShape.new(name: 'DeleteQualificationTypeResponse')
|
47
|
+
DeleteWorkerBlockRequest = Shapes::StructureShape.new(name: 'DeleteWorkerBlockRequest')
|
48
|
+
DeleteWorkerBlockResponse = Shapes::StructureShape.new(name: 'DeleteWorkerBlockResponse')
|
49
|
+
DisassociateQualificationFromWorkerRequest = Shapes::StructureShape.new(name: 'DisassociateQualificationFromWorkerRequest')
|
50
|
+
DisassociateQualificationFromWorkerResponse = Shapes::StructureShape.new(name: 'DisassociateQualificationFromWorkerResponse')
|
51
|
+
EntityId = Shapes::StringShape.new(name: 'EntityId')
|
52
|
+
EventType = Shapes::StringShape.new(name: 'EventType')
|
53
|
+
EventTypeList = Shapes::ListShape.new(name: 'EventTypeList')
|
54
|
+
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
55
|
+
GetAccountBalanceRequest = Shapes::StructureShape.new(name: 'GetAccountBalanceRequest')
|
56
|
+
GetAccountBalanceResponse = Shapes::StructureShape.new(name: 'GetAccountBalanceResponse')
|
57
|
+
GetAssignmentRequest = Shapes::StructureShape.new(name: 'GetAssignmentRequest')
|
58
|
+
GetAssignmentResponse = Shapes::StructureShape.new(name: 'GetAssignmentResponse')
|
59
|
+
GetFileUploadURLRequest = Shapes::StructureShape.new(name: 'GetFileUploadURLRequest')
|
60
|
+
GetFileUploadURLResponse = Shapes::StructureShape.new(name: 'GetFileUploadURLResponse')
|
61
|
+
GetHITRequest = Shapes::StructureShape.new(name: 'GetHITRequest')
|
62
|
+
GetHITResponse = Shapes::StructureShape.new(name: 'GetHITResponse')
|
63
|
+
GetQualificationScoreRequest = Shapes::StructureShape.new(name: 'GetQualificationScoreRequest')
|
64
|
+
GetQualificationScoreResponse = Shapes::StructureShape.new(name: 'GetQualificationScoreResponse')
|
65
|
+
GetQualificationTypeRequest = Shapes::StructureShape.new(name: 'GetQualificationTypeRequest')
|
66
|
+
GetQualificationTypeResponse = Shapes::StructureShape.new(name: 'GetQualificationTypeResponse')
|
67
|
+
HIT = Shapes::StructureShape.new(name: 'HIT')
|
68
|
+
HITLayoutParameter = Shapes::StructureShape.new(name: 'HITLayoutParameter')
|
69
|
+
HITLayoutParameterList = Shapes::ListShape.new(name: 'HITLayoutParameterList')
|
70
|
+
HITList = Shapes::ListShape.new(name: 'HITList')
|
71
|
+
HITReviewStatus = Shapes::StringShape.new(name: 'HITReviewStatus')
|
72
|
+
HITStatus = Shapes::StringShape.new(name: 'HITStatus')
|
73
|
+
IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
|
74
|
+
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
75
|
+
IntegerList = Shapes::ListShape.new(name: 'IntegerList')
|
76
|
+
ListAssignmentsForHITRequest = Shapes::StructureShape.new(name: 'ListAssignmentsForHITRequest')
|
77
|
+
ListAssignmentsForHITResponse = Shapes::StructureShape.new(name: 'ListAssignmentsForHITResponse')
|
78
|
+
ListBonusPaymentsRequest = Shapes::StructureShape.new(name: 'ListBonusPaymentsRequest')
|
79
|
+
ListBonusPaymentsResponse = Shapes::StructureShape.new(name: 'ListBonusPaymentsResponse')
|
80
|
+
ListHITsForQualificationTypeRequest = Shapes::StructureShape.new(name: 'ListHITsForQualificationTypeRequest')
|
81
|
+
ListHITsForQualificationTypeResponse = Shapes::StructureShape.new(name: 'ListHITsForQualificationTypeResponse')
|
82
|
+
ListHITsRequest = Shapes::StructureShape.new(name: 'ListHITsRequest')
|
83
|
+
ListHITsResponse = Shapes::StructureShape.new(name: 'ListHITsResponse')
|
84
|
+
ListQualificationRequestsRequest = Shapes::StructureShape.new(name: 'ListQualificationRequestsRequest')
|
85
|
+
ListQualificationRequestsResponse = Shapes::StructureShape.new(name: 'ListQualificationRequestsResponse')
|
86
|
+
ListQualificationTypesRequest = Shapes::StructureShape.new(name: 'ListQualificationTypesRequest')
|
87
|
+
ListQualificationTypesResponse = Shapes::StructureShape.new(name: 'ListQualificationTypesResponse')
|
88
|
+
ListReviewPolicyResultsForHITRequest = Shapes::StructureShape.new(name: 'ListReviewPolicyResultsForHITRequest')
|
89
|
+
ListReviewPolicyResultsForHITResponse = Shapes::StructureShape.new(name: 'ListReviewPolicyResultsForHITResponse')
|
90
|
+
ListReviewableHITsRequest = Shapes::StructureShape.new(name: 'ListReviewableHITsRequest')
|
91
|
+
ListReviewableHITsResponse = Shapes::StructureShape.new(name: 'ListReviewableHITsResponse')
|
92
|
+
ListWorkerBlocksRequest = Shapes::StructureShape.new(name: 'ListWorkerBlocksRequest')
|
93
|
+
ListWorkerBlocksResponse = Shapes::StructureShape.new(name: 'ListWorkerBlocksResponse')
|
94
|
+
ListWorkersWithQualificationTypeRequest = Shapes::StructureShape.new(name: 'ListWorkersWithQualificationTypeRequest')
|
95
|
+
ListWorkersWithQualificationTypeResponse = Shapes::StructureShape.new(name: 'ListWorkersWithQualificationTypeResponse')
|
96
|
+
Locale = Shapes::StructureShape.new(name: 'Locale')
|
97
|
+
LocaleList = Shapes::ListShape.new(name: 'LocaleList')
|
98
|
+
Long = Shapes::IntegerShape.new(name: 'Long')
|
99
|
+
NotificationSpecification = Shapes::StructureShape.new(name: 'NotificationSpecification')
|
100
|
+
NotificationTransport = Shapes::StringShape.new(name: 'NotificationTransport')
|
101
|
+
NotifyWorkersFailureCode = Shapes::StringShape.new(name: 'NotifyWorkersFailureCode')
|
102
|
+
NotifyWorkersFailureStatus = Shapes::StructureShape.new(name: 'NotifyWorkersFailureStatus')
|
103
|
+
NotifyWorkersFailureStatusList = Shapes::ListShape.new(name: 'NotifyWorkersFailureStatusList')
|
104
|
+
NotifyWorkersRequest = Shapes::StructureShape.new(name: 'NotifyWorkersRequest')
|
105
|
+
NotifyWorkersResponse = Shapes::StructureShape.new(name: 'NotifyWorkersResponse')
|
106
|
+
NumericValue = Shapes::StringShape.new(name: 'NumericValue')
|
107
|
+
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
108
|
+
ParameterMapEntry = Shapes::StructureShape.new(name: 'ParameterMapEntry')
|
109
|
+
ParameterMapEntryList = Shapes::ListShape.new(name: 'ParameterMapEntryList')
|
110
|
+
PolicyParameter = Shapes::StructureShape.new(name: 'PolicyParameter')
|
111
|
+
PolicyParameterList = Shapes::ListShape.new(name: 'PolicyParameterList')
|
112
|
+
Qualification = Shapes::StructureShape.new(name: 'Qualification')
|
113
|
+
QualificationList = Shapes::ListShape.new(name: 'QualificationList')
|
114
|
+
QualificationRequest = Shapes::StructureShape.new(name: 'QualificationRequest')
|
115
|
+
QualificationRequestList = Shapes::ListShape.new(name: 'QualificationRequestList')
|
116
|
+
QualificationRequirement = Shapes::StructureShape.new(name: 'QualificationRequirement')
|
117
|
+
QualificationRequirementList = Shapes::ListShape.new(name: 'QualificationRequirementList')
|
118
|
+
QualificationStatus = Shapes::StringShape.new(name: 'QualificationStatus')
|
119
|
+
QualificationType = Shapes::StructureShape.new(name: 'QualificationType')
|
120
|
+
QualificationTypeList = Shapes::ListShape.new(name: 'QualificationTypeList')
|
121
|
+
QualificationTypeStatus = Shapes::StringShape.new(name: 'QualificationTypeStatus')
|
122
|
+
RejectAssignmentRequest = Shapes::StructureShape.new(name: 'RejectAssignmentRequest')
|
123
|
+
RejectAssignmentResponse = Shapes::StructureShape.new(name: 'RejectAssignmentResponse')
|
124
|
+
RejectQualificationRequestRequest = Shapes::StructureShape.new(name: 'RejectQualificationRequestRequest')
|
125
|
+
RejectQualificationRequestResponse = Shapes::StructureShape.new(name: 'RejectQualificationRequestResponse')
|
126
|
+
RequestError = Shapes::StructureShape.new(name: 'RequestError')
|
127
|
+
ResultSize = Shapes::IntegerShape.new(name: 'ResultSize')
|
128
|
+
ReviewActionDetail = Shapes::StructureShape.new(name: 'ReviewActionDetail')
|
129
|
+
ReviewActionDetailList = Shapes::ListShape.new(name: 'ReviewActionDetailList')
|
130
|
+
ReviewActionStatus = Shapes::StringShape.new(name: 'ReviewActionStatus')
|
131
|
+
ReviewPolicy = Shapes::StructureShape.new(name: 'ReviewPolicy')
|
132
|
+
ReviewPolicyLevel = Shapes::StringShape.new(name: 'ReviewPolicyLevel')
|
133
|
+
ReviewPolicyLevelList = Shapes::ListShape.new(name: 'ReviewPolicyLevelList')
|
134
|
+
ReviewReport = Shapes::StructureShape.new(name: 'ReviewReport')
|
135
|
+
ReviewResultDetail = Shapes::StructureShape.new(name: 'ReviewResultDetail')
|
136
|
+
ReviewResultDetailList = Shapes::ListShape.new(name: 'ReviewResultDetailList')
|
137
|
+
ReviewableHITStatus = Shapes::StringShape.new(name: 'ReviewableHITStatus')
|
138
|
+
SendBonusRequest = Shapes::StructureShape.new(name: 'SendBonusRequest')
|
139
|
+
SendBonusResponse = Shapes::StructureShape.new(name: 'SendBonusResponse')
|
140
|
+
SendTestEventNotificationRequest = Shapes::StructureShape.new(name: 'SendTestEventNotificationRequest')
|
141
|
+
SendTestEventNotificationResponse = Shapes::StructureShape.new(name: 'SendTestEventNotificationResponse')
|
142
|
+
ServiceFault = Shapes::StructureShape.new(name: 'ServiceFault')
|
143
|
+
String = Shapes::StringShape.new(name: 'String')
|
144
|
+
StringList = Shapes::ListShape.new(name: 'StringList')
|
145
|
+
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
146
|
+
TurkErrorCode = Shapes::StringShape.new(name: 'TurkErrorCode')
|
147
|
+
UpdateExpirationForHITRequest = Shapes::StructureShape.new(name: 'UpdateExpirationForHITRequest')
|
148
|
+
UpdateExpirationForHITResponse = Shapes::StructureShape.new(name: 'UpdateExpirationForHITResponse')
|
149
|
+
UpdateHITReviewStatusRequest = Shapes::StructureShape.new(name: 'UpdateHITReviewStatusRequest')
|
150
|
+
UpdateHITReviewStatusResponse = Shapes::StructureShape.new(name: 'UpdateHITReviewStatusResponse')
|
151
|
+
UpdateHITTypeOfHITRequest = Shapes::StructureShape.new(name: 'UpdateHITTypeOfHITRequest')
|
152
|
+
UpdateHITTypeOfHITResponse = Shapes::StructureShape.new(name: 'UpdateHITTypeOfHITResponse')
|
153
|
+
UpdateNotificationSettingsRequest = Shapes::StructureShape.new(name: 'UpdateNotificationSettingsRequest')
|
154
|
+
UpdateNotificationSettingsResponse = Shapes::StructureShape.new(name: 'UpdateNotificationSettingsResponse')
|
155
|
+
UpdateQualificationTypeRequest = Shapes::StructureShape.new(name: 'UpdateQualificationTypeRequest')
|
156
|
+
UpdateQualificationTypeResponse = Shapes::StructureShape.new(name: 'UpdateQualificationTypeResponse')
|
157
|
+
WorkerBlock = Shapes::StructureShape.new(name: 'WorkerBlock')
|
158
|
+
WorkerBlockList = Shapes::ListShape.new(name: 'WorkerBlockList')
|
159
|
+
|
160
|
+
AcceptQualificationRequestRequest.add_member(:qualification_request_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QualificationRequestId"))
|
161
|
+
AcceptQualificationRequestRequest.add_member(:integer_value, Shapes::ShapeRef.new(shape: Integer, location_name: "IntegerValue"))
|
162
|
+
AcceptQualificationRequestRequest.struct_class = Types::AcceptQualificationRequestRequest
|
163
|
+
|
164
|
+
AcceptQualificationRequestResponse.struct_class = Types::AcceptQualificationRequestResponse
|
165
|
+
|
166
|
+
ApproveAssignmentRequest.add_member(:assignment_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "AssignmentId"))
|
167
|
+
ApproveAssignmentRequest.add_member(:requester_feedback, Shapes::ShapeRef.new(shape: String, location_name: "RequesterFeedback"))
|
168
|
+
ApproveAssignmentRequest.add_member(:override_rejection, Shapes::ShapeRef.new(shape: Boolean, location_name: "OverrideRejection"))
|
169
|
+
ApproveAssignmentRequest.struct_class = Types::ApproveAssignmentRequest
|
170
|
+
|
171
|
+
ApproveAssignmentResponse.struct_class = Types::ApproveAssignmentResponse
|
172
|
+
|
173
|
+
Assignment.add_member(:assignment_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "AssignmentId"))
|
174
|
+
Assignment.add_member(:worker_id, Shapes::ShapeRef.new(shape: CustomerId, location_name: "WorkerId"))
|
175
|
+
Assignment.add_member(:hit_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "HITId"))
|
176
|
+
Assignment.add_member(:assignment_status, Shapes::ShapeRef.new(shape: AssignmentStatus, location_name: "AssignmentStatus"))
|
177
|
+
Assignment.add_member(:auto_approval_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "AutoApprovalTime"))
|
178
|
+
Assignment.add_member(:accept_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "AcceptTime"))
|
179
|
+
Assignment.add_member(:submit_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTime"))
|
180
|
+
Assignment.add_member(:approval_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ApprovalTime"))
|
181
|
+
Assignment.add_member(:rejection_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RejectionTime"))
|
182
|
+
Assignment.add_member(:deadline, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Deadline"))
|
183
|
+
Assignment.add_member(:answer, Shapes::ShapeRef.new(shape: String, location_name: "Answer"))
|
184
|
+
Assignment.add_member(:requester_feedback, Shapes::ShapeRef.new(shape: String, location_name: "RequesterFeedback"))
|
185
|
+
Assignment.struct_class = Types::Assignment
|
186
|
+
|
187
|
+
AssignmentList.member = Shapes::ShapeRef.new(shape: Assignment)
|
188
|
+
|
189
|
+
AssignmentStatusList.member = Shapes::ShapeRef.new(shape: AssignmentStatus)
|
190
|
+
|
191
|
+
AssociateQualificationWithWorkerRequest.add_member(:qualification_type_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "QualificationTypeId"))
|
192
|
+
AssociateQualificationWithWorkerRequest.add_member(:worker_id, Shapes::ShapeRef.new(shape: CustomerId, required: true, location_name: "WorkerId"))
|
193
|
+
AssociateQualificationWithWorkerRequest.add_member(:integer_value, Shapes::ShapeRef.new(shape: Integer, location_name: "IntegerValue"))
|
194
|
+
AssociateQualificationWithWorkerRequest.add_member(:send_notification, Shapes::ShapeRef.new(shape: Boolean, location_name: "SendNotification"))
|
195
|
+
AssociateQualificationWithWorkerRequest.struct_class = Types::AssociateQualificationWithWorkerRequest
|
196
|
+
|
197
|
+
AssociateQualificationWithWorkerResponse.struct_class = Types::AssociateQualificationWithWorkerResponse
|
198
|
+
|
199
|
+
BonusPayment.add_member(:worker_id, Shapes::ShapeRef.new(shape: CustomerId, location_name: "WorkerId"))
|
200
|
+
BonusPayment.add_member(:bonus_amount, Shapes::ShapeRef.new(shape: NumericValue, location_name: "BonusAmount"))
|
201
|
+
BonusPayment.add_member(:assignment_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "AssignmentId"))
|
202
|
+
BonusPayment.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "Reason"))
|
203
|
+
BonusPayment.add_member(:grant_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "GrantTime"))
|
204
|
+
BonusPayment.struct_class = Types::BonusPayment
|
205
|
+
|
206
|
+
BonusPaymentList.member = Shapes::ShapeRef.new(shape: BonusPayment)
|
207
|
+
|
208
|
+
CreateAdditionalAssignmentsForHITRequest.add_member(:hit_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "HITId"))
|
209
|
+
CreateAdditionalAssignmentsForHITRequest.add_member(:number_of_additional_assignments, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfAdditionalAssignments"))
|
210
|
+
CreateAdditionalAssignmentsForHITRequest.add_member(:unique_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "UniqueRequestToken"))
|
211
|
+
CreateAdditionalAssignmentsForHITRequest.struct_class = Types::CreateAdditionalAssignmentsForHITRequest
|
212
|
+
|
213
|
+
CreateAdditionalAssignmentsForHITResponse.struct_class = Types::CreateAdditionalAssignmentsForHITResponse
|
214
|
+
|
215
|
+
CreateHITRequest.add_member(:max_assignments, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxAssignments"))
|
216
|
+
CreateHITRequest.add_member(:auto_approval_delay_in_seconds, Shapes::ShapeRef.new(shape: Long, location_name: "AutoApprovalDelayInSeconds"))
|
217
|
+
CreateHITRequest.add_member(:lifetime_in_seconds, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "LifetimeInSeconds"))
|
218
|
+
CreateHITRequest.add_member(:assignment_duration_in_seconds, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "AssignmentDurationInSeconds"))
|
219
|
+
CreateHITRequest.add_member(:reward, Shapes::ShapeRef.new(shape: NumericValue, required: true, location_name: "Reward"))
|
220
|
+
CreateHITRequest.add_member(:title, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Title"))
|
221
|
+
CreateHITRequest.add_member(:keywords, Shapes::ShapeRef.new(shape: String, location_name: "Keywords"))
|
222
|
+
CreateHITRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Description"))
|
223
|
+
CreateHITRequest.add_member(:question, Shapes::ShapeRef.new(shape: String, location_name: "Question"))
|
224
|
+
CreateHITRequest.add_member(:requester_annotation, Shapes::ShapeRef.new(shape: String, location_name: "RequesterAnnotation"))
|
225
|
+
CreateHITRequest.add_member(:qualification_requirements, Shapes::ShapeRef.new(shape: QualificationRequirementList, location_name: "QualificationRequirements"))
|
226
|
+
CreateHITRequest.add_member(:unique_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "UniqueRequestToken"))
|
227
|
+
CreateHITRequest.add_member(:assignment_review_policy, Shapes::ShapeRef.new(shape: ReviewPolicy, location_name: "AssignmentReviewPolicy"))
|
228
|
+
CreateHITRequest.add_member(:hit_review_policy, Shapes::ShapeRef.new(shape: ReviewPolicy, location_name: "HITReviewPolicy"))
|
229
|
+
CreateHITRequest.add_member(:hit_layout_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "HITLayoutId"))
|
230
|
+
CreateHITRequest.add_member(:hit_layout_parameters, Shapes::ShapeRef.new(shape: HITLayoutParameterList, location_name: "HITLayoutParameters"))
|
231
|
+
CreateHITRequest.struct_class = Types::CreateHITRequest
|
232
|
+
|
233
|
+
CreateHITResponse.add_member(:hit, Shapes::ShapeRef.new(shape: HIT, location_name: "HIT"))
|
234
|
+
CreateHITResponse.struct_class = Types::CreateHITResponse
|
235
|
+
|
236
|
+
CreateHITTypeRequest.add_member(:auto_approval_delay_in_seconds, Shapes::ShapeRef.new(shape: Long, location_name: "AutoApprovalDelayInSeconds"))
|
237
|
+
CreateHITTypeRequest.add_member(:assignment_duration_in_seconds, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "AssignmentDurationInSeconds"))
|
238
|
+
CreateHITTypeRequest.add_member(:reward, Shapes::ShapeRef.new(shape: NumericValue, required: true, location_name: "Reward"))
|
239
|
+
CreateHITTypeRequest.add_member(:title, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Title"))
|
240
|
+
CreateHITTypeRequest.add_member(:keywords, Shapes::ShapeRef.new(shape: String, location_name: "Keywords"))
|
241
|
+
CreateHITTypeRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Description"))
|
242
|
+
CreateHITTypeRequest.add_member(:qualification_requirements, Shapes::ShapeRef.new(shape: QualificationRequirementList, location_name: "QualificationRequirements"))
|
243
|
+
CreateHITTypeRequest.struct_class = Types::CreateHITTypeRequest
|
244
|
+
|
245
|
+
CreateHITTypeResponse.add_member(:hit_type_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "HITTypeId"))
|
246
|
+
CreateHITTypeResponse.struct_class = Types::CreateHITTypeResponse
|
247
|
+
|
248
|
+
CreateHITWithHITTypeRequest.add_member(:hit_type_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "HITTypeId"))
|
249
|
+
CreateHITWithHITTypeRequest.add_member(:max_assignments, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxAssignments"))
|
250
|
+
CreateHITWithHITTypeRequest.add_member(:lifetime_in_seconds, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "LifetimeInSeconds"))
|
251
|
+
CreateHITWithHITTypeRequest.add_member(:question, Shapes::ShapeRef.new(shape: String, location_name: "Question"))
|
252
|
+
CreateHITWithHITTypeRequest.add_member(:requester_annotation, Shapes::ShapeRef.new(shape: String, location_name: "RequesterAnnotation"))
|
253
|
+
CreateHITWithHITTypeRequest.add_member(:unique_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "UniqueRequestToken"))
|
254
|
+
CreateHITWithHITTypeRequest.add_member(:assignment_review_policy, Shapes::ShapeRef.new(shape: ReviewPolicy, location_name: "AssignmentReviewPolicy"))
|
255
|
+
CreateHITWithHITTypeRequest.add_member(:hit_review_policy, Shapes::ShapeRef.new(shape: ReviewPolicy, location_name: "HITReviewPolicy"))
|
256
|
+
CreateHITWithHITTypeRequest.add_member(:hit_layout_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "HITLayoutId"))
|
257
|
+
CreateHITWithHITTypeRequest.add_member(:hit_layout_parameters, Shapes::ShapeRef.new(shape: HITLayoutParameterList, location_name: "HITLayoutParameters"))
|
258
|
+
CreateHITWithHITTypeRequest.struct_class = Types::CreateHITWithHITTypeRequest
|
259
|
+
|
260
|
+
CreateHITWithHITTypeResponse.add_member(:hit, Shapes::ShapeRef.new(shape: HIT, location_name: "HIT"))
|
261
|
+
CreateHITWithHITTypeResponse.struct_class = Types::CreateHITWithHITTypeResponse
|
262
|
+
|
263
|
+
CreateQualificationTypeRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
264
|
+
CreateQualificationTypeRequest.add_member(:keywords, Shapes::ShapeRef.new(shape: String, location_name: "Keywords"))
|
265
|
+
CreateQualificationTypeRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Description"))
|
266
|
+
CreateQualificationTypeRequest.add_member(:qualification_type_status, Shapes::ShapeRef.new(shape: QualificationTypeStatus, required: true, location_name: "QualificationTypeStatus"))
|
267
|
+
CreateQualificationTypeRequest.add_member(:retry_delay_in_seconds, Shapes::ShapeRef.new(shape: Long, location_name: "RetryDelayInSeconds"))
|
268
|
+
CreateQualificationTypeRequest.add_member(:test, Shapes::ShapeRef.new(shape: String, location_name: "Test"))
|
269
|
+
CreateQualificationTypeRequest.add_member(:answer_key, Shapes::ShapeRef.new(shape: String, location_name: "AnswerKey"))
|
270
|
+
CreateQualificationTypeRequest.add_member(:test_duration_in_seconds, Shapes::ShapeRef.new(shape: Long, location_name: "TestDurationInSeconds"))
|
271
|
+
CreateQualificationTypeRequest.add_member(:auto_granted, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoGranted"))
|
272
|
+
CreateQualificationTypeRequest.add_member(:auto_granted_value, Shapes::ShapeRef.new(shape: Integer, location_name: "AutoGrantedValue"))
|
273
|
+
CreateQualificationTypeRequest.struct_class = Types::CreateQualificationTypeRequest
|
274
|
+
|
275
|
+
CreateQualificationTypeResponse.add_member(:qualification_type, Shapes::ShapeRef.new(shape: QualificationType, location_name: "QualificationType"))
|
276
|
+
CreateQualificationTypeResponse.struct_class = Types::CreateQualificationTypeResponse
|
277
|
+
|
278
|
+
CreateWorkerBlockRequest.add_member(:worker_id, Shapes::ShapeRef.new(shape: CustomerId, required: true, location_name: "WorkerId"))
|
279
|
+
CreateWorkerBlockRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Reason"))
|
280
|
+
CreateWorkerBlockRequest.struct_class = Types::CreateWorkerBlockRequest
|
281
|
+
|
282
|
+
CreateWorkerBlockResponse.struct_class = Types::CreateWorkerBlockResponse
|
283
|
+
|
284
|
+
CustomerIdList.member = Shapes::ShapeRef.new(shape: CustomerId)
|
285
|
+
|
286
|
+
DeleteHITRequest.add_member(:hit_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "HITId"))
|
287
|
+
DeleteHITRequest.struct_class = Types::DeleteHITRequest
|
288
|
+
|
289
|
+
DeleteHITResponse.struct_class = Types::DeleteHITResponse
|
290
|
+
|
291
|
+
DeleteQualificationTypeRequest.add_member(:qualification_type_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "QualificationTypeId"))
|
292
|
+
DeleteQualificationTypeRequest.struct_class = Types::DeleteQualificationTypeRequest
|
293
|
+
|
294
|
+
DeleteQualificationTypeResponse.struct_class = Types::DeleteQualificationTypeResponse
|
295
|
+
|
296
|
+
DeleteWorkerBlockRequest.add_member(:worker_id, Shapes::ShapeRef.new(shape: CustomerId, required: true, location_name: "WorkerId"))
|
297
|
+
DeleteWorkerBlockRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "Reason"))
|
298
|
+
DeleteWorkerBlockRequest.struct_class = Types::DeleteWorkerBlockRequest
|
299
|
+
|
300
|
+
DeleteWorkerBlockResponse.struct_class = Types::DeleteWorkerBlockResponse
|
301
|
+
|
302
|
+
DisassociateQualificationFromWorkerRequest.add_member(:worker_id, Shapes::ShapeRef.new(shape: CustomerId, required: true, location_name: "WorkerId"))
|
303
|
+
DisassociateQualificationFromWorkerRequest.add_member(:qualification_type_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "QualificationTypeId"))
|
304
|
+
DisassociateQualificationFromWorkerRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "Reason"))
|
305
|
+
DisassociateQualificationFromWorkerRequest.struct_class = Types::DisassociateQualificationFromWorkerRequest
|
306
|
+
|
307
|
+
DisassociateQualificationFromWorkerResponse.struct_class = Types::DisassociateQualificationFromWorkerResponse
|
308
|
+
|
309
|
+
EventTypeList.member = Shapes::ShapeRef.new(shape: EventType)
|
310
|
+
|
311
|
+
GetAccountBalanceRequest.struct_class = Types::GetAccountBalanceRequest
|
312
|
+
|
313
|
+
GetAccountBalanceResponse.add_member(:available_balance, Shapes::ShapeRef.new(shape: NumericValue, location_name: "AvailableBalance"))
|
314
|
+
GetAccountBalanceResponse.add_member(:on_hold_balance, Shapes::ShapeRef.new(shape: NumericValue, location_name: "OnHoldBalance"))
|
315
|
+
GetAccountBalanceResponse.struct_class = Types::GetAccountBalanceResponse
|
316
|
+
|
317
|
+
GetAssignmentRequest.add_member(:assignment_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "AssignmentId"))
|
318
|
+
GetAssignmentRequest.struct_class = Types::GetAssignmentRequest
|
319
|
+
|
320
|
+
GetAssignmentResponse.add_member(:assignment, Shapes::ShapeRef.new(shape: Assignment, location_name: "Assignment"))
|
321
|
+
GetAssignmentResponse.add_member(:hit, Shapes::ShapeRef.new(shape: HIT, location_name: "HIT"))
|
322
|
+
GetAssignmentResponse.struct_class = Types::GetAssignmentResponse
|
323
|
+
|
324
|
+
GetFileUploadURLRequest.add_member(:assignment_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "AssignmentId"))
|
325
|
+
GetFileUploadURLRequest.add_member(:question_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QuestionIdentifier"))
|
326
|
+
GetFileUploadURLRequest.struct_class = Types::GetFileUploadURLRequest
|
327
|
+
|
328
|
+
GetFileUploadURLResponse.add_member(:file_upload_url, Shapes::ShapeRef.new(shape: String, location_name: "FileUploadURL"))
|
329
|
+
GetFileUploadURLResponse.struct_class = Types::GetFileUploadURLResponse
|
330
|
+
|
331
|
+
GetHITRequest.add_member(:hit_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "HITId"))
|
332
|
+
GetHITRequest.struct_class = Types::GetHITRequest
|
333
|
+
|
334
|
+
GetHITResponse.add_member(:hit, Shapes::ShapeRef.new(shape: HIT, location_name: "HIT"))
|
335
|
+
GetHITResponse.struct_class = Types::GetHITResponse
|
336
|
+
|
337
|
+
GetQualificationScoreRequest.add_member(:qualification_type_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "QualificationTypeId"))
|
338
|
+
GetQualificationScoreRequest.add_member(:worker_id, Shapes::ShapeRef.new(shape: CustomerId, required: true, location_name: "WorkerId"))
|
339
|
+
GetQualificationScoreRequest.struct_class = Types::GetQualificationScoreRequest
|
340
|
+
|
341
|
+
GetQualificationScoreResponse.add_member(:qualification, Shapes::ShapeRef.new(shape: Qualification, location_name: "Qualification"))
|
342
|
+
GetQualificationScoreResponse.struct_class = Types::GetQualificationScoreResponse
|
343
|
+
|
344
|
+
GetQualificationTypeRequest.add_member(:qualification_type_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "QualificationTypeId"))
|
345
|
+
GetQualificationTypeRequest.struct_class = Types::GetQualificationTypeRequest
|
346
|
+
|
347
|
+
GetQualificationTypeResponse.add_member(:qualification_type, Shapes::ShapeRef.new(shape: QualificationType, location_name: "QualificationType"))
|
348
|
+
GetQualificationTypeResponse.struct_class = Types::GetQualificationTypeResponse
|
349
|
+
|
350
|
+
HIT.add_member(:hit_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "HITId"))
|
351
|
+
HIT.add_member(:hit_type_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "HITTypeId"))
|
352
|
+
HIT.add_member(:hit_group_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "HITGroupId"))
|
353
|
+
HIT.add_member(:hit_layout_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "HITLayoutId"))
|
354
|
+
HIT.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
355
|
+
HIT.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "Title"))
|
356
|
+
HIT.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
357
|
+
HIT.add_member(:question, Shapes::ShapeRef.new(shape: String, location_name: "Question"))
|
358
|
+
HIT.add_member(:keywords, Shapes::ShapeRef.new(shape: String, location_name: "Keywords"))
|
359
|
+
HIT.add_member(:hit_status, Shapes::ShapeRef.new(shape: HITStatus, location_name: "HITStatus"))
|
360
|
+
HIT.add_member(:max_assignments, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxAssignments"))
|
361
|
+
HIT.add_member(:reward, Shapes::ShapeRef.new(shape: NumericValue, location_name: "Reward"))
|
362
|
+
HIT.add_member(:auto_approval_delay_in_seconds, Shapes::ShapeRef.new(shape: Long, location_name: "AutoApprovalDelayInSeconds"))
|
363
|
+
HIT.add_member(:expiration, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Expiration"))
|
364
|
+
HIT.add_member(:assignment_duration_in_seconds, Shapes::ShapeRef.new(shape: Long, location_name: "AssignmentDurationInSeconds"))
|
365
|
+
HIT.add_member(:requester_annotation, Shapes::ShapeRef.new(shape: String, location_name: "RequesterAnnotation"))
|
366
|
+
HIT.add_member(:qualification_requirements, Shapes::ShapeRef.new(shape: QualificationRequirementList, location_name: "QualificationRequirements"))
|
367
|
+
HIT.add_member(:hit_review_status, Shapes::ShapeRef.new(shape: HITReviewStatus, location_name: "HITReviewStatus"))
|
368
|
+
HIT.add_member(:number_of_assignments_pending, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfAssignmentsPending"))
|
369
|
+
HIT.add_member(:number_of_assignments_available, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfAssignmentsAvailable"))
|
370
|
+
HIT.add_member(:number_of_assignments_completed, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfAssignmentsCompleted"))
|
371
|
+
HIT.struct_class = Types::HIT
|
372
|
+
|
373
|
+
HITLayoutParameter.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
374
|
+
HITLayoutParameter.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
|
375
|
+
HITLayoutParameter.struct_class = Types::HITLayoutParameter
|
376
|
+
|
377
|
+
HITLayoutParameterList.member = Shapes::ShapeRef.new(shape: HITLayoutParameter)
|
378
|
+
|
379
|
+
HITList.member = Shapes::ShapeRef.new(shape: HIT)
|
380
|
+
|
381
|
+
IntegerList.member = Shapes::ShapeRef.new(shape: Integer)
|
382
|
+
|
383
|
+
ListAssignmentsForHITRequest.add_member(:hit_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "HITId"))
|
384
|
+
ListAssignmentsForHITRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
385
|
+
ListAssignmentsForHITRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ResultSize, location_name: "MaxResults"))
|
386
|
+
ListAssignmentsForHITRequest.add_member(:assignment_statuses, Shapes::ShapeRef.new(shape: AssignmentStatusList, location_name: "AssignmentStatuses"))
|
387
|
+
ListAssignmentsForHITRequest.struct_class = Types::ListAssignmentsForHITRequest
|
388
|
+
|
389
|
+
ListAssignmentsForHITResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
390
|
+
ListAssignmentsForHITResponse.add_member(:num_results, Shapes::ShapeRef.new(shape: Integer, location_name: "NumResults"))
|
391
|
+
ListAssignmentsForHITResponse.add_member(:assignments, Shapes::ShapeRef.new(shape: AssignmentList, location_name: "Assignments"))
|
392
|
+
ListAssignmentsForHITResponse.struct_class = Types::ListAssignmentsForHITResponse
|
393
|
+
|
394
|
+
ListBonusPaymentsRequest.add_member(:hit_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "HITId"))
|
395
|
+
ListBonusPaymentsRequest.add_member(:assignment_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "AssignmentId"))
|
396
|
+
ListBonusPaymentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
397
|
+
ListBonusPaymentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ResultSize, location_name: "MaxResults"))
|
398
|
+
ListBonusPaymentsRequest.struct_class = Types::ListBonusPaymentsRequest
|
399
|
+
|
400
|
+
ListBonusPaymentsResponse.add_member(:num_results, Shapes::ShapeRef.new(shape: Integer, location_name: "NumResults"))
|
401
|
+
ListBonusPaymentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
402
|
+
ListBonusPaymentsResponse.add_member(:bonus_payments, Shapes::ShapeRef.new(shape: BonusPaymentList, location_name: "BonusPayments"))
|
403
|
+
ListBonusPaymentsResponse.struct_class = Types::ListBonusPaymentsResponse
|
404
|
+
|
405
|
+
ListHITsForQualificationTypeRequest.add_member(:qualification_type_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "QualificationTypeId"))
|
406
|
+
ListHITsForQualificationTypeRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
407
|
+
ListHITsForQualificationTypeRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ResultSize, location_name: "MaxResults"))
|
408
|
+
ListHITsForQualificationTypeRequest.struct_class = Types::ListHITsForQualificationTypeRequest
|
409
|
+
|
410
|
+
ListHITsForQualificationTypeResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
411
|
+
ListHITsForQualificationTypeResponse.add_member(:num_results, Shapes::ShapeRef.new(shape: Integer, location_name: "NumResults"))
|
412
|
+
ListHITsForQualificationTypeResponse.add_member(:hi_ts, Shapes::ShapeRef.new(shape: HITList, location_name: "HITs"))
|
413
|
+
ListHITsForQualificationTypeResponse.struct_class = Types::ListHITsForQualificationTypeResponse
|
414
|
+
|
415
|
+
ListHITsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
416
|
+
ListHITsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ResultSize, location_name: "MaxResults"))
|
417
|
+
ListHITsRequest.struct_class = Types::ListHITsRequest
|
418
|
+
|
419
|
+
ListHITsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
420
|
+
ListHITsResponse.add_member(:num_results, Shapes::ShapeRef.new(shape: Integer, location_name: "NumResults"))
|
421
|
+
ListHITsResponse.add_member(:hi_ts, Shapes::ShapeRef.new(shape: HITList, location_name: "HITs"))
|
422
|
+
ListHITsResponse.struct_class = Types::ListHITsResponse
|
423
|
+
|
424
|
+
ListQualificationRequestsRequest.add_member(:qualification_type_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "QualificationTypeId"))
|
425
|
+
ListQualificationRequestsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
426
|
+
ListQualificationRequestsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ResultSize, location_name: "MaxResults"))
|
427
|
+
ListQualificationRequestsRequest.struct_class = Types::ListQualificationRequestsRequest
|
428
|
+
|
429
|
+
ListQualificationRequestsResponse.add_member(:num_results, Shapes::ShapeRef.new(shape: Integer, location_name: "NumResults"))
|
430
|
+
ListQualificationRequestsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
431
|
+
ListQualificationRequestsResponse.add_member(:qualification_requests, Shapes::ShapeRef.new(shape: QualificationRequestList, location_name: "QualificationRequests"))
|
432
|
+
ListQualificationRequestsResponse.struct_class = Types::ListQualificationRequestsResponse
|
433
|
+
|
434
|
+
ListQualificationTypesRequest.add_member(:query, Shapes::ShapeRef.new(shape: String, location_name: "Query"))
|
435
|
+
ListQualificationTypesRequest.add_member(:must_be_requestable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "MustBeRequestable"))
|
436
|
+
ListQualificationTypesRequest.add_member(:must_be_owned_by_caller, Shapes::ShapeRef.new(shape: Boolean, location_name: "MustBeOwnedByCaller"))
|
437
|
+
ListQualificationTypesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
438
|
+
ListQualificationTypesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ResultSize, location_name: "MaxResults"))
|
439
|
+
ListQualificationTypesRequest.struct_class = Types::ListQualificationTypesRequest
|
440
|
+
|
441
|
+
ListQualificationTypesResponse.add_member(:num_results, Shapes::ShapeRef.new(shape: Integer, location_name: "NumResults"))
|
442
|
+
ListQualificationTypesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
443
|
+
ListQualificationTypesResponse.add_member(:qualification_types, Shapes::ShapeRef.new(shape: QualificationTypeList, location_name: "QualificationTypes"))
|
444
|
+
ListQualificationTypesResponse.struct_class = Types::ListQualificationTypesResponse
|
445
|
+
|
446
|
+
ListReviewPolicyResultsForHITRequest.add_member(:hit_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "HITId"))
|
447
|
+
ListReviewPolicyResultsForHITRequest.add_member(:policy_levels, Shapes::ShapeRef.new(shape: ReviewPolicyLevelList, location_name: "PolicyLevels"))
|
448
|
+
ListReviewPolicyResultsForHITRequest.add_member(:retrieve_actions, Shapes::ShapeRef.new(shape: Boolean, location_name: "RetrieveActions"))
|
449
|
+
ListReviewPolicyResultsForHITRequest.add_member(:retrieve_results, Shapes::ShapeRef.new(shape: Boolean, location_name: "RetrieveResults"))
|
450
|
+
ListReviewPolicyResultsForHITRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
451
|
+
ListReviewPolicyResultsForHITRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ResultSize, location_name: "MaxResults"))
|
452
|
+
ListReviewPolicyResultsForHITRequest.struct_class = Types::ListReviewPolicyResultsForHITRequest
|
453
|
+
|
454
|
+
ListReviewPolicyResultsForHITResponse.add_member(:hit_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "HITId"))
|
455
|
+
ListReviewPolicyResultsForHITResponse.add_member(:assignment_review_policy, Shapes::ShapeRef.new(shape: ReviewPolicy, location_name: "AssignmentReviewPolicy"))
|
456
|
+
ListReviewPolicyResultsForHITResponse.add_member(:hit_review_policy, Shapes::ShapeRef.new(shape: ReviewPolicy, location_name: "HITReviewPolicy"))
|
457
|
+
ListReviewPolicyResultsForHITResponse.add_member(:assignment_review_report, Shapes::ShapeRef.new(shape: ReviewReport, location_name: "AssignmentReviewReport"))
|
458
|
+
ListReviewPolicyResultsForHITResponse.add_member(:hit_review_report, Shapes::ShapeRef.new(shape: ReviewReport, location_name: "HITReviewReport"))
|
459
|
+
ListReviewPolicyResultsForHITResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
460
|
+
ListReviewPolicyResultsForHITResponse.struct_class = Types::ListReviewPolicyResultsForHITResponse
|
461
|
+
|
462
|
+
ListReviewableHITsRequest.add_member(:hit_type_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "HITTypeId"))
|
463
|
+
ListReviewableHITsRequest.add_member(:status, Shapes::ShapeRef.new(shape: ReviewableHITStatus, location_name: "Status"))
|
464
|
+
ListReviewableHITsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
465
|
+
ListReviewableHITsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ResultSize, location_name: "MaxResults"))
|
466
|
+
ListReviewableHITsRequest.struct_class = Types::ListReviewableHITsRequest
|
467
|
+
|
468
|
+
ListReviewableHITsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
469
|
+
ListReviewableHITsResponse.add_member(:num_results, Shapes::ShapeRef.new(shape: Integer, location_name: "NumResults"))
|
470
|
+
ListReviewableHITsResponse.add_member(:hi_ts, Shapes::ShapeRef.new(shape: HITList, location_name: "HITs"))
|
471
|
+
ListReviewableHITsResponse.struct_class = Types::ListReviewableHITsResponse
|
472
|
+
|
473
|
+
ListWorkerBlocksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
474
|
+
ListWorkerBlocksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ResultSize, location_name: "MaxResults"))
|
475
|
+
ListWorkerBlocksRequest.struct_class = Types::ListWorkerBlocksRequest
|
476
|
+
|
477
|
+
ListWorkerBlocksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
478
|
+
ListWorkerBlocksResponse.add_member(:num_results, Shapes::ShapeRef.new(shape: Integer, location_name: "NumResults"))
|
479
|
+
ListWorkerBlocksResponse.add_member(:worker_blocks, Shapes::ShapeRef.new(shape: WorkerBlockList, location_name: "WorkerBlocks"))
|
480
|
+
ListWorkerBlocksResponse.struct_class = Types::ListWorkerBlocksResponse
|
481
|
+
|
482
|
+
ListWorkersWithQualificationTypeRequest.add_member(:qualification_type_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "QualificationTypeId"))
|
483
|
+
ListWorkersWithQualificationTypeRequest.add_member(:status, Shapes::ShapeRef.new(shape: QualificationStatus, location_name: "Status"))
|
484
|
+
ListWorkersWithQualificationTypeRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
485
|
+
ListWorkersWithQualificationTypeRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ResultSize, location_name: "MaxResults"))
|
486
|
+
ListWorkersWithQualificationTypeRequest.struct_class = Types::ListWorkersWithQualificationTypeRequest
|
487
|
+
|
488
|
+
ListWorkersWithQualificationTypeResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
489
|
+
ListWorkersWithQualificationTypeResponse.add_member(:num_results, Shapes::ShapeRef.new(shape: Integer, location_name: "NumResults"))
|
490
|
+
ListWorkersWithQualificationTypeResponse.add_member(:qualifications, Shapes::ShapeRef.new(shape: QualificationList, location_name: "Qualifications"))
|
491
|
+
ListWorkersWithQualificationTypeResponse.struct_class = Types::ListWorkersWithQualificationTypeResponse
|
492
|
+
|
493
|
+
Locale.add_member(:country, Shapes::ShapeRef.new(shape: CountryParameters, required: true, location_name: "Country"))
|
494
|
+
Locale.add_member(:subdivision, Shapes::ShapeRef.new(shape: CountryParameters, location_name: "Subdivision"))
|
495
|
+
Locale.struct_class = Types::Locale
|
496
|
+
|
497
|
+
LocaleList.member = Shapes::ShapeRef.new(shape: Locale)
|
498
|
+
|
499
|
+
NotificationSpecification.add_member(:destination, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Destination"))
|
500
|
+
NotificationSpecification.add_member(:transport, Shapes::ShapeRef.new(shape: NotificationTransport, required: true, location_name: "Transport"))
|
501
|
+
NotificationSpecification.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "Version"))
|
502
|
+
NotificationSpecification.add_member(:event_types, Shapes::ShapeRef.new(shape: EventTypeList, location_name: "EventTypes"))
|
503
|
+
NotificationSpecification.struct_class = Types::NotificationSpecification
|
504
|
+
|
505
|
+
NotifyWorkersFailureStatus.add_member(:notify_workers_failure_code, Shapes::ShapeRef.new(shape: NotifyWorkersFailureCode, location_name: "NotifyWorkersFailureCode"))
|
506
|
+
NotifyWorkersFailureStatus.add_member(:notify_workers_failure_message, Shapes::ShapeRef.new(shape: String, location_name: "NotifyWorkersFailureMessage"))
|
507
|
+
NotifyWorkersFailureStatus.add_member(:worker_id, Shapes::ShapeRef.new(shape: CustomerId, location_name: "WorkerId"))
|
508
|
+
NotifyWorkersFailureStatus.struct_class = Types::NotifyWorkersFailureStatus
|
509
|
+
|
510
|
+
NotifyWorkersFailureStatusList.member = Shapes::ShapeRef.new(shape: NotifyWorkersFailureStatus)
|
511
|
+
|
512
|
+
NotifyWorkersRequest.add_member(:subject, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Subject"))
|
513
|
+
NotifyWorkersRequest.add_member(:message_text, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MessageText"))
|
514
|
+
NotifyWorkersRequest.add_member(:worker_ids, Shapes::ShapeRef.new(shape: CustomerIdList, required: true, location_name: "WorkerIds"))
|
515
|
+
NotifyWorkersRequest.struct_class = Types::NotifyWorkersRequest
|
516
|
+
|
517
|
+
NotifyWorkersResponse.add_member(:notify_workers_failure_statuses, Shapes::ShapeRef.new(shape: NotifyWorkersFailureStatusList, location_name: "NotifyWorkersFailureStatuses"))
|
518
|
+
NotifyWorkersResponse.struct_class = Types::NotifyWorkersResponse
|
519
|
+
|
520
|
+
ParameterMapEntry.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "Key"))
|
521
|
+
ParameterMapEntry.add_member(:values, Shapes::ShapeRef.new(shape: StringList, location_name: "Values"))
|
522
|
+
ParameterMapEntry.struct_class = Types::ParameterMapEntry
|
523
|
+
|
524
|
+
ParameterMapEntryList.member = Shapes::ShapeRef.new(shape: ParameterMapEntry)
|
525
|
+
|
526
|
+
PolicyParameter.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "Key"))
|
527
|
+
PolicyParameter.add_member(:values, Shapes::ShapeRef.new(shape: StringList, location_name: "Values"))
|
528
|
+
PolicyParameter.add_member(:map_entries, Shapes::ShapeRef.new(shape: ParameterMapEntryList, location_name: "MapEntries"))
|
529
|
+
PolicyParameter.struct_class = Types::PolicyParameter
|
530
|
+
|
531
|
+
PolicyParameterList.member = Shapes::ShapeRef.new(shape: PolicyParameter)
|
532
|
+
|
533
|
+
Qualification.add_member(:qualification_type_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "QualificationTypeId"))
|
534
|
+
Qualification.add_member(:worker_id, Shapes::ShapeRef.new(shape: CustomerId, location_name: "WorkerId"))
|
535
|
+
Qualification.add_member(:grant_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "GrantTime"))
|
536
|
+
Qualification.add_member(:integer_value, Shapes::ShapeRef.new(shape: Integer, location_name: "IntegerValue"))
|
537
|
+
Qualification.add_member(:locale_value, Shapes::ShapeRef.new(shape: Locale, location_name: "LocaleValue"))
|
538
|
+
Qualification.add_member(:status, Shapes::ShapeRef.new(shape: QualificationStatus, location_name: "Status"))
|
539
|
+
Qualification.struct_class = Types::Qualification
|
540
|
+
|
541
|
+
QualificationList.member = Shapes::ShapeRef.new(shape: Qualification)
|
542
|
+
|
543
|
+
QualificationRequest.add_member(:qualification_request_id, Shapes::ShapeRef.new(shape: String, location_name: "QualificationRequestId"))
|
544
|
+
QualificationRequest.add_member(:qualification_type_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "QualificationTypeId"))
|
545
|
+
QualificationRequest.add_member(:worker_id, Shapes::ShapeRef.new(shape: CustomerId, location_name: "WorkerId"))
|
546
|
+
QualificationRequest.add_member(:test, Shapes::ShapeRef.new(shape: String, location_name: "Test"))
|
547
|
+
QualificationRequest.add_member(:answer, Shapes::ShapeRef.new(shape: String, location_name: "Answer"))
|
548
|
+
QualificationRequest.add_member(:submit_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTime"))
|
549
|
+
QualificationRequest.struct_class = Types::QualificationRequest
|
550
|
+
|
551
|
+
QualificationRequestList.member = Shapes::ShapeRef.new(shape: QualificationRequest)
|
552
|
+
|
553
|
+
QualificationRequirement.add_member(:qualification_type_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QualificationTypeId"))
|
554
|
+
QualificationRequirement.add_member(:comparator, Shapes::ShapeRef.new(shape: Comparator, required: true, location_name: "Comparator"))
|
555
|
+
QualificationRequirement.add_member(:integer_values, Shapes::ShapeRef.new(shape: IntegerList, location_name: "IntegerValues"))
|
556
|
+
QualificationRequirement.add_member(:locale_values, Shapes::ShapeRef.new(shape: LocaleList, location_name: "LocaleValues"))
|
557
|
+
QualificationRequirement.add_member(:required_to_preview, Shapes::ShapeRef.new(shape: Boolean, location_name: "RequiredToPreview"))
|
558
|
+
QualificationRequirement.struct_class = Types::QualificationRequirement
|
559
|
+
|
560
|
+
QualificationRequirementList.member = Shapes::ShapeRef.new(shape: QualificationRequirement)
|
561
|
+
|
562
|
+
QualificationType.add_member(:qualification_type_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "QualificationTypeId"))
|
563
|
+
QualificationType.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
564
|
+
QualificationType.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
565
|
+
QualificationType.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
566
|
+
QualificationType.add_member(:keywords, Shapes::ShapeRef.new(shape: String, location_name: "Keywords"))
|
567
|
+
QualificationType.add_member(:qualification_type_status, Shapes::ShapeRef.new(shape: QualificationTypeStatus, location_name: "QualificationTypeStatus"))
|
568
|
+
QualificationType.add_member(:test, Shapes::ShapeRef.new(shape: String, location_name: "Test"))
|
569
|
+
QualificationType.add_member(:test_duration_in_seconds, Shapes::ShapeRef.new(shape: Long, location_name: "TestDurationInSeconds"))
|
570
|
+
QualificationType.add_member(:answer_key, Shapes::ShapeRef.new(shape: String, location_name: "AnswerKey"))
|
571
|
+
QualificationType.add_member(:retry_delay_in_seconds, Shapes::ShapeRef.new(shape: Long, location_name: "RetryDelayInSeconds"))
|
572
|
+
QualificationType.add_member(:is_requestable, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsRequestable"))
|
573
|
+
QualificationType.add_member(:auto_granted, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoGranted"))
|
574
|
+
QualificationType.add_member(:auto_granted_value, Shapes::ShapeRef.new(shape: Integer, location_name: "AutoGrantedValue"))
|
575
|
+
QualificationType.struct_class = Types::QualificationType
|
576
|
+
|
577
|
+
QualificationTypeList.member = Shapes::ShapeRef.new(shape: QualificationType)
|
578
|
+
|
579
|
+
RejectAssignmentRequest.add_member(:assignment_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "AssignmentId"))
|
580
|
+
RejectAssignmentRequest.add_member(:requester_feedback, Shapes::ShapeRef.new(shape: String, location_name: "RequesterFeedback"))
|
581
|
+
RejectAssignmentRequest.struct_class = Types::RejectAssignmentRequest
|
582
|
+
|
583
|
+
RejectAssignmentResponse.struct_class = Types::RejectAssignmentResponse
|
584
|
+
|
585
|
+
RejectQualificationRequestRequest.add_member(:qualification_request_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QualificationRequestId"))
|
586
|
+
RejectQualificationRequestRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "Reason"))
|
587
|
+
RejectQualificationRequestRequest.struct_class = Types::RejectQualificationRequestRequest
|
588
|
+
|
589
|
+
RejectQualificationRequestResponse.struct_class = Types::RejectQualificationRequestResponse
|
590
|
+
|
591
|
+
ReviewActionDetail.add_member(:action_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "ActionId"))
|
592
|
+
ReviewActionDetail.add_member(:action_name, Shapes::ShapeRef.new(shape: String, location_name: "ActionName"))
|
593
|
+
ReviewActionDetail.add_member(:target_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "TargetId"))
|
594
|
+
ReviewActionDetail.add_member(:target_type, Shapes::ShapeRef.new(shape: String, location_name: "TargetType"))
|
595
|
+
ReviewActionDetail.add_member(:status, Shapes::ShapeRef.new(shape: ReviewActionStatus, location_name: "Status"))
|
596
|
+
ReviewActionDetail.add_member(:complete_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CompleteTime"))
|
597
|
+
ReviewActionDetail.add_member(:result, Shapes::ShapeRef.new(shape: String, location_name: "Result"))
|
598
|
+
ReviewActionDetail.add_member(:error_code, Shapes::ShapeRef.new(shape: String, location_name: "ErrorCode"))
|
599
|
+
ReviewActionDetail.struct_class = Types::ReviewActionDetail
|
600
|
+
|
601
|
+
ReviewActionDetailList.member = Shapes::ShapeRef.new(shape: ReviewActionDetail)
|
602
|
+
|
603
|
+
ReviewPolicy.add_member(:policy_name, Shapes::ShapeRef.new(shape: String, location_name: "PolicyName"))
|
604
|
+
ReviewPolicy.add_member(:parameters, Shapes::ShapeRef.new(shape: PolicyParameterList, location_name: "Parameters"))
|
605
|
+
ReviewPolicy.struct_class = Types::ReviewPolicy
|
606
|
+
|
607
|
+
ReviewPolicyLevelList.member = Shapes::ShapeRef.new(shape: ReviewPolicyLevel)
|
608
|
+
|
609
|
+
ReviewReport.add_member(:review_results, Shapes::ShapeRef.new(shape: ReviewResultDetailList, location_name: "ReviewResults"))
|
610
|
+
ReviewReport.add_member(:review_actions, Shapes::ShapeRef.new(shape: ReviewActionDetailList, location_name: "ReviewActions"))
|
611
|
+
ReviewReport.struct_class = Types::ReviewReport
|
612
|
+
|
613
|
+
ReviewResultDetail.add_member(:action_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "ActionId"))
|
614
|
+
ReviewResultDetail.add_member(:subject_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "SubjectId"))
|
615
|
+
ReviewResultDetail.add_member(:subject_type, Shapes::ShapeRef.new(shape: String, location_name: "SubjectType"))
|
616
|
+
ReviewResultDetail.add_member(:question_id, Shapes::ShapeRef.new(shape: EntityId, location_name: "QuestionId"))
|
617
|
+
ReviewResultDetail.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "Key"))
|
618
|
+
ReviewResultDetail.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
|
619
|
+
ReviewResultDetail.struct_class = Types::ReviewResultDetail
|
620
|
+
|
621
|
+
ReviewResultDetailList.member = Shapes::ShapeRef.new(shape: ReviewResultDetail)
|
622
|
+
|
623
|
+
SendBonusRequest.add_member(:worker_id, Shapes::ShapeRef.new(shape: CustomerId, required: true, location_name: "WorkerId"))
|
624
|
+
SendBonusRequest.add_member(:bonus_amount, Shapes::ShapeRef.new(shape: NumericValue, required: true, location_name: "BonusAmount"))
|
625
|
+
SendBonusRequest.add_member(:assignment_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "AssignmentId"))
|
626
|
+
SendBonusRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "Reason"))
|
627
|
+
SendBonusRequest.add_member(:unique_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "UniqueRequestToken"))
|
628
|
+
SendBonusRequest.struct_class = Types::SendBonusRequest
|
629
|
+
|
630
|
+
SendBonusResponse.struct_class = Types::SendBonusResponse
|
631
|
+
|
632
|
+
SendTestEventNotificationRequest.add_member(:notification, Shapes::ShapeRef.new(shape: NotificationSpecification, required: true, location_name: "Notification"))
|
633
|
+
SendTestEventNotificationRequest.add_member(:test_event_type, Shapes::ShapeRef.new(shape: EventType, required: true, location_name: "TestEventType"))
|
634
|
+
SendTestEventNotificationRequest.struct_class = Types::SendTestEventNotificationRequest
|
635
|
+
|
636
|
+
SendTestEventNotificationResponse.struct_class = Types::SendTestEventNotificationResponse
|
637
|
+
|
638
|
+
StringList.member = Shapes::ShapeRef.new(shape: String)
|
639
|
+
|
640
|
+
UpdateExpirationForHITRequest.add_member(:hit_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "HITId"))
|
641
|
+
UpdateExpirationForHITRequest.add_member(:expire_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpireAt"))
|
642
|
+
UpdateExpirationForHITRequest.struct_class = Types::UpdateExpirationForHITRequest
|
643
|
+
|
644
|
+
UpdateExpirationForHITResponse.struct_class = Types::UpdateExpirationForHITResponse
|
645
|
+
|
646
|
+
UpdateHITReviewStatusRequest.add_member(:hit_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "HITId"))
|
647
|
+
UpdateHITReviewStatusRequest.add_member(:revert, Shapes::ShapeRef.new(shape: Boolean, location_name: "Revert"))
|
648
|
+
UpdateHITReviewStatusRequest.struct_class = Types::UpdateHITReviewStatusRequest
|
649
|
+
|
650
|
+
UpdateHITReviewStatusResponse.struct_class = Types::UpdateHITReviewStatusResponse
|
651
|
+
|
652
|
+
UpdateHITTypeOfHITRequest.add_member(:hit_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "HITId"))
|
653
|
+
UpdateHITTypeOfHITRequest.add_member(:hit_type_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "HITTypeId"))
|
654
|
+
UpdateHITTypeOfHITRequest.struct_class = Types::UpdateHITTypeOfHITRequest
|
655
|
+
|
656
|
+
UpdateHITTypeOfHITResponse.struct_class = Types::UpdateHITTypeOfHITResponse
|
657
|
+
|
658
|
+
UpdateNotificationSettingsRequest.add_member(:hit_type_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "HITTypeId"))
|
659
|
+
UpdateNotificationSettingsRequest.add_member(:notification, Shapes::ShapeRef.new(shape: NotificationSpecification, location_name: "Notification"))
|
660
|
+
UpdateNotificationSettingsRequest.add_member(:active, Shapes::ShapeRef.new(shape: Boolean, location_name: "Active"))
|
661
|
+
UpdateNotificationSettingsRequest.struct_class = Types::UpdateNotificationSettingsRequest
|
662
|
+
|
663
|
+
UpdateNotificationSettingsResponse.struct_class = Types::UpdateNotificationSettingsResponse
|
664
|
+
|
665
|
+
UpdateQualificationTypeRequest.add_member(:qualification_type_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "QualificationTypeId"))
|
666
|
+
UpdateQualificationTypeRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
667
|
+
UpdateQualificationTypeRequest.add_member(:qualification_type_status, Shapes::ShapeRef.new(shape: QualificationTypeStatus, location_name: "QualificationTypeStatus"))
|
668
|
+
UpdateQualificationTypeRequest.add_member(:test, Shapes::ShapeRef.new(shape: String, location_name: "Test"))
|
669
|
+
UpdateQualificationTypeRequest.add_member(:answer_key, Shapes::ShapeRef.new(shape: String, location_name: "AnswerKey"))
|
670
|
+
UpdateQualificationTypeRequest.add_member(:test_duration_in_seconds, Shapes::ShapeRef.new(shape: Long, location_name: "TestDurationInSeconds"))
|
671
|
+
UpdateQualificationTypeRequest.add_member(:retry_delay_in_seconds, Shapes::ShapeRef.new(shape: Long, location_name: "RetryDelayInSeconds"))
|
672
|
+
UpdateQualificationTypeRequest.add_member(:auto_granted, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoGranted"))
|
673
|
+
UpdateQualificationTypeRequest.add_member(:auto_granted_value, Shapes::ShapeRef.new(shape: Integer, location_name: "AutoGrantedValue"))
|
674
|
+
UpdateQualificationTypeRequest.struct_class = Types::UpdateQualificationTypeRequest
|
675
|
+
|
676
|
+
UpdateQualificationTypeResponse.add_member(:qualification_type, Shapes::ShapeRef.new(shape: QualificationType, location_name: "QualificationType"))
|
677
|
+
UpdateQualificationTypeResponse.struct_class = Types::UpdateQualificationTypeResponse
|
678
|
+
|
679
|
+
WorkerBlock.add_member(:worker_id, Shapes::ShapeRef.new(shape: CustomerId, location_name: "WorkerId"))
|
680
|
+
WorkerBlock.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "Reason"))
|
681
|
+
WorkerBlock.struct_class = Types::WorkerBlock
|
682
|
+
|
683
|
+
WorkerBlockList.member = Shapes::ShapeRef.new(shape: WorkerBlock)
|
684
|
+
|
685
|
+
|
686
|
+
# @api private
|
687
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
688
|
+
|
689
|
+
api.version = "2017-01-17"
|
690
|
+
|
691
|
+
api.metadata = {
|
692
|
+
"endpointPrefix" => "mturk-requester",
|
693
|
+
"jsonVersion" => "1.1",
|
694
|
+
"protocol" => "json",
|
695
|
+
"serviceFullName" => "Amazon Mechanical Turk",
|
696
|
+
"signatureVersion" => "v4",
|
697
|
+
"targetPrefix" => "MTurkRequesterServiceV20170117",
|
698
|
+
}
|
699
|
+
|
700
|
+
api.add_operation(:accept_qualification_request, Seahorse::Model::Operation.new.tap do |o|
|
701
|
+
o.name = "AcceptQualificationRequest"
|
702
|
+
o.http_method = "POST"
|
703
|
+
o.http_request_uri = "/"
|
704
|
+
o.input = Shapes::ShapeRef.new(shape: AcceptQualificationRequestRequest)
|
705
|
+
o.output = Shapes::ShapeRef.new(shape: AcceptQualificationRequestResponse)
|
706
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
707
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
708
|
+
end)
|
709
|
+
|
710
|
+
api.add_operation(:approve_assignment, Seahorse::Model::Operation.new.tap do |o|
|
711
|
+
o.name = "ApproveAssignment"
|
712
|
+
o.http_method = "POST"
|
713
|
+
o.http_request_uri = "/"
|
714
|
+
o.input = Shapes::ShapeRef.new(shape: ApproveAssignmentRequest)
|
715
|
+
o.output = Shapes::ShapeRef.new(shape: ApproveAssignmentResponse)
|
716
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
717
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
718
|
+
end)
|
719
|
+
|
720
|
+
api.add_operation(:associate_qualification_with_worker, Seahorse::Model::Operation.new.tap do |o|
|
721
|
+
o.name = "AssociateQualificationWithWorker"
|
722
|
+
o.http_method = "POST"
|
723
|
+
o.http_request_uri = "/"
|
724
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateQualificationWithWorkerRequest)
|
725
|
+
o.output = Shapes::ShapeRef.new(shape: AssociateQualificationWithWorkerResponse)
|
726
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
727
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
728
|
+
end)
|
729
|
+
|
730
|
+
api.add_operation(:create_additional_assignments_for_hit, Seahorse::Model::Operation.new.tap do |o|
|
731
|
+
o.name = "CreateAdditionalAssignmentsForHIT"
|
732
|
+
o.http_method = "POST"
|
733
|
+
o.http_request_uri = "/"
|
734
|
+
o.input = Shapes::ShapeRef.new(shape: CreateAdditionalAssignmentsForHITRequest)
|
735
|
+
o.output = Shapes::ShapeRef.new(shape: CreateAdditionalAssignmentsForHITResponse)
|
736
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
737
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
738
|
+
end)
|
739
|
+
|
740
|
+
api.add_operation(:create_hit, Seahorse::Model::Operation.new.tap do |o|
|
741
|
+
o.name = "CreateHIT"
|
742
|
+
o.http_method = "POST"
|
743
|
+
o.http_request_uri = "/"
|
744
|
+
o.input = Shapes::ShapeRef.new(shape: CreateHITRequest)
|
745
|
+
o.output = Shapes::ShapeRef.new(shape: CreateHITResponse)
|
746
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
747
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
748
|
+
end)
|
749
|
+
|
750
|
+
api.add_operation(:create_hit_type, Seahorse::Model::Operation.new.tap do |o|
|
751
|
+
o.name = "CreateHITType"
|
752
|
+
o.http_method = "POST"
|
753
|
+
o.http_request_uri = "/"
|
754
|
+
o.input = Shapes::ShapeRef.new(shape: CreateHITTypeRequest)
|
755
|
+
o.output = Shapes::ShapeRef.new(shape: CreateHITTypeResponse)
|
756
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
757
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
758
|
+
end)
|
759
|
+
|
760
|
+
api.add_operation(:create_hit_with_hit_type, Seahorse::Model::Operation.new.tap do |o|
|
761
|
+
o.name = "CreateHITWithHITType"
|
762
|
+
o.http_method = "POST"
|
763
|
+
o.http_request_uri = "/"
|
764
|
+
o.input = Shapes::ShapeRef.new(shape: CreateHITWithHITTypeRequest)
|
765
|
+
o.output = Shapes::ShapeRef.new(shape: CreateHITWithHITTypeResponse)
|
766
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
767
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
768
|
+
end)
|
769
|
+
|
770
|
+
api.add_operation(:create_qualification_type, Seahorse::Model::Operation.new.tap do |o|
|
771
|
+
o.name = "CreateQualificationType"
|
772
|
+
o.http_method = "POST"
|
773
|
+
o.http_request_uri = "/"
|
774
|
+
o.input = Shapes::ShapeRef.new(shape: CreateQualificationTypeRequest)
|
775
|
+
o.output = Shapes::ShapeRef.new(shape: CreateQualificationTypeResponse)
|
776
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
777
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
778
|
+
end)
|
779
|
+
|
780
|
+
api.add_operation(:create_worker_block, Seahorse::Model::Operation.new.tap do |o|
|
781
|
+
o.name = "CreateWorkerBlock"
|
782
|
+
o.http_method = "POST"
|
783
|
+
o.http_request_uri = "/"
|
784
|
+
o.input = Shapes::ShapeRef.new(shape: CreateWorkerBlockRequest)
|
785
|
+
o.output = Shapes::ShapeRef.new(shape: CreateWorkerBlockResponse)
|
786
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
787
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
788
|
+
end)
|
789
|
+
|
790
|
+
api.add_operation(:delete_hit, Seahorse::Model::Operation.new.tap do |o|
|
791
|
+
o.name = "DeleteHIT"
|
792
|
+
o.http_method = "POST"
|
793
|
+
o.http_request_uri = "/"
|
794
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteHITRequest)
|
795
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteHITResponse)
|
796
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
797
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
798
|
+
end)
|
799
|
+
|
800
|
+
api.add_operation(:delete_qualification_type, Seahorse::Model::Operation.new.tap do |o|
|
801
|
+
o.name = "DeleteQualificationType"
|
802
|
+
o.http_method = "POST"
|
803
|
+
o.http_request_uri = "/"
|
804
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteQualificationTypeRequest)
|
805
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteQualificationTypeResponse)
|
806
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
807
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
808
|
+
end)
|
809
|
+
|
810
|
+
api.add_operation(:delete_worker_block, Seahorse::Model::Operation.new.tap do |o|
|
811
|
+
o.name = "DeleteWorkerBlock"
|
812
|
+
o.http_method = "POST"
|
813
|
+
o.http_request_uri = "/"
|
814
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteWorkerBlockRequest)
|
815
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteWorkerBlockResponse)
|
816
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
817
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
818
|
+
end)
|
819
|
+
|
820
|
+
api.add_operation(:disassociate_qualification_from_worker, Seahorse::Model::Operation.new.tap do |o|
|
821
|
+
o.name = "DisassociateQualificationFromWorker"
|
822
|
+
o.http_method = "POST"
|
823
|
+
o.http_request_uri = "/"
|
824
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateQualificationFromWorkerRequest)
|
825
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateQualificationFromWorkerResponse)
|
826
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
827
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
828
|
+
end)
|
829
|
+
|
830
|
+
api.add_operation(:get_account_balance, Seahorse::Model::Operation.new.tap do |o|
|
831
|
+
o.name = "GetAccountBalance"
|
832
|
+
o.http_method = "POST"
|
833
|
+
o.http_request_uri = "/"
|
834
|
+
o.input = Shapes::ShapeRef.new(shape: GetAccountBalanceRequest)
|
835
|
+
o.output = Shapes::ShapeRef.new(shape: GetAccountBalanceResponse)
|
836
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
837
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
838
|
+
end)
|
839
|
+
|
840
|
+
api.add_operation(:get_assignment, Seahorse::Model::Operation.new.tap do |o|
|
841
|
+
o.name = "GetAssignment"
|
842
|
+
o.http_method = "POST"
|
843
|
+
o.http_request_uri = "/"
|
844
|
+
o.input = Shapes::ShapeRef.new(shape: GetAssignmentRequest)
|
845
|
+
o.output = Shapes::ShapeRef.new(shape: GetAssignmentResponse)
|
846
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
847
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
848
|
+
end)
|
849
|
+
|
850
|
+
api.add_operation(:get_file_upload_url, Seahorse::Model::Operation.new.tap do |o|
|
851
|
+
o.name = "GetFileUploadURL"
|
852
|
+
o.http_method = "POST"
|
853
|
+
o.http_request_uri = "/"
|
854
|
+
o.input = Shapes::ShapeRef.new(shape: GetFileUploadURLRequest)
|
855
|
+
o.output = Shapes::ShapeRef.new(shape: GetFileUploadURLResponse)
|
856
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
857
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
858
|
+
end)
|
859
|
+
|
860
|
+
api.add_operation(:get_hit, Seahorse::Model::Operation.new.tap do |o|
|
861
|
+
o.name = "GetHIT"
|
862
|
+
o.http_method = "POST"
|
863
|
+
o.http_request_uri = "/"
|
864
|
+
o.input = Shapes::ShapeRef.new(shape: GetHITRequest)
|
865
|
+
o.output = Shapes::ShapeRef.new(shape: GetHITResponse)
|
866
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
867
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
868
|
+
end)
|
869
|
+
|
870
|
+
api.add_operation(:get_qualification_score, Seahorse::Model::Operation.new.tap do |o|
|
871
|
+
o.name = "GetQualificationScore"
|
872
|
+
o.http_method = "POST"
|
873
|
+
o.http_request_uri = "/"
|
874
|
+
o.input = Shapes::ShapeRef.new(shape: GetQualificationScoreRequest)
|
875
|
+
o.output = Shapes::ShapeRef.new(shape: GetQualificationScoreResponse)
|
876
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
877
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
878
|
+
end)
|
879
|
+
|
880
|
+
api.add_operation(:get_qualification_type, Seahorse::Model::Operation.new.tap do |o|
|
881
|
+
o.name = "GetQualificationType"
|
882
|
+
o.http_method = "POST"
|
883
|
+
o.http_request_uri = "/"
|
884
|
+
o.input = Shapes::ShapeRef.new(shape: GetQualificationTypeRequest)
|
885
|
+
o.output = Shapes::ShapeRef.new(shape: GetQualificationTypeResponse)
|
886
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
887
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
888
|
+
end)
|
889
|
+
|
890
|
+
api.add_operation(:list_assignments_for_hit, Seahorse::Model::Operation.new.tap do |o|
|
891
|
+
o.name = "ListAssignmentsForHIT"
|
892
|
+
o.http_method = "POST"
|
893
|
+
o.http_request_uri = "/"
|
894
|
+
o.input = Shapes::ShapeRef.new(shape: ListAssignmentsForHITRequest)
|
895
|
+
o.output = Shapes::ShapeRef.new(shape: ListAssignmentsForHITResponse)
|
896
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
897
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
898
|
+
o[:pager] = Aws::Pager.new(
|
899
|
+
limit_key: "max_results",
|
900
|
+
tokens: {
|
901
|
+
"next_token" => "next_token"
|
902
|
+
}
|
903
|
+
)
|
904
|
+
end)
|
905
|
+
|
906
|
+
api.add_operation(:list_bonus_payments, Seahorse::Model::Operation.new.tap do |o|
|
907
|
+
o.name = "ListBonusPayments"
|
908
|
+
o.http_method = "POST"
|
909
|
+
o.http_request_uri = "/"
|
910
|
+
o.input = Shapes::ShapeRef.new(shape: ListBonusPaymentsRequest)
|
911
|
+
o.output = Shapes::ShapeRef.new(shape: ListBonusPaymentsResponse)
|
912
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
913
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
914
|
+
o[:pager] = Aws::Pager.new(
|
915
|
+
limit_key: "max_results",
|
916
|
+
tokens: {
|
917
|
+
"next_token" => "next_token"
|
918
|
+
}
|
919
|
+
)
|
920
|
+
end)
|
921
|
+
|
922
|
+
api.add_operation(:list_hi_ts, Seahorse::Model::Operation.new.tap do |o|
|
923
|
+
o.name = "ListHITs"
|
924
|
+
o.http_method = "POST"
|
925
|
+
o.http_request_uri = "/"
|
926
|
+
o.input = Shapes::ShapeRef.new(shape: ListHITsRequest)
|
927
|
+
o.output = Shapes::ShapeRef.new(shape: ListHITsResponse)
|
928
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
929
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
930
|
+
o[:pager] = Aws::Pager.new(
|
931
|
+
limit_key: "max_results",
|
932
|
+
tokens: {
|
933
|
+
"next_token" => "next_token"
|
934
|
+
}
|
935
|
+
)
|
936
|
+
end)
|
937
|
+
|
938
|
+
api.add_operation(:list_hi_ts_for_qualification_type, Seahorse::Model::Operation.new.tap do |o|
|
939
|
+
o.name = "ListHITsForQualificationType"
|
940
|
+
o.http_method = "POST"
|
941
|
+
o.http_request_uri = "/"
|
942
|
+
o.input = Shapes::ShapeRef.new(shape: ListHITsForQualificationTypeRequest)
|
943
|
+
o.output = Shapes::ShapeRef.new(shape: ListHITsForQualificationTypeResponse)
|
944
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
945
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
946
|
+
o[:pager] = Aws::Pager.new(
|
947
|
+
limit_key: "max_results",
|
948
|
+
tokens: {
|
949
|
+
"next_token" => "next_token"
|
950
|
+
}
|
951
|
+
)
|
952
|
+
end)
|
953
|
+
|
954
|
+
api.add_operation(:list_qualification_requests, Seahorse::Model::Operation.new.tap do |o|
|
955
|
+
o.name = "ListQualificationRequests"
|
956
|
+
o.http_method = "POST"
|
957
|
+
o.http_request_uri = "/"
|
958
|
+
o.input = Shapes::ShapeRef.new(shape: ListQualificationRequestsRequest)
|
959
|
+
o.output = Shapes::ShapeRef.new(shape: ListQualificationRequestsResponse)
|
960
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
961
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
962
|
+
o[:pager] = Aws::Pager.new(
|
963
|
+
limit_key: "max_results",
|
964
|
+
tokens: {
|
965
|
+
"next_token" => "next_token"
|
966
|
+
}
|
967
|
+
)
|
968
|
+
end)
|
969
|
+
|
970
|
+
api.add_operation(:list_qualification_types, Seahorse::Model::Operation.new.tap do |o|
|
971
|
+
o.name = "ListQualificationTypes"
|
972
|
+
o.http_method = "POST"
|
973
|
+
o.http_request_uri = "/"
|
974
|
+
o.input = Shapes::ShapeRef.new(shape: ListQualificationTypesRequest)
|
975
|
+
o.output = Shapes::ShapeRef.new(shape: ListQualificationTypesResponse)
|
976
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
977
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
978
|
+
o[:pager] = Aws::Pager.new(
|
979
|
+
limit_key: "max_results",
|
980
|
+
tokens: {
|
981
|
+
"next_token" => "next_token"
|
982
|
+
}
|
983
|
+
)
|
984
|
+
end)
|
985
|
+
|
986
|
+
api.add_operation(:list_review_policy_results_for_hit, Seahorse::Model::Operation.new.tap do |o|
|
987
|
+
o.name = "ListReviewPolicyResultsForHIT"
|
988
|
+
o.http_method = "POST"
|
989
|
+
o.http_request_uri = "/"
|
990
|
+
o.input = Shapes::ShapeRef.new(shape: ListReviewPolicyResultsForHITRequest)
|
991
|
+
o.output = Shapes::ShapeRef.new(shape: ListReviewPolicyResultsForHITResponse)
|
992
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
993
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
994
|
+
o[:pager] = Aws::Pager.new(
|
995
|
+
limit_key: "max_results",
|
996
|
+
tokens: {
|
997
|
+
"next_token" => "next_token"
|
998
|
+
}
|
999
|
+
)
|
1000
|
+
end)
|
1001
|
+
|
1002
|
+
api.add_operation(:list_reviewable_hi_ts, Seahorse::Model::Operation.new.tap do |o|
|
1003
|
+
o.name = "ListReviewableHITs"
|
1004
|
+
o.http_method = "POST"
|
1005
|
+
o.http_request_uri = "/"
|
1006
|
+
o.input = Shapes::ShapeRef.new(shape: ListReviewableHITsRequest)
|
1007
|
+
o.output = Shapes::ShapeRef.new(shape: ListReviewableHITsResponse)
|
1008
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
1009
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
1010
|
+
o[:pager] = Aws::Pager.new(
|
1011
|
+
limit_key: "max_results",
|
1012
|
+
tokens: {
|
1013
|
+
"next_token" => "next_token"
|
1014
|
+
}
|
1015
|
+
)
|
1016
|
+
end)
|
1017
|
+
|
1018
|
+
api.add_operation(:list_worker_blocks, Seahorse::Model::Operation.new.tap do |o|
|
1019
|
+
o.name = "ListWorkerBlocks"
|
1020
|
+
o.http_method = "POST"
|
1021
|
+
o.http_request_uri = "/"
|
1022
|
+
o.input = Shapes::ShapeRef.new(shape: ListWorkerBlocksRequest)
|
1023
|
+
o.output = Shapes::ShapeRef.new(shape: ListWorkerBlocksResponse)
|
1024
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
1025
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
1026
|
+
o[:pager] = Aws::Pager.new(
|
1027
|
+
limit_key: "max_results",
|
1028
|
+
tokens: {
|
1029
|
+
"next_token" => "next_token"
|
1030
|
+
}
|
1031
|
+
)
|
1032
|
+
end)
|
1033
|
+
|
1034
|
+
api.add_operation(:list_workers_with_qualification_type, Seahorse::Model::Operation.new.tap do |o|
|
1035
|
+
o.name = "ListWorkersWithQualificationType"
|
1036
|
+
o.http_method = "POST"
|
1037
|
+
o.http_request_uri = "/"
|
1038
|
+
o.input = Shapes::ShapeRef.new(shape: ListWorkersWithQualificationTypeRequest)
|
1039
|
+
o.output = Shapes::ShapeRef.new(shape: ListWorkersWithQualificationTypeResponse)
|
1040
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
1041
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
1042
|
+
o[:pager] = Aws::Pager.new(
|
1043
|
+
limit_key: "max_results",
|
1044
|
+
tokens: {
|
1045
|
+
"next_token" => "next_token"
|
1046
|
+
}
|
1047
|
+
)
|
1048
|
+
end)
|
1049
|
+
|
1050
|
+
api.add_operation(:notify_workers, Seahorse::Model::Operation.new.tap do |o|
|
1051
|
+
o.name = "NotifyWorkers"
|
1052
|
+
o.http_method = "POST"
|
1053
|
+
o.http_request_uri = "/"
|
1054
|
+
o.input = Shapes::ShapeRef.new(shape: NotifyWorkersRequest)
|
1055
|
+
o.output = Shapes::ShapeRef.new(shape: NotifyWorkersResponse)
|
1056
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
1057
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
1058
|
+
end)
|
1059
|
+
|
1060
|
+
api.add_operation(:reject_assignment, Seahorse::Model::Operation.new.tap do |o|
|
1061
|
+
o.name = "RejectAssignment"
|
1062
|
+
o.http_method = "POST"
|
1063
|
+
o.http_request_uri = "/"
|
1064
|
+
o.input = Shapes::ShapeRef.new(shape: RejectAssignmentRequest)
|
1065
|
+
o.output = Shapes::ShapeRef.new(shape: RejectAssignmentResponse)
|
1066
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
1067
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
1068
|
+
end)
|
1069
|
+
|
1070
|
+
api.add_operation(:reject_qualification_request, Seahorse::Model::Operation.new.tap do |o|
|
1071
|
+
o.name = "RejectQualificationRequest"
|
1072
|
+
o.http_method = "POST"
|
1073
|
+
o.http_request_uri = "/"
|
1074
|
+
o.input = Shapes::ShapeRef.new(shape: RejectQualificationRequestRequest)
|
1075
|
+
o.output = Shapes::ShapeRef.new(shape: RejectQualificationRequestResponse)
|
1076
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
1077
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
1078
|
+
end)
|
1079
|
+
|
1080
|
+
api.add_operation(:send_bonus, Seahorse::Model::Operation.new.tap do |o|
|
1081
|
+
o.name = "SendBonus"
|
1082
|
+
o.http_method = "POST"
|
1083
|
+
o.http_request_uri = "/"
|
1084
|
+
o.input = Shapes::ShapeRef.new(shape: SendBonusRequest)
|
1085
|
+
o.output = Shapes::ShapeRef.new(shape: SendBonusResponse)
|
1086
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
1087
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
1088
|
+
end)
|
1089
|
+
|
1090
|
+
api.add_operation(:send_test_event_notification, Seahorse::Model::Operation.new.tap do |o|
|
1091
|
+
o.name = "SendTestEventNotification"
|
1092
|
+
o.http_method = "POST"
|
1093
|
+
o.http_request_uri = "/"
|
1094
|
+
o.input = Shapes::ShapeRef.new(shape: SendTestEventNotificationRequest)
|
1095
|
+
o.output = Shapes::ShapeRef.new(shape: SendTestEventNotificationResponse)
|
1096
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
1097
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
1098
|
+
end)
|
1099
|
+
|
1100
|
+
api.add_operation(:update_expiration_for_hit, Seahorse::Model::Operation.new.tap do |o|
|
1101
|
+
o.name = "UpdateExpirationForHIT"
|
1102
|
+
o.http_method = "POST"
|
1103
|
+
o.http_request_uri = "/"
|
1104
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateExpirationForHITRequest)
|
1105
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateExpirationForHITResponse)
|
1106
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
1107
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
1108
|
+
end)
|
1109
|
+
|
1110
|
+
api.add_operation(:update_hit_review_status, Seahorse::Model::Operation.new.tap do |o|
|
1111
|
+
o.name = "UpdateHITReviewStatus"
|
1112
|
+
o.http_method = "POST"
|
1113
|
+
o.http_request_uri = "/"
|
1114
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateHITReviewStatusRequest)
|
1115
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateHITReviewStatusResponse)
|
1116
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
1117
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
1118
|
+
end)
|
1119
|
+
|
1120
|
+
api.add_operation(:update_hit_type_of_hit, Seahorse::Model::Operation.new.tap do |o|
|
1121
|
+
o.name = "UpdateHITTypeOfHIT"
|
1122
|
+
o.http_method = "POST"
|
1123
|
+
o.http_request_uri = "/"
|
1124
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateHITTypeOfHITRequest)
|
1125
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateHITTypeOfHITResponse)
|
1126
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
1127
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
1128
|
+
end)
|
1129
|
+
|
1130
|
+
api.add_operation(:update_notification_settings, Seahorse::Model::Operation.new.tap do |o|
|
1131
|
+
o.name = "UpdateNotificationSettings"
|
1132
|
+
o.http_method = "POST"
|
1133
|
+
o.http_request_uri = "/"
|
1134
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateNotificationSettingsRequest)
|
1135
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateNotificationSettingsResponse)
|
1136
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
1137
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
1138
|
+
end)
|
1139
|
+
|
1140
|
+
api.add_operation(:update_qualification_type, Seahorse::Model::Operation.new.tap do |o|
|
1141
|
+
o.name = "UpdateQualificationType"
|
1142
|
+
o.http_method = "POST"
|
1143
|
+
o.http_request_uri = "/"
|
1144
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateQualificationTypeRequest)
|
1145
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateQualificationTypeResponse)
|
1146
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFault)
|
1147
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestError)
|
1148
|
+
end)
|
1149
|
+
end
|
1150
|
+
|
1151
|
+
end
|
1152
|
+
end
|