@aws-sdk/client-translate 3.987.0 → 3.989.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
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var TranslateServiceException = require('./models/TranslateServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,866 +113,6 @@ class TranslateClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class TranslateServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, TranslateServiceException.prototype);
117
- }
118
- }
119
-
120
- class ConcurrentModificationException extends TranslateServiceException {
121
- name = "ConcurrentModificationException";
122
- $fault = "client";
123
- Message;
124
- constructor(opts) {
125
- super({
126
- name: "ConcurrentModificationException",
127
- $fault: "client",
128
- ...opts,
129
- });
130
- Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
131
- this.Message = opts.Message;
132
- }
133
- }
134
- class ConflictException extends TranslateServiceException {
135
- name = "ConflictException";
136
- $fault = "client";
137
- Message;
138
- constructor(opts) {
139
- super({
140
- name: "ConflictException",
141
- $fault: "client",
142
- ...opts,
143
- });
144
- Object.setPrototypeOf(this, ConflictException.prototype);
145
- this.Message = opts.Message;
146
- }
147
- }
148
- class InternalServerException extends TranslateServiceException {
149
- name = "InternalServerException";
150
- $fault = "server";
151
- Message;
152
- constructor(opts) {
153
- super({
154
- name: "InternalServerException",
155
- $fault: "server",
156
- ...opts,
157
- });
158
- Object.setPrototypeOf(this, InternalServerException.prototype);
159
- this.Message = opts.Message;
160
- }
161
- }
162
- class InvalidParameterValueException extends TranslateServiceException {
163
- name = "InvalidParameterValueException";
164
- $fault = "client";
165
- Message;
166
- constructor(opts) {
167
- super({
168
- name: "InvalidParameterValueException",
169
- $fault: "client",
170
- ...opts,
171
- });
172
- Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
173
- this.Message = opts.Message;
174
- }
175
- }
176
- class InvalidRequestException extends TranslateServiceException {
177
- name = "InvalidRequestException";
178
- $fault = "client";
179
- Message;
180
- constructor(opts) {
181
- super({
182
- name: "InvalidRequestException",
183
- $fault: "client",
184
- ...opts,
185
- });
186
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
187
- this.Message = opts.Message;
188
- }
189
- }
190
- class LimitExceededException extends TranslateServiceException {
191
- name = "LimitExceededException";
192
- $fault = "client";
193
- Message;
194
- constructor(opts) {
195
- super({
196
- name: "LimitExceededException",
197
- $fault: "client",
198
- ...opts,
199
- });
200
- Object.setPrototypeOf(this, LimitExceededException.prototype);
201
- this.Message = opts.Message;
202
- }
203
- }
204
- class TooManyRequestsException extends TranslateServiceException {
205
- name = "TooManyRequestsException";
206
- $fault = "client";
207
- Message;
208
- constructor(opts) {
209
- super({
210
- name: "TooManyRequestsException",
211
- $fault: "client",
212
- ...opts,
213
- });
214
- Object.setPrototypeOf(this, TooManyRequestsException.prototype);
215
- this.Message = opts.Message;
216
- }
217
- }
218
- class TooManyTagsException extends TranslateServiceException {
219
- name = "TooManyTagsException";
220
- $fault = "client";
221
- ResourceArn;
222
- constructor(opts) {
223
- super({
224
- name: "TooManyTagsException",
225
- $fault: "client",
226
- ...opts,
227
- });
228
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
229
- this.ResourceArn = opts.ResourceArn;
230
- }
231
- }
232
- class ResourceNotFoundException extends TranslateServiceException {
233
- name = "ResourceNotFoundException";
234
- $fault = "client";
235
- Message;
236
- constructor(opts) {
237
- super({
238
- name: "ResourceNotFoundException",
239
- $fault: "client",
240
- ...opts,
241
- });
242
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
243
- this.Message = opts.Message;
244
- }
245
- }
246
- class UnsupportedDisplayLanguageCodeException extends TranslateServiceException {
247
- name = "UnsupportedDisplayLanguageCodeException";
248
- $fault = "client";
249
- Message;
250
- DisplayLanguageCode;
251
- constructor(opts) {
252
- super({
253
- name: "UnsupportedDisplayLanguageCodeException",
254
- $fault: "client",
255
- ...opts,
256
- });
257
- Object.setPrototypeOf(this, UnsupportedDisplayLanguageCodeException.prototype);
258
- this.Message = opts.Message;
259
- this.DisplayLanguageCode = opts.DisplayLanguageCode;
260
- }
261
- }
262
- class InvalidFilterException extends TranslateServiceException {
263
- name = "InvalidFilterException";
264
- $fault = "client";
265
- Message;
266
- constructor(opts) {
267
- super({
268
- name: "InvalidFilterException",
269
- $fault: "client",
270
- ...opts,
271
- });
272
- Object.setPrototypeOf(this, InvalidFilterException.prototype);
273
- this.Message = opts.Message;
274
- }
275
- }
276
- class UnsupportedLanguagePairException extends TranslateServiceException {
277
- name = "UnsupportedLanguagePairException";
278
- $fault = "client";
279
- Message;
280
- SourceLanguageCode;
281
- TargetLanguageCode;
282
- constructor(opts) {
283
- super({
284
- name: "UnsupportedLanguagePairException",
285
- $fault: "client",
286
- ...opts,
287
- });
288
- Object.setPrototypeOf(this, UnsupportedLanguagePairException.prototype);
289
- this.Message = opts.Message;
290
- this.SourceLanguageCode = opts.SourceLanguageCode;
291
- this.TargetLanguageCode = opts.TargetLanguageCode;
292
- }
293
- }
294
- class ServiceUnavailableException extends TranslateServiceException {
295
- name = "ServiceUnavailableException";
296
- $fault = "server";
297
- Message;
298
- constructor(opts) {
299
- super({
300
- name: "ServiceUnavailableException",
301
- $fault: "server",
302
- ...opts,
303
- });
304
- Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
305
- this.Message = opts.Message;
306
- }
307
- }
308
- class DetectedLanguageLowConfidenceException extends TranslateServiceException {
309
- name = "DetectedLanguageLowConfidenceException";
310
- $fault = "client";
311
- Message;
312
- DetectedLanguageCode;
313
- constructor(opts) {
314
- super({
315
- name: "DetectedLanguageLowConfidenceException",
316
- $fault: "client",
317
- ...opts,
318
- });
319
- Object.setPrototypeOf(this, DetectedLanguageLowConfidenceException.prototype);
320
- this.Message = opts.Message;
321
- this.DetectedLanguageCode = opts.DetectedLanguageCode;
322
- }
323
- }
324
- class TextSizeLimitExceededException extends TranslateServiceException {
325
- name = "TextSizeLimitExceededException";
326
- $fault = "client";
327
- Message;
328
- constructor(opts) {
329
- super({
330
- name: "TextSizeLimitExceededException",
331
- $fault: "client",
332
- ...opts,
333
- });
334
- Object.setPrototypeOf(this, TextSizeLimitExceededException.prototype);
335
- this.Message = opts.Message;
336
- }
337
- }
338
-
339
- const _A = "Arn";
340
- const _ADL = "AuxiliaryDataLocation";
341
- const _AS = "AppliedSettings";
342
- const _AT = "AppliedTerminology";
343
- const _ATL = "AppliedTerminologyList";
344
- const _ATp = "AppliedTerminologies";
345
- const _B = "Brevity";
346
- const _C = "Content";
347
- const _CA = "CreatedAt";
348
- const _CE = "ConflictException";
349
- const _CME = "ConcurrentModificationException";
350
- const _CPD = "CreateParallelData";
351
- const _CPDR = "CreateParallelDataRequest";
352
- const _CPDRr = "CreateParallelDataResponse";
353
- const _CT = "ClientToken";
354
- const _CTo = "ContentType";
355
- const _D = "Description";
356
- const _DARA = "DataAccessRoleArn";
357
- const _DC = "DocumentContent";
358
- const _DL = "DataLocation";
359
- const _DLC = "DetectedLanguageCode";
360
- const _DLCi = "DisplayLanguageCode";
361
- const _DLLCE = "DetectedLanguageLowConfidenceException";
362
- const _DPD = "DeleteParallelData";
363
- const _DPDR = "DeleteParallelDataRequest";
364
- const _DPDRe = "DeleteParallelDataResponse";
365
- const _DT = "DeleteTerminology";
366
- const _DTR = "DeleteTerminologyRequest";
367
- const _DTTJ = "DescribeTextTranslationJob";
368
- const _DTTJR = "DescribeTextTranslationJobRequest";
369
- const _DTTJRe = "DescribeTextTranslationJobResponse";
370
- const _DWEC = "DocumentsWithErrorsCount";
371
- const _Di = "Directionality";
372
- const _Do = "Document";
373
- const _EK = "EncryptionKey";
374
- const _ET = "EndTime";
375
- const _F = "Filter";
376
- const _FRC = "FailedRecordCount";
377
- const _Fi = "File";
378
- const _Fo = "Format";
379
- const _For = "Formality";
380
- const _GPD = "GetParallelData";
381
- const _GPDR = "GetParallelDataRequest";
382
- const _GPDRe = "GetParallelDataResponse";
383
- const _GT = "GetTerminology";
384
- const _GTR = "GetTerminologyRequest";
385
- const _GTRe = "GetTerminologyResponse";
386
- const _I = "Id";
387
- const _IDC = "InputDataConfig";
388
- const _IDCn = "InputDocumentsCount";
389
- const _IDS = "ImportedDataSize";
390
- const _IFE = "InvalidFilterException";
391
- const _IPVE = "InvalidParameterValueException";
392
- const _IRC = "ImportedRecordCount";
393
- const _IRE = "InvalidRequestException";
394
- const _ISE = "InternalServerException";
395
- const _IT = "ImportTerminology";
396
- const _ITR = "ImportTerminologyRequest";
397
- const _ITRm = "ImportTerminologyResponse";
398
- const _JD = "JobDetails";
399
- const _JI = "JobId";
400
- const _JN = "JobName";
401
- const _JS = "JobStatus";
402
- const _K = "Key";
403
- const _L = "Language";
404
- const _LC = "LanguageCode";
405
- const _LEE = "LimitExceededException";
406
- const _LL = "LanguagesList";
407
- const _LLR = "ListLanguagesRequest";
408
- const _LLRi = "ListLanguagesResponse";
409
- const _LLi = "ListLanguages";
410
- const _LN = "LanguageName";
411
- const _LPD = "ListParallelData";
412
- const _LPDR = "ListParallelDataRequest";
413
- const _LPDRi = "ListParallelDataResponse";
414
- const _LT = "ListTerminologies";
415
- const _LTFR = "ListTagsForResource";
416
- const _LTFRR = "ListTagsForResourceRequest";
417
- const _LTFRRi = "ListTagsForResourceResponse";
418
- const _LTR = "ListTerminologiesRequest";
419
- const _LTRi = "ListTerminologiesResponse";
420
- const _LTTJ = "ListTextTranslationJobs";
421
- const _LTTJR = "ListTextTranslationJobsRequest";
422
- const _LTTJRi = "ListTextTranslationJobsResponse";
423
- const _LUA = "LastUpdatedAt";
424
- const _LUAA = "LatestUpdateAttemptAt";
425
- const _LUAADL = "LatestUpdateAttemptAuxiliaryDataLocation";
426
- const _LUAS = "LatestUpdateAttemptStatus";
427
- const _La = "Languages";
428
- const _Lo = "Location";
429
- const _M = "Message";
430
- const _MR = "MaxResults";
431
- const _MS = "MergeStrategy";
432
- const _N = "Name";
433
- const _NT = "NextToken";
434
- const _ODC = "OutputDataConfig";
435
- const _P = "Profanity";
436
- const _PDC = "ParallelDataConfig";
437
- const _PDDL = "ParallelDataDataLocation";
438
- const _PDN = "ParallelDataNames";
439
- const _PDP = "ParallelDataProperties";
440
- const _PDPL = "ParallelDataPropertiesList";
441
- const _RA = "ResourceArn";
442
- const _RNFE = "ResourceNotFoundException";
443
- const _RT = "RepositoryType";
444
- const _S = "Status";
445
- const _SAT = "SubmittedAfterTime";
446
- const _SB = "SizeBytes";
447
- const _SBT = "SubmittedBeforeTime";
448
- const _SLC = "SourceLanguageCode";
449
- const _SRC = "SkippedRecordCount";
450
- const _ST = "SourceText";
451
- const _STC = "SkippedTermCount";
452
- const _STTJ = "StartTextTranslationJob";
453
- const _STTJR = "StartTextTranslationJobRequest";
454
- const _STTJRt = "StartTextTranslationJobResponse";
455
- const _STTJRto = "StopTextTranslationJobRequest";
456
- const _STTJRtop = "StopTextTranslationJobResponse";
457
- const _STTJt = "StopTextTranslationJob";
458
- const _STu = "SubmittedTime";
459
- const _SU = "S3Uri";
460
- const _SUE = "ServiceUnavailableException";
461
- const _Se = "Settings";
462
- const _T = "Terms";
463
- const _TC = "TermCount";
464
- const _TD = "TerminologyData";
465
- const _TDC = "TranslatedDocumentContent";
466
- const _TDCr = "TranslatedDocumentsCount";
467
- const _TDF = "TerminologyDataFormat";
468
- const _TDL = "TerminologyDataLocation";
469
- const _TDR = "TranslateDocumentRequest";
470
- const _TDRr = "TranslateDocumentResponse";
471
- const _TDr = "TranslatedDocument";
472
- const _TDra = "TranslateDocument";
473
- const _TF = "TerminologyFile";
474
- const _TK = "TagKeys";
475
- const _TL = "TagList";
476
- const _TLC = "TargetLanguageCodes";
477
- const _TLCa = "TargetLanguageCode";
478
- const _TLe = "TermList";
479
- const _TMRE = "TooManyRequestsException";
480
- const _TMTE = "TooManyTagsException";
481
- const _TN = "TerminologyNames";
482
- const _TP = "TerminologyProperties";
483
- const _TPL = "TerminologyPropertiesList";
484
- const _TR = "TagResource";
485
- const _TRR = "TagResourceRequest";
486
- const _TRRa = "TagResourceResponse";
487
- const _TS = "TranslationSettings";
488
- const _TSLEE = "TextSizeLimitExceededException";
489
- const _TT = "TargetText";
490
- const _TTJF = "TextTranslationJobFilter";
491
- const _TTJP = "TextTranslationJobProperties";
492
- const _TTJPL = "TextTranslationJobPropertiesList";
493
- const _TTR = "TranslateTextRequest";
494
- const _TTRr = "TranslateTextResponse";
495
- const _TTr = "TranslatedText";
496
- const _TTra = "TranslateText";
497
- const _Ta = "Tags";
498
- const _Tag = "Tag";
499
- const _Te = "Term";
500
- const _Tex = "Text";
501
- const _Ty = "Type";
502
- const _UDLCE = "UnsupportedDisplayLanguageCodeException";
503
- const _ULPE = "UnsupportedLanguagePairException";
504
- const _UPD = "UpdateParallelData";
505
- const _UPDR = "UpdateParallelDataRequest";
506
- const _UPDRp = "UpdateParallelDataResponse";
507
- const _UR = "UntagResource";
508
- const _URR = "UntagResourceRequest";
509
- const _URRn = "UntagResourceResponse";
510
- const _V = "Value";
511
- const _c = "client";
512
- const _e = "error";
513
- const _hE = "httpError";
514
- const _m = "message";
515
- const _s = "server";
516
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.translate";
517
- const n0 = "com.amazonaws.translate";
518
- var DocumentContent = [0, n0, _DC, 8, 21];
519
- var TerminologyFile = [0, n0, _TF, 8, 21];
520
- var TranslatedDocumentContent = [0, n0, _TDC, 8, 21];
521
- var AppliedTerminology$ = [3, n0, _AT,
522
- 0,
523
- [_N, _T],
524
- [0, () => TermList]
525
- ];
526
- var ConcurrentModificationException$ = [-3, n0, _CME,
527
- { [_e]: _c, [_hE]: 409 },
528
- [_M],
529
- [0]
530
- ];
531
- schema.TypeRegistry.for(n0).registerError(ConcurrentModificationException$, ConcurrentModificationException);
532
- var ConflictException$ = [-3, n0, _CE,
533
- { [_e]: _c, [_hE]: 409 },
534
- [_M],
535
- [0]
536
- ];
537
- schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
538
- var CreateParallelDataRequest$ = [3, n0, _CPDR,
539
- 0,
540
- [_N, _PDC, _D, _EK, _CT, _Ta],
541
- [0, () => ParallelDataConfig$, 0, () => EncryptionKey$, [0, 4], () => TagList], 2
542
- ];
543
- var CreateParallelDataResponse$ = [3, n0, _CPDRr,
544
- 0,
545
- [_N, _S],
546
- [0, 0]
547
- ];
548
- var DeleteParallelDataRequest$ = [3, n0, _DPDR,
549
- 0,
550
- [_N],
551
- [0], 1
552
- ];
553
- var DeleteParallelDataResponse$ = [3, n0, _DPDRe,
554
- 0,
555
- [_N, _S],
556
- [0, 0]
557
- ];
558
- var DeleteTerminologyRequest$ = [3, n0, _DTR,
559
- 0,
560
- [_N],
561
- [0], 1
562
- ];
563
- var DescribeTextTranslationJobRequest$ = [3, n0, _DTTJR,
564
- 0,
565
- [_JI],
566
- [0], 1
567
- ];
568
- var DescribeTextTranslationJobResponse$ = [3, n0, _DTTJRe,
569
- 0,
570
- [_TTJP],
571
- [() => TextTranslationJobProperties$]
572
- ];
573
- var DetectedLanguageLowConfidenceException$ = [-3, n0, _DLLCE,
574
- { [_e]: _c, [_hE]: 400 },
575
- [_M, _DLC],
576
- [0, 0]
577
- ];
578
- schema.TypeRegistry.for(n0).registerError(DetectedLanguageLowConfidenceException$, DetectedLanguageLowConfidenceException);
579
- var Document$ = [3, n0, _Do,
580
- 0,
581
- [_C, _CTo],
582
- [[() => DocumentContent, 0], 0], 2
583
- ];
584
- var EncryptionKey$ = [3, n0, _EK,
585
- 0,
586
- [_Ty, _I],
587
- [0, 0], 2
588
- ];
589
- var GetParallelDataRequest$ = [3, n0, _GPDR,
590
- 0,
591
- [_N],
592
- [0], 1
593
- ];
594
- var GetParallelDataResponse$ = [3, n0, _GPDRe,
595
- 0,
596
- [_PDP, _DL, _ADL, _LUAADL],
597
- [() => ParallelDataProperties$, () => ParallelDataDataLocation$, () => ParallelDataDataLocation$, () => ParallelDataDataLocation$]
598
- ];
599
- var GetTerminologyRequest$ = [3, n0, _GTR,
600
- 0,
601
- [_N, _TDF],
602
- [0, 0], 1
603
- ];
604
- var GetTerminologyResponse$ = [3, n0, _GTRe,
605
- 0,
606
- [_TP, _TDL, _ADL],
607
- [() => TerminologyProperties$, () => TerminologyDataLocation$, () => TerminologyDataLocation$]
608
- ];
609
- var ImportTerminologyRequest$ = [3, n0, _ITR,
610
- 0,
611
- [_N, _MS, _TD, _D, _EK, _Ta],
612
- [0, 0, [() => TerminologyData$, 0], 0, () => EncryptionKey$, () => TagList], 3
613
- ];
614
- var ImportTerminologyResponse$ = [3, n0, _ITRm,
615
- 0,
616
- [_TP, _ADL],
617
- [() => TerminologyProperties$, () => TerminologyDataLocation$]
618
- ];
619
- var InputDataConfig$ = [3, n0, _IDC,
620
- 0,
621
- [_SU, _CTo],
622
- [0, 0], 2
623
- ];
624
- var InternalServerException$ = [-3, n0, _ISE,
625
- { [_e]: _s, [_hE]: 500 },
626
- [_M],
627
- [0]
628
- ];
629
- schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
630
- var InvalidFilterException$ = [-3, n0, _IFE,
631
- { [_e]: _c, [_hE]: 400 },
632
- [_M],
633
- [0]
634
- ];
635
- schema.TypeRegistry.for(n0).registerError(InvalidFilterException$, InvalidFilterException);
636
- var InvalidParameterValueException$ = [-3, n0, _IPVE,
637
- { [_e]: _c, [_hE]: 400 },
638
- [_M],
639
- [0]
640
- ];
641
- schema.TypeRegistry.for(n0).registerError(InvalidParameterValueException$, InvalidParameterValueException);
642
- var InvalidRequestException$ = [-3, n0, _IRE,
643
- { [_e]: _c, [_hE]: 400 },
644
- [_M],
645
- [0]
646
- ];
647
- schema.TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
648
- var JobDetails$ = [3, n0, _JD,
649
- 0,
650
- [_TDCr, _DWEC, _IDCn],
651
- [1, 1, 1]
652
- ];
653
- var Language$ = [3, n0, _L,
654
- 0,
655
- [_LN, _LC],
656
- [0, 0], 2
657
- ];
658
- var LimitExceededException$ = [-3, n0, _LEE,
659
- { [_e]: _c, [_hE]: 400 },
660
- [_M],
661
- [0]
662
- ];
663
- schema.TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
664
- var ListLanguagesRequest$ = [3, n0, _LLR,
665
- 0,
666
- [_DLCi, _NT, _MR],
667
- [0, 0, 1]
668
- ];
669
- var ListLanguagesResponse$ = [3, n0, _LLRi,
670
- 0,
671
- [_La, _DLCi, _NT],
672
- [() => LanguagesList, 0, 0]
673
- ];
674
- var ListParallelDataRequest$ = [3, n0, _LPDR,
675
- 0,
676
- [_NT, _MR],
677
- [0, 1]
678
- ];
679
- var ListParallelDataResponse$ = [3, n0, _LPDRi,
680
- 0,
681
- [_PDPL, _NT],
682
- [() => ParallelDataPropertiesList, 0]
683
- ];
684
- var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
685
- 0,
686
- [_RA],
687
- [0], 1
688
- ];
689
- var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
690
- 0,
691
- [_Ta],
692
- [() => TagList]
693
- ];
694
- var ListTerminologiesRequest$ = [3, n0, _LTR,
695
- 0,
696
- [_NT, _MR],
697
- [0, 1]
698
- ];
699
- var ListTerminologiesResponse$ = [3, n0, _LTRi,
700
- 0,
701
- [_TPL, _NT],
702
- [() => TerminologyPropertiesList, 0]
703
- ];
704
- var ListTextTranslationJobsRequest$ = [3, n0, _LTTJR,
705
- 0,
706
- [_F, _NT, _MR],
707
- [() => TextTranslationJobFilter$, 0, 1]
708
- ];
709
- var ListTextTranslationJobsResponse$ = [3, n0, _LTTJRi,
710
- 0,
711
- [_TTJPL, _NT],
712
- [() => TextTranslationJobPropertiesList, 0]
713
- ];
714
- var OutputDataConfig$ = [3, n0, _ODC,
715
- 0,
716
- [_SU, _EK],
717
- [0, () => EncryptionKey$], 1
718
- ];
719
- var ParallelDataConfig$ = [3, n0, _PDC,
720
- 0,
721
- [_SU, _Fo],
722
- [0, 0]
723
- ];
724
- var ParallelDataDataLocation$ = [3, n0, _PDDL,
725
- 0,
726
- [_RT, _Lo],
727
- [0, 0], 2
728
- ];
729
- var ParallelDataProperties$ = [3, n0, _PDP,
730
- 0,
731
- [_N, _A, _D, _S, _SLC, _TLC, _PDC, _M, _IDS, _IRC, _FRC, _SRC, _EK, _CA, _LUA, _LUAS, _LUAA],
732
- [0, 0, 0, 0, 0, 64 | 0, () => ParallelDataConfig$, 0, 1, 1, 1, 1, () => EncryptionKey$, 4, 4, 0, 4]
733
- ];
734
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
735
- { [_e]: _c, [_hE]: 404 },
736
- [_M],
737
- [0]
738
- ];
739
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
740
- var ServiceUnavailableException$ = [-3, n0, _SUE,
741
- { [_e]: _s, [_hE]: 503 },
742
- [_M],
743
- [0]
744
- ];
745
- schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
746
- var StartTextTranslationJobRequest$ = [3, n0, _STTJR,
747
- 0,
748
- [_IDC, _ODC, _DARA, _SLC, _TLC, _JN, _TN, _PDN, _CT, _Se],
749
- [() => InputDataConfig$, () => OutputDataConfig$, 0, 0, 64 | 0, 0, 64 | 0, 64 | 0, [0, 4], () => TranslationSettings$], 5
750
- ];
751
- var StartTextTranslationJobResponse$ = [3, n0, _STTJRt,
752
- 0,
753
- [_JI, _JS],
754
- [0, 0]
755
- ];
756
- var StopTextTranslationJobRequest$ = [3, n0, _STTJRto,
757
- 0,
758
- [_JI],
759
- [0], 1
760
- ];
761
- var StopTextTranslationJobResponse$ = [3, n0, _STTJRtop,
762
- 0,
763
- [_JI, _JS],
764
- [0, 0]
765
- ];
766
- var Tag$ = [3, n0, _Tag,
767
- 0,
768
- [_K, _V],
769
- [0, 0], 2
770
- ];
771
- var TagResourceRequest$ = [3, n0, _TRR,
772
- 0,
773
- [_RA, _Ta],
774
- [0, () => TagList], 2
775
- ];
776
- var TagResourceResponse$ = [3, n0, _TRRa,
777
- 0,
778
- [],
779
- []
780
- ];
781
- var Term$ = [3, n0, _Te,
782
- 0,
783
- [_ST, _TT],
784
- [0, 0]
785
- ];
786
- var TerminologyData$ = [3, n0, _TD,
787
- 0,
788
- [_Fi, _Fo, _Di],
789
- [[() => TerminologyFile, 0], 0, 0], 2
790
- ];
791
- var TerminologyDataLocation$ = [3, n0, _TDL,
792
- 0,
793
- [_RT, _Lo],
794
- [0, 0], 2
795
- ];
796
- var TerminologyProperties$ = [3, n0, _TP,
797
- 0,
798
- [_N, _D, _A, _SLC, _TLC, _EK, _SB, _TC, _CA, _LUA, _Di, _M, _STC, _Fo],
799
- [0, 0, 0, 0, 64 | 0, () => EncryptionKey$, 1, 1, 4, 4, 0, 0, 1, 0]
800
- ];
801
- var TextSizeLimitExceededException$ = [-3, n0, _TSLEE,
802
- { [_e]: _c, [_hE]: 400 },
803
- [_M],
804
- [0]
805
- ];
806
- schema.TypeRegistry.for(n0).registerError(TextSizeLimitExceededException$, TextSizeLimitExceededException);
807
- var TextTranslationJobFilter$ = [3, n0, _TTJF,
808
- 0,
809
- [_JN, _JS, _SBT, _SAT],
810
- [0, 0, 4, 4]
811
- ];
812
- var TextTranslationJobProperties$ = [3, n0, _TTJP,
813
- 0,
814
- [_JI, _JN, _JS, _JD, _SLC, _TLC, _TN, _PDN, _M, _STu, _ET, _IDC, _ODC, _DARA, _Se],
815
- [0, 0, 0, () => JobDetails$, 0, 64 | 0, 64 | 0, 64 | 0, 0, 4, 4, () => InputDataConfig$, () => OutputDataConfig$, 0, () => TranslationSettings$]
816
- ];
817
- var TooManyRequestsException$ = [-3, n0, _TMRE,
818
- { [_e]: _c, [_hE]: 429 },
819
- [_M],
820
- [0]
821
- ];
822
- schema.TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
823
- var TooManyTagsException$ = [-3, n0, _TMTE,
824
- { [_e]: _c, [_hE]: 400 },
825
- [_m, _RA],
826
- [0, 0]
827
- ];
828
- schema.TypeRegistry.for(n0).registerError(TooManyTagsException$, TooManyTagsException);
829
- var TranslatedDocument$ = [3, n0, _TDr,
830
- 0,
831
- [_C],
832
- [[() => TranslatedDocumentContent, 0]], 1
833
- ];
834
- var TranslateDocumentRequest$ = [3, n0, _TDR,
835
- 0,
836
- [_Do, _SLC, _TLCa, _TN, _Se],
837
- [[() => Document$, 0], 0, 0, 64 | 0, () => TranslationSettings$], 3
838
- ];
839
- var TranslateDocumentResponse$ = [3, n0, _TDRr,
840
- 0,
841
- [_TDr, _SLC, _TLCa, _ATp, _AS],
842
- [[() => TranslatedDocument$, 0], 0, 0, () => AppliedTerminologyList, () => TranslationSettings$], 3
843
- ];
844
- var TranslateTextRequest$ = [3, n0, _TTR,
845
- 0,
846
- [_Tex, _SLC, _TLCa, _TN, _Se],
847
- [0, 0, 0, 64 | 0, () => TranslationSettings$], 3
848
- ];
849
- var TranslateTextResponse$ = [3, n0, _TTRr,
850
- 0,
851
- [_TTr, _SLC, _TLCa, _ATp, _AS],
852
- [0, 0, 0, () => AppliedTerminologyList, () => TranslationSettings$], 3
853
- ];
854
- var TranslationSettings$ = [3, n0, _TS,
855
- 0,
856
- [_For, _P, _B],
857
- [0, 0, 0]
858
- ];
859
- var UnsupportedDisplayLanguageCodeException$ = [-3, n0, _UDLCE,
860
- { [_e]: _c, [_hE]: 400 },
861
- [_M, _DLCi],
862
- [0, 0]
863
- ];
864
- schema.TypeRegistry.for(n0).registerError(UnsupportedDisplayLanguageCodeException$, UnsupportedDisplayLanguageCodeException);
865
- var UnsupportedLanguagePairException$ = [-3, n0, _ULPE,
866
- { [_e]: _c, [_hE]: 400 },
867
- [_M, _SLC, _TLCa],
868
- [0, 0, 0]
869
- ];
870
- schema.TypeRegistry.for(n0).registerError(UnsupportedLanguagePairException$, UnsupportedLanguagePairException);
871
- var UntagResourceRequest$ = [3, n0, _URR,
872
- 0,
873
- [_RA, _TK],
874
- [0, 64 | 0], 2
875
- ];
876
- var UntagResourceResponse$ = [3, n0, _URRn,
877
- 0,
878
- [],
879
- []
880
- ];
881
- var UpdateParallelDataRequest$ = [3, n0, _UPDR,
882
- 0,
883
- [_N, _PDC, _D, _CT],
884
- [0, () => ParallelDataConfig$, 0, [0, 4]], 2
885
- ];
886
- var UpdateParallelDataResponse$ = [3, n0, _UPDRp,
887
- 0,
888
- [_N, _S, _LUAS, _LUAA],
889
- [0, 0, 0, 4]
890
- ];
891
- var __Unit = "unit";
892
- var TranslateServiceException$ = [-3, _sm, "TranslateServiceException", 0, [], []];
893
- schema.TypeRegistry.for(_sm).registerError(TranslateServiceException$, TranslateServiceException);
894
- var AppliedTerminologyList = [1, n0, _ATL,
895
- 0, () => AppliedTerminology$
896
- ];
897
- var LanguagesList = [1, n0, _LL,
898
- 0, () => Language$
899
- ];
900
- var ParallelDataPropertiesList = [1, n0, _PDPL,
901
- 0, () => ParallelDataProperties$
902
- ];
903
- var TagList = [1, n0, _TL,
904
- 0, () => Tag$
905
- ];
906
- var TerminologyPropertiesList = [1, n0, _TPL,
907
- 0, () => TerminologyProperties$
908
- ];
909
- var TermList = [1, n0, _TLe,
910
- 0, () => Term$
911
- ];
912
- var TextTranslationJobPropertiesList = [1, n0, _TTJPL,
913
- 0, () => TextTranslationJobProperties$
914
- ];
915
- var CreateParallelData$ = [9, n0, _CPD,
916
- 0, () => CreateParallelDataRequest$, () => CreateParallelDataResponse$
917
- ];
918
- var DeleteParallelData$ = [9, n0, _DPD,
919
- 0, () => DeleteParallelDataRequest$, () => DeleteParallelDataResponse$
920
- ];
921
- var DeleteTerminology$ = [9, n0, _DT,
922
- 0, () => DeleteTerminologyRequest$, () => __Unit
923
- ];
924
- var DescribeTextTranslationJob$ = [9, n0, _DTTJ,
925
- 0, () => DescribeTextTranslationJobRequest$, () => DescribeTextTranslationJobResponse$
926
- ];
927
- var GetParallelData$ = [9, n0, _GPD,
928
- 0, () => GetParallelDataRequest$, () => GetParallelDataResponse$
929
- ];
930
- var GetTerminology$ = [9, n0, _GT,
931
- 0, () => GetTerminologyRequest$, () => GetTerminologyResponse$
932
- ];
933
- var ImportTerminology$ = [9, n0, _IT,
934
- 0, () => ImportTerminologyRequest$, () => ImportTerminologyResponse$
935
- ];
936
- var ListLanguages$ = [9, n0, _LLi,
937
- 0, () => ListLanguagesRequest$, () => ListLanguagesResponse$
938
- ];
939
- var ListParallelData$ = [9, n0, _LPD,
940
- 0, () => ListParallelDataRequest$, () => ListParallelDataResponse$
941
- ];
942
- var ListTagsForResource$ = [9, n0, _LTFR,
943
- 0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
944
- ];
945
- var ListTerminologies$ = [9, n0, _LT,
946
- 0, () => ListTerminologiesRequest$, () => ListTerminologiesResponse$
947
- ];
948
- var ListTextTranslationJobs$ = [9, n0, _LTTJ,
949
- 0, () => ListTextTranslationJobsRequest$, () => ListTextTranslationJobsResponse$
950
- ];
951
- var StartTextTranslationJob$ = [9, n0, _STTJ,
952
- 0, () => StartTextTranslationJobRequest$, () => StartTextTranslationJobResponse$
953
- ];
954
- var StopTextTranslationJob$ = [9, n0, _STTJt,
955
- 0, () => StopTextTranslationJobRequest$, () => StopTextTranslationJobResponse$
956
- ];
957
- var TagResource$ = [9, n0, _TR,
958
- 0, () => TagResourceRequest$, () => TagResourceResponse$
959
- ];
960
- var TranslateDocument$ = [9, n0, _TDra,
961
- 0, () => TranslateDocumentRequest$, () => TranslateDocumentResponse$
962
- ];
963
- var TranslateText$ = [9, n0, _TTra,
964
- 0, () => TranslateTextRequest$, () => TranslateTextResponse$
965
- ];
966
- var UntagResource$ = [9, n0, _UR,
967
- 0, () => UntagResourceRequest$, () => UntagResourceResponse$
968
- ];
969
- var UpdateParallelData$ = [9, n0, _UPD,
970
- 0, () => UpdateParallelDataRequest$, () => UpdateParallelDataResponse$
971
- ];
972
-
973
116
  class CreateParallelDataCommand extends smithyClient.Command
