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