@aws-sdk/client-mturk 3.408.0 → 3.409.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const q = "required", r = "fn", s = "argv", t = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [q]: false, "type": "String" }, f = { [q]: true, "default": false, "type": "Boolean" }, g = { [t]: "Region" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: a }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: a }, "supportsDualStack"] }] }, n = [h], o = [i], p = [j];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [g], assign: a }], type: b, rules: [{ conditions: [{ [r]: "isSet", [s]: n }, { [r]: "parseURL", [s]: n, assign: "url" }], type: b, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://mturk-requester-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://mturk-requester-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://mturk-requester.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ conditions: [{ [r]: "stringEquals", [s]: [g, "sandbox"] }], endpoint: { url: "https://mturk-requester-sandbox.us-east-1.amazonaws.com", properties: k, headers: k }, type: d }, { endpoint: { url: "https://mturk-requester.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] };
4
+ const r = "required", s = "fn", t = "argv", u = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [r]: false, "type": "String" }, g = { [r]: true, "default": false, "type": "Boolean" }, h = { [u]: "Endpoint" }, i = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, j = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, k = {}, l = { [u]: "Region" }, m = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: e }, "supportsFIPS"] }] }, n = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: e }, "supportsDualStack"] }] }, o = [i], p = [j], q = [l];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [s]: a, [t]: [h] }], type: b, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [s]: a, [t]: q }], type: b, rules: [{ conditions: [{ [s]: "aws.partition", [t]: q, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [m, n], type: b, rules: [{ endpoint: { url: "https://mturk-requester-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://mturk-requester-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [n], type: b, rules: [{ endpoint: { url: "https://mturk-requester.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { conditions: [{ [s]: "stringEquals", [t]: [l, "sandbox"] }], endpoint: { url: "https://mturk-requester-sandbox.us-east-1.amazonaws.com", properties: k, headers: k }, type: d }, { endpoint: { url: "https://mturk-requester.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
- const q = "required", r = "fn", s = "argv", t = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [q]: false, "type": "String" }, f = { [q]: true, "default": false, "type": "Boolean" }, g = { [t]: "Region" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: a }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: a }, "supportsDualStack"] }] }, n = [h], o = [i], p = [j];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [g], assign: a }], type: b, rules: [{ conditions: [{ [r]: "isSet", [s]: n }, { [r]: "parseURL", [s]: n, assign: "url" }], type: b, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://mturk-requester-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://mturk-requester-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://mturk-requester.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ conditions: [{ [r]: "stringEquals", [s]: [g, "sandbox"] }], endpoint: { url: "https://mturk-requester-sandbox.us-east-1.amazonaws.com", properties: k, headers: k }, type: d }, { endpoint: { url: "https://mturk-requester.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] };
1
+ const r = "required", s = "fn", t = "argv", u = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [r]: false, "type": "String" }, g = { [r]: true, "default": false, "type": "Boolean" }, h = { [u]: "Endpoint" }, i = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, j = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, k = {}, l = { [u]: "Region" }, m = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: e }, "supportsFIPS"] }] }, n = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: e }, "supportsDualStack"] }] }, o = [i], p = [j], q = [l];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [s]: a, [t]: [h] }], type: b, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [s]: a, [t]: q }], type: b, rules: [{ conditions: [{ [s]: "aws.partition", [t]: q, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [m, n], type: b, rules: [{ endpoint: { url: "https://mturk-requester-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://mturk-requester-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [n], type: b, rules: [{ endpoint: { url: "https://mturk-requester.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { conditions: [{ [s]: "stringEquals", [t]: [l, "sandbox"] }], endpoint: { url: "https://mturk-requester-sandbox.us-east-1.amazonaws.com", properties: k, headers: k }, type: d }, { endpoint: { url: "https://mturk-requester.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -60,7 +60,7 @@ export interface CreateHITCommandOutput extends CreateHITResponse, __MetadataBea
60
60
  * QualificationRequirements: [ // QualificationRequirementList
61
61
  * { // QualificationRequirement
62
62
  * QualificationTypeId: "STRING_VALUE", // required
63
- * Comparator: "STRING_VALUE", // required
63
+ * Comparator: "LessThan" || "LessThanOrEqualTo" || "GreaterThan" || "GreaterThanOrEqualTo" || "EqualTo" || "NotEqualTo" || "Exists" || "DoesNotExist" || "In" || "NotIn", // required
64
64
  * IntegerValues: [ // IntegerList
65
65
  * Number("int"),
66
66
  * ],
@@ -71,7 +71,7 @@ export interface CreateHITCommandOutput extends CreateHITResponse, __MetadataBea
71
71
  * },
72
72
  * ],
73
73
  * RequiredToPreview: true || false,
74
- * ActionsGuarded: "STRING_VALUE",
74
+ * ActionsGuarded: "Accept" || "PreviewAndAccept" || "DiscoverPreviewAndAccept",
75
75
  * },
76
76
  * ],
77
77
  * UniqueRequestToken: "STRING_VALUE",
@@ -134,7 +134,7 @@ export interface CreateHITCommandOutput extends CreateHITResponse, __MetadataBea
134
134
  * // Description: "STRING_VALUE",
135
135
  * // Question: "STRING_VALUE",
136
136
  * // Keywords: "STRING_VALUE",
137
- * // HITStatus: "STRING_VALUE",
137
+ * // HITStatus: "Assignable" || "Unassignable" || "Reviewable" || "Reviewing" || "Disposed",
138
138
  * // MaxAssignments: Number("int"),
139
139
  * // Reward: "STRING_VALUE",
140
140
  * // AutoApprovalDelayInSeconds: Number("long"),
@@ -144,7 +144,7 @@ export interface CreateHITCommandOutput extends CreateHITResponse, __MetadataBea
144
144
  * // QualificationRequirements: [ // QualificationRequirementList
145
145
  * // { // QualificationRequirement
146
146
  * // QualificationTypeId: "STRING_VALUE", // required
147
- * // Comparator: "STRING_VALUE", // required
147
+ * // Comparator: "LessThan" || "LessThanOrEqualTo" || "GreaterThan" || "GreaterThanOrEqualTo" || "EqualTo" || "NotEqualTo" || "Exists" || "DoesNotExist" || "In" || "NotIn", // required
148
148
  * // IntegerValues: [ // IntegerList
149
149
  * // Number("int"),
150
150
  * // ],
@@ -155,10 +155,10 @@ export interface CreateHITCommandOutput extends CreateHITResponse, __MetadataBea
155
155
  * // },
156
156
  * // ],
157
157
  * // RequiredToPreview: true || false,
158
- * // ActionsGuarded: "STRING_VALUE",
158
+ * // ActionsGuarded: "Accept" || "PreviewAndAccept" || "DiscoverPreviewAndAccept",
159
159
  * // },
160
160
  * // ],
161
- * // HITReviewStatus: "STRING_VALUE",
161
+ * // HITReviewStatus: "NotReviewed" || "MarkedForReview" || "ReviewedAppropriate" || "ReviewedInappropriate",
162
162
  * // NumberOfAssignmentsPending: Number("int"),
163
163
  * // NumberOfAssignmentsAvailable: Number("int"),
164
164
  * // NumberOfAssignmentsCompleted: Number("int"),
@@ -45,7 +45,7 @@ export interface CreateHITTypeCommandOutput extends CreateHITTypeResponse, __Met
45
45
  * QualificationRequirements: [ // QualificationRequirementList
46
46
  * { // QualificationRequirement
47
47
  * QualificationTypeId: "STRING_VALUE", // required
48
- * Comparator: "STRING_VALUE", // required
48
+ * Comparator: "LessThan" || "LessThanOrEqualTo" || "GreaterThan" || "GreaterThanOrEqualTo" || "EqualTo" || "NotEqualTo" || "Exists" || "DoesNotExist" || "In" || "NotIn", // required
49
49
  * IntegerValues: [ // IntegerList
50
50
  * Number("int"),
51
51
  * ],
@@ -56,7 +56,7 @@ export interface CreateHITTypeCommandOutput extends CreateHITTypeResponse, __Met
56
56
  * },
57
57
  * ],
58
58
  * RequiredToPreview: true || false,
59
- * ActionsGuarded: "STRING_VALUE",
59
+ * ActionsGuarded: "Accept" || "PreviewAndAccept" || "DiscoverPreviewAndAccept",
60
60
  * },
61
61
  * ],
62
62
  * };
@@ -113,7 +113,7 @@ export interface CreateHITWithHITTypeCommandOutput extends CreateHITWithHITTypeR
113
113
  * // Description: "STRING_VALUE",
114
114
  * // Question: "STRING_VALUE",
115
115
  * // Keywords: "STRING_VALUE",
116
- * // HITStatus: "STRING_VALUE",
116
+ * // HITStatus: "Assignable" || "Unassignable" || "Reviewable" || "Reviewing" || "Disposed",
117
117
  * // MaxAssignments: Number("int"),
118
118
  * // Reward: "STRING_VALUE",
119
119
  * // AutoApprovalDelayInSeconds: Number("long"),
@@ -123,7 +123,7 @@ export interface CreateHITWithHITTypeCommandOutput extends CreateHITWithHITTypeR
123
123
  * // QualificationRequirements: [ // QualificationRequirementList
124
124
  * // { // QualificationRequirement
125
125
  * // QualificationTypeId: "STRING_VALUE", // required
126
- * // Comparator: "STRING_VALUE", // required
126
+ * // Comparator: "LessThan" || "LessThanOrEqualTo" || "GreaterThan" || "GreaterThanOrEqualTo" || "EqualTo" || "NotEqualTo" || "Exists" || "DoesNotExist" || "In" || "NotIn", // required
127
127
  * // IntegerValues: [ // IntegerList
128
128
  * // Number("int"),
129
129
  * // ],
@@ -134,10 +134,10 @@ export interface CreateHITWithHITTypeCommandOutput extends CreateHITWithHITTypeR
134
134
  * // },
135
135
  * // ],
136
136
  * // RequiredToPreview: true || false,
137
- * // ActionsGuarded: "STRING_VALUE",
137
+ * // ActionsGuarded: "Accept" || "PreviewAndAccept" || "DiscoverPreviewAndAccept",
138
138
  * // },
139
139
  * // ],
140
- * // HITReviewStatus: "STRING_VALUE",
140
+ * // HITReviewStatus: "NotReviewed" || "MarkedForReview" || "ReviewedAppropriate" || "ReviewedInappropriate",
141
141
  * // NumberOfAssignmentsPending: Number("int"),
142
142
  * // NumberOfAssignmentsAvailable: Number("int"),
143
143
  * // NumberOfAssignmentsCompleted: Number("int"),
@@ -40,7 +40,7 @@ export interface CreateQualificationTypeCommandOutput extends CreateQualificatio
40
40
  * Name: "STRING_VALUE", // required
41
41
  * Keywords: "STRING_VALUE",
42
42
  * Description: "STRING_VALUE", // required
43
- * QualificationTypeStatus: "STRING_VALUE", // required
43
+ * QualificationTypeStatus: "Active" || "Inactive", // required
44
44
  * RetryDelayInSeconds: Number("long"),
45
45
  * Test: "STRING_VALUE",
46
46
  * AnswerKey: "STRING_VALUE",
@@ -57,7 +57,7 @@ export interface CreateQualificationTypeCommandOutput extends CreateQualificatio
57
57
  * // Name: "STRING_VALUE",
58
58
  * // Description: "STRING_VALUE",
59
59
  * // Keywords: "STRING_VALUE",
60
- * // QualificationTypeStatus: "STRING_VALUE",
60
+ * // QualificationTypeStatus: "Active" || "Inactive",
61
61
  * // Test: "STRING_VALUE",
62
62
  * // TestDurationInSeconds: Number("long"),
63
63
  * // AnswerKey: "STRING_VALUE",
@@ -42,7 +42,7 @@ export interface GetAssignmentCommandOutput extends GetAssignmentResponse, __Met
42
42
  * // AssignmentId: "STRING_VALUE",
43
43
  * // WorkerId: "STRING_VALUE",
44
44
  * // HITId: "STRING_VALUE",
45
- * // AssignmentStatus: "STRING_VALUE",
45
+ * // AssignmentStatus: "Submitted" || "Approved" || "Rejected",
46
46
  * // AutoApprovalTime: new Date("TIMESTAMP"),
47
47
  * // AcceptTime: new Date("TIMESTAMP"),
48
48
  * // SubmitTime: new Date("TIMESTAMP"),
@@ -62,7 +62,7 @@ export interface GetAssignmentCommandOutput extends GetAssignmentResponse, __Met
62
62
  * // Description: "STRING_VALUE",
63
63
  * // Question: "STRING_VALUE",
64
64
  * // Keywords: "STRING_VALUE",
65
- * // HITStatus: "STRING_VALUE",
65
+ * // HITStatus: "Assignable" || "Unassignable" || "Reviewable" || "Reviewing" || "Disposed",
66
66
  * // MaxAssignments: Number("int"),
67
67
  * // Reward: "STRING_VALUE",
68
68
  * // AutoApprovalDelayInSeconds: Number("long"),
@@ -72,7 +72,7 @@ export interface GetAssignmentCommandOutput extends GetAssignmentResponse, __Met
72
72
  * // QualificationRequirements: [ // QualificationRequirementList
73
73
  * // { // QualificationRequirement
74
74
  * // QualificationTypeId: "STRING_VALUE", // required
75
- * // Comparator: "STRING_VALUE", // required
75
+ * // Comparator: "LessThan" || "LessThanOrEqualTo" || "GreaterThan" || "GreaterThanOrEqualTo" || "EqualTo" || "NotEqualTo" || "Exists" || "DoesNotExist" || "In" || "NotIn", // required
76
76
  * // IntegerValues: [ // IntegerList
77
77
  * // Number("int"),
78
78
  * // ],
@@ -83,10 +83,10 @@ export interface GetAssignmentCommandOutput extends GetAssignmentResponse, __Met
83
83
  * // },
84
84
  * // ],
85
85
  * // RequiredToPreview: true || false,
86
- * // ActionsGuarded: "STRING_VALUE",
86
+ * // ActionsGuarded: "Accept" || "PreviewAndAccept" || "DiscoverPreviewAndAccept",
87
87
  * // },
88
88
  * // ],
89
- * // HITReviewStatus: "STRING_VALUE",
89
+ * // HITReviewStatus: "NotReviewed" || "MarkedForReview" || "ReviewedAppropriate" || "ReviewedInappropriate",
90
90
  * // NumberOfAssignmentsPending: Number("int"),
91
91
  * // NumberOfAssignmentsAvailable: Number("int"),
92
92
  * // NumberOfAssignmentsCompleted: Number("int"),
@@ -48,7 +48,7 @@ export interface GetHITCommandOutput extends GetHITResponse, __MetadataBearer {
48
48
  * // Description: "STRING_VALUE",
49
49
  * // Question: "STRING_VALUE",
50
50
  * // Keywords: "STRING_VALUE",
51
- * // HITStatus: "STRING_VALUE",
51
+ * // HITStatus: "Assignable" || "Unassignable" || "Reviewable" || "Reviewing" || "Disposed",
52
52
  * // MaxAssignments: Number("int"),
53
53
  * // Reward: "STRING_VALUE",
54
54
  * // AutoApprovalDelayInSeconds: Number("long"),
@@ -58,7 +58,7 @@ export interface GetHITCommandOutput extends GetHITResponse, __MetadataBearer {
58
58
  * // QualificationRequirements: [ // QualificationRequirementList
59
59
  * // { // QualificationRequirement
60
60
  * // QualificationTypeId: "STRING_VALUE", // required
61
- * // Comparator: "STRING_VALUE", // required
61
+ * // Comparator: "LessThan" || "LessThanOrEqualTo" || "GreaterThan" || "GreaterThanOrEqualTo" || "EqualTo" || "NotEqualTo" || "Exists" || "DoesNotExist" || "In" || "NotIn", // required
62
62
  * // IntegerValues: [ // IntegerList
63
63
  * // Number("int"),
64
64
  * // ],
@@ -69,10 +69,10 @@ export interface GetHITCommandOutput extends GetHITResponse, __MetadataBearer {
69
69
  * // },
70
70
  * // ],
71
71
  * // RequiredToPreview: true || false,
72
- * // ActionsGuarded: "STRING_VALUE",
72
+ * // ActionsGuarded: "Accept" || "PreviewAndAccept" || "DiscoverPreviewAndAccept",
73
73
  * // },
74
74
  * // ],
75
- * // HITReviewStatus: "STRING_VALUE",
75
+ * // HITReviewStatus: "NotReviewed" || "MarkedForReview" || "ReviewedAppropriate" || "ReviewedInappropriate",
76
76
  * // NumberOfAssignmentsPending: Number("int"),
77
77
  * // NumberOfAssignmentsAvailable: Number("int"),
78
78
  * // NumberOfAssignmentsCompleted: Number("int"),
@@ -59,7 +59,7 @@ export interface GetQualificationScoreCommandOutput extends GetQualificationScor
59
59
  * // Country: "STRING_VALUE", // required
60
60
  * // Subdivision: "STRING_VALUE",
61
61
  * // },
62
- * // Status: "STRING_VALUE",
62
+ * // Status: "Granted" || "Revoked",
63
63
  * // },
64
64
  * // };
65
65
  *
@@ -44,7 +44,7 @@ export interface GetQualificationTypeCommandOutput extends GetQualificationTypeR
44
44
  * // Name: "STRING_VALUE",
45
45
  * // Description: "STRING_VALUE",
46
46
  * // Keywords: "STRING_VALUE",
47
- * // QualificationTypeStatus: "STRING_VALUE",
47
+ * // QualificationTypeStatus: "Active" || "Inactive",
48
48
  * // Test: "STRING_VALUE",
49
49
  * // TestDurationInSeconds: Number("long"),
50
50
  * // AnswerKey: "STRING_VALUE",
@@ -61,7 +61,7 @@ export interface ListAssignmentsForHITCommandOutput extends ListAssignmentsForHI
61
61
  * NextToken: "STRING_VALUE",
62
62
  * MaxResults: Number("int"),
63
63
  * AssignmentStatuses: [ // AssignmentStatusList
64
- * "STRING_VALUE",
64
+ * "Submitted" || "Approved" || "Rejected",
65
65
  * ],
66
66
  * };
67
67
  * const command = new ListAssignmentsForHITCommand(input);
@@ -74,7 +74,7 @@ export interface ListAssignmentsForHITCommandOutput extends ListAssignmentsForHI
74
74
  * // AssignmentId: "STRING_VALUE",
75
75
  * // WorkerId: "STRING_VALUE",
76
76
  * // HITId: "STRING_VALUE",
77
- * // AssignmentStatus: "STRING_VALUE",
77
+ * // AssignmentStatus: "Submitted" || "Approved" || "Rejected",
78
78
  * // AutoApprovalTime: new Date("TIMESTAMP"),
79
79
  * // AcceptTime: new Date("TIMESTAMP"),
80
80
  * // SubmitTime: new Date("TIMESTAMP"),
@@ -56,7 +56,7 @@ export interface ListHITsCommandOutput extends ListHITsResponse, __MetadataBeare
56
56
  * // Description: "STRING_VALUE",
57
57
  * // Question: "STRING_VALUE",
58
58
  * // Keywords: "STRING_VALUE",
59
- * // HITStatus: "STRING_VALUE",
59
+ * // HITStatus: "Assignable" || "Unassignable" || "Reviewable" || "Reviewing" || "Disposed",
60
60
  * // MaxAssignments: Number("int"),
61
61
  * // Reward: "STRING_VALUE",
62
62
  * // AutoApprovalDelayInSeconds: Number("long"),
@@ -66,7 +66,7 @@ export interface ListHITsCommandOutput extends ListHITsResponse, __MetadataBeare
66
66
  * // QualificationRequirements: [ // QualificationRequirementList
67
67
  * // { // QualificationRequirement
68
68
  * // QualificationTypeId: "STRING_VALUE", // required
69
- * // Comparator: "STRING_VALUE", // required
69
+ * // Comparator: "LessThan" || "LessThanOrEqualTo" || "GreaterThan" || "GreaterThanOrEqualTo" || "EqualTo" || "NotEqualTo" || "Exists" || "DoesNotExist" || "In" || "NotIn", // required
70
70
  * // IntegerValues: [ // IntegerList
71
71
  * // Number("int"),
72
72
  * // ],
@@ -77,10 +77,10 @@ export interface ListHITsCommandOutput extends ListHITsResponse, __MetadataBeare
77
77
  * // },
78
78
  * // ],
79
79
  * // RequiredToPreview: true || false,
80
- * // ActionsGuarded: "STRING_VALUE",
80
+ * // ActionsGuarded: "Accept" || "PreviewAndAccept" || "DiscoverPreviewAndAccept",
81
81
  * // },
82
82
  * // ],
83
- * // HITReviewStatus: "STRING_VALUE",
83
+ * // HITReviewStatus: "NotReviewed" || "MarkedForReview" || "ReviewedAppropriate" || "ReviewedInappropriate",
84
84
  * // NumberOfAssignmentsPending: Number("int"),
85
85
  * // NumberOfAssignmentsAvailable: Number("int"),
86
86
  * // NumberOfAssignmentsCompleted: Number("int"),
@@ -56,7 +56,7 @@ export interface ListHITsForQualificationTypeCommandOutput extends ListHITsForQu
56
56
  * // Description: "STRING_VALUE",
57
57
  * // Question: "STRING_VALUE",
58
58
  * // Keywords: "STRING_VALUE",
59
- * // HITStatus: "STRING_VALUE",
59
+ * // HITStatus: "Assignable" || "Unassignable" || "Reviewable" || "Reviewing" || "Disposed",
60
60
  * // MaxAssignments: Number("int"),
61
61
  * // Reward: "STRING_VALUE",
62
62
  * // AutoApprovalDelayInSeconds: Number("long"),
@@ -66,7 +66,7 @@ export interface ListHITsForQualificationTypeCommandOutput extends ListHITsForQu
66
66
  * // QualificationRequirements: [ // QualificationRequirementList
67
67
  * // { // QualificationRequirement
68
68
  * // QualificationTypeId: "STRING_VALUE", // required
69
- * // Comparator: "STRING_VALUE", // required
69
+ * // Comparator: "LessThan" || "LessThanOrEqualTo" || "GreaterThan" || "GreaterThanOrEqualTo" || "EqualTo" || "NotEqualTo" || "Exists" || "DoesNotExist" || "In" || "NotIn", // required
70
70
  * // IntegerValues: [ // IntegerList
71
71
  * // Number("int"),
72
72
  * // ],
@@ -77,10 +77,10 @@ export interface ListHITsForQualificationTypeCommandOutput extends ListHITsForQu
77
77
  * // },
78
78
  * // ],
79
79
  * // RequiredToPreview: true || false,
80
- * // ActionsGuarded: "STRING_VALUE",
80
+ * // ActionsGuarded: "Accept" || "PreviewAndAccept" || "DiscoverPreviewAndAccept",
81
81
  * // },
82
82
  * // ],
83
- * // HITReviewStatus: "STRING_VALUE",
83
+ * // HITReviewStatus: "NotReviewed" || "MarkedForReview" || "ReviewedAppropriate" || "ReviewedInappropriate",
84
84
  * // NumberOfAssignmentsPending: Number("int"),
85
85
  * // NumberOfAssignmentsAvailable: Number("int"),
86
86
  * // NumberOfAssignmentsCompleted: Number("int"),
@@ -54,7 +54,7 @@ export interface ListQualificationTypesCommandOutput extends ListQualificationTy
54
54
  * // Name: "STRING_VALUE",
55
55
  * // Description: "STRING_VALUE",
56
56
  * // Keywords: "STRING_VALUE",
57
- * // QualificationTypeStatus: "STRING_VALUE",
57
+ * // QualificationTypeStatus: "Active" || "Inactive",
58
58
  * // Test: "STRING_VALUE",
59
59
  * // TestDurationInSeconds: Number("long"),
60
60
  * // AnswerKey: "STRING_VALUE",
@@ -39,7 +39,7 @@ export interface ListReviewPolicyResultsForHITCommandOutput extends ListReviewPo
39
39
  * const input = { // ListReviewPolicyResultsForHITRequest
40
40
  * HITId: "STRING_VALUE", // required
41
41
  * PolicyLevels: [ // ReviewPolicyLevelList
42
- * "STRING_VALUE",
42
+ * "Assignment" || "HIT",
43
43
  * ],
44
44
  * RetrieveActions: true || false,
45
45
  * RetrieveResults: true || false,
@@ -105,7 +105,7 @@ export interface ListReviewPolicyResultsForHITCommandOutput extends ListReviewPo
105
105
  * // ActionName: "STRING_VALUE",
106
106
  * // TargetId: "STRING_VALUE",
107
107
  * // TargetType: "STRING_VALUE",
108
- * // Status: "STRING_VALUE",
108
+ * // Status: "Intended" || "Succeeded" || "Failed" || "Cancelled",
109
109
  * // CompleteTime: new Date("TIMESTAMP"),
110
110
  * // Result: "STRING_VALUE",
111
111
  * // ErrorCode: "STRING_VALUE",
@@ -129,7 +129,7 @@ export interface ListReviewPolicyResultsForHITCommandOutput extends ListReviewPo
129
129
  * // ActionName: "STRING_VALUE",
130
130
  * // TargetId: "STRING_VALUE",
131
131
  * // TargetType: "STRING_VALUE",
132
- * // Status: "STRING_VALUE",
132
+ * // Status: "Intended" || "Succeeded" || "Failed" || "Cancelled",
133
133
  * // CompleteTime: new Date("TIMESTAMP"),
134
134
  * // Result: "STRING_VALUE",
135
135
  * // ErrorCode: "STRING_VALUE",
@@ -35,7 +35,7 @@ export interface ListReviewableHITsCommandOutput extends ListReviewableHITsRespo
35
35
  * const client = new MTurkClient(config);
36
36
  * const input = { // ListReviewableHITsRequest
37
37
  * HITTypeId: "STRING_VALUE",
38
- * Status: "STRING_VALUE",
38
+ * Status: "Reviewable" || "Reviewing",
39
39
  * NextToken: "STRING_VALUE",
40
40
  * MaxResults: Number("int"),
41
41
  * };
@@ -55,7 +55,7 @@ export interface ListReviewableHITsCommandOutput extends ListReviewableHITsRespo
55
55
  * // Description: "STRING_VALUE",
56
56
  * // Question: "STRING_VALUE",
57
57
  * // Keywords: "STRING_VALUE",
58
- * // HITStatus: "STRING_VALUE",
58
+ * // HITStatus: "Assignable" || "Unassignable" || "Reviewable" || "Reviewing" || "Disposed",
59
59
  * // MaxAssignments: Number("int"),
60
60
  * // Reward: "STRING_VALUE",
61
61
  * // AutoApprovalDelayInSeconds: Number("long"),
@@ -65,7 +65,7 @@ export interface ListReviewableHITsCommandOutput extends ListReviewableHITsRespo
65
65
  * // QualificationRequirements: [ // QualificationRequirementList
66
66
  * // { // QualificationRequirement
67
67
  * // QualificationTypeId: "STRING_VALUE", // required
68
- * // Comparator: "STRING_VALUE", // required
68
+ * // Comparator: "LessThan" || "LessThanOrEqualTo" || "GreaterThan" || "GreaterThanOrEqualTo" || "EqualTo" || "NotEqualTo" || "Exists" || "DoesNotExist" || "In" || "NotIn", // required
69
69
  * // IntegerValues: [ // IntegerList
70
70
  * // Number("int"),
71
71
  * // ],
@@ -76,10 +76,10 @@ export interface ListReviewableHITsCommandOutput extends ListReviewableHITsRespo
76
76
  * // },
77
77
  * // ],
78
78
  * // RequiredToPreview: true || false,
79
- * // ActionsGuarded: "STRING_VALUE",
79
+ * // ActionsGuarded: "Accept" || "PreviewAndAccept" || "DiscoverPreviewAndAccept",
80
80
  * // },
81
81
  * // ],
82
- * // HITReviewStatus: "STRING_VALUE",
82
+ * // HITReviewStatus: "NotReviewed" || "MarkedForReview" || "ReviewedAppropriate" || "ReviewedInappropriate",
83
83
  * // NumberOfAssignmentsPending: Number("int"),
84
84
  * // NumberOfAssignmentsAvailable: Number("int"),
85
85
  * // NumberOfAssignmentsCompleted: Number("int"),
@@ -35,7 +35,7 @@ export interface ListWorkersWithQualificationTypeCommandOutput extends ListWorke
35
35
  * const client = new MTurkClient(config);
36
36
  * const input = { // ListWorkersWithQualificationTypeRequest
37
37
  * QualificationTypeId: "STRING_VALUE", // required
38
- * Status: "STRING_VALUE",
38
+ * Status: "Granted" || "Revoked",
39
39
  * NextToken: "STRING_VALUE",
40
40
  * MaxResults: Number("int"),
41
41
  * };
@@ -54,7 +54,7 @@ export interface ListWorkersWithQualificationTypeCommandOutput extends ListWorke
54
54
  * // Country: "STRING_VALUE", // required
55
55
  * // Subdivision: "STRING_VALUE",
56
56
  * // },
57
- * // Status: "STRING_VALUE",
57
+ * // Status: "Granted" || "Revoked",
58
58
  * // },
59
59
  * // ],
60
60
  * // };
@@ -51,7 +51,7 @@ export interface NotifyWorkersCommandOutput extends NotifyWorkersResponse, __Met
51
51
  * // { // NotifyWorkersResponse
52
52
  * // NotifyWorkersFailureStatuses: [ // NotifyWorkersFailureStatusList
53
53
  * // { // NotifyWorkersFailureStatus
54
- * // NotifyWorkersFailureCode: "STRING_VALUE",
54
+ * // NotifyWorkersFailureCode: "SoftFailure" || "HardFailure",
55
55
  * // NotifyWorkersFailureMessage: "STRING_VALUE",
56
56
  * // WorkerId: "STRING_VALUE",
57
57
  * // },
@@ -39,13 +39,13 @@ export interface SendTestEventNotificationCommandOutput extends SendTestEventNot
39
39
  * const input = { // SendTestEventNotificationRequest
40
40
  * Notification: { // NotificationSpecification
41
41
  * Destination: "STRING_VALUE", // required
42
- * Transport: "STRING_VALUE", // required
42
+ * Transport: "Email" || "SQS" || "SNS", // required
43
43
  * Version: "STRING_VALUE", // required
44
44
  * EventTypes: [ // EventTypeList // required
45
- * "STRING_VALUE",
45
+ * "AssignmentAccepted" || "AssignmentAbandoned" || "AssignmentReturned" || "AssignmentSubmitted" || "AssignmentRejected" || "AssignmentApproved" || "HITCreated" || "HITExpired" || "HITReviewable" || "HITExtended" || "HITDisposed" || "Ping",
46
46
  * ],
47
47
  * },
48
- * TestEventType: "STRING_VALUE", // required
48
+ * TestEventType: "AssignmentAccepted" || "AssignmentAbandoned" || "AssignmentReturned" || "AssignmentSubmitted" || "AssignmentRejected" || "AssignmentApproved" || "HITCreated" || "HITExpired" || "HITReviewable" || "HITExtended" || "HITDisposed" || "Ping", // required
49
49
  * };
50
50
  * const command = new SendTestEventNotificationCommand(input);
51
51
  * const response = await client.send(command);
@@ -45,10 +45,10 @@ export interface UpdateNotificationSettingsCommandOutput extends UpdateNotificat
45
45
  * HITTypeId: "STRING_VALUE", // required
46
46
  * Notification: { // NotificationSpecification
47
47
  * Destination: "STRING_VALUE", // required
48
- * Transport: "STRING_VALUE", // required
48
+ * Transport: "Email" || "SQS" || "SNS", // required
49
49
  * Version: "STRING_VALUE", // required
50
50
  * EventTypes: [ // EventTypeList // required
51
- * "STRING_VALUE",
51
+ * "AssignmentAccepted" || "AssignmentAbandoned" || "AssignmentReturned" || "AssignmentSubmitted" || "AssignmentRejected" || "AssignmentApproved" || "HITCreated" || "HITExpired" || "HITReviewable" || "HITExtended" || "HITDisposed" || "Ping",
52
52
  * ],
53
53
  * },
54
54
  * Active: true || false,
@@ -65,7 +65,7 @@ export interface UpdateQualificationTypeCommandOutput extends UpdateQualificatio
65
65
  * const input = { // UpdateQualificationTypeRequest
66
66
  * QualificationTypeId: "STRING_VALUE", // required
67
67
  * Description: "STRING_VALUE",
68
- * QualificationTypeStatus: "STRING_VALUE",
68
+ * QualificationTypeStatus: "Active" || "Inactive",
69
69
  * Test: "STRING_VALUE",
70
70
  * AnswerKey: "STRING_VALUE",
71
71
  * TestDurationInSeconds: Number("long"),
@@ -82,7 +82,7 @@ export interface UpdateQualificationTypeCommandOutput extends UpdateQualificatio
82
82
  * // Name: "STRING_VALUE",
83
83
  * // Description: "STRING_VALUE",
84
84
  * // Keywords: "STRING_VALUE",
85
- * // QualificationTypeStatus: "STRING_VALUE",
85
+ * // QualificationTypeStatus: "Active" || "Inactive",
86
86
  * // Test: "STRING_VALUE",
87
87
  * // TestDurationInSeconds: Number("long"),
88
88
  * // AnswerKey: "STRING_VALUE",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mturk",
3
3
  "description": "AWS SDK for JavaScript Mturk Client for Node.js, Browser and React Native",
4
- "version": "3.408.0",
4
+ "version": "3.409.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.408.0",
25
- "@aws-sdk/credential-provider-node": "3.408.0",
24
+ "@aws-sdk/client-sts": "3.409.0",
25
+ "@aws-sdk/credential-provider-node": "3.409.0",
26
26
  "@aws-sdk/middleware-host-header": "3.408.0",
27
27
  "@aws-sdk/middleware-logger": "3.408.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.408.0",