@aws-sdk/client-translate 3.170.0 → 3.178.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/CHANGELOG.md +16 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/Translate.d.ts +0 -15
- package/dist-types/ts3.4/TranslateClient.d.ts +0 -25
- package/dist-types/ts3.4/commands/CreateParallelDataCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteParallelDataCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteTerminologyCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/GetParallelDataCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/GetTerminologyCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ImportTerminologyCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListLanguagesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListParallelDataCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListTerminologiesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListTextTranslationJobsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/TranslateTextCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/UpdateParallelDataCommand.d.ts +0 -2
- package/dist-types/ts3.4/models/TranslateServiceException.d.ts +0 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -206
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -1
- package/package.json +26 -26
|
@@ -1,32 +1,24 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { TranslateServiceException as __BaseException } from "./TranslateServiceException";
|
|
3
|
-
|
|
4
3
|
export interface Term {
|
|
5
4
|
SourceText?: string;
|
|
6
|
-
|
|
7
5
|
TargetText?: string;
|
|
8
6
|
}
|
|
9
|
-
|
|
10
7
|
export interface AppliedTerminology {
|
|
11
8
|
Name?: string;
|
|
12
|
-
|
|
13
9
|
Terms?: Term[];
|
|
14
10
|
}
|
|
15
|
-
|
|
16
11
|
export declare class ConflictException extends __BaseException {
|
|
17
12
|
readonly name: "ConflictException";
|
|
18
13
|
readonly $fault: "client";
|
|
19
14
|
Message?: string;
|
|
20
|
-
|
|
21
15
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
22
16
|
}
|
|
23
17
|
export declare enum EncryptionKeyType {
|
|
24
18
|
KMS = "KMS",
|
|
25
19
|
}
|
|
26
|
-
|
|
27
20
|
export interface EncryptionKey {
|
|
28
21
|
Type: EncryptionKeyType | string | undefined;
|
|
29
|
-
|
|
30
22
|
Id: string | undefined;
|
|
31
23
|
}
|
|
32
24
|
export declare enum ParallelDataFormat {
|
|
@@ -34,21 +26,15 @@ export declare enum ParallelDataFormat {
|
|
|
34
26
|
TMX = "TMX",
|
|
35
27
|
TSV = "TSV",
|
|
36
28
|
}
|
|
37
|
-
|
|
38
29
|
export interface ParallelDataConfig {
|
|
39
30
|
S3Uri: string | undefined;
|
|
40
|
-
|
|
41
31
|
Format: ParallelDataFormat | string | undefined;
|
|
42
32
|
}
|
|
43
33
|
export interface CreateParallelDataRequest {
|
|
44
34
|
Name: string | undefined;
|
|
45
|
-
|
|
46
35
|
Description?: string;
|
|
47
|
-
|
|
48
36
|
ParallelDataConfig: ParallelDataConfig | undefined;
|
|
49
|
-
|
|
50
37
|
EncryptionKey?: EncryptionKey;
|
|
51
|
-
|
|
52
38
|
ClientToken?: string;
|
|
53
39
|
}
|
|
54
40
|
export declare enum ParallelDataStatus {
|
|
@@ -60,65 +46,52 @@ export declare enum ParallelDataStatus {
|
|
|
60
46
|
}
|
|
61
47
|
export interface CreateParallelDataResponse {
|
|
62
48
|
Name?: string;
|
|
63
|
-
|
|
64
49
|
Status?: ParallelDataStatus | string;
|
|
65
50
|
}
|
|
66
|
-
|
|
67
51
|
export declare class InternalServerException extends __BaseException {
|
|
68
52
|
readonly name: "InternalServerException";
|
|
69
53
|
readonly $fault: "server";
|
|
70
54
|
Message?: string;
|
|
71
|
-
|
|
72
55
|
constructor(
|
|
73
56
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
74
57
|
);
|
|
75
58
|
}
|
|
76
|
-
|
|
77
59
|
export declare class InvalidParameterValueException extends __BaseException {
|
|
78
60
|
readonly name: "InvalidParameterValueException";
|
|
79
61
|
readonly $fault: "client";
|
|
80
62
|
Message?: string;
|
|
81
|
-
|
|
82
63
|
constructor(
|
|
83
64
|
opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>
|
|
84
65
|
);
|
|
85
66
|
}
|
|
86
|
-
|
|
87
67
|
export declare class InvalidRequestException extends __BaseException {
|
|
88
68
|
readonly name: "InvalidRequestException";
|
|
89
69
|
readonly $fault: "client";
|
|
90
70
|
Message?: string;
|
|
91
|
-
|
|
92
71
|
constructor(
|
|
93
72
|
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
94
73
|
);
|
|
95
74
|
}
|
|
96
|
-
|
|
97
75
|
export declare class LimitExceededException extends __BaseException {
|
|
98
76
|
readonly name: "LimitExceededException";
|
|
99
77
|
readonly $fault: "client";
|
|
100
78
|
Message?: string;
|
|
101
|
-
|
|
102
79
|
constructor(
|
|
103
80
|
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
104
81
|
);
|
|
105
82
|
}
|
|
106
|
-
|
|
107
83
|
export declare class TooManyRequestsException extends __BaseException {
|
|
108
84
|
readonly name: "TooManyRequestsException";
|
|
109
85
|
readonly $fault: "client";
|
|
110
86
|
Message?: string;
|
|
111
|
-
|
|
112
87
|
constructor(
|
|
113
88
|
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
114
89
|
);
|
|
115
90
|
}
|
|
116
|
-
|
|
117
91
|
export declare class ConcurrentModificationException extends __BaseException {
|
|
118
92
|
readonly name: "ConcurrentModificationException";
|
|
119
93
|
readonly $fault: "client";
|
|
120
94
|
Message?: string;
|
|
121
|
-
|
|
122
95
|
constructor(
|
|
123
96
|
opts: __ExceptionOptionType<
|
|
124
97
|
ConcurrentModificationException,
|
|
@@ -131,15 +104,12 @@ export interface DeleteParallelDataRequest {
|
|
|
131
104
|
}
|
|
132
105
|
export interface DeleteParallelDataResponse {
|
|
133
106
|
Name?: string;
|
|
134
|
-
|
|
135
107
|
Status?: ParallelDataStatus | string;
|
|
136
108
|
}
|
|
137
|
-
|
|
138
109
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
139
110
|
readonly name: "ResourceNotFoundException";
|
|
140
111
|
readonly $fault: "client";
|
|
141
112
|
Message?: string;
|
|
142
|
-
|
|
143
113
|
constructor(
|
|
144
114
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
145
115
|
);
|
|
@@ -150,18 +120,13 @@ export interface DeleteTerminologyRequest {
|
|
|
150
120
|
export interface DescribeTextTranslationJobRequest {
|
|
151
121
|
JobId: string | undefined;
|
|
152
122
|
}
|
|
153
|
-
|
|
154
123
|
export interface InputDataConfig {
|
|
155
124
|
S3Uri: string | undefined;
|
|
156
|
-
|
|
157
125
|
ContentType: string | undefined;
|
|
158
126
|
}
|
|
159
|
-
|
|
160
127
|
export interface JobDetails {
|
|
161
128
|
TranslatedDocumentsCount?: number;
|
|
162
|
-
|
|
163
129
|
DocumentsWithErrorsCount?: number;
|
|
164
|
-
|
|
165
130
|
InputDocumentsCount?: number;
|
|
166
131
|
}
|
|
167
132
|
export declare enum JobStatus {
|
|
@@ -173,10 +138,8 @@ export declare enum JobStatus {
|
|
|
173
138
|
STOP_REQUESTED = "STOP_REQUESTED",
|
|
174
139
|
SUBMITTED = "SUBMITTED",
|
|
175
140
|
}
|
|
176
|
-
|
|
177
141
|
export interface OutputDataConfig {
|
|
178
142
|
S3Uri: string | undefined;
|
|
179
|
-
|
|
180
143
|
EncryptionKey?: EncryptionKey;
|
|
181
144
|
}
|
|
182
145
|
export declare enum Formality {
|
|
@@ -186,42 +149,25 @@ export declare enum Formality {
|
|
|
186
149
|
export declare enum Profanity {
|
|
187
150
|
MASK = "MASK",
|
|
188
151
|
}
|
|
189
|
-
|
|
190
152
|
export interface TranslationSettings {
|
|
191
153
|
Formality?: Formality | string;
|
|
192
|
-
|
|
193
154
|
Profanity?: Profanity | string;
|
|
194
155
|
}
|
|
195
|
-
|
|
196
156
|
export interface TextTranslationJobProperties {
|
|
197
157
|
JobId?: string;
|
|
198
|
-
|
|
199
158
|
JobName?: string;
|
|
200
|
-
|
|
201
159
|
JobStatus?: JobStatus | string;
|
|
202
|
-
|
|
203
160
|
JobDetails?: JobDetails;
|
|
204
|
-
|
|
205
161
|
SourceLanguageCode?: string;
|
|
206
|
-
|
|
207
162
|
TargetLanguageCodes?: string[];
|
|
208
|
-
|
|
209
163
|
TerminologyNames?: string[];
|
|
210
|
-
|
|
211
164
|
ParallelDataNames?: string[];
|
|
212
|
-
|
|
213
165
|
Message?: string;
|
|
214
|
-
|
|
215
166
|
SubmittedTime?: Date;
|
|
216
|
-
|
|
217
167
|
EndTime?: Date;
|
|
218
|
-
|
|
219
168
|
InputDataConfig?: InputDataConfig;
|
|
220
|
-
|
|
221
169
|
OutputDataConfig?: OutputDataConfig;
|
|
222
|
-
|
|
223
170
|
DataAccessRoleArn?: string;
|
|
224
|
-
|
|
225
171
|
Settings?: TranslationSettings;
|
|
226
172
|
}
|
|
227
173
|
export interface DescribeTextTranslationJobResponse {
|
|
@@ -230,55 +176,33 @@ export interface DescribeTextTranslationJobResponse {
|
|
|
230
176
|
export interface GetParallelDataRequest {
|
|
231
177
|
Name: string | undefined;
|
|
232
178
|
}
|
|
233
|
-
|
|
234
179
|
export interface ParallelDataDataLocation {
|
|
235
180
|
RepositoryType: string | undefined;
|
|
236
|
-
|
|
237
181
|
Location: string | undefined;
|
|
238
182
|
}
|
|
239
|
-
|
|
240
183
|
export interface ParallelDataProperties {
|
|
241
184
|
Name?: string;
|
|
242
|
-
|
|
243
185
|
Arn?: string;
|
|
244
|
-
|
|
245
186
|
Description?: string;
|
|
246
|
-
|
|
247
187
|
Status?: ParallelDataStatus | string;
|
|
248
|
-
|
|
249
188
|
SourceLanguageCode?: string;
|
|
250
|
-
|
|
251
189
|
TargetLanguageCodes?: string[];
|
|
252
|
-
|
|
253
190
|
ParallelDataConfig?: ParallelDataConfig;
|
|
254
|
-
|
|
255
191
|
Message?: string;
|
|
256
|
-
|
|
257
192
|
ImportedDataSize?: number;
|
|
258
|
-
|
|
259
193
|
ImportedRecordCount?: number;
|
|
260
|
-
|
|
261
194
|
FailedRecordCount?: number;
|
|
262
|
-
|
|
263
195
|
SkippedRecordCount?: number;
|
|
264
|
-
|
|
265
196
|
EncryptionKey?: EncryptionKey;
|
|
266
|
-
|
|
267
197
|
CreatedAt?: Date;
|
|
268
|
-
|
|
269
198
|
LastUpdatedAt?: Date;
|
|
270
|
-
|
|
271
199
|
LatestUpdateAttemptStatus?: ParallelDataStatus | string;
|
|
272
|
-
|
|
273
200
|
LatestUpdateAttemptAt?: Date;
|
|
274
201
|
}
|
|
275
202
|
export interface GetParallelDataResponse {
|
|
276
203
|
ParallelDataProperties?: ParallelDataProperties;
|
|
277
|
-
|
|
278
204
|
DataLocation?: ParallelDataDataLocation;
|
|
279
|
-
|
|
280
205
|
AuxiliaryDataLocation?: ParallelDataDataLocation;
|
|
281
|
-
|
|
282
206
|
LatestUpdateAttemptAuxiliaryDataLocation?: ParallelDataDataLocation;
|
|
283
207
|
}
|
|
284
208
|
export declare enum TerminologyDataFormat {
|
|
@@ -288,81 +212,54 @@ export declare enum TerminologyDataFormat {
|
|
|
288
212
|
}
|
|
289
213
|
export interface GetTerminologyRequest {
|
|
290
214
|
Name: string | undefined;
|
|
291
|
-
|
|
292
215
|
TerminologyDataFormat?: TerminologyDataFormat | string;
|
|
293
216
|
}
|
|
294
|
-
|
|
295
217
|
export interface TerminologyDataLocation {
|
|
296
218
|
RepositoryType: string | undefined;
|
|
297
|
-
|
|
298
219
|
Location: string | undefined;
|
|
299
220
|
}
|
|
300
221
|
export declare enum Directionality {
|
|
301
222
|
MULTI = "MULTI",
|
|
302
223
|
UNI = "UNI",
|
|
303
224
|
}
|
|
304
|
-
|
|
305
225
|
export interface TerminologyProperties {
|
|
306
226
|
Name?: string;
|
|
307
|
-
|
|
308
227
|
Description?: string;
|
|
309
|
-
|
|
310
228
|
Arn?: string;
|
|
311
|
-
|
|
312
229
|
SourceLanguageCode?: string;
|
|
313
|
-
|
|
314
230
|
TargetLanguageCodes?: string[];
|
|
315
|
-
|
|
316
231
|
EncryptionKey?: EncryptionKey;
|
|
317
|
-
|
|
318
232
|
SizeBytes?: number;
|
|
319
|
-
|
|
320
233
|
TermCount?: number;
|
|
321
|
-
|
|
322
234
|
CreatedAt?: Date;
|
|
323
|
-
|
|
324
235
|
LastUpdatedAt?: Date;
|
|
325
|
-
|
|
326
236
|
Directionality?: Directionality | string;
|
|
327
|
-
|
|
328
237
|
Message?: string;
|
|
329
|
-
|
|
330
238
|
SkippedTermCount?: number;
|
|
331
|
-
|
|
332
239
|
Format?: TerminologyDataFormat | string;
|
|
333
240
|
}
|
|
334
241
|
export interface GetTerminologyResponse {
|
|
335
242
|
TerminologyProperties?: TerminologyProperties;
|
|
336
|
-
|
|
337
243
|
TerminologyDataLocation?: TerminologyDataLocation;
|
|
338
|
-
|
|
339
244
|
AuxiliaryDataLocation?: TerminologyDataLocation;
|
|
340
245
|
}
|
|
341
246
|
export declare enum MergeStrategy {
|
|
342
247
|
OVERWRITE = "OVERWRITE",
|
|
343
248
|
}
|
|
344
|
-
|
|
345
249
|
export interface TerminologyData {
|
|
346
250
|
File: Uint8Array | undefined;
|
|
347
|
-
|
|
348
251
|
Format: TerminologyDataFormat | string | undefined;
|
|
349
|
-
|
|
350
252
|
Directionality?: Directionality | string;
|
|
351
253
|
}
|
|
352
254
|
export interface ImportTerminologyRequest {
|
|
353
255
|
Name: string | undefined;
|
|
354
|
-
|
|
355
256
|
MergeStrategy: MergeStrategy | string | undefined;
|
|
356
|
-
|
|
357
257
|
Description?: string;
|
|
358
|
-
|
|
359
258
|
TerminologyData: TerminologyData | undefined;
|
|
360
|
-
|
|
361
259
|
EncryptionKey?: EncryptionKey;
|
|
362
260
|
}
|
|
363
261
|
export interface ImportTerminologyResponse {
|
|
364
262
|
TerminologyProperties?: TerminologyProperties;
|
|
365
|
-
|
|
366
263
|
AuxiliaryDataLocation?: TerminologyDataLocation;
|
|
367
264
|
}
|
|
368
265
|
export declare enum DisplayLanguageCode {
|
|
@@ -379,32 +276,23 @@ export declare enum DisplayLanguageCode {
|
|
|
379
276
|
}
|
|
380
277
|
export interface ListLanguagesRequest {
|
|
381
278
|
DisplayLanguageCode?: DisplayLanguageCode | string;
|
|
382
|
-
|
|
383
279
|
NextToken?: string;
|
|
384
|
-
|
|
385
280
|
MaxResults?: number;
|
|
386
281
|
}
|
|
387
|
-
|
|
388
282
|
export interface Language {
|
|
389
283
|
LanguageName: string | undefined;
|
|
390
|
-
|
|
391
284
|
LanguageCode: string | undefined;
|
|
392
285
|
}
|
|
393
286
|
export interface ListLanguagesResponse {
|
|
394
287
|
Languages?: Language[];
|
|
395
|
-
|
|
396
288
|
DisplayLanguageCode?: DisplayLanguageCode | string;
|
|
397
|
-
|
|
398
289
|
NextToken?: string;
|
|
399
290
|
}
|
|
400
|
-
|
|
401
291
|
export declare class UnsupportedDisplayLanguageCodeException extends __BaseException {
|
|
402
292
|
readonly name: "UnsupportedDisplayLanguageCodeException";
|
|
403
293
|
readonly $fault: "client";
|
|
404
294
|
Message?: string;
|
|
405
|
-
|
|
406
295
|
DisplayLanguageCode?: string;
|
|
407
|
-
|
|
408
296
|
constructor(
|
|
409
297
|
opts: __ExceptionOptionType<
|
|
410
298
|
UnsupportedDisplayLanguageCodeException,
|
|
@@ -414,92 +302,65 @@ export declare class UnsupportedDisplayLanguageCodeException extends __BaseExcep
|
|
|
414
302
|
}
|
|
415
303
|
export interface ListParallelDataRequest {
|
|
416
304
|
NextToken?: string;
|
|
417
|
-
|
|
418
305
|
MaxResults?: number;
|
|
419
306
|
}
|
|
420
307
|
export interface ListParallelDataResponse {
|
|
421
308
|
ParallelDataPropertiesList?: ParallelDataProperties[];
|
|
422
|
-
|
|
423
309
|
NextToken?: string;
|
|
424
310
|
}
|
|
425
311
|
export interface ListTerminologiesRequest {
|
|
426
312
|
NextToken?: string;
|
|
427
|
-
|
|
428
313
|
MaxResults?: number;
|
|
429
314
|
}
|
|
430
315
|
export interface ListTerminologiesResponse {
|
|
431
316
|
TerminologyPropertiesList?: TerminologyProperties[];
|
|
432
|
-
|
|
433
317
|
NextToken?: string;
|
|
434
318
|
}
|
|
435
|
-
|
|
436
319
|
export declare class InvalidFilterException extends __BaseException {
|
|
437
320
|
readonly name: "InvalidFilterException";
|
|
438
321
|
readonly $fault: "client";
|
|
439
322
|
Message?: string;
|
|
440
|
-
|
|
441
323
|
constructor(
|
|
442
324
|
opts: __ExceptionOptionType<InvalidFilterException, __BaseException>
|
|
443
325
|
);
|
|
444
326
|
}
|
|
445
|
-
|
|
446
327
|
export interface TextTranslationJobFilter {
|
|
447
328
|
JobName?: string;
|
|
448
|
-
|
|
449
329
|
JobStatus?: JobStatus | string;
|
|
450
|
-
|
|
451
330
|
SubmittedBeforeTime?: Date;
|
|
452
|
-
|
|
453
331
|
SubmittedAfterTime?: Date;
|
|
454
332
|
}
|
|
455
333
|
export interface ListTextTranslationJobsRequest {
|
|
456
334
|
Filter?: TextTranslationJobFilter;
|
|
457
|
-
|
|
458
335
|
NextToken?: string;
|
|
459
|
-
|
|
460
336
|
MaxResults?: number;
|
|
461
337
|
}
|
|
462
338
|
export interface ListTextTranslationJobsResponse {
|
|
463
339
|
TextTranslationJobPropertiesList?: TextTranslationJobProperties[];
|
|
464
|
-
|
|
465
340
|
NextToken?: string;
|
|
466
341
|
}
|
|
467
342
|
export interface StartTextTranslationJobRequest {
|
|
468
343
|
JobName?: string;
|
|
469
|
-
|
|
470
344
|
InputDataConfig: InputDataConfig | undefined;
|
|
471
|
-
|
|
472
345
|
OutputDataConfig: OutputDataConfig | undefined;
|
|
473
|
-
|
|
474
346
|
DataAccessRoleArn: string | undefined;
|
|
475
|
-
|
|
476
347
|
SourceLanguageCode: string | undefined;
|
|
477
|
-
|
|
478
348
|
TargetLanguageCodes: string[] | undefined;
|
|
479
|
-
|
|
480
349
|
TerminologyNames?: string[];
|
|
481
|
-
|
|
482
350
|
ParallelDataNames?: string[];
|
|
483
|
-
|
|
484
351
|
ClientToken?: string;
|
|
485
|
-
|
|
486
352
|
Settings?: TranslationSettings;
|
|
487
353
|
}
|
|
488
354
|
export interface StartTextTranslationJobResponse {
|
|
489
355
|
JobId?: string;
|
|
490
|
-
|
|
491
356
|
JobStatus?: JobStatus | string;
|
|
492
357
|
}
|
|
493
|
-
|
|
494
358
|
export declare class UnsupportedLanguagePairException extends __BaseException {
|
|
495
359
|
readonly name: "UnsupportedLanguagePairException";
|
|
496
360
|
readonly $fault: "client";
|
|
497
361
|
Message?: string;
|
|
498
|
-
|
|
499
362
|
SourceLanguageCode?: string;
|
|
500
|
-
|
|
501
363
|
TargetLanguageCode?: string;
|
|
502
|
-
|
|
503
364
|
constructor(
|
|
504
365
|
opts: __ExceptionOptionType<
|
|
505
366
|
UnsupportedLanguagePairException,
|
|
@@ -512,17 +373,13 @@ export interface StopTextTranslationJobRequest {
|
|
|
512
373
|
}
|
|
513
374
|
export interface StopTextTranslationJobResponse {
|
|
514
375
|
JobId?: string;
|
|
515
|
-
|
|
516
376
|
JobStatus?: JobStatus | string;
|
|
517
377
|
}
|
|
518
|
-
|
|
519
378
|
export declare class DetectedLanguageLowConfidenceException extends __BaseException {
|
|
520
379
|
readonly name: "DetectedLanguageLowConfidenceException";
|
|
521
380
|
readonly $fault: "client";
|
|
522
381
|
Message?: string;
|
|
523
|
-
|
|
524
382
|
DetectedLanguageCode?: string;
|
|
525
|
-
|
|
526
383
|
constructor(
|
|
527
384
|
opts: __ExceptionOptionType<
|
|
528
385
|
DetectedLanguageLowConfidenceException,
|
|
@@ -530,237 +387,174 @@ export declare class DetectedLanguageLowConfidenceException extends __BaseExcept
|
|
|
530
387
|
>
|
|
531
388
|
);
|
|
532
389
|
}
|
|
533
|
-
|
|
534
390
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
535
391
|
readonly name: "ServiceUnavailableException";
|
|
536
392
|
readonly $fault: "server";
|
|
537
393
|
Message?: string;
|
|
538
|
-
|
|
539
394
|
constructor(
|
|
540
395
|
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
541
396
|
);
|
|
542
397
|
}
|
|
543
|
-
|
|
544
398
|
export declare class TextSizeLimitExceededException extends __BaseException {
|
|
545
399
|
readonly name: "TextSizeLimitExceededException";
|
|
546
400
|
readonly $fault: "client";
|
|
547
401
|
Message?: string;
|
|
548
|
-
|
|
549
402
|
constructor(
|
|
550
403
|
opts: __ExceptionOptionType<TextSizeLimitExceededException, __BaseException>
|
|
551
404
|
);
|
|
552
405
|
}
|
|
553
406
|
export interface TranslateTextRequest {
|
|
554
407
|
Text: string | undefined;
|
|
555
|
-
|
|
556
408
|
TerminologyNames?: string[];
|
|
557
|
-
|
|
558
409
|
SourceLanguageCode: string | undefined;
|
|
559
|
-
|
|
560
410
|
TargetLanguageCode: string | undefined;
|
|
561
|
-
|
|
562
411
|
Settings?: TranslationSettings;
|
|
563
412
|
}
|
|
564
413
|
export interface TranslateTextResponse {
|
|
565
414
|
TranslatedText: string | undefined;
|
|
566
|
-
|
|
567
415
|
SourceLanguageCode: string | undefined;
|
|
568
|
-
|
|
569
416
|
TargetLanguageCode: string | undefined;
|
|
570
|
-
|
|
571
417
|
AppliedTerminologies?: AppliedTerminology[];
|
|
572
|
-
|
|
573
418
|
AppliedSettings?: TranslationSettings;
|
|
574
419
|
}
|
|
575
420
|
export interface UpdateParallelDataRequest {
|
|
576
421
|
Name: string | undefined;
|
|
577
|
-
|
|
578
422
|
Description?: string;
|
|
579
|
-
|
|
580
423
|
ParallelDataConfig: ParallelDataConfig | undefined;
|
|
581
|
-
|
|
582
424
|
ClientToken?: string;
|
|
583
425
|
}
|
|
584
426
|
export interface UpdateParallelDataResponse {
|
|
585
427
|
Name?: string;
|
|
586
|
-
|
|
587
428
|
Status?: ParallelDataStatus | string;
|
|
588
|
-
|
|
589
429
|
LatestUpdateAttemptStatus?: ParallelDataStatus | string;
|
|
590
|
-
|
|
591
430
|
LatestUpdateAttemptAt?: Date;
|
|
592
431
|
}
|
|
593
|
-
|
|
594
432
|
export declare const TermFilterSensitiveLog: (obj: Term) => any;
|
|
595
|
-
|
|
596
433
|
export declare const AppliedTerminologyFilterSensitiveLog: (
|
|
597
434
|
obj: AppliedTerminology
|
|
598
435
|
) => any;
|
|
599
|
-
|
|
600
436
|
export declare const EncryptionKeyFilterSensitiveLog: (
|
|
601
437
|
obj: EncryptionKey
|
|
602
438
|
) => any;
|
|
603
|
-
|
|
604
439
|
export declare const ParallelDataConfigFilterSensitiveLog: (
|
|
605
440
|
obj: ParallelDataConfig
|
|
606
441
|
) => any;
|
|
607
|
-
|
|
608
442
|
export declare const CreateParallelDataRequestFilterSensitiveLog: (
|
|
609
443
|
obj: CreateParallelDataRequest
|
|
610
444
|
) => any;
|
|
611
|
-
|
|
612
445
|
export declare const CreateParallelDataResponseFilterSensitiveLog: (
|
|
613
446
|
obj: CreateParallelDataResponse
|
|
614
447
|
) => any;
|
|
615
|
-
|
|
616
448
|
export declare const DeleteParallelDataRequestFilterSensitiveLog: (
|
|
617
449
|
obj: DeleteParallelDataRequest
|
|
618
450
|
) => any;
|
|
619
|
-
|
|
620
451
|
export declare const DeleteParallelDataResponseFilterSensitiveLog: (
|
|
621
452
|
obj: DeleteParallelDataResponse
|
|
622
453
|
) => any;
|
|
623
|
-
|
|
624
454
|
export declare const DeleteTerminologyRequestFilterSensitiveLog: (
|
|
625
455
|
obj: DeleteTerminologyRequest
|
|
626
456
|
) => any;
|
|
627
|
-
|
|
628
457
|
export declare const DescribeTextTranslationJobRequestFilterSensitiveLog: (
|
|
629
458
|
obj: DescribeTextTranslationJobRequest
|
|
630
459
|
) => any;
|
|
631
|
-
|
|
632
460
|
export declare const InputDataConfigFilterSensitiveLog: (
|
|
633
461
|
obj: InputDataConfig
|
|
634
462
|
) => any;
|
|
635
|
-
|
|
636
463
|
export declare const JobDetailsFilterSensitiveLog: (obj: JobDetails) => any;
|
|
637
|
-
|
|
638
464
|
export declare const OutputDataConfigFilterSensitiveLog: (
|
|
639
465
|
obj: OutputDataConfig
|
|
640
466
|
) => any;
|
|
641
|
-
|
|
642
467
|
export declare const TranslationSettingsFilterSensitiveLog: (
|
|
643
468
|
obj: TranslationSettings
|
|
644
469
|
) => any;
|
|
645
|
-
|
|
646
470
|
export declare const TextTranslationJobPropertiesFilterSensitiveLog: (
|
|
647
471
|
obj: TextTranslationJobProperties
|
|
648
472
|
) => any;
|
|
649
|
-
|
|
650
473
|
export declare const DescribeTextTranslationJobResponseFilterSensitiveLog: (
|
|
651
474
|
obj: DescribeTextTranslationJobResponse
|
|
652
475
|
) => any;
|
|
653
|
-
|
|
654
476
|
export declare const GetParallelDataRequestFilterSensitiveLog: (
|
|
655
477
|
obj: GetParallelDataRequest
|
|
656
478
|
) => any;
|
|
657
|
-
|
|
658
479
|
export declare const ParallelDataDataLocationFilterSensitiveLog: (
|
|
659
480
|
obj: ParallelDataDataLocation
|
|
660
481
|
) => any;
|
|
661
|
-
|
|
662
482
|
export declare const ParallelDataPropertiesFilterSensitiveLog: (
|
|
663
483
|
obj: ParallelDataProperties
|
|
664
484
|
) => any;
|
|
665
|
-
|
|
666
485
|
export declare const GetParallelDataResponseFilterSensitiveLog: (
|
|
667
486
|
obj: GetParallelDataResponse
|
|
668
487
|
) => any;
|
|
669
|
-
|
|
670
488
|
export declare const GetTerminologyRequestFilterSensitiveLog: (
|
|
671
489
|
obj: GetTerminologyRequest
|
|
672
490
|
) => any;
|
|
673
|
-
|
|
674
491
|
export declare const TerminologyDataLocationFilterSensitiveLog: (
|
|
675
492
|
obj: TerminologyDataLocation
|
|
676
493
|
) => any;
|
|
677
|
-
|
|
678
494
|
export declare const TerminologyPropertiesFilterSensitiveLog: (
|
|
679
495
|
obj: TerminologyProperties
|
|
680
496
|
) => any;
|
|
681
|
-
|
|
682
497
|
export declare const GetTerminologyResponseFilterSensitiveLog: (
|
|
683
498
|
obj: GetTerminologyResponse
|
|
684
499
|
) => any;
|
|
685
|
-
|
|
686
500
|
export declare const TerminologyDataFilterSensitiveLog: (
|
|
687
501
|
obj: TerminologyData
|
|
688
502
|
) => any;
|
|
689
|
-
|
|
690
503
|
export declare const ImportTerminologyRequestFilterSensitiveLog: (
|
|
691
504
|
obj: ImportTerminologyRequest
|
|
692
505
|
) => any;
|
|
693
|
-
|
|
694
506
|
export declare const ImportTerminologyResponseFilterSensitiveLog: (
|
|
695
507
|
obj: ImportTerminologyResponse
|
|
696
508
|
) => any;
|
|
697
|
-
|
|
698
509
|
export declare const ListLanguagesRequestFilterSensitiveLog: (
|
|
699
510
|
obj: ListLanguagesRequest
|
|
700
511
|
) => any;
|
|
701
|
-
|
|
702
512
|
export declare const LanguageFilterSensitiveLog: (obj: Language) => any;
|
|
703
|
-
|
|
704
513
|
export declare const ListLanguagesResponseFilterSensitiveLog: (
|
|
705
514
|
obj: ListLanguagesResponse
|
|
706
515
|
) => any;
|
|
707
|
-
|
|
708
516
|
export declare const ListParallelDataRequestFilterSensitiveLog: (
|
|
709
517
|
obj: ListParallelDataRequest
|
|
710
518
|
) => any;
|
|
711
|
-
|
|
712
519
|
export declare const ListParallelDataResponseFilterSensitiveLog: (
|
|
713
520
|
obj: ListParallelDataResponse
|
|
714
521
|
) => any;
|
|
715
|
-
|
|
716
522
|
export declare const ListTerminologiesRequestFilterSensitiveLog: (
|
|
717
523
|
obj: ListTerminologiesRequest
|
|
718
524
|
) => any;
|
|
719
|
-
|
|
720
525
|
export declare const ListTerminologiesResponseFilterSensitiveLog: (
|
|
721
526
|
obj: ListTerminologiesResponse
|
|
722
527
|
) => any;
|
|
723
|
-
|
|
724
528
|
export declare const TextTranslationJobFilterFilterSensitiveLog: (
|
|
725
529
|
obj: TextTranslationJobFilter
|
|
726
530
|
) => any;
|
|
727
|
-
|
|
728
531
|
export declare const ListTextTranslationJobsRequestFilterSensitiveLog: (
|
|
729
532
|
obj: ListTextTranslationJobsRequest
|
|
730
533
|
) => any;
|
|
731
|
-
|
|
732
534
|
export declare const ListTextTranslationJobsResponseFilterSensitiveLog: (
|
|
733
535
|
obj: ListTextTranslationJobsResponse
|
|
734
536
|
) => any;
|
|
735
|
-
|
|
736
537
|
export declare const StartTextTranslationJobRequestFilterSensitiveLog: (
|
|
737
538
|
obj: StartTextTranslationJobRequest
|
|
738
539
|
) => any;
|
|
739
|
-
|
|
740
540
|
export declare const StartTextTranslationJobResponseFilterSensitiveLog: (
|
|
741
541
|
obj: StartTextTranslationJobResponse
|
|
742
542
|
) => any;
|
|
743
|
-
|
|
744
543
|
export declare const StopTextTranslationJobRequestFilterSensitiveLog: (
|
|
745
544
|
obj: StopTextTranslationJobRequest
|
|
746
545
|
) => any;
|
|
747
|
-
|
|
748
546
|
export declare const StopTextTranslationJobResponseFilterSensitiveLog: (
|
|
749
547
|
obj: StopTextTranslationJobResponse
|
|
750
548
|
) => any;
|
|
751
|
-
|
|
752
549
|
export declare const TranslateTextRequestFilterSensitiveLog: (
|
|
753
550
|
obj: TranslateTextRequest
|
|
754
551
|
) => any;
|
|
755
|
-
|
|
756
552
|
export declare const TranslateTextResponseFilterSensitiveLog: (
|
|
757
553
|
obj: TranslateTextResponse
|
|
758
554
|
) => any;
|
|
759
|
-
|
|
760
555
|
export declare const UpdateParallelDataRequestFilterSensitiveLog: (
|
|
761
556
|
obj: UpdateParallelDataRequest
|
|
762
557
|
) => any;
|
|
763
|
-
|
|
764
558
|
export declare const UpdateParallelDataResponseFilterSensitiveLog: (
|
|
765
559
|
obj: UpdateParallelDataResponse
|
|
766
560
|
) => any;
|