@aws-sdk/client-translate 3.687.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.
@@ -9,12 +9,12 @@ export interface Term {
9
9
  * <p>The source text of the term being translated by the custom terminology.</p>
10
10
  * @public
11
11
  */
12
- SourceText?: string;
12
+ SourceText?: string | undefined;
13
13
  /**
14
14
  * <p>The target text of the term being translated by the custom terminology.</p>
15
15
  * @public
16
16
  */
17
- TargetText?: string;
17
+ TargetText?: string | undefined;
18
18
  }
19
19
  /**
20
20
  * <p>The custom terminology applied to the input text by Amazon Translate for the translated text
@@ -29,14 +29,14 @@ export interface AppliedTerminology {
29
29
  * text response.</p>
30
30
  * @public
31
31
  */
32
- Name?: string;
32
+ Name?: string | undefined;
33
33
  /**
34
34
  * <p>The specific terms of the custom terminology applied to the input text by Amazon Translate for the
35
35
  * translated text response. A maximum of 250 terms will be returned, and the specific terms
36
36
  * applied will be the first 250 terms in the source text. </p>
37
37
  * @public
38
38
  */
39
- Terms?: Term[];
39
+ Terms?: Term[] | undefined;
40
40
  }
41
41
  /**
42
42
  * <p>Another modification is being made. That modification must complete before you can make
@@ -46,7 +46,7 @@ export interface AppliedTerminology {
46
46
  export declare class ConcurrentModificationException extends __BaseException {
47
47
  readonly name: "ConcurrentModificationException";
48
48
  readonly $fault: "client";
49
- Message?: string;
49
+ Message?: string | undefined;
50
50
  /**
51
51
  * @internal
52
52
  */
@@ -59,7 +59,7 @@ export declare class ConcurrentModificationException extends __BaseException {
59
59
  export declare class ConflictException extends __BaseException {
60
60
  readonly name: "ConflictException";
61
61
  readonly $fault: "client";
62
- Message?: string;
62
+ Message?: string | undefined;
63
63
  /**
64
64
  * @internal
65
65
  */
@@ -115,12 +115,12 @@ export interface ParallelDataConfig {
115
115
  * must be in the same Region as the API endpoint you are calling.</p>
116
116
  * @public
117
117
  */
118
- S3Uri?: string;
118
+ S3Uri?: string | undefined;
119
119
  /**
120
120
  * <p>The format of the parallel data input file.</p>
121
121
  * @public
122
122
  */
123
- Format?: ParallelDataFormat;
123
+ Format?: ParallelDataFormat | undefined;
124
124
  }
125
125
  /**
126
126
  * <p>A key-value pair that adds as a metadata to a resource used by Amazon Translate. </p>
@@ -153,7 +153,7 @@ export interface CreateParallelDataRequest {
153
153
  * <p>A custom description for the parallel data resource in Amazon Translate.</p>
154
154
  * @public
155
155
  */
156
- Description?: string;
156
+ Description?: string | undefined;
157
157
  /**
158
158
  * <p>Specifies the format and S3 location of the parallel data input file.</p>
159
159
  * @public
@@ -163,13 +163,13 @@ export interface CreateParallelDataRequest {
163
163
  * <p>The encryption key used to encrypt this object.</p>
164
164
  * @public
165
165
  */
166
- EncryptionKey?: EncryptionKey;
166
+ EncryptionKey?: EncryptionKey | undefined;
167
167
  /**
168
168
  * <p>A unique identifier for the request. This token is automatically generated when you use
169
169
  * Amazon Translate through an AWS SDK.</p>
170
170
  * @public
171
171
  */
172
- ClientToken?: string;
172
+ ClientToken?: string | undefined;
173
173
  /**
174
174
  * <p>Tags to be associated with this resource. A tag is a key-value pair that
175
175
  * adds metadata to a resource. Each tag key for the resource must be unique.
@@ -177,7 +177,7 @@ export interface CreateParallelDataRequest {
177
177
  * Tagging your resources</a>.</p>
178
178
  * @public
179
179
  */
180
- Tags?: Tag[];
180
+ Tags?: Tag[] | undefined;
181
181
  }
182
182
  /**
183
183
  * @public
@@ -202,13 +202,13 @@ export interface CreateParallelDataResponse {
202
202
  * <p>The custom name that you assigned to the parallel data resource.</p>
203
203
  * @public
204
204
  */
205
- Name?: string;
205
+ Name?: string | undefined;
206
206
  /**
207
207
  * <p>The status of the parallel data resource. When the resource is ready for you to use, the
208
208
  * status is <code>ACTIVE</code>.</p>
209
209
  * @public
210
210
  */
211
- Status?: ParallelDataStatus;
211
+ Status?: ParallelDataStatus | undefined;
212
212
  }
213
213
  /**
214
214
  * <p>An internal server error occurred. Retry your request.</p>
@@ -217,7 +217,7 @@ export interface CreateParallelDataResponse {
217
217
  export declare class InternalServerException extends __BaseException {
218
218
  readonly name: "InternalServerException";
219
219
  readonly $fault: "server";
220
- Message?: string;
220
+ Message?: string | undefined;
221
221
  /**
222
222
  * @internal
223
223
  */