974
117
  .classBuilder()
975
118
  .ep(commonParams)
@@ -978,7 +121,7 @@ class CreateParallelDataCommand extends smithyClient.Command
978
121
  })
979
122
  .s("AWSShineFrontendService_20170701", "CreateParallelData", {})
980
123
  .n("TranslateClient", "CreateParallelDataCommand")
981
- .sc(CreateParallelData$)
124
+ .sc(schemas_0.CreateParallelData$)
982
125
  .build() {
983
126
  }
984
127
 
@@ -990,7 +133,7 @@ class DeleteParallelDataCommand extends smithyClient.Command
990
133
  })
991
134
  .s("AWSShineFrontendService_20170701", "DeleteParallelData", {})
992
135
  .n("TranslateClient", "DeleteParallelDataCommand")
993
- .sc(DeleteParallelData$)
136
+ .sc(schemas_0.DeleteParallelData$)
994
137
  .build() {
995
138
  }
996
139
 
@@ -1002,7 +145,7 @@ class DeleteTerminologyCommand extends smithyClient.Command
1002
145
  })
1003
146
  .s("AWSShineFrontendService_20170701", "DeleteTerminology", {})
1004
147
  .n("TranslateClient", "DeleteTerminologyCommand")
1005
- .sc(DeleteTerminology$)
148
+ .sc(schemas_0.DeleteTerminology$)
1006
149
  .build() {
1007
150
  }
