@aws-sdk/client-mturk 3.427.0 → 3.429.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/models/models_0.d.ts +18 -18
- package/dist-types/ts3.4/models/models_0.d.ts +18 -18
- package/package.json +31 -31
|
@@ -122,7 +122,7 @@ export interface Assignment {
|
|
|
122
122
|
* @public
|
|
123
123
|
* <p> The status of the assignment.</p>
|
|
124
124
|
*/
|
|
125
|
-
AssignmentStatus?: AssignmentStatus
|
|
125
|
+
AssignmentStatus?: AssignmentStatus;
|
|
126
126
|
/**
|
|
127
127
|
* @public
|
|
128
128
|
* <p> If results have been submitted, AutoApprovalTime is the date
|
|
@@ -460,7 +460,7 @@ export interface QualificationRequirement {
|
|
|
460
460
|
* regardless of its value.
|
|
461
461
|
* </p>
|
|
462
462
|
*/
|
|
463
|
-
Comparator: Comparator |
|
|
463
|
+
Comparator: Comparator | undefined;
|
|
464
464
|
/**
|
|
465
465
|
* @public
|
|
466
466
|
* <p> The integer value to compare against the Qualification's
|
|
@@ -521,7 +521,7 @@ export interface QualificationRequirement {
|
|
|
521
521
|
* <code>RequiredToPreview</code> field.
|
|
522
522
|
* </p>
|
|
523
523
|
*/
|
|
524
|
-
ActionsGuarded?: HITAccessActions
|
|
524
|
+
ActionsGuarded?: HITAccessActions;
|
|
525
525
|
}
|
|
526
526
|
/**
|
|
527
527
|
* @public
|
|
@@ -788,7 +788,7 @@ export interface HIT {
|
|
|
788
788
|
* Assignable | Unassignable | Reviewable | Reviewing | Disposed.
|
|
789
789
|
* </p>
|
|
790
790
|
*/
|
|
791
|
-
HITStatus?: HITStatus
|
|
791
|
+
HITStatus?: HITStatus;
|
|
792
792
|
/**
|
|
793
793
|
* @public
|
|
794
794
|
* <p>The number of times the HIT can be accepted and completed
|
|
@@ -846,7 +846,7 @@ export interface HIT {
|
|
|
846
846
|
* NotReviewed | MarkedForReview | ReviewedAppropriate |
|
|
847
847
|
* ReviewedInappropriate.</p>
|
|
848
848
|
*/
|
|
849
|
-
HITReviewStatus?: HITReviewStatus
|
|
849
|
+
HITReviewStatus?: HITReviewStatus;
|
|
850
850
|
/**
|
|
851
851
|
* @public
|
|
852
852
|
* <p> The number of assignments for this HIT that are being
|
|
@@ -1130,7 +1130,7 @@ export interface CreateQualificationTypeRequest {
|
|
|
1130
1130
|
* <p>The initial status of the Qualification type.</p>
|
|
1131
1131
|
* <p>Constraints: Valid values are: Active | Inactive</p>
|
|
1132
1132
|
*/
|
|
1133
|
-
QualificationTypeStatus: QualificationTypeStatus |
|
|
1133
|
+
QualificationTypeStatus: QualificationTypeStatus | undefined;
|
|
1134
1134
|
/**
|
|
1135
1135
|
* @public
|
|
1136
1136
|
* <p>The number of seconds that a Worker must wait after
|
|
@@ -1248,7 +1248,7 @@ export interface QualificationType {
|
|
|
1248
1248
|
* type. Valid values are Active | Inactive.
|
|
1249
1249
|
* </p>
|
|
1250
1250
|
*/
|
|
1251
|
-
QualificationTypeStatus?: QualificationTypeStatus
|
|
1251
|
+
QualificationTypeStatus?: QualificationTypeStatus;
|
|
1252
1252
|
/**
|
|
1253
1253
|
* @public
|
|
1254
1254
|
* <p> The questions for a Qualification test associated with this
|
|
@@ -1604,7 +1604,7 @@ export interface Qualification {
|
|
|
1604
1604
|
* <p> The status of the Qualification. Valid values are Granted |
|
|
1605
1605
|
* Revoked.</p>
|
|
1606
1606
|
*/
|
|
1607
|
-
Status?: QualificationStatus
|
|
1607
|
+
Status?: QualificationStatus;
|
|
1608
1608
|
}
|
|
1609
1609
|
/**
|
|
1610
1610
|
* @public
|
|
@@ -1659,7 +1659,7 @@ export interface ListAssignmentsForHITRequest {
|
|
|
1659
1659
|
* <p>The status of the assignments to return: Submitted | Approved
|
|
1660
1660
|
* | Rejected</p>
|
|
1661
1661
|
*/
|
|
1662
|
-
AssignmentStatuses?:
|
|
1662
|
+
AssignmentStatuses?: AssignmentStatus[];
|
|
1663
1663
|
}
|
|
1664
1664
|
/**
|
|
1665
1665
|
* @public
|
|
@@ -2036,7 +2036,7 @@ export interface ListReviewableHITsRequest {
|
|
|
2036
2036
|
* Reviewable is the default value.
|
|
2037
2037
|
* </p>
|
|
2038
2038
|
*/
|
|
2039
|
-
Status?: ReviewableHITStatus
|
|
2039
|
+
Status?: ReviewableHITStatus;
|
|
2040
2040
|
/**
|
|
2041
2041
|
* @public
|
|
2042
2042
|
* <p>Pagination Token</p>
|
|
@@ -2104,7 +2104,7 @@ export interface ListReviewPolicyResultsForHITRequest {
|
|
|
2104
2104
|
* For a list of all the described policies, see Review Policies.
|
|
2105
2105
|
* </p>
|
|
2106
2106
|
*/
|
|
2107
|
-
PolicyLevels?:
|
|
2107
|
+
PolicyLevels?: ReviewPolicyLevel[];
|
|
2108
2108
|
/**
|
|
2109
2109
|
* @public
|
|
2110
2110
|
* <p>
|
|
@@ -2182,7 +2182,7 @@ export interface ReviewActionDetail {
|
|
|
2182
2182
|
* FAILED, or CANCELLED.
|
|
2183
2183
|
* </p>
|
|
2184
2184
|
*/
|
|
2185
|
-
Status?: ReviewActionStatus
|
|
2185
|
+
Status?: ReviewActionStatus;
|
|
2186
2186
|
/**
|
|
2187
2187
|
* @public
|
|
2188
2188
|
* <p> The date when the action was completed.</p>
|
|
@@ -2393,7 +2393,7 @@ export interface ListWorkersWithQualificationTypeRequest {
|
|
|
2393
2393
|
* Can be <code>Granted | Revoked</code>.
|
|
2394
2394
|
* </p>
|
|
2395
2395
|
*/
|
|
2396
|
-
Status?: QualificationStatus
|
|
2396
|
+
Status?: QualificationStatus;
|
|
2397
2397
|
/**
|
|
2398
2398
|
* @public
|
|
2399
2399
|
* <p>Pagination Token</p>
|
|
@@ -2481,7 +2481,7 @@ export interface NotifyWorkersFailureStatus {
|
|
|
2481
2481
|
* <p> Encoded value for the failure type.
|
|
2482
2482
|
* </p>
|
|
2483
2483
|
*/
|
|
2484
|
-
NotifyWorkersFailureCode?: NotifyWorkersFailureCode
|
|
2484
|
+
NotifyWorkersFailureCode?: NotifyWorkersFailureCode;
|
|
2485
2485
|
/**
|
|
2486
2486
|
* @public
|
|
2487
2487
|
* <p> A message detailing the reason the Worker could not be
|
|
@@ -2645,7 +2645,7 @@ export interface NotificationSpecification {
|
|
|
2645
2645
|
* notification. Valid Values: Email | SQS | SNS.
|
|
2646
2646
|
* </p>
|
|
2647
2647
|
*/
|
|
2648
|
-
Transport: NotificationTransport |
|
|
2648
|
+
Transport: NotificationTransport | undefined;
|
|
2649
2649
|
/**
|
|
2650
2650
|
* @public
|
|
2651
2651
|
* <p>The version of the Notification API to use. Valid value is
|
|
@@ -2662,7 +2662,7 @@ export interface NotificationSpecification {
|
|
|
2662
2662
|
* the SendTestEventNotification operation.
|
|
2663
2663
|
* </p>
|
|
2664
2664
|
*/
|
|
2665
|
-
EventTypes:
|
|
2665
|
+
EventTypes: EventType[] | undefined;
|
|
2666
2666
|
}
|
|
2667
2667
|
/**
|
|
2668
2668
|
* @public
|
|
@@ -2686,7 +2686,7 @@ export interface SendTestEventNotificationRequest {
|
|
|
2686
2686
|
* The notification specification does not filter out the test event.
|
|
2687
2687
|
* </p>
|
|
2688
2688
|
*/
|
|
2689
|
-
TestEventType: EventType |
|
|
2689
|
+
TestEventType: EventType | undefined;
|
|
2690
2690
|
}
|
|
2691
2691
|
/**
|
|
2692
2692
|
* @public
|
|
@@ -2825,7 +2825,7 @@ export interface UpdateQualificationTypeRequest {
|
|
|
2825
2825
|
* @public
|
|
2826
2826
|
* <p>The new status of the Qualification type - Active | Inactive</p>
|
|
2827
2827
|
*/
|
|
2828
|
-
QualificationTypeStatus?: QualificationTypeStatus
|
|
2828
|
+
QualificationTypeStatus?: QualificationTypeStatus;
|
|
2829
2829
|
/**
|
|
2830
2830
|
* @public
|
|
2831
2831
|
* <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>
|
|
@@ -36,7 +36,7 @@ export interface Assignment {
|
|
|
36
36
|
AssignmentId?: string;
|
|
37
37
|
WorkerId?: string;
|
|
38
38
|
HITId?: string;
|
|
39
|
-
AssignmentStatus?: AssignmentStatus
|
|
39
|
+
AssignmentStatus?: AssignmentStatus;
|
|
40
40
|
AutoApprovalTime?: Date;
|
|
41
41
|
AcceptTime?: Date;
|
|
42
42
|
SubmitTime?: Date;
|
|
@@ -109,11 +109,11 @@ export interface Locale {
|
|
|
109
109
|
}
|
|
110
110
|
export interface QualificationRequirement {
|
|
111
111
|
QualificationTypeId: string | undefined;
|
|
112
|
-
Comparator: Comparator |
|
|
112
|
+
Comparator: Comparator | undefined;
|
|
113
113
|
IntegerValues?: number[];
|
|
114
114
|
LocaleValues?: Locale[];
|
|
115
115
|
RequiredToPreview?: boolean;
|
|
116
|
-
ActionsGuarded?: HITAccessActions
|
|
116
|
+
ActionsGuarded?: HITAccessActions;
|
|
117
117
|
}
|
|
118
118
|
export interface CreateHITRequest {
|
|
119
119
|
MaxAssignments?: number;
|
|
@@ -159,7 +159,7 @@ export interface HIT {
|
|
|
159
159
|
Description?: string;
|
|
160
160
|
Question?: string;
|
|
161
161
|
Keywords?: string;
|
|
162
|
-
HITStatus?: HITStatus
|
|
162
|
+
HITStatus?: HITStatus;
|
|
163
163
|
MaxAssignments?: number;
|
|
164
164
|
Reward?: string;
|
|
165
165
|
AutoApprovalDelayInSeconds?: number;
|
|
@@ -167,7 +167,7 @@ export interface HIT {
|
|
|
167
167
|
AssignmentDurationInSeconds?: number;
|
|
168
168
|
RequesterAnnotation?: string;
|
|
169
169
|
QualificationRequirements?: QualificationRequirement[];
|
|
170
|
-
HITReviewStatus?: HITReviewStatus
|
|
170
|
+
HITReviewStatus?: HITReviewStatus;
|
|
171
171
|
NumberOfAssignmentsPending?: number;
|
|
172
172
|
NumberOfAssignmentsAvailable?: number;
|
|
173
173
|
NumberOfAssignmentsCompleted?: number;
|
|
@@ -212,7 +212,7 @@ export interface CreateQualificationTypeRequest {
|
|
|
212
212
|
Name: string | undefined;
|
|
213
213
|
Keywords?: string;
|
|
214
214
|
Description: string | undefined;
|
|
215
|
-
QualificationTypeStatus: QualificationTypeStatus |
|
|
215
|
+
QualificationTypeStatus: QualificationTypeStatus | undefined;
|
|
216
216
|
RetryDelayInSeconds?: number;
|
|
217
217
|
Test?: string;
|
|
218
218
|
AnswerKey?: string;
|
|
@@ -226,7 +226,7 @@ export interface QualificationType {
|
|
|
226
226
|
Name?: string;
|
|
227
227
|
Description?: string;
|
|
228
228
|
Keywords?: string;
|
|
229
|
-
QualificationTypeStatus?: QualificationTypeStatus
|
|
229
|
+
QualificationTypeStatus?: QualificationTypeStatus;
|
|
230
230
|
Test?: string;
|
|
231
231
|
TestDurationInSeconds?: number;
|
|
232
232
|
AnswerKey?: string;
|
|
@@ -318,7 +318,7 @@ export interface Qualification {
|
|
|
318
318
|
GrantTime?: Date;
|
|
319
319
|
IntegerValue?: number;
|
|
320
320
|
LocaleValue?: Locale;
|
|
321
|
-
Status?: QualificationStatus
|
|
321
|
+
Status?: QualificationStatus;
|
|
322
322
|
}
|
|
323
323
|
export interface GetQualificationScoreResponse {
|
|
324
324
|
Qualification?: Qualification;
|
|
@@ -333,7 +333,7 @@ export interface ListAssignmentsForHITRequest {
|
|
|
333
333
|
HITId: string | undefined;
|
|
334
334
|
NextToken?: string;
|
|
335
335
|
MaxResults?: number;
|
|
336
|
-
AssignmentStatuses?:
|
|
336
|
+
AssignmentStatuses?: AssignmentStatus[];
|
|
337
337
|
}
|
|
338
338
|
export interface ListAssignmentsForHITResponse {
|
|
339
339
|
NextToken?: string;
|
|
@@ -408,7 +408,7 @@ export type ReviewableHITStatus =
|
|
|
408
408
|
(typeof ReviewableHITStatus)[keyof typeof ReviewableHITStatus];
|
|
409
409
|
export interface ListReviewableHITsRequest {
|
|
410
410
|
HITTypeId?: string;
|
|
411
|
-
Status?: ReviewableHITStatus
|
|
411
|
+
Status?: ReviewableHITStatus;
|
|
412
412
|
NextToken?: string;
|
|
413
413
|
MaxResults?: number;
|
|
414
414
|
}
|
|
@@ -425,7 +425,7 @@ export type ReviewPolicyLevel =
|
|
|
425
425
|
(typeof ReviewPolicyLevel)[keyof typeof ReviewPolicyLevel];
|
|
426
426
|
export interface ListReviewPolicyResultsForHITRequest {
|
|
427
427
|
HITId: string | undefined;
|
|
428
|
-
PolicyLevels?:
|
|
428
|
+
PolicyLevels?: ReviewPolicyLevel[];
|
|
429
429
|
RetrieveActions?: boolean;
|
|
430
430
|
RetrieveResults?: boolean;
|
|
431
431
|
NextToken?: string;
|
|
@@ -444,7 +444,7 @@ export interface ReviewActionDetail {
|
|
|
444
444
|
ActionName?: string;
|
|
445
445
|
TargetId?: string;
|
|
446
446
|
TargetType?: string;
|
|
447
|
-
Status?: ReviewActionStatus
|
|
447
|
+
Status?: ReviewActionStatus;
|
|
448
448
|
CompleteTime?: Date;
|
|
449
449
|
Result?: string;
|
|
450
450
|
ErrorCode?: string;
|
|
@@ -484,7 +484,7 @@ export interface ListWorkerBlocksResponse {
|
|
|
484
484
|
}
|
|
485
485
|
export interface ListWorkersWithQualificationTypeRequest {
|
|
486
486
|
QualificationTypeId: string | undefined;
|
|
487
|
-
Status?: QualificationStatus
|
|
487
|
+
Status?: QualificationStatus;
|
|
488
488
|
NextToken?: string;
|
|
489
489
|
MaxResults?: number;
|
|
490
490
|
}
|
|
@@ -505,7 +505,7 @@ export declare const NotifyWorkersFailureCode: {
|
|
|
505
505
|
export type NotifyWorkersFailureCode =
|
|
506
506
|
(typeof NotifyWorkersFailureCode)[keyof typeof NotifyWorkersFailureCode];
|
|
507
507
|
export interface NotifyWorkersFailureStatus {
|
|
508
|
-
NotifyWorkersFailureCode?: NotifyWorkersFailureCode
|
|
508
|
+
NotifyWorkersFailureCode?: NotifyWorkersFailureCode;
|
|
509
509
|
NotifyWorkersFailureMessage?: string;
|
|
510
510
|
WorkerId?: string;
|
|
511
511
|
}
|
|
@@ -539,13 +539,13 @@ export type NotificationTransport =
|
|
|
539
539
|
(typeof NotificationTransport)[keyof typeof NotificationTransport];
|
|
540
540
|
export interface NotificationSpecification {
|
|
541
541
|
Destination: string | undefined;
|
|
542
|
-
Transport: NotificationTransport |
|
|
542
|
+
Transport: NotificationTransport | undefined;
|
|
543
543
|
Version: string | undefined;
|
|
544
|
-
EventTypes:
|
|
544
|
+
EventTypes: EventType[] | undefined;
|
|
545
545
|
}
|
|
546
546
|
export interface SendTestEventNotificationRequest {
|
|
547
547
|
Notification: NotificationSpecification | undefined;
|
|
548
|
-
TestEventType: EventType |
|
|
548
|
+
TestEventType: EventType | undefined;
|
|
549
549
|
}
|
|
550
550
|
export interface SendTestEventNotificationResponse {}
|
|
551
551
|
export interface UpdateExpirationForHITRequest {
|
|
@@ -572,7 +572,7 @@ export interface UpdateNotificationSettingsResponse {}
|
|
|
572
572
|
export interface UpdateQualificationTypeRequest {
|
|
573
573
|
QualificationTypeId: string | undefined;
|
|
574
574
|
Description?: string;
|
|
575
|
-
QualificationTypeStatus?: QualificationTypeStatus
|
|
575
|
+
QualificationTypeStatus?: QualificationTypeStatus;
|
|
576
576
|
Test?: string;
|
|
577
577
|
AnswerKey?: string;
|
|
578
578
|
TestDurationInSeconds?: number;
|
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.
|
|
4
|
+
"version": "3.429.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,39 +21,39 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.2.
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
44
|
-
"@smithy/middleware-stack": "^2.0.
|
|
45
|
-
"@smithy/node-config-provider": "^2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.1.
|
|
47
|
-
"@smithy/protocol-http": "^3.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.1.
|
|
49
|
-
"@smithy/types": "^2.3.
|
|
50
|
-
"@smithy/url-parser": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.429.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.429.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.429.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.428.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.428.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.428.0",
|
|
32
|
+
"@aws-sdk/types": "3.428.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.428.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.428.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.428.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.14",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.2.3",
|
|
38
|
+
"@smithy/hash-node": "^2.0.11",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.1",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.16",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.11",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.5",
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.1",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.7",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.7",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.11",
|
|
49
|
+
"@smithy/types": "^2.3.5",
|
|
50
|
+
"@smithy/url-parser": "^2.0.11",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.15",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.19",
|
|
56
|
+
"@smithy/util-retry": "^2.0.4",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"tslib": "^2.5.0"
|
|
59
59
|
},
|