@aws-sdk/client-translate 3.533.0 → 3.535.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.
Files changed (43) hide show
  1. package/dist-types/Translate.d.ts +5 -1
  2. package/dist-types/TranslateClient.d.ts +1 -1
  3. package/dist-types/commands/CreateParallelDataCommand.d.ts +2 -1
  4. package/dist-types/commands/DeleteParallelDataCommand.d.ts +2 -1
  5. package/dist-types/commands/DeleteTerminologyCommand.d.ts +2 -1
  6. package/dist-types/commands/DescribeTextTranslationJobCommand.d.ts +2 -1
  7. package/dist-types/commands/GetParallelDataCommand.d.ts +2 -1
  8. package/dist-types/commands/GetTerminologyCommand.d.ts +2 -1
  9. package/dist-types/commands/ImportTerminologyCommand.d.ts +2 -1
  10. package/dist-types/commands/ListLanguagesCommand.d.ts +2 -1
  11. package/dist-types/commands/ListParallelDataCommand.d.ts +2 -1
  12. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  13. package/dist-types/commands/ListTerminologiesCommand.d.ts +2 -1
  14. package/dist-types/commands/ListTextTranslationJobsCommand.d.ts +2 -1
  15. package/dist-types/commands/StartTextTranslationJobCommand.d.ts +2 -1
  16. package/dist-types/commands/StopTextTranslationJobCommand.d.ts +2 -1
  17. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  18. package/dist-types/commands/TranslateDocumentCommand.d.ts +2 -1
  19. package/dist-types/commands/TranslateTextCommand.d.ts +2 -1
  20. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  21. package/dist-types/commands/UpdateParallelDataCommand.d.ts +2 -1
  22. package/dist-types/models/models_0.d.ts +220 -220
  23. package/dist-types/ts3.4/Translate.d.ts +4 -0
  24. package/dist-types/ts3.4/commands/CreateParallelDataCommand.d.ts +9 -0
  25. package/dist-types/ts3.4/commands/DeleteParallelDataCommand.d.ts +9 -0
  26. package/dist-types/ts3.4/commands/DeleteTerminologyCommand.d.ts +9 -0
  27. package/dist-types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +9 -0
  28. package/dist-types/ts3.4/commands/GetParallelDataCommand.d.ts +9 -0
  29. package/dist-types/ts3.4/commands/GetTerminologyCommand.d.ts +9 -0
  30. package/dist-types/ts3.4/commands/ImportTerminologyCommand.d.ts +9 -0
  31. package/dist-types/ts3.4/commands/ListLanguagesCommand.d.ts +9 -0
  32. package/dist-types/ts3.4/commands/ListParallelDataCommand.d.ts +9 -0
  33. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
  34. package/dist-types/ts3.4/commands/ListTerminologiesCommand.d.ts +9 -0
  35. package/dist-types/ts3.4/commands/ListTextTranslationJobsCommand.d.ts +9 -0
  36. package/dist-types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +9 -0
  37. package/dist-types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +9 -0
  38. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
  39. package/dist-types/ts3.4/commands/TranslateDocumentCommand.d.ts +9 -0
  40. package/dist-types/ts3.4/commands/TranslateTextCommand.d.ts +9 -0
  41. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
  42. package/dist-types/ts3.4/commands/UpdateParallelDataCommand.d.ts +9 -0
  43. package/package.json +40 -40
@@ -1,47 +1,47 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { TranslateServiceException as __BaseException } from "./TranslateServiceException";
3
3
  /**
4
- * @public
5
4
  * <p>The term being translated by the custom terminology.</p>
5
+ * @public
6
6
  */
7
7
  export interface Term {
8
8
  /**
9
- * @public
10
9
  * <p>The source text of the term being translated by the custom terminology.</p>
10
+ * @public
11
11
  */
12
12
  SourceText?: string;
13
13
  /**
14
- * @public
15
14
  * <p>The target text of the term being translated by the custom terminology.</p>
15
+ * @public
16
16
  */
17
17
  TargetText?: string;
18
18
  }
19
19
  /**
20
- * @public
21
20
  * <p>The custom terminology applied to the input text by Amazon Translate for the translated text
22
21
  * response. This is optional in the response and will only be present if you specified
23
22
  * terminology input in the request. Currently, only one terminology can be applied per
24
23
  * TranslateText request.</p>
24
+ * @public
25
25
  */
26
26
  export interface AppliedTerminology {
27
27
  /**
28
- * @public
29
28
  * <p>The name of the custom terminology applied to the input text by Amazon Translate for the translated
30
29
  * text response.</p>
30
+ * @public
31
31
  */
32
32
  Name?: string;
33
33
  /**
34
- * @public
35
34
  * <p>The specific terms of the custom terminology applied to the input text by Amazon Translate for the
36
35
  * translated text response. A maximum of 250 terms will be returned, and the specific terms
37
36
  * applied will be the first 250 terms in the source text. </p>
37
+ * @public
38
38
  */
39
39
  Terms?: Term[];
40
40
  }
41
41
  /**
42
- * @public
43
42
  * <p>Another modification is being made. That modification must complete before you can make
44
43
  * your change.</p>
44
+ * @public
45
45
  */
