@aws-sdk/client-mturk 3.933.0 → 3.935.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 CHANGED
@@ -149,86 +149,6 @@ let ServiceFault$1 = class ServiceFault extends MTurkServiceException$1 {
149
149
  this.TurkErrorCode = opts.TurkErrorCode;
150
150
  }
151
151
  };
152
- const AssignmentStatus = {
153
- Approved: "Approved",
154
- Rejected: "Rejected",
155
- Submitted: "Submitted",
156
- };
157
- const Comparator = {
158
- DoesNotExist: "DoesNotExist",
159
- EqualTo: "EqualTo",
160
- Exists: "Exists",
161
- GreaterThan: "GreaterThan",
162
- GreaterThanOrEqualTo: "GreaterThanOrEqualTo",
163
- In: "In",
164
- LessThan: "LessThan",
165
- LessThanOrEqualTo: "LessThanOrEqualTo",
166
- NotEqualTo: "NotEqualTo",
167
- NotIn: "NotIn",
168
- };
169
- const HITAccessActions = {
170
- Accept: "Accept",
171
- DiscoverPreviewAndAccept: "DiscoverPreviewAndAccept",
172
- PreviewAndAccept: "PreviewAndAccept",
173
- };
174
- const HITReviewStatus = {
175
- MarkedForReview: "MarkedForReview",
176
- NotReviewed: "NotReviewed",
177
- ReviewedAppropriate: "ReviewedAppropriate",
178
- ReviewedInappropriate: "ReviewedInappropriate",
179
- };
180
- const HITStatus = {
181
- Assignable: "Assignable",
182
- Disposed: "Disposed",
183
- Reviewable: "Reviewable",
184
- Reviewing: "Reviewing",
185
- Unassignable: "Unassignable",
186
- };
187
- const QualificationTypeStatus = {
188
- Active: "Active",
189
- Inactive: "Inactive",
190
- };
191
- const EventType = {
192
- AssignmentAbandoned: "AssignmentAbandoned",
193
- AssignmentAccepted: "AssignmentAccepted",
194
- AssignmentApproved: "AssignmentApproved",
195
- AssignmentRejected: "AssignmentRejected",
196
- AssignmentReturned: "AssignmentReturned",
197
- AssignmentSubmitted: "AssignmentSubmitted",
198
- HITCreated: "HITCreated",
199
- HITDisposed: "HITDisposed",
200
- HITExpired: "HITExpired",
201
- HITExtended: "HITExtended",
202
- HITReviewable: "HITReviewable",
203
- Ping: "Ping",
204
- };
205
- const QualificationStatus = {
206
- Granted: "Granted",
207
- Revoked: "Revoked",
208
- };
209
- const ReviewableHITStatus = {
210
- Reviewable: "Reviewable",
211
- Reviewing: "Reviewing",
212
- };
213
- const ReviewPolicyLevel = {
214
- Assignment: "Assignment",
215
- HIT: "HIT",
216
- };
217
- const ReviewActionStatus = {
218
- Cancelled: "Cancelled",
219
- Failed: "Failed",
220
- Intended: "Intended",
221
- Succeeded: "Succeeded",
222
- };
223
- const NotifyWorkersFailureCode = {
224
- HardFailure: "HardFailure",
225
- SoftFailure: "SoftFailure",
226
- };
227
- const NotificationTransport = {
228
- Email: "Email",
229
- SNS: "SNS",
230
- SQS: "SQS",
231
- };
232
152
 
233
153
  const _A = "Assignment";
234
154
  const _AA = "ApproveAssignment";
