@aws-sdk/client-mturk 3.687.0 → 3.692.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.
@@ -16,7 +16,7 @@ export interface AcceptQualificationRequestRequest {
16
16
  * </p>
17
17
  * @public
18
18
  */
19
- IntegerValue?: number;
19
+ IntegerValue?: number | undefined;
20
20
  }
21
21
  /**
22
22
  * @public
@@ -30,8 +30,8 @@ export interface AcceptQualificationRequestResponse {
30
30
  export declare class RequestError extends __BaseException {
31
31
  readonly name: "RequestError";
32
32
  readonly $fault: "client";
33
- Message?: string;
34
- TurkErrorCode?: string;
33
+ Message?: string | undefined;
34
+ TurkErrorCode?: string | undefined;
35
35
  /**
36
36
  * @internal
37
37
  */
@@ -44,8 +44,8 @@ export declare class RequestError extends __BaseException {
44
44
  export declare class ServiceFault extends __BaseException {
45
45
  readonly name: "ServiceFault";
46
46
  readonly $fault: "server";
47
- Message?: string;
48
- TurkErrorCode?: string;
47
+ Message?: string | undefined;
48
+ TurkErrorCode?: string | undefined;
49
49
  /**
50
50
  * @internal
51
51
  */
@@ -68,14 +68,14 @@ export interface ApproveAssignmentRequest {
68
68
  * </p>
69
69
  * @public
70
70
  */
71
- RequesterFeedback?: string;
71
+ RequesterFeedback?: string | undefined;
72
72
  /**
73
73
  * <p>
74
74
  * A flag indicating that an assignment should be approved even if it was previously rejected. Defaults to <code>False</code>.
75
75
  * </p>
76
76
  * @public
77
77
  */
78
- OverrideRejection?: boolean;
78
+ OverrideRejection?: boolean | undefined;
79
79
  }
80
80
  /**
81
81
  * @public
@@ -107,22 +107,22 @@ export interface Assignment {
107
107
  * <p> A unique identifier for the assignment.</p>
108
108
  * @public
109
109
  */
110
- AssignmentId?: string;
110
+ AssignmentId?: string | undefined;
111
111
  /**
112
112
  * <p> The ID of the Worker who accepted the HIT.</p>
113
113
  * @public
114
114
  */
115
- WorkerId?: string;
115
+ WorkerId?: string | undefined;
116
116
  /**
117
117
  * <p> The ID of the HIT.</p>
118
118
  * @public
119
119
  */
120
- HITId?: string;
120
+ HITId?: string | undefined;
121
121
  /**
122
122
  * <p> The status of the assignment.</p>
123
123
  * @public
124
124
  */
125
- AssignmentStatus?: AssignmentStatus;
125
+ AssignmentStatus?: AssignmentStatus | undefined;
126
126
  /**
127
127
  * <p> If results have been submitted, AutoApprovalTime is the date
128
128
  * and time the results of the assignment results are considered
@@ -133,19 +133,19 @@ export interface Assignment {
133
133
  * results.</p>
134
134
  * @public
135
135
  */
136
- AutoApprovalTime?: Date;
136
+ AutoApprovalTime?: Date | undefined;
137
137
  /**
138
138
  * <p> The date and time the Worker accepted the assignment.</p>
139
139
  * @public
140
140
  */
141
- AcceptTime?: Date;
141
+ AcceptTime?: Date | undefined;
142
142
  /**
143
143
  * <p> If the Worker has submitted results, SubmitTime is the date
144
144
  * and time the assignment was submitted. This value is omitted from the
145
145
  * assignment if the Worker has not yet submitted results.</p>
146
146
  * @public
147
147
  */
148
- SubmitTime?: Date;
148
+ SubmitTime?: Date | undefined;
149
149
  /**
150
150
  * <p> If the Worker has submitted results and the Requester has
151
151
  * approved the results, ApprovalTime is the date and time the Requester
@@ -153,21 +153,21 @@ export interface Assignment {
153
153
  * the Requester has not yet approved the results.</p>
154
154
  * @public
155
155
  */
156
- ApprovalTime?: Date;
156
+ ApprovalTime?: Date | undefined;
157
157
  /**
158
158
  * <p> If the Worker has submitted results and the Requester has
159
159
  * rejected the results, RejectionTime is the date and time the
160
160
  * Requester rejected the results.</p>
161
161
  * @public
162
162
  */
163
- RejectionTime?: Date;
163
+ RejectionTime?: Date | undefined;
164
164
  /**
165
165
  * <p> The date and time of the deadline for the assignment. This
166
166
  * value is derived from the deadline specification for the HIT and the
167
167
  * date and time the Worker accepted the HIT.</p>
168
168
  * @public
169
169
  */
170
- Deadline?: Date;
170
+ Deadline?: Date | undefined;
171
171
  /**
172
172
  * <p> The Worker's answers submitted for the HIT contained in a
173
173
  * QuestionFormAnswers document, if the Worker provides an answer. If
@@ -175,14 +175,14 @@ export interface Assignment {
175
175
  * QuestionFormAnswers document, or Answer may be empty.</p>
176
176
  * @public
177
177
  */
178
- Answer?: string;
178
+ Answer?: string | undefined;
179
179
  /**
180
180
  * <p> The feedback string included with the call to the
181
181
  * ApproveAssignment operation or the RejectAssignment operation, if the
182
182
  * Requester approved or rejected the assignment and specified feedback.</p>
183
183
  * @public
184
184
  */
185
- RequesterFeedback?: string;
185
+ RequesterFeedback?: string | undefined;
186
186
  }
187
187
  /**
188
188
  * @public
@@ -205,7 +205,7 @@ export interface AssociateQualificationWithWorkerRequest {
205
205
  * <p>The value of the Qualification to assign.</p>
206
206
  * @public
207
207
  */
208
- IntegerValue?: number;
208
+ IntegerValue?: number | undefined;
209
209
  /**
210
210
  * <p>
211
211
  * Specifies whether to send a notification email message to the Worker
@@ -214,7 +214,7 @@ export interface AssociateQualificationWithWorkerRequest {
214
214
  * </p>
215
215
  * @public
216
216
  */
217
- SendNotification?: boolean;
217
+ SendNotification?: boolean | undefined;
218
218
  }
219
219
  /**
220
220
  * @public
@@ -230,27 +230,27 @@ export interface BonusPayment {
230
230
  * <p>The ID of the Worker to whom the bonus was paid.</p>
231
231
  * @public
232
232
  */
233
- WorkerId?: string;
233
+ WorkerId?: string | undefined;
234
234
  /**
235
235
  * <p>A string representing a currency amount.</p>
236
236
  * @public
237
237
  */
238
- BonusAmount?: string;
238
+ BonusAmount?: string | undefined;
239
239
  /**
240
240
  * <p>The ID of the assignment associated with this bonus payment.</p>
241
241
  * @public
242
242
  */
243
- AssignmentId?: string;
243
+ AssignmentId?: string | undefined;
244
244
  /**
245
245
  * <p>The Reason text given when the bonus was granted, if any.</p>
246
246
  * @public
247
247
  */
248
- Reason?: string;
248
+ Reason?: string | undefined;
249
249
  /**
250
250
  * <p>The date and time of when the bonus was granted.</p>
251
251
  * @public
252
252
  */
253
- GrantTime?: Date;
253
+ GrantTime?: Date | undefined;
254
254
  }
255
255
  /**
256
256
  * @public
@@ -297,7 +297,7 @@ export interface CreateAdditionalAssignmentsForHITRequest {
297
297
  * </p>
298
298
  * @public
299
299
  */
300
- UniqueRequestToken?: string;
300
+ UniqueRequestToken?: string | undefined;
301
301
  }
302
302
  /**
303
303
  * @public
@@ -318,7 +318,7 @@ export interface ParameterMapEntry {
318
318
  * </p>
319
319
  * @public
320
320
  */
321
- Key?: string;
321
+ Key?: string | undefined;
322
322
  /**
323
323
  * <p> The list of answers to the question specified in the
324
324
  * MapEntry Key element. The Worker must match all values in order for
@@ -326,7 +326,7 @@ export interface ParameterMapEntry {
326
326
  * </p>
327
327
  * @public
328
328
  */
329
- Values?: string[];
329
+ Values?: string[] | undefined;
330
330
  }
331
331
  /**
332
332
  * <p> Name of the parameter from the Review policy.
@@ -339,18 +339,18 @@ export interface PolicyParameter {
339
339
  * </p>
340
340
  * @public
341
341
  */
342
- Key?: string;
342
+ Key?: string | undefined;
343
343
  /**
344
344
  * <p> The list of values of the Parameter</p>
345
345
  * @public
346
346
  */
347
- Values?: string[];
347
+ Values?: string[] | undefined;
348
348
  /**
349
349
  * <p> List of ParameterMapEntry objects.
350
350
  * </p>
351
351
  * @public
352
352
  */
353
- MapEntries?: ParameterMapEntry[];
353
+ MapEntries?: ParameterMapEntry[] | undefined;
354
354
  }
355
355
  /**
356
356
  * <p> HIT Review Policy data structures represent HIT review
@@ -370,7 +370,7 @@ export interface ReviewPolicy {
370
370
  * <p>Name of the parameter from the Review policy.</p>
371
371
  * @public
372
372
  */
