@aws-sdk/client-translate 3.1148.0 → 3.1149.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 +17 -1
- package/dist-es/models/TranslateServiceException.js +1 -0
- package/dist-es/models/errors.js +15 -0
- package/dist-types/models/TranslateServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +15 -0
- package/dist-types/ts3.4/models/TranslateServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +15 -0
- package/package.json +4 -4
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.1148.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
132
132
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
133
133
|
|
|
134
134
|
class TranslateServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.translate#TranslateServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, TranslateServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class TranslateServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class ConcurrentModificationException extends TranslateServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.translate#ConcurrentModificationException";
|
|
142
144
|
name = "ConcurrentModificationException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
Message;
|
|
@@ -153,6 +155,7 @@ class ConcurrentModificationException extends TranslateServiceException {
|
|
|
153
155
|
}
|
|
154
156
|
}
|
|
155
157
|
class ConflictException extends TranslateServiceException {
|
|
158
|
+
static shapeId = "com.amazonaws.translate#ConflictException";
|
|
156
159
|
name = "ConflictException";
|
|
157
160
|
$fault = "client";
|
|
158
161
|
Message;
|
|
@@ -167,6 +170,7 @@ class ConflictException extends TranslateServiceException {
|
|
|
167
170
|
}
|
|
168
171
|
}
|
|
169
172
|
class InternalServerException extends TranslateServiceException {
|
|
173
|
+
static shapeId = "com.amazonaws.translate#InternalServerException";
|
|
170
174
|
name = "InternalServerException";
|
|
171
175
|
$fault = "server";
|
|
172
176
|
Message;
|
|
@@ -181,6 +185,7 @@ class InternalServerException extends TranslateServiceException {
|
|
|
181
185
|
}
|
|
182
186
|
}
|
|
183
187
|
class InvalidParameterValueException extends TranslateServiceException {
|
|
188
|
+
static shapeId = "com.amazonaws.translate#InvalidParameterValueException";
|
|
184
189
|
name = "InvalidParameterValueException";
|
|
185
190
|
$fault = "client";
|
|
186
191
|
Message;
|
|
@@ -195,6 +200,7 @@ class InvalidParameterValueException extends TranslateServiceException {
|
|
|
195
200
|
}
|
|
196
201
|
}
|
|
197
202
|
class InvalidRequestException extends TranslateServiceException {
|
|
203
|
+
static shapeId = "com.amazonaws.translate#InvalidRequestException";
|
|
198
204
|
name = "InvalidRequestException";
|
|
199
205
|
$fault = "client";
|
|
200
206
|
Message;
|
|
@@ -209,6 +215,7 @@ class InvalidRequestException extends TranslateServiceException {
|
|
|
209
215
|
}
|
|
210
216
|
}
|
|
211
217
|
class LimitExceededException extends TranslateServiceException {
|
|
218
|
+
static shapeId = "com.amazonaws.translate#LimitExceededException";
|
|
212
219
|
name = "LimitExceededException";
|
|
213
220
|
$fault = "client";
|
|
214
221
|
Message;
|
|
@@ -223,6 +230,7 @@ class LimitExceededException extends TranslateServiceException {
|
|
|
223
230
|
}
|
|
224
231
|
}
|
|
225
232
|
class TooManyRequestsException extends TranslateServiceException {
|
|
233
|
+
static shapeId = "com.amazonaws.translate#TooManyRequestsException";
|
|
226
234
|
name = "TooManyRequestsException";
|
|
227
235
|
$fault = "client";
|
|
228
236
|
Message;
|
|
@@ -237,6 +245,7 @@ class TooManyRequestsException extends TranslateServiceException {
|
|
|
237
245
|
}
|
|
238
246
|
}
|
|
239
247
|
class TooManyTagsException extends TranslateServiceException {
|
|
248
|
+
static shapeId = "com.amazonaws.translate#TooManyTagsException";
|
|
240
249
|
name = "TooManyTagsException";
|
|
241
250
|
$fault = "client";
|
|
242
251
|
ResourceArn;
|
|
@@ -251,6 +260,7 @@ class TooManyTagsException extends TranslateServiceException {
|
|
|
251
260
|
}
|
|
252
261
|
}
|
|
253
262
|
class ResourceNotFoundException extends TranslateServiceException {
|
|
263
|
+
static shapeId = "com.amazonaws.translate#ResourceNotFoundException";
|
|
254
264
|
name = "ResourceNotFoundException";
|
|
255
265
|
$fault = "client";
|
|
256
266
|
Message;
|
|
@@ -265,6 +275,7 @@ class ResourceNotFoundException extends TranslateServiceException {
|
|
|
265
275
|
}
|
|
266
276
|
}
|
|
267
277
|
class UnsupportedDisplayLanguageCodeException extends TranslateServiceException {
|
|
278
|
+
static shapeId = "com.amazonaws.translate#UnsupportedDisplayLanguageCodeException";
|
|
268
279
|
name = "UnsupportedDisplayLanguageCodeException";
|
|
269
280
|
$fault = "client";
|
|
270
281
|
Message;
|
|
@@ -281,6 +292,7 @@ class UnsupportedDisplayLanguageCodeException extends TranslateServiceException
|
|
|
281
292
|
}
|
|
282
293
|
}
|
|
283
294
|
class InvalidFilterException extends TranslateServiceException {
|
|
295
|
+
static shapeId = "com.amazonaws.translate#InvalidFilterException";
|
|
284
296
|
name = "InvalidFilterException";
|
|
285
297
|
$fault = "client";
|
|
286
298
|
Message;
|
|
@@ -295,6 +307,7 @@ class InvalidFilterException extends TranslateServiceException {
|
|
|
295
307
|
}
|
|
296
308
|
}
|
|
297
309
|
class UnsupportedLanguagePairException extends TranslateServiceException {
|
|
310
|
+
static shapeId = "com.amazonaws.translate#UnsupportedLanguagePairException";
|
|
298
311
|
name = "UnsupportedLanguagePairException";
|
|
299
312
|
$fault = "client";
|
|
300
313
|
Message;
|
|
@@ -313,6 +326,7 @@ class UnsupportedLanguagePairException extends TranslateServiceException {
|
|
|
313
326
|
}
|
|
314
327
|
}
|
|
315
328
|
class ServiceUnavailableException extends TranslateServiceException {
|
|
329
|
+
static shapeId = "com.amazonaws.translate#ServiceUnavailableException";
|
|
316
330
|
name = "ServiceUnavailableException";
|
|
317
331
|
$fault = "server";
|
|
318
332
|
Message;
|
|
@@ -327,6 +341,7 @@ class ServiceUnavailableException extends TranslateServiceException {
|
|
|
327
341
|
}
|
|
328
342
|
}
|
|
329
343
|
class DetectedLanguageLowConfidenceException extends TranslateServiceException {
|
|
344
|
+
static shapeId = "com.amazonaws.translate#DetectedLanguageLowConfidenceException";
|
|
330
345
|
name = "DetectedLanguageLowConfidenceException";
|
|
331
346
|
$fault = "client";
|
|
332
347
|
Message;
|
|
@@ -343,6 +358,7 @@ class DetectedLanguageLowConfidenceException extends TranslateServiceException {
|
|
|
343
358
|
}
|
|
344
359
|
}
|
|
345
360
|
class TextSizeLimitExceededException extends TranslateServiceException {
|
|
361
|
+
static shapeId = "com.amazonaws.translate#TextSizeLimitExceededException";
|
|
346
362
|
name = "TextSizeLimitExceededException";
|
|
347
363
|
$fault = "client";
|
|
348
364
|
Message;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class TranslateServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.translate#TranslateServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, TranslateServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TranslateServiceException as __BaseException } from "./TranslateServiceException";
|
|
2
2
|
export class ConcurrentModificationException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.translate#ConcurrentModificationException";
|
|
3
4
|
name = "ConcurrentModificationException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
Message;
|
|
@@ -14,6 +15,7 @@ export class ConcurrentModificationException extends __BaseException {
|
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
export class ConflictException extends __BaseException {
|
|
18
|
+
static shapeId = "com.amazonaws.translate#ConflictException";
|
|
17
19
|
name = "ConflictException";
|
|
18
20
|
$fault = "client";
|
|
19
21
|
Message;
|
|
@@ -28,6 +30,7 @@ export class ConflictException extends __BaseException {
|
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export class InternalServerException extends __BaseException {
|
|
33
|
+
static shapeId = "com.amazonaws.translate#InternalServerException";
|
|
31
34
|
name = "InternalServerException";
|
|
32
35
|
$fault = "server";
|
|
33
36
|
Message;
|
|
@@ -42,6 +45,7 @@ export class InternalServerException extends __BaseException {
|
|
|
42
45
|
}
|
|
43
46
|
}
|
|
44
47
|
export class InvalidParameterValueException extends __BaseException {
|
|
48
|
+
static shapeId = "com.amazonaws.translate#InvalidParameterValueException";
|
|
45
49
|
name = "InvalidParameterValueException";
|
|
46
50
|
$fault = "client";
|
|
47
51
|
Message;
|
|
@@ -56,6 +60,7 @@ export class InvalidParameterValueException extends __BaseException {
|
|
|
56
60
|
}
|
|
57
61
|
}
|
|
58
62
|
export class InvalidRequestException extends __BaseException {
|
|
63
|
+
static shapeId = "com.amazonaws.translate#InvalidRequestException";
|
|
59
64
|
name = "InvalidRequestException";
|
|
60
65
|
$fault = "client";
|
|
61
66
|
Message;
|
|
@@ -70,6 +75,7 @@ export class InvalidRequestException extends __BaseException {
|
|
|
70
75
|
}
|
|
71
76
|
}
|
|
72
77
|
export class LimitExceededException extends __BaseException {
|
|
78
|
+
static shapeId = "com.amazonaws.translate#LimitExceededException";
|
|
73
79
|
name = "LimitExceededException";
|
|
74
80
|
$fault = "client";
|
|
75
81
|
Message;
|
|
@@ -84,6 +90,7 @@ export class LimitExceededException extends __BaseException {
|
|
|
84
90
|
}
|
|
85
91
|
}
|
|
86
92
|
export class TooManyRequestsException extends __BaseException {
|
|
93
|
+
static shapeId = "com.amazonaws.translate#TooManyRequestsException";
|
|
87
94
|
name = "TooManyRequestsException";
|
|
88
95
|
$fault = "client";
|
|
89
96
|
Message;
|
|
@@ -98,6 +105,7 @@ export class TooManyRequestsException extends __BaseException {
|
|
|
98
105
|
}
|
|
99
106
|
}
|
|
100
107
|
export class TooManyTagsException extends __BaseException {
|
|
108
|
+
static shapeId = "com.amazonaws.translate#TooManyTagsException";
|
|
101
109
|
name = "TooManyTagsException";
|
|
102
110
|
$fault = "client";
|
|
103
111
|
ResourceArn;
|
|
@@ -112,6 +120,7 @@ export class TooManyTagsException extends __BaseException {
|
|
|
112
120
|
}
|
|
113
121
|
}
|
|
114
122
|
export class ResourceNotFoundException extends __BaseException {
|
|
123
|
+
static shapeId = "com.amazonaws.translate#ResourceNotFoundException";
|
|
115
124
|
name = "ResourceNotFoundException";
|
|
116
125
|
$fault = "client";
|
|
117
126
|
Message;
|
|
@@ -126,6 +135,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
126
135
|
}
|
|
127
136
|
}
|
|
128
137
|
export class UnsupportedDisplayLanguageCodeException extends __BaseException {
|
|
138
|
+
static shapeId = "com.amazonaws.translate#UnsupportedDisplayLanguageCodeException";
|
|
129
139
|
name = "UnsupportedDisplayLanguageCodeException";
|
|
130
140
|
$fault = "client";
|
|
131
141
|
Message;
|
|
@@ -142,6 +152,7 @@ export class UnsupportedDisplayLanguageCodeException extends __BaseException {
|
|
|
142
152
|
}
|
|
143
153
|
}
|
|
144
154
|
export class InvalidFilterException extends __BaseException {
|
|
155
|
+
static shapeId = "com.amazonaws.translate#InvalidFilterException";
|
|
145
156
|
name = "InvalidFilterException";
|
|
146
157
|
$fault = "client";
|
|
147
158
|
Message;
|
|
@@ -156,6 +167,7 @@ export class InvalidFilterException extends __BaseException {
|
|
|
156
167
|
}
|
|
157
168
|
}
|
|
158
169
|
export class UnsupportedLanguagePairException extends __BaseException {
|
|
170
|
+
static shapeId = "com.amazonaws.translate#UnsupportedLanguagePairException";
|
|
159
171
|
name = "UnsupportedLanguagePairException";
|
|
160
172
|
$fault = "client";
|
|
161
173
|
Message;
|
|
@@ -174,6 +186,7 @@ export class UnsupportedLanguagePairException extends __BaseException {
|
|
|
174
186
|
}
|
|
175
187
|
}
|
|
176
188
|
export class ServiceUnavailableException extends __BaseException {
|
|
189
|
+
static shapeId = "com.amazonaws.translate#ServiceUnavailableException";
|
|
177
190
|
name = "ServiceUnavailableException";
|
|
178
191
|
$fault = "server";
|
|
179
192
|
Message;
|
|
@@ -188,6 +201,7 @@ export class ServiceUnavailableException extends __BaseException {
|
|
|
188
201
|
}
|
|
189
202
|
}
|
|
190
203
|
export class DetectedLanguageLowConfidenceException extends __BaseException {
|
|
204
|
+
static shapeId = "com.amazonaws.translate#DetectedLanguageLowConfidenceException";
|
|
191
205
|
name = "DetectedLanguageLowConfidenceException";
|
|
192
206
|
$fault = "client";
|
|
193
207
|
Message;
|
|
@@ -204,6 +218,7 @@ export class DetectedLanguageLowConfidenceException extends __BaseException {
|
|
|
204
218
|
}
|
|
205
219
|
}
|
|
206
220
|
export class TextSizeLimitExceededException extends __BaseException {
|
|
221
|
+
static shapeId = "com.amazonaws.translate#TextSizeLimitExceededException";
|
|
207
222
|
name = "TextSizeLimitExceededException";
|
|
208
223
|
$fault = "client";
|
|
209
224
|
Message;
|
|
@@ -6,6 +6,7 @@ import { TranslateServiceException as __BaseException } from "./TranslateService
|
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
8
|
export declare class ConcurrentModificationException extends __BaseException {
|
|
9
|
+
static readonly shapeId: string;
|
|
9
10
|
readonly name: "ConcurrentModificationException";
|
|
10
11
|
readonly $fault: "client";
|
|
11
12
|
Message?: string | undefined;
|
|
@@ -19,6 +20,7 @@ export declare class ConcurrentModificationException extends __BaseException {
|
|
|
19
20
|
* @public
|
|
20
21
|
*/
|
|
21
22
|
export declare class ConflictException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
22
24
|
readonly name: "ConflictException";
|
|
23
25
|
readonly $fault: "client";
|
|
24
26
|
Message?: string | undefined;
|
|
@@ -32,6 +34,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
32
34
|
* @public
|
|
33
35
|
*/
|
|
34
36
|
export declare class InternalServerException extends __BaseException {
|
|
37
|
+
static readonly shapeId: string;
|
|
35
38
|
readonly name: "InternalServerException";
|
|
36
39
|
readonly $fault: "server";
|
|
37
40
|
Message?: string | undefined;
|
|
@@ -46,6 +49,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
46
49
|
* @public
|
|
47
50
|
*/
|
|
48
51
|
export declare class InvalidParameterValueException extends __BaseException {
|
|
52
|
+
static readonly shapeId: string;
|
|
49
53
|
readonly name: "InvalidParameterValueException";
|
|
50
54
|
readonly $fault: "client";
|
|
51
55
|
Message?: string | undefined;
|
|
@@ -60,6 +64,7 @@ export declare class InvalidParameterValueException extends __BaseException {
|
|
|
60
64
|
* @public
|
|
61
65
|
*/
|
|
62
66
|
export declare class InvalidRequestException extends __BaseException {
|
|
67
|
+
static readonly shapeId: string;
|
|
63
68
|
readonly name: "InvalidRequestException";
|
|
64
69
|
readonly $fault: "client";
|
|
65
70
|
Message?: string | undefined;
|
|
@@ -74,6 +79,7 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
74
79
|
* @public
|
|
75
80
|
*/
|
|
76
81
|
export declare class LimitExceededException extends __BaseException {
|
|
82
|
+
static readonly shapeId: string;
|
|
77
83
|
readonly name: "LimitExceededException";
|
|
78
84
|
readonly $fault: "client";
|
|
79
85
|
Message?: string | undefined;
|
|
@@ -88,6 +94,7 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
88
94
|
* @public
|
|
89
95
|
*/
|
|
90
96
|
export declare class TooManyRequestsException extends __BaseException {
|
|
97
|
+
static readonly shapeId: string;
|
|
91
98
|
readonly name: "TooManyRequestsException";
|
|
92
99
|
readonly $fault: "client";
|
|
93
100
|
Message?: string | undefined;
|
|
@@ -101,6 +108,7 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
101
108
|
* @public
|
|
102
109
|
*/
|
|
103
110
|
export declare class TooManyTagsException extends __BaseException {
|
|
111
|
+
static readonly shapeId: string;
|
|
104
112
|
readonly name: "TooManyTagsException";
|
|
105
113
|
readonly $fault: "client";
|
|
106
114
|
ResourceArn?: string | undefined;
|
|
@@ -116,6 +124,7 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
116
124
|
* @public
|
|
117
125
|
*/
|
|
118
126
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
127
|
+
static readonly shapeId: string;
|
|
119
128
|
readonly name: "ResourceNotFoundException";
|
|
120
129
|
readonly $fault: "client";
|
|
121
130
|
Message?: string | undefined;
|
|
@@ -129,6 +138,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
129
138
|
* @public
|
|
130
139
|
*/
|
|
131
140
|
export declare class UnsupportedDisplayLanguageCodeException extends __BaseException {
|
|
141
|
+
static readonly shapeId: string;
|
|
132
142
|
readonly name: "UnsupportedDisplayLanguageCodeException";
|
|
133
143
|
readonly $fault: "client";
|
|
134
144
|
Message?: string | undefined;
|
|
@@ -147,6 +157,7 @@ export declare class UnsupportedDisplayLanguageCodeException extends __BaseExcep
|
|
|
147
157
|
* @public
|
|
148
158
|
*/
|
|
149
159
|
export declare class InvalidFilterException extends __BaseException {
|
|
160
|
+
static readonly shapeId: string;
|
|
150
161
|
readonly name: "InvalidFilterException";
|
|
151
162
|
readonly $fault: "client";
|
|
152
163
|
Message?: string | undefined;
|
|
@@ -161,6 +172,7 @@ export declare class InvalidFilterException extends __BaseException {
|
|
|
161
172
|
* @public
|
|
162
173
|
*/
|
|
163
174
|
export declare class UnsupportedLanguagePairException extends __BaseException {
|
|
175
|
+
static readonly shapeId: string;
|
|
164
176
|
readonly name: "UnsupportedLanguagePairException";
|
|
165
177
|
readonly $fault: "client";
|
|
166
178
|
Message?: string | undefined;
|
|
@@ -185,6 +197,7 @@ export declare class UnsupportedLanguagePairException extends __BaseException {
|
|
|
185
197
|
* @public
|
|
186
198
|
*/
|
|
187
199
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
200
|
+
static readonly shapeId: string;
|
|
188
201
|
readonly name: "ServiceUnavailableException";
|
|
189
202
|
readonly $fault: "server";
|
|
190
203
|
Message?: string | undefined;
|
|
@@ -201,6 +214,7 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
201
214
|
* @public
|
|
202
215
|
*/
|
|
203
216
|
export declare class DetectedLanguageLowConfidenceException extends __BaseException {
|
|
217
|
+
static readonly shapeId: string;
|
|
204
218
|
readonly name: "DetectedLanguageLowConfidenceException";
|
|
205
219
|
readonly $fault: "client";
|
|
206
220
|
Message?: string | undefined;
|
|
@@ -220,6 +234,7 @@ export declare class DetectedLanguageLowConfidenceException extends __BaseExcept
|
|
|
220
234
|
* @public
|
|
221
235
|
*/
|
|
222
236
|
export declare class TextSizeLimitExceededException extends __BaseException {
|
|
237
|
+
static readonly shapeId: string;
|
|
223
238
|
readonly name: "TextSizeLimitExceededException";
|
|
224
239
|
readonly $fault: "client";
|
|
225
240
|
Message?: string | undefined;
|
|
@@ -1,60 +1,70 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { TranslateServiceException as __BaseException } from "./TranslateServiceException";
|
|
3
3
|
export declare class ConcurrentModificationException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "ConcurrentModificationException";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
Message?: string | undefined;
|
|
7
8
|
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
8
9
|
}
|
|
9
10
|
export declare class ConflictException extends __BaseException {
|
|
11
|
+
static readonly shapeId: string;
|
|
10
12
|
readonly name: "ConflictException";
|
|
11
13
|
readonly $fault: "client";
|
|
12
14
|
Message?: string | undefined;
|
|
13
15
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
14
16
|
}
|
|
15
17
|
export declare class InternalServerException extends __BaseException {
|
|
18
|
+
static readonly shapeId: string;
|
|
16
19
|
readonly name: "InternalServerException";
|
|
17
20
|
readonly $fault: "server";
|
|
18
21
|
Message?: string | undefined;
|
|
19
22
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
20
23
|
}
|
|
21
24
|
export declare class InvalidParameterValueException extends __BaseException {
|
|
25
|
+
static readonly shapeId: string;
|
|
22
26
|
readonly name: "InvalidParameterValueException";
|
|
23
27
|
readonly $fault: "client";
|
|
24
28
|
Message?: string | undefined;
|
|
25
29
|
constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
|
|
26
30
|
}
|
|
27
31
|
export declare class InvalidRequestException extends __BaseException {
|
|
32
|
+
static readonly shapeId: string;
|
|
28
33
|
readonly name: "InvalidRequestException";
|
|
29
34
|
readonly $fault: "client";
|
|
30
35
|
Message?: string | undefined;
|
|
31
36
|
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
32
37
|
}
|
|
33
38
|
export declare class LimitExceededException extends __BaseException {
|
|
39
|
+
static readonly shapeId: string;
|
|
34
40
|
readonly name: "LimitExceededException";
|
|
35
41
|
readonly $fault: "client";
|
|
36
42
|
Message?: string | undefined;
|
|
37
43
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
38
44
|
}
|
|
39
45
|
export declare class TooManyRequestsException extends __BaseException {
|
|
46
|
+
static readonly shapeId: string;
|
|
40
47
|
readonly name: "TooManyRequestsException";
|
|
41
48
|
readonly $fault: "client";
|
|
42
49
|
Message?: string | undefined;
|
|
43
50
|
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
44
51
|
}
|
|
45
52
|
export declare class TooManyTagsException extends __BaseException {
|
|
53
|
+
static readonly shapeId: string;
|
|
46
54
|
readonly name: "TooManyTagsException";
|
|
47
55
|
readonly $fault: "client";
|
|
48
56
|
ResourceArn?: string | undefined;
|
|
49
57
|
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
50
58
|
}
|
|
51
59
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
60
|
+
static readonly shapeId: string;
|
|
52
61
|
readonly name: "ResourceNotFoundException";
|
|
53
62
|
readonly $fault: "client";
|
|
54
63
|
Message?: string | undefined;
|
|
55
64
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
56
65
|
}
|
|
57
66
|
export declare class UnsupportedDisplayLanguageCodeException extends __BaseException {
|
|
67
|
+
static readonly shapeId: string;
|
|
58
68
|
readonly name: "UnsupportedDisplayLanguageCodeException";
|
|
59
69
|
readonly $fault: "client";
|
|
60
70
|
Message?: string | undefined;
|
|
@@ -64,12 +74,14 @@ export declare class UnsupportedDisplayLanguageCodeException extends __BaseExcep
|
|
|
64
74
|
);
|
|
65
75
|
}
|
|
66
76
|
export declare class InvalidFilterException extends __BaseException {
|
|
77
|
+
static readonly shapeId: string;
|
|
67
78
|
readonly name: "InvalidFilterException";
|
|
68
79
|
readonly $fault: "client";
|
|
69
80
|
Message?: string | undefined;
|
|
70
81
|
constructor(opts: __ExceptionOptionType<InvalidFilterException, __BaseException>);
|
|
71
82
|
}
|
|
72
83
|
export declare class UnsupportedLanguagePairException extends __BaseException {
|
|
84
|
+
static readonly shapeId: string;
|
|
73
85
|
readonly name: "UnsupportedLanguagePairException";
|
|
74
86
|
readonly $fault: "client";
|
|
75
87
|
Message?: string | undefined;
|
|
@@ -78,12 +90,14 @@ export declare class UnsupportedLanguagePairException extends __BaseException {
|
|
|
78
90
|
constructor(opts: __ExceptionOptionType<UnsupportedLanguagePairException, __BaseException>);
|
|
79
91
|
}
|
|
80
92
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
93
|
+
static readonly shapeId: string;
|
|
81
94
|
readonly name: "ServiceUnavailableException";
|
|
82
95
|
readonly $fault: "server";
|
|
83
96
|
Message?: string | undefined;
|
|
84
97
|
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
85
98
|
}
|
|
86
99
|
export declare class DetectedLanguageLowConfidenceException extends __BaseException {
|
|
100
|
+
static readonly shapeId: string;
|
|
87
101
|
readonly name: "DetectedLanguageLowConfidenceException";
|
|
88
102
|
readonly $fault: "client";
|
|
89
103
|
Message?: string | undefined;
|
|
@@ -91,6 +105,7 @@ export declare class DetectedLanguageLowConfidenceException extends __BaseExcept
|
|
|
91
105
|
constructor(opts: __ExceptionOptionType<DetectedLanguageLowConfidenceException, __BaseException>);
|
|
92
106
|
}
|
|
93
107
|
export declare class TextSizeLimitExceededException extends __BaseException {
|
|
108
|
+
static readonly shapeId: string;
|
|
94
109
|
readonly name: "TextSizeLimitExceededException";
|
|
95
110
|
readonly $fault: "client";
|
|
96
111
|
Message?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-translate",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Translate Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-translate",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
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.
|
|
49
|
+
"@aws-sdk/core": "^3.978.2",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
52
|
+
"@smithy/core": "^3.35.2",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|