@aws-sdk/client-mturk 3.325.0 → 3.327.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/commands/AcceptQualificationRequestCommand.d.ts +4 -0
- package/dist-types/commands/ApproveAssignmentCommand.d.ts +4 -0
- package/dist-types/commands/AssociateQualificationWithWorkerCommand.d.ts +4 -0
- package/dist-types/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +4 -0
- package/dist-types/commands/CreateHITCommand.d.ts +44 -0
- package/dist-types/commands/CreateHITTypeCommand.d.ts +6 -0
- package/dist-types/commands/CreateHITWithHITTypeCommand.d.ts +44 -0
- package/dist-types/commands/CreateQualificationTypeCommand.d.ts +20 -0
- package/dist-types/commands/CreateWorkerBlockCommand.d.ts +4 -0
- package/dist-types/commands/DeleteHITCommand.d.ts +4 -0
- package/dist-types/commands/DeleteQualificationTypeCommand.d.ts +4 -0
- package/dist-types/commands/DeleteWorkerBlockCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateQualificationFromWorkerCommand.d.ts +4 -0
- package/dist-types/commands/GetAccountBalanceCommand.d.ts +7 -0
- package/dist-types/commands/GetAssignmentCommand.d.ts +58 -0
- package/dist-types/commands/GetFileUploadURLCommand.d.ts +6 -0
- package/dist-types/commands/GetHITCommand.d.ts +44 -0
- package/dist-types/commands/GetQualificationScoreCommand.d.ts +16 -0
- package/dist-types/commands/GetQualificationTypeCommand.d.ts +20 -0
- package/dist-types/commands/ListAssignmentsForHITCommand.d.ts +23 -0
- package/dist-types/commands/ListBonusPaymentsCommand.d.ts +16 -0
- package/dist-types/commands/ListHITsCommand.d.ts +48 -0
- package/dist-types/commands/ListHITsForQualificationTypeCommand.d.ts +48 -0
- package/dist-types/commands/ListQualificationRequestsCommand.d.ts +17 -0
- package/dist-types/commands/ListQualificationTypesCommand.d.ts +24 -0
- package/dist-types/commands/ListReviewPolicyResultsForHITCommand.d.ts +93 -0
- package/dist-types/commands/ListReviewableHITsCommand.d.ts +48 -0
- package/dist-types/commands/ListWorkerBlocksCommand.d.ts +13 -0
- package/dist-types/commands/ListWorkersWithQualificationTypeCommand.d.ts +20 -0
- package/dist-types/commands/NotifyWorkersCommand.d.ts +12 -0
- package/dist-types/commands/RejectAssignmentCommand.d.ts +4 -0
- package/dist-types/commands/RejectQualificationRequestCommand.d.ts +4 -0
- package/dist-types/commands/SendBonusCommand.d.ts +4 -0
- package/dist-types/commands/SendTestEventNotificationCommand.d.ts +4 -0
- package/dist-types/commands/UpdateExpirationForHITCommand.d.ts +4 -0
- package/dist-types/commands/UpdateHITReviewStatusCommand.d.ts +4 -0
- package/dist-types/commands/UpdateHITTypeOfHITCommand.d.ts +4 -0
- package/dist-types/commands/UpdateNotificationSettingsCommand.d.ts +4 -0
- package/dist-types/commands/UpdateQualificationTypeCommand.d.ts +20 -0
- package/package.json +7 -7
|
@@ -41,6 +41,8 @@ export interface AcceptQualificationRequestCommandOutput extends AcceptQualifica
|
|
|
41
41
|
* };
|
|
42
42
|
* const command = new AcceptQualificationRequestCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
44
46
|
* ```
|
|
45
47
|
*
|
|
46
48
|
* @param AcceptQualificationRequestCommandInput - {@link AcceptQualificationRequestCommandInput}
|
|
@@ -55,6 +57,8 @@ export interface AcceptQualificationRequestCommandOutput extends AcceptQualifica
|
|
|
55
57
|
* @throws {@link ServiceFault} (server fault)
|
|
56
58
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
57
59
|
*
|
|
60
|
+
* @throws {@link MTurkServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
58
62
|
*
|
|
59
63
|
*/
|
|
60
64
|
export declare class AcceptQualificationRequestCommand extends $Command<AcceptQualificationRequestCommandInput, AcceptQualificationRequestCommandOutput, MTurkClientResolvedConfig> {
|
|
@@ -62,6 +62,8 @@ export interface ApproveAssignmentCommandOutput extends ApproveAssignmentRespons
|
|
|
62
62
|
* };
|
|
63
63
|
* const command = new ApproveAssignmentCommand(input);
|
|
64
64
|
* const response = await client.send(command);
|
|
65
|
+
* // {};
|
|
66
|
+
*
|
|
65
67
|
* ```
|
|
66
68
|
*
|
|
67
69
|
* @param ApproveAssignmentCommandInput - {@link ApproveAssignmentCommandInput}
|
|
@@ -76,6 +78,8 @@ export interface ApproveAssignmentCommandOutput extends ApproveAssignmentRespons
|
|
|
76
78
|
* @throws {@link ServiceFault} (server fault)
|
|
77
79
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
78
80
|
*
|
|
81
|
+
* @throws {@link MTurkServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
79
83
|
*
|
|
80
84
|
*/
|
|
81
85
|
export declare class ApproveAssignmentCommand extends $Command<ApproveAssignmentCommandInput, ApproveAssignmentCommandOutput, MTurkClientResolvedConfig> {
|
|
@@ -54,6 +54,8 @@ export interface AssociateQualificationWithWorkerCommandOutput extends Associate
|
|
|
54
54
|
* };
|
|
55
55
|
* const command = new AssociateQualificationWithWorkerCommand(input);
|
|
56
56
|
* const response = await client.send(command);
|
|
57
|
+
* // {};
|
|
58
|
+
*
|
|
57
59
|
* ```
|
|
58
60
|
*
|
|
59
61
|
* @param AssociateQualificationWithWorkerCommandInput - {@link AssociateQualificationWithWorkerCommandInput}
|
|
@@ -68,6 +70,8 @@ export interface AssociateQualificationWithWorkerCommandOutput extends Associate
|
|
|
68
70
|
* @throws {@link ServiceFault} (server fault)
|
|
69
71
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
70
72
|
*
|
|
73
|
+
* @throws {@link MTurkServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
71
75
|
*
|
|
72
76
|
*/
|
|
73
77
|
export declare class AssociateQualificationWithWorkerCommand extends $Command<AssociateQualificationWithWorkerCommandInput, AssociateQualificationWithWorkerCommandOutput, MTurkClientResolvedConfig> {
|
|
@@ -55,6 +55,8 @@ export interface CreateAdditionalAssignmentsForHITCommandOutput extends CreateAd
|
|
|
55
55
|
* };
|
|
56
56
|
* const command = new CreateAdditionalAssignmentsForHITCommand(input);
|
|
57
57
|
* const response = await client.send(command);
|
|
58
|
+
* // {};
|
|
59
|
+
*
|
|
58
60
|
* ```
|
|
59
61
|
*
|
|
60
62
|
* @param CreateAdditionalAssignmentsForHITCommandInput - {@link CreateAdditionalAssignmentsForHITCommandInput}
|
|
@@ -69,6 +71,8 @@ export interface CreateAdditionalAssignmentsForHITCommandOutput extends CreateAd
|
|
|
69
71
|
* @throws {@link ServiceFault} (server fault)
|
|
70
72
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
71
73
|
*
|
|
74
|
+
* @throws {@link MTurkServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
72
76
|
*
|
|
73
77
|
*/
|
|
74
78
|
export declare class CreateAdditionalAssignmentsForHITCommand extends $Command<CreateAdditionalAssignmentsForHITCommandInput, CreateAdditionalAssignmentsForHITCommandOutput, MTurkClientResolvedConfig> {
|
|
@@ -119,6 +119,48 @@ export interface CreateHITCommandOutput extends CreateHITResponse, __MetadataBea
|
|
|
119
119
|
* };
|
|
120
120
|
* const command = new CreateHITCommand(input);
|
|
121
121
|
* const response = await client.send(command);
|
|
122
|
+
* // { // CreateHITResponse
|
|
123
|
+
* // HIT: { // HIT
|
|
124
|
+
* // HITId: "STRING_VALUE",
|
|
125
|
+
* // HITTypeId: "STRING_VALUE",
|
|
126
|
+
* // HITGroupId: "STRING_VALUE",
|
|
127
|
+
* // HITLayoutId: "STRING_VALUE",
|
|
128
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
129
|
+
* // Title: "STRING_VALUE",
|
|
130
|
+
* // Description: "STRING_VALUE",
|
|
131
|
+
* // Question: "STRING_VALUE",
|
|
132
|
+
* // Keywords: "STRING_VALUE",
|
|
133
|
+
* // HITStatus: "STRING_VALUE",
|
|
134
|
+
* // MaxAssignments: Number("int"),
|
|
135
|
+
* // Reward: "STRING_VALUE",
|
|
136
|
+
* // AutoApprovalDelayInSeconds: Number("long"),
|
|
137
|
+
* // Expiration: new Date("TIMESTAMP"),
|
|
138
|
+
* // AssignmentDurationInSeconds: Number("long"),
|
|
139
|
+
* // RequesterAnnotation: "STRING_VALUE",
|
|
140
|
+
* // QualificationRequirements: [ // QualificationRequirementList
|
|
141
|
+
* // { // QualificationRequirement
|
|
142
|
+
* // QualificationTypeId: "STRING_VALUE", // required
|
|
143
|
+
* // Comparator: "STRING_VALUE", // required
|
|
144
|
+
* // IntegerValues: [ // IntegerList
|
|
145
|
+
* // Number("int"),
|
|
146
|
+
* // ],
|
|
147
|
+
* // LocaleValues: [ // LocaleList
|
|
148
|
+
* // { // Locale
|
|
149
|
+
* // Country: "STRING_VALUE", // required
|
|
150
|
+
* // Subdivision: "STRING_VALUE",
|
|
151
|
+
* // },
|
|
152
|
+
* // ],
|
|
153
|
+
* // RequiredToPreview: true || false,
|
|
154
|
+
* // ActionsGuarded: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
156
|
+
* // ],
|
|
157
|
+
* // HITReviewStatus: "STRING_VALUE",
|
|
158
|
+
* // NumberOfAssignmentsPending: Number("int"),
|
|
159
|
+
* // NumberOfAssignmentsAvailable: Number("int"),
|
|
160
|
+
* // NumberOfAssignmentsCompleted: Number("int"),
|
|
161
|
+
* // },
|
|
162
|
+
* // };
|
|
163
|
+
*
|
|
122
164
|
* ```
|
|
123
165
|
*
|
|
124
166
|
* @param CreateHITCommandInput - {@link CreateHITCommandInput}
|
|
@@ -133,6 +175,8 @@ export interface CreateHITCommandOutput extends CreateHITResponse, __MetadataBea
|
|
|
133
175
|
* @throws {@link ServiceFault} (server fault)
|
|
134
176
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
135
177
|
*
|
|
178
|
+
* @throws {@link MTurkServiceException}
|
|
179
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
136
180
|
*
|
|
137
181
|
*/
|
|
138
182
|
export declare class CreateHITCommand extends $Command<CreateHITCommandInput, CreateHITCommandOutput, MTurkClientResolvedConfig> {
|
|
@@ -58,6 +58,10 @@ export interface CreateHITTypeCommandOutput extends CreateHITTypeResponse, __Met
|
|
|
58
58
|
* };
|
|
59
59
|
* const command = new CreateHITTypeCommand(input);
|
|
60
60
|
* const response = await client.send(command);
|
|
61
|
+
* // { // CreateHITTypeResponse
|
|
62
|
+
* // HITTypeId: "STRING_VALUE",
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
61
65
|
* ```
|
|
62
66
|
*
|
|
63
67
|
* @param CreateHITTypeCommandInput - {@link CreateHITTypeCommandInput}
|
|
@@ -72,6 +76,8 @@ export interface CreateHITTypeCommandOutput extends CreateHITTypeResponse, __Met
|
|
|
72
76
|
* @throws {@link ServiceFault} (server fault)
|
|
73
77
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
74
78
|
*
|
|
79
|
+
* @throws {@link MTurkServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
75
81
|
*
|
|
76
82
|
*/
|
|
77
83
|
export declare class CreateHITTypeCommand extends $Command<CreateHITTypeCommandInput, CreateHITTypeCommandOutput, MTurkClientResolvedConfig> {
|
|
@@ -98,6 +98,48 @@ export interface CreateHITWithHITTypeCommandOutput extends CreateHITWithHITTypeR
|
|
|
98
98
|
* };
|
|
99
99
|
* const command = new CreateHITWithHITTypeCommand(input);
|
|
100
100
|
* const response = await client.send(command);
|
|
101
|
+
* // { // CreateHITWithHITTypeResponse
|
|
102
|
+
* // HIT: { // HIT
|
|
103
|
+
* // HITId: "STRING_VALUE",
|
|
104
|
+
* // HITTypeId: "STRING_VALUE",
|
|
105
|
+
* // HITGroupId: "STRING_VALUE",
|
|
106
|
+
* // HITLayoutId: "STRING_VALUE",
|
|
107
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
108
|
+
* // Title: "STRING_VALUE",
|
|
109
|
+
* // Description: "STRING_VALUE",
|
|
110
|
+
* // Question: "STRING_VALUE",
|
|
111
|
+
* // Keywords: "STRING_VALUE",
|
|
112
|
+
* // HITStatus: "STRING_VALUE",
|
|
113
|
+
* // MaxAssignments: Number("int"),
|
|
114
|
+
* // Reward: "STRING_VALUE",
|
|
115
|
+
* // AutoApprovalDelayInSeconds: Number("long"),
|
|
116
|
+
* // Expiration: new Date("TIMESTAMP"),
|
|
117
|
+
* // AssignmentDurationInSeconds: Number("long"),
|
|
118
|
+
* // RequesterAnnotation: "STRING_VALUE",
|
|
119
|
+
* // QualificationRequirements: [ // QualificationRequirementList
|
|
120
|
+
* // { // QualificationRequirement
|
|
121
|
+
* // QualificationTypeId: "STRING_VALUE", // required
|
|
122
|
+
* // Comparator: "STRING_VALUE", // required
|
|
123
|
+
* // IntegerValues: [ // IntegerList
|
|
124
|
+
* // Number("int"),
|
|
125
|
+
* // ],
|
|
126
|
+
* // LocaleValues: [ // LocaleList
|
|
127
|
+
* // { // Locale
|
|
128
|
+
* // Country: "STRING_VALUE", // required
|
|
129
|
+
* // Subdivision: "STRING_VALUE",
|
|
130
|
+
* // },
|
|
131
|
+
* // ],
|
|
132
|
+
* // RequiredToPreview: true || false,
|
|
133
|
+
* // ActionsGuarded: "STRING_VALUE",
|
|
134
|
+
* // },
|
|
135
|
+
* // ],
|
|
136
|
+
* // HITReviewStatus: "STRING_VALUE",
|
|
137
|
+
* // NumberOfAssignmentsPending: Number("int"),
|
|
138
|
+
* // NumberOfAssignmentsAvailable: Number("int"),
|
|
139
|
+
* // NumberOfAssignmentsCompleted: Number("int"),
|
|
140
|
+
* // },
|
|
141
|
+
* // };
|
|
142
|
+
*
|
|
101
143
|
* ```
|
|
102
144
|
*
|
|
103
145
|
* @param CreateHITWithHITTypeCommandInput - {@link CreateHITWithHITTypeCommandInput}
|
|
@@ -112,6 +154,8 @@ export interface CreateHITWithHITTypeCommandOutput extends CreateHITWithHITTypeR
|
|
|
112
154
|
* @throws {@link ServiceFault} (server fault)
|
|
113
155
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
114
156
|
*
|
|
157
|
+
* @throws {@link MTurkServiceException}
|
|
158
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
115
159
|
*
|
|
116
160
|
*/
|
|
117
161
|
export declare class CreateHITWithHITTypeCommand extends $Command<CreateHITWithHITTypeCommandInput, CreateHITWithHITTypeCommandOutput, MTurkClientResolvedConfig> {
|
|
@@ -46,6 +46,24 @@ export interface CreateQualificationTypeCommandOutput extends CreateQualificatio
|
|
|
46
46
|
* };
|
|
47
47
|
* const command = new CreateQualificationTypeCommand(input);
|
|
48
48
|
* const response = await client.send(command);
|
|
49
|
+
* // { // CreateQualificationTypeResponse
|
|
50
|
+
* // QualificationType: { // QualificationType
|
|
51
|
+
* // QualificationTypeId: "STRING_VALUE",
|
|
52
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // Name: "STRING_VALUE",
|
|
54
|
+
* // Description: "STRING_VALUE",
|
|
55
|
+
* // Keywords: "STRING_VALUE",
|
|
56
|
+
* // QualificationTypeStatus: "STRING_VALUE",
|
|
57
|
+
* // Test: "STRING_VALUE",
|
|
58
|
+
* // TestDurationInSeconds: Number("long"),
|
|
59
|
+
* // AnswerKey: "STRING_VALUE",
|
|
60
|
+
* // RetryDelayInSeconds: Number("long"),
|
|
61
|
+
* // IsRequestable: true || false,
|
|
62
|
+
* // AutoGranted: true || false,
|
|
63
|
+
* // AutoGrantedValue: Number("int"),
|
|
64
|
+
* // },
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
49
67
|
* ```
|
|
50
68
|
*
|
|
51
69
|
* @param CreateQualificationTypeCommandInput - {@link CreateQualificationTypeCommandInput}
|
|
@@ -60,6 +78,8 @@ export interface CreateQualificationTypeCommandOutput extends CreateQualificatio
|
|
|
60
78
|
* @throws {@link ServiceFault} (server fault)
|
|
61
79
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
62
80
|
*
|
|
81
|
+
* @throws {@link MTurkServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
63
83
|
*
|
|
64
84
|
*/
|
|
65
85
|
export declare class CreateQualificationTypeCommand extends $Command<CreateQualificationTypeCommandInput, CreateQualificationTypeCommandOutput, MTurkClientResolvedConfig> {
|
|
@@ -32,6 +32,8 @@ export interface CreateWorkerBlockCommandOutput extends CreateWorkerBlockRespons
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new CreateWorkerBlockCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // {};
|
|
36
|
+
*
|
|
35
37
|
* ```
|
|
36
38
|
*
|
|
37
39
|
* @param CreateWorkerBlockCommandInput - {@link CreateWorkerBlockCommandInput}
|
|
@@ -46,6 +48,8 @@ export interface CreateWorkerBlockCommandOutput extends CreateWorkerBlockRespons
|
|
|
46
48
|
* @throws {@link ServiceFault} (server fault)
|
|
47
49
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
48
50
|
*
|
|
51
|
+
* @throws {@link MTurkServiceException}
|
|
52
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
49
53
|
*
|
|
50
54
|
*/
|
|
51
55
|
export declare class CreateWorkerBlockCommand extends $Command<CreateWorkerBlockCommandInput, CreateWorkerBlockCommandOutput, MTurkClientResolvedConfig> {
|
|
@@ -66,6 +66,8 @@ export interface DeleteHITCommandOutput extends DeleteHITResponse, __MetadataBea
|
|
|
66
66
|
* };
|
|
67
67
|
* const command = new DeleteHITCommand(input);
|
|
68
68
|
* const response = await client.send(command);
|
|
69
|
+
* // {};
|
|
70
|
+
*
|
|
69
71
|
* ```
|
|
70
72
|
*
|
|
71
73
|
* @param DeleteHITCommandInput - {@link DeleteHITCommandInput}
|
|
@@ -80,6 +82,8 @@ export interface DeleteHITCommandOutput extends DeleteHITResponse, __MetadataBea
|
|
|
80
82
|
* @throws {@link ServiceFault} (server fault)
|
|
81
83
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
82
84
|
*
|
|
85
|
+
* @throws {@link MTurkServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
83
87
|
*
|
|
84
88
|
*/
|
|
85
89
|
export declare class DeleteHITCommand extends $Command<DeleteHITCommandInput, DeleteHITCommandOutput, MTurkClientResolvedConfig> {
|
|
@@ -49,6 +49,8 @@ export interface DeleteQualificationTypeCommandOutput extends DeleteQualificatio
|
|
|
49
49
|
* };
|
|
50
50
|
* const command = new DeleteQualificationTypeCommand(input);
|
|
51
51
|
* const response = await client.send(command);
|
|
52
|
+
* // {};
|
|
53
|
+
*
|
|
52
54
|
* ```
|
|
53
55
|
*
|
|
54
56
|
* @param DeleteQualificationTypeCommandInput - {@link DeleteQualificationTypeCommandInput}
|
|
@@ -63,6 +65,8 @@ export interface DeleteQualificationTypeCommandOutput extends DeleteQualificatio
|
|
|
63
65
|
* @throws {@link ServiceFault} (server fault)
|
|
64
66
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
65
67
|
*
|
|
68
|
+
* @throws {@link MTurkServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
66
70
|
*
|
|
67
71
|
*/
|
|
68
72
|
export declare class DeleteQualificationTypeCommand extends $Command<DeleteQualificationTypeCommandInput, DeleteQualificationTypeCommandOutput, MTurkClientResolvedConfig> {
|
|
@@ -32,6 +32,8 @@ export interface DeleteWorkerBlockCommandOutput extends DeleteWorkerBlockRespons
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteWorkerBlockCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // {};
|
|
36
|
+
*
|
|
35
37
|
* ```
|
|
36
38
|
*
|
|
37
39
|
* @param DeleteWorkerBlockCommandInput - {@link DeleteWorkerBlockCommandInput}
|
|
@@ -46,6 +48,8 @@ export interface DeleteWorkerBlockCommandOutput extends DeleteWorkerBlockRespons
|
|
|
46
48
|
* @throws {@link ServiceFault} (server fault)
|
|
47
49
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
48
50
|
*
|
|
51
|
+
* @throws {@link MTurkServiceException}
|
|
52
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
49
53
|
*
|
|
50
54
|
*/
|
|
51
55
|
export declare class DeleteWorkerBlockCommand extends $Command<DeleteWorkerBlockCommandInput, DeleteWorkerBlockCommandOutput, MTurkClientResolvedConfig> {
|
|
@@ -40,6 +40,8 @@ export interface DisassociateQualificationFromWorkerCommandOutput extends Disass
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new DisassociateQualificationFromWorkerCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
43
45
|
* ```
|
|
44
46
|
*
|
|
45
47
|
* @param DisassociateQualificationFromWorkerCommandInput - {@link DisassociateQualificationFromWorkerCommandInput}
|
|
@@ -54,6 +56,8 @@ export interface DisassociateQualificationFromWorkerCommandOutput extends Disass
|
|
|
54
56
|
* @throws {@link ServiceFault} (server fault)
|
|
55
57
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
56
58
|
*
|
|
59
|
+
* @throws {@link MTurkServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
57
61
|
*
|
|
58
62
|
*/
|
|
59
63
|
export declare class DisassociateQualificationFromWorkerCommand extends $Command<DisassociateQualificationFromWorkerCommandInput, DisassociateQualificationFromWorkerCommandOutput, MTurkClientResolvedConfig> {
|
|
@@ -31,6 +31,11 @@ export interface GetAccountBalanceCommandOutput extends GetAccountBalanceRespons
|
|
|
31
31
|
* const input = {};
|
|
32
32
|
* const command = new GetAccountBalanceCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // GetAccountBalanceResponse
|
|
35
|
+
* // AvailableBalance: "STRING_VALUE",
|
|
36
|
+
* // OnHoldBalance: "STRING_VALUE",
|
|
37
|
+
* // };
|
|
38
|
+
*
|
|
34
39
|
* ```
|
|
35
40
|
*
|
|
36
41
|
* @param GetAccountBalanceCommandInput - {@link GetAccountBalanceCommandInput}
|
|
@@ -45,6 +50,8 @@ export interface GetAccountBalanceCommandOutput extends GetAccountBalanceRespons
|
|
|
45
50
|
* @throws {@link ServiceFault} (server fault)
|
|
46
51
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
47
52
|
*
|
|
53
|
+
* @throws {@link MTurkServiceException}
|
|
54
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
48
55
|
*
|
|
49
56
|
*/
|
|
50
57
|
export declare class GetAccountBalanceCommand extends $Command<GetAccountBalanceCommandInput, GetAccountBalanceCommandOutput, MTurkClientResolvedConfig> {
|
|
@@ -33,6 +33,62 @@ export interface GetAssignmentCommandOutput extends GetAssignmentResponse, __Met
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetAssignmentCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // GetAssignmentResponse
|
|
37
|
+
* // Assignment: { // Assignment
|
|
38
|
+
* // AssignmentId: "STRING_VALUE",
|
|
39
|
+
* // WorkerId: "STRING_VALUE",
|
|
40
|
+
* // HITId: "STRING_VALUE",
|
|
41
|
+
* // AssignmentStatus: "STRING_VALUE",
|
|
42
|
+
* // AutoApprovalTime: new Date("TIMESTAMP"),
|
|
43
|
+
* // AcceptTime: new Date("TIMESTAMP"),
|
|
44
|
+
* // SubmitTime: new Date("TIMESTAMP"),
|
|
45
|
+
* // ApprovalTime: new Date("TIMESTAMP"),
|
|
46
|
+
* // RejectionTime: new Date("TIMESTAMP"),
|
|
47
|
+
* // Deadline: new Date("TIMESTAMP"),
|
|
48
|
+
* // Answer: "STRING_VALUE",
|
|
49
|
+
* // RequesterFeedback: "STRING_VALUE",
|
|
50
|
+
* // },
|
|
51
|
+
* // HIT: { // HIT
|
|
52
|
+
* // HITId: "STRING_VALUE",
|
|
53
|
+
* // HITTypeId: "STRING_VALUE",
|
|
54
|
+
* // HITGroupId: "STRING_VALUE",
|
|
55
|
+
* // HITLayoutId: "STRING_VALUE",
|
|
56
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
57
|
+
* // Title: "STRING_VALUE",
|
|
58
|
+
* // Description: "STRING_VALUE",
|
|
59
|
+
* // Question: "STRING_VALUE",
|
|
60
|
+
* // Keywords: "STRING_VALUE",
|
|
61
|
+
* // HITStatus: "STRING_VALUE",
|
|
62
|
+
* // MaxAssignments: Number("int"),
|
|
63
|
+
* // Reward: "STRING_VALUE",
|
|
64
|
+
* // AutoApprovalDelayInSeconds: Number("long"),
|
|
65
|
+
* // Expiration: new Date("TIMESTAMP"),
|
|
66
|
+
* // AssignmentDurationInSeconds: Number("long"),
|
|
67
|
+
* // RequesterAnnotation: "STRING_VALUE",
|
|
68
|
+
* // QualificationRequirements: [ // QualificationRequirementList
|
|
69
|
+
* // { // QualificationRequirement
|
|
70
|
+
* // QualificationTypeId: "STRING_VALUE", // required
|
|
71
|
+
* // Comparator: "STRING_VALUE", // required
|
|
72
|
+
* // IntegerValues: [ // IntegerList
|
|
73
|
+
* // Number("int"),
|
|
74
|
+
* // ],
|
|
75
|
+
* // LocaleValues: [ // LocaleList
|
|
76
|
+
* // { // Locale
|
|
77
|
+
* // Country: "STRING_VALUE", // required
|
|
78
|
+
* // Subdivision: "STRING_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // RequiredToPreview: true || false,
|
|
82
|
+
* // ActionsGuarded: "STRING_VALUE",
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
85
|
+
* // HITReviewStatus: "STRING_VALUE",
|
|
86
|
+
* // NumberOfAssignmentsPending: Number("int"),
|
|
87
|
+
* // NumberOfAssignmentsAvailable: Number("int"),
|
|
88
|
+
* // NumberOfAssignmentsCompleted: Number("int"),
|
|
89
|
+
* // },
|
|
90
|
+
* // };
|
|
91
|
+
*
|
|
36
92
|
* ```
|
|
37
93
|
*
|
|
38
94
|
* @param GetAssignmentCommandInput - {@link GetAssignmentCommandInput}
|
|
@@ -47,6 +103,8 @@ export interface GetAssignmentCommandOutput extends GetAssignmentResponse, __Met
|
|
|
47
103
|
* @throws {@link ServiceFault} (server fault)
|
|
48
104
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
49
105
|
*
|
|
106
|
+
* @throws {@link MTurkServiceException}
|
|
107
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
50
108
|
*
|
|
51
109
|
*/
|
|
52
110
|
export declare class GetAssignmentCommand extends $Command<GetAssignmentCommandInput, GetAssignmentCommandOutput, MTurkClientResolvedConfig> {
|
|
@@ -49,6 +49,10 @@ export interface GetFileUploadURLCommandOutput extends GetFileUploadURLResponse,
|
|
|
49
49
|
* };
|
|
50
50
|
* const command = new GetFileUploadURLCommand(input);
|
|
51
51
|
* const response = await client.send(command);
|
|
52
|
+
* // { // GetFileUploadURLResponse
|
|
53
|
+
* // FileUploadURL: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
52
56
|
* ```
|
|
53
57
|
*
|
|
54
58
|
* @param GetFileUploadURLCommandInput - {@link GetFileUploadURLCommandInput}
|
|
@@ -63,6 +67,8 @@ export interface GetFileUploadURLCommandOutput extends GetFileUploadURLResponse,
|
|
|
63
67
|
* @throws {@link ServiceFault} (server fault)
|
|
64
68
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
65
69
|
*
|
|
70
|
+
* @throws {@link MTurkServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
66
72
|
*
|
|
67
73
|
*/
|
|
68
74
|
export declare class GetFileUploadURLCommand extends $Command<GetFileUploadURLCommandInput, GetFileUploadURLCommandOutput, MTurkClientResolvedConfig> {
|
|
@@ -33,6 +33,48 @@ export interface GetHITCommandOutput extends GetHITResponse, __MetadataBearer {
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetHITCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // GetHITResponse
|
|
37
|
+
* // HIT: { // HIT
|
|
38
|
+
* // HITId: "STRING_VALUE",
|
|
39
|
+
* // HITTypeId: "STRING_VALUE",
|
|
40
|
+
* // HITGroupId: "STRING_VALUE",
|
|
41
|
+
* // HITLayoutId: "STRING_VALUE",
|
|
42
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
43
|
+
* // Title: "STRING_VALUE",
|
|
44
|
+
* // Description: "STRING_VALUE",
|
|
45
|
+
* // Question: "STRING_VALUE",
|
|
46
|
+
* // Keywords: "STRING_VALUE",
|
|
47
|
+
* // HITStatus: "STRING_VALUE",
|
|
48
|
+
* // MaxAssignments: Number("int"),
|
|
49
|
+
* // Reward: "STRING_VALUE",
|
|
50
|
+
* // AutoApprovalDelayInSeconds: Number("long"),
|
|
51
|
+
* // Expiration: new Date("TIMESTAMP"),
|
|
52
|
+
* // AssignmentDurationInSeconds: Number("long"),
|
|
53
|
+
* // RequesterAnnotation: "STRING_VALUE",
|
|
54
|
+
* // QualificationRequirements: [ // QualificationRequirementList
|
|
55
|
+
* // { // QualificationRequirement
|
|
56
|
+
* // QualificationTypeId: "STRING_VALUE", // required
|
|
57
|
+
* // Comparator: "STRING_VALUE", // required
|
|
58
|
+
* // IntegerValues: [ // IntegerList
|
|
59
|
+
* // Number("int"),
|
|
60
|
+
* // ],
|
|
61
|
+
* // LocaleValues: [ // LocaleList
|
|
62
|
+
* // { // Locale
|
|
63
|
+
* // Country: "STRING_VALUE", // required
|
|
64
|
+
* // Subdivision: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // RequiredToPreview: true || false,
|
|
68
|
+
* // ActionsGuarded: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // HITReviewStatus: "STRING_VALUE",
|
|
72
|
+
* // NumberOfAssignmentsPending: Number("int"),
|
|
73
|
+
* // NumberOfAssignmentsAvailable: Number("int"),
|
|
74
|
+
* // NumberOfAssignmentsCompleted: Number("int"),
|
|
75
|
+
* // },
|
|
76
|
+
* // };
|
|
77
|
+
*
|
|
36
78
|
* ```
|
|
37
79
|
*
|
|
38
80
|
* @param GetHITCommandInput - {@link GetHITCommandInput}
|
|
@@ -47,6 +89,8 @@ export interface GetHITCommandOutput extends GetHITResponse, __MetadataBearer {
|
|
|
47
89
|
* @throws {@link ServiceFault} (server fault)
|
|
48
90
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
49
91
|
*
|
|
92
|
+
* @throws {@link MTurkServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
50
94
|
*
|
|
51
95
|
*/
|
|
52
96
|
export declare class GetHITCommand extends $Command<GetHITCommandInput, GetHITCommandOutput, MTurkClientResolvedConfig> {
|
|
@@ -45,6 +45,20 @@ export interface GetQualificationScoreCommandOutput extends GetQualificationScor
|
|
|
45
45
|
* };
|
|
46
46
|
* const command = new GetQualificationScoreCommand(input);
|
|
47
47
|
* const response = await client.send(command);
|
|
48
|
+
* // { // GetQualificationScoreResponse
|
|
49
|
+
* // Qualification: { // Qualification
|
|
50
|
+
* // QualificationTypeId: "STRING_VALUE",
|
|
51
|
+
* // WorkerId: "STRING_VALUE",
|
|
52
|
+
* // GrantTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // IntegerValue: Number("int"),
|
|
54
|
+
* // LocaleValue: { // Locale
|
|
55
|
+
* // Country: "STRING_VALUE", // required
|
|
56
|
+
* // Subdivision: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // Status: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
48
62
|
* ```
|
|
49
63
|
*
|
|
50
64
|
* @param GetQualificationScoreCommandInput - {@link GetQualificationScoreCommandInput}
|
|
@@ -59,6 +73,8 @@ export interface GetQualificationScoreCommandOutput extends GetQualificationScor
|
|
|
59
73
|
* @throws {@link ServiceFault} (server fault)
|
|
60
74
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
61
75
|
*
|
|
76
|
+
* @throws {@link MTurkServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
62
78
|
*
|
|
63
79
|
*/
|
|
64
80
|
export declare class GetQualificationScoreCommand extends $Command<GetQualificationScoreCommandInput, GetQualificationScoreCommandOutput, MTurkClientResolvedConfig> {
|
|
@@ -33,6 +33,24 @@ export interface GetQualificationTypeCommandOutput extends GetQualificationTypeR
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetQualificationTypeCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // GetQualificationTypeResponse
|
|
37
|
+
* // QualificationType: { // QualificationType
|
|
38
|
+
* // QualificationTypeId: "STRING_VALUE",
|
|
39
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
40
|
+
* // Name: "STRING_VALUE",
|
|
41
|
+
* // Description: "STRING_VALUE",
|
|
42
|
+
* // Keywords: "STRING_VALUE",
|
|
43
|
+
* // QualificationTypeStatus: "STRING_VALUE",
|
|
44
|
+
* // Test: "STRING_VALUE",
|
|
45
|
+
* // TestDurationInSeconds: Number("long"),
|
|
46
|
+
* // AnswerKey: "STRING_VALUE",
|
|
47
|
+
* // RetryDelayInSeconds: Number("long"),
|
|
48
|
+
* // IsRequestable: true || false,
|
|
49
|
+
* // AutoGranted: true || false,
|
|
50
|
+
* // AutoGrantedValue: Number("int"),
|
|
51
|
+
* // },
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
36
54
|
* ```
|
|
37
55
|
*
|
|
38
56
|
* @param GetQualificationTypeCommandInput - {@link GetQualificationTypeCommandInput}
|
|
@@ -47,6 +65,8 @@ export interface GetQualificationTypeCommandOutput extends GetQualificationTypeR
|
|
|
47
65
|
* @throws {@link ServiceFault} (server fault)
|
|
48
66
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
49
67
|
*
|
|
68
|
+
* @throws {@link MTurkServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
50
70
|
*
|
|
51
71
|
*/
|
|
52
72
|
export declare class GetQualificationTypeCommand extends $Command<GetQualificationTypeCommandInput, GetQualificationTypeCommandOutput, MTurkClientResolvedConfig> {
|
|
@@ -62,6 +62,27 @@ export interface ListAssignmentsForHITCommandOutput extends ListAssignmentsForHI
|
|
|
62
62
|
* };
|
|
63
63
|
* const command = new ListAssignmentsForHITCommand(input);
|
|
64
64
|
* const response = await client.send(command);
|
|
65
|
+
* // { // ListAssignmentsForHITResponse
|
|
66
|
+
* // NextToken: "STRING_VALUE",
|
|
67
|
+
* // NumResults: Number("int"),
|
|
68
|
+
* // Assignments: [ // AssignmentList
|
|
69
|
+
* // { // Assignment
|
|
70
|
+
* // AssignmentId: "STRING_VALUE",
|
|
71
|
+
* // WorkerId: "STRING_VALUE",
|
|
72
|
+
* // HITId: "STRING_VALUE",
|
|
73
|
+
* // AssignmentStatus: "STRING_VALUE",
|
|
74
|
+
* // AutoApprovalTime: new Date("TIMESTAMP"),
|
|
75
|
+
* // AcceptTime: new Date("TIMESTAMP"),
|
|
76
|
+
* // SubmitTime: new Date("TIMESTAMP"),
|
|
77
|
+
* // ApprovalTime: new Date("TIMESTAMP"),
|
|
78
|
+
* // RejectionTime: new Date("TIMESTAMP"),
|
|
79
|
+
* // Deadline: new Date("TIMESTAMP"),
|
|
80
|
+
* // Answer: "STRING_VALUE",
|
|
81
|
+
* // RequesterFeedback: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
84
|
+
* // };
|
|
85
|
+
*
|
|
65
86
|
* ```
|
|
66
87
|
*
|
|
67
88
|
* @param ListAssignmentsForHITCommandInput - {@link ListAssignmentsForHITCommandInput}
|
|
@@ -76,6 +97,8 @@ export interface ListAssignmentsForHITCommandOutput extends ListAssignmentsForHI
|
|
|
76
97
|
* @throws {@link ServiceFault} (server fault)
|
|
77
98
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
78
99
|
*
|
|
100
|
+
* @throws {@link MTurkServiceException}
|
|
101
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
79
102
|
*
|
|
80
103
|
*/
|
|
81
104
|
export declare class ListAssignmentsForHITCommand extends $Command<ListAssignmentsForHITCommandInput, ListAssignmentsForHITCommandOutput, MTurkClientResolvedConfig> {
|
|
@@ -39,6 +39,20 @@ export interface ListBonusPaymentsCommandOutput extends ListBonusPaymentsRespons
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new ListBonusPaymentsCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // { // ListBonusPaymentsResponse
|
|
43
|
+
* // NumResults: Number("int"),
|
|
44
|
+
* // NextToken: "STRING_VALUE",
|
|
45
|
+
* // BonusPayments: [ // BonusPaymentList
|
|
46
|
+
* // { // BonusPayment
|
|
47
|
+
* // WorkerId: "STRING_VALUE",
|
|
48
|
+
* // BonusAmount: "STRING_VALUE",
|
|
49
|
+
* // AssignmentId: "STRING_VALUE",
|
|
50
|
+
* // Reason: "STRING_VALUE",
|
|
51
|
+
* // GrantTime: new Date("TIMESTAMP"),
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
42
56
|
* ```
|
|
43
57
|
*
|
|
44
58
|
* @param ListBonusPaymentsCommandInput - {@link ListBonusPaymentsCommandInput}
|
|
@@ -53,6 +67,8 @@ export interface ListBonusPaymentsCommandOutput extends ListBonusPaymentsRespons
|
|
|
53
67
|
* @throws {@link ServiceFault} (server fault)
|
|
54
68
|
* <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
|
|
55
69
|
*
|
|
70
|
+
* @throws {@link MTurkServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from MTurk service.</p>
|
|
56
72
|
*
|
|
57
73
|
*/
|
|
58
74
|
export declare class ListBonusPaymentsCommand extends $Command<ListBonusPaymentsCommandInput, ListBonusPaymentsCommandOutput, MTurkClientResolvedConfig> {
|