@@ -231,7 +231,7 @@ export declare class InternalServerException extends __BaseException {
231
231
  export declare class InvalidParameterValueException extends __BaseException {
232
232
  readonly name: "InvalidParameterValueException";
233
233
  readonly $fault: "client";
234
- Message?: string;
234
+ Message?: string | undefined;
235
235
  /**
236
236
  * @internal
237
237
  */
@@ -245,7 +245,7 @@ export declare class InvalidParameterValueException extends __BaseException {
245
245
  export declare class InvalidRequestException extends __BaseException {
246
246
  readonly name: "InvalidRequestException";
247
247
  readonly $fault: "client";
248
- Message?: string;
248
+ Message?: string | undefined;
249
249
  /**
250
250
  * @internal
251
251
  */
@@ -259,7 +259,7 @@ export declare class InvalidRequestException extends __BaseException {
259
259
  export declare class LimitExceededException extends __BaseException {
260
260
  readonly name: "LimitExceededException";
261
261
  readonly $fault: "client";
262
- Message?: string;
262
+ Message?: string | undefined;
263
263
  /**
264
264
  * @internal
265
265
  */
@@ -273,7 +273,7 @@ export declare class LimitExceededException extends __BaseException {
273
273
  export declare class TooManyRequestsException extends __BaseException {
274
274
  readonly name: "TooManyRequestsException";
275
275
  readonly $fault: "client";
276
- Message?: string;
276
+ Message?: string | undefined;
277
277
  /**
278
278
  * @internal
279
279
  */
@@ -286,7 +286,7 @@ export declare class TooManyRequestsException extends __BaseException {
286
286
  export declare class TooManyTagsException extends __BaseException {
287
287
  readonly name: "TooManyTagsException";
288
288
  readonly $fault: "client";
289
- ResourceArn?: string;
289
+ ResourceArn?: string | undefined;
290
290
  /**
291
291
  * @internal
292
292
  */
@@ -310,12 +310,12 @@ export interface DeleteParallelDataResponse {
310
310
  * <p>The name of the parallel data resource that is being deleted.</p>
311
311
  * @public
312
312
  */
313
- Name?: string;
313
+ Name?: string | undefined;
314
314
  /**
315
315
  * <p>The status of the parallel data deletion.</p>
316
316
  * @public
317
317
  */
318
- Status?: ParallelDataStatus;
318
+ Status?: ParallelDataStatus | undefined;
319
319
  }
320
320
  /**
321
321
  * <p>The resource you are looking for has not been found. Review the resource you're looking
@@ -326,7 +326,7 @@ export interface DeleteParallelDataResponse {
326
326
  export declare class ResourceNotFoundException extends __BaseException {
327
327
  readonly name: "ResourceNotFoundException";
328
328
  readonly $fault: "client";
329
- Message?: string;
329
+ Message?: string | undefined;
330
330
  /**
331
331
  * @internal
332
332
  */
@@ -422,17 +422,17 @@ export interface JobDetails {
422
422
  * <p>The number of documents successfully processed during a translation job.</p>
423
423
  * @public
424
424
  */
425
- TranslatedDocumentsCount?: number;
425
+ TranslatedDocumentsCount?: number | undefined;
426
426
  /**
427
427
  * <p>The number of documents that could not be processed during a translation job.</p>
428
428
  * @public
429
429
  */
430
- DocumentsWithErrorsCount?: number;
430
+ DocumentsWithErrorsCount?: number | undefined;
431
431
  /**
432
432
  * <p>The number of documents used as input in a translation job.</p>
433
433
  * @public
434
434
  */
435
- InputDocumentsCount?: number;
435
+ InputDocumentsCount?: number | undefined;
436
436
  }
437
437
  /**
438
438
  * @public
@@ -466,7 +466,7 @@ export interface OutputDataConfig {
466
466
  * <p>The encryption key used to encrypt this object.</p>
467
467
  * @public
468
468
  */
469
- EncryptionKey?: EncryptionKey;
469
+ EncryptionKey?: EncryptionKey | undefined;
470
470
  }
471
471
  /**
472
472
  * @public
@@ -532,7 +532,7 @@ export interface TranslationSettings {
532
532
  * in the Amazon Translate Developer Guide.</p>
533
533
  * @public
534
534
  */
535
- Formality?: Formality;
535
+ Formality?: Formality | undefined;
536
536
  /**
537
537
  * <p>You can enable the profanity setting if you want to mask profane words and
538
538
  * phrases in your translation output.</p>
@@ -548,7 +548,7 @@ export interface TranslationSettings {
548
548
  * language.</p>
549
549
  * @public
550
550
  */
551
- Profanity?: Profanity;
551
+ Profanity?: Profanity | undefined;
552
552
  /**
553
553
  * <p>When you turn on brevity, Amazon Translate reduces the length of the translation output for most translations (when
554
554
  * compared with the same translation with brevity turned off). By default, brevity is turned
@@ -559,7 +559,7 @@ export interface TranslationSettings {
559
559
  * Amazon Translate Developer Guide.</p>
560
560
  * @public
561
561
  */
562
- Brevity?: Brevity;
562
+ Brevity?: Brevity | undefined;
563
563
  }
564
564
  /**
565
565
  * <p>Provides information about a translation job.</p>
@@ -570,84 +570,84 @@ export interface TextTranslationJobProperties {
570
570
  * <p>The ID of the translation job.</p>
571
571
  * @public
572
572
  */
573
- JobId?: string;
573
+ JobId?: string | undefined;
574
574
  /**
575
575
  * <p>The user-defined name of the translation job.</p>
576
576
  * @public
577
577
  */
578
- JobName?: string;
578
+ JobName?: string | undefined;
579
579
  /**
580
580
  * <p>The status of the translation job.</p>
581
581
  * @public
582
582
  */
583
- JobStatus?: JobStatus;
583
+ JobStatus?: JobStatus | undefined;
584
584
  /**
585
585
  * <p>The number of documents successfully and unsuccessfully processed during the translation
586
586
  * job.</p>
587
587
  * @public
588
588
  */
589
- JobDetails?: JobDetails;
589
+ JobDetails?: JobDetails | undefined;
590
590
  /**
591
591
  * <p>The language code of the language of the source text. The language must be a language
592
592
  * supported by Amazon Translate.</p>
593
593
  * @public
594
594
  */
595
- SourceLanguageCode?: string;
595
+ SourceLanguageCode?: string | undefined;
596
596
  /**
597
597
  * <p>The language code of the language of the target text. The language must be a language
598
598
  * supported by Amazon Translate.</p>
599
599
  * @public
600
600
  */
601
- TargetLanguageCodes?: string[];
601
+ TargetLanguageCodes?: string[] | undefined;
602
602
  /**
603
603
  * <p>A list containing the names of the terminologies applied to a translation job. Only one
604
604
  * terminology can be applied per <a>StartTextTranslationJob</a> request at this
605
605
  * time.</p>
606
606
  * @public
607
607
  */
608
- TerminologyNames?: string[];
608
+ TerminologyNames?: string[] | undefined;
609
609
  /**
610
610
  * <p>A list containing the names of the parallel data resources applied to the translation
611
611
  * job.</p>
612
612
  * @public
613
613
  */
614
- ParallelDataNames?: string[];
614
+ ParallelDataNames?: string[] | undefined;
615
615
  /**
616
616
  * <p>An explanation of any errors that may have occurred during the translation job.</p>
617
617
  * @public
618
618
  */
619
- Message?: string;
619
+ Message?: string | undefined;
620
620
  /**
621
621
  * <p>The time at which the translation job was submitted.</p>
622
622
  * @public
623
623
  */
624
- SubmittedTime?: Date;
624
+ SubmittedTime?: Date | undefined;
625
625
  /**
626
626
  * <p>The time at which the translation job ended.</p>
627
627
  * @public
628
628
  */
629
- EndTime?: Date;
629
+ EndTime?: Date | undefined;
630
630
  /**
631
631
  * <p>The input configuration properties that were specified when the job was requested.</p>
632
632
  * @public
633
633
  */
634
- InputDataConfig?: InputDataConfig;
634
+ InputDataConfig?: InputDataConfig | undefined;
635
635
  /**
636
636
  * <p>The output configuration properties that were specified when the job was requested.</p>
637
637
  * @public
638
638
  */
639
- OutputDataConfig?: OutputDataConfig;
639
+ OutputDataConfig?: OutputDataConfig | undefined;
640
640
  /**
641
641
  * <p>The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role
642
642
  * that granted Amazon Translate read access to the job's input data.</p>
643
643
  * @public
644
644
  */
645
- DataAccessRoleArn?: string;
645
+ DataAccessRoleArn?: string | undefined;
646
646
  /**
647
647
  * <p>Settings that modify the translation output.</p>
648
648
  * @public
649
649
  */
650
- Settings?: TranslationSettings;
650
+ Settings?: TranslationSettings | undefined;
651
651
  }
652
652
  /**
653
653
  * @public
@@ -658,7 +658,7 @@ export interface DescribeTextTranslationJobResponse {
658
658
  * job.</p>
659
659
  * @public
660
660
  */
661
- TextTranslationJobProperties?: TextTranslationJobProperties;
661
+ TextTranslationJobProperties?: TextTranslationJobProperties | undefined;
662
662
  }
663
663
  /**
664
664
  * @public
@@ -707,44 +707,44 @@ export interface ParallelDataProperties {
707
707
  * <p>The custom name assigned to the parallel data resource.</p>
708
708
  * @public
709
709
  */
710
- Name?: string;
710
+ Name?: string | undefined;
711
711
  /**
712
712
  * <p>The Amazon Resource Name (ARN) of the parallel data resource.</p>
713
713
  * @public
714
714
  */
715
- Arn?: string;
715
+ Arn?: string | undefined;
716
716
  /**
717
717
  * <p>The description assigned to the parallel data resource.</p>
718
718
  * @public
719
719
  */
720
- Description?: string;
720
+ Description?: string | undefined;
721
721
  /**
722
722
  * <p>The status of the parallel data resource. When the parallel data is ready for you to use,
723
723
  * the status is <code>ACTIVE</code>.</p>
724
724
  * @public
725
725
  */
726
- Status?: ParallelDataStatus;
726
+ Status?: ParallelDataStatus | undefined;
727
727
  /**
728
728
  * <p>The source language of the translations in the parallel data file.</p>
729
729
  * @public
730
730
  */
731
- SourceLanguageCode?: string;
731
+ SourceLanguageCode?: string | undefined;
732
732
  /**
733
733
  * <p>The language codes for the target languages available in the parallel data file. All
734
734
  * possible target languages are returned as an array.</p>
735
735
  * @public
736
736
  */
737
- TargetLanguageCodes?: string[];
737
+ TargetLanguageCodes?: string[] | undefined;
738
738
  /**
739
739
  * <p>Specifies the format and S3 location of the parallel data input file.</p>
740
740
  * @public
741
741
  */
742
- ParallelDataConfig?: ParallelDataConfig;
742
+ ParallelDataConfig?: ParallelDataConfig | undefined;
743
743
  /**
744
744
  * <p>Additional information from Amazon Translate about the parallel data resource. </p>
745
745
  * @public
746
746
  */
747
- Message?: string;
747
+ Message?: string | undefined;
748
748
  /**
749
749
  * <p>The number of UTF-8 characters that Amazon Translate imported from the parallel data input
750
750
  * file. This number includes only the characters in your translation examples. It does not
@@ -752,49 +752,49 @@ export interface ParallelDataProperties {
752
752
  * Translation Memory Exchange (.tmx) file, this number does not include the tags.</p>
753
753
  * @public
754
754
  */
755
- ImportedDataSize?: number;
755
+ ImportedDataSize?: number | undefined;
756
756
  /**
757
757
  * <p>The number of records successfully imported from the parallel data input file.</p>
758
758
  * @public
759
759
  */
760
- ImportedRecordCount?: number;
760
+ ImportedRecordCount?: number | undefined;
761
761
  /**
762
762
  * <p>The number of records unsuccessfully imported from the parallel data input file.</p>
763
763
  * @public
764
764
  */
765
- FailedRecordCount?: number;
765
+ FailedRecordCount?: number | undefined;
766
766
  /**
767
767
  * <p>The number of items in the input file that Amazon Translate skipped when you created or
768
768
  * updated the parallel data resource. For example, Amazon Translate skips empty records, empty
769
769
  * target texts, and empty lines.</p>
770
770
  * @public
771
771
  */
772
- SkippedRecordCount?: number;
772
+ SkippedRecordCount?: number | undefined;
773
773
  /**
774
774
  * <p>The encryption key used to encrypt this object.</p>
775
775
  * @public
776
776
  */
777
- EncryptionKey?: EncryptionKey;
777
+ EncryptionKey?: EncryptionKey | undefined;
778
778
  /**
779
779
  * <p>The time at which the parallel data resource was created.</p>
780
780
  * @public
781
781
  */
782
- CreatedAt?: Date;
782
+ CreatedAt?: Date | undefined;
783
783
  /**
784
784
  * <p>The time at which the parallel data resource was last updated.</p>
785
785
  * @public
786
786
  */
787
- LastUpdatedAt?: Date;
787
+ LastUpdatedAt?: Date | undefined;
788
788
  /**
789
789
  * <p>The status of the most recent update attempt for the parallel data resource.</p>
790
790
  * @public
791
791
  */
792
- LatestUpdateAttemptStatus?: ParallelDataStatus;
792
+ LatestUpdateAttemptStatus?: ParallelDataStatus | undefined;
793
793
  /**
794
794
  * <p>The time that the most recent update was attempted.</p>
795
795
  * @public
796
796
  */
797
- LatestUpdateAttemptAt?: Date;
797
+ LatestUpdateAttemptAt?: Date | undefined;
798
798
  }
799
799
  /**
800
800
  * @public
@@ -804,7 +804,7 @@ export interface GetParallelDataResponse {
804
804
  * <p>The properties of the parallel data resource that is being retrieved.</p>
805
805
  * @public
806
806
  */
807
- ParallelDataProperties?: ParallelDataProperties;
807
+ ParallelDataProperties?: ParallelDataProperties | undefined;
808
808
  /**
809
809
  * <p>The Amazon S3 location of the most recent parallel data input file that was successfully
810
810
  * imported into Amazon Translate. The location is returned as a presigned URL that has a
@@ -821,7 +821,7 @@ export interface GetParallelDataResponse {
821
821
  * </important>
822
822
  * @public
823
823
  */
824
- DataLocation?: ParallelDataDataLocation;
824
+ DataLocation?: ParallelDataDataLocation | undefined;
825
825
  /**
826
826
  * <p>The Amazon S3 location of a file that provides any errors or warnings that were produced
827
827
  * by your input file. This file was created when Amazon Translate attempted to create a parallel
@@ -829,7 +829,7 @@ export interface GetParallelDataResponse {
829
829
  * expiration.</p>
830
830
  * @public
831
831
  */
832
- AuxiliaryDataLocation?: ParallelDataDataLocation;
832
+ AuxiliaryDataLocation?: ParallelDataDataLocation | undefined;
833
833
  /**
834
834
  * <p>The Amazon S3 location of a file that provides any errors or warnings that were produced
835
835
  * by your input file. This file was created when Amazon Translate attempted to update a parallel
@@ -837,7 +837,7 @@ export interface GetParallelDataResponse {
837
837
  * expiration.</p>
838
838
  * @public
839
839
  */
840
- LatestUpdateAttemptAuxiliaryDataLocation?: ParallelDataDataLocation;
840
+ LatestUpdateAttemptAuxiliaryDataLocation?: ParallelDataDataLocation | undefined;
841
841
  }
842
842
  /**
843
843
  * @public
@@ -870,7 +870,7 @@ export interface GetTerminologyRequest {
870
870
  * Amazon Translate throws an error.</p>
871
871
  * @public
872
872
  */
873
- TerminologyDataFormat?: TerminologyDataFormat;
873
+ TerminologyDataFormat?: TerminologyDataFormat | undefined;
874
874
  }
875
875
  /**
876
876
  * <p>The location of the custom terminology data.</p>
@@ -921,54 +921,54 @@ export interface TerminologyProperties {
921
921
  * <p>The name of the custom terminology.</p>
922
922
  * @public
923
923
  */
924
- Name?: string;
924
+ Name?: string | undefined;
925
925
  /**
926
926
  * <p>The description of the custom terminology properties.</p>
927
927
  * @public
928
928
  */
929
- Description?: string;
929
+ Description?: string | undefined;
930
930
  /**
931
931
  * <p> The Amazon Resource Name (ARN) of the custom terminology. </p>
932
932
  * @public
933
933
  */
934
- Arn?: string;
934
+ Arn?: string | undefined;
935
935
  /**
936
936
  * <p>The language code for the source text of the translation request for which the custom
937
937
  * terminology is being used.</p>
938
938
  * @public
939
939
  */
940
- SourceLanguageCode?: string;
940
+ SourceLanguageCode?: string | undefined;
941
941
  /**
942
942
  * <p>The language codes for the target languages available with the custom terminology
943
943
  * resource. All possible target languages are returned in array.</p>
944
944
  * @public
945
945
  */
946
- TargetLanguageCodes?: string[];
946
+ TargetLanguageCodes?: string[] | undefined;
947
947
  /**
948
948
  * <p>The encryption key for the custom terminology.</p>
949
949
  * @public
950
950
  */
951
- EncryptionKey?: EncryptionKey;
951
+ EncryptionKey?: EncryptionKey | undefined;
952
952
  /**
953
953
  * <p>The size of the file used when importing a custom terminology.</p>
954
954
  * @public
955
955
  */
956
- SizeBytes?: number;
956
+ SizeBytes?: number | undefined;
957
957
  /**
958
958
  * <p>The number of terms included in the custom terminology.</p>
959
959
  * @public
960
960
  */
961
- TermCount?: number;
961
+ TermCount?: number | undefined;
962
962
  /**
963
963
  * <p>The time at which the custom terminology was created, based on the timestamp.</p>
964
964
  * @public
965
965
  */
966
- CreatedAt?: Date;
966
+ CreatedAt?: Date | undefined;
967
967
  /**
968
968
  * <p>The time at which the custom terminology was last update, based on the timestamp.</p>
969
969
  * @public
970
970
  */
971
- LastUpdatedAt?: Date;
971
+ LastUpdatedAt?: Date | undefined;
972
972
  /**
973
973
  * <p>The directionality of your terminology resource indicates whether it has one source
974
974
  * language (uni-directional) or multiple (multi-directional). </p>
@@ -985,23 +985,23 @@ export interface TerminologyProperties {
985
985
  * </dl>
986
986
  * @public
987
987
  */
988
- Directionality?: Directionality;
988
+ Directionality?: Directionality | undefined;
989
989
  /**
990
990
  * <p>Additional information from Amazon Translate about the terminology resource.</p>
991
991
  * @public
992
992
  */
993
- Message?: string;
993
+ Message?: string | undefined;
994
994
  /**
995
995
  * <p>The number of terms in the input file that Amazon Translate skipped when you created or
996
996
  * updated the terminology resource.</p>
997
997
  * @public
998
998
  */
999
- SkippedTermCount?: number;
999
+ SkippedTermCount?: number | undefined;
1000
1000
  /**
1001
1001
  * <p>The format of the custom terminology input file.</p>
1002
1002
  * @public
1003
1003
  */
1004
- Format?: TerminologyDataFormat;
1004
+ Format?: TerminologyDataFormat | undefined;
1005
1005
  }
1006
1006
  /**
1007
1007
  * @public
@@ -1011,7 +1011,7 @@ export interface GetTerminologyResponse {
1011
1011
  * <p>The properties of the custom terminology being retrieved.</p>
1012
1012
  * @public
1013
1013
  */
1014
- TerminologyProperties?: TerminologyProperties;
1014
+ TerminologyProperties?: TerminologyProperties | undefined;
1015
1015
  /**
1016
1016
  * <p>The Amazon S3 location of the most recent custom terminology input file that was
1017
1017
  * successfully imported into Amazon Translate. The location is returned as a presigned URL that
@@ -1028,7 +1028,7 @@ export interface GetTerminologyResponse {
1028
1028
  * </important>
1029
1029
  * @public
1030
1030
  */
1031
- TerminologyDataLocation?: TerminologyDataLocation;
1031
+ TerminologyDataLocation?: TerminologyDataLocation | undefined;
1032
1032
  /**
1033
1033
  * <p>The Amazon S3 location of a file that provides any errors or warnings that were produced
1034
1034
  * by your input file. This file was created when Amazon Translate attempted to create a
@@ -1036,7 +1036,7 @@ export interface GetTerminologyResponse {
1036
1036
  * expiration.</p>
1037
1037
  * @public
1038
1038
  */
1039
- AuxiliaryDataLocation?: TerminologyDataLocation;
1039
+ AuxiliaryDataLocation?: TerminologyDataLocation | undefined;
1040
1040
  }
1041
1041
  /**
1042
1042
  * @public
@@ -1090,7 +1090,7 @@ export interface TerminologyData {
1090
1090
  * behaves as uni-directional terminology, although this parameter will have a null value.</p>
1091
1091
  * @public
1092
1092
  */
1093
- Directionality?: Directionality;
1093
+ Directionality?: Directionality | undefined;
1094
1094
  }