1008
151
 
@@ -1014,7 +157,7 @@ class DescribeTextTranslationJobCommand extends smithyClient.Command
1014
157
  })
1015
158
  .s("AWSShineFrontendService_20170701", "DescribeTextTranslationJob", {})
1016
159
  .n("TranslateClient", "DescribeTextTranslationJobCommand")
1017
- .sc(DescribeTextTranslationJob$)
160
+ .sc(schemas_0.DescribeTextTranslationJob$)
1018
161
  .build() {
1019
162
  }
1020
163
 
@@ -1026,7 +169,7 @@ class GetParallelDataCommand extends smithyClient.Command
1026
169
  })
1027
170
  .s("AWSShineFrontendService_20170701", "GetParallelData", {})
1028
171
  .n("TranslateClient", "GetParallelDataCommand")
1029
- .sc(GetParallelData$)
172
+ .sc(schemas_0.GetParallelData$)
1030
173
  .build() {
1031
174
  }
1032
175
 
@@ -1038,7 +181,7 @@ class GetTerminologyCommand extends smithyClient.Command
1038
181
  })
1039
182
  .s("AWSShineFrontendService_20170701", "GetTerminology", {})
1040
183
  .n("TranslateClient", "GetTerminologyCommand")
1041
- .sc(GetTerminology$)
184
+ .sc(schemas_0.GetTerminology$)
1042
185
  .build() {
1043
186
  }
