@aws-sdk/client-mturk 3.300.0 → 3.303.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.
Files changed (43) hide show
  1. package/dist-cjs/models/models_0.js +80 -93
  2. package/dist-es/models/models_0.js +80 -93
  3. package/dist-types/commands/AcceptQualificationRequestCommand.d.ts +1 -1
  4. package/dist-types/commands/ApproveAssignmentCommand.d.ts +1 -1
  5. package/dist-types/commands/AssociateQualificationWithWorkerCommand.d.ts +1 -1
  6. package/dist-types/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateHITCommand.d.ts +14 -14
  8. package/dist-types/commands/CreateHITTypeCommand.d.ts +6 -6
  9. package/dist-types/commands/CreateHITWithHITTypeCommand.d.ts +9 -9
  10. package/dist-types/commands/CreateQualificationTypeCommand.d.ts +1 -1
  11. package/dist-types/commands/CreateWorkerBlockCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteHITCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteQualificationTypeCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteWorkerBlockCommand.d.ts +1 -1
  15. package/dist-types/commands/DisassociateQualificationFromWorkerCommand.d.ts +1 -1
  16. package/dist-types/commands/GetAssignmentCommand.d.ts +1 -1
  17. package/dist-types/commands/GetFileUploadURLCommand.d.ts +1 -1
  18. package/dist-types/commands/GetHITCommand.d.ts +1 -1
  19. package/dist-types/commands/GetQualificationScoreCommand.d.ts +1 -1
  20. package/dist-types/commands/GetQualificationTypeCommand.d.ts +1 -1
  21. package/dist-types/commands/ListAssignmentsForHITCommand.d.ts +2 -2
  22. package/dist-types/commands/ListBonusPaymentsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListHITsCommand.d.ts +1 -1
  24. package/dist-types/commands/ListHITsForQualificationTypeCommand.d.ts +1 -1
  25. package/dist-types/commands/ListQualificationRequestsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListQualificationTypesCommand.d.ts +1 -1
  27. package/dist-types/commands/ListReviewPolicyResultsForHITCommand.d.ts +2 -2
  28. package/dist-types/commands/ListReviewableHITsCommand.d.ts +1 -1
  29. package/dist-types/commands/ListWorkerBlocksCommand.d.ts +1 -1
  30. package/dist-types/commands/ListWorkersWithQualificationTypeCommand.d.ts +1 -1
  31. package/dist-types/commands/NotifyWorkersCommand.d.ts +2 -2
  32. package/dist-types/commands/RejectAssignmentCommand.d.ts +1 -1
  33. package/dist-types/commands/RejectQualificationRequestCommand.d.ts +1 -1
  34. package/dist-types/commands/SendBonusCommand.d.ts +1 -1
  35. package/dist-types/commands/SendTestEventNotificationCommand.d.ts +3 -3
  36. package/dist-types/commands/UpdateExpirationForHITCommand.d.ts +1 -1
  37. package/dist-types/commands/UpdateHITReviewStatusCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateHITTypeOfHITCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateNotificationSettingsCommand.d.ts +3 -3
  40. package/dist-types/commands/UpdateQualificationTypeCommand.d.ts +1 -1
  41. package/dist-types/models/models_0.d.ts +145 -80
  42. package/dist-types/ts3.4/models/models_0.d.ts +103 -80
  43. package/package.json +34 -34
