@aws-sdk/client-translate 3.986.0 → 3.988.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.
@@ -135,8 +135,8 @@ const _TDra = "TranslateDocument";
135
135
  const _TF = "TerminologyFile";
136
136
  const _TK = "TagKeys";
137
137
  const _TL = "TagList";
138
- const _TLC = "TargetLanguageCodes";
139
- const _TLCa = "TargetLanguageCode";
138
+ const _TLC = "TargetLanguageCode";
139
+ const _TLCa = "TargetLanguageCodes";
140
140
  const _TLe = "TermList";
141
141
  const _TMRE = "TooManyRequestsException";
142
142
  const _TMTE = "TooManyTagsException";
@@ -174,32 +174,118 @@ const _c = "client";
174
174
  const _e = "error";
175
175
  const _hE = "httpError";
176
176
  const _m = "message";
177
- const _s = "server";
178
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.translate";
177
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.translate";
178
+ const _se = "server";
179
179
  const n0 = "com.amazonaws.translate";
180
180
  import { TypeRegistry } from "@smithy/core/schema";
181
181
  import { ConcurrentModificationException, ConflictException, DetectedLanguageLowConfidenceException, InternalServerException, InvalidFilterException, InvalidParameterValueException, InvalidRequestException, LimitExceededException, ResourceNotFoundException, ServiceUnavailableException, TextSizeLimitExceededException, TooManyRequestsException, TooManyTagsException, UnsupportedDisplayLanguageCodeException, UnsupportedLanguagePairException, } from "../models/errors";
182
182
  import { TranslateServiceException } from "../models/TranslateServiceException";
183
- var DocumentContent = [0, n0, _DC, 8, 21];
184
- var TerminologyFile = [0, n0, _TF, 8, 21];
185
- var TranslatedDocumentContent = [0, n0, _TDC, 8, 21];
186
- export var AppliedTerminology$ = [3, n0, _AT,
187
- 0,
188
- [_N, _T],
189
- [0, () => TermList]
190
- ];
183
+ const _s_registry = TypeRegistry.for(_s);
184
+ export var TranslateServiceException$ = [-3, _s, "TranslateServiceException", 0, [], []];
185
+ _s_registry.registerError(TranslateServiceException$, TranslateServiceException);
186
+ const n0_registry = TypeRegistry.for(n0);
191
187
  export var ConcurrentModificationException$ = [-3, n0, _CME,
192
188
  { [_e]: _c, [_hE]: 409 },
193
189
  [_M],
194
190
  [0]
195
191
  ];
196
- TypeRegistry.for(n0).registerError(ConcurrentModificationException$, ConcurrentModificationException);
192
+ n0_registry.registerError(ConcurrentModificationException$, ConcurrentModificationException);
197
193
  export var ConflictException$ = [-3, n0, _CE,
198
194
  { [_e]: _c, [_hE]: 409 },
199
195
  [_M],
200
196
  [0]
201
197
  ];