1095
1095
  /**
1096
1096
  * @public
@@ -1112,7 +1112,7 @@ export interface ImportTerminologyRequest {
1112
1112
  * <p>The description of the custom terminology being imported.</p>
1113
1113
  * @public
1114
1114
  */
1115
- Description?: string;
1115
+ Description?: string | undefined;
1116
1116
  /**
1117
1117
  * <p>The terminology data for the custom terminology being imported.</p>
1118
1118
  * @public
@@ -1122,7 +1122,7 @@ export interface ImportTerminologyRequest {
1122
1122
  * <p>The encryption key for the custom terminology being imported.</p>
1123
1123
  * @public
1124
1124
  */
1125
- EncryptionKey?: EncryptionKey;
1125
+ EncryptionKey?: EncryptionKey | undefined;
1126
1126
  /**
1127
1127
  * <p>Tags to be associated with this resource. A tag is a key-value pair that
1128
1128
  * adds metadata to a resource. Each tag key for the resource must be unique.
@@ -1130,7 +1130,7 @@ export interface ImportTerminologyRequest {
1130
1130
  * Tagging your resources</a>.</p>
1131
1131
  * @public
1132
1132
  */
1133
- Tags?: Tag[];
1133
+ Tags?: Tag[] | undefined;
1134
1134
  }
