@aws-sdk/client-mturk 3.687.0 → 3.691.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.
@@ -2,27 +2,27 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
2
2
  import { MTurkServiceException as __BaseException } from "./MTurkServiceException";
3
3
  export interface AcceptQualificationRequestRequest {
4
4
  QualificationRequestId: string | undefined;
5
- IntegerValue?: number;
5
+ IntegerValue?: number | undefined;
6
6
  }
7
7
  export interface AcceptQualificationRequestResponse {}
8
8
  export declare class RequestError extends __BaseException {
9
9
  readonly name: "RequestError";
10
10
  readonly $fault: "client";
11
- Message?: string;
12
- TurkErrorCode?: string;
11
+ Message?: string | undefined;
12
+ TurkErrorCode?: string | undefined;
13
13
  constructor(opts: __ExceptionOptionType<RequestError, __BaseException>);
14
14
  }
15
15
  export declare class ServiceFault extends __BaseException {
16
16
  readonly name: "ServiceFault";
17
17
  readonly $fault: "server";
18
- Message?: string;
19
- TurkErrorCode?: string;
18
+ Message?: string | undefined;
19
+ TurkErrorCode?: string | undefined;
20
20
  constructor(opts: __ExceptionOptionType<ServiceFault, __BaseException>);
21
21
  }
22
22
  export interface ApproveAssignmentRequest {
23
23
  AssignmentId: string | undefined;
24
- RequesterFeedback?: string;
25
- OverrideRejection?: boolean;
24
+ RequesterFeedback?: string | undefined;
25
+ OverrideRejection?: boolean | undefined;
26
26
  }
27
27
  export interface ApproveAssignmentResponse {}