373
- Parameters?: PolicyParameter[];
373
+ Parameters?: PolicyParameter[] | undefined;
374
374
  }
375
375
  /**
376
376
  * <p> The HITLayoutParameter data structure defines parameter
@@ -427,7 +427,7 @@ export interface Locale {
427
427
  * Washington.</p>
428
428
  * @public
429
429
  */
430
- Subdivision?: string;
430
+ Subdivision?: string | undefined;
431
431
  }
432
432
  /**
433
433
  * <p>
@@ -472,7 +472,7 @@ export interface QualificationRequirement {
472
472
  * </p>
473
473
  * @public
474
474
  */
475
- IntegerValues?: number[];
475
+ IntegerValues?: number[] | undefined;
476
476
  /**
477
477
  * <p> The locale value to compare against the Qualification's
478
478
  * value. The local value must be a valid ISO 3166 country code or
@@ -486,7 +486,7 @@ export interface QualificationRequirement {
486
486
  * </p>
487
487
  * @public
488
488
  */
489
- LocaleValues?: Locale[];
489
+ LocaleValues?: Locale[] | undefined;
490
490
  /**
491
491
  * @deprecated
492
492
  *
@@ -504,7 +504,7 @@ export interface QualificationRequirement {
504
504
  * </p>
505
505
  * @public
506
506
  */
507
- RequiredToPreview?: boolean;
507
+ RequiredToPreview?: boolean | undefined;
508
508
  /**
509
509
  * <p> Setting this attribute prevents Workers whose Qualifications do not meet
510
510
  * this QualificationRequirement from taking the specified action. Valid arguments include
@@ -521,7 +521,7 @@ export interface QualificationRequirement {
521
521
  * </p>
522
522
  * @public
523
523
  */
524
- ActionsGuarded?: HITAccessActions;
524
+ ActionsGuarded?: HITAccessActions | undefined;
525
525
  }
526
526
  /**
527
527
  * @public
@@ -533,7 +533,7 @@ export interface CreateHITRequest {
533
533
  * </p>
534
534
  * @public
535
535
  */
536
- MaxAssignments?: number;
536
+ MaxAssignments?: number | undefined;
537
537
  /**
538
538
  * <p>
539
539
  * The number of seconds after an assignment for the HIT has been submitted,
@@ -542,7 +542,7 @@ export interface CreateHITRequest {
542
542
  * </p>
543
543
  * @public
544
544
  */
545
- AutoApprovalDelayInSeconds?: number;
545
+ AutoApprovalDelayInSeconds?: number | undefined;
546
546
  /**
547
547
  * <p>
548
548
  * An amount of time, in seconds, after which the HIT is no longer available for users to accept.
@@ -586,7 +586,7 @@ export interface CreateHITRequest {
586
586
  * </p>
587
587
  * @public
588
588
  */
589
- Keywords?: string;
589
+ Keywords?: string | undefined;
590
590
  /**
591
591
  * <p>
592
592
  * A general description of the HIT. A description includes detailed information about the kind of task
@@ -609,7 +609,7 @@ export interface CreateHITRequest {
609
609
  * <p>Either a Question parameter or a HITLayoutId parameter must be provided.</p>
610
610
  * @public
611
611
  */
612
- Question?: string;
612
+ Question?: string | undefined;
613
613
  /**
614
614
  * <p>
615
615
  * An arbitrary data field.
@@ -628,7 +628,7 @@ export interface CreateHITRequest {
628
628
  * </p>
629
629
  * @public
630
630
  */
631
- RequesterAnnotation?: string;
631
+ RequesterAnnotation?: string | undefined;
632
632
  /**
633
633
  * <p>
634
634
  * Conditions that a Worker's Qualifications must meet in order
@@ -640,7 +640,7 @@ export interface CreateHITRequest {
640
640
  * </p>
641
641
  * @public
642
642
  */
643
- QualificationRequirements?: QualificationRequirement[];
643
+ QualificationRequirements?: QualificationRequirement[] | undefined;
644
644
  /**
645
645
  * <p>
646
646
  * A unique identifier for this request which allows you to retry the call
@@ -660,7 +660,7 @@ export interface CreateHITRequest {
660
660
  * </note>
661
661
  * @public
662
662
  */
663
- UniqueRequestToken?: string;
663
+ UniqueRequestToken?: string | undefined;
664
664
  /**
665
665
  * <p>
666
666
  * The Assignment-level Review Policy applies to the assignments under the HIT.
@@ -668,7 +668,7 @@ export interface CreateHITRequest {
668
668
  * </p>
669
669
  * @public
670
670
  */
671
- AssignmentReviewPolicy?: ReviewPolicy;
671
+ AssignmentReviewPolicy?: ReviewPolicy | undefined;
672
672
  /**
673
673
  * <p>
674
674
  * The HIT-level Review Policy applies to the HIT.
@@ -676,7 +676,7 @@ export interface CreateHITRequest {
676
676
  * </p>
677
677
  * @public
678
678
  */
679
- HITReviewPolicy?: ReviewPolicy;
679
+ HITReviewPolicy?: ReviewPolicy | undefined;
680
680
  /**
681
681
  * <p>
682
682
  * The HITLayoutId allows you to use a pre-existing HIT design with placeholder values
@@ -687,7 +687,7 @@ export interface CreateHITRequest {
687
687
  * </p>
688
688
  * @public
689
689
  */
690
- HITLayoutId?: string;
690
+ HITLayoutId?: string | undefined;
691
691
  /**
692
692
  * <p>
693
693
  * If the HITLayoutId is provided, any placeholder values must be filled in with values
@@ -695,7 +695,7 @@ export interface CreateHITRequest {
695
695
  * </p>
696
696
  * @public
697
697
  */
698
- HITLayoutParameters?: HITLayoutParameter[];
698
+ HITLayoutParameters?: HITLayoutParameter[] | undefined;
699
699
  }
700
700
  /**
701
701
  * @public
@@ -737,70 +737,70 @@ export interface HIT {
737
737
  * <p> A unique identifier for the HIT.</p>
738
738
  * @public
739
739
  */
740
- HITId?: string;
740
+ HITId?: string | undefined;
741
741
  /**
742
742
  * <p>The ID of the HIT type of this HIT</p>
743
743
  * @public
744
744
  */
745
- HITTypeId?: string;
745
+ HITTypeId?: string | undefined;
746
746
  /**
747
747
  * <p> The ID of the HIT Group of this HIT.</p>
748
748
  * @public
749
749
  */
750
- HITGroupId?: string;
750
+ HITGroupId?: string | undefined;
751
751
  /**
752
752
  * <p> The ID of the HIT Layout of this HIT.</p>
753
753
  * @public
754
754
  */
755
- HITLayoutId?: string;
755
+ HITLayoutId?: string | undefined;
756
756
  /**
757
757
  * <p> The date and time the HIT was created.</p>
758
758
  * @public
759
759
  */
760
- CreationTime?: Date;
760
+ CreationTime?: Date | undefined;
761
761
  /**
762
762
  * <p> The title of the HIT.</p>
763
763
  * @public
764
764
  */
765
- Title?: string;
765
+ Title?: string | undefined;
766
766
  /**
767
767
  * <p> A general description of the HIT.</p>
768
768
  * @public
769
769
  */
770
- Description?: string;
770
+ Description?: string | undefined;
771
771
  /**
772
772
  * <p> The data the Worker completing the HIT uses produce the
773
773
  * results. This is either either a QuestionForm, HTMLQuestion or an
774
774
  * ExternalQuestion data structure.</p>
775
775
  * @public
776
776
  */
777
- Question?: string;
777
+ Question?: string | undefined;
778
778
  /**
779
779
  * <p> One or more words or phrases that describe the HIT,
780
780
  * separated by commas. Search terms similar to the keywords of a HIT
781
781
  * are more likely to have the HIT in the search results.</p>
782
782
  * @public
783
783
  */
784
- Keywords?: string;
784
+ Keywords?: string | undefined;
785
785
  /**
786
786
  * <p>The status of the HIT and its assignments. Valid Values are
787
787
  * Assignable | Unassignable | Reviewable | Reviewing | Disposed.
788
788
  * </p>
789
789
  * @public
790
790
  */
791
- HITStatus?: HITStatus;
791
+ HITStatus?: HITStatus | undefined;
792
792
  /**
793
793
  * <p>The number of times the HIT can be accepted and completed
794
794
  * before the HIT becomes unavailable.
795
795
  * </p>
796
796
  * @public
797
797
  */
798
- MaxAssignments?: number;
798
+ MaxAssignments?: number | undefined;
799
799
  /**
800
800
  * <p>A string representing a currency amount.</p>
801
801
  * @public
802
802
  */
803
- Reward?: string;
803
+ Reward?: string | undefined;
804
804
  /**
805
805
  * <p>The amount of time, in seconds, after the Worker submits an
806
806
  * assignment for the HIT that the results are automatically approved by
@@ -810,24 +810,24 @@ export interface HIT {
810
810
  * </p>
811
811
  * @public
812
812
  */