1044
187
 
@@ -1050,7 +193,7 @@ class ImportTerminologyCommand extends smithyClient.Command
1050
193
  })
1051
194
  .s("AWSShineFrontendService_20170701", "ImportTerminology", {})
1052
195
  .n("TranslateClient", "ImportTerminologyCommand")
1053
- .sc(ImportTerminology$)
196
+ .sc(schemas_0.ImportTerminology$)
1054
197
  .build() {
1055
198
  }
1056
199
 
@@ -1062,7 +205,7 @@ class ListLanguagesCommand extends smithyClient.Command
1062
205
  })
1063
206
  .s("AWSShineFrontendService_20170701", "ListLanguages", {})
1064
207
  .n("TranslateClient", "ListLanguagesCommand")
1065
- .sc(ListLanguages$)
208
+ .sc(schemas_0.ListLanguages$)
1066
209
  .build() {
1067
210
  }
1068
211
 
@@ -1074,7 +217,7 @@ class ListParallelDataCommand extends smithyClient.Command
1074
217
  })
1075
218
  .s("AWSShineFrontendService_20170701", "ListParallelData", {})
1076
219
  .n("TranslateClient", "ListParallelDataCommand")
1077
- .sc(ListParallelData$)
220
+ .sc(schemas_0.ListParallelData$)
1078
221
  .build() {
1079
222
  }