1135
1135
  /**
1136
1136
  * @public
@@ -1140,7 +1140,7 @@ export interface ImportTerminologyResponse {
1140
1140
  * <p>The properties of the custom terminology being imported.</p>
1141
1141
  * @public
1142
1142
  */
1143
- TerminologyProperties?: TerminologyProperties;
1143
+ TerminologyProperties?: TerminologyProperties | undefined;
1144
1144
  /**
1145
1145
  * <p>The Amazon S3 location of a file that provides any errors or warnings that were produced
1146
1146
  * by your input file. This file was created when Amazon Translate attempted to create a
@@ -1148,7 +1148,7 @@ export interface ImportTerminologyResponse {
1148
1148
  * expiration.</p>
1149
1149
  * @public
1150
1150
  */
1151
- AuxiliaryDataLocation?: TerminologyDataLocation;
1151
+ AuxiliaryDataLocation?: TerminologyDataLocation | undefined;
1152
1152
  }
1153
1153
  /**
1154
1154
  * @public
@@ -1179,17 +1179,17 @@ export interface ListLanguagesRequest {
1179
1179
  * The language code is <code>en</code> by default. </p>
1180
1180
  * @public
1181
1181
  */
1182
- DisplayLanguageCode?: DisplayLanguageCode;
1182
+ DisplayLanguageCode?: DisplayLanguageCode | undefined;
1183
1183
  /**
1184
1184
  * <p>Include the NextToken value to fetch the next group of supported languages. </p>
1185
1185
  * @public
1186
1186
  */