813
- AutoApprovalDelayInSeconds?: number;
813
+ AutoApprovalDelayInSeconds?: number | undefined;
814
814
  /**
815
815
  * <p>The date and time the HIT expires.</p>
816
816
  * @public
817
817
  */
818
- Expiration?: Date;
818
+ Expiration?: Date | undefined;
819
819
  /**
820
820
  * <p> The length of time, in seconds, that a Worker has to
821
821
  * complete the HIT after accepting it.</p>
822
822
  * @public
823
823
  */
824
- AssignmentDurationInSeconds?: number;
824
+ AssignmentDurationInSeconds?: number | undefined;
825
825
  /**
826
826
  * <p> An arbitrary data field the Requester who created the HIT
827
827
  * can use. This field is visible only to the creator of the HIT.</p>
828
828
  * @public
829
829
  */
830
- RequesterAnnotation?: string;
830
+ RequesterAnnotation?: string | undefined;
831
831
  /**
832
832
  * <p>
833
833
  * Conditions that a Worker's Qualifications must meet in order
@@ -839,33 +839,33 @@ export interface HIT {
839
839
  * </p>
840
840
  * @public
841
841
  */
842
- QualificationRequirements?: QualificationRequirement[];
842
+ QualificationRequirements?: QualificationRequirement[] | undefined;
843
843
  /**
844
844
  * <p> Indicates the review status of the HIT. Valid Values are
845
845
  * NotReviewed | MarkedForReview | ReviewedAppropriate |
846
846
  * ReviewedInappropriate.</p>
847
847
  * @public
848
848
  */
849
- HITReviewStatus?: HITReviewStatus;
849
+ HITReviewStatus?: HITReviewStatus | undefined;
850
850
  /**
851
851
  * <p> The number of assignments for this HIT that are being
852
852
  * previewed or have been accepted by Workers, but have not yet been
853
853
  * submitted, returned, or abandoned.</p>
854
854
  * @public
855
855
  */
856
- NumberOfAssignmentsPending?: number;
856
+ NumberOfAssignmentsPending?: number | undefined;
857
857
  /**
858
858
  * <p> The number of assignments for this HIT that are available
859
859
  * for Workers to accept.</p>
860
860
  * @public
861
861
  */
862
- NumberOfAssignmentsAvailable?: number;
862
+ NumberOfAssignmentsAvailable?: number | undefined;
863
863
  /**
864
864
  * <p> The number of assignments for this HIT that have been
865
865
  * approved or rejected.</p>
866
866
  * @public
867
867
  */
868
- NumberOfAssignmentsCompleted?: number;
868
+ NumberOfAssignmentsCompleted?: number | undefined;
869
869
  }
870
870
  /**
871
871
  * @public
@@ -878,7 +878,7 @@ export interface CreateHITResponse {
878
878
  * </p>
879
879
  * @public
880
880
  */
881
- HIT?: HIT;
881
+ HIT?: HIT | undefined;
882
882
  }
883
883
  /**
884
884
  * @public
@@ -892,7 +892,7 @@ export interface CreateHITTypeRequest {
892
892
  * </p>
893
893
  * @public
894
894
  */
895
- AutoApprovalDelayInSeconds?: number;
895
+ AutoApprovalDelayInSeconds?: number | undefined;
896
896
  /**
897
897
  * <p>
898
898
  * The amount of time, in seconds, that a Worker has to complete the HIT after accepting it.
@@ -927,7 +927,7 @@ export interface CreateHITTypeRequest {
927
927
  * </p>
928
928
  * @public
929
929
  */
930
- Keywords?: string;
930
+ Keywords?: string | undefined;
931
931
  /**
932
932
  * <p>
933
933
  * A general description of the HIT. A description includes detailed information about the kind of task
@@ -949,7 +949,7 @@ export interface CreateHITTypeRequest {
949
949
  * </p>
950
950
  * @public
951
951
  */
952
- QualificationRequirements?: QualificationRequirement[];
952
+ QualificationRequirements?: QualificationRequirement[] | undefined;
953
953
  }
954
954
  /**
955
955
  * @public
@@ -959,7 +959,7 @@ export interface CreateHITTypeResponse {
959
959
  * <p> The ID of the newly registered HIT type.</p>
960
960
  * @public
961
961
  */
962
- HITTypeId?: string;
962
+ HITTypeId?: string | undefined;
963
963
  }
964
964
  /**
965
965
  * @public
@@ -976,7 +976,7 @@ export interface CreateHITWithHITTypeRequest {
976
976
  * </p>
977
977
  * @public
978
978
  */
979
- MaxAssignments?: number;
979
+ MaxAssignments?: number | undefined;
980
980
  /**
981
981
  * <p>
982
982
  * An amount of time, in seconds, after which the HIT is no longer available for users to accept.
@@ -998,7 +998,7 @@ export interface CreateHITWithHITTypeRequest {
998
998
  * <p>Either a Question parameter or a HITLayoutId parameter must be provided.</p>
999
999
  * @public
1000
1000
  */
1001
- Question?: string;
1001
+ Question?: string | undefined;
1002
1002
  /**
1003
1003
  * <p>
1004
1004
  * An arbitrary data field.
@@ -1017,7 +1017,7 @@ export interface CreateHITWithHITTypeRequest {
1017
1017
  * </p>
1018
1018
  * @public
1019
1019
  */
1020
- RequesterAnnotation?: string;
1020
+ RequesterAnnotation?: string | undefined;
1021
1021
  /**
1022
1022
  * <p>
1023
1023
  * A unique identifier for this request which allows you to retry the call
@@ -1037,7 +1037,7 @@ export interface CreateHITWithHITTypeRequest {
1037
1037
  * </note>
1038
1038
  * @public
1039
1039
  */
1040
- UniqueRequestToken?: string;
1040
+ UniqueRequestToken?: string | undefined;
1041
1041
  /**
1042
1042
  * <p>
1043
1043
  * The Assignment-level Review Policy applies to the assignments under the HIT.
@@ -1045,7 +1045,7 @@ export interface CreateHITWithHITTypeRequest {
1045
1045
  * </p>
1046
1046
  * @public
1047
1047
  */
1048
- AssignmentReviewPolicy?: ReviewPolicy;
1048
+ AssignmentReviewPolicy?: ReviewPolicy | undefined;
1049
1049
  /**
1050
1050
  * <p>
1051
1051
  * The HIT-level Review Policy applies to the HIT.
@@ -1053,7 +1053,7 @@ export interface CreateHITWithHITTypeRequest {
1053
1053
  * </p>
1054
1054
  * @public
1055
1055
  */
1056
- HITReviewPolicy?: ReviewPolicy;
1056
+ HITReviewPolicy?: ReviewPolicy | undefined;
1057
1057
  /**
1058
1058
  * <p>
1059
1059
  * The HITLayoutId allows you to use a pre-existing HIT design with placeholder values
@@ -1064,7 +1064,7 @@ export interface CreateHITWithHITTypeRequest {
1064
1064
  * </p>
1065
1065
  * @public
1066
1066
  */
1067
- HITLayoutId?: string;
1067
+ HITLayoutId?: string | undefined;
1068
1068
  /**
1069
1069
  * <p>
1070
1070
  * If the HITLayoutId is provided, any placeholder values must be filled in with values
@@ -1072,7 +1072,7 @@ export interface CreateHITWithHITTypeRequest {
1072
1072
  * </p>
1073
1073
  * @public
1074
1074
  */
1075
- HITLayoutParameters?: HITLayoutParameter[];
1075
+ HITLayoutParameters?: HITLayoutParameter[] | undefined;
1076
1076
  }
1077
1077
  /**
1078
1078
  * @public
@@ -1085,7 +1085,7 @@ export interface CreateHITWithHITTypeResponse {
1085
1085
  * </p>
1086
1086
  * @public
1087
1087
  */
1088
- HIT?: HIT;
1088
+ HIT?: HIT | undefined;
1089
1089
  }
1090
1090
  /**
1091
1091
  * @public
@@ -1117,7 +1117,7 @@ export interface CreateQualificationTypeRequest {
1117
1117
  * easier to find during a search.</p>
1118
1118
  * @public
1119
1119
  */
1120
- Keywords?: string;
1120
+ Keywords?: string | undefined;
1121
1121
  /**
1122
1122
  * <p>A long description for the Qualification type. On the Amazon
1123
1123
  * Mechanical Turk website, the long description is displayed when a
@@ -1144,7 +1144,7 @@ export interface CreateQualificationTypeRequest {
1144
1144
  * Qualification type with retries disabled.</p>
1145
1145
  * @public
1146
1146
  */
1147
- RetryDelayInSeconds?: number;
1147
+ RetryDelayInSeconds?: number | undefined;
1148
1148
  /**
1149
1149
  * <p>
1150
1150
  * The questions for the Qualification test a Worker must answer
@@ -1160,7 +1160,7 @@ export interface CreateQualificationTypeRequest {
1160
1160
  * the Qualification without answering any questions.</p>
1161
1161
  * @public
1162
1162
  */
1163
- Test?: string;
1163
+ Test?: string | undefined;
1164
1164
  /**
1165
1165
  * <p>The answers to the Qualification test specified in the Test
1166
1166
  * parameter, in the form of an AnswerKey data structure.</p>
@@ -1169,14 +1169,14 @@ export interface CreateQualificationTypeRequest {
1169
1169
  * Qualification requests manually.</p>
1170
1170
  * @public
1171
1171
  */