1080
223
 
@@ -1086,7 +229,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
1086
229
  })
1087
230
  .s("AWSShineFrontendService_20170701", "ListTagsForResource", {})
1088
231
  .n("TranslateClient", "ListTagsForResourceCommand")
1089
- .sc(ListTagsForResource$)
232
+ .sc(schemas_0.ListTagsForResource$)
1090
233
  .build() {
1091
234
  }
1092
235
 
@@ -1098,7 +241,7 @@ class ListTerminologiesCommand extends smithyClient.Command
1098
241
  })
1099
242
  .s("AWSShineFrontendService_20170701", "ListTerminologies", {})
1100
243
  .n("TranslateClient", "ListTerminologiesCommand")
1101
- .sc(ListTerminologies$)
244
+ .sc(schemas_0.ListTerminologies$)
1102
245
  .build() {
1103
246
  }
1104
247
 
@@ -1110,7 +253,7 @@ class ListTextTranslationJobsCommand extends smithyClient.Command
1110
253
  })
1111
254
  .s("AWSShineFrontendService_20170701", "ListTextTranslationJobs", {})
1112
255
  .n("TranslateClient", "ListTextTranslationJobsCommand")
1113
- .sc(ListTextTranslationJobs$)
256
+ .sc(schemas_0.ListTextTranslationJobs$)
1114
257
  .build() {
1115
258
  }