1187
- NextToken?: string;
1187
+ NextToken?: string | undefined;
1188
1188
  /**
1189
1189
  * <p>The maximum number of results to return in each response.</p>
1190
1190
  * @public
1191
1191
  */
1192
- MaxResults?: number;
1192
+ MaxResults?: number | undefined;
1193
1193
  }
1194
1194
  /**
1195
1195
  * <p>A supported language.</p>
@@ -1215,18 +1215,18 @@ export interface ListLanguagesResponse {
1215
1215
  * <p>The list of supported languages.</p>
1216
1216
  * @public
1217
1217
  */
1218
- Languages?: Language[];
1218
+ Languages?: Language[] | undefined;
1219
1219
  /**
1220
1220
  * <p>The language code passed in with the request.</p>
1221
1221
  * @public
1222
1222
  */
1223
- DisplayLanguageCode?: DisplayLanguageCode;
1223
+ DisplayLanguageCode?: DisplayLanguageCode | undefined;
1224
1224
  /**
1225
1225
  * <p> If the response does not include all remaining results, use the NextToken
1226
1226
  * in the next request to fetch the next group of supported languages.</p>
1227
1227
  * @public
1228
1228
  */
1229
- NextToken?: string;
1229
+ NextToken?: string | undefined;
1230
1230
  }