1172
- AnswerKey?: string;
1172
+ AnswerKey?: string | undefined;
1173
1173
  /**
1174
1174
  * <p>The number of seconds the Worker has to complete the
1175
1175
  * Qualification test, starting from the time the Worker requests the
1176
1176
  * Qualification.</p>
1177
1177
  * @public
1178
1178
  */
1179
- TestDurationInSeconds?: number;
1179
+ TestDurationInSeconds?: number | undefined;
1180
1180
  /**
1181
1181
  * <p>Specifies whether requests for the Qualification type are
1182
1182
  * granted immediately, without prompting the Worker with a
@@ -1185,14 +1185,14 @@ export interface CreateQualificationTypeRequest {
1185
1185
  * parameter cannot be true.</p>
1186
1186
  * @public
1187
1187
  */
1188
- AutoGranted?: boolean;
1188
+ AutoGranted?: boolean | undefined;
1189
1189
  /**
1190
1190
  * <p>The Qualification value to use for automatically granted
1191
1191
  * Qualifications. This parameter is used only if the AutoGranted
1192
1192
  * parameter is true.</p>
1193
1193
  * @public
1194
1194
  */
1195
- AutoGrantedValue?: number;
1195
+ AutoGrantedValue?: number | undefined;
1196
1196
  }
1197
1197
  /**
1198
1198
  * <p> The QualificationType data structure represents a
@@ -1211,13 +1211,13 @@ export interface QualificationType {
1211
1211
  * </p>
1212
1212
  * @public
1213
1213
  */
1214
- QualificationTypeId?: string;
1214
+ QualificationTypeId?: string | undefined;
1215
1215
  /**
1216
1216
  * <p> The date and time the Qualification type was created.
1217
1217
  * </p>
1218
1218
  * @public
1219
1219
  */
1220
- CreationTime?: Date;
1220
+ CreationTime?: Date | undefined;
1221
1221
  /**
1222
1222
  * <p> The name of the Qualification type. The type name is used to
1223
1223
  * identify the type, and to find the type using a Qualification type
@@ -1225,13 +1225,13 @@ export interface QualificationType {
1225
1225
  * </p>
1226
1226
  * @public
1227
1227
  */
1228
- Name?: string;
1228
+ Name?: string | undefined;
1229
1229
  /**
1230
1230
  * <p> A long description for the Qualification type.
1231
1231
  * </p>
1232
1232
  * @public
1233
1233
  */
1234
- Description?: string;
1234
+ Description?: string | undefined;
1235
1235
  /**
1236
1236
  * <p> One or more words or phrases that describe theQualification
1237
1237
  * type, separated by commas. The Keywords make the type easier to find
@@ -1239,7 +1239,7 @@ export interface QualificationType {
1239
1239
  * </p>
1240
1240
  * @public
1241
1241
  */
1242
- Keywords?: string;
1242
+ Keywords?: string | undefined;
1243
1243
  /**
1244
1244
  * <p> The status of the Qualification type. A Qualification type's
1245
1245
  * status determines if users can apply to receive a Qualification of
@@ -1248,7 +1248,7 @@ export interface QualificationType {
1248
1248
  * </p>
1249
1249
  * @public
1250
1250
  */
1251
- QualificationTypeStatus?: QualificationTypeStatus;
1251
+ QualificationTypeStatus?: QualificationTypeStatus | undefined;
1252
1252
  /**
1253
1253
  * <p> The questions for a Qualification test associated with this
1254
1254
  * Qualification type that a user can take to obtain a Qualification of
@@ -1258,7 +1258,7 @@ export interface QualificationType {
1258
1258
  * </p>
1259
1259
  * @public
1260
1260
  */
1261
- Test?: string;
1261
+ Test?: string | undefined;
1262
1262
  /**
1263
1263
  * <p> The amount of time, in seconds, given to a Worker to
1264
1264
  * complete the Qualification test, beginning from the time the Worker
@@ -1266,13 +1266,13 @@ export interface QualificationType {
1266
1266
  * </p>
1267
1267
  * @public
1268
1268
  */
1269
- TestDurationInSeconds?: number;
1269
+ TestDurationInSeconds?: number | undefined;
1270
1270
  /**
1271
1271
  * <p>The answers to the Qualification test specified in the Test
1272
1272
  * parameter.</p>
1273
1273
  * @public
1274
1274
  */
1275
- AnswerKey?: string;
1275
+ AnswerKey?: string | undefined;
1276
1276
  /**
1277
1277
  * <p> The amount of time, in seconds, Workers must wait after
1278
1278
  * taking the Qualification test before they can take it again. Workers
@@ -1284,7 +1284,7 @@ export interface QualificationType {
1284
1284
  * </p>
1285
1285
  * @public
1286
1286
  */
1287
- RetryDelayInSeconds?: number;
1287
+ RetryDelayInSeconds?: number | undefined;
1288
1288
  /**
1289
1289
  * <p> Specifies whether the Qualification type is one that a user
1290
1290
  * can request through the Amazon Mechanical Turk web site, such as by
@@ -1293,21 +1293,21 @@ export interface QualificationType {
1293
1293
  * </p>
1294
1294
  * @public
1295
1295
  */
1296
- IsRequestable?: boolean;
1296
+ IsRequestable?: boolean | undefined;
1297
1297
  /**
1298
1298
  * <p>Specifies that requests for the Qualification type are
1299
1299
  * granted immediately, without prompting the Worker with a
1300
1300
  * Qualification test. Valid values are True | False.</p>
1301
1301
  * @public
1302
1302
  */
1303
- AutoGranted?: boolean;
1303
+ AutoGranted?: boolean | undefined;
1304
1304
  /**
1305
1305
  * <p> The Qualification integer value to use for automatically
1306
1306
  * granted Qualifications, if AutoGranted is true. This is 1 by default.
1307
1307
  * </p>
1308
1308
  * @public
1309
1309
  */
1310
- AutoGrantedValue?: number;
1310
+ AutoGrantedValue?: number | undefined;
1311
1311
  }
1312
1312
  /**
1313
1313
  * @public
@@ -1318,7 +1318,7 @@ export interface CreateQualificationTypeResponse {
1318
1318
  * QualificationType data structure.</p>
1319
1319
  * @public
1320
1320
  */
1321
- QualificationType?: QualificationType;
1321
+ QualificationType?: QualificationType | undefined;
1322
1322
  }
1323
1323
  /**
1324
1324
  * @public
@@ -1383,7 +1383,7 @@ export interface DeleteWorkerBlockRequest {
1383
1383
  * <p>A message that explains the reason for unblocking the Worker. The Worker does not see this message.</p>
1384
1384
  * @public
1385
1385
  */
1386
- Reason?: string;
1386
+ Reason?: string | undefined;
1387
1387
  }
1388
1388
  /**
1389
1389
  * @public
@@ -1408,7 +1408,7 @@ export interface DisassociateQualificationFromWorkerRequest {
1408
1408
  * <p>A text message that explains why the Qualification was revoked. The user who had the Qualification sees this message.</p>
1409
1409
  * @public
1410
1410
  */
1411
- Reason?: string;
1411
+ Reason?: string | undefined;
1412
1412
  }
1413
1413
  /**
1414
1414
  * @public
@@ -1450,12 +1450,12 @@ export interface GetAccountBalanceResponse {
1450
1450
  * <p>A string representing a currency amount.</p>
1451
1451
  * @public
1452
1452
  */
1453
- AvailableBalance?: string;
1453
+ AvailableBalance?: string | undefined;
1454
1454
  /**
1455
1455
  * <p>A string representing a currency amount.</p>
1456
1456
  * @public
1457
1457
  */
1458
- OnHoldBalance?: string;
1458
+ OnHoldBalance?: string | undefined;
1459
1459
  }
1460
1460
  /**
1461
1461
  * @public
@@ -1477,13 +1477,13 @@ export interface GetAssignmentResponse {
1477
1477
  * </p>
1478
1478
  * @public
1479
1479
  */
1480
- Assignment?: Assignment;
1480
+ Assignment?: Assignment | undefined;
1481
1481
  /**
1482
1482
  * <p> The HIT associated with this assignment. The response
1483
1483
  * includes one HIT element.</p>
1484
1484
  * @public
1485
1485
  */
1486
- HIT?: HIT;
1486
+ HIT?: HIT | undefined;
1487
1487
  }
1488
1488
  /**
1489
1489
  * @public
@@ -1512,7 +1512,7 @@ export interface GetFileUploadURLResponse {
1512
1512
  * </p>
1513
1513
  * @public
1514
1514
  */
1515
- FileUploadURL?: string;
1515
+ FileUploadURL?: string | undefined;
1516
1516
  }
1517
1517
  /**
1518
1518
  * @public
@@ -1532,7 +1532,7 @@ export interface GetHITResponse {
1532
1532
  * <p> Contains the requested HIT data.</p>
1533
1533
  * @public
1534
1534
  */
1535
- HIT?: HIT;
1535
+ HIT?: HIT | undefined;
1536
1536
  }