202
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
198
+ n0_registry.registerError(ConflictException$, ConflictException);
199
+ export var DetectedLanguageLowConfidenceException$ = [-3, n0, _DLLCE,
200
+ { [_e]: _c, [_hE]: 400 },
201
+ [_M, _DLC],
202
+ [0, 0]
203
+ ];
204
+ n0_registry.registerError(DetectedLanguageLowConfidenceException$, DetectedLanguageLowConfidenceException);
205
+ export var InternalServerException$ = [-3, n0, _ISE,
206
+ { [_e]: _se, [_hE]: 500 },
207
+ [_M],
208
+ [0]
209
+ ];
210
+ n0_registry.registerError(InternalServerException$, InternalServerException);
211
+ export var InvalidFilterException$ = [-3, n0, _IFE,
212
+ { [_e]: _c, [_hE]: 400 },
213
+ [_M],
214
+ [0]
215
+ ];
216
+ n0_registry.registerError(InvalidFilterException$, InvalidFilterException);
217
+ export var InvalidParameterValueException$ = [-3, n0, _IPVE,
218
+ { [_e]: _c, [_hE]: 400 },
219
+ [_M],
220
+ [0]
221
+ ];
222
+ n0_registry.registerError(InvalidParameterValueException$, InvalidParameterValueException);
223
+ export var InvalidRequestException$ = [-3, n0, _IRE,
224
+ { [_e]: _c, [_hE]: 400 },
225
+ [_M],
226
+ [0]
227
+ ];
228
+ n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
229
+ export var LimitExceededException$ = [-3, n0, _LEE,
230
+ { [_e]: _c, [_hE]: 400 },
231
+ [_M],
232
+ [0]
233
+ ];
234
+ n0_registry.registerError(LimitExceededException$, LimitExceededException);
235
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
236
+ { [_e]: _c, [_hE]: 404 },
237
+ [_M],
238
+ [0]
239
+ ];
240
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
241
+ export var ServiceUnavailableException$ = [-3, n0, _SUE,
242
+ { [_e]: _se, [_hE]: 503 },
243
+ [_M],
244
+ [0]
245
+ ];
246
+ n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
247
+ export var TextSizeLimitExceededException$ = [-3, n0, _TSLEE,
248
+ { [_e]: _c, [_hE]: 400 },
249
+ [_M],
250
+ [0]
251
+ ];
252
+ n0_registry.registerError(TextSizeLimitExceededException$, TextSizeLimitExceededException);
253
+ export var TooManyRequestsException$ = [-3, n0, _TMRE,
254
+ { [_e]: _c, [_hE]: 429 },
255
+ [_M],
256
+ [0]
257
+ ];
258
+ n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
259
+ export var TooManyTagsException$ = [-3, n0, _TMTE,
260
+ { [_e]: _c, [_hE]: 400 },
261
+ [_m, _RA],
262
+ [0, 0]
263
+ ];
264
+ n0_registry.registerError(TooManyTagsException$, TooManyTagsException);
265
+ export var UnsupportedDisplayLanguageCodeException$ = [-3, n0, _UDLCE,
266
+ { [_e]: _c, [_hE]: 400 },
267
+ [_M, _DLCi],
268
+ [0, 0]
269
+ ];
270
+ n0_registry.registerError(UnsupportedDisplayLanguageCodeException$, UnsupportedDisplayLanguageCodeException);
271
+ export var UnsupportedLanguagePairException$ = [-3, n0, _ULPE,
272
+ { [_e]: _c, [_hE]: 400 },
273
+ [_M, _SLC, _TLC],
274
+ [0, 0, 0]
275
+ ];
276
+ n0_registry.registerError(UnsupportedLanguagePairException$, UnsupportedLanguagePairException);
277
+ export const errorTypeRegistries = [
278
+ _s_registry,
279
+ n0_registry,
280
+ ];
281
+ var DocumentContent = [0, n0, _DC, 8, 21];
282
+ var TerminologyFile = [0, n0, _TF, 8, 21];
283
+ var TranslatedDocumentContent = [0, n0, _TDC, 8, 21];
284
+ export var AppliedTerminology$ = [3, n0, _AT,
285
+ 0,
286
+ [_N, _T],
287
+ [0, () => TermList]
288
+ ];
203
289
  export var CreateParallelDataRequest$ = [3, n0, _CPDR,
204
290
  0,
205
291
  [_N, _PDC, _D, _EK, _CT, _Ta],
@@ -235,12 +321,6 @@ export var DescribeTextTranslationJobResponse$ = [3, n0, _DTTJRe,
235
321
  [_TTJP],
236
322
  [() => TextTranslationJobProperties$]
237
323
  ];
238
- export var DetectedLanguageLowConfidenceException$ = [-3, n0, _DLLCE,
239
- { [_e]: _c, [_hE]: 400 },
240
- [_M, _DLC],
241
- [0, 0]
242
- ];
243
- TypeRegistry.for(n0).registerError(DetectedLanguageLowConfidenceException$, DetectedLanguageLowConfidenceException);
244
324
  export var Document$ = [3, n0, _Do,
245
325
  0,
246
326
  [_C, _CTo],
@@ -286,30 +366,6 @@ export var InputDataConfig$ = [3, n0, _IDC,
286
366
  [_SU, _CTo],
287
367
  [0, 0], 2
288
368
  ];
289
- export var InternalServerException$ = [-3, n0, _ISE,
290
- { [_e]: _s, [_hE]: 500 },
291
- [_M],
292
- [0]
293
- ];
294
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
295
- export var InvalidFilterException$ = [-3, n0, _IFE,
296
- { [_e]: _c, [_hE]: 400 },
297
- [_M],
298
- [0]
299
- ];
300
- TypeRegistry.for(n0).registerError(InvalidFilterException$, InvalidFilterException);
301
- export var InvalidParameterValueException$ = [-3, n0, _IPVE,
302
- { [_e]: _c, [_hE]: 400 },
303
- [_M],
304
- [0]
305
- ];
306
- TypeRegistry.for(n0).registerError(InvalidParameterValueException$, InvalidParameterValueException);
307
- export var InvalidRequestException$ = [-3, n0, _IRE,
308
- { [_e]: _c, [_hE]: 400 },
309
- [_M],
310
- [0]
311
- ];
312
- TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
313
369
  export var JobDetails$ = [3, n0, _JD,
314
370
  0,
315
371
  [_TDCr, _DWEC, _IDCn],
@@ -320,12 +376,6 @@ export var Language$ = [3, n0, _L,
320
376
  [_LN, _LC],
321
377
  [0, 0], 2
322
378
  ];
323
- export var LimitExceededException$ = [-3, n0, _LEE,
324
- { [_e]: _c, [_hE]: 400 },
325
- [_M],
326
- [0]
327
- ];
328
- TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
329
379
  export var ListLanguagesRequest$ = [3, n0, _LLR,
330
380
  0,
331
381
  [_DLCi, _NT, _MR],
@@ -393,24 +443,12 @@ export var ParallelDataDataLocation$ = [3, n0, _PDDL,
393
443
  ];
394
444
  export var ParallelDataProperties$ = [3, n0, _PDP,
395
445
  0,
396
- [_N, _A, _D, _S, _SLC, _TLC, _PDC, _M, _IDS, _IRC, _FRC, _SRC, _EK, _CA, _LUA, _LUAS, _LUAA],
446
+ [_N, _A, _D, _S, _SLC, _TLCa, _PDC, _M, _IDS, _IRC, _FRC, _SRC, _EK, _CA, _LUA, _LUAS, _LUAA],
397
447
  [0, 0, 0, 0, 0, 64 | 0, () => ParallelDataConfig$, 0, 1, 1, 1, 1, () => EncryptionKey$, 4, 4, 0, 4]
398
448
  ];
399
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
400
- { [_e]: _c, [_hE]: 404 },
401
- [_M],
402
- [0]
403
- ];
404
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
405
- export var ServiceUnavailableException$ = [-3, n0, _SUE,
406
- { [_e]: _s, [_hE]: 503 },
407
- [_M],
408
- [0]
409
- ];
410
- TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
411
449
  export var StartTextTranslationJobRequest$ = [3, n0, _STTJR,
412
450
  0,
413
- [_IDC, _ODC, _DARA, _SLC, _TLC, _JN, _TN, _PDN, _CT, _Se],
451
+ [_IDC, _ODC, _DARA, _SLC, _TLCa, _JN, _TN, _PDN, _CT, _Se],
414
452
  [() => InputDataConfig$, () => OutputDataConfig$, 0, 0, 64 | 0, 0, 64 | 0, 64 | 0, [0, 4], () => TranslationSettings$], 5
415
453
  ];
416
454
  export var StartTextTranslationJobResponse$ = [3, n0, _STTJRt,
@@ -460,15 +498,9 @@ export var TerminologyDataLocation$ = [3, n0, _TDL,
460
498
  ];
461
499
  export var TerminologyProperties$ = [3, n0, _TP,
462
500
  0,
463
- [_N, _D, _A, _SLC, _TLC, _EK, _SB, _TC, _CA, _LUA, _Di, _M, _STC, _Fo],
501
+ [_N, _D, _A, _SLC, _TLCa, _EK, _SB, _TC, _CA, _LUA, _Di, _M, _STC, _Fo],
464
502
  [0, 0, 0, 0, 64 | 0, () => EncryptionKey$, 1, 1, 4, 4, 0, 0, 1, 0]
465
503
  ];
466
- export var TextSizeLimitExceededException$ = [-3, n0, _TSLEE,
467
- { [_e]: _c, [_hE]: 400 },
468
- [_M],
469
- [0]
470
- ];
471
- TypeRegistry.for(n0).registerError(TextSizeLimitExceededException$, TextSizeLimitExceededException);
472
504
  export var TextTranslationJobFilter$ = [3, n0, _TTJF,
473
505
  0,
474
506
  [_JN, _JS, _SBT, _SAT],
@@ -476,21 +508,9 @@ export var TextTranslationJobFilter$ = [3, n0, _TTJF,
476
508
  ];
477
509
  export var TextTranslationJobProperties$ = [3, n0, _TTJP,
478
510
  0,
479
- [_JI, _JN, _JS, _JD, _SLC, _TLC, _TN, _PDN, _M, _STu, _ET, _IDC, _ODC, _DARA, _Se],
511
+ [_JI, _JN, _JS, _JD, _SLC, _TLCa, _TN, _PDN, _M, _STu, _ET, _IDC, _ODC, _DARA, _Se],
480
512
  [0, 0, 0, () => JobDetails$, 0, 64 | 0, 64 | 0, 64 | 0, 0, 4, 4, () => InputDataConfig$, () => OutputDataConfig$, 0, () => TranslationSettings$]
481
513
  ];
482
- export var TooManyRequestsException$ = [-3, n0, _TMRE,
483
- { [_e]: _c, [_hE]: 429 },
484
- [_M],
485
- [0]
486
- ];
487
- TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
488
- export var TooManyTagsException$ = [-3, n0, _TMTE,
489
- { [_e]: _c, [_hE]: 400 },
490
- [_m, _RA],
491
- [0, 0]
492
- ];
493
- TypeRegistry.for(n0).registerError(TooManyTagsException$, TooManyTagsException);
494
514
  export var TranslatedDocument$ = [3, n0, _TDr,
495
515
  0,
496
516
  [_C],
@@ -498,22 +518,22 @@ export var TranslatedDocument$ = [3, n0, _TDr,
498
518
  ];
499
519
  export var TranslateDocumentRequest$ = [3, n0, _TDR,
500
520
  0,
501
- [_Do, _SLC, _TLCa, _TN, _Se],
521
+ [_Do, _SLC, _TLC, _TN, _Se],
502
522
  [[() => Document$, 0], 0, 0, 64 | 0, () => TranslationSettings$], 3
503
523
  ];
504
524
  export var TranslateDocumentResponse$ = [3, n0, _TDRr,
505
525
  0,
506
- [_TDr, _SLC, _TLCa, _ATp, _AS],
526
+ [_TDr, _SLC, _TLC, _ATp, _AS],
507
527
  [[() => TranslatedDocument$, 0], 0, 0, () => AppliedTerminologyList, () => TranslationSettings$], 3
508
528
  ];
509
529
  export var TranslateTextRequest$ = [3, n0, _TTR,
510
530
  0,
511
- [_Tex, _SLC, _TLCa, _TN, _Se],
531
+ [_Tex, _SLC, _TLC, _TN, _Se],
512
532
  [0, 0, 0, 64 | 0, () => TranslationSettings$], 3
513
533
  ];
514
534
  export var TranslateTextResponse$ = [3, n0, _TTRr,
515
535
  0,
516
- [_TTr, _SLC, _TLCa, _ATp, _AS],
536
+ [_TTr, _SLC, _TLC, _ATp, _AS],
517
537
  [0, 0, 0, () => AppliedTerminologyList, () => TranslationSettings$], 3
518
538
  ];
519
539
  export var TranslationSettings$ = [3, n0, _TS,
@@ -521,18 +541,6 @@ export var TranslationSettings$ = [3, n0, _TS,
521
541
  [_For, _P, _B],
522
542
  [0, 0, 0]
523
543
  ];
524
- export var UnsupportedDisplayLanguageCodeException$ = [-3, n0, _UDLCE,
525
- { [_e]: _c, [_hE]: 400 },
526
- [_M, _DLCi],
527
- [0, 0]
528
- ];
529
- TypeRegistry.for(n0).registerError(UnsupportedDisplayLanguageCodeException$, UnsupportedDisplayLanguageCodeException);
530
- export var UnsupportedLanguagePairException$ = [-3, n0, _ULPE,
531
- { [_e]: _c, [_hE]: 400 },
532
- [_M, _SLC, _TLCa],
533
- [0, 0, 0]
534
- ];
535
- TypeRegistry.for(n0).registerError(UnsupportedLanguagePairException$, UnsupportedLanguagePairException);
536
544
  export var UntagResourceRequest$ = [3, n0, _URR,
537
545
  0,
538
546
  [_RA, _TK],
@@ -554,8 +562,6 @@ export var UpdateParallelDataResponse$ = [3, n0, _UPDRp,
554
562
  [0, 0, 0, 4]
555
563
  ];
556
564
  var __Unit = "unit";
557
- export var TranslateServiceException$ = [-3, _sm, "TranslateServiceException", 0, [], []];
558
- TypeRegistry.for(_sm).registerError(TranslateServiceException$, TranslateServiceException);
559
565
  var AppliedTerminologyList = [1, n0, _ATL,
560
566
  0, () => AppliedTerminology$
561
567
  ];
@@ -1,7 +1,28 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var AppliedTerminology$: StaticStructureSchema;
3
+ export declare var TranslateServiceException$: StaticErrorSchema;
3
4
  export declare var ConcurrentModificationException$: StaticErrorSchema;
4
5
  export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var DetectedLanguageLowConfidenceException$: StaticErrorSchema;
7
+ export declare var InternalServerException$: StaticErrorSchema;
8
+ export declare var InvalidFilterException$: StaticErrorSchema;
9
+ export declare var InvalidParameterValueException$: StaticErrorSchema;
10
+ export declare var InvalidRequestException$: StaticErrorSchema;
11
+ export declare var LimitExceededException$: StaticErrorSchema;
12
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
13
+ export declare var ServiceUnavailableException$: StaticErrorSchema;
14
+ export declare var TextSizeLimitExceededException$: StaticErrorSchema;
15
+ export declare var TooManyRequestsException$: StaticErrorSchema;
16
+ export declare var TooManyTagsException$: StaticErrorSchema;
17
+ export declare var UnsupportedDisplayLanguageCodeException$: StaticErrorSchema;
18
+ export declare var UnsupportedLanguagePairException$: StaticErrorSchema;
19
+ /**
20
+ * TypeRegistry instances containing modeled errors.
21
+ * @internal
22
+ *
23
+ */
24
+ export declare const errorTypeRegistries: TypeRegistry[];
25
+ export declare var AppliedTerminology$: StaticStructureSchema;
5
26
  export declare var CreateParallelDataRequest$: StaticStructureSchema;
6
27
  export declare var CreateParallelDataResponse$: StaticStructureSchema;
7
28
  export declare var DeleteParallelDataRequest$: StaticStructureSchema;
@@ -9,7 +30,6 @@ export declare var DeleteParallelDataResponse$: StaticStructureSchema;
9
30
  export declare var DeleteTerminologyRequest$: StaticStructureSchema;
10
31
  export declare var DescribeTextTranslationJobRequest$: StaticStructureSchema;
11
32
  export declare var DescribeTextTranslationJobResponse$: StaticStructureSchema;
12
- export declare var DetectedLanguageLowConfidenceException$: StaticErrorSchema;
13
33
  export declare var Document$: StaticStructureSchema;
14
34
  export declare var EncryptionKey$: StaticStructureSchema;
15
35
  export declare var GetParallelDataRequest$: StaticStructureSchema;
@@ -19,13 +39,8 @@ export declare var GetTerminologyResponse$: StaticStructureSchema;
19
39
  export declare var ImportTerminologyRequest$: StaticStructureSchema;
20
40
  export declare var ImportTerminologyResponse$: StaticStructureSchema;
21
41
  export declare var InputDataConfig$: StaticStructureSchema;
22
- export declare var InternalServerException$: StaticErrorSchema;
23
- export declare var InvalidFilterException$: StaticErrorSchema;
24
- export declare var InvalidParameterValueException$: StaticErrorSchema;
25
- export declare var InvalidRequestException$: StaticErrorSchema;
26
42
  export declare var JobDetails$: StaticStructureSchema;
27
43
  export declare var Language$: StaticStructureSchema;
28
- export declare var LimitExceededException$: StaticErrorSchema;
29
44
  export declare var ListLanguagesRequest$: StaticStructureSchema;
30
45
  export declare var ListLanguagesResponse$: StaticStructureSchema;
31
46
  export declare var ListParallelDataRequest$: StaticStructureSchema;
@@ -40,8 +55,6 @@ export declare var OutputDataConfig$: StaticStructureSchema;
40
55
  export declare var ParallelDataConfig$: StaticStructureSchema;
41
56
  export declare var ParallelDataDataLocation$: StaticStructureSchema;
42
57
  export declare var ParallelDataProperties$: StaticStructureSchema;
43
- export declare var ResourceNotFoundException$: StaticErrorSchema;
44
- export declare var ServiceUnavailableException$: StaticErrorSchema;
45
58
  export declare var StartTextTranslationJobRequest$: StaticStructureSchema;
46
59
  export declare var StartTextTranslationJobResponse$: StaticStructureSchema;
47
60
  export declare var StopTextTranslationJobRequest$: StaticStructureSchema;
@@ -53,24 +66,18 @@ export declare var Term$: StaticStructureSchema;
53
66
  export declare var TerminologyData$: StaticStructureSchema;
54
67
  export declare var TerminologyDataLocation$: StaticStructureSchema;
55
68
  export declare var TerminologyProperties$: StaticStructureSchema;
56
- export declare var TextSizeLimitExceededException$: StaticErrorSchema;
57
69
  export declare var TextTranslationJobFilter$: StaticStructureSchema;
58
70
  export declare var TextTranslationJobProperties$: StaticStructureSchema;
59
- export declare var TooManyRequestsException$: StaticErrorSchema;
60
- export declare var TooManyTagsException$: StaticErrorSchema;
61
71
  export declare var TranslatedDocument$: StaticStructureSchema;
62
72
  export declare var TranslateDocumentRequest$: StaticStructureSchema;
63
73
  export declare var TranslateDocumentResponse$: StaticStructureSchema;
64
74
  export declare var TranslateTextRequest$: StaticStructureSchema;
65
75
  export declare var TranslateTextResponse$: StaticStructureSchema;
66
76
  export declare var TranslationSettings$: StaticStructureSchema;
67
- export declare var UnsupportedDisplayLanguageCodeException$: StaticErrorSchema;
68
- export declare var UnsupportedLanguagePairException$: StaticErrorSchema;
69
77
  export declare var UntagResourceRequest$: StaticStructureSchema;
70
78
  export declare var UntagResourceResponse$: StaticStructureSchema;
71
79
  export declare var UpdateParallelDataRequest$: StaticStructureSchema;
72
80
  export declare var UpdateParallelDataResponse$: StaticStructureSchema;
73
- export declare var TranslateServiceException$: StaticErrorSchema;
74
81
  export declare var CreateParallelData$: StaticOperationSchema;
75
82
  export declare var DeleteParallelData$: StaticOperationSchema;
76
83
  export declare var DeleteTerminology$: StaticOperationSchema;
@@ -1,11 +1,27 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
6
- export declare var AppliedTerminology$: StaticStructureSchema;
7
+ export declare var TranslateServiceException$: StaticErrorSchema;
7
8
  export declare var ConcurrentModificationException$: StaticErrorSchema;
8
9
  export declare var ConflictException$: StaticErrorSchema;
10
+ export declare var DetectedLanguageLowConfidenceException$: StaticErrorSchema;
11
+ export declare var InternalServerException$: StaticErrorSchema;
12
+ export declare var InvalidFilterException$: StaticErrorSchema;
13
+ export declare var InvalidParameterValueException$: StaticErrorSchema;
14
+ export declare var InvalidRequestException$: StaticErrorSchema;
15
+ export declare var LimitExceededException$: StaticErrorSchema;
16
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
17
+ export declare var ServiceUnavailableException$: StaticErrorSchema;
18
+ export declare var TextSizeLimitExceededException$: StaticErrorSchema;
19
+ export declare var TooManyRequestsException$: StaticErrorSchema;
20
+ export declare var TooManyTagsException$: StaticErrorSchema;
21
+ export declare var UnsupportedDisplayLanguageCodeException$: StaticErrorSchema;
22
+ export declare var UnsupportedLanguagePairException$: StaticErrorSchema;
23
+ export declare const errorTypeRegistries: TypeRegistry[];
24
+ export declare var AppliedTerminology$: StaticStructureSchema;
9
25
  export declare var CreateParallelDataRequest$: StaticStructureSchema;
10
26
  export declare var CreateParallelDataResponse$: StaticStructureSchema;
11
27
  export declare var DeleteParallelDataRequest$: StaticStructureSchema;
@@ -13,7 +29,6 @@ export declare var DeleteParallelDataResponse$: StaticStructureSchema;
13
29
  export declare var DeleteTerminologyRequest$: StaticStructureSchema;
14
30
  export declare var DescribeTextTranslationJobRequest$: StaticStructureSchema;
15
31
  export declare var DescribeTextTranslationJobResponse$: StaticStructureSchema;
16
- export declare var DetectedLanguageLowConfidenceException$: StaticErrorSchema;
17
32
  export declare var Document$: StaticStructureSchema;
18
33
  export declare var EncryptionKey$: StaticStructureSchema;
19
34
  export declare var GetParallelDataRequest$: StaticStructureSchema;
@@ -23,13 +38,8 @@ export declare var GetTerminologyResponse$: StaticStructureSchema;
23
38
  export declare var ImportTerminologyRequest$: StaticStructureSchema;
24
39
  export declare var ImportTerminologyResponse$: StaticStructureSchema;
25
40
  export declare var InputDataConfig$: StaticStructureSchema;
26
- export declare var InternalServerException$: StaticErrorSchema;
27
- export declare var InvalidFilterException$: StaticErrorSchema;
28
- export declare var InvalidParameterValueException$: StaticErrorSchema;
29
- export declare var InvalidRequestException$: StaticErrorSchema;
30
41
  export declare var JobDetails$: StaticStructureSchema;
31
42
  export declare var Language$: StaticStructureSchema;
32
- export declare var LimitExceededException$: StaticErrorSchema;
33
43
  export declare var ListLanguagesRequest$: StaticStructureSchema;
34
44
  export declare var ListLanguagesResponse$: StaticStructureSchema;
35
45
  export declare var ListParallelDataRequest$: StaticStructureSchema;
@@ -44,8 +54,6 @@ export declare var OutputDataConfig$: StaticStructureSchema;
44
54
  export declare var ParallelDataConfig$: StaticStructureSchema;
45
55
  export declare var ParallelDataDataLocation$: StaticStructureSchema;
46
56
  export declare var ParallelDataProperties$: StaticStructureSchema;
47
- export declare var ResourceNotFoundException$: StaticErrorSchema;
48
- export declare var ServiceUnavailableException$: StaticErrorSchema;
49
57
  export declare var StartTextTranslationJobRequest$: StaticStructureSchema;
50
58
  export declare var StartTextTranslationJobResponse$: StaticStructureSchema;
51
59
  export declare var StopTextTranslationJobRequest$: StaticStructureSchema;
@@ -57,24 +65,18 @@ export declare var Term$: StaticStructureSchema;
57
65
  export declare var TerminologyData$: StaticStructureSchema;
58
66
  export declare var TerminologyDataLocation$: StaticStructureSchema;
59
67
  export declare var TerminologyProperties$: StaticStructureSchema;
60
- export declare var TextSizeLimitExceededException$: StaticErrorSchema;
61
68
  export declare var TextTranslationJobFilter$: StaticStructureSchema;
62
69
  export declare var TextTranslationJobProperties$: StaticStructureSchema;
63
- export declare var TooManyRequestsException$: StaticErrorSchema;
64
- export declare var TooManyTagsException$: StaticErrorSchema;
65
70
  export declare var TranslatedDocument$: StaticStructureSchema;
66
71
  export declare var TranslateDocumentRequest$: StaticStructureSchema;
67
72
  export declare var TranslateDocumentResponse$: StaticStructureSchema;
68
73
  export declare var TranslateTextRequest$: StaticStructureSchema;
69
74
  export declare var TranslateTextResponse$: StaticStructureSchema;
70
75
  export declare var TranslationSettings$: StaticStructureSchema;
71
- export declare var UnsupportedDisplayLanguageCodeException$: StaticErrorSchema;
72
- export declare var UnsupportedLanguagePairException$: StaticErrorSchema;
73
76
  export declare var UntagResourceRequest$: StaticStructureSchema;
74
77
  export declare var UntagResourceResponse$: StaticStructureSchema;
75
78
  export declare var UpdateParallelDataRequest$: StaticStructureSchema;
76
79
  export declare var UpdateParallelDataResponse$: StaticStructureSchema;
77
- export declare var TranslateServiceException$: StaticErrorSchema;
78
80
  export declare var CreateParallelData$: StaticOperationSchema;
79
81
  export declare var DeleteParallelData$: StaticOperationSchema;
80
82
  export declare var DeleteTerminology$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-translate",
3
3
  "description": "AWS SDK for JavaScript Translate Client for Node.js, Browser and React Native",
4
- "version": "3.986.0",
4
+ "version": "3.988.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-translate",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.8",
25
+ "@aws-sdk/credential-provider-node": "^3.972.7",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.8",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.986.0",
32
+ "@aws-sdk/util-endpoints": "3.988.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.6",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",