1231
1231
  /**
1232
1232
  * <p>Requested display language code is not supported.</p>
@@ -1235,12 +1235,12 @@ export interface ListLanguagesResponse {
1235
1235
  export declare class UnsupportedDisplayLanguageCodeException extends __BaseException {
1236
1236
  readonly name: "UnsupportedDisplayLanguageCodeException";
1237
1237
  readonly $fault: "client";
1238
- Message?: string;
1238
+ Message?: string | undefined;
1239
1239
  /**
1240
1240
  * <p>Language code passed in with the request.</p>
1241
1241
  * @public
1242
1242
  */
1243
- DisplayLanguageCode?: string;
1243
+ DisplayLanguageCode?: string | undefined;
1244
1244
  /**
1245
1245
  * @internal
1246
1246
  */
@@ -1254,12 +1254,12 @@ export interface ListParallelDataRequest {
1254
1254
  * <p>A string that specifies the next page of results to return in a paginated response.</p>
1255
1255
  * @public
1256
1256
  */
1257
- NextToken?: string;
1257
+ NextToken?: string | undefined;
1258
1258
  /**
1259
1259
  * <p>The maximum number of parallel data resources returned for each request.</p>
1260
1260
  * @public
1261
1261
  */
1262
- MaxResults?: number;
1262
+ MaxResults?: number | undefined;
1263
1263
  }
1264
1264
  /**
1265
1265
  * @public
@@ -1269,13 +1269,13 @@ export interface ListParallelDataResponse {
1269
1269
  * <p>The properties of the parallel data resources returned by this request.</p>
1270
1270
  * @public
1271
1271
  */
1272
- ParallelDataPropertiesList?: ParallelDataProperties[];
1272
+ ParallelDataPropertiesList?: ParallelDataProperties[] | undefined;
1273
1273
  /**
1274
1274
  * <p>The string to use in a subsequent request to get the next page of results in a paginated
1275
1275
  * response. This value is null if there are no additional pages.</p>
1276
1276
  * @public
1277
1277
  */
1278
- NextToken?: string;
1278
+ NextToken?: string | undefined;
1279
1279
  }
1280
1280
  /**
1281
1281
  * @public
@@ -1299,7 +1299,7 @@ export interface ListTagsForResourceResponse {
1299
1299
  * </p>
1300
1300
  * @public
1301
1301
  */
1302
- Tags?: Tag[];
1302
+ Tags?: Tag[] | undefined;
1303
1303
  }
1304
1304
  /**
1305
1305
  * @public
@@ -1310,12 +1310,12 @@ export interface ListTerminologiesRequest {
1310
1310
  * fetch the next group of custom terminologies. </p>
1311
1311
  * @public
1312
1312
  */
1313
- NextToken?: string;
1313
+ NextToken?: string | undefined;
1314
1314
  /**
1315
1315
  * <p>The maximum number of custom terminologies returned per list request.</p>
1316
1316
  * @public
1317
1317
  */
1318
- MaxResults?: number;
1318
+ MaxResults?: number | undefined;
1319
1319
  }
1320
1320
  /**
1321
1321
  * @public
@@ -1325,13 +1325,13 @@ export interface ListTerminologiesResponse {
1325
1325
  * <p>The properties list of the custom terminologies returned on the list request.</p>
1326
1326
  * @public
1327
1327
  */
1328
- TerminologyPropertiesList?: TerminologyProperties[];
1328
+ TerminologyPropertiesList?: TerminologyProperties[] | undefined;
1329
1329
  /**
1330
1330
  * <p> If the response to the ListTerminologies was truncated, the NextToken fetches the next
1331
1331
  * group of custom terminologies.</p>
1332
1332
  * @public
1333
1333
  */
1334
- NextToken?: string;
1334
+ NextToken?: string | undefined;
1335
1335
  }
1336
1336
  /**
1337
1337
  * <p>The filter specified for the operation is not valid. Specify a different filter.</p>
@@ -1340,7 +1340,7 @@ export interface ListTerminologiesResponse {
1340
1340
  export declare class InvalidFilterException extends __BaseException {
1341
1341
  readonly name: "InvalidFilterException";
1342
1342
  readonly $fault: "client";
1343
- Message?: string;
1343
+ Message?: string | undefined;
1344
1344
  /**
1345
1345
  * @internal
1346
1346
  */
@@ -1356,26 +1356,26 @@ export interface TextTranslationJobFilter {
1356
1356
  * <p>Filters the list of jobs by name.</p>
1357
1357
  * @public
1358
1358
  */
1359
- JobName?: string;
1359
+ JobName?: string | undefined;
1360
1360
  /**
1361
1361
  * <p>Filters the list of jobs based by job status.</p>
1362
1362
  * @public
1363
1363
  */
1364
- JobStatus?: JobStatus;
1364
+ JobStatus?: JobStatus | undefined;
1365
1365
  /**
1366
1366
  * <p>Filters the list of jobs based on the time that the job was submitted for processing and
1367
1367
  * returns only the jobs submitted before the specified time. Jobs are returned in ascending
1368
1368
  * order, oldest to newest.</p>
1369
1369
  * @public
1370
1370
  */
1371
- SubmittedBeforeTime?: Date;
1371
+ SubmittedBeforeTime?: Date | undefined;
1372
1372
  /**
1373
1373
  * <p>Filters the list of jobs based on the time that the job was submitted for processing and
1374
1374
  * returns only the jobs submitted after the specified time. Jobs are returned in descending
1375
1375
  * order, newest to oldest.</p>
1376
1376
  * @public
1377
1377
  */
1378
- SubmittedAfterTime?: Date;
1378
+ SubmittedAfterTime?: Date | undefined;
1379
1379
  }
1380
1380
  /**
1381
1381
  * @public
@@ -1386,17 +1386,17 @@ export interface ListTextTranslationJobsRequest {
1386
1386
  * name, job status, and submission time. You can only set one filter at a time.</p>
1387
1387
  * @public
1388
1388
  */
1389
- Filter?: TextTranslationJobFilter;
1389
+ Filter?: TextTranslationJobFilter | undefined;
1390
1390
  /**
1391
1391
  * <p>The token to request the next page of results.</p>
1392
1392
  * @public
1393
1393
  */