1537
1537
  /**
1538
1538
  * @public
@@ -1572,13 +1572,13 @@ export interface Qualification {
1572
1572
  * <p> The ID of the Qualification type for the Qualification.</p>
1573
1573
  * @public
1574
1574
  */
1575
- QualificationTypeId?: string;
1575
+ QualificationTypeId?: string | undefined;
1576
1576
  /**
1577
1577
  * <p> The ID of the Worker who possesses the Qualification.
1578
1578
  * </p>
1579
1579
  * @public
1580
1580
  */
1581
- WorkerId?: string;
1581
+ WorkerId?: string | undefined;
1582
1582
  /**
1583
1583
  * <p> The date and time the Qualification was granted to the
1584
1584
  * Worker. If the Worker's Qualification was revoked, and then
@@ -1587,24 +1587,24 @@ export interface Qualification {
1587
1587
  * operation.</p>
1588
1588
  * @public
1589
1589
  */
1590
- GrantTime?: Date;
1590
+ GrantTime?: Date | undefined;
1591
1591
  /**
1592
1592
  * <p> The value (score) of the Qualification, if the Qualification
1593
1593
  * has an integer value.</p>
1594
1594
  * @public
1595
1595
  */
1596
- IntegerValue?: number;
1596
+ IntegerValue?: number | undefined;
1597
1597
  /**
1598
1598
  * <p>The Locale data structure represents a geographical region or location.</p>
1599
1599
  * @public
1600
1600
  */
1601
- LocaleValue?: Locale;
1601
+ LocaleValue?: Locale | undefined;
1602
1602
  /**
1603
1603
  * <p> The status of the Qualification. Valid values are Granted |
1604
1604
  * Revoked.</p>
1605
1605
  * @public
1606
1606
  */
1607
- Status?: QualificationStatus;
1607
+ Status?: QualificationStatus | undefined;
1608
1608
  }
1609
1609
  /**
1610
1610
  * @public
@@ -1617,7 +1617,7 @@ export interface GetQualificationScoreResponse {
1617
1617
  * </p>
1618
1618
  * @public
1619
1619
  */
1620
- Qualification?: Qualification;
1620
+ Qualification?: Qualification | undefined;
1621
1621
  }
1622
1622
  /**
1623
1623
  * @public
@@ -1637,7 +1637,7 @@ export interface GetQualificationTypeResponse {
1637
1637
  * <p> The returned Qualification Type</p>
1638
1638
  * @public
1639
1639
  */
1640
- QualificationType?: QualificationType;
1640
+ QualificationType?: QualificationType | undefined;
1641
1641
  }
1642
1642
  /**
1643
1643
  * @public
@@ -1652,14 +1652,14 @@ export interface ListAssignmentsForHITRequest {
1652
1652
  * <p>Pagination token</p>
1653
1653
  * @public
1654
1654
  */
1655
- NextToken?: string;
1656
- MaxResults?: number;
1655
+ NextToken?: string | undefined;
1656
+ MaxResults?: number | undefined;
1657
1657
  /**
1658
1658
  * <p>The status of the assignments to return: Submitted | Approved
1659
1659
  * | Rejected</p>
1660
1660
  * @public
1661
1661
  */
1662
- AssignmentStatuses?: AssignmentStatus[];
1662
+ AssignmentStatuses?: AssignmentStatus[] | undefined;
1663
1663
  }
1664
1664
  /**
1665
1665
  * @public
@@ -1672,20 +1672,20 @@ export interface ListAssignmentsForHITResponse {
1672
1672
  * </p>
1673
1673
  * @public
1674
1674
  */
1675
- NextToken?: string;
1675
+ NextToken?: string | undefined;
1676
1676
  /**
1677
1677
  * <p> The number of assignments on the page in the filtered
1678
1678
  * results list, equivalent to the number of assignments returned by
1679
1679
  * this call.</p>
1680
1680
  * @public
1681
1681
  */
1682
- NumResults?: number;
1682
+ NumResults?: number | undefined;
1683
1683
  /**
1684
1684
  * <p> The collection of Assignment data structures returned by
1685
1685
  * this call.</p>
1686
1686
  * @public
1687
1687
  */
1688
- Assignments?: Assignment[];
1688
+ Assignments?: Assignment[] | undefined;
1689
1689
  }
1690
1690
  /**
1691
1691
  * @public
@@ -1698,7 +1698,7 @@ export interface ListBonusPaymentsRequest {
1698
1698
  * AssignmentId parameter must be specified</p>
1699
1699
  * @public
1700
1700
  */
1701
- HITId?: string;
1701
+ HITId?: string | undefined;
1702
1702
  /**
1703
1703
  * <p>The ID of the assignment associated with the bonus payments
1704
1704
  * to retrieve. If specified, only bonus payments for the given
@@ -1706,13 +1706,13 @@ export interface ListBonusPaymentsRequest {
1706
1706
  * AssignmentId parameter must be specified</p>
1707
1707
  * @public
1708
1708
  */
1709
- AssignmentId?: string;
1709
+ AssignmentId?: string | undefined;
1710
1710
  /**
1711
1711
  * <p>Pagination token</p>
1712
1712
  * @public
1713
1713
  */
1714
- NextToken?: string;
1715
- MaxResults?: number;
1714
+ NextToken?: string | undefined;
1715
+ MaxResults?: number | undefined;
1716
1716
  }
1717
1717
  /**
1718
1718
  * @public
@@ -1725,7 +1725,7 @@ export interface ListBonusPaymentsResponse {
1725
1725
  * </p>
1726
1726
  * @public
1727
1727
  */
1728
- NumResults?: number;
1728
+ NumResults?: number | undefined;
1729
1729
  /**
1730
1730
  * <p>If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk
1731
1731
  * returns a pagination token in the response. You can use this pagination token
@@ -1733,14 +1733,14 @@ export interface ListBonusPaymentsResponse {
1733
1733
  * </p>
1734
1734
  * @public
1735
1735
  */
1736
- NextToken?: string;
1736
+ NextToken?: string | undefined;
1737
1737
  /**
1738
1738
  * <p>A successful request to the ListBonusPayments operation
1739
1739
  * returns a list of BonusPayment objects.
1740
1740
  * </p>
1741
1741
  * @public
1742
1742
  */
1743
- BonusPayments?: BonusPayment[];
1743
+ BonusPayments?: BonusPayment[] | undefined;
1744
1744
  }
1745
1745
  /**
1746
1746
  * @public
@@ -1750,8 +1750,8 @@ export interface ListHITsRequest {
1750
1750
  * <p>Pagination token</p>
1751
1751
  * @public
1752
1752
  */
1753
- NextToken?: string;
1754
- MaxResults?: number;
1753
+ NextToken?: string | undefined;
1754
+ MaxResults?: number | undefined;
1755
1755
  }
1756
1756
  /**
1757
1757
  * @public
@@ -1764,18 +1764,18 @@ export interface ListHITsResponse {
1764
1764
  * </p>
1765
1765
  * @public
1766
1766
  */
1767
- NextToken?: string;
1767
+ NextToken?: string | undefined;
1768
1768
  /**
1769
1769
  * <p>The number of HITs on this page in the filtered results list,
1770
1770
  * equivalent to the number of HITs being returned by this call.</p>
1771
1771
  * @public
1772
1772
  */
1773
- NumResults?: number;
1773
+ NumResults?: number | undefined;
1774
1774
  /**
1775
1775
  * <p> The list of HIT elements returned by the query.</p>
1776
1776
  * @public
1777
1777
  */
1778
- HITs?: HIT[];
1778
+ HITs?: HIT[] | undefined;
1779
1779
  }
1780
1780
  /**
1781
1781
  * @public
@@ -1792,14 +1792,14 @@ export interface ListHITsForQualificationTypeRequest {
1792
1792
  * <p>Pagination Token</p>
1793
1793
  * @public
1794
1794
  */
1795
- NextToken?: string;
1795
+ NextToken?: string | undefined;
1796
1796
  /**
1797
1797
  * <p>
1798
1798
  * Limit the number of results returned.
1799
1799
  * </p>
1800
1800
  * @public
1801
1801
  */
1802
- MaxResults?: number;
1802
+ MaxResults?: number | undefined;
1803
1803
  }
1804
1804
  /**
1805
1805
  * @public
@@ -1812,18 +1812,18 @@ export interface ListHITsForQualificationTypeResponse {
1812
1812
  * </p>
1813
1813
  * @public
1814
1814
  */
1815
- NextToken?: string;
1815
+ NextToken?: string | undefined;
1816
1816
  /**
1817
1817
  * <p> The number of HITs on this page in the filtered results
1818
1818
  * list, equivalent to the number of HITs being returned by this call. </p>
1819
1819
  * @public
1820
1820
  */
1821
- NumResults?: number;
1821
+ NumResults?: number | undefined;
1822
1822
  /**
1823
1823
  * <p> The list of HIT elements returned by the query.</p>
1824
1824
  * @public
1825
1825
  */
1826
- HITs?: HIT[];
1826
+ HITs?: HIT[] | undefined;
1827
1827
  }
1828
1828
  /**
1829
1829
  * @public
@@ -1833,7 +1833,7 @@ export interface ListQualificationRequestsRequest {
1833
1833
  * <p>The ID of the QualificationType.</p>
1834
1834
  * @public
1835
1835
  */
