@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.
@@ -0,0 +1,650 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ParallelDataProperties$ = exports.ParallelDataDataLocation$ = exports.ParallelDataConfig$ = exports.OutputDataConfig$ = exports.ListTextTranslationJobsResponse$ = exports.ListTextTranslationJobsRequest$ = exports.ListTerminologiesResponse$ = exports.ListTerminologiesRequest$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListParallelDataResponse$ = exports.ListParallelDataRequest$ = exports.ListLanguagesResponse$ = exports.ListLanguagesRequest$ = exports.Language$ = exports.JobDetails$ = exports.InputDataConfig$ = exports.ImportTerminologyResponse$ = exports.ImportTerminologyRequest$ = exports.GetTerminologyResponse$ = exports.GetTerminologyRequest$ = exports.GetParallelDataResponse$ = exports.GetParallelDataRequest$ = exports.EncryptionKey$ = exports.Document$ = exports.DescribeTextTranslationJobResponse$ = exports.DescribeTextTranslationJobRequest$ = exports.DeleteTerminologyRequest$ = exports.DeleteParallelDataResponse$ = exports.DeleteParallelDataRequest$ = exports.CreateParallelDataResponse$ = exports.CreateParallelDataRequest$ = exports.AppliedTerminology$ = exports.errorTypeRegistries = exports.UnsupportedLanguagePairException$ = exports.UnsupportedDisplayLanguageCodeException$ = exports.TooManyTagsException$ = exports.TooManyRequestsException$ = exports.TextSizeLimitExceededException$ = exports.ServiceUnavailableException$ = exports.ResourceNotFoundException$ = exports.LimitExceededException$ = exports.InvalidRequestException$ = exports.InvalidParameterValueException$ = exports.InvalidFilterException$ = exports.InternalServerException$ = exports.DetectedLanguageLowConfidenceException$ = exports.ConflictException$ = exports.ConcurrentModificationException$ = exports.TranslateServiceException$ = void 0;
4
+ exports.UpdateParallelData$ = exports.UntagResource$ = exports.TranslateText$ = exports.TranslateDocument$ = exports.TagResource$ = exports.StopTextTranslationJob$ = exports.StartTextTranslationJob$ = exports.ListTextTranslationJobs$ = exports.ListTerminologies$ = exports.ListTagsForResource$ = exports.ListParallelData$ = exports.ListLanguages$ = exports.ImportTerminology$ = exports.GetTerminology$ = exports.GetParallelData$ = exports.DescribeTextTranslationJob$ = exports.DeleteTerminology$ = exports.DeleteParallelData$ = exports.CreateParallelData$ = exports.UpdateParallelDataResponse$ = exports.UpdateParallelDataRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TranslationSettings$ = exports.TranslateTextResponse$ = exports.TranslateTextRequest$ = exports.TranslateDocumentResponse$ = exports.TranslateDocumentRequest$ = exports.TranslatedDocument$ = exports.TextTranslationJobProperties$ = exports.TextTranslationJobFilter$ = exports.TerminologyProperties$ = exports.TerminologyDataLocation$ = exports.TerminologyData$ = exports.Term$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.Tag$ = exports.StopTextTranslationJobResponse$ = exports.StopTextTranslationJobRequest$ = exports.StartTextTranslationJobResponse$ = exports.StartTextTranslationJobRequest$ = void 0;
5
+ const _A = "Arn";
6
+ const _ADL = "AuxiliaryDataLocation";
7
+ const _AS = "AppliedSettings";
8
+ const _AT = "AppliedTerminology";
9
+ const _ATL = "AppliedTerminologyList";
10
+ const _ATp = "AppliedTerminologies";
11
+ const _B = "Brevity";
12
+ const _C = "Content";
13
+ const _CA = "CreatedAt";
14
+ const _CE = "ConflictException";
15
+ const _CME = "ConcurrentModificationException";
16
+ const _CPD = "CreateParallelData";
17
+ const _CPDR = "CreateParallelDataRequest";
18
+ const _CPDRr = "CreateParallelDataResponse";
19
+ const _CT = "ClientToken";
20
+ const _CTo = "ContentType";
21
+ const _D = "Description";
22
+ const _DARA = "DataAccessRoleArn";
23
+ const _DC = "DocumentContent";
24
+ const _DL = "DataLocation";
25
+ const _DLC = "DetectedLanguageCode";
26
+ const _DLCi = "DisplayLanguageCode";
27
+ const _DLLCE = "DetectedLanguageLowConfidenceException";
28
+ const _DPD = "DeleteParallelData";
29
+ const _DPDR = "DeleteParallelDataRequest";
30
+ const _DPDRe = "DeleteParallelDataResponse";
31
+ const _DT = "DeleteTerminology";
32
+ const _DTR = "DeleteTerminologyRequest";
33
+ const _DTTJ = "DescribeTextTranslationJob";
34
+ const _DTTJR = "DescribeTextTranslationJobRequest";
35
+ const _DTTJRe = "DescribeTextTranslationJobResponse";
36
+ const _DWEC = "DocumentsWithErrorsCount";
37
+ const _Di = "Directionality";
38
+ const _Do = "Document";
39
+ const _EK = "EncryptionKey";
40
+ const _ET = "EndTime";
41
+ const _F = "Filter";
42
+ const _FRC = "FailedRecordCount";
43
+ const _Fi = "File";
44
+ const _Fo = "Format";
45
+ const _For = "Formality";
46
+ const _GPD = "GetParallelData";
47
+ const _GPDR = "GetParallelDataRequest";
48
+ const _GPDRe = "GetParallelDataResponse";
49
+ const _GT = "GetTerminology";
50
+ const _GTR = "GetTerminologyRequest";
51
+ const _GTRe = "GetTerminologyResponse";
52
+ const _I = "Id";
53
+ const _IDC = "InputDataConfig";
54
+ const _IDCn = "InputDocumentsCount";
55
+ const _IDS = "ImportedDataSize";
56
+ const _IFE = "InvalidFilterException";
57
+ const _IPVE = "InvalidParameterValueException";
58
+ const _IRC = "ImportedRecordCount";
59
+ const _IRE = "InvalidRequestException";
60
+ const _ISE = "InternalServerException";
61
+ const _IT = "ImportTerminology";
62
+ const _ITR = "ImportTerminologyRequest";
63
+ const _ITRm = "ImportTerminologyResponse";
64
+ const _JD = "JobDetails";
65
+ const _JI = "JobId";
66
+ const _JN = "JobName";
67
+ const _JS = "JobStatus";
68
+ const _K = "Key";
69
+ const _L = "Language";
70
+ const _LC = "LanguageCode";
71
+ const _LEE = "LimitExceededException";
72
+ const _LL = "LanguagesList";
73
+ const _LLR = "ListLanguagesRequest";
74
+ const _LLRi = "ListLanguagesResponse";
75
+ const _LLi = "ListLanguages";
76
+ const _LN = "LanguageName";
77
+ const _LPD = "ListParallelData";
78
+ const _LPDR = "ListParallelDataRequest";
79
+ const _LPDRi = "ListParallelDataResponse";
80
+ const _LT = "ListTerminologies";
81
+ const _LTFR = "ListTagsForResource";
82
+ const _LTFRR = "ListTagsForResourceRequest";
83
+ const _LTFRRi = "ListTagsForResourceResponse";
84
+ const _LTR = "ListTerminologiesRequest";
85
+ const _LTRi = "ListTerminologiesResponse";
86
+ const _LTTJ = "ListTextTranslationJobs";
87
+ const _LTTJR = "ListTextTranslationJobsRequest";
88
+ const _LTTJRi = "ListTextTranslationJobsResponse";
89
+ const _LUA = "LastUpdatedAt";
90
+ const _LUAA = "LatestUpdateAttemptAt";
91
+ const _LUAADL = "LatestUpdateAttemptAuxiliaryDataLocation";
92
+ const _LUAS = "LatestUpdateAttemptStatus";
93
+ const _La = "Languages";
94
+ const _Lo = "Location";
95
+ const _M = "Message";
96
+ const _MR = "MaxResults";
97
+ const _MS = "MergeStrategy";
98
+ const _N = "Name";
99
+ const _NT = "NextToken";
100
+ const _ODC = "OutputDataConfig";
101
+ const _P = "Profanity";
102
+ const _PDC = "ParallelDataConfig";
103
+ const _PDDL = "ParallelDataDataLocation";
104
+ const _PDN = "ParallelDataNames";
105
+ const _PDP = "ParallelDataProperties";
106
+ const _PDPL = "ParallelDataPropertiesList";
107
+ const _RA = "ResourceArn";
108
+ const _RNFE = "ResourceNotFoundException";
109
+ const _RT = "RepositoryType";
110
+ const _S = "Status";
111
+ const _SAT = "SubmittedAfterTime";
112
+ const _SB = "SizeBytes";
113
+ const _SBT = "SubmittedBeforeTime";
114
+ const _SLC = "SourceLanguageCode";
115
+ const _SRC = "SkippedRecordCount";
116
+ const _ST = "SourceText";
117
+ const _STC = "SkippedTermCount";
118
+ const _STTJ = "StartTextTranslationJob";
119
+ const _STTJR = "StartTextTranslationJobRequest";
120
+ const _STTJRt = "StartTextTranslationJobResponse";
121
+ const _STTJRto = "StopTextTranslationJobRequest";
122
+ const _STTJRtop = "StopTextTranslationJobResponse";
123
+ const _STTJt = "StopTextTranslationJob";
124
+ const _STu = "SubmittedTime";
125
+ const _SU = "S3Uri";
126
+ const _SUE = "ServiceUnavailableException";
127
+ const _Se = "Settings";
128
+ const _T = "Terms";
129
+ const _TC = "TermCount";
130
+ const _TD = "TerminologyData";
131
+ const _TDC = "TranslatedDocumentContent";
132
+ const _TDCr = "TranslatedDocumentsCount";
133
+ const _TDF = "TerminologyDataFormat";
134
+ const _TDL = "TerminologyDataLocation";
135
+ const _TDR = "TranslateDocumentRequest";
136
+ const _TDRr = "TranslateDocumentResponse";
137
+ const _TDr = "TranslatedDocument";
138
+ const _TDra = "TranslateDocument";
139
+ const _TF = "TerminologyFile";
140
+ const _TK = "TagKeys";
141
+ const _TL = "TagList";
142
+ const _TLC = "TargetLanguageCode";
143
+ const _TLCa = "TargetLanguageCodes";
144
+ const _TLe = "TermList";
145
+ const _TMRE = "TooManyRequestsException";
146
+ const _TMTE = "TooManyTagsException";
147
+ const _TN = "TerminologyNames";
148
+ const _TP = "TerminologyProperties";
149
+ const _TPL = "TerminologyPropertiesList";
150
+ const _TR = "TagResource";
151
+ const _TRR = "TagResourceRequest";
152
+ const _TRRa = "TagResourceResponse";
153
+ const _TS = "TranslationSettings";
154
+ const _TSLEE = "TextSizeLimitExceededException";
155
+ const _TT = "TargetText";
156
+ const _TTJF = "TextTranslationJobFilter";
157
+ const _TTJP = "TextTranslationJobProperties";
158
+ const _TTJPL = "TextTranslationJobPropertiesList";
159
+ const _TTR = "TranslateTextRequest";
160
+ const _TTRr = "TranslateTextResponse";
161
+ const _TTr = "TranslatedText";
162
+ const _TTra = "TranslateText";
163
+ const _Ta = "Tags";
164
+ const _Tag = "Tag";
165
+ const _Te = "Term";
166
+ const _Tex = "Text";
167
+ const _Ty = "Type";
168
+ const _UDLCE = "UnsupportedDisplayLanguageCodeException";
169
+ const _ULPE = "UnsupportedLanguagePairException";
170
+ const _UPD = "UpdateParallelData";
171
+ const _UPDR = "UpdateParallelDataRequest";
172
+ const _UPDRp = "UpdateParallelDataResponse";
173
+ const _UR = "UntagResource";
174
+ const _URR = "UntagResourceRequest";
175
+ const _URRn = "UntagResourceResponse";
176
+ const _V = "Value";
177
+ const _c = "client";
178
+ const _e = "error";
179
+ const _hE = "httpError";
180
+ const _m = "message";
181
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.translate";
182
+ const _se = "server";
183
+ const n0 = "com.amazonaws.translate";
184
+ const schema_1 = require("@smithy/core/schema");
185
+ const errors_1 = require("../models/errors");
186
+ const TranslateServiceException_1 = require("../models/TranslateServiceException");
187
+ const _s_registry = schema_1.TypeRegistry.for(_s);
188
+ exports.TranslateServiceException$ = [-3, _s, "TranslateServiceException", 0, [], []];
189
+ _s_registry.registerError(exports.TranslateServiceException$, TranslateServiceException_1.TranslateServiceException);
190
+ const n0_registry = schema_1.TypeRegistry.for(n0);
191
+ exports.ConcurrentModificationException$ = [-3, n0, _CME,
192
+ { [_e]: _c, [_hE]: 409 },
193
+ [_M],
194
+ [0]
195
+ ];
196
+ n0_registry.registerError(exports.ConcurrentModificationException$, errors_1.ConcurrentModificationException);
197
+ exports.ConflictException$ = [-3, n0, _CE,
198
+ { [_e]: _c, [_hE]: 409 },
199
+ [_M],
200
+ [0]
201
+ ];
202
+ n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
203
+ exports.DetectedLanguageLowConfidenceException$ = [-3, n0, _DLLCE,
204
+ { [_e]: _c, [_hE]: 400 },
205
+ [_M, _DLC],
206
+ [0, 0]
207
+ ];
208
+ n0_registry.registerError(exports.DetectedLanguageLowConfidenceException$, errors_1.DetectedLanguageLowConfidenceException);
209
+ exports.InternalServerException$ = [-3, n0, _ISE,
210
+ { [_e]: _se, [_hE]: 500 },
211
+ [_M],
212
+ [0]
213
+ ];
214
+ n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
215
+ exports.InvalidFilterException$ = [-3, n0, _IFE,
216
+ { [_e]: _c, [_hE]: 400 },
217
+ [_M],
218
+ [0]
219
+ ];
220
+ n0_registry.registerError(exports.InvalidFilterException$, errors_1.InvalidFilterException);
221
+ exports.InvalidParameterValueException$ = [-3, n0, _IPVE,
222
+ { [_e]: _c, [_hE]: 400 },
223
+ [_M],
224
+ [0]
225
+ ];
226
+ n0_registry.registerError(exports.InvalidParameterValueException$, errors_1.InvalidParameterValueException);
227
+ exports.InvalidRequestException$ = [-3, n0, _IRE,
228
+ { [_e]: _c, [_hE]: 400 },
229
+ [_M],
230
+ [0]
231
+ ];
232
+ n0_registry.registerError(exports.InvalidRequestException$, errors_1.InvalidRequestException);
233
+ exports.LimitExceededException$ = [-3, n0, _LEE,
234
+ { [_e]: _c, [_hE]: 400 },
235
+ [_M],
236
+ [0]
237
+ ];
238
+ n0_registry.registerError(exports.LimitExceededException$, errors_1.LimitExceededException);
239
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
240
+ { [_e]: _c, [_hE]: 404 },
241
+ [_M],
242
+ [0]
243
+ ];
244
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
245
+ exports.ServiceUnavailableException$ = [-3, n0, _SUE,
246
+ { [_e]: _se, [_hE]: 503 },
247
+ [_M],
248
+ [0]
249
+ ];
250
+ n0_registry.registerError(exports.ServiceUnavailableException$, errors_1.ServiceUnavailableException);
251
+ exports.TextSizeLimitExceededException$ = [-3, n0, _TSLEE,
252
+ { [_e]: _c, [_hE]: 400 },
253
+ [_M],
254
+ [0]
255
+ ];
256
+ n0_registry.registerError(exports.TextSizeLimitExceededException$, errors_1.TextSizeLimitExceededException);
257
+ exports.TooManyRequestsException$ = [-3, n0, _TMRE,
258
+ { [_e]: _c, [_hE]: 429 },
259
+ [_M],
260
+ [0]
261
+ ];
262
+ n0_registry.registerError(exports.TooManyRequestsException$, errors_1.TooManyRequestsException);
263
+ exports.TooManyTagsException$ = [-3, n0, _TMTE,
264
+ { [_e]: _c, [_hE]: 400 },
265
+ [_m, _RA],
266
+ [0, 0]
267
+ ];
268
+ n0_registry.registerError(exports.TooManyTagsException$, errors_1.TooManyTagsException);
269
+ exports.UnsupportedDisplayLanguageCodeException$ = [-3, n0, _UDLCE,
270
+ { [_e]: _c, [_hE]: 400 },
271
+ [_M, _DLCi],
272
+ [0, 0]
273
+ ];
274
+ n0_registry.registerError(exports.UnsupportedDisplayLanguageCodeException$, errors_1.UnsupportedDisplayLanguageCodeException);
275
+ exports.UnsupportedLanguagePairException$ = [-3, n0, _ULPE,
276
+ { [_e]: _c, [_hE]: 400 },
277
+ [_M, _SLC, _TLC],
278
+ [0, 0, 0]
279
+ ];
280
+ n0_registry.registerError(exports.UnsupportedLanguagePairException$, errors_1.UnsupportedLanguagePairException);
281
+ exports.errorTypeRegistries = [
282
+ _s_registry,
283
+ n0_registry,
284
+ ];
285
+ var DocumentContent = [0, n0, _DC, 8, 21];
286
+ var TerminologyFile = [0, n0, _TF, 8, 21];
287
+ var TranslatedDocumentContent = [0, n0, _TDC, 8, 21];
288
+ exports.AppliedTerminology$ = [3, n0, _AT,
289
+ 0,
290
+ [_N, _T],
291
+ [0, () => TermList]
292
+ ];
293
+ exports.CreateParallelDataRequest$ = [3, n0, _CPDR,
294
+ 0,
295
+ [_N, _PDC, _D, _EK, _CT, _Ta],
296
+ [0, () => exports.ParallelDataConfig$, 0, () => exports.EncryptionKey$, [0, 4], () => TagList], 2
297
+ ];
298
+ exports.CreateParallelDataResponse$ = [3, n0, _CPDRr,
299
+ 0,
300
+ [_N, _S],
301
+ [0, 0]
302
+ ];
303
+ exports.DeleteParallelDataRequest$ = [3, n0, _DPDR,
304
+ 0,
305
+ [_N],
306
+ [0], 1
307
+ ];
308
+ exports.DeleteParallelDataResponse$ = [3, n0, _DPDRe,
309
+ 0,
310
+ [_N, _S],
311
+ [0, 0]
312
+ ];
313
+ exports.DeleteTerminologyRequest$ = [3, n0, _DTR,
314
+ 0,
315
+ [_N],
316
+ [0], 1
317
+ ];
318
+ exports.DescribeTextTranslationJobRequest$ = [3, n0, _DTTJR,
319
+ 0,
320
+ [_JI],
321
+ [0], 1
322
+ ];
323
+ exports.DescribeTextTranslationJobResponse$ = [3, n0, _DTTJRe,
324
+ 0,
325
+ [_TTJP],
326
+ [() => exports.TextTranslationJobProperties$]
327
+ ];
328
+ exports.Document$ = [3, n0, _Do,
329
+ 0,
330
+ [_C, _CTo],
331
+ [[() => DocumentContent, 0], 0], 2
332
+ ];
333
+ exports.EncryptionKey$ = [3, n0, _EK,
334
+ 0,
335
+ [_Ty, _I],
336
+ [0, 0], 2
337
+ ];
338
+ exports.GetParallelDataRequest$ = [3, n0, _GPDR,
339
+ 0,
340
+ [_N],
341
+ [0], 1
342
+ ];
343
+ exports.GetParallelDataResponse$ = [3, n0, _GPDRe,
344
+ 0,
345
+ [_PDP, _DL, _ADL, _LUAADL],
346
+ [() => exports.ParallelDataProperties$, () => exports.ParallelDataDataLocation$, () => exports.ParallelDataDataLocation$, () => exports.ParallelDataDataLocation$]
347
+ ];
348
+ exports.GetTerminologyRequest$ = [3, n0, _GTR,
349
+ 0,
350
+ [_N, _TDF],
351
+ [0, 0], 1
352
+ ];
353
+ exports.GetTerminologyResponse$ = [3, n0, _GTRe,
354
+ 0,
355
+ [_TP, _TDL, _ADL],
356
+ [() => exports.TerminologyProperties$, () => exports.TerminologyDataLocation$, () => exports.TerminologyDataLocation$]
357
+ ];
358
+ exports.ImportTerminologyRequest$ = [3, n0, _ITR,
359
+ 0,
360
+ [_N, _MS, _TD, _D, _EK, _Ta],
361
+ [0, 0, [() => exports.TerminologyData$, 0], 0, () => exports.EncryptionKey$, () => TagList], 3
362
+ ];
363
+ exports.ImportTerminologyResponse$ = [3, n0, _ITRm,
364
+ 0,
365
+ [_TP, _ADL],
366
+ [() => exports.TerminologyProperties$, () => exports.TerminologyDataLocation$]
367
+ ];
368
+ exports.InputDataConfig$ = [3, n0, _IDC,
369
+ 0,
370
+ [_SU, _CTo],
371
+ [0, 0], 2
372
+ ];
373
+ exports.JobDetails$ = [3, n0, _JD,
374
+ 0,
375
+ [_TDCr, _DWEC, _IDCn],
376
+ [1, 1, 1]
377
+ ];
378
+ exports.Language$ = [3, n0, _L,
379
+ 0,
380
+ [_LN, _LC],
381
+ [0, 0], 2
382
+ ];
383
+ exports.ListLanguagesRequest$ = [3, n0, _LLR,
384
+ 0,
385
+ [_DLCi, _NT, _MR],
386
+ [0, 0, 1]
387
+ ];
388
+ exports.ListLanguagesResponse$ = [3, n0, _LLRi,
389
+ 0,
390
+ [_La, _DLCi, _NT],
391
+ [() => LanguagesList, 0, 0]
392
+ ];
393
+ exports.ListParallelDataRequest$ = [3, n0, _LPDR,
394
+ 0,
395
+ [_NT, _MR],
396
+ [0, 1]
397
+ ];
398
+ exports.ListParallelDataResponse$ = [3, n0, _LPDRi,
399
+ 0,
400
+ [_PDPL, _NT],
401
+ [() => ParallelDataPropertiesList, 0]
402
+ ];
403
+ exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
404
+ 0,
405
+ [_RA],
406
+ [0], 1
407
+ ];
408
+ exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
409
+ 0,
410
+ [_Ta],
411
+ [() => TagList]
412
+ ];
413
+ exports.ListTerminologiesRequest$ = [3, n0, _LTR,
414
+ 0,
415
+ [_NT, _MR],
416
+ [0, 1]
417
+ ];
418
+ exports.ListTerminologiesResponse$ = [3, n0, _LTRi,
419
+ 0,
420
+ [_TPL, _NT],
421
+ [() => TerminologyPropertiesList, 0]
422
+ ];
423
+ exports.ListTextTranslationJobsRequest$ = [3, n0, _LTTJR,
424
+ 0,
425
+ [_F, _NT, _MR],
426
+ [() => exports.TextTranslationJobFilter$, 0, 1]
427
+ ];
428
+ exports.ListTextTranslationJobsResponse$ = [3, n0, _LTTJRi,
429
+ 0,
430
+ [_TTJPL, _NT],
431
+ [() => TextTranslationJobPropertiesList, 0]
432
+ ];
433
+ exports.OutputDataConfig$ = [3, n0, _ODC,
434
+ 0,
435
+ [_SU, _EK],
436
+ [0, () => exports.EncryptionKey$], 1
437
+ ];
438
+ exports.ParallelDataConfig$ = [3, n0, _PDC,
439
+ 0,
440
+ [_SU, _Fo],
441
+ [0, 0]
442
+ ];
443
+ exports.ParallelDataDataLocation$ = [3, n0, _PDDL,
444
+ 0,
445
+ [_RT, _Lo],
446
+ [0, 0], 2
447
+ ];
448
+ exports.ParallelDataProperties$ = [3, n0, _PDP,
449
+ 0,
450
+ [_N, _A, _D, _S, _SLC, _TLCa, _PDC, _M, _IDS, _IRC, _FRC, _SRC, _EK, _CA, _LUA, _LUAS, _LUAA],
451
+ [0, 0, 0, 0, 0, 64 | 0, () => exports.ParallelDataConfig$, 0, 1, 1, 1, 1, () => exports.EncryptionKey$, 4, 4, 0, 4]
452
+ ];
453
+ exports.StartTextTranslationJobRequest$ = [3, n0, _STTJR,
454
+ 0,
455
+ [_IDC, _ODC, _DARA, _SLC, _TLCa, _JN, _TN, _PDN, _CT, _Se],
456
+ [() => exports.InputDataConfig$, () => exports.OutputDataConfig$, 0, 0, 64 | 0, 0, 64 | 0, 64 | 0, [0, 4], () => exports.TranslationSettings$], 5
457
+ ];
458
+ exports.StartTextTranslationJobResponse$ = [3, n0, _STTJRt,
459
+ 0,
460
+ [_JI, _JS],
461
+ [0, 0]
462
+ ];
463
+ exports.StopTextTranslationJobRequest$ = [3, n0, _STTJRto,
464
+ 0,
465
+ [_JI],
466
+ [0], 1
467
+ ];
468
+ exports.StopTextTranslationJobResponse$ = [3, n0, _STTJRtop,
469
+ 0,
470
+ [_JI, _JS],
471
+ [0, 0]
472
+ ];
473
+ exports.Tag$ = [3, n0, _Tag,
474
+ 0,
475
+ [_K, _V],
476
+ [0, 0], 2
477
+ ];
478
+ exports.TagResourceRequest$ = [3, n0, _TRR,
479
+ 0,
480
+ [_RA, _Ta],
481
+ [0, () => TagList], 2
482
+ ];
483
+ exports.TagResourceResponse$ = [3, n0, _TRRa,
484
+ 0,
485
+ [],
486
+ []
487
+ ];
488
+ exports.Term$ = [3, n0, _Te,
489
+ 0,
490
+ [_ST, _TT],
491
+ [0, 0]
492
+ ];
493
+ exports.TerminologyData$ = [3, n0, _TD,
494
+ 0,
495
+ [_Fi, _Fo, _Di],
496
+ [[() => TerminologyFile, 0], 0, 0], 2
497
+ ];
498
+ exports.TerminologyDataLocation$ = [3, n0, _TDL,
499
+ 0,
500
+ [_RT, _Lo],
501
+ [0, 0], 2
502
+ ];
503
+ exports.TerminologyProperties$ = [3, n0, _TP,
504
+ 0,
505
+ [_N, _D, _A, _SLC, _TLCa, _EK, _SB, _TC, _CA, _LUA, _Di, _M, _STC, _Fo],
506
+ [0, 0, 0, 0, 64 | 0, () => exports.EncryptionKey$, 1, 1, 4, 4, 0, 0, 1, 0]
507
+ ];
508
+ exports.TextTranslationJobFilter$ = [3, n0, _TTJF,
509
+ 0,
510
+ [_JN, _JS, _SBT, _SAT],
511
+ [0, 0, 4, 4]
512
+ ];
513
+ exports.TextTranslationJobProperties$ = [3, n0, _TTJP,
514
+ 0,
515
+ [_JI, _JN, _JS, _JD, _SLC, _TLCa, _TN, _PDN, _M, _STu, _ET, _IDC, _ODC, _DARA, _Se],
516
+ [0, 0, 0, () => exports.JobDetails$, 0, 64 | 0, 64 | 0, 64 | 0, 0, 4, 4, () => exports.InputDataConfig$, () => exports.OutputDataConfig$, 0, () => exports.TranslationSettings$]
517
+ ];
518
+ exports.TranslatedDocument$ = [3, n0, _TDr,
519
+ 0,
520
+ [_C],
521
+ [[() => TranslatedDocumentContent, 0]], 1
522
+ ];
523
+ exports.TranslateDocumentRequest$ = [3, n0, _TDR,
524
+ 0,
525
+ [_Do, _SLC, _TLC, _TN, _Se],
526
+ [[() => exports.Document$, 0], 0, 0, 64 | 0, () => exports.TranslationSettings$], 3
527
+ ];
528
+ exports.TranslateDocumentResponse$ = [3, n0, _TDRr,
529
+ 0,
530
+ [_TDr, _SLC, _TLC, _ATp, _AS],
531
+ [[() => exports.TranslatedDocument$, 0], 0, 0, () => AppliedTerminologyList, () => exports.TranslationSettings$], 3
532
+ ];
533
+ exports.TranslateTextRequest$ = [3, n0, _TTR,
534
+ 0,
535
+ [_Tex, _SLC, _TLC, _TN, _Se],
536
+ [0, 0, 0, 64 | 0, () => exports.TranslationSettings$], 3
537
+ ];
538
+ exports.TranslateTextResponse$ = [3, n0, _TTRr,
539
+ 0,
540
+ [_TTr, _SLC, _TLC, _ATp, _AS],
541
+ [0, 0, 0, () => AppliedTerminologyList, () => exports.TranslationSettings$], 3
542
+ ];
543
+ exports.TranslationSettings$ = [3, n0, _TS,
544
+ 0,
545
+ [_For, _P, _B],
546
+ [0, 0, 0]
547
+ ];
548
+ exports.UntagResourceRequest$ = [3, n0, _URR,
549
+ 0,
550
+ [_RA, _TK],
551
+ [0, 64 | 0], 2
552
+ ];
553
+ exports.UntagResourceResponse$ = [3, n0, _URRn,
554
+ 0,
555
+ [],
556
+ []
557
+ ];
558
+ exports.UpdateParallelDataRequest$ = [3, n0, _UPDR,
559
+ 0,
560
+ [_N, _PDC, _D, _CT],
561
+ [0, () => exports.ParallelDataConfig$, 0, [0, 4]], 2
562
+ ];
563
+ exports.UpdateParallelDataResponse$ = [3, n0, _UPDRp,
564
+ 0,
565
+ [_N, _S, _LUAS, _LUAA],
566
+ [0, 0, 0, 4]
567
+ ];
568
+ var __Unit = "unit";
569
+ var AppliedTerminologyList = [1, n0, _ATL,
570
+ 0, () => exports.AppliedTerminology$
571
+ ];
572
+ var LanguageCodeStringList = 64 | 0;
573
+ var LanguagesList = [1, n0, _LL,
574
+ 0, () => exports.Language$
575
+ ];
576
+ var ParallelDataPropertiesList = [1, n0, _PDPL,
577
+ 0, () => exports.ParallelDataProperties$
578
+ ];
579
+ var ResourceNameList = 64 | 0;
580
+ var TagKeyList = 64 | 0;
581
+ var TagList = [1, n0, _TL,
582
+ 0, () => exports.Tag$
583
+ ];
584
+ var TargetLanguageCodeStringList = 64 | 0;
585
+ var TerminologyPropertiesList = [1, n0, _TPL,
586
+ 0, () => exports.TerminologyProperties$
587
+ ];
588
+ var TermList = [1, n0, _TLe,
589
+ 0, () => exports.Term$
590
+ ];
591
+ var TextTranslationJobPropertiesList = [1, n0, _TTJPL,
592
+ 0, () => exports.TextTranslationJobProperties$
593
+ ];
594
+ exports.CreateParallelData$ = [9, n0, _CPD,
595
+ 0, () => exports.CreateParallelDataRequest$, () => exports.CreateParallelDataResponse$
596
+ ];
597
+ exports.DeleteParallelData$ = [9, n0, _DPD,
598
+ 0, () => exports.DeleteParallelDataRequest$, () => exports.DeleteParallelDataResponse$
599
+ ];
600
+ exports.DeleteTerminology$ = [9, n0, _DT,
601
+ 0, () => exports.DeleteTerminologyRequest$, () => __Unit
602
+ ];
603
+ exports.DescribeTextTranslationJob$ = [9, n0, _DTTJ,
604
+ 0, () => exports.DescribeTextTranslationJobRequest$, () => exports.DescribeTextTranslationJobResponse$
605
+ ];
606
+ exports.GetParallelData$ = [9, n0, _GPD,
607
+ 0, () => exports.GetParallelDataRequest$, () => exports.GetParallelDataResponse$
608
+ ];
609
+ exports.GetTerminology$ = [9, n0, _GT,
610
+ 0, () => exports.GetTerminologyRequest$, () => exports.GetTerminologyResponse$
611
+ ];
612
+ exports.ImportTerminology$ = [9, n0, _IT,
613
+ 0, () => exports.ImportTerminologyRequest$, () => exports.ImportTerminologyResponse$
614
+ ];
615
+ exports.ListLanguages$ = [9, n0, _LLi,
616
+ 0, () => exports.ListLanguagesRequest$, () => exports.ListLanguagesResponse$
617
+ ];
618
+ exports.ListParallelData$ = [9, n0, _LPD,
619
+ 0, () => exports.ListParallelDataRequest$, () => exports.ListParallelDataResponse$
620
+ ];
621
+ exports.ListTagsForResource$ = [9, n0, _LTFR,
622
+ 0, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
623
+ ];
624
+ exports.ListTerminologies$ = [9, n0, _LT,
625
+ 0, () => exports.ListTerminologiesRequest$, () => exports.ListTerminologiesResponse$
626
+ ];
627
+ exports.ListTextTranslationJobs$ = [9, n0, _LTTJ,
628
+ 0, () => exports.ListTextTranslationJobsRequest$, () => exports.ListTextTranslationJobsResponse$
629
+ ];
630
+ exports.StartTextTranslationJob$ = [9, n0, _STTJ,
631
+ 0, () => exports.StartTextTranslationJobRequest$, () => exports.StartTextTranslationJobResponse$
632
+ ];
633
+ exports.StopTextTranslationJob$ = [9, n0, _STTJt,
634
+ 0, () => exports.StopTextTranslationJobRequest$, () => exports.StopTextTranslationJobResponse$
635
+ ];
636
+ exports.TagResource$ = [9, n0, _TR,
637
+ 0, () => exports.TagResourceRequest$, () => exports.TagResourceResponse$
638
+ ];
639
+ exports.TranslateDocument$ = [9, n0, _TDra,
640
+ 0, () => exports.TranslateDocumentRequest$, () => exports.TranslateDocumentResponse$
641
+ ];
642
+ exports.TranslateText$ = [9, n0, _TTra,
643
+ 0, () => exports.TranslateTextRequest$, () => exports.TranslateTextResponse$
644
+ ];
645
+ exports.UntagResource$ = [9, n0, _UR,
646
+ 0, () => exports.UntagResourceRequest$, () => exports.UntagResourceResponse$
647
+ ];
648
+ exports.UpdateParallelData$ = [9, n0, _UPD,
649
+ 0, () => exports.UpdateParallelDataRequest$, () => exports.UpdateParallelDataResponse$
650
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultTranslateHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2017-07-01",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsJson1_1Protocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.translate",
30
+ errorTypeRegistries,
29
31
  version: "2017-07-01",
30
32
  serviceTarget: "AWSShineFrontendService_20170701",
31
33
  },