1116
259
 
@@ -1122,7 +265,7 @@ class StartTextTranslationJobCommand extends smithyClient.Command
1122
265
  })
1123
266
  .s("AWSShineFrontendService_20170701", "StartTextTranslationJob", {})
1124
267
  .n("TranslateClient", "StartTextTranslationJobCommand")
1125
- .sc(StartTextTranslationJob$)
268
+ .sc(schemas_0.StartTextTranslationJob$)
1126
269
  .build() {
1127
270
  }
1128
271
 
@@ -1134,7 +277,7 @@ class StopTextTranslationJobCommand extends smithyClient.Command
1134
277
  })
1135
278
  .s("AWSShineFrontendService_20170701", "StopTextTranslationJob", {})
1136
279
  .n("TranslateClient", "StopTextTranslationJobCommand")
1137
- .sc(StopTextTranslationJob$)
280
+ .sc(schemas_0.StopTextTranslationJob$)
1138
281
  .build() {
1139
282
  }
1140
283
 
@@ -1146,7 +289,7 @@ class TagResourceCommand extends smithyClient.Command
1146
289
  })
1147
290
  .s("AWSShineFrontendService_20170701", "TagResource", {})
1148
291
  .n("TranslateClient", "TagResourceCommand")
1149
- .sc(TagResource$)
292
+ .sc(schemas_0.TagResource$)
1150
293
  .build() {
1151
294
  }