1836
- QualificationTypeId?: string;
1836
+ QualificationTypeId?: string | undefined;
1837
1837
  /**
1838
1838
  * <p>If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk
1839
1839
  * returns a pagination token in the response. You can use this pagination token
@@ -1841,13 +1841,13 @@ export interface ListQualificationRequestsRequest {
1841
1841
  * </p>
1842
1842
  * @public
1843
1843
  */
1844
- NextToken?: string;
1844
+ NextToken?: string | undefined;
1845
1845
  /**
1846
1846
  * <p> The maximum number of results to return in a single call.
1847
1847
  * </p>
1848
1848
  * @public
1849
1849
  */
1850
- MaxResults?: number;
1850
+ MaxResults?: number | undefined;
1851
1851
  }
1852
1852
  /**
1853
1853
  * <p> The QualificationRequest data structure represents a request
@@ -1863,19 +1863,19 @@ export interface QualificationRequest {
1863
1863
  * </p>
1864
1864
  * @public
1865
1865
  */
1866
- QualificationRequestId?: string;
1866
+ QualificationRequestId?: string | undefined;
1867
1867
  /**
1868
1868
  * <p> The ID of the Qualification type the Worker is requesting,
1869
1869
  * as returned by the CreateQualificationType operation.
1870
1870
  * </p>
1871
1871
  * @public
1872
1872
  */
1873
- QualificationTypeId?: string;
1873
+ QualificationTypeId?: string | undefined;
1874
1874
  /**
1875
1875
  * <p> The ID of the Worker requesting the Qualification.</p>
1876
1876
  * @public
1877
1877
  */
1878
- WorkerId?: string;
1878
+ WorkerId?: string | undefined;
1879
1879
  /**
1880
1880
  * <p> The contents of the Qualification test that was presented to
1881
1881
  * the Worker, if the type has a test and the Worker has submitted
@@ -1884,7 +1884,7 @@ export interface QualificationRequest {
1884
1884
  * Qualification.</p>
1885
1885
  * @public
1886
1886
  */
1887
- Test?: string;
1887
+ Test?: string | undefined;
1888
1888
  /**
1889
1889
  * <p> The Worker's answers for the Qualification type's test
1890
1890
  * contained in a QuestionFormAnswers document, if the type has a test
@@ -1893,7 +1893,7 @@ export interface QualificationRequest {
1893
1893
  * </p>
1894
1894
  * @public
1895
1895
  */
1896
- Answer?: string;
1896
+ Answer?: string | undefined;
1897
1897
  /**
1898
1898
  * <p>The date and time the Qualification request had a status of
1899
1899
  * Submitted. This is either the time the Worker submitted answers for a
@@ -1902,7 +1902,7 @@ export interface QualificationRequest {
1902
1902
  * </p>
1903
1903
  * @public
1904
1904
  */
1905
- SubmitTime?: Date;
1905
+ SubmitTime?: Date | undefined;
1906
1906
  }
1907
1907
  /**
1908
1908
  * @public
@@ -1913,7 +1913,7 @@ export interface ListQualificationRequestsResponse {
1913
1913
  * equivalent to the number of Qualification requests being returned by this call.</p>
1914
1914
  * @public
1915
1915
  */
1916
- NumResults?: number;
1916
+ NumResults?: number | undefined;
1917
1917
  /**
1918
1918
  * <p>If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk
1919
1919
  * returns a pagination token in the response. You can use this pagination token
@@ -1921,7 +1921,7 @@ export interface ListQualificationRequestsResponse {
1921
1921
  * </p>
1922
1922
  * @public
1923
1923
  */
1924
- NextToken?: string;
1924
+ NextToken?: string | undefined;
1925
1925
  /**
1926
1926
  * <p>The Qualification request. The response includes one
1927
1927
  * QualificationRequest element
@@ -1929,7 +1929,7 @@ export interface ListQualificationRequestsResponse {
1929
1929
  * by the query.</p>
1930
1930
  * @public
1931
1931
  */
1932
- QualificationRequests?: QualificationRequest[];
1932
+ QualificationRequests?: QualificationRequest[] | undefined;
1933
1933
  }
1934
1934
  /**
1935
1935
  * @public
@@ -1941,7 +1941,7 @@ export interface ListQualificationTypesRequest {
1941
1941
  * </p>
1942
1942
  * @public
1943
1943
  */
1944
- Query?: string;
1944
+ Query?: string | undefined;
1945
1945
  /**
1946
1946
  * <p>Specifies that only Qualification types that a user can
1947
1947
  * request through the Amazon Mechanical Turk web site, such as by
@@ -1961,7 +1961,7 @@ export interface ListQualificationTypesRequest {
1961
1961
  * </p>
1962
1962
  * @public
1963
1963
  */
1964
- MustBeOwnedByCaller?: boolean;
1964
+ MustBeOwnedByCaller?: boolean | undefined;
1965
1965
  /**
1966
1966
  * <p>If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk
1967
1967
  * returns a pagination token in the response. You can use this pagination token
@@ -1969,13 +1969,13 @@ export interface ListQualificationTypesRequest {
1969
1969
  * </p>
1970
1970
  * @public
1971
1971
  */
1972
- NextToken?: string;
1972
+ NextToken?: string | undefined;
1973
1973
  /**
1974
1974
  * <p> The maximum number of results to return in a single call.
1975
1975
  * </p>
1976
1976
  * @public
1977
1977
  */
1978
- MaxResults?: number;
1978
+ MaxResults?: number | undefined;
1979
1979
  }
1980
1980
  /**
1981
1981
  * @public
@@ -1988,7 +1988,7 @@ export interface ListQualificationTypesResponse {
1988
1988
  * </p>
1989
1989
  * @public
1990
1990
  */
1991
- NumResults?: number;
1991
+ NumResults?: number | undefined;
1992
1992
  /**
1993
1993
  * <p>If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk
1994
1994
  * returns a pagination token in the response. You can use this pagination token
@@ -1996,14 +1996,14 @@ export interface ListQualificationTypesResponse {
1996
1996
  * </p>
1997
1997
  * @public
1998
1998
  */
1999
- NextToken?: string;
1999
+ NextToken?: string | undefined;
2000
2000
  /**
2001
2001
  * <p> The list of QualificationType elements returned by the
2002
2002
  * query.
2003
2003
  * </p>
2004
2004
  * @public
2005
2005
  */
2006
- QualificationTypes?: QualificationType[];
2006
+ QualificationTypes?: QualificationType[] | undefined;
2007
2007
  }
2008
2008
  /**
2009
2009
  * @public
@@ -2028,7 +2028,7 @@ export interface ListReviewableHITsRequest {
2028
2028
  * </p>
2029
2029
  * @public
2030
2030
  */
2031
- HITTypeId?: string;
2031
+ HITTypeId?: string | undefined;
2032
2032
  /**
2033
2033
  * <p>
2034
2034
  * Can be either <code>Reviewable</code> or <code>Reviewing</code>.
@@ -2036,19 +2036,19 @@ export interface ListReviewableHITsRequest {
2036
2036
  * </p>
2037
2037
  * @public
2038
2038
  */
2039
- Status?: ReviewableHITStatus;
2039
+ Status?: ReviewableHITStatus | undefined;
2040
2040
  /**
2041
2041
  * <p>Pagination Token</p>
2042
2042
  * @public
2043
2043
  */
2044
- NextToken?: string;
2044
+ NextToken?: string | undefined;
2045
2045
  /**
2046
2046
  * <p>
2047
2047
  * Limit the number of results returned.
2048
2048
  * </p>
2049
2049
  * @public
2050
2050
  */
2051
- MaxResults?: number;
2051
+ MaxResults?: number | undefined;
2052
2052
  }
2053
2053
  /**
2054
2054
  * @public
@@ -2061,19 +2061,19 @@ export interface ListReviewableHITsResponse {
2061
2061
  * </p>
2062
2062
  * @public
2063
2063
  */
2064
- NextToken?: string;
2064
+ NextToken?: string | undefined;
2065
2065
  /**
2066
2066
  * <p> The number of HITs on this page in the filtered results
2067
2067
  * list, equivalent to the number of HITs being returned by this call.
2068
2068
  * </p>
2069
2069
  * @public
2070
2070
  */
2071
- NumResults?: number;
2071
+ NumResults?: number | undefined;
2072
2072
  /**
2073
2073
  * <p> The list of HIT elements returned by the query.</p>
2074
2074
  * @public
2075
2075
  */
2076
- HITs?: HIT[];
2076
+ HITs?: HIT[] | undefined;
2077
2077
  }
2078
2078
  /**
2079
2079
  * @public
@@ -2104,7 +2104,7 @@ export interface ListReviewPolicyResultsForHITRequest {
2104
2104
  * </p>
2105
2105
  * @public
2106
2106
  */
2107
- PolicyLevels?: ReviewPolicyLevel[];
2107
+ PolicyLevels?: ReviewPolicyLevel[] | undefined;
2108
2108
  /**
2109
2109
  * <p>
2110
2110
  * Specify if the operation should retrieve a list of the actions taken executing
@@ -2112,24 +2112,24 @@ export interface ListReviewPolicyResultsForHITRequest {
2112
2112
  * </p>
2113
2113
  * @public
2114
2114
  */