@@ -28,7 +28,7 @@ export interface GetHITCommandOutput extends GetHITResponse, __MetadataBearer {
28
28
  * import { MTurkClient, GetHITCommand } from "@aws-sdk/client-mturk"; // ES Modules import
29
29
  * // const { MTurkClient, GetHITCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
30
30
  * const client = new MTurkClient(config);
31
- * const input = {
31
+ * const input = { // GetHITRequest
32
32
  * HITId: "STRING_VALUE", // required
33
33
  * };
34
34
  * const command = new GetHITCommand(input);
@@ -39,7 +39,7 @@ export interface GetQualificationScoreCommandOutput extends GetQualificationScor
39
39
  * import { MTurkClient, GetQualificationScoreCommand } from "@aws-sdk/client-mturk"; // ES Modules import
40
40
  * // const { MTurkClient, GetQualificationScoreCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
41
41
  * const client = new MTurkClient(config);
42
- * const input = {
42
+ * const input = { // GetQualificationScoreRequest
43
43
  * QualificationTypeId: "STRING_VALUE", // required
44
44
  * WorkerId: "STRING_VALUE", // required
45
45
  * };
@@ -28,7 +28,7 @@ export interface GetQualificationTypeCommandOutput extends GetQualificationTypeR
28
28
  * import { MTurkClient, GetQualificationTypeCommand } from "@aws-sdk/client-mturk"; // ES Modules import
29
29
  * // const { MTurkClient, GetQualificationTypeCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
30
30
  * const client = new MTurkClient(config);
31
- * const input = {
31
+ * const input = { // GetQualificationTypeRequest
32
32
  * QualificationTypeId: "STRING_VALUE", // required
33
33
  * };
34
34
  * const command = new GetQualificationTypeCommand(input);
@@ -52,11 +52,11 @@ export interface ListAssignmentsForHITCommandOutput extends ListAssignmentsForHI
52
52
  * import { MTurkClient, ListAssignmentsForHITCommand } from "@aws-sdk/client-mturk"; // ES Modules import
53
53
  * // const { MTurkClient, ListAssignmentsForHITCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
54
54
  * const client = new MTurkClient(config);
55
- * const input = {
55
+ * const input = { // ListAssignmentsForHITRequest
56
56
  * HITId: "STRING_VALUE", // required
57
57
  * NextToken: "STRING_VALUE",
58
58
  * MaxResults: Number("int"),
59
- * AssignmentStatuses: [
59
+ * AssignmentStatuses: [ // AssignmentStatusList
60
60
  * "STRING_VALUE",
61
61
  * ],
62
62
  * };
@@ -31,7 +31,7 @@ export interface ListBonusPaymentsCommandOutput extends ListBonusPaymentsRespons
31
31
  * import { MTurkClient, ListBonusPaymentsCommand } from "@aws-sdk/client-mturk"; // ES Modules import
32
32
  * // const { MTurkClient, ListBonusPaymentsCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
33
33
  * const client = new MTurkClient(config);
34
- * const input = {
34
+ * const input = { // ListBonusPaymentsRequest
35
35
  * HITId: "STRING_VALUE",
36
36
  * AssignmentId: "STRING_VALUE",
37
37
  * NextToken: "STRING_VALUE",
@@ -32,7 +32,7 @@ export interface ListHITsCommandOutput extends ListHITsResponse, __MetadataBeare
32
32
  * import { MTurkClient, ListHITsCommand } from "@aws-sdk/client-mturk"; // ES Modules import
33
33
  * // const { MTurkClient, ListHITsCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
34
34
  * const client = new MTurkClient(config);
35
- * const input = {
35
+ * const input = { // ListHITsRequest
36
36
  * NextToken: "STRING_VALUE",
37
37
  * MaxResults: Number("int"),
38
38
  * };
@@ -31,7 +31,7 @@ export interface ListHITsForQualificationTypeCommandOutput extends ListHITsForQu
31
31
  * import { MTurkClient, ListHITsForQualificationTypeCommand } from "@aws-sdk/client-mturk"; // ES Modules import
32
32
  * // const { MTurkClient, ListHITsForQualificationTypeCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
33
33
  * const client = new MTurkClient(config);
34
- * const input = {
34
+ * const input = { // ListHITsForQualificationTypeRequest
35
35
  * QualificationTypeId: "STRING_VALUE", // required
36
36
  * NextToken: "STRING_VALUE",
37
37
  * MaxResults: Number("int"),
@@ -33,7 +33,7 @@ export interface ListQualificationRequestsCommandOutput extends ListQualificatio
33
33
  * import { MTurkClient, ListQualificationRequestsCommand } from "@aws-sdk/client-mturk"; // ES Modules import
34
34
  * // const { MTurkClient, ListQualificationRequestsCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
35
35
  * const client = new MTurkClient(config);
36
- * const input = {
36
+ * const input = { // ListQualificationRequestsRequest
37
37
  * QualificationTypeId: "STRING_VALUE",
38
38
  * NextToken: "STRING_VALUE",
39
39
  * MaxResults: Number("int"),
@@ -31,7 +31,7 @@ export interface ListQualificationTypesCommandOutput extends ListQualificationTy
31
31
  * import { MTurkClient, ListQualificationTypesCommand } from "@aws-sdk/client-mturk"; // ES Modules import
32
32
  * // const { MTurkClient, ListQualificationTypesCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
33
33
  * const client = new MTurkClient(config);
34
- * const input = {
34
+ * const input = { // ListQualificationTypesRequest
35
35
  * Query: "STRING_VALUE",
36
36
  * MustBeRequestable: true || false, // required
37
37
  * MustBeOwnedByCaller: true || false,
@@ -32,9 +32,9 @@ export interface ListReviewPolicyResultsForHITCommandOutput extends ListReviewPo
32
32
  * import { MTurkClient, ListReviewPolicyResultsForHITCommand } from "@aws-sdk/client-mturk"; // ES Modules import
33
33
  * // const { MTurkClient, ListReviewPolicyResultsForHITCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
34
34
  * const client = new MTurkClient(config);
35
- * const input = {
35
+ * const input = { // ListReviewPolicyResultsForHITRequest
36
36
  * HITId: "STRING_VALUE", // required
37
- * PolicyLevels: [
37
+ * PolicyLevels: [ // ReviewPolicyLevelList
38
38
  * "STRING_VALUE",
39
39
  * ],
40
40
  * RetrieveActions: true || false,
@@ -29,7 +29,7 @@ export interface ListReviewableHITsCommandOutput extends ListReviewableHITsRespo
29
29
  * import { MTurkClient, ListReviewableHITsCommand } from "@aws-sdk/client-mturk"; // ES Modules import
30
30
  * // const { MTurkClient, ListReviewableHITsCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
31
31
  * const client = new MTurkClient(config);
32
- * const input = {
32
+ * const input = { // ListReviewableHITsRequest
33
33
  * HITTypeId: "STRING_VALUE",
34
34
  * Status: "STRING_VALUE",
35
35
  * NextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface ListWorkerBlocksCommandOutput extends ListWorkerBlocksResponse,
26
26
  * import { MTurkClient, ListWorkerBlocksCommand } from "@aws-sdk/client-mturk"; // ES Modules import
27
27
  * // const { MTurkClient, ListWorkerBlocksCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
28
28
  * const client = new MTurkClient(config);
29
- * const input = {
29
+ * const input = { // ListWorkerBlocksRequest
30
30
  * NextToken: "STRING_VALUE",
31
31
  * MaxResults: Number("int"),
32
32
  * };
@@ -29,7 +29,7 @@ export interface ListWorkersWithQualificationTypeCommandOutput extends ListWorke
29
29
  * import { MTurkClient, ListWorkersWithQualificationTypeCommand } from "@aws-sdk/client-mturk"; // ES Modules import
30
30
  * // const { MTurkClient, ListWorkersWithQualificationTypeCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
31
31
  * const client = new MTurkClient(config);
32
- * const input = {
32
+ * const input = { // ListWorkersWithQualificationTypeRequest
33
33
  * QualificationTypeId: "STRING_VALUE", // required
34
34
  * Status: "STRING_VALUE",
35
35
  * NextToken: "STRING_VALUE",
@@ -35,10 +35,10 @@ export interface NotifyWorkersCommandOutput extends NotifyWorkersResponse, __Met
35
35
  * import { MTurkClient, NotifyWorkersCommand } from "@aws-sdk/client-mturk"; // ES Modules import
36
36
  * // const { MTurkClient, NotifyWorkersCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
37
37
  * const client = new MTurkClient(config);
38
- * const input = {
38
+ * const input = { // NotifyWorkersRequest
39
39
  * Subject: "STRING_VALUE", // required
40
40
  * MessageText: "STRING_VALUE", // required
41
- * WorkerIds: [ // required
41
+ * WorkerIds: [ // CustomerIdList // required
42
42
  * "STRING_VALUE",
43
43
  * ],
44
44
  * };
@@ -38,7 +38,7 @@ export interface RejectAssignmentCommandOutput extends RejectAssignmentResponse,
38
38
  * import { MTurkClient, RejectAssignmentCommand } from "@aws-sdk/client-mturk"; // ES Modules import
39
39
  * // const { MTurkClient, RejectAssignmentCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
40
40
  * const client = new MTurkClient(config);
41
- * const input = {
41
+ * const input = { // RejectAssignmentRequest
42
42
  * AssignmentId: "STRING_VALUE", // required
43
43
  * RequesterFeedback: "STRING_VALUE", // required
44
44
  * };
@@ -32,7 +32,7 @@ export interface RejectQualificationRequestCommandOutput extends RejectQualifica
32
32
  * import { MTurkClient, RejectQualificationRequestCommand } from "@aws-sdk/client-mturk"; // ES Modules import
33
33
  * // const { MTurkClient, RejectQualificationRequestCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
34
34
  * const client = new MTurkClient(config);
35
- * const input = {
35
+ * const input = { // RejectQualificationRequestRequest
36
36
  * QualificationRequestId: "STRING_VALUE", // required
37
37
  * Reason: "STRING_VALUE",
38
38
  * };
@@ -39,7 +39,7 @@ export interface SendBonusCommandOutput extends SendBonusResponse, __MetadataBea
39
39
  * import { MTurkClient, SendBonusCommand } from "@aws-sdk/client-mturk"; // ES Modules import
40
40
  * // const { MTurkClient, SendBonusCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
41
41
  * const client = new MTurkClient(config);
42
- * const input = {
42
+ * const input = { // SendBonusRequest
43
43
  * WorkerId: "STRING_VALUE", // required
44
44
  * BonusAmount: "STRING_VALUE", // required
45
45
  * AssignmentId: "STRING_VALUE", // required
@@ -32,12 +32,12 @@ export interface SendTestEventNotificationCommandOutput extends SendTestEventNot
32
32
  * import { MTurkClient, SendTestEventNotificationCommand } from "@aws-sdk/client-mturk"; // ES Modules import
33
33
  * // const { MTurkClient, SendTestEventNotificationCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
34
34
  * const client = new MTurkClient(config);
35
- * const input = {
36
- * Notification: {
35
+ * const input = { // SendTestEventNotificationRequest
36
+ * Notification: { // NotificationSpecification
37
37
  * Destination: "STRING_VALUE", // required
38
38
  * Transport: "STRING_VALUE", // required
39
39
  * Version: "STRING_VALUE", // required
40
- * EventTypes: [ // required
40
+ * EventTypes: [ // EventTypeList // required
41
41
  * "STRING_VALUE",
42
42
  * ],
43
43
  * },
@@ -29,7 +29,7 @@ export interface UpdateExpirationForHITCommandOutput extends UpdateExpirationFor
29
29
  * import { MTurkClient, UpdateExpirationForHITCommand } from "@aws-sdk/client-mturk"; // ES Modules import
30
30
  * // const { MTurkClient, UpdateExpirationForHITCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
31
31
  * const client = new MTurkClient(config);
32
- * const input = {
32
+ * const input = { // UpdateExpirationForHITRequest
33
33
  * HITId: "STRING_VALUE", // required
34
34
  * ExpireAt: new Date("TIMESTAMP"), // required
35
35
  * };
@@ -30,7 +30,7 @@ export interface UpdateHITReviewStatusCommandOutput extends UpdateHITReviewStatu
30
30
  * import { MTurkClient, UpdateHITReviewStatusCommand } from "@aws-sdk/client-mturk"; // ES Modules import
31
31
  * // const { MTurkClient, UpdateHITReviewStatusCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
32
32
  * const client = new MTurkClient(config);
33
- * const input = {
33
+ * const input = { // UpdateHITReviewStatusRequest
34
34
  * HITId: "STRING_VALUE", // required
35
35
  * Revert: true || false,
36
36
  * };
@@ -33,7 +33,7 @@ export interface UpdateHITTypeOfHITCommandOutput extends UpdateHITTypeOfHITRespo
33
33
  * import { MTurkClient, UpdateHITTypeOfHITCommand } from "@aws-sdk/client-mturk"; // ES Modules import
34
34
  * // const { MTurkClient, UpdateHITTypeOfHITCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
35
35
  * const client = new MTurkClient(config);
36
- * const input = {
36
+ * const input = { // UpdateHITTypeOfHITRequest
37
37
  * HITId: "STRING_VALUE", // required
38
38
  * HITTypeId: "STRING_VALUE", // required
39
39
  * };
@@ -37,13 +37,13 @@ export interface UpdateNotificationSettingsCommandOutput extends UpdateNotificat
37
37
  * import { MTurkClient, UpdateNotificationSettingsCommand } from "@aws-sdk/client-mturk"; // ES Modules import
38
38
  * // const { MTurkClient, UpdateNotificationSettingsCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
39
39
  * const client = new MTurkClient(config);
40
- * const input = {
40
+ * const input = { // UpdateNotificationSettingsRequest
41
41
  * HITTypeId: "STRING_VALUE", // required
42
- * Notification: {
42
+ * Notification: { // NotificationSpecification
43
43
  * Destination: "STRING_VALUE", // required
44
44
  * Transport: "STRING_VALUE", // required
45
45
  * Version: "STRING_VALUE", // required
46
- * EventTypes: [ // required
46
+ * EventTypes: [ // EventTypeList // required
47
47
  * "STRING_VALUE",
48
48
  * ],
49
49
  * },
@@ -58,7 +58,7 @@ export interface UpdateQualificationTypeCommandOutput extends UpdateQualificatio
58
58
  * import { MTurkClient, UpdateQualificationTypeCommand } from "@aws-sdk/client-mturk"; // ES Modules import
59
59
  * // const { MTurkClient, UpdateQualificationTypeCommand } = require("@aws-sdk/client-mturk"); // CommonJS import
60
60
  * const client = new MTurkClient(config);
61
- * const input = {
61
+ * const input = { // UpdateQualificationTypeRequest
62
62
  * QualificationTypeId: "STRING_VALUE", // required
63
63
  * Description: "STRING_VALUE",
64
64
  * QualificationTypeStatus: "STRING_VALUE",
@@ -79,12 +79,17 @@ export interface ApproveAssignmentResponse {
79
79
  }
80
80
  /**
81
81
  * @public
82
+ * @enum
82
83
  */
83
- export declare enum AssignmentStatus {
84
- Approved = "Approved",
85
- Rejected = "Rejected",
86
- Submitted = "Submitted"
87
- }
84
+ export declare const AssignmentStatus: {
85
+ readonly Approved: "Approved";
86
+ readonly Rejected: "Rejected";
87
+ readonly Submitted: "Submitted";
88
+ };
89
+ /**
90
+ * @public
91
+ */
92
+ export type AssignmentStatus = (typeof AssignmentStatus)[keyof typeof AssignmentStatus];
88
93
  /**
89
94
  * @public
90
95
  * <p> The Assignment data structure represents a single assignment
@@ -223,19 +228,24 @@ export interface BonusPayment {
223
228
  }
224
229
  /**
225
230
  * @public
231
+ * @enum
226
232
  */
227
- export declare enum Comparator {
228
- DoesNotExist = "DoesNotExist",
229
- EqualTo = "EqualTo",
230
- Exists = "Exists",
231
- GreaterThan = "GreaterThan",
232
- GreaterThanOrEqualTo = "GreaterThanOrEqualTo",
233
- In = "In",
234
- LessThan = "LessThan",
235
- LessThanOrEqualTo = "LessThanOrEqualTo",
236
- NotEqualTo = "NotEqualTo",
237
- NotIn = "NotIn"
238
- }
233
+ export declare const Comparator: {
234
+ readonly DoesNotExist: "DoesNotExist";
235
+ readonly EqualTo: "EqualTo";
236
+ readonly Exists: "Exists";
237
+ readonly GreaterThan: "GreaterThan";
238
+ readonly GreaterThanOrEqualTo: "GreaterThanOrEqualTo";
239
+ readonly In: "In";
240
+ readonly LessThan: "LessThan";
241
+ readonly LessThanOrEqualTo: "LessThanOrEqualTo";
242
+ readonly NotEqualTo: "NotEqualTo";
243
+ readonly NotIn: "NotIn";
244
+ };
245
+ /**
246
+ * @public
247
+ */
248
+ export type Comparator = (typeof Comparator)[keyof typeof Comparator];
239
249
  /**
240
250
  * @public
241
251
  */
@@ -349,12 +359,17 @@ export interface HITLayoutParameter {
349
359
  }
350
360
  /**
351
361
  * @public
362
+ * @enum
352
363
  */
353
- export declare enum HITAccessActions {
354
- Accept = "Accept",
355
- DiscoverPreviewAndAccept = "DiscoverPreviewAndAccept",
356
- PreviewAndAccept = "PreviewAndAccept"
357
- }
364
+ export declare const HITAccessActions: {
365
+ readonly Accept: "Accept";
366
+ readonly DiscoverPreviewAndAccept: "DiscoverPreviewAndAccept";
367
+ readonly PreviewAndAccept: "PreviewAndAccept";
368
+ };
369
+ /**
370
+ * @public
371
+ */
372
+ export type HITAccessActions = (typeof HITAccessActions)[keyof typeof HITAccessActions];
358
373
  /**
359
374
  * @public
360
375
  * <p>The Locale data structure represents a geographical region or location.</p>
@@ -622,23 +637,33 @@ export interface CreateHITRequest {
622
637
  }
623
638
  /**
624
639
  * @public
640
+ * @enum
625
641
  */
626
- export declare enum HITReviewStatus {
627
- MarkedForReview = "MarkedForReview",
628
- NotReviewed = "NotReviewed",
629
- ReviewedAppropriate = "ReviewedAppropriate",
630
- ReviewedInappropriate = "ReviewedInappropriate"
631
- }
642
+ export declare const HITReviewStatus: {
643
+ readonly MarkedForReview: "MarkedForReview";
644
+ readonly NotReviewed: "NotReviewed";
645
+ readonly ReviewedAppropriate: "ReviewedAppropriate";
646
+ readonly ReviewedInappropriate: "ReviewedInappropriate";
647
+ };
632
648
  /**
633
649
  * @public
634
650
  */
635
- export declare enum HITStatus {
636
- Assignable = "Assignable",
637
- Disposed = "Disposed",
638
- Reviewable = "Reviewable",
639
- Reviewing = "Reviewing",
640
- Unassignable = "Unassignable"
641
- }
651
+ export type HITReviewStatus = (typeof HITReviewStatus)[keyof typeof HITReviewStatus];
652
+ /**
653
+ * @public
654
+ * @enum
655
+ */
656
+ export declare const HITStatus: {
657
+ readonly Assignable: "Assignable";
658
+ readonly Disposed: "Disposed";
659
+ readonly Reviewable: "Reviewable";
660
+ readonly Reviewing: "Reviewing";
661
+ readonly Unassignable: "Unassignable";
662
+ };
663
+ /**
664
+ * @public
665
+ */
666
+ export type HITStatus = (typeof HITStatus)[keyof typeof HITStatus];
642
667
  /**
643
668
  * @public
644
669
  * <p> The HIT data structure represents a single HIT, including
@@ -961,11 +986,16 @@ export interface CreateHITWithHITTypeResponse {
961
986
  }
962
987
  /**
963
988
  * @public
989
+ * @enum
964
990
  */
965
- export declare enum QualificationTypeStatus {
966
- Active = "Active",
967
- Inactive = "Inactive"
968
- }
991
+ export declare const QualificationTypeStatus: {
992
+ readonly Active: "Active";
993
+ readonly Inactive: "Inactive";
994
+ };
995
+ /**
996
+ * @public
997
+ */
998
+ export type QualificationTypeStatus = (typeof QualificationTypeStatus)[keyof typeof QualificationTypeStatus];
969
999
  /**
970
1000
  * @public
971
1001
  */
@@ -1251,21 +1281,26 @@ export interface DisassociateQualificationFromWorkerResponse {
1251
1281
  }
1252
1282
  /**
1253
1283
  * @public
1284
+ * @enum
1254
1285
  */
1255
- export declare enum EventType {
1256
- AssignmentAbandoned = "AssignmentAbandoned",
1257
- AssignmentAccepted = "AssignmentAccepted",
1258
- AssignmentApproved = "AssignmentApproved",
1259
- AssignmentRejected = "AssignmentRejected",
1260
- AssignmentReturned = "AssignmentReturned",
1261
- AssignmentSubmitted = "AssignmentSubmitted",
1262
- HITCreated = "HITCreated",
1263
- HITDisposed = "HITDisposed",
1264
- HITExpired = "HITExpired",
1265
- HITExtended = "HITExtended",
1266
- HITReviewable = "HITReviewable",
1267
- Ping = "Ping"
1268
- }
1286
+ export declare const EventType: {
1287
+ readonly AssignmentAbandoned: "AssignmentAbandoned";
1288
+ readonly AssignmentAccepted: "AssignmentAccepted";
1289
+ readonly AssignmentApproved: "AssignmentApproved";
1290
+ readonly AssignmentRejected: "AssignmentRejected";
1291
+ readonly AssignmentReturned: "AssignmentReturned";
1292
+ readonly AssignmentSubmitted: "AssignmentSubmitted";
1293
+ readonly HITCreated: "HITCreated";
1294
+ readonly HITDisposed: "HITDisposed";
1295
+ readonly HITExpired: "HITExpired";
1296
+ readonly HITExtended: "HITExtended";
1297
+ readonly HITReviewable: "HITReviewable";
1298
+ readonly Ping: "Ping";
1299
+ };
1300
+ /**
1301
+ * @public
1302
+ */
1303
+ export type EventType = (typeof EventType)[keyof typeof EventType];
1269
1304
  /**
1270
1305
  * @public
1271
1306
  */
@@ -1368,11 +1403,16 @@ export interface GetQualificationScoreRequest {
1368
1403
  }
1369
1404
  /**
1370
1405
  * @public
1406
+ * @enum
1371
1407
  */
1372
- export declare enum QualificationStatus {
1373
- Granted = "Granted",
1374
- Revoked = "Revoked"
1375
- }
1408
+ export declare const QualificationStatus: {
1409
+ readonly Granted: "Granted";
1410
+ readonly Revoked: "Revoked";
1411
+ };
1412
+ /**
1413
+ * @public
1414
+ */
1415
+ export type QualificationStatus = (typeof QualificationStatus)[keyof typeof QualificationStatus];
1376
1416
  /**
1377
1417
  * @public
1378
1418
  * <p>The Qualification data structure represents a Qualification
@@ -1768,11 +1808,16 @@ export interface ListQualificationTypesResponse {
1768
1808
  }
1769
1809
  /**
1770
1810
  * @public
1811
+ * @enum
1771
1812
  */
1772
- export declare enum ReviewableHITStatus {
1773
- Reviewable = "Reviewable",
1774
- Reviewing = "Reviewing"
1775
- }
1813
+ export declare const ReviewableHITStatus: {
1814
+ readonly Reviewable: "Reviewable";
1815
+ readonly Reviewing: "Reviewing";
1816
+ };
1817
+ /**
1818
+ * @public
1819
+ */
1820
+ export type ReviewableHITStatus = (typeof ReviewableHITStatus)[keyof typeof ReviewableHITStatus];
1776
1821
  /**
1777
1822
  * @public
1778
1823
  */
@@ -1826,11 +1871,16 @@ export interface ListReviewableHITsResponse {
1826
1871
  }
1827
1872
  /**
1828
1873
  * @public
1874
+ * @enum
1829
1875
  */
1830
- export declare enum ReviewPolicyLevel {
1831
- Assignment = "Assignment",
1832
- HIT = "HIT"
1833
- }
1876
+ export declare const ReviewPolicyLevel: {
1877
+ readonly Assignment: "Assignment";
1878
+ readonly HIT: "HIT";
1879
+ };
1880
+ /**
1881
+ * @public
1882
+ */
1883
+ export type ReviewPolicyLevel = (typeof ReviewPolicyLevel)[keyof typeof ReviewPolicyLevel];
1834
1884
  /**
1835
1885
  * @public
1836
1886
  */
@@ -1871,13 +1921,18 @@ export interface ListReviewPolicyResultsForHITRequest {
1871
1921
  }
1872
1922
  /**
1873
1923
  * @public
1924
+ * @enum
1874
1925
  */
1875
- export declare enum ReviewActionStatus {
1876
- Cancelled = "Cancelled",
1877
- Failed = "Failed",
1878
- Intended = "Intended",
1879
- Succeeded = "Succeeded"
1880
- }
1926
+ export declare const ReviewActionStatus: {
1927
+ readonly Cancelled: "Cancelled";
1928
+ readonly Failed: "Failed";
1929
+ readonly Intended: "Intended";
1930
+ readonly Succeeded: "Succeeded";
1931
+ };
1932
+ /**
1933
+ * @public
1934
+ */
1935
+ export type ReviewActionStatus = (typeof ReviewActionStatus)[keyof typeof ReviewActionStatus];
1881
1936
  /**
1882
1937
  * @public
1883
1938
  * <p> Both the AssignmentReviewReport and the HITReviewReport
@@ -2154,11 +2209,16 @@ export interface NotifyWorkersRequest {
2154
2209
  }
2155
2210
  /**
2156
2211
  * @public
2212
+ * @enum
2157
2213
  */
2158
- export declare enum NotifyWorkersFailureCode {
2159
- HardFailure = "HardFailure",
2160
- SoftFailure = "SoftFailure"
2161
- }
2214
+ export declare const NotifyWorkersFailureCode: {
2215
+ readonly HardFailure: "HardFailure";
2216
+ readonly SoftFailure: "SoftFailure";
2217
+ };
2218
+ /**
2219
+ * @public
2220
+ */
2221
+ export type NotifyWorkersFailureCode = (typeof NotifyWorkersFailureCode)[keyof typeof NotifyWorkersFailureCode];
2162
2222
  /**
2163
2223
  * @public
2164
2224
  * <p> When MTurk encounters an issue with notifying the Workers
@@ -2281,12 +2341,17 @@ export interface SendBonusResponse {
2281
2341
  }
2282
2342
  /**
2283
2343
  * @public
2344
+ * @enum
2284
2345
  */
2285
- export declare enum NotificationTransport {
2286
- Email = "Email",
2287
- SNS = "SNS",
2288
- SQS = "SQS"
2289
- }
2346
+ export declare const NotificationTransport: {
2347
+ readonly Email: "Email";
2348
+ readonly SNS: "SNS";
2349
+ readonly SQS: "SQS";
2350
+ };
2351
+ /**
2352
+ * @public
2353
+ */
2354
+ export type NotificationTransport = (typeof NotificationTransport)[keyof typeof NotificationTransport];
2290
2355
  /**
2291
2356
  * @public
2292
2357
  * <p>The NotificationSpecification data structure describes a HIT