28
28
  export declare const AssignmentStatus: {
@@ -33,32 +33,32 @@ export declare const AssignmentStatus: {
33
33
  export type AssignmentStatus =
34
34
  (typeof AssignmentStatus)[keyof typeof AssignmentStatus];
35
35
  export interface Assignment {
36
- AssignmentId?: string;
37
- WorkerId?: string;
38
- HITId?: string;
39
- AssignmentStatus?: AssignmentStatus;
40
- AutoApprovalTime?: Date;
41
- AcceptTime?: Date;
42
- SubmitTime?: Date;
43
- ApprovalTime?: Date;
44
- RejectionTime?: Date;
45
- Deadline?: Date;
46
- Answer?: string;
47
- RequesterFeedback?: string;
36
+ AssignmentId?: string | undefined;
37
+ WorkerId?: string | undefined;
38
+ HITId?: string | undefined;
39
+ AssignmentStatus?: AssignmentStatus | undefined;
40
+ AutoApprovalTime?: Date | undefined;
41
+ AcceptTime?: Date | undefined;
42
+ SubmitTime?: Date | undefined;
43
+ ApprovalTime?: Date | undefined;
44
+ RejectionTime?: Date | undefined;
45
+ Deadline?: Date | undefined;
46
+ Answer?: string | undefined;
47
+ RequesterFeedback?: string | undefined;
48
48
  }
49
49
  export interface AssociateQualificationWithWorkerRequest {
50
50
  QualificationTypeId: string | undefined;
51
51
  WorkerId: string | undefined;
52
- IntegerValue?: number;
53
- SendNotification?: boolean;
52
+ IntegerValue?: number | undefined;
53
+ SendNotification?: boolean | undefined;
54
54
  }
55
55
  export interface AssociateQualificationWithWorkerResponse {}
56
56
  export interface BonusPayment {
57
- WorkerId?: string;
58
- BonusAmount?: string;
59
- AssignmentId?: string;
60
- Reason?: string;
61
- GrantTime?: Date;
57
+ WorkerId?: string | undefined;
58
+ BonusAmount?: string | undefined;
59
+ AssignmentId?: string | undefined;
60
+ Reason?: string | undefined;
61
+ GrantTime?: Date | undefined;
62
62
  }
63
63
  export declare const Comparator: {
64
64
  readonly DoesNotExist: "DoesNotExist";
@@ -76,21 +76,21 @@ export type Comparator = (typeof Comparator)[keyof typeof Comparator];
76
76
  export interface CreateAdditionalAssignmentsForHITRequest {
77
77
  HITId: string | undefined;
78
78
  NumberOfAdditionalAssignments: number | undefined;
79
- UniqueRequestToken?: string;
79
+ UniqueRequestToken?: string | undefined;
80
80
  }
81
81
  export interface CreateAdditionalAssignmentsForHITResponse {}
82
82
  export interface ParameterMapEntry {
83
- Key?: string;
84
- Values?: string[];
83
+ Key?: string | undefined;
84
+ Values?: string[] | undefined;
85
85
  }
86
86
  export interface PolicyParameter {
87
- Key?: string;
88
- Values?: string[];
89
- MapEntries?: ParameterMapEntry[];
87
+ Key?: string | undefined;
88
+ Values?: string[] | undefined;
89
+ MapEntries?: ParameterMapEntry[] | undefined;
90
90
  }
91
91
  export interface ReviewPolicy {
92
92
  PolicyName: string | undefined;
93
- Parameters?: PolicyParameter[];
93
+ Parameters?: PolicyParameter[] | undefined;
94
94
  }
95
95
  export interface HITLayoutParameter {
96
96
  Name: string | undefined;
@@ -105,33 +105,33 @@ export type HITAccessActions =
105
105
  (typeof HITAccessActions)[keyof typeof HITAccessActions];
106
106
  export interface Locale {
107
107
  Country: string | undefined;
108
- Subdivision?: string;
108
+ Subdivision?: string | undefined;
109
109
  }
110
110
  export interface QualificationRequirement {
111
111
  QualificationTypeId: string | undefined;
112
112
  Comparator: Comparator | undefined;
113
- IntegerValues?: number[];
114
- LocaleValues?: Locale[];
115
- RequiredToPreview?: boolean;
116
- ActionsGuarded?: HITAccessActions;
113
+ IntegerValues?: number[] | undefined;
114
+ LocaleValues?: Locale[] | undefined;
115
+ RequiredToPreview?: boolean | undefined;
116
+ ActionsGuarded?: HITAccessActions | undefined;
117
117
  }
118
118
  export interface CreateHITRequest {
119
- MaxAssignments?: number;
120
- AutoApprovalDelayInSeconds?: number;
119
+ MaxAssignments?: number | undefined;
120
+ AutoApprovalDelayInSeconds?: number | undefined;
121
121
  LifetimeInSeconds: number | undefined;
122
122
  AssignmentDurationInSeconds: number | undefined;
123
123
  Reward: string | undefined;
124
124
  Title: string | undefined;
125
- Keywords?: string;
125
+ Keywords?: string | undefined;
126
126
  Description: string | undefined;
127
- Question?: string;
128
- RequesterAnnotation?: string;
129
- QualificationRequirements?: QualificationRequirement[];
130
- UniqueRequestToken?: string;
131
- AssignmentReviewPolicy?: ReviewPolicy;
132
- HITReviewPolicy?: ReviewPolicy;
133
- HITLayoutId?: string;
134
- HITLayoutParameters?: HITLayoutParameter[];
127
+ Question?: string | undefined;
128
+ RequesterAnnotation?: string | undefined;
129
+ QualificationRequirements?: QualificationRequirement[] | undefined;
130
+ UniqueRequestToken?: string | undefined;
131
+ AssignmentReviewPolicy?: ReviewPolicy | undefined;
132
+ HITReviewPolicy?: ReviewPolicy | undefined;
133
+ HITLayoutId?: string | undefined;
134
+ HITLayoutParameters?: HITLayoutParameter[] | undefined;
135
135
  }
136
136
  export declare const HITReviewStatus: {
137
137
  readonly MarkedForReview: "MarkedForReview";
@@ -150,57 +150,57 @@ export declare const HITStatus: {
150
150
  };
151
151
  export type HITStatus = (typeof HITStatus)[keyof typeof HITStatus];
152
152
  export interface HIT {
153
- HITId?: string;
154
- HITTypeId?: string;
155
- HITGroupId?: string;
156
- HITLayoutId?: string;
157
- CreationTime?: Date;
158
- Title?: string;
159
- Description?: string;
160
- Question?: string;
161
- Keywords?: string;
162
- HITStatus?: HITStatus;
163
- MaxAssignments?: number;
164
- Reward?: string;
165
- AutoApprovalDelayInSeconds?: number;
166
- Expiration?: Date;
167
- AssignmentDurationInSeconds?: number;
168
- RequesterAnnotation?: string;
169
- QualificationRequirements?: QualificationRequirement[];
170
- HITReviewStatus?: HITReviewStatus;
171
- NumberOfAssignmentsPending?: number;
172
- NumberOfAssignmentsAvailable?: number;
173
- NumberOfAssignmentsCompleted?: number;
153
+ HITId?: string | undefined;
154
+ HITTypeId?: string | undefined;
155
+ HITGroupId?: string | undefined;
156
+ HITLayoutId?: string | undefined;
157
+ CreationTime?: Date | undefined;
158
+ Title?: string | undefined;
159
+ Description?: string | undefined;
160
+ Question?: string | undefined;
161
+ Keywords?: string | undefined;
162
+ HITStatus?: HITStatus | undefined;
163
+ MaxAssignments?: number | undefined;
164
+ Reward?: string | undefined;
165
+ AutoApprovalDelayInSeconds?: number | undefined;
166
+ Expiration?: Date | undefined;
167
+ AssignmentDurationInSeconds?: number | undefined;
168
+ RequesterAnnotation?: string | undefined;
169
+ QualificationRequirements?: QualificationRequirement[] | undefined;
170
+ HITReviewStatus?: HITReviewStatus | undefined;
171
+ NumberOfAssignmentsPending?: number | undefined;
172
+ NumberOfAssignmentsAvailable?: number | undefined;
173
+ NumberOfAssignmentsCompleted?: number | undefined;
174
174
  }
175
175
  export interface CreateHITResponse {
176
- HIT?: HIT;
176
+ HIT?: HIT | undefined;
177
177
  }
178
178
  export interface CreateHITTypeRequest {
179
- AutoApprovalDelayInSeconds?: number;
179
+ AutoApprovalDelayInSeconds?: number | undefined;
180
180
  AssignmentDurationInSeconds: number | undefined;
181
181
  Reward: string | undefined;
182
182
  Title: string | undefined;
183
- Keywords?: string;
183
+ Keywords?: string | undefined;
184
184
  Description: string | undefined;
185
- QualificationRequirements?: QualificationRequirement[];
185
+ QualificationRequirements?: QualificationRequirement[] | undefined;
186
186
  }
187
187
  export interface CreateHITTypeResponse {
188
- HITTypeId?: string;
188
+ HITTypeId?: string | undefined;
189
189
  }
190
190
  export interface CreateHITWithHITTypeRequest {
191
191
  HITTypeId: string | undefined;
192
- MaxAssignments?: number;
192
+ MaxAssignments?: number | undefined;
193
193
  LifetimeInSeconds: number | undefined;
194
- Question?: string;
195
- RequesterAnnotation?: string;
196
- UniqueRequestToken?: string;
197
- AssignmentReviewPolicy?: ReviewPolicy;
198
- HITReviewPolicy?: ReviewPolicy;
199
- HITLayoutId?: string;
200
- HITLayoutParameters?: HITLayoutParameter[];
194
+ Question?: string | undefined;
195
+ RequesterAnnotation?: string | undefined;
196
+ UniqueRequestToken?: string | undefined;
197
+ AssignmentReviewPolicy?: ReviewPolicy | undefined;
198
+ HITReviewPolicy?: ReviewPolicy | undefined;
199
+ HITLayoutId?: string | undefined;
200
+ HITLayoutParameters?: HITLayoutParameter[] | undefined;
201
201
  }
202
202
  export interface CreateHITWithHITTypeResponse {
203
- HIT?: HIT;
203
+ HIT?: HIT | undefined;
204
204
  }
205
205
  export declare const QualificationTypeStatus: {
206
206
  readonly Active: "Active";
@@ -210,33 +210,33 @@ export type QualificationTypeStatus =
210
210
  (typeof QualificationTypeStatus)[keyof typeof QualificationTypeStatus];
211
211
  export interface CreateQualificationTypeRequest {
212
212
  Name: string | undefined;
213
- Keywords?: string;
213
+ Keywords?: string | undefined;
214
214
  Description: string | undefined;
215
215
  QualificationTypeStatus: QualificationTypeStatus | undefined;
216
- RetryDelayInSeconds?: number;
217
- Test?: string;
218
- AnswerKey?: string;
219
- TestDurationInSeconds?: number;
220
- AutoGranted?: boolean;
221
- AutoGrantedValue?: number;
216
+ RetryDelayInSeconds?: number | undefined;
217
+ Test?: string | undefined;
218
+ AnswerKey?: string | undefined;
219
+ TestDurationInSeconds?: number | undefined;
220
+ AutoGranted?: boolean | undefined;
221
+ AutoGrantedValue?: number | undefined;
222
222
  }
223
223
  export interface QualificationType {
224
- QualificationTypeId?: string;
225
- CreationTime?: Date;
226
- Name?: string;
227
- Description?: string;
228
- Keywords?: string;
229
- QualificationTypeStatus?: QualificationTypeStatus;
230
- Test?: string;
231
- TestDurationInSeconds?: number;
232
- AnswerKey?: string;
233
- RetryDelayInSeconds?: number;
234
- IsRequestable?: boolean;
235
- AutoGranted?: boolean;
236
- AutoGrantedValue?: number;
224
+ QualificationTypeId?: string | undefined;
225
+ CreationTime?: Date | undefined;
226
+ Name?: string | undefined;
227
+ Description?: string | undefined;
228
+ Keywords?: string | undefined;
229
+ QualificationTypeStatus?: QualificationTypeStatus | undefined;
230
+ Test?: string | undefined;
231
+ TestDurationInSeconds?: number | undefined;
232
+ AnswerKey?: string | undefined;
233
+ RetryDelayInSeconds?: number | undefined;
234
+ IsRequestable?: boolean | undefined;
235
+ AutoGranted?: boolean | undefined;
236
+ AutoGrantedValue?: number | undefined;
237
237
  }
238
238
  export interface CreateQualificationTypeResponse {
239
- QualificationType?: QualificationType;
239
+ QualificationType?: QualificationType | undefined;
240
240
  }
241
241
  export interface CreateWorkerBlockRequest {
242
242
  WorkerId: string | undefined;
@@ -253,13 +253,13 @@ export interface DeleteQualificationTypeRequest {
253
253
  export interface DeleteQualificationTypeResponse {}
254
254
  export interface DeleteWorkerBlockRequest {
255
255
  WorkerId: string | undefined;
256
- Reason?: string;
256
+ Reason?: string | undefined;
257
257
  }
258
258
  export interface DeleteWorkerBlockResponse {}
259
259
  export interface DisassociateQualificationFromWorkerRequest {
260
260
  WorkerId: string | undefined;
261
261
  QualificationTypeId: string | undefined;
262
- Reason?: string;
262
+ Reason?: string | undefined;
263
263
  }
264
264
  export interface DisassociateQualificationFromWorkerResponse {}
265
265
  export declare const EventType: {
@@ -279,28 +279,28 @@ export declare const EventType: {
279
279
  export type EventType = (typeof EventType)[keyof typeof EventType];
280
280
  export interface GetAccountBalanceRequest {}
281
281
  export interface GetAccountBalanceResponse {
282
- AvailableBalance?: string;
283
- OnHoldBalance?: string;
282
+ AvailableBalance?: string | undefined;
283
+ OnHoldBalance?: string | undefined;
284
284
  }
285
285
  export interface GetAssignmentRequest {
286
286
  AssignmentId: string | undefined;
287
287
  }
288
288
  export interface GetAssignmentResponse {
289
- Assignment?: Assignment;
290
- HIT?: HIT;
289
+ Assignment?: Assignment | undefined;
290
+ HIT?: HIT | undefined;
291
291
  }
292
292
  export interface GetFileUploadURLRequest {
293
293
  AssignmentId: string | undefined;
294
294
  QuestionIdentifier: string | undefined;
295
295
  }
296
296
  export interface GetFileUploadURLResponse {
297
- FileUploadURL?: string;
297
+ FileUploadURL?: string | undefined;
298
298
  }
299
299
  export interface GetHITRequest {
300
300
  HITId: string | undefined;
301
301
  }
302
302
  export interface GetHITResponse {
303
- HIT?: HIT;
303
+ HIT?: HIT | undefined;
304
304
  }
305
305
  export interface GetQualificationScoreRequest {
306
306
  QualificationTypeId: string | undefined;
@@ -313,92 +313,92 @@ export declare const QualificationStatus: {
313
313
  export type QualificationStatus =
314
314
  (typeof QualificationStatus)[keyof typeof QualificationStatus];
315
315
  export interface Qualification {
316
- QualificationTypeId?: string;
317
- WorkerId?: string;
318
- GrantTime?: Date;
319
- IntegerValue?: number;
320
- LocaleValue?: Locale;
321
- Status?: QualificationStatus;
316
+ QualificationTypeId?: string | undefined;
317
+ WorkerId?: string | undefined;
318
+ GrantTime?: Date | undefined;
319
+ IntegerValue?: number | undefined;
320
+ LocaleValue?: Locale | undefined;
321
+ Status?: QualificationStatus | undefined;
322
322
  }
323
323
  export interface GetQualificationScoreResponse {
324
- Qualification?: Qualification;
324
+ Qualification?: Qualification | undefined;
325
325
  }
326
326
  export interface GetQualificationTypeRequest {
327
327
  QualificationTypeId: string | undefined;
328
328
  }
329
329
  export interface GetQualificationTypeResponse {
330
- QualificationType?: QualificationType;
330
+ QualificationType?: QualificationType | undefined;
331
331
  }
332
332
  export interface ListAssignmentsForHITRequest {
333
333
  HITId: string | undefined;
334
- NextToken?: string;
335
- MaxResults?: number;
336
- AssignmentStatuses?: AssignmentStatus[];
334
+ NextToken?: string | undefined;
335
+ MaxResults?: number | undefined;
336
+ AssignmentStatuses?: AssignmentStatus[] | undefined;
337
337
  }
338
338
  export interface ListAssignmentsForHITResponse {
339
- NextToken?: string;
340
- NumResults?: number;
341
- Assignments?: Assignment[];
339
+ NextToken?: string | undefined;
340
+ NumResults?: number | undefined;
341
+ Assignments?: Assignment[] | undefined;
342
342
  }
343
343
  export interface ListBonusPaymentsRequest {
344
- HITId?: string;
345
- AssignmentId?: string;
346
- NextToken?: string;
347
- MaxResults?: number;
344
+ HITId?: string | undefined;
345
+ AssignmentId?: string | undefined;
346
+ NextToken?: string | undefined;
347
+ MaxResults?: number | undefined;
348
348
  }
349
349
  export interface ListBonusPaymentsResponse {
350
- NumResults?: number;
351
- NextToken?: string;
352
- BonusPayments?: BonusPayment[];
350
+ NumResults?: number | undefined;
351
+ NextToken?: string | undefined;
352
+ BonusPayments?: BonusPayment[] | undefined;
353
353
  }
354
354
  export interface ListHITsRequest {
355
- NextToken?: string;
356
- MaxResults?: number;
355
+ NextToken?: string | undefined;
356
+ MaxResults?: number | undefined;
357
357
  }
358
358
  export interface ListHITsResponse {
359
- NextToken?: string;
360
- NumResults?: number;
361
- HITs?: HIT[];
359
+ NextToken?: string | undefined;
360
+ NumResults?: number | undefined;
361
+ HITs?: HIT[] | undefined;
362
362
  }
363
363
  export interface ListHITsForQualificationTypeRequest {
364
364
  QualificationTypeId: string | undefined;
365
- NextToken?: string;
366
- MaxResults?: number;
365
+ NextToken?: string | undefined;
366
+ MaxResults?: number | undefined;
367
367
  }
368
368
  export interface ListHITsForQualificationTypeResponse {
369
- NextToken?: string;
370
- NumResults?: number;
371
- HITs?: HIT[];
369
+ NextToken?: string | undefined;
370
+ NumResults?: number | undefined;
371
+ HITs?: HIT[] | undefined;
372
372
  }
373
373
  export interface ListQualificationRequestsRequest {
374
- QualificationTypeId?: string;
375
- NextToken?: string;
376
- MaxResults?: number;
374
+ QualificationTypeId?: string | undefined;
375
+ NextToken?: string | undefined;
376
+ MaxResults?: number | undefined;
377
377
  }
378
378
  export interface QualificationRequest {
379
- QualificationRequestId?: string;
380
- QualificationTypeId?: string;
381
- WorkerId?: string;
382
- Test?: string;
383
- Answer?: string;
384
- SubmitTime?: Date;
379
+ QualificationRequestId?: string | undefined;
380
+ QualificationTypeId?: string | undefined;
381
+ WorkerId?: string | undefined;
382
+ Test?: string | undefined;
383
+ Answer?: string | undefined;
384
+ SubmitTime?: Date | undefined;
385
385
  }
386
386
  export interface ListQualificationRequestsResponse {
387
- NumResults?: number;
388
- NextToken?: string;
389
- QualificationRequests?: QualificationRequest[];
387
+ NumResults?: number | undefined;
388
+ NextToken?: string | undefined;
389
+ QualificationRequests?: QualificationRequest[] | undefined;
390
390
  }
391
391
  export interface ListQualificationTypesRequest {
392
- Query?: string;
392
+ Query?: string | undefined;
393
393
  MustBeRequestable: boolean | undefined;
394
- MustBeOwnedByCaller?: boolean;
395
- NextToken?: string;
396
- MaxResults?: number;
394
+ MustBeOwnedByCaller?: boolean | undefined;
395
+ NextToken?: string | undefined;
396
+ MaxResults?: number | undefined;
397
397
  }
398
398
  export interface ListQualificationTypesResponse {
399
- NumResults?: number;
400
- NextToken?: string;
401
- QualificationTypes?: QualificationType[];
399
+ NumResults?: number | undefined;
400
+ NextToken?: string | undefined;
401
+ QualificationTypes?: QualificationType[] | undefined;
402
402
  }
403
403
  export declare const ReviewableHITStatus: {
404
404
  readonly Reviewable: "Reviewable";
@@ -407,15 +407,15 @@ export declare const ReviewableHITStatus: {
407
407
  export type ReviewableHITStatus =
408
408
  (typeof ReviewableHITStatus)[keyof typeof ReviewableHITStatus];
409
409
  export interface ListReviewableHITsRequest {
410
- HITTypeId?: string;
411
- Status?: ReviewableHITStatus;
412
- NextToken?: string;
413
- MaxResults?: number;
410
+ HITTypeId?: string | undefined;
411
+ Status?: ReviewableHITStatus | undefined;
412
+ NextToken?: string | undefined;
413
+ MaxResults?: number | undefined;
414
414
  }
415
415
  export interface ListReviewableHITsResponse {
416
- NextToken?: string;
417
- NumResults?: number;
418
- HITs?: HIT[];
416
+ NextToken?: string | undefined;
417
+ NumResults?: number | undefined;
418
+ HITs?: HIT[] | undefined;
419
419
  }
420
420
  export declare const ReviewPolicyLevel: {
421
421
  readonly Assignment: "Assignment";
@@ -425,11 +425,11 @@ export type ReviewPolicyLevel =
425
425
  (typeof ReviewPolicyLevel)[keyof typeof ReviewPolicyLevel];
426
426
  export interface ListReviewPolicyResultsForHITRequest {
427
427
  HITId: string | undefined;
428
- PolicyLevels?: ReviewPolicyLevel[];
429
- RetrieveActions?: boolean;
430
- RetrieveResults?: boolean;
431
- NextToken?: string;
432
- MaxResults?: number;
428
+ PolicyLevels?: ReviewPolicyLevel[] | undefined;
429
+ RetrieveActions?: boolean | undefined;
430
+ RetrieveResults?: boolean | undefined;
431
+ NextToken?: string | undefined;
432
+ MaxResults?: number | undefined;
433
433
  }
434
434
  export declare const ReviewActionStatus: {
435
435
  readonly Cancelled: "Cancelled";
@@ -440,58 +440,58 @@ export declare const ReviewActionStatus: {
440
440
  export type ReviewActionStatus =
441
441
  (typeof ReviewActionStatus)[keyof typeof ReviewActionStatus];
442
442
  export interface ReviewActionDetail {
443
- ActionId?: string;
444
- ActionName?: string;
445
- TargetId?: string;
446
- TargetType?: string;
447
- Status?: ReviewActionStatus;
448
- CompleteTime?: Date;
449
- Result?: string;
450
- ErrorCode?: string;
443
+ ActionId?: string | undefined;
444
+ ActionName?: string | undefined;
445
+ TargetId?: string | undefined;
446
+ TargetType?: string | undefined;
447
+ Status?: ReviewActionStatus | undefined;
448
+ CompleteTime?: Date | undefined;
449
+ Result?: string | undefined;
450
+ ErrorCode?: string | undefined;
451
451
  }
452
452
  export interface ReviewResultDetail {
453
- ActionId?: string;
454
- SubjectId?: string;
455
- SubjectType?: string;
456
- QuestionId?: string;
457
- Key?: string;
458
- Value?: string;
453
+ ActionId?: string | undefined;
454
+ SubjectId?: string | undefined;
455
+ SubjectType?: string | undefined;
456
+ QuestionId?: string | undefined;
457
+ Key?: string | undefined;
458
+ Value?: string | undefined;
459
459
  }
460
460
  export interface ReviewReport {
461
- ReviewResults?: ReviewResultDetail[];
462
- ReviewActions?: ReviewActionDetail[];
461
+ ReviewResults?: ReviewResultDetail[] | undefined;
462
+ ReviewActions?: ReviewActionDetail[] | undefined;
463
463
  }
464
464
  export interface ListReviewPolicyResultsForHITResponse {
465
- HITId?: string;
466
- AssignmentReviewPolicy?: ReviewPolicy;
467
- HITReviewPolicy?: ReviewPolicy;
468
- AssignmentReviewReport?: ReviewReport;
469
- HITReviewReport?: ReviewReport;
470
- NextToken?: string;
465
+ HITId?: string | undefined;
466
+ AssignmentReviewPolicy?: ReviewPolicy | undefined;
467
+ HITReviewPolicy?: ReviewPolicy | undefined;
468
+ AssignmentReviewReport?: ReviewReport | undefined;
469
+ HITReviewReport?: ReviewReport | undefined;
470
+ NextToken?: string | undefined;
471
471
  }
472
472
  export interface ListWorkerBlocksRequest {
473
- NextToken?: string;
474
- MaxResults?: number;
473
+ NextToken?: string | undefined;
474
+ MaxResults?: number | undefined;
475
475
  }
476
476
  export interface WorkerBlock {
477
- WorkerId?: string;
478
- Reason?: string;
477
+ WorkerId?: string | undefined;
478
+ Reason?: string | undefined;
479
479
  }
480
480
  export interface ListWorkerBlocksResponse {
481
- NextToken?: string;
482
- NumResults?: number;
483
- WorkerBlocks?: WorkerBlock[];
481
+ NextToken?: string | undefined;
482
+ NumResults?: number | undefined;
483
+ WorkerBlocks?: WorkerBlock[] | undefined;
484
484
  }
485
485
  export interface ListWorkersWithQualificationTypeRequest {
486
486
  QualificationTypeId: string | undefined;
487
- Status?: QualificationStatus;
488
- NextToken?: string;
489
- MaxResults?: number;
487
+ Status?: QualificationStatus | undefined;
488
+ NextToken?: string | undefined;
489
+ MaxResults?: number | undefined;
490
490
  }
491
491
  export interface ListWorkersWithQualificationTypeResponse {
492
- NextToken?: string;
493
- NumResults?: number;
494
- Qualifications?: Qualification[];
492
+ NextToken?: string | undefined;
493
+ NumResults?: number | undefined;
494
+ Qualifications?: Qualification[] | undefined;
495
495
  }
496
496
  export interface NotifyWorkersRequest {
497
497
  Subject: string | undefined;
@@ -505,12 +505,12 @@ export declare const NotifyWorkersFailureCode: {
505
505
  export type NotifyWorkersFailureCode =
506
506
  (typeof NotifyWorkersFailureCode)[keyof typeof NotifyWorkersFailureCode];
507
507
  export interface NotifyWorkersFailureStatus {
508
- NotifyWorkersFailureCode?: NotifyWorkersFailureCode;
509
- NotifyWorkersFailureMessage?: string;
510
- WorkerId?: string;
508
+ NotifyWorkersFailureCode?: NotifyWorkersFailureCode | undefined;
509
+ NotifyWorkersFailureMessage?: string | undefined;
510
+ WorkerId?: string | undefined;
511
511
  }
512
512
  export interface NotifyWorkersResponse {
513
- NotifyWorkersFailureStatuses?: NotifyWorkersFailureStatus[];
513
+ NotifyWorkersFailureStatuses?: NotifyWorkersFailureStatus[] | undefined;
514
514
  }
515
515
  export interface RejectAssignmentRequest {
516
516
  AssignmentId: string | undefined;
@@ -519,7 +519,7 @@ export interface RejectAssignmentRequest {
519
519
  export interface RejectAssignmentResponse {}
520
520
  export interface RejectQualificationRequestRequest {
521
521
  QualificationRequestId: string | undefined;
522
- Reason?: string;
522
+ Reason?: string | undefined;
523
523
  }
524
524
  export interface RejectQualificationRequestResponse {}
525
525
  export interface SendBonusRequest {
@@ -527,7 +527,7 @@ export interface SendBonusRequest {
527
527
  BonusAmount: string | undefined;
528
528
  AssignmentId: string | undefined;
529
529
  Reason: string | undefined;
530
- UniqueRequestToken?: string;
530
+ UniqueRequestToken?: string | undefined;
531
531
  }
532
532
  export interface SendBonusResponse {}
533
533
  export declare const NotificationTransport: {
@@ -555,7 +555,7 @@ export interface UpdateExpirationForHITRequest {
555
555
  export interface UpdateExpirationForHITResponse {}
556
556
  export interface UpdateHITReviewStatusRequest {
557
557
  HITId: string | undefined;
558
- Revert?: boolean;
558
+ Revert?: boolean | undefined;
559
559
  }
560
560
  export interface UpdateHITReviewStatusResponse {}
561
561
  export interface UpdateHITTypeOfHITRequest {
@@ -565,21 +565,21 @@ export interface UpdateHITTypeOfHITRequest {
565
565
  export interface UpdateHITTypeOfHITResponse {}
566
566
  export interface UpdateNotificationSettingsRequest {
567
567
  HITTypeId: string | undefined;
568
- Notification?: NotificationSpecification;
569
- Active?: boolean;
568
+ Notification?: NotificationSpecification | undefined;
569
+ Active?: boolean | undefined;
570
570
  }
571
571
  export interface UpdateNotificationSettingsResponse {}
572
572
  export interface UpdateQualificationTypeRequest {
573
573
  QualificationTypeId: string | undefined;
574
- Description?: string;
575
- QualificationTypeStatus?: QualificationTypeStatus;
576
- Test?: string;
577
- AnswerKey?: string;
578
- TestDurationInSeconds?: number;
579
- RetryDelayInSeconds?: number;
580
- AutoGranted?: boolean;
581
- AutoGrantedValue?: number;
574
+ Description?: string | undefined;
575
+ QualificationTypeStatus?: QualificationTypeStatus | undefined;
576
+ Test?: string | undefined;
577
+ AnswerKey?: string | undefined;
578
+ TestDurationInSeconds?: number | undefined;
579
+ RetryDelayInSeconds?: number | undefined;
580
+ AutoGranted?: boolean | undefined;
581
+ AutoGrantedValue?: number | undefined;
582
582
  }
583
583
  export interface UpdateQualificationTypeResponse {
584
- QualificationType?: QualificationType;
584
+ QualificationType?: QualificationType | undefined;
585
585
  }