2115
- RetrieveActions?: boolean;
2115
+ RetrieveActions?: boolean | undefined;
2116
2116
  /**
2117
2117
  * <p>
2118
2118
  * Specify if the operation should retrieve a list of the results computed by the Review Policies.
2119
2119
  * </p>
2120
2120
  * @public
2121
2121
  */
2122
- RetrieveResults?: boolean;
2122
+ RetrieveResults?: boolean | undefined;
2123
2123
  /**
2124
2124
  * <p>Pagination token</p>
2125
2125
  * @public
2126
2126
  */
2127
- NextToken?: string;
2127
+ NextToken?: string | undefined;
2128
2128
  /**
2129
2129
  * <p>Limit the number of results returned.</p>
2130
2130
  * @public
2131
2131
  */
2132
- MaxResults?: number;
2132
+ MaxResults?: number | undefined;
2133
2133
  }
2134
2134
  /**
2135
2135
  * @public
@@ -2158,46 +2158,46 @@ export interface ReviewActionDetail {
2158
2158
  * <p>The unique identifier for the action.</p>
2159
2159
  * @public
2160
2160
  */
2161
- ActionId?: string;
2161
+ ActionId?: string | undefined;
2162
2162
  /**
2163
2163
  * <p> The nature of the action itself. The Review Policy is
2164
2164
  * responsible for examining the HIT and Assignments, emitting results,
2165
2165
  * and deciding which other actions will be necessary. </p>
2166
2166
  * @public
2167
2167
  */
2168
- ActionName?: string;
2168
+ ActionName?: string | undefined;
2169
2169
  /**
2170
2170
  * <p> The specific HITId or AssignmentID targeted by the action.</p>
2171
2171
  * @public
2172
2172
  */
2173
- TargetId?: string;
2173
+ TargetId?: string | undefined;
2174
2174
  /**
2175
2175
  * <p> The type of object in TargetId.</p>
2176
2176
  * @public
2177
2177
  */
2178
- TargetType?: string;
2178
+ TargetType?: string | undefined;
2179
2179
  /**
2180
2180
  * <p> The current disposition of the action: INTENDED, SUCCEEDED,
2181
2181
  * FAILED, or CANCELLED.
2182
2182
  * </p>
2183
2183
  * @public
2184
2184
  */
2185
- Status?: ReviewActionStatus;
2185
+ Status?: ReviewActionStatus | undefined;
2186
2186
  /**
2187
2187
  * <p> The date when the action was completed.</p>
2188
2188
  * @public
2189
2189
  */
2190
- CompleteTime?: Date;
2190
+ CompleteTime?: Date | undefined;
2191
2191
  /**
2192
2192
  * <p> A description of the outcome of the review.</p>
2193
2193
  * @public
2194
2194
  */
2195
- Result?: string;
2195
+ Result?: string | undefined;
2196
2196
  /**
2197
2197
  * <p> Present only when the Results have a FAILED Status.</p>
2198
2198
  * @public
2199
2199
  */
2200
- ErrorCode?: string;
2200
+ ErrorCode?: string | undefined;
2201
2201
  }
2202
2202
  /**
2203
2203
  * <p> This data structure is returned multiple times for each
@@ -2211,7 +2211,7 @@ export interface ReviewResultDetail {
2211
2211
  * </p>
2212
2212
  * @public
2213
2213
  */
2214
- ActionId?: string;
2214
+ ActionId?: string | undefined;
2215
2215
  /**
2216
2216
  * <p>The HITID or AssignmentId about which this result was taken.
2217
2217
  * Note that HIT-level Review Policies will often emit results about
@@ -2221,12 +2221,12 @@ export interface ReviewResultDetail {
2221
2221
  * </p>
2222
2222
  * @public
2223
2223
  */
2224
- SubjectId?: string;
2224
+ SubjectId?: string | undefined;
2225
2225
  /**
2226
2226
  * <p> The type of the object from the SubjectId field.</p>
2227
2227
  * @public
2228
2228
  */
2229
- SubjectType?: string;
2229
+ SubjectType?: string | undefined;
2230
2230
  /**
2231
2231
  * <p> Specifies the QuestionId the result is describing. Depending
2232
2232
  * on whether the TargetType is a HIT or Assignment this results could
@@ -2238,20 +2238,20 @@ export interface ReviewResultDetail {
2238
2238
  * </p>
2239
2239
  * @public
2240
2240
  */
2241
- QuestionId?: string;
2241
+ QuestionId?: string | undefined;
2242
2242
  /**
2243
2243
  * <p> Key identifies the particular piece of reviewed information.
2244
2244
  * </p>
2245
2245
  * @public
2246
2246
  */
2247
- Key?: string;
2247
+ Key?: string | undefined;
2248
2248
  /**
2249
2249
  * <p> The values of Key provided by the review policies you have
2250
2250
  * selected.
2251
2251
  * </p>
2252
2252
  * @public
2253
2253
  */
2254
- Value?: string;
2254
+ Value?: string | undefined;
2255
2255
  }
2256
2256
  /**
2257
2257
  * <p> Contains both ReviewResult and ReviewAction elements for a
@@ -2266,14 +2266,14 @@ export interface ReviewReport {
2266
2266
  * </p>
2267
2267
  * @public
2268
2268
  */
2269
- ReviewResults?: ReviewResultDetail[];
2269
+ ReviewResults?: ReviewResultDetail[] | undefined;
2270
2270
  /**
2271
2271
  * <p> A list of ReviewAction objects for each action specified in
2272
2272
  * the Review Policy.
2273
2273
  * </p>
2274
2274
  * @public
2275
2275
  */
2276
- ReviewActions?: ReviewActionDetail[];
2276
+ ReviewActions?: ReviewActionDetail[] | undefined;
2277
2277
  }
2278
2278
  /**
2279
2279
  * @public
@@ -2283,33 +2283,33 @@ export interface ListReviewPolicyResultsForHITResponse {
2283
2283
  * <p>The HITId of the HIT for which results have been returned.</p>
2284
2284
  * @public
2285
2285
  */
2286
- HITId?: string;
2286
+ HITId?: string | undefined;
2287
2287
  /**
2288
2288
  * <p> The name of the Assignment-level Review Policy. This
2289
2289
  * contains only the PolicyName element.
2290
2290
  * </p>
2291
2291
  * @public
2292
2292
  */
2293
- AssignmentReviewPolicy?: ReviewPolicy;
2293
+ AssignmentReviewPolicy?: ReviewPolicy | undefined;
2294
2294
  /**
2295
2295
  * <p>The name of the HIT-level Review Policy. This contains only
2296
2296
  * the PolicyName element.</p>
2297
2297
  * @public
2298
2298
  */
2299
- HITReviewPolicy?: ReviewPolicy;
2299
+ HITReviewPolicy?: ReviewPolicy | undefined;
2300
2300
  /**
2301
2301
  * <p> Contains both ReviewResult and ReviewAction elements for an
2302
2302
  * Assignment.
2303
2303
  * </p>
2304
2304
  * @public
2305
2305
  */
2306
- AssignmentReviewReport?: ReviewReport;
2306
+ AssignmentReviewReport?: ReviewReport | undefined;
2307
2307
  /**
2308
2308
  * <p>Contains both ReviewResult and ReviewAction elements for a particular HIT.
2309
2309
  * </p>
2310
2310
  * @public
2311
2311
  */
2312
- HITReviewReport?: ReviewReport;
2312
+ HITReviewReport?: ReviewReport | undefined;
2313
2313
  /**
2314
2314
  * <p>If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk
2315
2315
  * returns a pagination token in the response. You can use this pagination token
@@ -2317,7 +2317,7 @@ export interface ListReviewPolicyResultsForHITResponse {
2317
2317
  * </p>
2318
2318
  * @public
2319
2319
  */
2320
- NextToken?: string;
2320
+ NextToken?: string | undefined;
2321
2321
  }
2322
2322
  /**
2323
2323
  * @public
@@ -2327,8 +2327,8 @@ export interface ListWorkerBlocksRequest {
2327
2327
  * <p>Pagination token</p>
2328
2328
  * @public
2329
2329
  */
2330
- NextToken?: string;
2331
- MaxResults?: number;
2330
+ NextToken?: string | undefined;
2331
+ MaxResults?: number | undefined;
2332
2332
  }
2333
2333
  /**
2334
2334
  * <p> The WorkerBlock data structure represents a Worker who has
@@ -2342,13 +2342,13 @@ export interface WorkerBlock {
2342
2342
  * <p> The ID of the Worker who accepted the HIT.</p>
2343
2343
  * @public
2344
2344
  */
2345
- WorkerId?: string;
2345
+ WorkerId?: string | undefined;
2346
2346
  /**
2347
2347
  * <p> A message explaining the reason the Worker was blocked.
2348
2348
  * </p>
2349
2349
  * @public
2350
2350
  */
2351
- Reason?: string;
2351
+ Reason?: string | undefined;
2352
2352
  }
2353
2353
  /**
2354
2354
  * @public
@@ -2361,20 +2361,20 @@ export interface ListWorkerBlocksResponse {
2361
2361
  * </p>
2362
2362
  * @public
2363
2363
  */
