@aws-sdk/client-mturk 3.1136.0 → 3.1138.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-cjs/index.js +3 -3
- package/dist-es/schemas/schemas_0.js +2 -2
- package/dist-types/MTurk.d.ts +85 -79
- package/dist-types/ts3.4/MTurk.d.ts +82 -78
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1137.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -455,10 +455,10 @@ const _hE = "httpError";
|
|
|
455
455
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.mturk";
|
|
456
456
|
const _se = "server";
|
|
457
457
|
const n0 = "com.amazonaws.mturk";
|
|
458
|
-
const _s_registry = TypeRegistry
|
|
458
|
+
const _s_registry = new TypeRegistry(_s);
|
|
459
459
|
var MTurkServiceException$ = [-3, _s, "MTurkServiceException", 0, [], []];
|
|
460
460
|
_s_registry.registerError(MTurkServiceException$, MTurkServiceException);
|
|
461
|
-
const n0_registry = TypeRegistry
|
|
461
|
+
const n0_registry = new TypeRegistry(n0);
|
|
462
462
|
var RequestError$ = [-3, n0, _RE,
|
|
463
463
|
{ [_aQE]: [`RequestError`, 400], [_e]: _c, [_hE]: 400 },
|
|
464
464
|
[_M, _TEC],
|
|
@@ -282,10 +282,10 @@ const n0 = "com.amazonaws.mturk";
|
|
|
282
282
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
283
283
|
import { RequestError, ServiceFault } from "../models/errors";
|
|
284
284
|
import { MTurkServiceException } from "../models/MTurkServiceException";
|
|
285
|
-
const _s_registry = TypeRegistry
|
|
285
|
+
const _s_registry = new TypeRegistry(_s);
|
|
286
286
|
export var MTurkServiceException$ = [-3, _s, "MTurkServiceException", 0, [], []];
|
|
287
287
|
_s_registry.registerError(MTurkServiceException$, MTurkServiceException);
|
|
288
|
-
const n0_registry = TypeRegistry
|
|
288
|
+
const n0_registry = new TypeRegistry(n0);
|
|
289
289
|
export var RequestError$ = [-3, n0, _RE,
|
|
290
290
|
{ [_aQE]: [`RequestError`, 400], [_e]: _c, [_hE]: 400 },
|
|
291
291
|
[_M, _TEC],
|
package/dist-types/MTurk.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { type AcceptQualificationRequestCommandInput, type AcceptQualificationRequestCommandOutput } from "./commands/AcceptQualificationRequestCommand";
|
|
3
3
|
import { type ApproveAssignmentCommandInput, type ApproveAssignmentCommandOutput } from "./commands/ApproveAssignmentCommand";
|
|
4
4
|
import { type AssociateQualificationWithWorkerCommandInput, type AssociateQualificationWithWorkerCommandOutput } from "./commands/AssociateQualificationWithWorkerCommand";
|
|
@@ -39,247 +39,253 @@ import { type UpdateHITTypeOfHITCommandInput, type UpdateHITTypeOfHITCommandOutp
|
|
|
39
39
|
import { type UpdateNotificationSettingsCommandInput, type UpdateNotificationSettingsCommandOutput } from "./commands/UpdateNotificationSettingsCommand";
|
|
40
40
|
import { type UpdateQualificationTypeCommandInput, type UpdateQualificationTypeCommandOutput } from "./commands/UpdateQualificationTypeCommand";
|
|
41
41
|
import { MTurkClient } from "./MTurkClient";
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export interface MTurkRequestOptions extends __HttpHandlerOptions {
|
|
46
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
47
|
+
}
|
|
42
48
|
export interface MTurk {
|
|
43
49
|
/**
|
|
44
50
|
* @see {@link AcceptQualificationRequestCommand}
|
|
45
51
|
*/
|
|
46
|
-
acceptQualificationRequest(args: AcceptQualificationRequestCommandInput, options?:
|
|
52
|
+
acceptQualificationRequest(args: AcceptQualificationRequestCommandInput, options?: MTurkRequestOptions): Promise<AcceptQualificationRequestCommandOutput>;
|
|
47
53
|
acceptQualificationRequest(args: AcceptQualificationRequestCommandInput, cb: (err: any, data?: AcceptQualificationRequestCommandOutput) => void): void;
|
|
48
|
-
acceptQualificationRequest(args: AcceptQualificationRequestCommandInput, options:
|
|
54
|
+
acceptQualificationRequest(args: AcceptQualificationRequestCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: AcceptQualificationRequestCommandOutput) => void): void;
|
|
49
55
|
/**
|
|
50
56
|
* @see {@link ApproveAssignmentCommand}
|
|
51
57
|
*/
|
|
52
|
-
approveAssignment(args: ApproveAssignmentCommandInput, options?:
|
|
58
|
+
approveAssignment(args: ApproveAssignmentCommandInput, options?: MTurkRequestOptions): Promise<ApproveAssignmentCommandOutput>;
|
|
53
59
|
approveAssignment(args: ApproveAssignmentCommandInput, cb: (err: any, data?: ApproveAssignmentCommandOutput) => void): void;
|
|
54
|
-
approveAssignment(args: ApproveAssignmentCommandInput, options:
|
|
60
|
+
approveAssignment(args: ApproveAssignmentCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: ApproveAssignmentCommandOutput) => void): void;
|
|
55
61
|
/**
|
|
56
62
|
* @see {@link AssociateQualificationWithWorkerCommand}
|
|
57
63
|
*/
|
|
58
|
-
associateQualificationWithWorker(args: AssociateQualificationWithWorkerCommandInput, options?:
|
|
64
|
+
associateQualificationWithWorker(args: AssociateQualificationWithWorkerCommandInput, options?: MTurkRequestOptions): Promise<AssociateQualificationWithWorkerCommandOutput>;
|
|
59
65
|
associateQualificationWithWorker(args: AssociateQualificationWithWorkerCommandInput, cb: (err: any, data?: AssociateQualificationWithWorkerCommandOutput) => void): void;
|
|
60
|
-
associateQualificationWithWorker(args: AssociateQualificationWithWorkerCommandInput, options:
|
|
66
|
+
associateQualificationWithWorker(args: AssociateQualificationWithWorkerCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: AssociateQualificationWithWorkerCommandOutput) => void): void;
|
|
61
67
|
/**
|
|
62
68
|
* @see {@link CreateAdditionalAssignmentsForHITCommand}
|
|
63
69
|
*/
|
|
64
|
-
createAdditionalAssignmentsForHIT(args: CreateAdditionalAssignmentsForHITCommandInput, options?:
|
|
70
|
+
createAdditionalAssignmentsForHIT(args: CreateAdditionalAssignmentsForHITCommandInput, options?: MTurkRequestOptions): Promise<CreateAdditionalAssignmentsForHITCommandOutput>;
|
|
65
71
|
createAdditionalAssignmentsForHIT(args: CreateAdditionalAssignmentsForHITCommandInput, cb: (err: any, data?: CreateAdditionalAssignmentsForHITCommandOutput) => void): void;
|
|
66
|
-
createAdditionalAssignmentsForHIT(args: CreateAdditionalAssignmentsForHITCommandInput, options:
|
|
72
|
+
createAdditionalAssignmentsForHIT(args: CreateAdditionalAssignmentsForHITCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: CreateAdditionalAssignmentsForHITCommandOutput) => void): void;
|
|
67
73
|
/**
|
|
68
74
|
* @see {@link CreateHITCommand}
|
|
69
75
|
*/
|
|
70
|
-
createHIT(args: CreateHITCommandInput, options?:
|
|
76
|
+
createHIT(args: CreateHITCommandInput, options?: MTurkRequestOptions): Promise<CreateHITCommandOutput>;
|
|
71
77
|
createHIT(args: CreateHITCommandInput, cb: (err: any, data?: CreateHITCommandOutput) => void): void;
|
|
72
|
-
createHIT(args: CreateHITCommandInput, options:
|
|
78
|
+
createHIT(args: CreateHITCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: CreateHITCommandOutput) => void): void;
|
|
73
79
|
/**
|
|
74
80
|
* @see {@link CreateHITTypeCommand}
|
|
75
81
|
*/
|
|
76
|
-
createHITType(args: CreateHITTypeCommandInput, options?:
|
|
82
|
+
createHITType(args: CreateHITTypeCommandInput, options?: MTurkRequestOptions): Promise<CreateHITTypeCommandOutput>;
|
|
77
83
|
createHITType(args: CreateHITTypeCommandInput, cb: (err: any, data?: CreateHITTypeCommandOutput) => void): void;
|
|
78
|
-
createHITType(args: CreateHITTypeCommandInput, options:
|
|
84
|
+
createHITType(args: CreateHITTypeCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: CreateHITTypeCommandOutput) => void): void;
|
|
79
85
|
/**
|
|
80
86
|
* @see {@link CreateHITWithHITTypeCommand}
|
|
81
87
|
*/
|
|
82
|
-
createHITWithHITType(args: CreateHITWithHITTypeCommandInput, options?:
|
|
88
|
+
createHITWithHITType(args: CreateHITWithHITTypeCommandInput, options?: MTurkRequestOptions): Promise<CreateHITWithHITTypeCommandOutput>;
|
|
83
89
|
createHITWithHITType(args: CreateHITWithHITTypeCommandInput, cb: (err: any, data?: CreateHITWithHITTypeCommandOutput) => void): void;
|
|
84
|
-
createHITWithHITType(args: CreateHITWithHITTypeCommandInput, options:
|
|
90
|
+
createHITWithHITType(args: CreateHITWithHITTypeCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: CreateHITWithHITTypeCommandOutput) => void): void;
|
|
85
91
|
/**
|
|
86
92
|
* @see {@link CreateQualificationTypeCommand}
|
|
87
93
|
*/
|
|
88
|
-
createQualificationType(args: CreateQualificationTypeCommandInput, options?:
|
|
94
|
+
createQualificationType(args: CreateQualificationTypeCommandInput, options?: MTurkRequestOptions): Promise<CreateQualificationTypeCommandOutput>;
|
|
89
95
|
createQualificationType(args: CreateQualificationTypeCommandInput, cb: (err: any, data?: CreateQualificationTypeCommandOutput) => void): void;
|
|
90
|
-
createQualificationType(args: CreateQualificationTypeCommandInput, options:
|
|
96
|
+
createQualificationType(args: CreateQualificationTypeCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: CreateQualificationTypeCommandOutput) => void): void;
|
|
91
97
|
/**
|
|
92
98
|
* @see {@link CreateWorkerBlockCommand}
|
|
93
99
|
*/
|
|
94
|
-
createWorkerBlock(args: CreateWorkerBlockCommandInput, options?:
|
|
100
|
+
createWorkerBlock(args: CreateWorkerBlockCommandInput, options?: MTurkRequestOptions): Promise<CreateWorkerBlockCommandOutput>;
|
|
95
101
|
createWorkerBlock(args: CreateWorkerBlockCommandInput, cb: (err: any, data?: CreateWorkerBlockCommandOutput) => void): void;
|
|
96
|
-
createWorkerBlock(args: CreateWorkerBlockCommandInput, options:
|
|
102
|
+
createWorkerBlock(args: CreateWorkerBlockCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: CreateWorkerBlockCommandOutput) => void): void;
|
|
97
103
|
/**
|
|
98
104
|
* @see {@link DeleteHITCommand}
|
|
99
105
|
*/
|
|
100
|
-
deleteHIT(args: DeleteHITCommandInput, options?:
|
|
106
|
+
deleteHIT(args: DeleteHITCommandInput, options?: MTurkRequestOptions): Promise<DeleteHITCommandOutput>;
|
|
101
107
|
deleteHIT(args: DeleteHITCommandInput, cb: (err: any, data?: DeleteHITCommandOutput) => void): void;
|
|
102
|
-
deleteHIT(args: DeleteHITCommandInput, options:
|
|
108
|
+
deleteHIT(args: DeleteHITCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: DeleteHITCommandOutput) => void): void;
|
|
103
109
|
/**
|
|
104
110
|
* @see {@link DeleteQualificationTypeCommand}
|
|
105
111
|
*/
|
|
106
|
-
deleteQualificationType(args: DeleteQualificationTypeCommandInput, options?:
|
|
112
|
+
deleteQualificationType(args: DeleteQualificationTypeCommandInput, options?: MTurkRequestOptions): Promise<DeleteQualificationTypeCommandOutput>;
|
|
107
113
|
deleteQualificationType(args: DeleteQualificationTypeCommandInput, cb: (err: any, data?: DeleteQualificationTypeCommandOutput) => void): void;
|
|
108
|
-
deleteQualificationType(args: DeleteQualificationTypeCommandInput, options:
|
|
114
|
+
deleteQualificationType(args: DeleteQualificationTypeCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: DeleteQualificationTypeCommandOutput) => void): void;
|
|
109
115
|
/**
|
|
110
116
|
* @see {@link DeleteWorkerBlockCommand}
|
|
111
117
|
*/
|
|
112
|
-
deleteWorkerBlock(args: DeleteWorkerBlockCommandInput, options?:
|
|
118
|
+
deleteWorkerBlock(args: DeleteWorkerBlockCommandInput, options?: MTurkRequestOptions): Promise<DeleteWorkerBlockCommandOutput>;
|
|
113
119
|
deleteWorkerBlock(args: DeleteWorkerBlockCommandInput, cb: (err: any, data?: DeleteWorkerBlockCommandOutput) => void): void;
|
|
114
|
-
deleteWorkerBlock(args: DeleteWorkerBlockCommandInput, options:
|
|
120
|
+
deleteWorkerBlock(args: DeleteWorkerBlockCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: DeleteWorkerBlockCommandOutput) => void): void;
|
|
115
121
|
/**
|
|
116
122
|
* @see {@link DisassociateQualificationFromWorkerCommand}
|
|
117
123
|
*/
|
|
118
|
-
disassociateQualificationFromWorker(args: DisassociateQualificationFromWorkerCommandInput, options?:
|
|
124
|
+
disassociateQualificationFromWorker(args: DisassociateQualificationFromWorkerCommandInput, options?: MTurkRequestOptions): Promise<DisassociateQualificationFromWorkerCommandOutput>;
|
|
119
125
|
disassociateQualificationFromWorker(args: DisassociateQualificationFromWorkerCommandInput, cb: (err: any, data?: DisassociateQualificationFromWorkerCommandOutput) => void): void;
|
|
120
|
-
disassociateQualificationFromWorker(args: DisassociateQualificationFromWorkerCommandInput, options:
|
|
126
|
+
disassociateQualificationFromWorker(args: DisassociateQualificationFromWorkerCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: DisassociateQualificationFromWorkerCommandOutput) => void): void;
|
|
121
127
|
/**
|
|
122
128
|
* @see {@link GetAccountBalanceCommand}
|
|
123
129
|
*/
|
|
124
130
|
getAccountBalance(): Promise<GetAccountBalanceCommandOutput>;
|
|
125
|
-
getAccountBalance(args: GetAccountBalanceCommandInput, options?:
|
|
131
|
+
getAccountBalance(args: GetAccountBalanceCommandInput, options?: MTurkRequestOptions): Promise<GetAccountBalanceCommandOutput>;
|
|
126
132
|
getAccountBalance(args: GetAccountBalanceCommandInput, cb: (err: any, data?: GetAccountBalanceCommandOutput) => void): void;
|
|
127
|
-
getAccountBalance(args: GetAccountBalanceCommandInput, options:
|
|
133
|
+
getAccountBalance(args: GetAccountBalanceCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: GetAccountBalanceCommandOutput) => void): void;
|
|
128
134
|
/**
|
|
129
135
|
* @see {@link GetAssignmentCommand}
|
|
130
136
|
*/
|
|
131
|
-
getAssignment(args: GetAssignmentCommandInput, options?:
|
|
137
|
+
getAssignment(args: GetAssignmentCommandInput, options?: MTurkRequestOptions): Promise<GetAssignmentCommandOutput>;
|
|
132
138
|
getAssignment(args: GetAssignmentCommandInput, cb: (err: any, data?: GetAssignmentCommandOutput) => void): void;
|
|
133
|
-
getAssignment(args: GetAssignmentCommandInput, options:
|
|
139
|
+
getAssignment(args: GetAssignmentCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: GetAssignmentCommandOutput) => void): void;
|
|
134
140
|
/**
|
|
135
141
|
* @see {@link GetFileUploadURLCommand}
|
|
136
142
|
*/
|
|
137
|
-
getFileUploadURL(args: GetFileUploadURLCommandInput, options?:
|
|
143
|
+
getFileUploadURL(args: GetFileUploadURLCommandInput, options?: MTurkRequestOptions): Promise<GetFileUploadURLCommandOutput>;
|
|
138
144
|
getFileUploadURL(args: GetFileUploadURLCommandInput, cb: (err: any, data?: GetFileUploadURLCommandOutput) => void): void;
|
|
139
|
-
getFileUploadURL(args: GetFileUploadURLCommandInput, options:
|
|
145
|
+
getFileUploadURL(args: GetFileUploadURLCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: GetFileUploadURLCommandOutput) => void): void;
|
|
140
146
|
/**
|
|
141
147
|
* @see {@link GetHITCommand}
|
|
142
148
|
*/
|
|
143
|
-
getHIT(args: GetHITCommandInput, options?:
|
|
149
|
+
getHIT(args: GetHITCommandInput, options?: MTurkRequestOptions): Promise<GetHITCommandOutput>;
|
|
144
150
|
getHIT(args: GetHITCommandInput, cb: (err: any, data?: GetHITCommandOutput) => void): void;
|
|
145
|
-
getHIT(args: GetHITCommandInput, options:
|
|
151
|
+
getHIT(args: GetHITCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: GetHITCommandOutput) => void): void;
|
|
146
152
|
/**
|
|
147
153
|
* @see {@link GetQualificationScoreCommand}
|
|
148
154
|
*/
|
|
149
|
-
getQualificationScore(args: GetQualificationScoreCommandInput, options?:
|
|
155
|
+
getQualificationScore(args: GetQualificationScoreCommandInput, options?: MTurkRequestOptions): Promise<GetQualificationScoreCommandOutput>;
|
|
150
156
|
getQualificationScore(args: GetQualificationScoreCommandInput, cb: (err: any, data?: GetQualificationScoreCommandOutput) => void): void;
|
|
151
|
-
getQualificationScore(args: GetQualificationScoreCommandInput, options:
|
|
157
|
+
getQualificationScore(args: GetQualificationScoreCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: GetQualificationScoreCommandOutput) => void): void;
|
|
152
158
|
/**
|
|
153
159
|
* @see {@link GetQualificationTypeCommand}
|
|
154
160
|
*/
|
|
155
|
-
getQualificationType(args: GetQualificationTypeCommandInput, options?:
|
|
161
|
+
getQualificationType(args: GetQualificationTypeCommandInput, options?: MTurkRequestOptions): Promise<GetQualificationTypeCommandOutput>;
|
|
156
162
|
getQualificationType(args: GetQualificationTypeCommandInput, cb: (err: any, data?: GetQualificationTypeCommandOutput) => void): void;
|
|
157
|
-
getQualificationType(args: GetQualificationTypeCommandInput, options:
|
|
163
|
+
getQualificationType(args: GetQualificationTypeCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: GetQualificationTypeCommandOutput) => void): void;
|
|
158
164
|
/**
|
|
159
165
|
* @see {@link ListAssignmentsForHITCommand}
|
|
160
166
|
*/
|
|
161
|
-
listAssignmentsForHIT(args: ListAssignmentsForHITCommandInput, options?:
|
|
167
|
+
listAssignmentsForHIT(args: ListAssignmentsForHITCommandInput, options?: MTurkRequestOptions): Promise<ListAssignmentsForHITCommandOutput>;
|
|
162
168
|
listAssignmentsForHIT(args: ListAssignmentsForHITCommandInput, cb: (err: any, data?: ListAssignmentsForHITCommandOutput) => void): void;
|
|
163
|
-
listAssignmentsForHIT(args: ListAssignmentsForHITCommandInput, options:
|
|
169
|
+
listAssignmentsForHIT(args: ListAssignmentsForHITCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: ListAssignmentsForHITCommandOutput) => void): void;
|
|
164
170
|
/**
|
|
165
171
|
* @see {@link ListBonusPaymentsCommand}
|
|
166
172
|
*/
|
|
167
173
|
listBonusPayments(): Promise<ListBonusPaymentsCommandOutput>;
|
|
168
|
-
listBonusPayments(args: ListBonusPaymentsCommandInput, options?:
|
|
174
|
+
listBonusPayments(args: ListBonusPaymentsCommandInput, options?: MTurkRequestOptions): Promise<ListBonusPaymentsCommandOutput>;
|
|
169
175
|
listBonusPayments(args: ListBonusPaymentsCommandInput, cb: (err: any, data?: ListBonusPaymentsCommandOutput) => void): void;
|
|
170
|
-
listBonusPayments(args: ListBonusPaymentsCommandInput, options:
|
|
176
|
+
listBonusPayments(args: ListBonusPaymentsCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: ListBonusPaymentsCommandOutput) => void): void;
|
|
171
177
|
/**
|
|
172
178
|
* @see {@link ListHITsCommand}
|
|
173
179
|
*/
|
|
174
180
|
listHITs(): Promise<ListHITsCommandOutput>;
|
|
175
|
-
listHITs(args: ListHITsCommandInput, options?:
|
|
181
|
+
listHITs(args: ListHITsCommandInput, options?: MTurkRequestOptions): Promise<ListHITsCommandOutput>;
|
|
176
182
|
listHITs(args: ListHITsCommandInput, cb: (err: any, data?: ListHITsCommandOutput) => void): void;
|
|
177
|
-
listHITs(args: ListHITsCommandInput, options:
|
|
183
|
+
listHITs(args: ListHITsCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: ListHITsCommandOutput) => void): void;
|
|
178
184
|
/**
|
|
179
185
|
* @see {@link ListHITsForQualificationTypeCommand}
|
|
180
186
|
*/
|
|
181
|
-
listHITsForQualificationType(args: ListHITsForQualificationTypeCommandInput, options?:
|
|
187
|
+
listHITsForQualificationType(args: ListHITsForQualificationTypeCommandInput, options?: MTurkRequestOptions): Promise<ListHITsForQualificationTypeCommandOutput>;
|
|
182
188
|
listHITsForQualificationType(args: ListHITsForQualificationTypeCommandInput, cb: (err: any, data?: ListHITsForQualificationTypeCommandOutput) => void): void;
|
|
183
|
-
listHITsForQualificationType(args: ListHITsForQualificationTypeCommandInput, options:
|
|
189
|
+
listHITsForQualificationType(args: ListHITsForQualificationTypeCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: ListHITsForQualificationTypeCommandOutput) => void): void;
|
|
184
190
|
/**
|
|
185
191
|
* @see {@link ListQualificationRequestsCommand}
|
|
186
192
|
*/
|
|
187
193
|
listQualificationRequests(): Promise<ListQualificationRequestsCommandOutput>;
|
|
188
|
-
listQualificationRequests(args: ListQualificationRequestsCommandInput, options?:
|
|
194
|
+
listQualificationRequests(args: ListQualificationRequestsCommandInput, options?: MTurkRequestOptions): Promise<ListQualificationRequestsCommandOutput>;
|
|
189
195
|
listQualificationRequests(args: ListQualificationRequestsCommandInput, cb: (err: any, data?: ListQualificationRequestsCommandOutput) => void): void;
|
|
190
|
-
listQualificationRequests(args: ListQualificationRequestsCommandInput, options:
|
|
196
|
+
listQualificationRequests(args: ListQualificationRequestsCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: ListQualificationRequestsCommandOutput) => void): void;
|
|
191
197
|
/**
|
|
192
198
|
* @see {@link ListQualificationTypesCommand}
|
|
193
199
|
*/
|
|
194
|
-
listQualificationTypes(args: ListQualificationTypesCommandInput, options?:
|
|
200
|
+
listQualificationTypes(args: ListQualificationTypesCommandInput, options?: MTurkRequestOptions): Promise<ListQualificationTypesCommandOutput>;
|
|
195
201
|
listQualificationTypes(args: ListQualificationTypesCommandInput, cb: (err: any, data?: ListQualificationTypesCommandOutput) => void): void;
|
|
196
|
-
listQualificationTypes(args: ListQualificationTypesCommandInput, options:
|
|
202
|
+
listQualificationTypes(args: ListQualificationTypesCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: ListQualificationTypesCommandOutput) => void): void;
|
|
197
203
|
/**
|
|
198
204
|
* @see {@link ListReviewableHITsCommand}
|
|
199
205
|
*/
|
|
200
206
|
listReviewableHITs(): Promise<ListReviewableHITsCommandOutput>;
|
|
201
|
-
listReviewableHITs(args: ListReviewableHITsCommandInput, options?:
|
|
207
|
+
listReviewableHITs(args: ListReviewableHITsCommandInput, options?: MTurkRequestOptions): Promise<ListReviewableHITsCommandOutput>;
|
|
202
208
|
listReviewableHITs(args: ListReviewableHITsCommandInput, cb: (err: any, data?: ListReviewableHITsCommandOutput) => void): void;
|
|
203
|
-
listReviewableHITs(args: ListReviewableHITsCommandInput, options:
|
|
209
|
+
listReviewableHITs(args: ListReviewableHITsCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: ListReviewableHITsCommandOutput) => void): void;
|
|
204
210
|
/**
|
|
205
211
|
* @see {@link ListReviewPolicyResultsForHITCommand}
|
|
206
212
|
*/
|
|
207
|
-
listReviewPolicyResultsForHIT(args: ListReviewPolicyResultsForHITCommandInput, options?:
|
|
213
|
+
listReviewPolicyResultsForHIT(args: ListReviewPolicyResultsForHITCommandInput, options?: MTurkRequestOptions): Promise<ListReviewPolicyResultsForHITCommandOutput>;
|
|
208
214
|
listReviewPolicyResultsForHIT(args: ListReviewPolicyResultsForHITCommandInput, cb: (err: any, data?: ListReviewPolicyResultsForHITCommandOutput) => void): void;
|
|
209
|
-
listReviewPolicyResultsForHIT(args: ListReviewPolicyResultsForHITCommandInput, options:
|
|
215
|
+
listReviewPolicyResultsForHIT(args: ListReviewPolicyResultsForHITCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: ListReviewPolicyResultsForHITCommandOutput) => void): void;
|
|
210
216
|
/**
|
|
211
217
|
* @see {@link ListWorkerBlocksCommand}
|
|
212
218
|
*/
|
|
213
219
|
listWorkerBlocks(): Promise<ListWorkerBlocksCommandOutput>;
|
|
214
|
-
listWorkerBlocks(args: ListWorkerBlocksCommandInput, options?:
|
|
220
|
+
listWorkerBlocks(args: ListWorkerBlocksCommandInput, options?: MTurkRequestOptions): Promise<ListWorkerBlocksCommandOutput>;
|
|
215
221
|
listWorkerBlocks(args: ListWorkerBlocksCommandInput, cb: (err: any, data?: ListWorkerBlocksCommandOutput) => void): void;
|
|
216
|
-
listWorkerBlocks(args: ListWorkerBlocksCommandInput, options:
|
|
222
|
+
listWorkerBlocks(args: ListWorkerBlocksCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: ListWorkerBlocksCommandOutput) => void): void;
|
|
217
223
|
/**
|
|
218
224
|
* @see {@link ListWorkersWithQualificationTypeCommand}
|
|
219
225
|
*/
|
|
220
|
-
listWorkersWithQualificationType(args: ListWorkersWithQualificationTypeCommandInput, options?:
|
|
226
|
+
listWorkersWithQualificationType(args: ListWorkersWithQualificationTypeCommandInput, options?: MTurkRequestOptions): Promise<ListWorkersWithQualificationTypeCommandOutput>;
|
|
221
227
|
listWorkersWithQualificationType(args: ListWorkersWithQualificationTypeCommandInput, cb: (err: any, data?: ListWorkersWithQualificationTypeCommandOutput) => void): void;
|
|
222
|
-
listWorkersWithQualificationType(args: ListWorkersWithQualificationTypeCommandInput, options:
|
|
228
|
+
listWorkersWithQualificationType(args: ListWorkersWithQualificationTypeCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: ListWorkersWithQualificationTypeCommandOutput) => void): void;
|
|
223
229
|
/**
|
|
224
230
|
* @see {@link NotifyWorkersCommand}
|
|
225
231
|
*/
|
|
226
|
-
notifyWorkers(args: NotifyWorkersCommandInput, options?:
|
|
232
|
+
notifyWorkers(args: NotifyWorkersCommandInput, options?: MTurkRequestOptions): Promise<NotifyWorkersCommandOutput>;
|
|
227
233
|
notifyWorkers(args: NotifyWorkersCommandInput, cb: (err: any, data?: NotifyWorkersCommandOutput) => void): void;
|
|
228
|
-
notifyWorkers(args: NotifyWorkersCommandInput, options:
|
|
234
|
+
notifyWorkers(args: NotifyWorkersCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: NotifyWorkersCommandOutput) => void): void;
|
|
229
235
|
/**
|
|
230
236
|
* @see {@link RejectAssignmentCommand}
|
|
231
237
|
*/
|
|
232
|
-
rejectAssignment(args: RejectAssignmentCommandInput, options?:
|
|
238
|
+
rejectAssignment(args: RejectAssignmentCommandInput, options?: MTurkRequestOptions): Promise<RejectAssignmentCommandOutput>;
|
|
233
239
|
rejectAssignment(args: RejectAssignmentCommandInput, cb: (err: any, data?: RejectAssignmentCommandOutput) => void): void;
|
|
234
|
-
rejectAssignment(args: RejectAssignmentCommandInput, options:
|
|
240
|
+
rejectAssignment(args: RejectAssignmentCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: RejectAssignmentCommandOutput) => void): void;
|
|
235
241
|
/**
|
|
236
242
|
* @see {@link RejectQualificationRequestCommand}
|
|
237
243
|
*/
|
|
238
|
-
rejectQualificationRequest(args: RejectQualificationRequestCommandInput, options?:
|
|
244
|
+
rejectQualificationRequest(args: RejectQualificationRequestCommandInput, options?: MTurkRequestOptions): Promise<RejectQualificationRequestCommandOutput>;
|
|
239
245
|
rejectQualificationRequest(args: RejectQualificationRequestCommandInput, cb: (err: any, data?: RejectQualificationRequestCommandOutput) => void): void;
|
|
240
|
-
rejectQualificationRequest(args: RejectQualificationRequestCommandInput, options:
|
|
246
|
+
rejectQualificationRequest(args: RejectQualificationRequestCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: RejectQualificationRequestCommandOutput) => void): void;
|
|
241
247
|
/**
|
|
242
248
|
* @see {@link SendBonusCommand}
|
|
243
249
|
*/
|
|
244
|
-
sendBonus(args: SendBonusCommandInput, options?:
|
|
250
|
+
sendBonus(args: SendBonusCommandInput, options?: MTurkRequestOptions): Promise<SendBonusCommandOutput>;
|
|
245
251
|
sendBonus(args: SendBonusCommandInput, cb: (err: any, data?: SendBonusCommandOutput) => void): void;
|
|
246
|
-
sendBonus(args: SendBonusCommandInput, options:
|
|
252
|
+
sendBonus(args: SendBonusCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: SendBonusCommandOutput) => void): void;
|
|
247
253
|
/**
|
|
248
254
|
* @see {@link SendTestEventNotificationCommand}
|
|
249
255
|
*/
|
|
250
|
-
sendTestEventNotification(args: SendTestEventNotificationCommandInput, options?:
|
|
256
|
+
sendTestEventNotification(args: SendTestEventNotificationCommandInput, options?: MTurkRequestOptions): Promise<SendTestEventNotificationCommandOutput>;
|
|
251
257
|
sendTestEventNotification(args: SendTestEventNotificationCommandInput, cb: (err: any, data?: SendTestEventNotificationCommandOutput) => void): void;
|
|
252
|
-
sendTestEventNotification(args: SendTestEventNotificationCommandInput, options:
|
|
258
|
+
sendTestEventNotification(args: SendTestEventNotificationCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: SendTestEventNotificationCommandOutput) => void): void;
|
|
253
259
|
/**
|
|
254
260
|
* @see {@link UpdateExpirationForHITCommand}
|
|
255
261
|
*/
|
|
256
|
-
updateExpirationForHIT(args: UpdateExpirationForHITCommandInput, options?:
|
|
262
|
+
updateExpirationForHIT(args: UpdateExpirationForHITCommandInput, options?: MTurkRequestOptions): Promise<UpdateExpirationForHITCommandOutput>;
|
|
257
263
|
updateExpirationForHIT(args: UpdateExpirationForHITCommandInput, cb: (err: any, data?: UpdateExpirationForHITCommandOutput) => void): void;
|
|
258
|
-
updateExpirationForHIT(args: UpdateExpirationForHITCommandInput, options:
|
|
264
|
+
updateExpirationForHIT(args: UpdateExpirationForHITCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: UpdateExpirationForHITCommandOutput) => void): void;
|
|
259
265
|
/**
|
|
260
266
|
* @see {@link UpdateHITReviewStatusCommand}
|
|
261
267
|
*/
|
|
262
|
-
updateHITReviewStatus(args: UpdateHITReviewStatusCommandInput, options?:
|
|
268
|
+
updateHITReviewStatus(args: UpdateHITReviewStatusCommandInput, options?: MTurkRequestOptions): Promise<UpdateHITReviewStatusCommandOutput>;
|
|
263
269
|
updateHITReviewStatus(args: UpdateHITReviewStatusCommandInput, cb: (err: any, data?: UpdateHITReviewStatusCommandOutput) => void): void;
|
|
264
|
-
updateHITReviewStatus(args: UpdateHITReviewStatusCommandInput, options:
|
|
270
|
+
updateHITReviewStatus(args: UpdateHITReviewStatusCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: UpdateHITReviewStatusCommandOutput) => void): void;
|
|
265
271
|
/**
|
|
266
272
|
* @see {@link UpdateHITTypeOfHITCommand}
|
|
267
273
|
*/
|
|
268
|
-
updateHITTypeOfHIT(args: UpdateHITTypeOfHITCommandInput, options?:
|
|
274
|
+
updateHITTypeOfHIT(args: UpdateHITTypeOfHITCommandInput, options?: MTurkRequestOptions): Promise<UpdateHITTypeOfHITCommandOutput>;
|
|
269
275
|
updateHITTypeOfHIT(args: UpdateHITTypeOfHITCommandInput, cb: (err: any, data?: UpdateHITTypeOfHITCommandOutput) => void): void;
|
|
270
|
-
updateHITTypeOfHIT(args: UpdateHITTypeOfHITCommandInput, options:
|
|
276
|
+
updateHITTypeOfHIT(args: UpdateHITTypeOfHITCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: UpdateHITTypeOfHITCommandOutput) => void): void;
|
|
271
277
|
/**
|
|
272
278
|
* @see {@link UpdateNotificationSettingsCommand}
|
|
273
279
|
*/
|
|
274
|
-
updateNotificationSettings(args: UpdateNotificationSettingsCommandInput, options?:
|
|
280
|
+
updateNotificationSettings(args: UpdateNotificationSettingsCommandInput, options?: MTurkRequestOptions): Promise<UpdateNotificationSettingsCommandOutput>;
|
|
275
281
|
updateNotificationSettings(args: UpdateNotificationSettingsCommandInput, cb: (err: any, data?: UpdateNotificationSettingsCommandOutput) => void): void;
|
|
276
|
-
updateNotificationSettings(args: UpdateNotificationSettingsCommandInput, options:
|
|
282
|
+
updateNotificationSettings(args: UpdateNotificationSettingsCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: UpdateNotificationSettingsCommandOutput) => void): void;
|
|
277
283
|
/**
|
|
278
284
|
* @see {@link UpdateQualificationTypeCommand}
|
|
279
285
|
*/
|
|
280
|
-
updateQualificationType(args: UpdateQualificationTypeCommandInput, options?:
|
|
286
|
+
updateQualificationType(args: UpdateQualificationTypeCommandInput, options?: MTurkRequestOptions): Promise<UpdateQualificationTypeCommandOutput>;
|
|
281
287
|
updateQualificationType(args: UpdateQualificationTypeCommandInput, cb: (err: any, data?: UpdateQualificationTypeCommandOutput) => void): void;
|
|
282
|
-
updateQualificationType(args: UpdateQualificationTypeCommandInput, options:
|
|
288
|
+
updateQualificationType(args: UpdateQualificationTypeCommandInput, options: MTurkRequestOptions, cb: (err: any, data?: UpdateQualificationTypeCommandOutput) => void): void;
|
|
283
289
|
/**
|
|
284
290
|
* @see {@link ListAssignmentsForHITCommand}
|
|
285
291
|
* @param args - command input.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
3
4
|
PaginationConfiguration,
|
|
4
5
|
Paginator,
|
|
5
6
|
} from "@smithy/types";
|
|
@@ -145,10 +146,13 @@ import {
|
|
|
145
146
|
UpdateQualificationTypeCommandOutput,
|
|
146
147
|
} from "./commands/UpdateQualificationTypeCommand";
|
|
147
148
|
import { MTurkClient } from "./MTurkClient";
|
|
149
|
+
export interface MTurkRequestOptions extends __HttpHandlerOptions {
|
|
150
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
151
|
+
}
|
|
148
152
|
export interface MTurk {
|
|
149
153
|
acceptQualificationRequest(
|
|
150
154
|
args: AcceptQualificationRequestCommandInput,
|
|
151
|
-
options?:
|
|
155
|
+
options?: MTurkRequestOptions,
|
|
152
156
|
): Promise<AcceptQualificationRequestCommandOutput>;
|
|
153
157
|
acceptQualificationRequest(
|
|
154
158
|
args: AcceptQualificationRequestCommandInput,
|
|
@@ -156,12 +160,12 @@ export interface MTurk {
|
|
|
156
160
|
): void;
|
|
157
161
|
acceptQualificationRequest(
|
|
158
162
|
args: AcceptQualificationRequestCommandInput,
|
|
159
|
-
options:
|
|
163
|
+
options: MTurkRequestOptions,
|
|
160
164
|
cb: (err: any, data?: AcceptQualificationRequestCommandOutput) => void,
|
|
161
165
|
): void;
|
|
162
166
|
approveAssignment(
|
|
163
167
|
args: ApproveAssignmentCommandInput,
|
|
164
|
-
options?:
|
|
168
|
+
options?: MTurkRequestOptions,
|
|
165
169
|
): Promise<ApproveAssignmentCommandOutput>;
|
|
166
170
|
approveAssignment(
|
|
167
171
|
args: ApproveAssignmentCommandInput,
|
|
@@ -169,12 +173,12 @@ export interface MTurk {
|
|
|
169
173
|
): void;
|
|
170
174
|
approveAssignment(
|
|
171
175
|
args: ApproveAssignmentCommandInput,
|
|
172
|
-
options:
|
|
176
|
+
options: MTurkRequestOptions,
|
|
173
177
|
cb: (err: any, data?: ApproveAssignmentCommandOutput) => void,
|
|
174
178
|
): void;
|
|
175
179
|
associateQualificationWithWorker(
|
|
176
180
|
args: AssociateQualificationWithWorkerCommandInput,
|
|
177
|
-
options?:
|
|
181
|
+
options?: MTurkRequestOptions,
|
|
178
182
|
): Promise<AssociateQualificationWithWorkerCommandOutput>;
|
|
179
183
|
associateQualificationWithWorker(
|
|
180
184
|
args: AssociateQualificationWithWorkerCommandInput,
|
|
@@ -182,12 +186,12 @@ export interface MTurk {
|
|
|
182
186
|
): void;
|
|
183
187
|
associateQualificationWithWorker(
|
|
184
188
|
args: AssociateQualificationWithWorkerCommandInput,
|
|
185
|
-
options:
|
|
189
|
+
options: MTurkRequestOptions,
|
|
186
190
|
cb: (err: any, data?: AssociateQualificationWithWorkerCommandOutput) => void,
|
|
187
191
|
): void;
|
|
188
192
|
createAdditionalAssignmentsForHIT(
|
|
189
193
|
args: CreateAdditionalAssignmentsForHITCommandInput,
|
|
190
|
-
options?:
|
|
194
|
+
options?: MTurkRequestOptions,
|
|
191
195
|
): Promise<CreateAdditionalAssignmentsForHITCommandOutput>;
|
|
192
196
|
createAdditionalAssignmentsForHIT(
|
|
193
197
|
args: CreateAdditionalAssignmentsForHITCommandInput,
|
|
@@ -195,12 +199,12 @@ export interface MTurk {
|
|
|
195
199
|
): void;
|
|
196
200
|
createAdditionalAssignmentsForHIT(
|
|
197
201
|
args: CreateAdditionalAssignmentsForHITCommandInput,
|
|
198
|
-
options:
|
|
202
|
+
options: MTurkRequestOptions,
|
|
199
203
|
cb: (err: any, data?: CreateAdditionalAssignmentsForHITCommandOutput) => void,
|
|
200
204
|
): void;
|
|
201
205
|
createHIT(
|
|
202
206
|
args: CreateHITCommandInput,
|
|
203
|
-
options?:
|
|
207
|
+
options?: MTurkRequestOptions,
|
|
204
208
|
): Promise<CreateHITCommandOutput>;
|
|
205
209
|
createHIT(
|
|
206
210
|
args: CreateHITCommandInput,
|
|
@@ -208,12 +212,12 @@ export interface MTurk {
|
|
|
208
212
|
): void;
|
|
209
213
|
createHIT(
|
|
210
214
|
args: CreateHITCommandInput,
|
|
211
|
-
options:
|
|
215
|
+
options: MTurkRequestOptions,
|
|
212
216
|
cb: (err: any, data?: CreateHITCommandOutput) => void,
|
|
213
217
|
): void;
|
|
214
218
|
createHITType(
|
|
215
219
|
args: CreateHITTypeCommandInput,
|
|
216
|
-
options?:
|
|
220
|
+
options?: MTurkRequestOptions,
|
|
217
221
|
): Promise<CreateHITTypeCommandOutput>;
|
|
218
222
|
createHITType(
|
|
219
223
|
args: CreateHITTypeCommandInput,
|
|
@@ -221,12 +225,12 @@ export interface MTurk {
|
|
|
221
225
|
): void;
|
|
222
226
|
createHITType(
|
|
223
227
|
args: CreateHITTypeCommandInput,
|
|
224
|
-
options:
|
|
228
|
+
options: MTurkRequestOptions,
|
|
225
229
|
cb: (err: any, data?: CreateHITTypeCommandOutput) => void,
|
|
226
230
|
): void;
|
|
227
231
|
createHITWithHITType(
|
|
228
232
|
args: CreateHITWithHITTypeCommandInput,
|
|
229
|
-
options?:
|
|
233
|
+
options?: MTurkRequestOptions,
|
|
230
234
|
): Promise<CreateHITWithHITTypeCommandOutput>;
|
|
231
235
|
createHITWithHITType(
|
|
232
236
|
args: CreateHITWithHITTypeCommandInput,
|
|
@@ -234,12 +238,12 @@ export interface MTurk {
|
|
|
234
238
|
): void;
|
|
235
239
|
createHITWithHITType(
|
|
236
240
|
args: CreateHITWithHITTypeCommandInput,
|
|
237
|
-
options:
|
|
241
|
+
options: MTurkRequestOptions,
|
|
238
242
|
cb: (err: any, data?: CreateHITWithHITTypeCommandOutput) => void,
|
|
239
243
|
): void;
|
|
240
244
|
createQualificationType(
|
|
241
245
|
args: CreateQualificationTypeCommandInput,
|
|
242
|
-
options?:
|
|
246
|
+
options?: MTurkRequestOptions,
|
|
243
247
|
): Promise<CreateQualificationTypeCommandOutput>;
|
|
244
248
|
createQualificationType(
|
|
245
249
|
args: CreateQualificationTypeCommandInput,
|
|
@@ -247,12 +251,12 @@ export interface MTurk {
|
|
|
247
251
|
): void;
|
|
248
252
|
createQualificationType(
|
|
249
253
|
args: CreateQualificationTypeCommandInput,
|
|
250
|
-
options:
|
|
254
|
+
options: MTurkRequestOptions,
|
|
251
255
|
cb: (err: any, data?: CreateQualificationTypeCommandOutput) => void,
|
|
252
256
|
): void;
|
|
253
257
|
createWorkerBlock(
|
|
254
258
|
args: CreateWorkerBlockCommandInput,
|
|
255
|
-
options?:
|
|
259
|
+
options?: MTurkRequestOptions,
|
|
256
260
|
): Promise<CreateWorkerBlockCommandOutput>;
|
|
257
261
|
createWorkerBlock(
|
|
258
262
|
args: CreateWorkerBlockCommandInput,
|
|
@@ -260,12 +264,12 @@ export interface MTurk {
|
|
|
260
264
|
): void;
|
|
261
265
|
createWorkerBlock(
|
|
262
266
|
args: CreateWorkerBlockCommandInput,
|
|
263
|
-
options:
|
|
267
|
+
options: MTurkRequestOptions,
|
|
264
268
|
cb: (err: any, data?: CreateWorkerBlockCommandOutput) => void,
|
|
265
269
|
): void;
|
|
266
270
|
deleteHIT(
|
|
267
271
|
args: DeleteHITCommandInput,
|
|
268
|
-
options?:
|
|
272
|
+
options?: MTurkRequestOptions,
|
|
269
273
|
): Promise<DeleteHITCommandOutput>;
|
|
270
274
|
deleteHIT(
|
|
271
275
|
args: DeleteHITCommandInput,
|
|
@@ -273,12 +277,12 @@ export interface MTurk {
|
|
|
273
277
|
): void;
|
|
274
278
|
deleteHIT(
|
|
275
279
|
args: DeleteHITCommandInput,
|
|
276
|
-
options:
|
|
280
|
+
options: MTurkRequestOptions,
|
|
277
281
|
cb: (err: any, data?: DeleteHITCommandOutput) => void,
|
|
278
282
|
): void;
|
|
279
283
|
deleteQualificationType(
|
|
280
284
|
args: DeleteQualificationTypeCommandInput,
|
|
281
|
-
options?:
|
|
285
|
+
options?: MTurkRequestOptions,
|
|
282
286
|
): Promise<DeleteQualificationTypeCommandOutput>;
|
|
283
287
|
deleteQualificationType(
|
|
284
288
|
args: DeleteQualificationTypeCommandInput,
|
|
@@ -286,12 +290,12 @@ export interface MTurk {
|
|
|
286
290
|
): void;
|
|
287
291
|
deleteQualificationType(
|
|
288
292
|
args: DeleteQualificationTypeCommandInput,
|
|
289
|
-
options:
|
|
293
|
+
options: MTurkRequestOptions,
|
|
290
294
|
cb: (err: any, data?: DeleteQualificationTypeCommandOutput) => void,
|
|
291
295
|
): void;
|
|
292
296
|
deleteWorkerBlock(
|
|
293
297
|
args: DeleteWorkerBlockCommandInput,
|
|
294
|
-
options?:
|
|
298
|
+
options?: MTurkRequestOptions,
|
|
295
299
|
): Promise<DeleteWorkerBlockCommandOutput>;
|
|
296
300
|
deleteWorkerBlock(
|
|
297
301
|
args: DeleteWorkerBlockCommandInput,
|
|
@@ -299,12 +303,12 @@ export interface MTurk {
|
|
|
299
303
|
): void;
|
|
300
304
|
deleteWorkerBlock(
|
|
301
305
|
args: DeleteWorkerBlockCommandInput,
|
|
302
|
-
options:
|
|
306
|
+
options: MTurkRequestOptions,
|
|
303
307
|
cb: (err: any, data?: DeleteWorkerBlockCommandOutput) => void,
|
|
304
308
|
): void;
|
|
305
309
|
disassociateQualificationFromWorker(
|
|
306
310
|
args: DisassociateQualificationFromWorkerCommandInput,
|
|
307
|
-
options?:
|
|
311
|
+
options?: MTurkRequestOptions,
|
|
308
312
|
): Promise<DisassociateQualificationFromWorkerCommandOutput>;
|
|
309
313
|
disassociateQualificationFromWorker(
|
|
310
314
|
args: DisassociateQualificationFromWorkerCommandInput,
|
|
@@ -312,13 +316,13 @@ export interface MTurk {
|
|
|
312
316
|
): void;
|
|
313
317
|
disassociateQualificationFromWorker(
|
|
314
318
|
args: DisassociateQualificationFromWorkerCommandInput,
|
|
315
|
-
options:
|
|
319
|
+
options: MTurkRequestOptions,
|
|
316
320
|
cb: (err: any, data?: DisassociateQualificationFromWorkerCommandOutput) => void,
|
|
317
321
|
): void;
|
|
318
322
|
getAccountBalance(): Promise<GetAccountBalanceCommandOutput>;
|
|
319
323
|
getAccountBalance(
|
|
320
324
|
args: GetAccountBalanceCommandInput,
|
|
321
|
-
options?:
|
|
325
|
+
options?: MTurkRequestOptions,
|
|
322
326
|
): Promise<GetAccountBalanceCommandOutput>;
|
|
323
327
|
getAccountBalance(
|
|
324
328
|
args: GetAccountBalanceCommandInput,
|
|
@@ -326,12 +330,12 @@ export interface MTurk {
|
|
|
326
330
|
): void;
|
|
327
331
|
getAccountBalance(
|
|
328
332
|
args: GetAccountBalanceCommandInput,
|
|
329
|
-
options:
|
|
333
|
+
options: MTurkRequestOptions,
|
|
330
334
|
cb: (err: any, data?: GetAccountBalanceCommandOutput) => void,
|
|
331
335
|
): void;
|
|
332
336
|
getAssignment(
|
|
333
337
|
args: GetAssignmentCommandInput,
|
|
334
|
-
options?:
|
|
338
|
+
options?: MTurkRequestOptions,
|
|
335
339
|
): Promise<GetAssignmentCommandOutput>;
|
|
336
340
|
getAssignment(
|
|
337
341
|
args: GetAssignmentCommandInput,
|
|
@@ -339,12 +343,12 @@ export interface MTurk {
|
|
|
339
343
|
): void;
|
|
340
344
|
getAssignment(
|
|
341
345
|
args: GetAssignmentCommandInput,
|
|
342
|
-
options:
|
|
346
|
+
options: MTurkRequestOptions,
|
|
343
347
|
cb: (err: any, data?: GetAssignmentCommandOutput) => void,
|
|
344
348
|
): void;
|
|
345
349
|
getFileUploadURL(
|
|
346
350
|
args: GetFileUploadURLCommandInput,
|
|
347
|
-
options?:
|
|
351
|
+
options?: MTurkRequestOptions,
|
|
348
352
|
): Promise<GetFileUploadURLCommandOutput>;
|
|
349
353
|
getFileUploadURL(
|
|
350
354
|
args: GetFileUploadURLCommandInput,
|
|
@@ -352,19 +356,19 @@ export interface MTurk {
|
|
|
352
356
|
): void;
|
|
353
357
|
getFileUploadURL(
|
|
354
358
|
args: GetFileUploadURLCommandInput,
|
|
355
|
-
options:
|
|
359
|
+
options: MTurkRequestOptions,
|
|
356
360
|
cb: (err: any, data?: GetFileUploadURLCommandOutput) => void,
|
|
357
361
|
): void;
|
|
358
|
-
getHIT(args: GetHITCommandInput, options?:
|
|
362
|
+
getHIT(args: GetHITCommandInput, options?: MTurkRequestOptions): Promise<GetHITCommandOutput>;
|
|
359
363
|
getHIT(args: GetHITCommandInput, cb: (err: any, data?: GetHITCommandOutput) => void): void;
|
|
360
364
|
getHIT(
|
|
361
365
|
args: GetHITCommandInput,
|
|
362
|
-
options:
|
|
366
|
+
options: MTurkRequestOptions,
|
|
363
367
|
cb: (err: any, data?: GetHITCommandOutput) => void,
|
|
364
368
|
): void;
|
|
365
369
|
getQualificationScore(
|
|
366
370
|
args: GetQualificationScoreCommandInput,
|
|
367
|
-
options?:
|
|
371
|
+
options?: MTurkRequestOptions,
|
|
368
372
|
): Promise<GetQualificationScoreCommandOutput>;
|
|
369
373
|
getQualificationScore(
|
|
370
374
|
args: GetQualificationScoreCommandInput,
|
|
@@ -372,12 +376,12 @@ export interface MTurk {
|
|
|
372
376
|
): void;
|
|
373
377
|
getQualificationScore(
|
|
374
378
|
args: GetQualificationScoreCommandInput,
|
|
375
|
-
options:
|
|
379
|
+
options: MTurkRequestOptions,
|
|
376
380
|
cb: (err: any, data?: GetQualificationScoreCommandOutput) => void,
|
|
377
381
|
): void;
|
|
378
382
|
getQualificationType(
|
|
379
383
|
args: GetQualificationTypeCommandInput,
|
|
380
|
-
options?:
|
|
384
|
+
options?: MTurkRequestOptions,
|
|
381
385
|
): Promise<GetQualificationTypeCommandOutput>;
|
|
382
386
|
getQualificationType(
|
|
383
387
|
args: GetQualificationTypeCommandInput,
|
|
@@ -385,12 +389,12 @@ export interface MTurk {
|
|
|
385
389
|
): void;
|
|
386
390
|
getQualificationType(
|
|
387
391
|
args: GetQualificationTypeCommandInput,
|
|
388
|
-
options:
|
|
392
|
+
options: MTurkRequestOptions,
|
|
389
393
|
cb: (err: any, data?: GetQualificationTypeCommandOutput) => void,
|
|
390
394
|
): void;
|
|
391
395
|
listAssignmentsForHIT(
|
|
392
396
|
args: ListAssignmentsForHITCommandInput,
|
|
393
|
-
options?:
|
|
397
|
+
options?: MTurkRequestOptions,
|
|
394
398
|
): Promise<ListAssignmentsForHITCommandOutput>;
|
|
395
399
|
listAssignmentsForHIT(
|
|
396
400
|
args: ListAssignmentsForHITCommandInput,
|
|
@@ -398,13 +402,13 @@ export interface MTurk {
|
|
|
398
402
|
): void;
|
|
399
403
|
listAssignmentsForHIT(
|
|
400
404
|
args: ListAssignmentsForHITCommandInput,
|
|
401
|
-
options:
|
|
405
|
+
options: MTurkRequestOptions,
|
|
402
406
|
cb: (err: any, data?: ListAssignmentsForHITCommandOutput) => void,
|
|
403
407
|
): void;
|
|
404
408
|
listBonusPayments(): Promise<ListBonusPaymentsCommandOutput>;
|
|
405
409
|
listBonusPayments(
|
|
406
410
|
args: ListBonusPaymentsCommandInput,
|
|
407
|
-
options?:
|
|
411
|
+
options?: MTurkRequestOptions,
|
|
408
412
|
): Promise<ListBonusPaymentsCommandOutput>;
|
|
409
413
|
listBonusPayments(
|
|
410
414
|
args: ListBonusPaymentsCommandInput,
|
|
@@ -412,23 +416,23 @@ export interface MTurk {
|
|
|
412
416
|
): void;
|
|
413
417
|
listBonusPayments(
|
|
414
418
|
args: ListBonusPaymentsCommandInput,
|
|
415
|
-
options:
|
|
419
|
+
options: MTurkRequestOptions,
|
|
416
420
|
cb: (err: any, data?: ListBonusPaymentsCommandOutput) => void,
|
|
417
421
|
): void;
|
|
418
422
|
listHITs(): Promise<ListHITsCommandOutput>;
|
|
419
423
|
listHITs(
|
|
420
424
|
args: ListHITsCommandInput,
|
|
421
|
-
options?:
|
|
425
|
+
options?: MTurkRequestOptions,
|
|
422
426
|
): Promise<ListHITsCommandOutput>;
|
|
423
427
|
listHITs(args: ListHITsCommandInput, cb: (err: any, data?: ListHITsCommandOutput) => void): void;
|
|
424
428
|
listHITs(
|
|
425
429
|
args: ListHITsCommandInput,
|
|
426
|
-
options:
|
|
430
|
+
options: MTurkRequestOptions,
|
|
427
431
|
cb: (err: any, data?: ListHITsCommandOutput) => void,
|
|
428
432
|
): void;
|
|
429
433
|
listHITsForQualificationType(
|
|
430
434
|
args: ListHITsForQualificationTypeCommandInput,
|
|
431
|
-
options?:
|
|
435
|
+
options?: MTurkRequestOptions,
|
|
432
436
|
): Promise<ListHITsForQualificationTypeCommandOutput>;
|
|
433
437
|
listHITsForQualificationType(
|
|
434
438
|
args: ListHITsForQualificationTypeCommandInput,
|
|
@@ -436,13 +440,13 @@ export interface MTurk {
|
|
|
436
440
|
): void;
|
|
437
441
|
listHITsForQualificationType(
|
|
438
442
|
args: ListHITsForQualificationTypeCommandInput,
|
|
439
|
-
options:
|
|
443
|
+
options: MTurkRequestOptions,
|
|
440
444
|
cb: (err: any, data?: ListHITsForQualificationTypeCommandOutput) => void,
|
|
441
445
|
): void;
|
|
442
446
|
listQualificationRequests(): Promise<ListQualificationRequestsCommandOutput>;
|
|
443
447
|
listQualificationRequests(
|
|
444
448
|
args: ListQualificationRequestsCommandInput,
|
|
445
|
-
options?:
|
|
449
|
+
options?: MTurkRequestOptions,
|
|
446
450
|
): Promise<ListQualificationRequestsCommandOutput>;
|
|
447
451
|
listQualificationRequests(
|
|
448
452
|
args: ListQualificationRequestsCommandInput,
|
|
@@ -450,12 +454,12 @@ export interface MTurk {
|
|
|
450
454
|
): void;
|
|
451
455
|
listQualificationRequests(
|
|
452
456
|
args: ListQualificationRequestsCommandInput,
|
|
453
|
-
options:
|
|
457
|
+
options: MTurkRequestOptions,
|
|
454
458
|
cb: (err: any, data?: ListQualificationRequestsCommandOutput) => void,
|
|
455
459
|
): void;
|
|
456
460
|
listQualificationTypes(
|
|
457
461
|
args: ListQualificationTypesCommandInput,
|
|
458
|
-
options?:
|
|
462
|
+
options?: MTurkRequestOptions,
|
|
459
463
|
): Promise<ListQualificationTypesCommandOutput>;
|
|
460
464
|
listQualificationTypes(
|
|
461
465
|
args: ListQualificationTypesCommandInput,
|
|
@@ -463,13 +467,13 @@ export interface MTurk {
|
|
|
463
467
|
): void;
|
|
464
468
|
listQualificationTypes(
|
|
465
469
|
args: ListQualificationTypesCommandInput,
|
|
466
|
-
options:
|
|
470
|
+
options: MTurkRequestOptions,
|
|
467
471
|
cb: (err: any, data?: ListQualificationTypesCommandOutput) => void,
|
|
468
472
|
): void;
|
|
469
473
|
listReviewableHITs(): Promise<ListReviewableHITsCommandOutput>;
|
|
470
474
|
listReviewableHITs(
|
|
471
475
|
args: ListReviewableHITsCommandInput,
|
|
472
|
-
options?:
|
|
476
|
+
options?: MTurkRequestOptions,
|
|
473
477
|
): Promise<ListReviewableHITsCommandOutput>;
|
|
474
478
|
listReviewableHITs(
|
|
475
479
|
args: ListReviewableHITsCommandInput,
|
|
@@ -477,12 +481,12 @@ export interface MTurk {
|
|
|
477
481
|
): void;
|
|
478
482
|
listReviewableHITs(
|
|
479
483
|
args: ListReviewableHITsCommandInput,
|
|
480
|
-
options:
|
|
484
|
+
options: MTurkRequestOptions,
|
|
481
485
|
cb: (err: any, data?: ListReviewableHITsCommandOutput) => void,
|
|
482
486
|
): void;
|
|
483
487
|
listReviewPolicyResultsForHIT(
|
|
484
488
|
args: ListReviewPolicyResultsForHITCommandInput,
|
|
485
|
-
options?:
|
|
489
|
+
options?: MTurkRequestOptions,
|
|
486
490
|
): Promise<ListReviewPolicyResultsForHITCommandOutput>;
|
|
487
491
|
listReviewPolicyResultsForHIT(
|
|
488
492
|
args: ListReviewPolicyResultsForHITCommandInput,
|
|
@@ -490,13 +494,13 @@ export interface MTurk {
|
|
|
490
494
|
): void;
|
|
491
495
|
listReviewPolicyResultsForHIT(
|
|
492
496
|
args: ListReviewPolicyResultsForHITCommandInput,
|
|
493
|
-
options:
|
|
497
|
+
options: MTurkRequestOptions,
|
|
494
498
|
cb: (err: any, data?: ListReviewPolicyResultsForHITCommandOutput) => void,
|
|
495
499
|
): void;
|
|
496
500
|
listWorkerBlocks(): Promise<ListWorkerBlocksCommandOutput>;
|
|
497
501
|
listWorkerBlocks(
|
|
498
502
|
args: ListWorkerBlocksCommandInput,
|
|
499
|
-
options?:
|
|
503
|
+
options?: MTurkRequestOptions,
|
|
500
504
|
): Promise<ListWorkerBlocksCommandOutput>;
|
|
501
505
|
listWorkerBlocks(
|
|
502
506
|
args: ListWorkerBlocksCommandInput,
|
|
@@ -504,12 +508,12 @@ export interface MTurk {
|
|
|
504
508
|
): void;
|
|
505
509
|
listWorkerBlocks(
|
|
506
510
|
args: ListWorkerBlocksCommandInput,
|
|
507
|
-
options:
|
|
511
|
+
options: MTurkRequestOptions,
|
|
508
512
|
cb: (err: any, data?: ListWorkerBlocksCommandOutput) => void,
|
|
509
513
|
): void;
|
|
510
514
|
listWorkersWithQualificationType(
|
|
511
515
|
args: ListWorkersWithQualificationTypeCommandInput,
|
|
512
|
-
options?:
|
|
516
|
+
options?: MTurkRequestOptions,
|
|
513
517
|
): Promise<ListWorkersWithQualificationTypeCommandOutput>;
|
|
514
518
|
listWorkersWithQualificationType(
|
|
515
519
|
args: ListWorkersWithQualificationTypeCommandInput,
|
|
@@ -517,12 +521,12 @@ export interface MTurk {
|
|
|
517
521
|
): void;
|
|
518
522
|
listWorkersWithQualificationType(
|
|
519
523
|
args: ListWorkersWithQualificationTypeCommandInput,
|
|
520
|
-
options:
|
|
524
|
+
options: MTurkRequestOptions,
|
|
521
525
|
cb: (err: any, data?: ListWorkersWithQualificationTypeCommandOutput) => void,
|
|
522
526
|
): void;
|
|
523
527
|
notifyWorkers(
|
|
524
528
|
args: NotifyWorkersCommandInput,
|
|
525
|
-
options?:
|
|
529
|
+
options?: MTurkRequestOptions,
|
|
526
530
|
): Promise<NotifyWorkersCommandOutput>;
|
|
527
531
|
notifyWorkers(
|
|
528
532
|
args: NotifyWorkersCommandInput,
|
|
@@ -530,12 +534,12 @@ export interface MTurk {
|
|
|
530
534
|
): void;
|
|
531
535
|
notifyWorkers(
|
|
532
536
|
args: NotifyWorkersCommandInput,
|
|
533
|
-
options:
|
|
537
|
+
options: MTurkRequestOptions,
|
|
534
538
|
cb: (err: any, data?: NotifyWorkersCommandOutput) => void,
|
|
535
539
|
): void;
|
|
536
540
|
rejectAssignment(
|
|
537
541
|
args: RejectAssignmentCommandInput,
|
|
538
|
-
options?:
|
|
542
|
+
options?: MTurkRequestOptions,
|
|
539
543
|
): Promise<RejectAssignmentCommandOutput>;
|
|
540
544
|
rejectAssignment(
|
|
541
545
|
args: RejectAssignmentCommandInput,
|
|
@@ -543,12 +547,12 @@ export interface MTurk {
|
|
|
543
547
|
): void;
|
|
544
548
|
rejectAssignment(
|
|
545
549
|
args: RejectAssignmentCommandInput,
|
|
546
|
-
options:
|
|
550
|
+
options: MTurkRequestOptions,
|
|
547
551
|
cb: (err: any, data?: RejectAssignmentCommandOutput) => void,
|
|
548
552
|
): void;
|
|
549
553
|
rejectQualificationRequest(
|
|
550
554
|
args: RejectQualificationRequestCommandInput,
|
|
551
|
-
options?:
|
|
555
|
+
options?: MTurkRequestOptions,
|
|
552
556
|
): Promise<RejectQualificationRequestCommandOutput>;
|
|
553
557
|
rejectQualificationRequest(
|
|
554
558
|
args: RejectQualificationRequestCommandInput,
|
|
@@ -556,12 +560,12 @@ export interface MTurk {
|
|
|
556
560
|
): void;
|
|
557
561
|
rejectQualificationRequest(
|
|
558
562
|
args: RejectQualificationRequestCommandInput,
|
|
559
|
-
options:
|
|
563
|
+
options: MTurkRequestOptions,
|
|
560
564
|
cb: (err: any, data?: RejectQualificationRequestCommandOutput) => void,
|
|
561
565
|
): void;
|
|
562
566
|
sendBonus(
|
|
563
567
|
args: SendBonusCommandInput,
|
|
564
|
-
options?:
|
|
568
|
+
options?: MTurkRequestOptions,
|
|
565
569
|
): Promise<SendBonusCommandOutput>;
|
|
566
570
|
sendBonus(
|
|
567
571
|
args: SendBonusCommandInput,
|
|
@@ -569,12 +573,12 @@ export interface MTurk {
|
|
|
569
573
|
): void;
|
|
570
574
|
sendBonus(
|
|
571
575
|
args: SendBonusCommandInput,
|
|
572
|
-
options:
|
|
576
|
+
options: MTurkRequestOptions,
|
|
573
577
|
cb: (err: any, data?: SendBonusCommandOutput) => void,
|
|
574
578
|
): void;
|
|
575
579
|
sendTestEventNotification(
|
|
576
580
|
args: SendTestEventNotificationCommandInput,
|
|
577
|
-
options?:
|
|
581
|
+
options?: MTurkRequestOptions,
|
|
578
582
|
): Promise<SendTestEventNotificationCommandOutput>;
|
|
579
583
|
sendTestEventNotification(
|
|
580
584
|
args: SendTestEventNotificationCommandInput,
|
|
@@ -582,12 +586,12 @@ export interface MTurk {
|
|
|
582
586
|
): void;
|
|
583
587
|
sendTestEventNotification(
|
|
584
588
|
args: SendTestEventNotificationCommandInput,
|
|
585
|
-
options:
|
|
589
|
+
options: MTurkRequestOptions,
|
|
586
590
|
cb: (err: any, data?: SendTestEventNotificationCommandOutput) => void,
|
|
587
591
|
): void;
|
|
588
592
|
updateExpirationForHIT(
|
|
589
593
|
args: UpdateExpirationForHITCommandInput,
|
|
590
|
-
options?:
|
|
594
|
+
options?: MTurkRequestOptions,
|
|
591
595
|
): Promise<UpdateExpirationForHITCommandOutput>;
|
|
592
596
|
updateExpirationForHIT(
|
|
593
597
|
args: UpdateExpirationForHITCommandInput,
|
|
@@ -595,12 +599,12 @@ export interface MTurk {
|
|
|
595
599
|
): void;
|
|
596
600
|
updateExpirationForHIT(
|
|
597
601
|
args: UpdateExpirationForHITCommandInput,
|
|
598
|
-
options:
|
|
602
|
+
options: MTurkRequestOptions,
|
|
599
603
|
cb: (err: any, data?: UpdateExpirationForHITCommandOutput) => void,
|
|
600
604
|
): void;
|
|
601
605
|
updateHITReviewStatus(
|
|
602
606
|
args: UpdateHITReviewStatusCommandInput,
|
|
603
|
-
options?:
|
|
607
|
+
options?: MTurkRequestOptions,
|
|
604
608
|
): Promise<UpdateHITReviewStatusCommandOutput>;
|
|
605
609
|
updateHITReviewStatus(
|
|
606
610
|
args: UpdateHITReviewStatusCommandInput,
|
|
@@ -608,12 +612,12 @@ export interface MTurk {
|
|
|
608
612
|
): void;
|
|
609
613
|
updateHITReviewStatus(
|
|
610
614
|
args: UpdateHITReviewStatusCommandInput,
|
|
611
|
-
options:
|
|
615
|
+
options: MTurkRequestOptions,
|
|
612
616
|
cb: (err: any, data?: UpdateHITReviewStatusCommandOutput) => void,
|
|
613
617
|
): void;
|
|
614
618
|
updateHITTypeOfHIT(
|
|
615
619
|
args: UpdateHITTypeOfHITCommandInput,
|
|
616
|
-
options?:
|
|
620
|
+
options?: MTurkRequestOptions,
|
|
617
621
|
): Promise<UpdateHITTypeOfHITCommandOutput>;
|
|
618
622
|
updateHITTypeOfHIT(
|
|
619
623
|
args: UpdateHITTypeOfHITCommandInput,
|
|
@@ -621,12 +625,12 @@ export interface MTurk {
|
|
|
621
625
|
): void;
|
|
622
626
|
updateHITTypeOfHIT(
|
|
623
627
|
args: UpdateHITTypeOfHITCommandInput,
|
|
624
|
-
options:
|
|
628
|
+
options: MTurkRequestOptions,
|
|
625
629
|
cb: (err: any, data?: UpdateHITTypeOfHITCommandOutput) => void,
|
|
626
630
|
): void;
|
|
627
631
|
updateNotificationSettings(
|
|
628
632
|
args: UpdateNotificationSettingsCommandInput,
|
|
629
|
-
options?:
|
|
633
|
+
options?: MTurkRequestOptions,
|
|
630
634
|
): Promise<UpdateNotificationSettingsCommandOutput>;
|
|
631
635
|
updateNotificationSettings(
|
|
632
636
|
args: UpdateNotificationSettingsCommandInput,
|
|
@@ -634,12 +638,12 @@ export interface MTurk {
|
|
|
634
638
|
): void;
|
|
635
639
|
updateNotificationSettings(
|
|
636
640
|
args: UpdateNotificationSettingsCommandInput,
|
|
637
|
-
options:
|
|
641
|
+
options: MTurkRequestOptions,
|
|
638
642
|
cb: (err: any, data?: UpdateNotificationSettingsCommandOutput) => void,
|
|
639
643
|
): void;
|
|
640
644
|
updateQualificationType(
|
|
641
645
|
args: UpdateQualificationTypeCommandInput,
|
|
642
|
-
options?:
|
|
646
|
+
options?: MTurkRequestOptions,
|
|
643
647
|
): Promise<UpdateQualificationTypeCommandOutput>;
|
|
644
648
|
updateQualificationType(
|
|
645
649
|
args: UpdateQualificationTypeCommandInput,
|
|
@@ -647,7 +651,7 @@ export interface MTurk {
|
|
|
647
651
|
): void;
|
|
648
652
|
updateQualificationType(
|
|
649
653
|
args: UpdateQualificationTypeCommandInput,
|
|
650
|
-
options:
|
|
654
|
+
options: MTurkRequestOptions,
|
|
651
655
|
cb: (err: any, data?: UpdateQualificationTypeCommandOutput) => void,
|
|
652
656
|
): void;
|
|
653
657
|
paginateListAssignmentsForHIT(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mturk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1138.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Mturk Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-mturk",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|