@@ -1759,6 +1679,87 @@ const paginateListWorkerBlocks = core.createPaginator(MTurkClient, ListWorkerBlo
1759
1679
 
1760
1680
  const paginateListWorkersWithQualificationType = core.createPaginator(MTurkClient, ListWorkersWithQualificationTypeCommand, "NextToken", "NextToken", "MaxResults");
1761
1681
 
1682
+ const AssignmentStatus = {
1683
+ Approved: "Approved",
1684
+ Rejected: "Rejected",
1685
+ Submitted: "Submitted",
1686
+ };
1687
+ const Comparator = {
1688
+ DoesNotExist: "DoesNotExist",
1689
+ EqualTo: "EqualTo",
1690
+ Exists: "Exists",
1691
+ GreaterThan: "GreaterThan",
1692
+ GreaterThanOrEqualTo: "GreaterThanOrEqualTo",
1693
+ In: "In",
1694
+ LessThan: "LessThan",
1695
+ LessThanOrEqualTo: "LessThanOrEqualTo",
1696
+ NotEqualTo: "NotEqualTo",
1697
+ NotIn: "NotIn",
1698
+ };
1699
+ const HITAccessActions = {
1700
+ Accept: "Accept",
1701
+ DiscoverPreviewAndAccept: "DiscoverPreviewAndAccept",
1702
+ PreviewAndAccept: "PreviewAndAccept",
1703
+ };
1704
+ const HITReviewStatus = {
1705
+ MarkedForReview: "MarkedForReview",
1706
+ NotReviewed: "NotReviewed",
1707
+ ReviewedAppropriate: "ReviewedAppropriate",
1708
+ ReviewedInappropriate: "ReviewedInappropriate",
1709
+ };
1710
+ const HITStatus = {
1711
+ Assignable: "Assignable",
1712
+ Disposed: "Disposed",
1713
+ Reviewable: "Reviewable",
1714
+ Reviewing: "Reviewing",
1715
+ Unassignable: "Unassignable",
1716
+ };
1717
+ const QualificationTypeStatus = {
1718
+ Active: "Active",
1719
+ Inactive: "Inactive",
1720
+ };
1721
+ const EventType = {
1722
+ AssignmentAbandoned: "AssignmentAbandoned",
1723
+ AssignmentAccepted: "AssignmentAccepted",
1724
+ AssignmentApproved: "AssignmentApproved",
1725
+ AssignmentRejected: "AssignmentRejected",
1726
+ AssignmentReturned: "AssignmentReturned",
1727
+ AssignmentSubmitted: "AssignmentSubmitted",
1728
+ HITCreated: "HITCreated",
1729
+ HITDisposed: "HITDisposed",
1730
+ HITExpired: "HITExpired",
1731
+ HITExtended: "HITExtended",
1732
+ HITReviewable: "HITReviewable",
1733
+ Ping: "Ping",
1734
+ };
1735
+ const QualificationStatus = {
1736
+ Granted: "Granted",
1737
+ Revoked: "Revoked",
1738
+ };
1739
+ const ReviewableHITStatus = {
1740
+ Reviewable: "Reviewable",
1741
+ Reviewing: "Reviewing",
1742
+ };
1743
+ const ReviewPolicyLevel = {
1744
+ Assignment: "Assignment",
1745
+ HIT: "HIT",
1746
+ };
1747
+ const ReviewActionStatus = {
1748
+ Cancelled: "Cancelled",
1749
+ Failed: "Failed",
1750
+ Intended: "Intended",
1751
+ Succeeded: "Succeeded",
1752
+ };
1753
+ const NotifyWorkersFailureCode = {
1754
+ HardFailure: "HardFailure",
1755
+ SoftFailure: "SoftFailure",
1756
+ };
1757
+ const NotificationTransport = {
1758
+ Email: "Email",
1759
+ SNS: "SNS",
1760
+ SQS: "SQS",
1761
+ };
1762
+
1762
1763
  Object.defineProperty(exports, "$Command", {
1763
1764
  enumerable: true,
1764
1765
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./MTurkClient";
2
2
  export * from "./MTurk";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { MTurkServiceException } from "./models/MTurkServiceException";
@@ -0,0 +1,80 @@
1
+ export const AssignmentStatus = {
2
+ Approved: "Approved",
3
+ Rejected: "Rejected",
4
+ Submitted: "Submitted",
5
+ };
6
+ export const Comparator = {
7
+ DoesNotExist: "DoesNotExist",
8
+ EqualTo: "EqualTo",
9
+ Exists: "Exists",
10
+ GreaterThan: "GreaterThan",
11
+ GreaterThanOrEqualTo: "GreaterThanOrEqualTo",
12
+ In: "In",
13
+ LessThan: "LessThan",
14
+ LessThanOrEqualTo: "LessThanOrEqualTo",
15
+ NotEqualTo: "NotEqualTo",
16
+ NotIn: "NotIn",
17
+ };
18
+ export const HITAccessActions = {
19
+ Accept: "Accept",
20
+ DiscoverPreviewAndAccept: "DiscoverPreviewAndAccept",
21
+ PreviewAndAccept: "PreviewAndAccept",
22
+ };
23
+ export const HITReviewStatus = {
24
+ MarkedForReview: "MarkedForReview",
25
+ NotReviewed: "NotReviewed",
26
+ ReviewedAppropriate: "ReviewedAppropriate",
27
+ ReviewedInappropriate: "ReviewedInappropriate",
28
+ };
29
+ export const HITStatus = {
30
+ Assignable: "Assignable",
31
+ Disposed: "Disposed",
32
+ Reviewable: "Reviewable",
33
+ Reviewing: "Reviewing",
34
+ Unassignable: "Unassignable",
35
+ };
36
+ export const QualificationTypeStatus = {
37
+ Active: "Active",
38
+ Inactive: "Inactive",
39
+ };
40
+ export const EventType = {
41
+ AssignmentAbandoned: "AssignmentAbandoned",
42
+ AssignmentAccepted: "AssignmentAccepted",
43
+ AssignmentApproved: "AssignmentApproved",
44
+ AssignmentRejected: "AssignmentRejected",
45
+ AssignmentReturned: "AssignmentReturned",
46
+ AssignmentSubmitted: "AssignmentSubmitted",
47
+ HITCreated: "HITCreated",
48
+ HITDisposed: "HITDisposed",
49
+ HITExpired: "HITExpired",
50
+ HITExtended: "HITExtended",
51
+ HITReviewable: "HITReviewable",
52
+ Ping: "Ping",
53
+ };
54
+ export const QualificationStatus = {
55
+ Granted: "Granted",
56
+ Revoked: "Revoked",
57
+ };
58
+ export const ReviewableHITStatus = {
59
+ Reviewable: "Reviewable",
60
+ Reviewing: "Reviewing",
61
+ };
62
+ export const ReviewPolicyLevel = {
63
+ Assignment: "Assignment",
64
+ HIT: "HIT",
65
+ };
66
+ export const ReviewActionStatus = {
67
+ Cancelled: "Cancelled",
68
+ Failed: "Failed",
69
+ Intended: "Intended",
70
+ Succeeded: "Succeeded",
71
+ };
72
+ export const NotifyWorkersFailureCode = {
73
+ HardFailure: "HardFailure",
74
+ SoftFailure: "SoftFailure",
75
+ };
76
+ export const NotificationTransport = {
77
+ Email: "Email",
78
+ SNS: "SNS",
79
+ SQS: "SQS",
80
+ };
@@ -0,0 +1,33 @@
1
+ import { MTurkServiceException as __BaseException } from "./MTurkServiceException";
2
+ export class RequestError extends __BaseException {
3
+ name = "RequestError";
4
+ $fault = "client";
5
+ Message;
6
+ TurkErrorCode;
7
+ constructor(opts) {
8
+ super({
9
+ name: "RequestError",
10
+ $fault: "client",
11
+ ...opts,
12
+ });
13
+ Object.setPrototypeOf(this, RequestError.prototype);
14
+ this.Message = opts.Message;
15
+ this.TurkErrorCode = opts.TurkErrorCode;
16
+ }
17
+ }
18
+ export class ServiceFault extends __BaseException {
19
+ name = "ServiceFault";
20
+ $fault = "server";
21
+ Message;
22
+ TurkErrorCode;
23
+ constructor(opts) {
24
+ super({
25
+ name: "ServiceFault",
26
+ $fault: "server",
27
+ ...opts,
28
+ });
29
+ Object.setPrototypeOf(this, ServiceFault.prototype);
30
+ this.Message = opts.Message;
31
+ this.TurkErrorCode = opts.TurkErrorCode;
32
+ }
33
+ }
@@ -1,113 +1 @@
1
- import { MTurkServiceException as __BaseException } from "./MTurkServiceException";
2
- export class RequestError extends __BaseException {
3
- name = "RequestError";
4
- $fault = "client";
5
- Message;
6
- TurkErrorCode;
7
- constructor(opts) {
8
- super({
9
- name: "RequestError",
10
- $fault: "client",
11
- ...opts,
12
- });
13
- Object.setPrototypeOf(this, RequestError.prototype);
14
- this.Message = opts.Message;
15
- this.TurkErrorCode = opts.TurkErrorCode;
16
- }
17
- }
18
- export class ServiceFault extends __BaseException {
19
- name = "ServiceFault";
20
- $fault = "server";
21
- Message;
22
- TurkErrorCode;
23
- constructor(opts) {
24
- super({
25
- name: "ServiceFault",
26
- $fault: "server",
27
- ...opts,
28
- });
29
- Object.setPrototypeOf(this, ServiceFault.prototype);
30
- this.Message = opts.Message;
31
- this.TurkErrorCode = opts.TurkErrorCode;
32
- }
33
- }
34
- export const AssignmentStatus = {
35
- Approved: "Approved",
36
- Rejected: "Rejected",
37
- Submitted: "Submitted",
38
- };
39
- export const Comparator = {
40
- DoesNotExist: "DoesNotExist",
41
- EqualTo: "EqualTo",
42
- Exists: "Exists",
43
- GreaterThan: "GreaterThan",
44
- GreaterThanOrEqualTo: "GreaterThanOrEqualTo",
45
- In: "In",
46
- LessThan: "LessThan",
47
- LessThanOrEqualTo: "LessThanOrEqualTo",
48
- NotEqualTo: "NotEqualTo",
49
- NotIn: "NotIn",
50
- };
51
- export const HITAccessActions = {
52
- Accept: "Accept",
53
- DiscoverPreviewAndAccept: "DiscoverPreviewAndAccept",
54
- PreviewAndAccept: "PreviewAndAccept",
55
- };
56
- export const HITReviewStatus = {
57
- MarkedForReview: "MarkedForReview",
58
- NotReviewed: "NotReviewed",
59
- ReviewedAppropriate: "ReviewedAppropriate",
60
- ReviewedInappropriate: "ReviewedInappropriate",
61
- };
62
- export const HITStatus = {
63
- Assignable: "Assignable",
64
- Disposed: "Disposed",
65
- Reviewable: "Reviewable",
66
- Reviewing: "Reviewing",
67
- Unassignable: "Unassignable",
68
- };
69
- export const QualificationTypeStatus = {
70
- Active: "Active",
71
- Inactive: "Inactive",
72
- };
73
- export const EventType = {
74
- AssignmentAbandoned: "AssignmentAbandoned",
75
- AssignmentAccepted: "AssignmentAccepted",
76
- AssignmentApproved: "AssignmentApproved",
77
- AssignmentRejected: "AssignmentRejected",
78
- AssignmentReturned: "AssignmentReturned",
79
- AssignmentSubmitted: "AssignmentSubmitted",
80
- HITCreated: "HITCreated",
81
- HITDisposed: "HITDisposed",
82
- HITExpired: "HITExpired",
83
- HITExtended: "HITExtended",
84
- HITReviewable: "HITReviewable",
85
- Ping: "Ping",
86
- };
87
- export const QualificationStatus = {
88
- Granted: "Granted",
89
- Revoked: "Revoked",
90
- };
91
- export const ReviewableHITStatus = {
92
- Reviewable: "Reviewable",
93
- Reviewing: "Reviewing",
94
- };
95
- export const ReviewPolicyLevel = {
96
- Assignment: "Assignment",
97
- HIT: "HIT",
98
- };
99
- export const ReviewActionStatus = {
100
- Cancelled: "Cancelled",
101
- Failed: "Failed",
102
- Intended: "Intended",
103
- Succeeded: "Succeeded",
104
- };
105
- export const NotifyWorkersFailureCode = {
106
- HardFailure: "HardFailure",
107
- SoftFailure: "SoftFailure",
108
- };
109
- export const NotificationTransport = {
110
- Email: "Email",
111
- SNS: "SNS",
112
- SQS: "SQS",
113
- };
1
+ export {};
@@ -280,7 +280,7 @@ const _s = "server";
280
280
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.mturk";
281
281
  const n0 = "com.amazonaws.mturk";
282
282
  import { TypeRegistry } from "@smithy/core/schema";
283
- import { RequestError as __RequestError, ServiceFault as __ServiceFault } from "../models/index";
283
+ import { RequestError as __RequestError, ServiceFault as __ServiceFault } from "../models/errors";
284
284
  import { MTurkServiceException as __MTurkServiceException } from "../models/MTurkServiceException";
285
285
  export var AcceptQualificationRequestRequest = [3, n0, _AQRR, 0, [_QRI, _IV], [0, 1]];
286
286
  export var AcceptQualificationRequestResponse = [3, n0, _AQRRc, 0, [], []];
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { MTurkExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
- export * from "./models";
13
+ export * from "./models/enums";
14
+ export * from "./models/errors";
15
+ export type * from "./models/models_0";
14
16
  export { MTurkServiceException } from "./models/MTurkServiceException";
@@ -0,0 +1,184 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AssignmentStatus: {
6
+ readonly Approved: "Approved";
7
+ readonly Rejected: "Rejected";
8
+ readonly Submitted: "Submitted";
9
+ };
10
+ /**
11
+ * @public
12
+ */
13
+ export type AssignmentStatus = (typeof AssignmentStatus)[keyof typeof AssignmentStatus];
14
+ /**
15
+ * @public
16
+ * @enum
17
+ */
18
+ export declare const Comparator: {
19
+ readonly DoesNotExist: "DoesNotExist";
20
+ readonly EqualTo: "EqualTo";
21
+ readonly Exists: "Exists";
22
+ readonly GreaterThan: "GreaterThan";
23
+ readonly GreaterThanOrEqualTo: "GreaterThanOrEqualTo";
24
+ readonly In: "In";
25
+ readonly LessThan: "LessThan";
26
+ readonly LessThanOrEqualTo: "LessThanOrEqualTo";
27
+ readonly NotEqualTo: "NotEqualTo";
28
+ readonly NotIn: "NotIn";
29
+ };
30
+ /**
31
+ * @public
32
+ */
33
+ export type Comparator = (typeof Comparator)[keyof typeof Comparator];
34
+ /**
35
+ * @public
36
+ * @enum
37
+ */
38
+ export declare const HITAccessActions: {
39
+ readonly Accept: "Accept";
40
+ readonly DiscoverPreviewAndAccept: "DiscoverPreviewAndAccept";
41
+ readonly PreviewAndAccept: "PreviewAndAccept";
42
+ };
43
+ /**
44
+ * @public
45
+ */
46
+ export type HITAccessActions = (typeof HITAccessActions)[keyof typeof HITAccessActions];
47
+ /**
48
+ * @public
49
+ * @enum
50
+ */
51
+ export declare const HITReviewStatus: {
52
+ readonly MarkedForReview: "MarkedForReview";
53
+ readonly NotReviewed: "NotReviewed";
54
+ readonly ReviewedAppropriate: "ReviewedAppropriate";
55
+ readonly ReviewedInappropriate: "ReviewedInappropriate";
56
+ };
57
+ /**
58
+ * @public
59
+ */
60
+ export type HITReviewStatus = (typeof HITReviewStatus)[keyof typeof HITReviewStatus];
61
+ /**
62
+ * @public
63
+ * @enum
64
+ */
65
+ export declare const HITStatus: {
66
+ readonly Assignable: "Assignable";
67
+ readonly Disposed: "Disposed";
68
+ readonly Reviewable: "Reviewable";
69
+ readonly Reviewing: "Reviewing";
70
+ readonly Unassignable: "Unassignable";
71
+ };
72
+ /**
73
+ * @public
74
+ */
75
+ export type HITStatus = (typeof HITStatus)[keyof typeof HITStatus];
76
+ /**
77
+ * @public
78
+ * @enum
79
+ */
80
+ export declare const QualificationTypeStatus: {
81
+ readonly Active: "Active";
82
+ readonly Inactive: "Inactive";
83
+ };
84
+ /**
85
+ * @public
86
+ */
87
+ export type QualificationTypeStatus = (typeof QualificationTypeStatus)[keyof typeof QualificationTypeStatus];
88
+ /**
89
+ * @public
90
+ * @enum
91
+ */
92
+ export declare const EventType: {
93
+ readonly AssignmentAbandoned: "AssignmentAbandoned";
94
+ readonly AssignmentAccepted: "AssignmentAccepted";
95
+ readonly AssignmentApproved: "AssignmentApproved";
96
+ readonly AssignmentRejected: "AssignmentRejected";
97
+ readonly AssignmentReturned: "AssignmentReturned";
98
+ readonly AssignmentSubmitted: "AssignmentSubmitted";
99
+ readonly HITCreated: "HITCreated";
100
+ readonly HITDisposed: "HITDisposed";
101
+ readonly HITExpired: "HITExpired";
102
+ readonly HITExtended: "HITExtended";
103
+ readonly HITReviewable: "HITReviewable";
104
+ readonly Ping: "Ping";
105
+ };
106
+ /**
107
+ * @public
108
+ */
109
+ export type EventType = (typeof EventType)[keyof typeof EventType];
110
+ /**
111
+ * @public
112
+ * @enum
113
+ */
114
+ export declare const QualificationStatus: {
115
+ readonly Granted: "Granted";
116
+ readonly Revoked: "Revoked";
117
+ };
118
+ /**
119
+ * @public
120
+ */
121
+ export type QualificationStatus = (typeof QualificationStatus)[keyof typeof QualificationStatus];
122
+ /**
123
+ * @public
124
+ * @enum
125
+ */
126
+ export declare const ReviewableHITStatus: {
127
+ readonly Reviewable: "Reviewable";
128
+ readonly Reviewing: "Reviewing";
129
+ };
130
+ /**
131
+ * @public
132
+ */
133
+ export type ReviewableHITStatus = (typeof ReviewableHITStatus)[keyof typeof ReviewableHITStatus];
134
+ /**
135
+ * @public
136
+ * @enum
137
+ */
138
+ export declare const ReviewPolicyLevel: {
139
+ readonly Assignment: "Assignment";
140
+ readonly HIT: "HIT";
141
+ };
142
+ /**
143
+ * @public
144
+ */
145
+ export type ReviewPolicyLevel = (typeof ReviewPolicyLevel)[keyof typeof ReviewPolicyLevel];
146
+ /**
147
+ * @public
148
+ * @enum
149
+ */
150
+ export declare const ReviewActionStatus: {
151
+ readonly Cancelled: "Cancelled";
152
+ readonly Failed: "Failed";
153
+ readonly Intended: "Intended";
154
+ readonly Succeeded: "Succeeded";
155
+ };
156
+ /**
157
+ * @public
158
+ */
159
+ export type ReviewActionStatus = (typeof ReviewActionStatus)[keyof typeof ReviewActionStatus];
160
+ /**
161
+ * @public
162
+ * @enum
163
+ */
164
+ export declare const NotifyWorkersFailureCode: {
165
+ readonly HardFailure: "HardFailure";
166
+ readonly SoftFailure: "SoftFailure";
167
+ };
168
+ /**
169
+ * @public
170
+ */
171
+ export type NotifyWorkersFailureCode = (typeof NotifyWorkersFailureCode)[keyof typeof NotifyWorkersFailureCode];
172
+ /**
173
+ * @public
174
+ * @enum
175
+ */
176
+ export declare const NotificationTransport: {
177
+ readonly Email: "Email";
178
+ readonly SNS: "SNS";
179
+ readonly SQS: "SQS";
180
+ };
181
+ /**
182
+ * @public
183
+ */
184
+ export type NotificationTransport = (typeof NotificationTransport)[keyof typeof NotificationTransport];
@@ -0,0 +1,30 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { MTurkServiceException as __BaseException } from "./MTurkServiceException";
3
+ /**
4
+ * <p>Your request is invalid.</p>
5
+ * @public
6
+ */
7
+ export declare class RequestError extends __BaseException {
8
+ readonly name: "RequestError";
9
+ readonly $fault: "client";
10
+ Message?: string | undefined;
11
+ TurkErrorCode?: string | undefined;
12
+ /**
13
+ * @internal
14
+ */
15
+ constructor(opts: __ExceptionOptionType<RequestError, __BaseException>);
16
+ }
17
+ /**
18
+ * <p>Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.</p>
19
+ * @public
20
+ */
21
+ export declare class ServiceFault extends __BaseException {
22
+ readonly name: "ServiceFault";
23
+ readonly $fault: "server";
24
+ Message?: string | undefined;
25
+ TurkErrorCode?: string | undefined;
26
+ /**
27
+ * @internal
28
+ */
29
+ constructor(opts: __ExceptionOptionType<ServiceFault, __BaseException>);
30
+ }