1394
- NextToken?: string;
1394
+ NextToken?: string | undefined;
1395
1395
  /**
1396
1396
  * <p>The maximum number of results to return in each page. The default value is 100.</p>
1397
1397
  * @public
1398
1398
  */
1399
- MaxResults?: number;
1399
+ MaxResults?: number | undefined;
1400
1400
  }
1401
1401
  /**
1402
1402
  * @public
@@ -1406,13 +1406,13 @@ export interface ListTextTranslationJobsResponse {
1406
1406
  * <p>A list containing the properties of each job that is returned.</p>
1407
1407
  * @public
1408
1408
  */
1409
- TextTranslationJobPropertiesList?: TextTranslationJobProperties[];
1409
+ TextTranslationJobPropertiesList?: TextTranslationJobProperties[] | undefined;
1410
1410
  /**
1411
1411
  * <p>The token to use to retrieve the next page of results. This value is <code>null</code>
1412
1412
  * when there are no more results to return.</p>
1413
1413
  * @public
1414
1414
  */
1415
- NextToken?: string;
1415
+ NextToken?: string | undefined;
1416
1416
  }
1417
1417
  /**
1418
1418
  * @public
@@ -1422,7 +1422,7 @@ export interface StartTextTranslationJobRequest {
1422
1422
  * <p>The name of the batch translation job to be performed.</p>
1423
1423
  * @public
1424
1424
  */
1425
- JobName?: string;
1425
+ JobName?: string | undefined;
1426
1426
  /**
1427
1427
  * <p>Specifies the format and location of the input documents for the translation job.</p>
1428
1428
  * @public
@@ -1469,7 +1469,7 @@ export interface StartTextTranslationJobRequest {
1469
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
1470
  * @public
1471
1471
  */
1472
- TerminologyNames?: string[];
1472
+ TerminologyNames?: string[] | undefined;
1473
1473
  /**
1474
1474
  * <p>The name of a parallel data resource to add to the translation job. This resource consists
1475
1475
  * of examples that show how you want segments of text to be translated.
@@ -1488,13 +1488,13 @@ export interface StartTextTranslationJobRequest {
1488
1488
  * Customizing your translations with parallel data</a>.</p>
1489
1489
  * @public
1490
1490
  */
1491
- ParallelDataNames?: string[];
1491
+ ParallelDataNames?: string[] | undefined;
1492
1492
  /**
1493
1493
  * <p>A unique identifier for the request. This token is generated for you when using the Amazon Translate
1494
1494
  * SDK.</p>
1495
1495
  * @public
1496
1496
  */
1497
- ClientToken?: string;
1497
+ ClientToken?: string | undefined;
1498
1498
  /**
1499
1499
  * <p>Settings to configure your translation output. You can configure the following options:</p>
1500
1500
  * <ul>
@@ -1510,7 +1510,7 @@ export interface StartTextTranslationJobRequest {
1510
1510
  * </ul>
1511
1511
  * @public
1512
1512
  */
1513
- Settings?: TranslationSettings;
1513
+ Settings?: TranslationSettings | undefined;
1514
1514
  }
1515
1515
  /**
1516
1516
  * @public
@@ -1521,7 +1521,7 @@ export interface StartTextTranslationJobResponse {
1521
1521
  * <a>DescribeTextTranslationJob</a> operation.</p>
1522
1522
  * @public
1523
1523
  */
1524
- JobId?: string;
1524
+ JobId?: string | undefined;
1525
1525
  /**
1526
1526
  * <p>The status of the job. Possible values include:</p>
1527
1527
  * <ul>
@@ -1560,7 +1560,7 @@ export interface StartTextTranslationJobResponse {
1560
1560
  * </ul>
1561
1561
  * @public
1562
1562
  */
1563
- JobStatus?: JobStatus;
1563
+ JobStatus?: JobStatus | undefined;
1564
1564
  }
1565
1565
  /**
1566
1566
  * <p>Amazon Translate does not support translation from the language of the source text into the requested
@@ -1570,17 +1570,17 @@ export interface StartTextTranslationJobResponse {
1570
1570
  export declare class UnsupportedLanguagePairException extends __BaseException {
1571
1571
  readonly name: "UnsupportedLanguagePairException";
1572
1572
  readonly $fault: "client";
1573
- Message?: string;
1573
+ Message?: string | undefined;
1574
1574
  /**
1575
1575
  * <p>The language code for the language of the input text. </p>
1576
1576
  * @public
1577
1577
  */
1578
- SourceLanguageCode?: string;
1578
+ SourceLanguageCode?: string | undefined;
1579
1579
  /**
1580
1580
  * <p>The language code for the language of the translated text. </p>
1581
1581
  * @public
1582
1582
  */
1583
- TargetLanguageCode?: string;
1583
+ TargetLanguageCode?: string | undefined;
1584
1584
  /**
1585
1585
  * @internal
1586
1586
  */
@@ -1604,13 +1604,13 @@ export interface StopTextTranslationJobResponse {
1604
1604
  * <p>The job ID of the stopped batch translation job.</p>
1605
1605
  * @public
1606
1606
  */
1607
- JobId?: string;
1607
+ JobId?: string | undefined;
1608
1608
  /**
1609
1609
  * <p>The status of the designated job. Upon successful completion, the job's status will be
1610
1610
  * <code>STOPPED</code>.</p>
1611
1611
  * @public
1612
1612
  */
1613
- JobStatus?: JobStatus;
1613
+ JobStatus?: JobStatus | undefined;
1614
1614
  }
1615
1615
  /**
1616
1616
  * @public
@@ -1642,7 +1642,7 @@ export interface TagResourceResponse {
1642
1642
  export declare class ServiceUnavailableException extends __BaseException {
1643
1643
  readonly name: "ServiceUnavailableException";
1644
1644
  readonly $fault: "server";
1645
- Message?: string;
1645
+ Message?: string | undefined;
1646
1646
  /**
1647
1647
  * @internal
1648
1648
  */