1152
295
 
@@ -1158,7 +301,7 @@ class TranslateDocumentCommand extends smithyClient.Command
1158
301
  })
1159
302
  .s("AWSShineFrontendService_20170701", "TranslateDocument", {})
1160
303
  .n("TranslateClient", "TranslateDocumentCommand")
1161
- .sc(TranslateDocument$)
304
+ .sc(schemas_0.TranslateDocument$)
1162
305
  .build() {
1163
306
  }
1164
307
 
@@ -1170,7 +313,7 @@ class TranslateTextCommand extends smithyClient.Command
1170
313
  })
1171
314
  .s("AWSShineFrontendService_20170701", "TranslateText", {})
1172
315
  .n("TranslateClient", "TranslateTextCommand")
1173
- .sc(TranslateText$)
316
+ .sc(schemas_0.TranslateText$)
1174
317
  .build() {
1175
318
  }
1176
319
 
@@ -1182,7 +325,7 @@ class UntagResourceCommand extends smithyClient.Command
1182
325
  })
1183
326
  .s("AWSShineFrontendService_20170701", "UntagResource", {})
1184
327
  .n("TranslateClient", "UntagResourceCommand")
1185
- .sc(UntagResource$)
328
+ .sc(schemas_0.UntagResource$)
1186
329
  .build() {
1187
330
  }
1188
331
 
@@ -1194,7 +337,7 @@ class UpdateParallelDataCommand extends smithyClient.Command
1194
337
  })
1195
338
  .s("AWSShineFrontendService_20170701", "UpdateParallelData", {})
1196
339
  .n("TranslateClient", "UpdateParallelDataCommand")
1197
- .sc(UpdateParallelData$)
340
+ .sc(schemas_0.UpdateParallelData$)
1198
341
  .build() {
1199
342
  }
1200
343
 
@@ -1304,146 +447,55 @@ Object.defineProperty(exports, "__Client", {
1304
447
  enumerable: true,
1305
448
  get: function () { return smithyClient.Client; }
1306
449
  });
1307
- exports.AppliedTerminology$ = AppliedTerminology$;
450
+ Object.defineProperty(exports, "TranslateServiceException", {
451
+ enumerable: true,
452
+ get: function () { return TranslateServiceException.TranslateServiceException; }
453
+ });
1308
454
  exports.Brevity = Brevity;
1309
- exports.ConcurrentModificationException = ConcurrentModificationException;
1310
- exports.ConcurrentModificationException$ = ConcurrentModificationException$;
1311
- exports.ConflictException = ConflictException;
1312
- exports.ConflictException$ = ConflictException$;
1313
- exports.CreateParallelData$ = CreateParallelData$;
1314
455
  exports.CreateParallelDataCommand = CreateParallelDataCommand;
1315
- exports.CreateParallelDataRequest$ = CreateParallelDataRequest$;
1316
- exports.CreateParallelDataResponse$ = CreateParallelDataResponse$;
1317
- exports.DeleteParallelData$ = DeleteParallelData$;
1318
456
  exports.DeleteParallelDataCommand = DeleteParallelDataCommand;
1319
- exports.DeleteParallelDataRequest$ = DeleteParallelDataRequest$;
1320
- exports.DeleteParallelDataResponse$ = DeleteParallelDataResponse$;
1321
- exports.DeleteTerminology$ = DeleteTerminology$;
1322
457
  exports.DeleteTerminologyCommand = DeleteTerminologyCommand;
1323
- exports.DeleteTerminologyRequest$ = DeleteTerminologyRequest$;
1324
- exports.DescribeTextTranslationJob$ = DescribeTextTranslationJob$;
1325
458
  exports.DescribeTextTranslationJobCommand = DescribeTextTranslationJobCommand;
1326
- exports.DescribeTextTranslationJobRequest$ = DescribeTextTranslationJobRequest$;
1327
- exports.DescribeTextTranslationJobResponse$ = DescribeTextTranslationJobResponse$;
1328
- exports.DetectedLanguageLowConfidenceException = DetectedLanguageLowConfidenceException;
1329
- exports.DetectedLanguageLowConfidenceException$ = DetectedLanguageLowConfidenceException$;
1330
459
  exports.Directionality = Directionality;
1331
460
  exports.DisplayLanguageCode = DisplayLanguageCode;
1332
- exports.Document$ = Document$;
1333
- exports.EncryptionKey$ = EncryptionKey$;
1334
461
  exports.EncryptionKeyType = EncryptionKeyType;
1335
462
  exports.Formality = Formality;
1336
- exports.GetParallelData$ = GetParallelData$;
1337
463
  exports.GetParallelDataCommand = GetParallelDataCommand;
1338
- exports.GetParallelDataRequest$ = GetParallelDataRequest$;
1339
- exports.GetParallelDataResponse$ = GetParallelDataResponse$;
1340
- exports.GetTerminology$ = GetTerminology$;
1341
464
  exports.GetTerminologyCommand = GetTerminologyCommand;
1342
- exports.GetTerminologyRequest$ = GetTerminologyRequest$;
1343
- exports.GetTerminologyResponse$ = GetTerminologyResponse$;
1344
- exports.ImportTerminology$ = ImportTerminology$;
1345
465
  exports.ImportTerminologyCommand = ImportTerminologyCommand;
1346
- exports.ImportTerminologyRequest$ = ImportTerminologyRequest$;
1347
- exports.ImportTerminologyResponse$ = ImportTerminologyResponse$;
1348
- exports.InputDataConfig$ = InputDataConfig$;
1349
- exports.InternalServerException = InternalServerException;
1350
- exports.InternalServerException$ = InternalServerException$;
1351
- exports.InvalidFilterException = InvalidFilterException;
1352
- exports.InvalidFilterException$ = InvalidFilterException$;
1353
- exports.InvalidParameterValueException = InvalidParameterValueException;
1354
- exports.InvalidParameterValueException$ = InvalidParameterValueException$;
1355
- exports.InvalidRequestException = InvalidRequestException;
1356
- exports.InvalidRequestException$ = InvalidRequestException$;
1357
- exports.JobDetails$ = JobDetails$;
1358
466
  exports.JobStatus = JobStatus;
