@aws-sdk/client-translate 3.686.0 → 3.691.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.
@@ -1,17 +1,17 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { TranslateServiceException as __BaseException } from "./TranslateServiceException";
3
3
  export interface Term {
4
- SourceText?: string;
5
- TargetText?: string;
4
+ SourceText?: string | undefined;
5
+ TargetText?: string | undefined;
6
6
  }
7
7
  export interface AppliedTerminology {
8
- Name?: string;
9
- Terms?: Term[];
8
+ Name?: string | undefined;
9
+ Terms?: Term[] | undefined;
10
10
  }
11
11
  export declare class ConcurrentModificationException extends __BaseException {
12
12
  readonly name: "ConcurrentModificationException";
13
13
  readonly $fault: "client";
14
- Message?: string;
14
+ Message?: string | undefined;
15
15
  constructor(
16
16
  opts: __ExceptionOptionType<
17
17
  ConcurrentModificationException,
@@ -22,7 +22,7 @@ export declare class ConcurrentModificationException extends __BaseException {
22
22
  export declare class ConflictException extends __BaseException {
23
23
  readonly name: "ConflictException";
24
24
  readonly $fault: "client";
25
- Message?: string;
25
+ Message?: string | undefined;
26
26
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
27
27
  }
28
28
  export declare const EncryptionKeyType: {
@@ -42,8 +42,8 @@ export declare const ParallelDataFormat: {
42
42
  export type ParallelDataFormat =
43
43
  (typeof ParallelDataFormat)[keyof typeof ParallelDataFormat];
44
44
  export interface ParallelDataConfig {
45
- S3Uri?: string;
46
- Format?: ParallelDataFormat;
45
+ S3Uri?: string | undefined;
46
+ Format?: ParallelDataFormat | undefined;
47
47
  }
48
48
  export interface Tag {
49
49
  Key: string | undefined;
@@ -51,11 +51,11 @@ export interface Tag {
51
51
  }
52
52
  export interface CreateParallelDataRequest {
53
53
  Name: string | undefined;
54
- Description?: string;
54
+ Description?: string | undefined;
55
55
  ParallelDataConfig: ParallelDataConfig | undefined;
56
- EncryptionKey?: EncryptionKey;
57
- ClientToken?: string;
58
- Tags?: Tag[];
56
+ EncryptionKey?: EncryptionKey | undefined;
57
+ ClientToken?: string | undefined;
58
+ Tags?: Tag[] | undefined;
59
59
  }
60
60
  export declare const ParallelDataStatus: {
61
61
  readonly ACTIVE: "ACTIVE";
@@ -67,13 +67,13 @@ export declare const ParallelDataStatus: {
67
67
  export type ParallelDataStatus =
68
68
  (typeof ParallelDataStatus)[keyof typeof ParallelDataStatus];
69
69
  export interface CreateParallelDataResponse {
70
- Name?: string;
71
- Status?: ParallelDataStatus;
70
+ Name?: string | undefined;
71
+ Status?: ParallelDataStatus | undefined;
72
72
  }
73
73
  export declare class InternalServerException extends __BaseException {
74
74
  readonly name: "InternalServerException";
75
75
  readonly $fault: "server";
76
- Message?: string;
76
+ Message?: string | undefined;
77
77
  constructor(
78
78
  opts: __ExceptionOptionType<InternalServerException, __BaseException>
79
79
  );
@@ -81,7 +81,7 @@ export declare class InternalServerException extends __BaseException {
81
81
  export declare class InvalidParameterValueException extends __BaseException {
82
82
  readonly name: "InvalidParameterValueException";
83
83
  readonly $fault: "client";
84
- Message?: string;
84
+ Message?: string | undefined;
85
85
  constructor(
86
86
  opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>
87
87
  );
@@ -89,7 +89,7 @@ export declare class InvalidParameterValueException extends __BaseException {
89
89
  export declare class InvalidRequestException extends __BaseException {
90
90
  readonly name: "InvalidRequestException";
91
91
  readonly $fault: "client";
92
- Message?: string;
92
+ Message?: string | undefined;
93
93
  constructor(
94
94
  opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
95
95
  );
@@ -97,7 +97,7 @@ export declare class InvalidRequestException extends __BaseException {
97
97
  export declare class LimitExceededException extends __BaseException {
98
98
  readonly name: "LimitExceededException";
99
99
  readonly $fault: "client";
100
- Message?: string;
100
+ Message?: string | undefined;
101
101
  constructor(
102
102
  opts: __ExceptionOptionType<LimitExceededException, __BaseException>
103
103
  );
@@ -105,7 +105,7 @@ export declare class LimitExceededException extends __BaseException {
105
105
  export declare class TooManyRequestsException extends __BaseException {
106
106
  readonly name: "TooManyRequestsException";
107
107
  readonly $fault: "client";
108
- Message?: string;
108
+ Message?: string | undefined;
109
109
  constructor(
110
110
  opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
111
111
  );
@@ -113,7 +113,7 @@ export declare class TooManyRequestsException extends __BaseException {
113
113
  export declare class TooManyTagsException extends __BaseException {
114
114
  readonly name: "TooManyTagsException";
115
115
  readonly $fault: "client";
116
- ResourceArn?: string;
116
+ ResourceArn?: string | undefined;
117
117
  constructor(
118
118
  opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
119
119
  );
@@ -122,13 +122,13 @@ export interface DeleteParallelDataRequest {
122
122
  Name: string | undefined;
123
123
  }
124
124
  export interface DeleteParallelDataResponse {
125
- Name?: string;
126
- Status?: ParallelDataStatus;
125
+ Name?: string | undefined;
126
+ Status?: ParallelDataStatus | undefined;
127
127
  }
128
128
  export declare class ResourceNotFoundException extends __BaseException {
129
129
  readonly name: "ResourceNotFoundException";
130
130
  readonly $fault: "client";
131
- Message?: string;
131
+ Message?: string | undefined;
132
132
  constructor(
133
133
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
134
134
  );
@@ -144,9 +144,9 @@ export interface InputDataConfig {
144
144
  ContentType: string | undefined;
145
145
  }
146
146
  export interface JobDetails {
147
- TranslatedDocumentsCount?: number;
148
- DocumentsWithErrorsCount?: number;
149
- InputDocumentsCount?: number;
147
+ TranslatedDocumentsCount?: number | undefined;
148
+ DocumentsWithErrorsCount?: number | undefined;
149
+ InputDocumentsCount?: number | undefined;
150
150
  }
151
151
  export declare const JobStatus: {
152
152
  readonly COMPLETED: "COMPLETED";
@@ -160,7 +160,7 @@ export declare const JobStatus: {
160
160
  export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
161
161
  export interface OutputDataConfig {
162
162
  S3Uri: string | undefined;
163
- EncryptionKey?: EncryptionKey;
163
+ EncryptionKey?: EncryptionKey | undefined;
164
164
  }
165
165
  export declare const Brevity: {
166
166
  readonly ON: "ON";
@@ -176,29 +176,29 @@ export declare const Profanity: {
176
176
  };
177
177
  export type Profanity = (typeof Profanity)[keyof typeof Profanity];
178
178
  export interface TranslationSettings {
179
- Formality?: Formality;
180
- Profanity?: Profanity;
181
- Brevity?: Brevity;
179
+ Formality?: Formality | undefined;
180
+ Profanity?: Profanity | undefined;
181
+ Brevity?: Brevity | undefined;
182
182
  }
183
183
  export interface TextTranslationJobProperties {
184
- JobId?: string;
185
- JobName?: string;
186
- JobStatus?: JobStatus;
187
- JobDetails?: JobDetails;
188
- SourceLanguageCode?: string;
189
- TargetLanguageCodes?: string[];
190
- TerminologyNames?: string[];
191
- ParallelDataNames?: string[];
192
- Message?: string;
193
- SubmittedTime?: Date;
194
- EndTime?: Date;
195
- InputDataConfig?: InputDataConfig;
196
- OutputDataConfig?: OutputDataConfig;
197
- DataAccessRoleArn?: string;
198
- Settings?: TranslationSettings;
184
+ JobId?: string | undefined;
185
+ JobName?: string | undefined;
186
+ JobStatus?: JobStatus | undefined;
187
+ JobDetails?: JobDetails | undefined;
188
+ SourceLanguageCode?: string | undefined;
189
+ TargetLanguageCodes?: string[] | undefined;
190
+ TerminologyNames?: string[] | undefined;
191
+ ParallelDataNames?: string[] | undefined;
192
+ Message?: string | undefined;
193
+ SubmittedTime?: Date | undefined;
194
+ EndTime?: Date | undefined;
195
+ InputDataConfig?: InputDataConfig | undefined;
196
+ OutputDataConfig?: OutputDataConfig | undefined;
197
+ DataAccessRoleArn?: string | undefined;
198
+ Settings?: TranslationSettings | undefined;
199
199
  }
200
200
  export interface DescribeTextTranslationJobResponse {
201
- TextTranslationJobProperties?: TextTranslationJobProperties;
201
+ TextTranslationJobProperties?: TextTranslationJobProperties | undefined;
202
202
  }
203
203
  export interface GetParallelDataRequest {
204
204
  Name: string | undefined;
@@ -208,29 +208,31 @@ export interface ParallelDataDataLocation {
208
208
  Location: string | undefined;
209
209
  }
210
210
  export interface ParallelDataProperties {
211
- Name?: string;
212
- Arn?: string;
213
- Description?: string;
214
- Status?: ParallelDataStatus;
215
- SourceLanguageCode?: string;
216
- TargetLanguageCodes?: string[];
217
- ParallelDataConfig?: ParallelDataConfig;
218
- Message?: string;
219
- ImportedDataSize?: number;
220
- ImportedRecordCount?: number;
221
- FailedRecordCount?: number;
222
- SkippedRecordCount?: number;
223
- EncryptionKey?: EncryptionKey;
224
- CreatedAt?: Date;
225
- LastUpdatedAt?: Date;
226
- LatestUpdateAttemptStatus?: ParallelDataStatus;
227
- LatestUpdateAttemptAt?: Date;
211
+ Name?: string | undefined;
212
+ Arn?: string | undefined;
213
+ Description?: string | undefined;
214
+ Status?: ParallelDataStatus | undefined;
215
+ SourceLanguageCode?: string | undefined;
216
+ TargetLanguageCodes?: string[] | undefined;
217
+ ParallelDataConfig?: ParallelDataConfig | undefined;
218
+ Message?: string | undefined;
219
+ ImportedDataSize?: number | undefined;
220
+ ImportedRecordCount?: number | undefined;
221
+ FailedRecordCount?: number | undefined;
222
+ SkippedRecordCount?: number | undefined;
223
+ EncryptionKey?: EncryptionKey | undefined;
224
+ CreatedAt?: Date | undefined;
225
+ LastUpdatedAt?: Date | undefined;
226
+ LatestUpdateAttemptStatus?: ParallelDataStatus | undefined;
227
+ LatestUpdateAttemptAt?: Date | undefined;
228
228
  }
229
229
  export interface GetParallelDataResponse {
230
- ParallelDataProperties?: ParallelDataProperties;
231
- DataLocation?: ParallelDataDataLocation;
232
- AuxiliaryDataLocation?: ParallelDataDataLocation;
233
- LatestUpdateAttemptAuxiliaryDataLocation?: ParallelDataDataLocation;
230
+ ParallelDataProperties?: ParallelDataProperties | undefined;
231
+ DataLocation?: ParallelDataDataLocation | undefined;
232
+ AuxiliaryDataLocation?: ParallelDataDataLocation | undefined;
233
+ LatestUpdateAttemptAuxiliaryDataLocation?:
234
+ | ParallelDataDataLocation
235
+ | undefined;
234
236
  }
235
237
  export declare const TerminologyDataFormat: {
236
238
  readonly CSV: "CSV";
@@ -241,7 +243,7 @@ export type TerminologyDataFormat =
241
243
  (typeof TerminologyDataFormat)[keyof typeof TerminologyDataFormat];
242
244
  export interface GetTerminologyRequest {
243
245
  Name: string | undefined;
244
- TerminologyDataFormat?: TerminologyDataFormat;
246
+ TerminologyDataFormat?: TerminologyDataFormat | undefined;
245
247
  }
246
248
  export interface TerminologyDataLocation {
247
249
  RepositoryType: string | undefined;
@@ -254,25 +256,25 @@ export declare const Directionality: {
254
256
  export type Directionality =
255
257
  (typeof Directionality)[keyof typeof Directionality];
256
258
  export interface TerminologyProperties {
257
- Name?: string;
258
- Description?: string;
259
- Arn?: string;
260
- SourceLanguageCode?: string;
261
- TargetLanguageCodes?: string[];
262
- EncryptionKey?: EncryptionKey;
263
- SizeBytes?: number;
264
- TermCount?: number;
265
- CreatedAt?: Date;
266
- LastUpdatedAt?: Date;
267
- Directionality?: Directionality;
268
- Message?: string;
269
- SkippedTermCount?: number;
270
- Format?: TerminologyDataFormat;
259
+ Name?: string | undefined;
260
+ Description?: string | undefined;
261
+ Arn?: string | undefined;
262
+ SourceLanguageCode?: string | undefined;
263
+ TargetLanguageCodes?: string[] | undefined;
264
+ EncryptionKey?: EncryptionKey | undefined;
265
+ SizeBytes?: number | undefined;
266
+ TermCount?: number | undefined;
267
+ CreatedAt?: Date | undefined;
268
+ LastUpdatedAt?: Date | undefined;
269
+ Directionality?: Directionality | undefined;
270
+ Message?: string | undefined;
271
+ SkippedTermCount?: number | undefined;
272
+ Format?: TerminologyDataFormat | undefined;
271
273
  }
272
274
  export interface GetTerminologyResponse {
273
- TerminologyProperties?: TerminologyProperties;
274
- TerminologyDataLocation?: TerminologyDataLocation;
275
- AuxiliaryDataLocation?: TerminologyDataLocation;
275
+ TerminologyProperties?: TerminologyProperties | undefined;
276
+ TerminologyDataLocation?: TerminologyDataLocation | undefined;
277
+ AuxiliaryDataLocation?: TerminologyDataLocation | undefined;
276
278
  }
277
279
  export declare const MergeStrategy: {
278
280
  readonly OVERWRITE: "OVERWRITE";
@@ -281,19 +283,19 @@ export type MergeStrategy = (typeof MergeStrategy)[keyof typeof MergeStrategy];
281
283
  export interface TerminologyData {
282
284
  File: Uint8Array | undefined;
283
285
  Format: TerminologyDataFormat | undefined;
284
- Directionality?: Directionality;
286
+ Directionality?: Directionality | undefined;
285
287
  }
286
288
  export interface ImportTerminologyRequest {
287
289
  Name: string | undefined;
288
290
  MergeStrategy: MergeStrategy | undefined;
289
- Description?: string;
291
+ Description?: string | undefined;
290
292
  TerminologyData: TerminologyData | undefined;
291
- EncryptionKey?: EncryptionKey;
292
- Tags?: Tag[];
293
+ EncryptionKey?: EncryptionKey | undefined;
294
+ Tags?: Tag[] | undefined;
293
295
  }
294
296
  export interface ImportTerminologyResponse {
295
- TerminologyProperties?: TerminologyProperties;
296
- AuxiliaryDataLocation?: TerminologyDataLocation;
297
+ TerminologyProperties?: TerminologyProperties | undefined;
298
+ AuxiliaryDataLocation?: TerminologyDataLocation | undefined;
297
299
  }
298
300
  export declare const DisplayLanguageCode: {
299
301
  readonly DE: "de";
@@ -310,24 +312,24 @@ export declare const DisplayLanguageCode: {
310
312
  export type DisplayLanguageCode =
311
313
  (typeof DisplayLanguageCode)[keyof typeof DisplayLanguageCode];
312
314
  export interface ListLanguagesRequest {
313
- DisplayLanguageCode?: DisplayLanguageCode;
314
- NextToken?: string;
315
- MaxResults?: number;
315
+ DisplayLanguageCode?: DisplayLanguageCode | undefined;
316
+ NextToken?: string | undefined;
317
+ MaxResults?: number | undefined;
316
318
  }
317
319
  export interface Language {
318
320
  LanguageName: string | undefined;
319
321
  LanguageCode: string | undefined;
320
322
  }
321
323
  export interface ListLanguagesResponse {
322
- Languages?: Language[];
323
- DisplayLanguageCode?: DisplayLanguageCode;
324
- NextToken?: string;
324
+ Languages?: Language[] | undefined;
325
+ DisplayLanguageCode?: DisplayLanguageCode | undefined;
326
+ NextToken?: string | undefined;
325
327
  }
326
328
  export declare class UnsupportedDisplayLanguageCodeException extends __BaseException {
327
329
  readonly name: "UnsupportedDisplayLanguageCodeException";
328
330
  readonly $fault: "client";
329
- Message?: string;
330
- DisplayLanguageCode?: string;
331
+ Message?: string | undefined;
332
+ DisplayLanguageCode?: string | undefined;
331
333
  constructor(
332
334
  opts: __ExceptionOptionType<
333
335
  UnsupportedDisplayLanguageCodeException,
@@ -336,72 +338,72 @@ export declare class UnsupportedDisplayLanguageCodeException extends __BaseExcep
336
338
  );
337
339
  }
338
340
  export interface ListParallelDataRequest {
339
- NextToken?: string;
340
- MaxResults?: number;
341
+ NextToken?: string | undefined;
342
+ MaxResults?: number | undefined;
341
343
  }
342
344
  export interface ListParallelDataResponse {
343
- ParallelDataPropertiesList?: ParallelDataProperties[];
344
- NextToken?: string;
345
+ ParallelDataPropertiesList?: ParallelDataProperties[] | undefined;
346
+ NextToken?: string | undefined;
345
347
  }
346
348
  export interface ListTagsForResourceRequest {
347
349
  ResourceArn: string | undefined;
348
350
  }
349
351
  export interface ListTagsForResourceResponse {
350
- Tags?: Tag[];
352
+ Tags?: Tag[] | undefined;
351
353
  }
352
354
  export interface ListTerminologiesRequest {
353
- NextToken?: string;
354
- MaxResults?: number;
355
+ NextToken?: string | undefined;
356
+ MaxResults?: number | undefined;
355
357
  }
356
358
  export interface ListTerminologiesResponse {
357
- TerminologyPropertiesList?: TerminologyProperties[];
358
- NextToken?: string;
359
+ TerminologyPropertiesList?: TerminologyProperties[] | undefined;
360
+ NextToken?: string | undefined;
359
361
  }
360
362
  export declare class InvalidFilterException extends __BaseException {
361
363
  readonly name: "InvalidFilterException";
362
364
  readonly $fault: "client";
363
- Message?: string;
365
+ Message?: string | undefined;
364
366
  constructor(
365
367
  opts: __ExceptionOptionType<InvalidFilterException, __BaseException>
366
368
  );
367
369
  }
368
370
  export interface TextTranslationJobFilter {
369
- JobName?: string;
370
- JobStatus?: JobStatus;
371
- SubmittedBeforeTime?: Date;
372
- SubmittedAfterTime?: Date;
371
+ JobName?: string | undefined;
372
+ JobStatus?: JobStatus | undefined;
373
+ SubmittedBeforeTime?: Date | undefined;
374
+ SubmittedAfterTime?: Date | undefined;
373
375
  }
374
376
  export interface ListTextTranslationJobsRequest {
375
- Filter?: TextTranslationJobFilter;
376
- NextToken?: string;
377
- MaxResults?: number;
377
+ Filter?: TextTranslationJobFilter | undefined;
378
+ NextToken?: string | undefined;
379
+ MaxResults?: number | undefined;
378
380
  }
379
381
  export interface ListTextTranslationJobsResponse {
380
- TextTranslationJobPropertiesList?: TextTranslationJobProperties[];
381
- NextToken?: string;
382
+ TextTranslationJobPropertiesList?: TextTranslationJobProperties[] | undefined;
383
+ NextToken?: string | undefined;
382
384
  }
383
385
  export interface StartTextTranslationJobRequest {
384
- JobName?: string;
386
+ JobName?: string | undefined;
385
387
  InputDataConfig: InputDataConfig | undefined;
386
388
  OutputDataConfig: OutputDataConfig | undefined;
387
389
  DataAccessRoleArn: string | undefined;
388
390
  SourceLanguageCode: string | undefined;
389
391
  TargetLanguageCodes: string[] | undefined;
390
- TerminologyNames?: string[];
391
- ParallelDataNames?: string[];
392
- ClientToken?: string;
393
- Settings?: TranslationSettings;
392
+ TerminologyNames?: string[] | undefined;
393
+ ParallelDataNames?: string[] | undefined;
394
+ ClientToken?: string | undefined;
395
+ Settings?: TranslationSettings | undefined;
394
396
  }
395
397
  export interface StartTextTranslationJobResponse {
396
- JobId?: string;
397
- JobStatus?: JobStatus;
398
+ JobId?: string | undefined;
399
+ JobStatus?: JobStatus | undefined;
398
400
  }
399
401
  export declare class UnsupportedLanguagePairException extends __BaseException {
400
402
  readonly name: "UnsupportedLanguagePairException";
401
403
  readonly $fault: "client";
402
- Message?: string;
403
- SourceLanguageCode?: string;
404
- TargetLanguageCode?: string;
404
+ Message?: string | undefined;
405
+ SourceLanguageCode?: string | undefined;
406
+ TargetLanguageCode?: string | undefined;
405
407
  constructor(
406
408
  opts: __ExceptionOptionType<
407
409
  UnsupportedLanguagePairException,
@@ -413,8 +415,8 @@ export interface StopTextTranslationJobRequest {
413
415
  JobId: string | undefined;
414
416
  }
415
417
  export interface StopTextTranslationJobResponse {
416
- JobId?: string;
417
- JobStatus?: JobStatus;
418
+ JobId?: string | undefined;
419
+ JobStatus?: JobStatus | undefined;
418
420
  }
419
421
  export interface TagResourceRequest {
420
422
  ResourceArn: string | undefined;
@@ -424,7 +426,7 @@ export interface TagResourceResponse {}
424
426
  export declare class ServiceUnavailableException extends __BaseException {
425
427
  readonly name: "ServiceUnavailableException";
426
428
  readonly $fault: "server";
427
- Message?: string;
429
+ Message?: string | undefined;
428
430
  constructor(
429
431
  opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
430
432
  );
@@ -435,10 +437,10 @@ export interface Document {
435
437
  }
436
438
  export interface TranslateDocumentRequest {
437
439
  Document: Document | undefined;
438
- TerminologyNames?: string[];
440
+ TerminologyNames?: string[] | undefined;
439
441
  SourceLanguageCode: string | undefined;
440
442
  TargetLanguageCode: string | undefined;
441
- Settings?: TranslationSettings;
443
+ Settings?: TranslationSettings | undefined;
442
444
  }
443
445
  export interface TranslatedDocument {
444
446
  Content: Uint8Array | undefined;
@@ -447,14 +449,14 @@ export interface TranslateDocumentResponse {
447
449
  TranslatedDocument: TranslatedDocument | undefined;
448
450
  SourceLanguageCode: string | undefined;
449
451
  TargetLanguageCode: string | undefined;
450
- AppliedTerminologies?: AppliedTerminology[];
451
- AppliedSettings?: TranslationSettings;
452
+ AppliedTerminologies?: AppliedTerminology[] | undefined;
453
+ AppliedSettings?: TranslationSettings | undefined;
452
454
  }
453
455
  export declare class DetectedLanguageLowConfidenceException extends __BaseException {
454
456
  readonly name: "DetectedLanguageLowConfidenceException";
455
457
  readonly $fault: "client";
456
- Message?: string;
457
- DetectedLanguageCode?: string;
458
+ Message?: string | undefined;
459
+ DetectedLanguageCode?: string | undefined;
458
460
  constructor(
459
461
  opts: __ExceptionOptionType<
460
462
  DetectedLanguageLowConfidenceException,
@@ -465,24 +467,24 @@ export declare class DetectedLanguageLowConfidenceException extends __BaseExcept
465
467
  export declare class TextSizeLimitExceededException extends __BaseException {
466
468
  readonly name: "TextSizeLimitExceededException";
467
469
  readonly $fault: "client";
468
- Message?: string;
470
+ Message?: string | undefined;
469
471
  constructor(
470
472
  opts: __ExceptionOptionType<TextSizeLimitExceededException, __BaseException>
471
473
  );
472
474
  }
473
475
  export interface TranslateTextRequest {
474
476
  Text: string | undefined;
475
- TerminologyNames?: string[];
477
+ TerminologyNames?: string[] | undefined;
476
478
  SourceLanguageCode: string | undefined;
477
479
  TargetLanguageCode: string | undefined;
478
- Settings?: TranslationSettings;
480
+ Settings?: TranslationSettings | undefined;
479
481
  }
480
482
  export interface TranslateTextResponse {
481
483
  TranslatedText: string | undefined;
482
484
  SourceLanguageCode: string | undefined;
483
485
  TargetLanguageCode: string | undefined;
484
- AppliedTerminologies?: AppliedTerminology[];
485
- AppliedSettings?: TranslationSettings;
486
+ AppliedTerminologies?: AppliedTerminology[] | undefined;
487
+ AppliedSettings?: TranslationSettings | undefined;
486
488
  }
487
489
  export interface UntagResourceRequest {
488
490
  ResourceArn: string | undefined;
@@ -491,15 +493,15 @@ export interface UntagResourceRequest {
491
493
  export interface UntagResourceResponse {}
492
494
  export interface UpdateParallelDataRequest {
493
495
  Name: string | undefined;
494
- Description?: string;
496
+ Description?: string | undefined;
495
497
  ParallelDataConfig: ParallelDataConfig | undefined;
496
- ClientToken?: string;
498
+ ClientToken?: string | undefined;
497
499
  }
498
500
  export interface UpdateParallelDataResponse {
499
- Name?: string;
500
- Status?: ParallelDataStatus;
501
- LatestUpdateAttemptStatus?: ParallelDataStatus;
502
- LatestUpdateAttemptAt?: Date;
501
+ Name?: string | undefined;
502
+ Status?: ParallelDataStatus | undefined;
503
+ LatestUpdateAttemptStatus?: ParallelDataStatus | undefined;
504
+ LatestUpdateAttemptAt?: Date | undefined;
503
505
  }
504
506
  export declare const TerminologyDataFilterSensitiveLog: (
505
507
  obj: TerminologyData
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-translate",
3
3
  "description": "AWS SDK for JavaScript Translate Client for Node.js, Browser and React Native",
4
- "version": "3.686.0",
4
+ "version": "3.691.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-translate",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.686.0",
24
- "@aws-sdk/client-sts": "3.686.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.686.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
27
  "@aws-sdk/middleware-host-header": "3.686.0",
28
28
  "@aws-sdk/middleware-logger": "3.686.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.686.0",
30
+ "@aws-sdk/middleware-user-agent": "3.691.0",
31
31
  "@aws-sdk/region-config-resolver": "3.686.0",
32
32
  "@aws-sdk/types": "3.686.0",
33
33
  "@aws-sdk/util-endpoints": "3.686.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.686.0",
35
+ "@aws-sdk/util-user-agent-node": "3.691.0",
36
36
  "@smithy/config-resolver": "^3.0.10",
37
37
  "@smithy/core": "^2.5.1",
38
38
  "@smithy/fetch-http-handler": "^4.0.0",