46
46
  export declare class ConcurrentModificationException extends __BaseException {
47
47
  readonly name: "ConcurrentModificationException";
@@ -53,8 +53,8 @@ export declare class ConcurrentModificationException extends __BaseException {
53
53
  constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
54
54
  }
55
55
  /**
56
- * @public
57
56
  * <p>There was a conflict processing the request. Try your request again.</p>
57
+ * @public
58
58
  */
59
59
  export declare class ConflictException extends __BaseException {
60
60
  readonly name: "ConflictException";
@@ -77,18 +77,18 @@ export declare const EncryptionKeyType: {
77
77
  */
78
78
  export type EncryptionKeyType = (typeof EncryptionKeyType)[keyof typeof EncryptionKeyType];
79
79
  /**
80
- * @public
81
80
  * <p>The encryption key used to encrypt this object.</p>
81
+ * @public
82
82
  */
83
83
  export interface EncryptionKey {
84
84
  /**
85
- * @public
86
85
  * <p>The type of encryption key used by Amazon Translate to encrypt this object.</p>
86
+ * @public
87
87
  */
88
88
  Type: EncryptionKeyType | undefined;
89
89
  /**
90
- * @public
91
90
  * <p>The Amazon Resource Name (ARN) of the encryption key being used to encrypt this object.</p>
91
+ * @public
92
92
  */
93
93
  Id: string | undefined;
94
94
  }
@@ -106,36 +106,36 @@ export declare const ParallelDataFormat: {
106
106
  */
107
107
  export type ParallelDataFormat = (typeof ParallelDataFormat)[keyof typeof ParallelDataFormat];
108
108
  /**
109
- * @public
110
109
  * <p>Specifies the format and S3 location of the parallel data input file.</p>
110
+ * @public
111
111
  */
112
112
  export interface ParallelDataConfig {
113
113
  /**
114
- * @public
115
114
  * <p>The URI of the Amazon S3 folder that contains the parallel data input file. The folder
116
115
  * must be in the same Region as the API endpoint you are calling.</p>
116
+ * @public
117
117
  */
118
118
  S3Uri?: string;
119
119
  /**
120
- * @public
121
120
  * <p>The format of the parallel data input file.</p>
121
+ * @public
122
122
  */
123
123
  Format?: ParallelDataFormat;
124
124
  }
125
125
  /**
126
- * @public
127
126
  * <p>A key-value pair that adds as a metadata to a resource used by Amazon Translate. </p>
127
+ * @public
128
128
  */
129
129
  export interface Tag {
130
130
  /**
131
- * @public
132
131
  * <p>The initial part of a key-value pair that forms a tag associated with a given resource.
133
132
  * </p>
133
+ * @public
134
134
  */
135
135
  Key: string | undefined;
136
136
  /**
137
- * @public
138
137
  * <p> The second part of a key-value pair that forms a tag associated with a given resource.</p>
138
+ * @public
139
139
  */
140
140
  Value: string | undefined;
141
141
  }
@@ -144,38 +144,38 @@ export interface Tag {
144
144
  */
145
145
  export interface CreateParallelDataRequest {
146
146
  /**
147
- * @public
148
147
  * <p>A custom name for the parallel data resource in Amazon Translate. You must assign a name
149
148
  * that is unique in the account and region.</p>
149
+ * @public
150
150
  */
151
151
  Name: string | undefined;
152
152
  /**
153
- * @public
154
153
  * <p>A custom description for the parallel data resource in Amazon Translate.</p>
154
+ * @public
155
155
  */
156
156
  Description?: string;
157
157
  /**
158
- * @public
159
158
  * <p>Specifies the format and S3 location of the parallel data input file.</p>
159
+ * @public
160
160
  */
161
161
  ParallelDataConfig: ParallelDataConfig | undefined;
162
162
  /**
163
- * @public
164
163
  * <p>The encryption key used to encrypt this object.</p>
164
+ * @public
165
165
  */
166
166
  EncryptionKey?: EncryptionKey;
167
167
  /**
168
- * @public
169
168
  * <p>A unique identifier for the request. This token is automatically generated when you use
170
169
  * Amazon Translate through an AWS SDK.</p>
170
+ * @public
171
171
  */
172
172
  ClientToken?: string;
173
173
  /**
174
- * @public
175
174
  * <p>Tags to be associated with this resource. A tag is a key-value pair that
176
175
  * adds metadata to a resource. Each tag key for the resource must be unique.
177
176
  * For more information, see <a href="https://docs.aws.amazon.com/translate/latest/dg/tagging.html">
178
177
  * Tagging your resources</a>.</p>
178
+ * @public
179
179
  */
180
180
  Tags?: Tag[];
181
181
  }
@@ -199,20 +199,20 @@ export type ParallelDataStatus = (typeof ParallelDataStatus)[keyof typeof Parall
199
199
  */
200
200
  export interface CreateParallelDataResponse {
201
201
  /**
202
- * @public
203
202
  * <p>The custom name that you assigned to the parallel data resource.</p>
203
+ * @public
204
204
  */
205
205
  Name?: string;
206
206
  /**
207
- * @public
208
207
  * <p>The status of the parallel data resource. When the resource is ready for you to use, the
209
208
  * status is <code>ACTIVE</code>.</p>
209
+ * @public
210
210
  */
211
211
  Status?: ParallelDataStatus;
212
212
  }
213
213
  /**
214
- * @public
215
214
  * <p>An internal server error occurred. Retry your request.</p>
215
+ * @public
216
216
  */
217
217
  export declare class InternalServerException extends __BaseException {
218
218
  readonly name: "InternalServerException";
@@ -224,9 +224,9 @@ export declare class InternalServerException extends __BaseException {
224
224
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
225
225
  }
226
226
  /**
227
- * @public
228
227
  * <p>The value of the parameter is not valid. Review the value of the parameter you are using
229
228
  * to correct it, and then retry your operation.</p>
229
+ * @public
230
230
  */
231
231
  export declare class InvalidParameterValueException extends __BaseException {
232
232
  readonly name: "InvalidParameterValueException";
@@ -238,9 +238,9 @@ export declare class InvalidParameterValueException extends __BaseException {
238
238
  constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
239
239
  }
240
240
  /**
241
- * @public
242
241
  * <p> The request that you made is not valid. Check your request to determine why it's not
243
242
  * valid and then retry the request. </p>
243
+ * @public
244
244
  */
245
245
  export declare class InvalidRequestException extends __BaseException {
246
246
  readonly name: "InvalidRequestException";
@@ -252,9 +252,9 @@ export declare class InvalidRequestException extends __BaseException {
252
252
  constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
253
253
  }
254
254
  /**
255
- * @public
256
255
  * <p>The specified limit has been exceeded. Review your request and retry it with a quantity
257
256
  * below the stated limit.</p>
257
+ * @public
258
258
  */
259
259
  export declare class LimitExceededException extends __BaseException {
260
260
  readonly name: "LimitExceededException";
@@ -266,9 +266,9 @@ export declare class LimitExceededException extends __BaseException {
266
266
  constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
267
267
  }
268
268
  /**
269
- * @public
270
269
  * <p> You have made too many requests within a short period of time. Wait for a short time and
271
270
  * then try your request again.</p>
271
+ * @public
272
272
  */
273
273
  export declare class TooManyRequestsException extends __BaseException {
274
274
  readonly name: "TooManyRequestsException";
@@ -280,8 +280,8 @@ export declare class TooManyRequestsException extends __BaseException {
280
280
  constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
281
281
  }
282
282
  /**
283
- * @public
284
283
  * <p>You have added too many tags to this resource. The maximum is 50 tags.</p>
284
+ * @public
285
285
  */
286
286
  export declare class TooManyTagsException extends __BaseException {
287
287
  readonly name: "TooManyTagsException";
@@ -297,8 +297,8 @@ export declare class TooManyTagsException extends __BaseException {
297
297
  */
298
298
  export interface DeleteParallelDataRequest {
299
299
  /**
300
- * @public
301
300
  * <p>The name of the parallel data resource that is being deleted.</p>
301
+ * @public
302
302
  */
303
303
  Name: string | undefined;
304
304
  }
@@ -307,21 +307,21 @@ export interface DeleteParallelDataRequest {
307
307
  */
308
308
  export interface DeleteParallelDataResponse {
309
309
  /**
310
- * @public
311
310
  * <p>The name of the parallel data resource that is being deleted.</p>
311
+ * @public
312
312
  */
313
313
  Name?: string;
314
314
  /**
315
- * @public
316
315
  * <p>The status of the parallel data deletion.</p>
316
+ * @public
317
317
  */
318
318
  Status?: ParallelDataStatus;
319
319
  }
320
320
  /**
321
- * @public
322
321
  * <p>The resource you are looking for has not been found. Review the resource you're looking
323
322
  * for and see if a different resource will accomplish your needs before retrying the revised
324
323
  * request.</p>
324
+ * @public
325
325
  */
326
326
  export declare class ResourceNotFoundException extends __BaseException {
327
327
  readonly name: "ResourceNotFoundException";
@@ -337,8 +337,8 @@ export declare class ResourceNotFoundException extends __BaseException {
337
337
  */
338
338
  export interface DeleteTerminologyRequest {
339
339
  /**
340
- * @public
341
340
  * <p>The name of the custom terminology being deleted. </p>
341
+ * @public
342
342
  */
343
343
  Name: string | undefined;
344
344
  }
@@ -347,26 +347,25 @@ export interface DeleteTerminologyRequest {
347
347
  */
348
348
  export interface DescribeTextTranslationJobRequest {
349
349
  /**
350
- * @public
351
350
  * <p>The identifier that Amazon Translate generated for the job. The <a>StartTextTranslationJob</a> operation returns this identifier in its
352
351
  * response.</p>
352
+ * @public
353
353
  */
354
354
  JobId: string | undefined;
355
355
  }
356
356
  /**
357
- * @public
358
357
  * <p>The input configuration properties for requesting a batch translation job.</p>
358
+ * @public
359
359
  */
360
360
  export interface InputDataConfig {
361
361
  /**
362
- * @public
363
362
  * <p>The URI of the AWS S3 folder that contains the input files. Amazon Translate translates all the
364
363
  * files in the folder and all its sub-folders. The folder must be in the same Region as the API endpoint you are
365
364
  * calling.</p>
365
+ * @public
366
366
  */
367
367
  S3Uri: string | undefined;
368
368
  /**
369
- * @public
370
369
  * <p>Describes the format of the data that you submit to Amazon Translate as input. You can
371
370
  * specify one of the following multipurpose internet mail extension (MIME) types:</p>
372
371
  * <ul>
@@ -409,28 +408,29 @@ export interface InputDataConfig {
409
408
  * contents of the <code>html</code> element in each file. Otherwise, if you set this parameter
410
409
  * to <code>text/plain</code>, your costs will cover the translation of every character.</p>
411
410
  * </important>
411
+ * @public
412
412
  */
413
413
  ContentType: string | undefined;
414
414
  }
415
415
  /**
416
- * @public
417
416
  * <p>The number of documents successfully and unsuccessfully processed during a translation
418
417
  * job.</p>
418
+ * @public
419
419
  */
420
420
  export interface JobDetails {
421
421
  /**
422
- * @public
423
422
  * <p>The number of documents successfully processed during a translation job.</p>
423
+ * @public
424
424
  */
425
425
  TranslatedDocumentsCount?: number;
426
426
  /**
427
- * @public
428
427
  * <p>The number of documents that could not be processed during a translation job.</p>
428
+ * @public
429
429
  */
430
430
  DocumentsWithErrorsCount?: number;
431
431
  /**
432
- * @public
433
432
  * <p>The number of documents used as input in a translation job.</p>
433
+ * @public
434
434
  */
435
435
  InputDocumentsCount?: number;
436
436
  }
@@ -452,19 +452,19 @@ export declare const JobStatus: {
452
452
  */
453
453
  export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
454
454
  /**
455
- * @public
456
455
  * <p>The output configuration properties for a batch translation job.</p>
456
+ * @public
457
457
  */
458
458
  export interface OutputDataConfig {
459
459
  /**
460
- * @public
461
460
  * <p>The URI of the S3 folder that contains a translation job's output file. The folder must
462
461
  * be in the same Region as the API endpoint that you are calling.</p>
462
+ * @public
463
463
  */
464
464
  S3Uri: string | undefined;
465
465
  /**
466
- * @public
467
466
  * <p>The encryption key used to encrypt this object.</p>
467
+ * @public
468
468
  */
469
469
  EncryptionKey?: EncryptionKey;
470
470
  }
@@ -503,7 +503,6 @@ export declare const Profanity: {
503
503
  */
504
504
  export type Profanity = (typeof Profanity)[keyof typeof Profanity];
505
505
  /**
506
- * @public
507
506
  * <p>Settings to configure your translation output. You can configure the following options:</p>
508
507
  * <ul>
509
508
  * <li>
@@ -517,10 +516,10 @@ export type Profanity = (typeof Profanity)[keyof typeof Profanity];
517
516
  * <p>Profanity: masks profane words and phrases in the translation output.</p>
518
517
  * </li>
519
518
  * </ul>
519
+ * @public
520
520
  */
521
521
  export interface TranslationSettings {
522
522
  /**
523
- * @public
524
523
  * <p>You can specify the desired level of formality for translations
525
524
  * to supported target languages. The formality
526
525
  * setting controls the level of formal language usage (also known as <a href="https://en.wikipedia.org/wiki/Register_(sociolinguistics)">register</a>) in the
@@ -531,10 +530,10 @@ export interface TranslationSettings {
531
530
  * the formality setting for any unsupported target language.</p>
532
531
  * <p>For a list of target languages that support formality, see <a href="https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-formality.html#customizing-translations-formality-languages">Supported languages</a>
533
532
  * in the Amazon Translate Developer Guide.</p>
533
+ * @public
534
534
  */
535
535
  Formality?: Formality;
536
536
  /**
537
- * @public
538
537
  * <p>You can enable the profanity setting if you want to mask profane words and
539
538
  * phrases in your translation output.</p>
540
539
  * <p>To mask profane words and phrases, Amazon Translate replaces them with the grawlix string
@@ -547,10 +546,10 @@ export interface TranslationSettings {
547
546
  * target languages don't support profanity masking, the
548
547
  * translation job won't mask profanity for any target
549
548
  * language.</p>
549
+ * @public
550
550
  */
551
551
  Profanity?: Profanity;
552
552
  /**
553
- * @public
554
553
  * <p>When you turn on brevity, Amazon Translate reduces the length of the translation output for most translations (when
555
554
  * compared with the same translation with brevity turned off). By default, brevity is turned
556
555
  * off.</p>
@@ -558,94 +557,95 @@ export interface TranslationSettings {
558
557
  * translation proceeds with the brevity setting turned off.</p>
559
558
  * <p>For the language pairs that brevity supports, see <a href="https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-brevity">Using brevity</a> in the
560
559
  * Amazon Translate Developer Guide.</p>
560
+ * @public
561
561
  */
562
562
  Brevity?: Brevity;
563
563
  }
564
564
  /**
565
- * @public
566
565
  * <p>Provides information about a translation job.</p>
566
+ * @public
567
567
  */
568
568
  export interface TextTranslationJobProperties {
569
569
  /**
570
- * @public
571
570
  * <p>The ID of the translation job.</p>
571
+ * @public
572
572
  */
573
573
  JobId?: string;
574
574
  /**
575
- * @public
576
575
  * <p>The user-defined name of the translation job.</p>
576
+ * @public
577
577
  */
578
578
  JobName?: string;
579
579
  /**
580
- * @public
581
580
  * <p>The status of the translation job.</p>
581
+ * @public
582
582
  */
583
583
  JobStatus?: JobStatus;
584
584
  /**
585
- * @public
586
585
  * <p>The number of documents successfully and unsuccessfully processed during the translation
587
586
  * job.</p>
587
+ * @public
588
588
  */
589
589
  JobDetails?: JobDetails;
590
590
  /**
591
- * @public
592
591
  * <p>The language code of the language of the source text. The language must be a language
593
592
  * supported by Amazon Translate.</p>
593
+ * @public
594
594
  */
595
595
  SourceLanguageCode?: string;
596
596
  /**
597
- * @public
598
597
  * <p>The language code of the language of the target text. The language must be a language
599
598
  * supported by Amazon Translate.</p>
599
+ * @public
600
600
  */
601
601
  TargetLanguageCodes?: string[];
602
602
  /**
603
- * @public
604
603
  * <p>A list containing the names of the terminologies applied to a translation job. Only one
605
604
  * terminology can be applied per <a>StartTextTranslationJob</a> request at this
606
605
  * time.</p>
606
+ * @public
607
607
  */
608
608
  TerminologyNames?: string[];
609
609
  /**
610
- * @public
611
610
  * <p>A list containing the names of the parallel data resources applied to the translation
612
611
  * job.</p>
612
+ * @public
613
613
  */
614
614
  ParallelDataNames?: string[];
615
615
  /**
616
- * @public
617
616
  * <p>An explanation of any errors that may have occurred during the translation job.</p>
617
+ * @public
618
618
  */
619
619
  Message?: string;
620
620
  /**
621
- * @public
622
621
  * <p>The time at which the translation job was submitted.</p>
622
+ * @public
623
623
  */
624
624
  SubmittedTime?: Date;
625
625
  /**
626
- * @public
627
626
  * <p>The time at which the translation job ended.</p>
627
+ * @public
628
628
  */
629
629
  EndTime?: Date;
630
630
  /**
631
- * @public
632
631
  * <p>The input configuration properties that were specified when the job was requested.</p>
632
+ * @public
633
633
  */
634
634
  InputDataConfig?: InputDataConfig;
635
635
  /**
636
- * @public
637
636
  * <p>The output configuration properties that were specified when the job was requested.</p>
637
+ * @public
638
638
  */
639
639
  OutputDataConfig?: OutputDataConfig;
640
640
  /**
641
- * @public
642
641
  * <p>The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role
643
642
  * that granted Amazon Translate read access to the job's input data.</p>
643
+ * @public
644
644
  */
645
645
  DataAccessRoleArn?: string;
646
646
  /**
647
- * @public
648
647
  * <p>Settings that modify the translation output.</p>
648
+ * @public
649
649
  */
650
650
  Settings?: TranslationSettings;
651
651
  }
@@ -654,9 +654,9 @@ export interface TextTranslationJobProperties {
654
654
  */
655
655
  export interface DescribeTextTranslationJobResponse {
656
656
  /**
657
- * @public
658
657
  * <p>An object that contains the properties associated with an asynchronous batch translation
659
658
  * job.</p>
659
+ * @public
660
660
  */
661
661
  TextTranslationJobProperties?: TextTranslationJobProperties;
662
662
  }
@@ -665,24 +665,23 @@ export interface DescribeTextTranslationJobResponse {
665
665
  */
666
666
  export interface GetParallelDataRequest {
667
667
  /**
668
- * @public
669
668
  * <p>The name of the parallel data resource that is being retrieved.</p>
669
+ * @public
670
670
  */
671
671
  Name: string | undefined;
672
672
  }
673
673
  /**
674
- * @public
675
674
  * <p>The location of the most recent parallel data input file that was successfully imported
676
675
  * into Amazon Translate.</p>
676
+ * @public
677
677
  */
678
678
  export interface ParallelDataDataLocation {
679
679
  /**
680
- * @public
681
680
  * <p>Describes the repository that contains the parallel data input file.</p>
681
+ * @public
682
682
  */
683
683
  RepositoryType: string | undefined;
684
684
  /**
685
- * @public
686
685
  * <p>The Amazon S3 location of the parallel data input file. The location is returned as a
687
686
  * presigned URL to that has a 30-minute expiration.</p>
688
687
  *
@@ -695,104 +694,105 @@ export interface ParallelDataDataLocation {
695
694
  * and run the code within it.</p>
696
695
  * <p>Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.</p>
697
696
  * </important>
697
+ * @public
698
698
  */
699
699
  Location: string | undefined;
700
700
  }
701
701
  /**
702
- * @public
703
702
  * <p>The properties of a parallel data resource.</p>
703
+ * @public
704
704
  */
705
705
  export interface ParallelDataProperties {
706
706
  /**
707
- * @public
708
707
  * <p>The custom name assigned to the parallel data resource.</p>
708
+ * @public
709
709
  */
710
710
  Name?: string;
711
711
  /**
712
- * @public
713
712
  * <p>The Amazon Resource Name (ARN) of the parallel data resource.</p>
713
+ * @public
714
714
  */
715
715
  Arn?: string;
716
716
  /**
717
- * @public
718
717
  * <p>The description assigned to the parallel data resource.</p>
718
+ * @public
719
719
  */
720
720
  Description?: string;
721
721
  /**
722
- * @public
723
722
  * <p>The status of the parallel data resource. When the parallel data is ready for you to use,
724
723
  * the status is <code>ACTIVE</code>.</p>
724
+ * @public
725
725
  */
726
726
  Status?: ParallelDataStatus;
727
727
  /**
728
- * @public
729
728
  * <p>The source language of the translations in the parallel data file.</p>
729
+ * @public
730
730
  */
731
731
  SourceLanguageCode?: string;
732
732
  /**
733
- * @public
734
733
  * <p>The language codes for the target languages available in the parallel data file. All
735
734
  * possible target languages are returned as an array.</p>
735
+ * @public
736
736
  */
737
737
  TargetLanguageCodes?: string[];
738
738
  /**
739
- * @public
740
739
  * <p>Specifies the format and S3 location of the parallel data input file.</p>
740
+ * @public
741
741
  */
742
742
  ParallelDataConfig?: ParallelDataConfig;
743
743
  /**
744
- * @public
745
744
  * <p>Additional information from Amazon Translate about the parallel data resource. </p>
745
+ * @public
746
746
  */
747
747
  Message?: string;
748
748
  /**
749
- * @public
750
749
  * <p>The number of UTF-8 characters that Amazon Translate imported from the parallel data input
751
750
  * file. This number includes only the characters in your translation examples. It does not
752
751
  * include characters that are used to format your file. For example, if you provided a
753
752
  * Translation Memory Exchange (.tmx) file, this number does not include the tags.</p>
753
+ * @public
754
754
  */
755
755
  ImportedDataSize?: number;
756
756
  /**
757
- * @public
758
757
  * <p>The number of records successfully imported from the parallel data input file.</p>
758
+ * @public
759
759
  */
760
760
  ImportedRecordCount?: number;
761
761
  /**
762
- * @public
763
762
  * <p>The number of records unsuccessfully imported from the parallel data input file.</p>
763
+ * @public
764
764
  */
765
765
  FailedRecordCount?: number;
766
766
  /**
767
- * @public
768
767
  * <p>The number of items in the input file that Amazon Translate skipped when you created or
769
768
  * updated the parallel data resource. For example, Amazon Translate skips empty records, empty
770
769
  * target texts, and empty lines.</p>
770
+ * @public
771
771
  */
772
772
  SkippedRecordCount?: number;
773
773
  /**
774
- * @public
775
774
  * <p>The encryption key used to encrypt this object.</p>
775
+ * @public
776
776
  */
777
777
  EncryptionKey?: EncryptionKey;
778
778
  /**
779
- * @public
780
779
  * <p>The time at which the parallel data resource was created.</p>
780
+ * @public
781
781
  */
782
782
  CreatedAt?: Date;
783
783
  /**
784
- * @public
785
784
  * <p>The time at which the parallel data resource was last updated.</p>
785
+ * @public
786
786
  */
787
787
  LastUpdatedAt?: Date;
788
788
  /**
789
- * @public
790
789
  * <p>The status of the most recent update attempt for the parallel data resource.</p>
790
+ * @public
791
791
  */
792
792
  LatestUpdateAttemptStatus?: ParallelDataStatus;
793
793
  /**
794
- * @public
795
794
  * <p>The time that the most recent update was attempted.</p>
795
+ * @public
796
796
  */
797
797
  LatestUpdateAttemptAt?: Date;
798
798
  }
@@ -801,12 +801,11 @@ export interface ParallelDataProperties {
801
801
  */
802
802
  export interface GetParallelDataResponse {
803
803
  /**
804
- * @public
805
804
  * <p>The properties of the parallel data resource that is being retrieved.</p>
805
+ * @public
806
806
  */
807
807
  ParallelDataProperties?: ParallelDataProperties;
808
808
  /**
809
- * @public
810
809
  * <p>The Amazon S3 location of the most recent parallel data input file that was successfully
811
810
  * imported into Amazon Translate. The location is returned as a presigned URL that has a
812
811
  * 30-minute expiration.</p>
@@ -820,22 +819,23 @@ export interface GetParallelDataResponse {
820
819
  * and run the code within it.</p>
821
820
  * <p>Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.</p>
822
821
  * </important>
822
+ * @public
823
823
  */
824
824
  DataLocation?: ParallelDataDataLocation;
825
825
  /**
826
- * @public
827
826
  * <p>The Amazon S3 location of a file that provides any errors or warnings that were produced
828
827
  * by your input file. This file was created when Amazon Translate attempted to create a parallel
829
828
  * data resource. The location is returned as a presigned URL to that has a 30-minute
830
829
  * expiration.</p>
830
+ * @public
831
831
  */
832
832
  AuxiliaryDataLocation?: ParallelDataDataLocation;
833
833
  /**
834
- * @public
835
834
  * <p>The Amazon S3 location of a file that provides any errors or warnings that were produced
836
835
  * by your input file. This file was created when Amazon Translate attempted to update a parallel
837
836
  * data resource. The location is returned as a presigned URL to that has a 30-minute
838
837
  * expiration.</p>
838
+ * @public
839
839
  */
840
840
  LatestUpdateAttemptAuxiliaryDataLocation?: ParallelDataDataLocation;
841
841
  }
@@ -857,33 +857,32 @@ export type TerminologyDataFormat = (typeof TerminologyDataFormat)[keyof typeof
857
857
  */
858
858
  export interface GetTerminologyRequest {
859
859
  /**
860
- * @public
861
860
  * <p>The name of the custom terminology being retrieved.</p>
861
+ * @public
862
862
  */
863
863
  Name: string | undefined;
864
864
  /**
865
- * @public
866
865
  * <p>The data format of the custom terminology being retrieved.</p>
867
866
  * <p>If you don't specify this parameter, Amazon Translate returns a file with the same format
868
867
  * as the file that was imported to create the terminology. </p>
869
868
  * <p>If you specify this parameter when you retrieve a multi-directional terminology resource,
870
869
  * you must specify the same format as the input file that was imported to create it. Otherwise,
871
870
  * Amazon Translate throws an error.</p>
871
+ * @public
872
872
  */
873
873
  TerminologyDataFormat?: TerminologyDataFormat;
874
874
  }
875
875
  /**
876
- * @public
877
876
  * <p>The location of the custom terminology data.</p>
877
+ * @public
878
878
  */
879
879
  export interface TerminologyDataLocation {
880
880
  /**
881
- * @public
882
881
  * <p>The repository type for the custom terminology data.</p>
882
+ * @public
883
883
  */
884
884
  RepositoryType: string | undefined;
885
885
  /**
886
- * @public
887
886
  * <p>The Amazon S3 location of the most recent custom terminology input file that was
888
887
  * successfully imported into Amazon Translate. The location is returned as a presigned URL that
889
888
  * has a 30-minute expiration .</p>
@@ -897,6 +896,7 @@ export interface TerminologyDataLocation {
897
896
  * and run the code within it.</p>
898
897
  * <p>Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.</p>
899
898
  * </important>
899
+ * @public
900
900
  */
901
901
  Location: string | undefined;
902
902
  }
@@ -913,64 +913,63 @@ export declare const Directionality: {
913
913
  */
914
914
  export type Directionality = (typeof Directionality)[keyof typeof Directionality];
915
915
  /**
916
- * @public
917
916
  * <p>The properties of the custom terminology.</p>
917
+ * @public
918
918
  */
919
919
  export interface TerminologyProperties {
920
920
  /**
921
- * @public
922
921
  * <p>The name of the custom terminology.</p>
922
+ * @public
923
923
  */
924
924
  Name?: string;
925
925
  /**
926
- * @public
927
926
  * <p>The description of the custom terminology properties.</p>
927
+ * @public
928
928
  */
929
929
  Description?: string;
930
930
  /**
931
- * @public
932
931
  * <p> The Amazon Resource Name (ARN) of the custom terminology. </p>
932
+ * @public
933
933
  */
934
934
  Arn?: string;
935
935
  /**
936
- * @public
937
936
  * <p>The language code for the source text of the translation request for which the custom
938
937
  * terminology is being used.</p>
938
+ * @public
939
939
  */
940
940
  SourceLanguageCode?: string;
941
941
  /**
942
- * @public
943
942
  * <p>The language codes for the target languages available with the custom terminology
944
943
  * resource. All possible target languages are returned in array.</p>
944
+ * @public
945
945
  */
946
946
  TargetLanguageCodes?: string[];
947
947
  /**
948
- * @public
949
948
  * <p>The encryption key for the custom terminology.</p>
949
+ * @public
950
950
  */
951
951
  EncryptionKey?: EncryptionKey;
952
952
  /**
953
- * @public
954
953
  * <p>The size of the file used when importing a custom terminology.</p>
954
+ * @public
955
955
  */
956
956
  SizeBytes?: number;
957
957
  /**
958
- * @public
959
958
  * <p>The number of terms included in the custom terminology.</p>
959
+ * @public
960
960
  */
961
961
  TermCount?: number;
962
962
  /**
963
- * @public
964
963
  * <p>The time at which the custom terminology was created, based on the timestamp.</p>
964
+ * @public
965
965
  */
966
966
  CreatedAt?: Date;
967
967
  /**
968
- * @public
969
968
  * <p>The time at which the custom terminology was last update, based on the timestamp.</p>
969
+ * @public
970
970
  */
971
971
  LastUpdatedAt?: Date;
972
972
  /**
973
- * @public
974
973
  * <p>The directionality of your terminology resource indicates whether it has one source
975
974
  * language (uni-directional) or multiple (multi-directional). </p>
976
975
  * <dl>
@@ -984,22 +983,23 @@ export interface TerminologyProperties {
984
983
  * <p>Any language in the terminology resource can be the source language.</p>
985
984
  * </dd>
986
985
  * </dl>
986
+ * @public
987
987
  */
988
988
  Directionality?: Directionality;
989
989
  /**
990
- * @public
991
990
  * <p>Additional information from Amazon Translate about the terminology resource.</p>
991
+ * @public
992
992
  */
993
993
  Message?: string;
994
994
  /**
995
- * @public
996
995
  * <p>The number of terms in the input file that Amazon Translate skipped when you created or
997
996
  * updated the terminology resource.</p>
997
+ * @public
998
998
  */
999
999
  SkippedTermCount?: number;
1000
1000
  /**
1001
- * @public
1002
1001
  * <p>The format of the custom terminology input file.</p>
1002
+ * @public
1003
1003
  */
1004
1004
  Format?: TerminologyDataFormat;
1005
1005
  }
@@ -1008,12 +1008,11 @@ export interface TerminologyProperties {
1008
1008
  */
1009
1009
  export interface GetTerminologyResponse {
1010
1010
  /**
1011
- * @public
1012
1011
  * <p>The properties of the custom terminology being retrieved.</p>
1012
+ * @public
1013
1013
  */
1014
1014
  TerminologyProperties?: TerminologyProperties;
1015
1015
  /**
1016
- * @public
1017
1016
  * <p>The Amazon S3 location of the most recent custom terminology input file that was
1018
1017
  * successfully imported into Amazon Translate. The location is returned as a presigned URL that
1019
1018
  * has a 30-minute expiration.</p>
@@ -1027,14 +1026,15 @@ export interface GetTerminologyResponse {
1027
1026
  * and run the code within it.</p>
1028
1027
  * <p>Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.</p>
1029
1028
  * </important>
1029
+ * @public
1030
1030
  */
1031
1031
  TerminologyDataLocation?: TerminologyDataLocation;
1032
1032
  /**
1033
- * @public
1034
1033
  * <p>The Amazon S3 location of a file that provides any errors or warnings that were produced
1035
1034
  * by your input file. This file was created when Amazon Translate attempted to create a
1036
1035
  * terminology resource. The location is returned as a presigned URL to that has a 30-minute
1037
1036
  * expiration.</p>
1037
+ * @public
1038
1038
  */
1039
1039
  AuxiliaryDataLocation?: TerminologyDataLocation;
1040
1040
  }
@@ -1050,26 +1050,25 @@ export declare const MergeStrategy: {
1050
1050
  */
1051
1051
  export type MergeStrategy = (typeof MergeStrategy)[keyof typeof MergeStrategy];
1052
1052
  /**
1053
- * @public
1054
1053
  * <p>The data associated with the custom terminology. For information about the custom terminology file, see
1055
1054
  * <a href="https://docs.aws.amazon.com/translate/latest/dg/creating-custom-terminology.html">
1056
1055
  * Creating a Custom Terminology</a>.</p>
1056
+ * @public
1057
1057
  */
1058
1058
  export interface TerminologyData {
1059
1059
  /**
1060
- * @public
1061
1060
  * <p>The file containing the custom terminology data. Your version of the AWS SDK performs a
1062
1061
  * Base64-encoding on this field before sending a request to the AWS service. Users of the SDK
1063
1062
  * should not perform Base64-encoding themselves.</p>
1063
+ * @public
1064
1064
  */
1065
1065
  File: Uint8Array | undefined;
1066
1066
  /**
1067
- * @public
1068
1067
  * <p>The data format of the custom terminology.</p>
1068
+ * @public
1069
1069
  */
1070
1070
  Format: TerminologyDataFormat | undefined;
1071
1071
  /**
1072
- * @public
1073
1072
  * <p>The directionality of your terminology resource indicates whether it has one source
1074
1073
  * language (uni-directional) or multiple (multi-directional).</p>
1075
1074
  * <dl>
@@ -1089,6 +1088,7 @@ export interface TerminologyData {
1089
1088
  * </dl>
1090
1089
  * <p>When you create a custom terminology resource without specifying the directionality, it
1091
1090
  * behaves as uni-directional terminology, although this parameter will have a null value.</p>
1091
+ * @public
1092
1092
  */
1093
1093
  Directionality?: Directionality;
1094
1094
  }
@@ -1097,38 +1097,38 @@ export interface TerminologyData {
1097
1097
  */
1098
1098
  export interface ImportTerminologyRequest {
1099
1099
  /**
1100
- * @public
1101
1100
  * <p>The name of the custom terminology being imported.</p>
1101
+ * @public
1102
1102
  */
1103
1103
  Name: string | undefined;
1104
1104
  /**
1105
- * @public
1106
1105
  * <p>The merge strategy of the custom terminology being imported. Currently, only the OVERWRITE
1107
1106
  * merge strategy is supported. In this case, the imported terminology will overwrite an existing
1108
1107
  * terminology of the same name.</p>
1108
+ * @public
1109
1109
  */
1110
1110
  MergeStrategy: MergeStrategy | undefined;
1111
1111
  /**
1112
- * @public
1113
1112
  * <p>The description of the custom terminology being imported.</p>
1113
+ * @public
1114
1114
  */
1115
1115
  Description?: string;
1116
1116
  /**
1117
- * @public
1118
1117
  * <p>The terminology data for the custom terminology being imported.</p>
1118
+ * @public
1119
1119
  */
1120
1120
  TerminologyData: TerminologyData | undefined;
1121
1121
  /**
1122
- * @public
1123
1122
  * <p>The encryption key for the custom terminology being imported.</p>
1123
+ * @public
1124
1124
  */
1125
1125
  EncryptionKey?: EncryptionKey;
1126
1126
  /**
1127
- * @public
1128
1127
  * <p>Tags to be associated with this resource. A tag is a key-value pair that
1129
1128
  * adds metadata to a resource. Each tag key for the resource must be unique.
1130
1129
  * For more information, see <a href="https://docs.aws.amazon.com/translate/latest/dg/tagging.html">
1131
1130
  * Tagging your resources</a>.</p>
1131
+ * @public
1132
1132
  */
1133
1133
  Tags?: Tag[];
1134
1134
  }
@@ -1137,16 +1137,16 @@ export interface ImportTerminologyRequest {
1137
1137
  */
1138
1138
  export interface ImportTerminologyResponse {
1139
1139
  /**
1140
- * @public
1141
1140
  * <p>The properties of the custom terminology being imported.</p>
1141
+ * @public
1142
1142
  */
1143
1143
  TerminologyProperties?: TerminologyProperties;
1144
1144
  /**
1145
- * @public
1146
1145
  * <p>The Amazon S3 location of a file that provides any errors or warnings that were produced
1147
1146
  * by your input file. This file was created when Amazon Translate attempted to create a
1148
1147
  * terminology resource. The location is returned as a presigned URL to that has a 30 minute
1149
1148
  * expiration.</p>
1149
+ * @public
1150
1150
  */
1151
1151
  AuxiliaryDataLocation?: TerminologyDataLocation;
1152
1152
  }
@@ -1175,35 +1175,35 @@ export type DisplayLanguageCode = (typeof DisplayLanguageCode)[keyof typeof Disp
1175
1175
  */
1176
1176
  export interface ListLanguagesRequest {
1177
1177
  /**
1178
- * @public
1179
1178
  * <p>The language code for the language to use to display the language names in the response.
1180
1179
  * The language code is <code>en</code> by default. </p>
1180
+ * @public
1181
1181
  */
1182
1182
  DisplayLanguageCode?: DisplayLanguageCode;
1183
1183
  /**
1184
- * @public
1185
1184
  * <p>Include the NextToken value to fetch the next group of supported languages. </p>
1185
+ * @public
1186
1186
  */
1187
1187
  NextToken?: string;
1188
1188
  /**
1189
- * @public
1190
1189
  * <p>The maximum number of results to return in each response.</p>
1190
+ * @public
1191
1191
  */
1192
1192
  MaxResults?: number;
1193
1193
  }
1194
1194
  /**
1195
- * @public
1196
1195
  * <p>A supported language.</p>
1196
+ * @public
1197
1197
  */
1198
1198
  export interface Language {
1199
1199
  /**
1200
- * @public
1201
1200
  * <p>Language name of the supported language.</p>
1201
+ * @public
1202
1202
  */
1203
1203
  LanguageName: string | undefined;
1204
1204
  /**
1205
- * @public
1206
1205
  * <p>Language code for the supported language.</p>
1206
+ * @public
1207
1207
  */
1208
1208
  LanguageCode: string | undefined;
1209
1209
  }
@@ -1212,33 +1212,33 @@ export interface Language {
1212
1212
  */
1213
1213
  export interface ListLanguagesResponse {
1214
1214
  /**
1215
- * @public
1216
1215
  * <p>The list of supported languages.</p>
1216
+ * @public
1217
1217
  */
1218
1218
  Languages?: Language[];
1219
1219
  /**
1220
- * @public
1221
1220
  * <p>The language code passed in with the request.</p>
1221
+ * @public
1222
1222
  */
1223
1223
  DisplayLanguageCode?: DisplayLanguageCode;
1224
1224
  /**
1225
- * @public
1226
1225
  * <p> If the response does not include all remaining results, use the NextToken
1227
1226
  * in the next request to fetch the next group of supported languages.</p>
1227
+ * @public
1228
1228
  */
1229
1229
  NextToken?: string;
1230
1230
  }
1231
1231
  /**
1232
- * @public
1233
1232
  * <p>Requested display language code is not supported.</p>
1233
+ * @public
1234
1234
  */
1235
1235
  export declare class UnsupportedDisplayLanguageCodeException extends __BaseException {
1236
1236
  readonly name: "UnsupportedDisplayLanguageCodeException";
1237
1237
  readonly $fault: "client";
1238
1238
  Message?: string;
1239
1239
  /**
1240
- * @public
1241
1240
  * <p>Language code passed in with the request.</p>
1241
+ * @public
1242
1242
  */
1243
1243
  DisplayLanguageCode?: string;
1244
1244
  /**
@@ -1251,13 +1251,13 @@ export declare class UnsupportedDisplayLanguageCodeException extends __BaseExcep
1251
1251
  */
1252
1252
  export interface ListParallelDataRequest {
1253
1253
  /**
1254
- * @public
1255
1254
  * <p>A string that specifies the next page of results to return in a paginated response.</p>
1255
+ * @public
1256
1256
  */
1257
1257
  NextToken?: string;
1258
1258
  /**
1259
- * @public
1260
1259
  * <p>The maximum number of parallel data resources returned for each request.</p>
1260
+ * @public
1261
1261
  */
1262
1262
  MaxResults?: number;
1263
1263
  }
@@ -1266,14 +1266,14 @@ export interface ListParallelDataRequest {
1266
1266
  */
1267
1267
  export interface ListParallelDataResponse {
1268
1268
  /**
1269
- * @public
1270
1269
  * <p>The properties of the parallel data resources returned by this request.</p>
1270
+ * @public
1271
1271
  */
1272
1272
  ParallelDataPropertiesList?: ParallelDataProperties[];
1273
1273
  /**
1274
- * @public
1275
1274
  * <p>The string to use in a subsequent request to get the next page of results in a paginated
1276
1275
  * response. This value is null if there are no additional pages.</p>
1276
+ * @public
1277
1277
  */
1278
1278
  NextToken?: string;
1279
1279
  }
@@ -1282,9 +1282,9 @@ export interface ListParallelDataResponse {
1282
1282
  */
1283
1283
  export interface ListTagsForResourceRequest {
1284
1284
  /**
1285
- * @public
1286
1285
  * <p>The Amazon Resource Name (ARN) of the given Amazon Translate resource you are querying.
1287
1286
  * </p>
1287
+ * @public
1288
1288
  */
1289
1289
  ResourceArn: string | undefined;
1290
1290
  }
@@ -1293,11 +1293,11 @@ export interface ListTagsForResourceRequest {
1293
1293
  */
1294
1294
  export interface ListTagsForResourceResponse {
1295
1295
  /**
1296
- * @public
1297
1296
  * <p>Tags associated with the Amazon Translate resource being queried. A tag is a key-value
1298
1297
  * pair that adds as a metadata to a resource used by Amazon Translate. For example, a tag with
1299
1298
  * "Sales" as the key might be added to a resource to indicate its use by the sales department.
1300
1299
  * </p>
1300
+ * @public
1301
1301
  */
1302
1302
  Tags?: Tag[];
1303
1303
  }
@@ -1306,14 +1306,14 @@ export interface ListTagsForResourceResponse {
1306
1306
  */
1307
1307
  export interface ListTerminologiesRequest {
1308
1308
  /**
1309
- * @public
1310
1309
  * <p>If the result of the request to ListTerminologies was truncated, include the NextToken to
1311
1310
  * fetch the next group of custom terminologies. </p>
1311
+ * @public
1312
1312
  */
1313
1313
  NextToken?: string;
1314
1314
  /**
1315
- * @public
1316
1315
  * <p>The maximum number of custom terminologies returned per list request.</p>
1316
+ * @public
1317
1317
  */
1318
1318
  MaxResults?: number;
1319
1319
  }
@@ -1322,20 +1322,20 @@ export interface ListTerminologiesRequest {
1322
1322
  */
1323
1323
  export interface ListTerminologiesResponse {
1324
1324
  /**
1325
- * @public
1326
1325
  * <p>The properties list of the custom terminologies returned on the list request.</p>
1326
+ * @public
1327
1327
  */
1328
1328
  TerminologyPropertiesList?: TerminologyProperties[];
1329
1329
  /**
1330
- * @public
1331
1330
  * <p> If the response to the ListTerminologies was truncated, the NextToken fetches the next
1332
1331
  * group of custom terminologies.</p>
1332
+ * @public
1333
1333
  */
1334
1334
  NextToken?: string;
1335
1335
  }
1336
1336
  /**
1337
- * @public
1338
1337
  * <p>The filter specified for the operation is not valid. Specify a different filter.</p>
1338
+ * @public
1339
1339
  */
1340
1340
  export declare class InvalidFilterException extends __BaseException {
1341
1341
  readonly name: "InvalidFilterException";
@@ -1347,33 +1347,33 @@ export declare class InvalidFilterException extends __BaseException {
1347
1347
  constructor(opts: __ExceptionOptionType<InvalidFilterException, __BaseException>);
1348
1348
  }
1349
1349
  /**
1350
- * @public
1351
1350
  * <p>Provides information for filtering a list of translation jobs. For more information, see
1352
1351
  * <a>ListTextTranslationJobs</a>.</p>
1352
+ * @public
1353
1353
  */
1354
1354
  export interface TextTranslationJobFilter {
1355
1355
  /**
1356
- * @public
1357
1356
  * <p>Filters the list of jobs by name.</p>
1357
+ * @public
1358
1358
  */
1359
1359
  JobName?: string;
1360
1360
  /**
1361
- * @public
1362
1361
  * <p>Filters the list of jobs based by job status.</p>
1362
+ * @public
1363
1363
  */
1364
1364
  JobStatus?: JobStatus;
1365
1365
  /**
1366
- * @public
1367
1366
  * <p>Filters the list of jobs based on the time that the job was submitted for processing and
1368
1367
  * returns only the jobs submitted before the specified time. Jobs are returned in ascending
1369
1368
  * order, oldest to newest.</p>
1369
+ * @public
1370
1370
  */
1371
1371
  SubmittedBeforeTime?: Date;
1372
1372
  /**
1373
- * @public
1374
1373
  * <p>Filters the list of jobs based on the time that the job was submitted for processing and
1375
1374
  * returns only the jobs submitted after the specified time. Jobs are returned in descending
1376
1375
  * order, newest to oldest.</p>
1376
+ * @public
1377
1377
  */
1378
1378
  SubmittedAfterTime?: Date;
1379
1379
  }
@@ -1382,19 +1382,19 @@ export interface TextTranslationJobFilter {
1382
1382
  */
1383
1383
  export interface ListTextTranslationJobsRequest {
1384
1384
  /**
1385
- * @public
1386
1385
  * <p>The parameters that specify which batch translation jobs to retrieve. Filters include job
1387
1386
  * name, job status, and submission time. You can only set one filter at a time.</p>
1387
+ * @public
1388
1388
  */
1389
1389
  Filter?: TextTranslationJobFilter;
1390
1390
  /**
1391
- * @public
1392
1391
  * <p>The token to request the next page of results.</p>
1392
+ * @public
1393
1393
  */
1394
1394
  NextToken?: string;
1395
1395
  /**
1396
- * @public
1397
1396
  * <p>The maximum number of results to return in each page. The default value is 100.</p>
1397
+ * @public
1398
1398
  */
1399
1399
  MaxResults?: number;
1400
1400
  }
@@ -1403,14 +1403,14 @@ export interface ListTextTranslationJobsRequest {
1403
1403
  */
1404
1404
  export interface ListTextTranslationJobsResponse {
1405
1405
  /**
1406
- * @public
1407
1406
  * <p>A list containing the properties of each job that is returned.</p>
1407
+ * @public
1408
1408
  */
1409
1409
  TextTranslationJobPropertiesList?: TextTranslationJobProperties[];
1410
1410
  /**
1411
- * @public
1412
1411
  * <p>The token to use to retrieve the next page of results. This value is <code>null</code>
1413
1412
  * when there are no more results to return.</p>
1413
+ * @public
1414
1414
  */
1415
1415
  NextToken?: string;
1416
1416
  }
@@ -1419,46 +1419,45 @@ export interface ListTextTranslationJobsResponse {
1419
1419
  */
1420
1420
  export interface StartTextTranslationJobRequest {
1421
1421
  /**
1422
- * @public
1423
1422
  * <p>The name of the batch translation job to be performed.</p>
1423
+ * @public
1424
1424
  */
1425
1425
  JobName?: string;
1426
1426
  /**
1427
- * @public
1428
1427
  * <p>Specifies the format and location of the input documents for the translation job.</p>
1428
+ * @public
1429
1429
  */
1430
1430
  InputDataConfig: InputDataConfig | undefined;
1431
1431
  /**
1432
- * @public
1433
1432
  * <p>Specifies the S3 folder to which your job output will be saved.
1434
1433
  * </p>
1434
+ * @public
1435
1435
  */
1436
1436
  OutputDataConfig: OutputDataConfig | undefined;
1437
1437
  /**
1438
- * @public
1439
1438
  * <p>The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role
1440
1439
  * that grants Amazon Translate read access to your input data. For more information, see
1441
1440
  * <a href="https://docs.aws.amazon.com/translate/latest/dg/identity-and-access-management.html">Identity and access management </a>.</p>
1441
+ * @public
1442
1442
  */
1443
1443
  DataAccessRoleArn: string | undefined;
1444
1444
  /**
1445
- * @public
1446
1445
  * <p>The language code of the input language. Specify the language if all input documents share the same language.
1447
1446
  * If you don't know the language of the source files, or your input documents contains different source
1448
1447
  * languages, select <code>auto</code>. Amazon Translate auto detects the source language for each input document.
1449
1448
  * For a list of supported language codes, see
1450
1449
  * <a href="https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html">Supported languages</a>.</p>
1450
+ * @public
1451
1451
  */
1452
1452
  SourceLanguageCode: string | undefined;
1453
1453
  /**
1454
- * @public
1455
1454
  * <p>The target languages of the translation job. Enter up to 10 language codes.
1456
1455
  * Each input file is translated into each target language.</p>
1457
1456
  * <p>Each language code is 2 or 5 characters long. For a list of language codes, see <a href="https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html">Supported languages</a>.</p>
1457
+ * @public
1458
1458
  */
1459
1459
  TargetLanguageCodes: string[] | undefined;
1460
1460
  /**
1461
- * @public
1462
1461
  * <p>The name of a custom terminology resource to add to the translation job. This resource
1463
1462
  * lists examples source terms and the desired translation for each term.</p>
1464
1463
  * <p>This parameter accepts only one custom terminology resource.</p>
@@ -1468,10 +1467,10 @@ export interface StartTextTranslationJobRequest {
1468
1467
  * in the terminology file.</p>
1469
1468
  * <p>For a list of available custom terminology resources, use the <a>ListTerminologies</a> operation.</p>
1470
1469
  * <p>For more information, see <a href="https://docs.aws.amazon.com/translate/latest/dg/how-custom-terminology.html">Custom terminology</a>.</p>
1470
+ * @public
1471
1471
  */
1472
1472
  TerminologyNames?: string[];
1473
1473
  /**
1474
- * @public
1475
1474
  * <p>The name of a parallel data resource to add to the translation job. This resource consists
1476
1475
  * of examples that show how you want segments of text to be translated.
1477
1476
  * If you specify multiple target languages for
@@ -1487,16 +1486,16 @@ export interface StartTextTranslationJobRequest {
1487
1486
  * <p>For a list of available parallel data resources, use the <a>ListParallelData</a> operation.</p>
1488
1487
  * <p>For more information, see <a href="https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-parallel-data.html">
1489
1488
  * Customizing your translations with parallel data</a>.</p>
1489
+ * @public
1490
1490
  */
1491
1491
  ParallelDataNames?: string[];
1492
1492
  /**
1493
- * @public
1494
1493
  * <p>A unique identifier for the request. This token is generated for you when using the Amazon Translate
1495
1494
  * SDK.</p>
1495
+ * @public
1496
1496
  */
1497
1497
  ClientToken?: string;
1498
1498
  /**
1499
- * @public
1500
1499
  * <p>Settings to configure your translation output. You can configure the following options:</p>
1501
1500
  * <ul>
1502
1501
  * <li>
@@ -1509,6 +1508,7 @@ export interface StartTextTranslationJobRequest {
1509
1508
  * <p>Profanity: masks profane words and phrases in your translation output.</p>
1510
1509
  * </li>
1511
1510
  * </ul>
1511
+ * @public
1512
1512
  */
1513
1513
  Settings?: TranslationSettings;
1514
1514
  }
@@ -1517,13 +1517,12 @@ export interface StartTextTranslationJobRequest {
1517
1517
  */
1518
1518
  export interface StartTextTranslationJobResponse {
1519
1519
  /**
1520
- * @public
1521
1520
  * <p>The identifier generated for the job. To get the status of a job, use this ID with the
1522
1521
  * <a>DescribeTextTranslationJob</a> operation.</p>
1522
+ * @public
1523
1523
  */
1524
1524
  JobId?: string;
1525
1525
  /**
1526
- * @public
1527
1526
  * <p>The status of the job. Possible values include:</p>
1528
1527
  * <ul>
1529
1528
  * <li>
@@ -1559,26 +1558,27 @@ export interface StartTextTranslationJobResponse {
1559
1558
  * <code>STOPPED</code> - The job has been stopped.</p>
1560
1559
  * </li>
1561
1560
  * </ul>
1561
+ * @public
1562
1562
  */
1563
1563
  JobStatus?: JobStatus;
1564
1564
  }
1565
1565
  /**
1566
- * @public
1567
1566
  * <p>Amazon Translate does not support translation from the language of the source text into the requested
1568
1567
  * target language. For more information, see <a href="https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html">Supported languages</a>. </p>
1568
+ * @public
1569
1569
  */
1570
1570
  export declare class UnsupportedLanguagePairException extends __BaseException {
1571
1571
  readonly name: "UnsupportedLanguagePairException";
1572
1572
  readonly $fault: "client";
1573
1573
  Message?: string;
1574
1574
  /**
1575
- * @public
1576
1575
  * <p>The language code for the language of the input text. </p>
1576
+ * @public
1577
1577
  */
1578
1578
  SourceLanguageCode?: string;
1579
1579
  /**
1580
- * @public
1581
1580
  * <p>The language code for the language of the translated text. </p>
1581
+ * @public
1582
1582
  */
1583
1583
  TargetLanguageCode?: string;
1584
1584
  /**
@@ -1591,8 +1591,8 @@ export declare class UnsupportedLanguagePairException extends __BaseException {
1591
1591
  */
1592
1592
  export interface StopTextTranslationJobRequest {
1593
1593
  /**
1594
- * @public
1595
1594
  * <p>The job ID of the job to be stopped.</p>
1595
+ * @public
1596
1596
  */
1597
1597
  JobId: string | undefined;
1598
1598
  }
@@ -1601,14 +1601,14 @@ export interface StopTextTranslationJobRequest {
1601
1601
  */
1602
1602
  export interface StopTextTranslationJobResponse {
1603
1603
  /**
1604
- * @public
1605
1604
  * <p>The job ID of the stopped batch translation job.</p>
1605
+ * @public
1606
1606
  */
1607
1607
  JobId?: string;
1608
1608
  /**
1609
- * @public
1610
1609
  * <p>The status of the designated job. Upon successful completion, the job's status will be
1611
1610
  * <code>STOPPED</code>.</p>
1611
+ * @public
1612
1612
  */
1613
1613
  JobStatus?: JobStatus;
1614
1614
  }
@@ -1617,15 +1617,15 @@ export interface StopTextTranslationJobResponse {
1617
1617
  */
1618
1618
  export interface TagResourceRequest {
1619
1619
  /**
1620
- * @public
1621
1620
  * <p>The Amazon Resource Name (ARN) of the given Amazon Translate resource to which you want
1622
1621
  * to associate the tags. </p>
1622
+ * @public
1623
1623
  */
1624
1624
  ResourceArn: string | undefined;
1625
1625
  /**
1626
- * @public
1627
1626
  * <p>Tags being associated with a specific Amazon Translate resource. There can be a maximum
1628
1627
  * of 50 tags (both existing and pending) associated with a specific resource.</p>
1628
+ * @public
1629
1629
  */
1630
1630
  Tags: Tag[] | undefined;
1631
1631
  }
@@ -1635,9 +1635,9 @@ export interface TagResourceRequest {
1635
1635
  export interface TagResourceResponse {
1636
1636
  }
1637
1637
  /**
1638
- * @public
1639
1638
  * <p>The Amazon Translate service is temporarily unavailable. Wait a bit and then retry your
1640
1639
  * request.</p>
1640
+ * @public
1641
1641
  */
1642
1642
  export declare class ServiceUnavailableException extends __BaseException {
1643
1643
  readonly name: "ServiceUnavailableException";
@@ -1649,21 +1649,20 @@ export declare class ServiceUnavailableException extends __BaseException {
1649
1649
  constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
1650
1650
  }
1651
1651
  /**
1652
- * @public
1653
1652
  * <p>The content and content type of a document.</p>
1653
+ * @public
1654
1654
  */
1655
1655
  export interface Document {
1656
1656
  /**
1657
- * @public
1658
1657
  * <p>The <code>Content</code>field type is Binary large object (blob).
1659
1658
  * This object contains the document content converted into base64-encoded binary data.
1660
1659
  * If you use one of the AWS SDKs, the SDK performs the
1661
1660
  * Base64-encoding on this field before sending the request.
1662
1661
  * </p>
1662
+ * @public
1663
1663
  */
1664
1664
  Content: Uint8Array | undefined;
1665
1665
  /**
1666
- * @public
1667
1666
  * <p>Describes the format of the document. You can specify one of the following:</p>
1668
1667
  * <ul>
1669
1668
  * <li>
@@ -1682,6 +1681,7 @@ export interface Document {
1682
1681
  * input data consists of a Word document (.docx).</p>
1683
1682
  * </li>
1684
1683
  * </ul>
1684
+ * @public
1685
1685
  */
1686
1686
  ContentType: string | undefined;
1687
1687
  }
@@ -1690,12 +1690,11 @@ export interface Document {
1690
1690
  */
1691
1691
  export interface TranslateDocumentRequest {
1692
1692
  /**
1693
- * @public
1694
1693
  * <p>The content and content type for the document to be translated. The document size must not exceed 100 KB.</p>
1694
+ * @public
1695
1695
  */
1696
1696
  Document: Document | undefined;
1697
1697
  /**
1698
- * @public
1699
1698
  * <p>The name of a terminology list file to add to the translation job. This file
1700
1699
  * provides source terms and the desired translation for each term.
1701
1700
  * A terminology list can contain a maximum of 256 terms.
@@ -1703,10 +1702,10 @@ export interface TranslateDocumentRequest {
1703
1702
  * <p>Use the <a>ListTerminologies</a> operation
1704
1703
  * to get the available terminology lists.</p>
1705
1704
  * <p>For more information about custom terminology lists, see <a href="https://docs.aws.amazon.com/translate/latest/dg/how-custom-terminology.html">Custom terminology</a>.</p>
1705
+ * @public
1706
1706
  */
1707
1707
  TerminologyNames?: string[];
1708
1708
  /**
1709
- * @public
1710
1709
  * <p>The language code for the language of the source text. For a list of supported language codes, see
1711
1710
  * <a href="https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html">Supported languages</a>.</p>
1712
1711
  * <p>To have Amazon Translate determine the source language of your text, you can specify
@@ -1717,17 +1716,17 @@ export interface TranslateDocumentRequest {
1717
1716
  * <p>If you specify <code>auto</code>, you must send the <code>TranslateDocument</code> request in a region that supports
1718
1717
  * Amazon Comprehend. Otherwise, the request returns an error indicating that autodetect is not supported. </p>
1719
1718
  * </note>
1719
+ * @public
1720
1720
  */
1721
1721
  SourceLanguageCode: string | undefined;
1722
1722
  /**
1723
- * @public
1724
1723
  * <p>The language code requested for the translated document.
1725
1724
  * For a list of supported language codes, see
1726
1725
  * <a href="https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html">Supported languages</a>.</p>
1726
+ * @public
1727
1727
  */
1728
1728
  TargetLanguageCode: string | undefined;
1729
1729
  /**
1730
- * @public
1731
1730
  * <p>Settings to configure your translation output. You can configure the following options:</p>
1732
1731
  * <ul>
1733
1732
  * <li>
@@ -1740,17 +1739,18 @@ export interface TranslateDocumentRequest {
1740
1739
  * <p>Profanity: masks profane words and phrases in your translation output.</p>
1741
1740
  * </li>
1742
1741
  * </ul>
1742
+ * @public
1743
1743
  */
1744
1744
  Settings?: TranslationSettings;
1745
1745
  }
1746
1746
  /**
1747
- * @public
1748
1747
  * <p>The translated content.</p>
1748
+ * @public
1749
1749
  */
1750
1750
  export interface TranslatedDocument {
1751
1751
  /**
1752
- * @public
1753
1752
  * <p>The document containing the translated content.</p>
1753
+ * @public
1754
1754
  */
1755
1755
  Content: Uint8Array | undefined;
1756
1756
  }
@@ -1759,28 +1759,27 @@ export interface TranslatedDocument {
1759
1759
  */
1760
1760
  export interface TranslateDocumentResponse {
1761
1761
  /**
1762
- * @public
1763
1762
  * <p>The document containing the translated content. The document format matches the source document format.</p>
1763
+ * @public
1764
1764
  */
1765
1765
  TranslatedDocument: TranslatedDocument | undefined;
1766
1766
  /**
1767
- * @public
1768
1767
  * <p>The language code of the source document.</p>
1768
+ * @public
1769
1769
  */
1770
1770
  SourceLanguageCode: string | undefined;
1771
1771
  /**
1772
- * @public
1773
1772
  * <p>The language code of the translated document. </p>
1773
+ * @public
1774
1774
  */
1775
1775
  TargetLanguageCode: string | undefined;
1776
1776
  /**
1777
- * @public
1778
1777
  * <p>The names of the custom terminologies applied to the input text by Amazon Translate to produce the
1779
1778
  * translated text document.</p>
1779
+ * @public
1780
1780
  */
1781
1781
  AppliedTerminologies?: AppliedTerminology[];
1782
1782
  /**
1783
- * @public
1784
1783
  * <p>Settings to configure your translation output. You can configure the following options:</p>
1785
1784
  * <ul>
1786
1785
  * <li>
@@ -1794,23 +1793,24 @@ export interface TranslateDocumentResponse {
1794
1793
  * <p>Profanity: masks profane words and phrases in the translation output.</p>
1795
1794
  * </li>
1796
1795
  * </ul>
1796
+ * @public
1797
1797
  */
1798
1798
  AppliedSettings?: TranslationSettings;
1799
1799
  }
1800
1800
  /**
1801
- * @public
1802
1801
  * <p>The confidence that Amazon Comprehend accurately detected the source language is low. If a
1803
1802
  * low confidence level is acceptable for your application, you can use the language in the
1804
1803
  * exception to call Amazon Translate again. For more information, see the <a href="https://docs.aws.amazon.com/comprehend/latest/dg/API_DetectDominantLanguage.html">DetectDominantLanguage</a> operation in the <i>Amazon Comprehend Developer
1805
1804
  * Guide</i>. </p>
1805
+ * @public
1806
1806
  */
1807
1807
  export declare class DetectedLanguageLowConfidenceException extends __BaseException {
1808
1808
  readonly name: "DetectedLanguageLowConfidenceException";
1809
1809
  readonly $fault: "client";
1810
1810
  Message?: string;
1811
1811
  /**
1812
- * @public
1813
1812
  * <p>The language code of the auto-detected language from Amazon Comprehend.</p>
1813
+ * @public
1814
1814
  */
1815
1815
  DetectedLanguageCode?: string;
1816
1816
  /**
@@ -1819,9 +1819,9 @@ export declare class DetectedLanguageLowConfidenceException extends __BaseExcept
1819
1819
  constructor(opts: __ExceptionOptionType<DetectedLanguageLowConfidenceException, __BaseException>);
1820
1820
  }
1821
1821
  /**
1822
- * @public
1823
1822
  * <p> The size of the text you submitted exceeds the size limit. Reduce the size of the text or
1824
1823
  * use a smaller document and then retry your request. </p>
1824
+ * @public
1825
1825
  */
1826
1826
  export declare class TextSizeLimitExceededException extends __BaseException {
1827
1827
  readonly name: "TextSizeLimitExceededException";
@@ -1837,13 +1837,12 @@ export declare class TextSizeLimitExceededException extends __BaseException {
1837
1837
  */
1838
1838
  export interface TranslateTextRequest {
1839
1839
  /**
1840
- * @public
1841
1840
  * <p>The text to translate. The text string can be a maximum of 10,000 bytes long. Depending on
1842
1841
  * your character set, this may be fewer than 10,000 characters.</p>
1842
+ * @public
1843
1843
  */
1844
1844
  Text: string | undefined;
1845
1845
  /**
1846
- * @public
1847
1846
  * <p>The name of a terminology list file to add to the translation job. This file
1848
1847
  * provides source terms and the desired translation for each term.
1849
1848
  * A terminology list can contain a maximum of 256 terms.
@@ -1851,10 +1850,10 @@ export interface TranslateTextRequest {
1851
1850
  * <p>Use the <a>ListTerminologies</a> operation
1852
1851
  * to get the available terminology lists.</p>
1853
1852
  * <p>For more information about custom terminology lists, see <a href="https://docs.aws.amazon.com/translate/latest/dg/how-custom-terminology.html">Custom terminology</a>.</p>
1853
+ * @public
1854
1854
  */
1855
1855
  TerminologyNames?: string[];
1856
1856
  /**
1857
- * @public
1858
1857
  * <p>The language code for the language of the source text. For a list of language codes, see <a href="https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html">Supported languages</a>.</p>
1859
1858
  * <p>To have Amazon Translate determine the source language of your text, you can specify
1860
1859
  * <code>auto</code> in the <code>SourceLanguageCode</code> field. If you specify
@@ -1864,16 +1863,16 @@ export interface TranslateTextRequest {
1864
1863
  * <p>If you specify <code>auto</code>, you must send the <code>TranslateText</code> request in a region that supports
1865
1864
  * Amazon Comprehend. Otherwise, the request returns an error indicating that autodetect is not supported. </p>
1866
1865
  * </note>
1866
+ * @public
1867
1867
  */
1868
1868
  SourceLanguageCode: string | undefined;
1869
1869
  /**
1870
- * @public
1871
1870
  * <p>The language code requested for the language of the target text.
1872
1871
  * For a list of language codes, see <a href="https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html">Supported languages</a>.</p>
1872
+ * @public
1873
1873
  */
1874
1874
  TargetLanguageCode: string | undefined;
1875
1875
  /**
1876
- * @public
1877
1876
  * <p>Settings to configure your translation output. You can configure the following options:</p>
1878
1877
  * <ul>
1879
1878
  * <li>
@@ -1886,6 +1885,7 @@ export interface TranslateTextRequest {
1886
1885
  * <p>Profanity: masks profane words and phrases in your translation output.</p>
1887
1886
  * </li>
1888
1887
  * </ul>
1888
+ * @public
1889
1889
  */
1890
1890
  Settings?: TranslationSettings;
1891
1891
  }
@@ -1894,29 +1894,29 @@ export interface TranslateTextRequest {
1894
1894
  */
1895
1895
  export interface TranslateTextResponse {
1896
1896
  /**
1897
- * @public
1898
1897
  * <p>The translated text.</p>
1898
+ * @public
1899
1899
  */
1900
1900
  TranslatedText: string | undefined;
1901
1901
  /**
1902
- * @public
1903
1902
  * <p>The language code for the language of the source text.</p>
1903
+ * @public
1904
1904
  */
1905
1905
  SourceLanguageCode: string | undefined;
1906
1906
  /**
1907
- * @public
1908
1907
  * <p>The language code for the language of the target text. </p>
1908
+ * @public
1909
1909
  */
1910
1910
  TargetLanguageCode: string | undefined;
1911
1911
  /**
1912
- * @public
1913
1912
  * <p>The names of the custom terminologies applied to the input text by Amazon Translate for the
1914
1913
  * translated text response.</p>
1914
+ * @public
1915
1915
  */
1916
1916
  AppliedTerminologies?: AppliedTerminology[];
1917
1917
  /**
1918
- * @public
1919
1918
  * <p>Optional settings that modify the translation output.</p>
1919
+ * @public
1920
1920
  */
1921
1921
  AppliedSettings?: TranslationSettings;
1922
1922
  }
@@ -1925,16 +1925,16 @@ export interface TranslateTextResponse {
1925
1925
  */
1926
1926
  export interface UntagResourceRequest {
1927
1927
  /**
1928
- * @public
1929
1928
  * <p> The Amazon Resource Name (ARN) of the given Amazon Translate resource from which you
1930
1929
  * want to remove the tags. </p>
1930
+ * @public
1931
1931
  */
1932
1932
  ResourceArn: string | undefined;
1933
1933
  /**
1934
- * @public
1935
1934
  * <p>The initial part of a key-value pair that forms a tag being removed from a given resource.
1936
1935
  * Keys must be unique and cannot be duplicated for a particular resource.
1937
1936
  * </p>
1937
+ * @public
1938
1938
  */
1939
1939
  TagKeys: string[] | undefined;
1940
1940
  }
@@ -1948,24 +1948,24 @@ export interface UntagResourceResponse {
1948
1948
  */
1949
1949
  export interface UpdateParallelDataRequest {
1950
1950
  /**
1951
- * @public
1952
1951
  * <p>The name of the parallel data resource being updated.</p>
1952
+ * @public
1953
1953
  */
1954
1954
  Name: string | undefined;
1955
1955
  /**
1956
- * @public
1957
1956
  * <p>A custom description for the parallel data resource in Amazon Translate.</p>
1957
+ * @public
1958
1958
  */
1959
1959
  Description?: string;
1960
1960
  /**
1961
- * @public
1962
1961
  * <p>Specifies the format and S3 location of the parallel data input file.</p>
1962
+ * @public
1963
1963
  */
1964
1964
  ParallelDataConfig: ParallelDataConfig | undefined;
1965
1965
  /**
1966
- * @public
1967
1966
  * <p>A unique identifier for the request. This token is automatically generated when you use
1968
1967
  * Amazon Translate through an AWS SDK.</p>
1968
+ * @public
1969
1969
  */
1970
1970
  ClientToken?: string;
1971
1971
  }
@@ -1974,26 +1974,26 @@ export interface UpdateParallelDataRequest {
1974
1974
  */
1975
1975
  export interface UpdateParallelDataResponse {
1976
1976
  /**
1977
- * @public
1978
1977
  * <p>The name of the parallel data resource being updated.</p>
1978
+ * @public
1979
1979
  */
1980
1980
  Name?: string;
1981
1981
  /**
1982
- * @public
1983
1982
  * <p>The status of the parallel data resource that you are attempting to update. Your update
1984
1983
  * request is accepted only if this status is either <code>ACTIVE</code> or
1985
1984
  * <code>FAILED</code>.</p>
1985
+ * @public
1986
1986
  */
1987
1987
  Status?: ParallelDataStatus;
1988
1988
  /**
1989
- * @public
1990
1989
  * <p>The status of the parallel data update attempt. When the updated parallel data resource is
1991
1990
  * ready for you to use, the status is <code>ACTIVE</code>.</p>
1991
+ * @public
1992
1992
  */
1993
1993
  LatestUpdateAttemptStatus?: ParallelDataStatus;
1994
1994
  /**
1995
- * @public
1996
1995
  * <p>The time that the most recent update was attempted.</p>
1996
+ * @public
1997
1997
  */
1998
1998
  LatestUpdateAttemptAt?: Date;
1999
1999
  }