@@ -1704,7 +1704,7 @@ export interface TranslateDocumentRequest {
1704
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
1705
  * @public
1706
1706
  */
1707
- TerminologyNames?: string[];
1707
+ TerminologyNames?: string[] | undefined;
1708
1708
  /**
1709
1709
  * <p>The language code for the language of the source text. For a list of supported language codes, see
1710
1710
  * <a href="https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html">Supported languages</a>.</p>
@@ -1741,7 +1741,7 @@ export interface TranslateDocumentRequest {
1741
1741
  * </ul>
1742
1742
  * @public
1743
1743
  */
1744
- Settings?: TranslationSettings;
1744
+ Settings?: TranslationSettings | undefined;
1745
1745
  }
1746
1746
  /**
1747
1747
  * <p>The translated content.</p>
@@ -1778,7 +1778,7 @@ export interface TranslateDocumentResponse {
1778
1778
  * translated text document.</p>
1779
1779
  * @public
1780
1780
  */
1781
- AppliedTerminologies?: AppliedTerminology[];
1781
+ AppliedTerminologies?: AppliedTerminology[] | undefined;
1782
1782
  /**
1783
1783
  * <p>Settings to configure your translation output. You can configure the following options:</p>
1784
1784
  * <ul>
@@ -1795,7 +1795,7 @@ export interface TranslateDocumentResponse {
1795
1795
  * </ul>
1796
1796
  * @public
1797
1797
  */
1798
- AppliedSettings?: TranslationSettings;
1798
+ AppliedSettings?: TranslationSettings | undefined;
1799
1799
  }
1800
1800
  /**
1801
1801
  * <p>The confidence that Amazon Comprehend accurately detected the source language is low. If a
@@ -1807,12 +1807,12 @@ export interface TranslateDocumentResponse {
1807
1807
  export declare class DetectedLanguageLowConfidenceException extends __BaseException {
1808
1808
  readonly name: "DetectedLanguageLowConfidenceException";
1809
1809
  readonly $fault: "client";
1810
- Message?: string;
1810
+ Message?: string | undefined;
1811
1811
  /**
1812
1812
  * <p>The language code of the auto-detected language from Amazon Comprehend.</p>
1813
1813
  * @public
1814
1814
  */
1815
- DetectedLanguageCode?: string;
1815
+ DetectedLanguageCode?: string | undefined;
1816
1816
  /**
1817
1817
  * @internal
1818
1818
  */
@@ -1826,7 +1826,7 @@ export declare class DetectedLanguageLowConfidenceException extends __BaseExcept
1826
1826
  export declare class TextSizeLimitExceededException extends __BaseException {
1827
1827
  readonly name: "TextSizeLimitExceededException";
1828
1828
  readonly $fault: "client";
1829
- Message?: string;
1829
+ Message?: string | undefined;
1830
1830
  /**
1831
1831
  * @internal
1832
1832
  */
@@ -1852,7 +1852,7 @@ export interface TranslateTextRequest {
1852
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
1853
  * @public
1854
1854
  */
1855
- TerminologyNames?: string[];
1855
+ TerminologyNames?: string[] | undefined;
1856
1856
  /**
1857
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>
1858
1858
  * <p>To have Amazon Translate determine the source language of your text, you can specify
@@ -1887,7 +1887,7 @@ export interface TranslateTextRequest {
1887
1887
  * </ul>
1888
1888
  * @public
1889
1889
  */
1890
- Settings?: TranslationSettings;
1890
+ Settings?: TranslationSettings | undefined;
1891
1891
  }
1892
1892
  /**
1893
1893
  * @public
@@ -1913,12 +1913,12 @@ export interface TranslateTextResponse {
1913
1913
  * translated text response.</p>
1914
1914
  * @public
1915
1915
  */
1916
- AppliedTerminologies?: AppliedTerminology[];
1916
+ AppliedTerminologies?: AppliedTerminology[] | undefined;
1917
1917
  /**
1918
1918
  * <p>Optional settings that modify the translation output.</p>
1919
1919
  * @public
1920
1920
  */
1921
- AppliedSettings?: TranslationSettings;
1921
+ AppliedSettings?: TranslationSettings | undefined;
1922
1922
  }
1923
1923
  /**
1924
1924
  * @public
@@ -1956,7 +1956,7 @@ export interface UpdateParallelDataRequest {
1956
1956
  * <p>A custom description for the parallel data resource in Amazon Translate.</p>
1957
1957
  * @public
1958
1958
  */
1959
- Description?: string;
1959
+ Description?: string | undefined;
1960
1960
  /**
1961
1961
  * <p>Specifies the format and S3 location of the parallel data input file.</p>
1962
1962
  * @public
@@ -1967,7 +1967,7 @@ export interface UpdateParallelDataRequest {
1967
1967
  * Amazon Translate through an AWS SDK.</p>
1968
1968
  * @public
1969
1969
  */
1970
- ClientToken?: string;
1970
+ ClientToken?: string | undefined;
1971
1971
  }
1972
1972
  /**
1973
1973
  * @public
@@ -1977,25 +1977,25 @@ export interface UpdateParallelDataResponse {
1977
1977
  * <p>The name of the parallel data resource being updated.</p>
1978
1978
  * @public
1979
1979
  */
1980
- Name?: string;
1980
+ Name?: string | undefined;
1981
1981
  /**
1982
1982
  * <p>The status of the parallel data resource that you are attempting to update. Your update
1983
1983
  * request is accepted only if this status is either <code>ACTIVE</code> or
1984
1984
  * <code>FAILED</code>.</p>
1985
1985
  * @public
1986
1986
  */
1987
- Status?: ParallelDataStatus;
1987
+ Status?: ParallelDataStatus | undefined;
1988
1988
  /**
1989
1989
  * <p>The status of the parallel data update attempt. When the updated parallel data resource is
1990
1990
  * ready for you to use, the status is <code>ACTIVE</code>.</p>
1991
1991
  * @public
1992
1992
  */
1993
- LatestUpdateAttemptStatus?: ParallelDataStatus;
1993
+ LatestUpdateAttemptStatus?: ParallelDataStatus | undefined;
1994
1994
  /**
1995
1995
  * <p>The time that the most recent update was attempted.</p>
1996
1996
  * @public
1997
1997
  */
1998
- LatestUpdateAttemptAt?: Date;
1998
+ LatestUpdateAttemptAt?: Date | undefined;
1999
1999
  }
2000
2000
  /**
2001
2001
  * @internal