1359
- exports.Language$ = Language$;
1360
- exports.LimitExceededException = LimitExceededException;
1361
- exports.LimitExceededException$ = LimitExceededException$;
1362
- exports.ListLanguages$ = ListLanguages$;
1363
467
  exports.ListLanguagesCommand = ListLanguagesCommand;
1364
- exports.ListLanguagesRequest$ = ListLanguagesRequest$;
1365
- exports.ListLanguagesResponse$ = ListLanguagesResponse$;
1366
- exports.ListParallelData$ = ListParallelData$;
1367
468
  exports.ListParallelDataCommand = ListParallelDataCommand;
1368
- exports.ListParallelDataRequest$ = ListParallelDataRequest$;
1369
- exports.ListParallelDataResponse$ = ListParallelDataResponse$;
1370
- exports.ListTagsForResource$ = ListTagsForResource$;
1371
469
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1372
- exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1373
- exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
1374
- exports.ListTerminologies$ = ListTerminologies$;
1375
470
  exports.ListTerminologiesCommand = ListTerminologiesCommand;
1376
- exports.ListTerminologiesRequest$ = ListTerminologiesRequest$;
1377
- exports.ListTerminologiesResponse$ = ListTerminologiesResponse$;
1378
- exports.ListTextTranslationJobs$ = ListTextTranslationJobs$;
1379
471
  exports.ListTextTranslationJobsCommand = ListTextTranslationJobsCommand;
1380
- exports.ListTextTranslationJobsRequest$ = ListTextTranslationJobsRequest$;
1381
- exports.ListTextTranslationJobsResponse$ = ListTextTranslationJobsResponse$;
1382
472
  exports.MergeStrategy = MergeStrategy;
1383
- exports.OutputDataConfig$ = OutputDataConfig$;
1384
- exports.ParallelDataConfig$ = ParallelDataConfig$;
1385
- exports.ParallelDataDataLocation$ = ParallelDataDataLocation$;
1386
473
  exports.ParallelDataFormat = ParallelDataFormat;
1387
- exports.ParallelDataProperties$ = ParallelDataProperties$;
1388
474
  exports.ParallelDataStatus = ParallelDataStatus;
1389
475
  exports.Profanity = Profanity;
1390
- exports.ResourceNotFoundException = ResourceNotFoundException;
1391
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1392
- exports.ServiceUnavailableException = ServiceUnavailableException;
1393
- exports.ServiceUnavailableException$ = ServiceUnavailableException$;
1394
- exports.StartTextTranslationJob$ = StartTextTranslationJob$;
1395
476
  exports.StartTextTranslationJobCommand = StartTextTranslationJobCommand;
1396
- exports.StartTextTranslationJobRequest$ = StartTextTranslationJobRequest$;
1397
- exports.StartTextTranslationJobResponse$ = StartTextTranslationJobResponse$;
1398
- exports.StopTextTranslationJob$ = StopTextTranslationJob$;
1399
477
  exports.StopTextTranslationJobCommand = StopTextTranslationJobCommand;
1400
- exports.StopTextTranslationJobRequest$ = StopTextTranslationJobRequest$;
1401
- exports.StopTextTranslationJobResponse$ = StopTextTranslationJobResponse$;
1402
- exports.Tag$ = Tag$;
1403
- exports.TagResource$ = TagResource$;
1404
478
  exports.TagResourceCommand = TagResourceCommand;
1405
- exports.TagResourceRequest$ = TagResourceRequest$;
1406
- exports.TagResourceResponse$ = TagResourceResponse$;
1407
- exports.Term$ = Term$;
1408
- exports.TerminologyData$ = TerminologyData$;
1409
479
  exports.TerminologyDataFormat = TerminologyDataFormat;
1410
- exports.TerminologyDataLocation$ = TerminologyDataLocation$;
1411
- exports.TerminologyProperties$ = TerminologyProperties$;
1412
- exports.TextSizeLimitExceededException = TextSizeLimitExceededException;
1413
- exports.TextSizeLimitExceededException$ = TextSizeLimitExceededException$;
1414
- exports.TextTranslationJobFilter$ = TextTranslationJobFilter$;
1415
- exports.TextTranslationJobProperties$ = TextTranslationJobProperties$;
1416
- exports.TooManyRequestsException = TooManyRequestsException;
1417
- exports.TooManyRequestsException$ = TooManyRequestsException$;
1418
- exports.TooManyTagsException = TooManyTagsException;
1419
- exports.TooManyTagsException$ = TooManyTagsException$;
1420
480
  exports.Translate = Translate;
1421
481
  exports.TranslateClient = TranslateClient;
1422
- exports.TranslateDocument$ = TranslateDocument$;
1423
482
  exports.TranslateDocumentCommand = TranslateDocumentCommand;
1424
- exports.TranslateDocumentRequest$ = TranslateDocumentRequest$;
1425
- exports.TranslateDocumentResponse$ = TranslateDocumentResponse$;
1426
- exports.TranslateServiceException = TranslateServiceException;
1427
- exports.TranslateServiceException$ = TranslateServiceException$;
1428
- exports.TranslateText$ = TranslateText$;
1429
483
  exports.TranslateTextCommand = TranslateTextCommand;
1430
- exports.TranslateTextRequest$ = TranslateTextRequest$;
1431
- exports.TranslateTextResponse$ = TranslateTextResponse$;
1432
- exports.TranslatedDocument$ = TranslatedDocument$;
1433
- exports.TranslationSettings$ = TranslationSettings$;
1434
- exports.UnsupportedDisplayLanguageCodeException = UnsupportedDisplayLanguageCodeException;
1435
- exports.UnsupportedDisplayLanguageCodeException$ = UnsupportedDisplayLanguageCodeException$;
1436
- exports.UnsupportedLanguagePairException = UnsupportedLanguagePairException;
1437
- exports.UnsupportedLanguagePairException$ = UnsupportedLanguagePairException$;
1438
- exports.UntagResource$ = UntagResource$;
1439
484
  exports.UntagResourceCommand = UntagResourceCommand;
1440
- exports.UntagResourceRequest$ = UntagResourceRequest$;
1441
- exports.UntagResourceResponse$ = UntagResourceResponse$;
1442
- exports.UpdateParallelData$ = UpdateParallelData$;
1443
485
  exports.UpdateParallelDataCommand = UpdateParallelDataCommand;
1444
- exports.UpdateParallelDataRequest$ = UpdateParallelDataRequest$;
1445
- exports.UpdateParallelDataResponse$ = UpdateParallelDataResponse$;
1446
486
  exports.paginateListLanguages = paginateListLanguages;
1447
487
  exports.paginateListParallelData = paginateListParallelData;
1448
488
  exports.paginateListTerminologies = paginateListTerminologies;
1449
489
  exports.paginateListTextTranslationJobs = paginateListTextTranslationJobs;
490
+ Object.keys(schemas_0).forEach(function (k) {
491
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
492
+ enumerable: true,
493
+ get: function () { return schemas_0[k]; }
494
+ });
495
+ });
496
+ Object.keys(errors).forEach(function (k) {
497
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
498
+ enumerable: true,
499
+ get: function () { return errors[k]; }
500
+ });
501
+ });