2364
- NextToken?: string;
2364
+ NextToken?: string | undefined;
2365
2365
  /**
2366
2366
  * <p> The number of assignments on the page in the filtered
2367
2367
  * results list, equivalent to the number of assignments returned by
2368
2368
  * this call.</p>
2369
2369
  * @public
2370
2370
  */
2371
- NumResults?: number;
2371
+ NumResults?: number | undefined;
2372
2372
  /**
2373
2373
  * <p> The list of WorkerBlocks, containing the collection of
2374
2374
  * Worker IDs and reasons for blocking.</p>
2375
2375
  * @public
2376
2376
  */
2377
- WorkerBlocks?: WorkerBlock[];
2377
+ WorkerBlocks?: WorkerBlock[] | undefined;
2378
2378
  }
2379
2379
  /**
2380
2380
  * @public
@@ -2393,19 +2393,19 @@ export interface ListWorkersWithQualificationTypeRequest {
2393
2393
  * </p>
2394
2394
  * @public
2395
2395
  */
2396
- Status?: QualificationStatus;
2396
+ Status?: QualificationStatus | undefined;
2397
2397
  /**
2398
2398
  * <p>Pagination Token</p>
2399
2399
  * @public
2400
2400
  */
2401
- NextToken?: string;
2401
+ NextToken?: string | undefined;
2402
2402
  /**
2403
2403
  * <p>
2404
2404
  * Limit the number of results returned.
2405
2405
  * </p>
2406
2406
  * @public
2407
2407
  */
2408
- MaxResults?: number;
2408
+ MaxResults?: number | undefined;
2409
2409
  }
2410
2410
  /**
2411
2411
  * @public
@@ -2418,20 +2418,20 @@ export interface ListWorkersWithQualificationTypeResponse {
2418
2418
  * </p>
2419
2419
  * @public
2420
2420
  */
2421
- NextToken?: string;
2421
+ NextToken?: string | undefined;
2422
2422
  /**
2423
2423
  * <p> The number of Qualifications on this page in the filtered
2424
2424
  * results list, equivalent to the number of Qualifications being
2425
2425
  * returned by this call.</p>
2426
2426
  * @public
2427
2427
  */
2428
- NumResults?: number;
2428
+ NumResults?: number | undefined;
2429
2429
  /**
2430
2430
  * <p> The list of Qualification elements returned by this call.
2431
2431
  * </p>
2432
2432
  * @public
2433
2433
  */
2434
- Qualifications?: Qualification[];
2434
+ Qualifications?: Qualification[] | undefined;
2435
2435
  }
2436
2436
  /**
2437
2437
  * @public
@@ -2481,19 +2481,19 @@ export interface NotifyWorkersFailureStatus {
2481
2481
  * </p>
2482
2482
  * @public
2483
2483
  */
2484
- NotifyWorkersFailureCode?: NotifyWorkersFailureCode;
2484
+ NotifyWorkersFailureCode?: NotifyWorkersFailureCode | undefined;
2485
2485
  /**
2486
2486
  * <p> A message detailing the reason the Worker could not be
2487
2487
  * notified.
2488
2488
  * </p>
2489
2489
  * @public
2490
2490
  */
2491
- NotifyWorkersFailureMessage?: string;
2491
+ NotifyWorkersFailureMessage?: string | undefined;
2492
2492
  /**
2493
2493
  * <p> The ID of the Worker.</p>
2494
2494
  * @public
2495
2495
  */
2496
- WorkerId?: string;
2496
+ WorkerId?: string | undefined;
2497
2497
  }
2498
2498
  /**
2499
2499
  * @public
@@ -2506,7 +2506,7 @@ export interface NotifyWorkersResponse {
2506
2506
  * </p>
2507
2507
  * @public
2508
2508
  */
2509
- NotifyWorkersFailureStatuses?: NotifyWorkersFailureStatus[];
2509
+ NotifyWorkersFailureStatuses?: NotifyWorkersFailureStatus[] | undefined;
2510
2510
  }
2511
2511
  /**
2512
2512
  * @public
@@ -2550,7 +2550,7 @@ export interface RejectQualificationRequestRequest {
2550
2550
  * shown to the Worker who made the request.</p>
2551
2551
  * @public
2552
2552
  */
2553
- Reason?: string;
2553
+ Reason?: string | undefined;
2554
2554
  }
2555
2555
  /**
2556
2556
  * @public
@@ -2595,7 +2595,7 @@ export interface SendBonusRequest {
2595
2595
  * request ID.</p>
2596
2596
  * @public
2597
2597
  */
2598
- UniqueRequestToken?: string;
2598
+ UniqueRequestToken?: string | undefined;
2599
2599
  }
2600
2600
  /**
2601
2601
  * @public
@@ -2746,7 +2746,7 @@ export interface UpdateHITReviewStatusRequest {
2746
2746
  * </ul>
2747
2747
  * @public
2748
2748
  */
2749
- Revert?: boolean;
2749
+ Revert?: boolean | undefined;
2750
2750
  }
2751
2751
  /**
2752
2752
  * @public
@@ -2790,7 +2790,7 @@ export interface UpdateNotificationSettingsRequest {
2790
2790
  * </p>
2791
2791
  * @public
2792
2792
  */
2793
- Notification?: NotificationSpecification;
2793
+ Notification?: NotificationSpecification | undefined;
2794
2794
  /**
2795
2795
  * <p>
2796
2796
  * Specifies whether notifications are sent for HITs of this HIT type,
@@ -2800,7 +2800,7 @@ export interface UpdateNotificationSettingsRequest {
2800
2800
  * </p>
2801
2801
  * @public
2802
2802
  */
2803
- Active?: boolean;
2803
+ Active?: boolean | undefined;
2804
2804
  }
2805
2805
  /**
2806
2806
  * @public
@@ -2820,29 +2820,29 @@ export interface UpdateQualificationTypeRequest {
2820
2820
  * <p>The new description of the Qualification type.</p>
2821
2821
  * @public
2822
2822
  */
2823
- Description?: string;
2823
+ Description?: string | undefined;
2824
2824
  /**
2825
2825
  * <p>The new status of the Qualification type - Active | Inactive</p>
2826
2826
  * @public
2827
2827
  */
2828
- QualificationTypeStatus?: QualificationTypeStatus;
2828
+ QualificationTypeStatus?: QualificationTypeStatus | undefined;
2829
2829
  /**
2830
2830
  * <p>The questions for the Qualification test a Worker must answer correctly to obtain a Qualification of this type. If this parameter is specified, <code>TestDurationInSeconds</code> must also be specified.</p>
2831
2831
  * <p>Constraints: Must not be longer than 65535 bytes. Must be a QuestionForm data structure. This parameter cannot be specified if AutoGranted is true.</p>
2832
2832
  * <p>Constraints: None. If not specified, the Worker may request the Qualification without answering any questions.</p>
2833
2833
  * @public
2834
2834
  */
2835
- Test?: string;
2835
+ Test?: string | undefined;
2836
2836
  /**
2837
2837
  * <p>The answers to the Qualification test specified in the Test parameter, in the form of an AnswerKey data structure.</p>
2838
2838
  * @public
2839
2839
  */
2840
- AnswerKey?: string;
2840
+ AnswerKey?: string | undefined;
2841
2841
  /**
2842
2842
  * <p>The number of seconds the Worker has to complete the Qualification test, starting from the time the Worker requests the Qualification.</p>
2843
2843
  * @public
2844
2844
  */
2845
- TestDurationInSeconds?: number;
2845
+ TestDurationInSeconds?: number | undefined;
2846
2846
  /**
2847
2847
  * <p>The amount of time, in seconds, that Workers must wait
2848
2848
  * after requesting a Qualification of the specified Qualification type
@@ -2854,18 +2854,18 @@ export interface UpdateQualificationTypeRequest {
2854
2854
  * retries disabled using CreateQualificationType.</p>
2855
2855
  * @public
2856
2856
  */
2857
- RetryDelayInSeconds?: number;
2857
+ RetryDelayInSeconds?: number | undefined;
2858
2858
  /**
2859
2859
  * <p>Specifies whether requests for the Qualification type are granted immediately, without prompting the Worker with a Qualification test.</p>
2860
2860
  * <p>Constraints: If the Test parameter is specified, this parameter cannot be true.</p>
2861
2861
  * @public
2862
2862
  */
2863
- AutoGranted?: boolean;
2863
+ AutoGranted?: boolean | undefined;
2864
2864
  /**
2865
2865
  * <p>The Qualification value to use for automatically granted Qualifications. This parameter is used only if the AutoGranted parameter is true.</p>
2866
2866
  * @public
2867
2867
  */
2868
- AutoGrantedValue?: number;
2868
+ AutoGrantedValue?: number | undefined;
2869
2869
  }
2870
2870
  /**
2871
2871
  * @public
@@ -2875,5 +2875,5 @@ export interface UpdateQualificationTypeResponse {
2875
2875
  * <p> Contains a QualificationType data structure.</p>
2876
2876
  * @public
2877
2877
  */
2878
- QualificationType?: QualificationType;
2878
+ QualificationType?: QualificationType | undefined;
2879
2879
  }