@aws-sdk/client-translate 3.38.0 → 3.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -0
- package/dist-cjs/endpoints.js +123 -17
- package/dist-cjs/models/models_0.js +8 -2
- package/dist-cjs/protocols/Aws_json1_1.js +27 -0
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/endpoints.js +123 -17
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/protocols/Aws_json1_1.js +58 -33
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/Translate.d.ts +4 -4
- package/dist-types/TranslateClient.d.ts +8 -0
- package/dist-types/commands/CreateParallelDataCommand.d.ts +4 -4
- package/dist-types/commands/DeleteParallelDataCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTerminologyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTextTranslationJobCommand.d.ts +2 -2
- package/dist-types/commands/GetParallelDataCommand.d.ts +1 -1
- package/dist-types/commands/GetTerminologyCommand.d.ts +1 -1
- package/dist-types/commands/ImportTerminologyCommand.d.ts +1 -1
- package/dist-types/commands/ListParallelDataCommand.d.ts +1 -1
- package/dist-types/commands/ListTerminologiesCommand.d.ts +1 -1
- package/dist-types/commands/ListTextTranslationJobsCommand.d.ts +1 -1
- package/dist-types/commands/StartTextTranslationJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTextTranslationJobCommand.d.ts +1 -1
- package/dist-types/commands/TranslateTextCommand.d.ts +1 -1
- package/dist-types/commands/UpdateParallelDataCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +132 -17
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/TranslateClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +23 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +25 -25
|
@@ -356,6 +356,12 @@ export interface InputDataConfig {
|
|
|
356
356
|
* <code>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</code>: The
|
|
357
357
|
* input data consists of one or more Excel Workbook files (.xlsx).</p>
|
|
358
358
|
* </li>
|
|
359
|
+
* <li>
|
|
360
|
+
* <p>
|
|
361
|
+
* <code>application/x-xliff+xml</code>: The input data consists of one or more XML
|
|
362
|
+
* Localization Interchange File Format (XLIFF) files (.xlf). Amazon Translate supports only
|
|
363
|
+
* XLIFF version 1.2.</p>
|
|
364
|
+
* </li>
|
|
359
365
|
* </ul>
|
|
360
366
|
* <important>
|
|
361
367
|
* <p>If you structure your input data as HTML, ensure that you set this parameter to
|
|
@@ -414,6 +420,10 @@ export interface OutputDataConfig {
|
|
|
414
420
|
* be in the same Region as the API endpoint that you are calling.</p>
|
|
415
421
|
*/
|
|
416
422
|
S3Uri: string | undefined;
|
|
423
|
+
/**
|
|
424
|
+
* <p>The encryption key used to encrypt this object.</p>
|
|
425
|
+
*/
|
|
426
|
+
EncryptionKey?: EncryptionKey;
|
|
417
427
|
}
|
|
418
428
|
export declare namespace OutputDataConfig {
|
|
419
429
|
/**
|
|
@@ -464,7 +474,7 @@ export interface TextTranslationJobProperties {
|
|
|
464
474
|
*/
|
|
465
475
|
ParallelDataNames?: string[];
|
|
466
476
|
/**
|
|
467
|
-
* <p>An explanation of any errors that may have
|
|
477
|
+
* <p>An explanation of any errors that may have occurred during the translation job.</p>
|
|
468
478
|
*/
|
|
469
479
|
Message?: string;
|
|
470
480
|
/**
|
|
@@ -532,6 +542,16 @@ export interface ParallelDataDataLocation {
|
|
|
532
542
|
/**
|
|
533
543
|
* <p>The Amazon S3 location of the parallel data input file. The location is returned as a
|
|
534
544
|
* presigned URL to that has a 30 minute expiration.</p>
|
|
545
|
+
*
|
|
546
|
+
* <important>
|
|
547
|
+
* <p>Amazon Translate doesn't scan parallel data input files for the risk of CSV injection
|
|
548
|
+
* attacks. </p>
|
|
549
|
+
* <p>CSV injection occurs when a .csv or .tsv file is altered so that a record contains
|
|
550
|
+
* malicious code. The record begins with a special character, such as =, +, -, or @. When the
|
|
551
|
+
* file is opened in a spreadsheet program, the program might interpret the record as a formula
|
|
552
|
+
* and run the code within it.</p>
|
|
553
|
+
* <p>Before you download a parallel data input file from Amazon S3, ensure that you recognize the file and trust its creator.</p>
|
|
554
|
+
* </important>
|
|
535
555
|
*/
|
|
536
556
|
Location: string | undefined;
|
|
537
557
|
}
|
|
@@ -633,9 +653,19 @@ export interface GetParallelDataResponse {
|
|
|
633
653
|
*/
|
|
634
654
|
ParallelDataProperties?: ParallelDataProperties;
|
|
635
655
|
/**
|
|
636
|
-
* <p>The location of the most recent parallel data input file that was successfully
|
|
637
|
-
* into Amazon Translate. The location is returned as a presigned URL that has a 30
|
|
638
|
-
* expiration.</p>
|
|
656
|
+
* <p>The Amazon S3 location of the most recent parallel data input file that was successfully
|
|
657
|
+
* imported into Amazon Translate. The location is returned as a presigned URL that has a 30
|
|
658
|
+
* minute expiration.</p>
|
|
659
|
+
*
|
|
660
|
+
* <important>
|
|
661
|
+
* <p>Amazon Translate doesn't scan parallel data input files for the risk of CSV injection
|
|
662
|
+
* attacks. </p>
|
|
663
|
+
* <p>CSV injection occurs when a .csv or .tsv file is altered so that a record contains
|
|
664
|
+
* malicious code. The record begins with a special character, such as =, +, -, or @. When the
|
|
665
|
+
* file is opened in a spreadsheet program, the program might interpret the record as a formula
|
|
666
|
+
* and run the code within it.</p>
|
|
667
|
+
* <p>Before you download a parallel data input file from Amazon S3, ensure that you recognize the file and trust its creator.</p>
|
|
668
|
+
* </important>
|
|
639
669
|
*/
|
|
640
670
|
DataLocation?: ParallelDataDataLocation;
|
|
641
671
|
/**
|
|
@@ -661,7 +691,8 @@ export declare namespace GetParallelDataResponse {
|
|
|
661
691
|
}
|
|
662
692
|
export declare enum TerminologyDataFormat {
|
|
663
693
|
CSV = "CSV",
|
|
664
|
-
TMX = "TMX"
|
|
694
|
+
TMX = "TMX",
|
|
695
|
+
TSV = "TSV"
|
|
665
696
|
}
|
|
666
697
|
export interface GetTerminologyRequest {
|
|
667
698
|
/**
|
|
@@ -669,9 +700,14 @@ export interface GetTerminologyRequest {
|
|
|
669
700
|
*/
|
|
670
701
|
Name: string | undefined;
|
|
671
702
|
/**
|
|
672
|
-
* <p>The data format of the custom terminology being retrieved
|
|
703
|
+
* <p>The data format of the custom terminology being retrieved.</p>
|
|
704
|
+
* <p>If you don't specify this parameter, Amazon Translate returns a file that has the same
|
|
705
|
+
* format as the file that was imported to create the terminology. </p>
|
|
706
|
+
* <p>If you specify this parameter when you retrieve a multi-directional terminology resource,
|
|
707
|
+
* you must specify the same format as that of the input file that was imported to create it.
|
|
708
|
+
* Otherwise, Amazon Translate throws an error.</p>
|
|
673
709
|
*/
|
|
674
|
-
TerminologyDataFormat
|
|
710
|
+
TerminologyDataFormat?: TerminologyDataFormat | string;
|
|
675
711
|
}
|
|
676
712
|
export declare namespace GetTerminologyRequest {
|
|
677
713
|
/**
|
|
@@ -698,6 +734,10 @@ export declare namespace TerminologyDataLocation {
|
|
|
698
734
|
*/
|
|
699
735
|
const filterSensitiveLog: (obj: TerminologyDataLocation) => any;
|
|
700
736
|
}
|
|
737
|
+
export declare enum Directionality {
|
|
738
|
+
MULTI = "MULTI",
|
|
739
|
+
UNI = "UNI"
|
|
740
|
+
}
|
|
701
741
|
/**
|
|
702
742
|
* <p>The properties of the custom terminology.</p>
|
|
703
743
|
*/
|
|
@@ -720,8 +760,8 @@ export interface TerminologyProperties {
|
|
|
720
760
|
*/
|
|
721
761
|
SourceLanguageCode?: string;
|
|
722
762
|
/**
|
|
723
|
-
* <p>The language codes for the target languages available with the custom terminology
|
|
724
|
-
* All possible target languages are returned in array.</p>
|
|
763
|
+
* <p>The language codes for the target languages available with the custom terminology
|
|
764
|
+
* resource. All possible target languages are returned in array.</p>
|
|
725
765
|
*/
|
|
726
766
|
TargetLanguageCodes?: string[];
|
|
727
767
|
/**
|
|
@@ -744,6 +784,35 @@ export interface TerminologyProperties {
|
|
|
744
784
|
* <p>The time at which the custom terminology was last update, based on the timestamp.</p>
|
|
745
785
|
*/
|
|
746
786
|
LastUpdatedAt?: Date;
|
|
787
|
+
/**
|
|
788
|
+
* <p>The directionality of your terminology resource indicates whether it has one source
|
|
789
|
+
* language (uni-directional) or multiple (multi-directional). </p>
|
|
790
|
+
* <dl>
|
|
791
|
+
* <dt>UNI</dt>
|
|
792
|
+
* <dd>
|
|
793
|
+
* <p>The terminology resource has one source language (the first column in a CSV file),
|
|
794
|
+
* and all of its other languages are target languages.</p>
|
|
795
|
+
* </dd>
|
|
796
|
+
* <dt>MULTI</dt>
|
|
797
|
+
* <dd>
|
|
798
|
+
* <p>Any language in the terminology resource can be the source language.</p>
|
|
799
|
+
* </dd>
|
|
800
|
+
* </dl>
|
|
801
|
+
*/
|
|
802
|
+
Directionality?: Directionality | string;
|
|
803
|
+
/**
|
|
804
|
+
* <p>Additional information from Amazon Translate about the terminology resource.</p>
|
|
805
|
+
*/
|
|
806
|
+
Message?: string;
|
|
807
|
+
/**
|
|
808
|
+
* <p>The number of terms in the input file that Amazon Translate skipped when you created or
|
|
809
|
+
* updated the terminology resource.</p>
|
|
810
|
+
*/
|
|
811
|
+
SkippedTermCount?: number;
|
|
812
|
+
/**
|
|
813
|
+
* <p>The format of the custom terminology input file.</p>
|
|
814
|
+
*/
|
|
815
|
+
Format?: TerminologyDataFormat | string;
|
|
747
816
|
}
|
|
748
817
|
export declare namespace TerminologyProperties {
|
|
749
818
|
/**
|
|
@@ -761,6 +830,13 @@ export interface GetTerminologyResponse {
|
|
|
761
830
|
* is returned in a presigned url that has a 30 minute expiration.</p>
|
|
762
831
|
*/
|
|
763
832
|
TerminologyDataLocation?: TerminologyDataLocation;
|
|
833
|
+
/**
|
|
834
|
+
* <p>The Amazon S3 location of a file that provides any errors or warnings that were produced
|
|
835
|
+
* by your input file. This file was created when Amazon Translate attempted to create a
|
|
836
|
+
* terminology resource. The location is returned as a presigned URL to that has a 30 minute
|
|
837
|
+
* expiration.</p>
|
|
838
|
+
*/
|
|
839
|
+
AuxiliaryDataLocation?: TerminologyDataLocation;
|
|
764
840
|
}
|
|
765
841
|
export declare namespace GetTerminologyResponse {
|
|
766
842
|
/**
|
|
@@ -782,9 +858,31 @@ export interface TerminologyData {
|
|
|
782
858
|
*/
|
|
783
859
|
File: Uint8Array | undefined;
|
|
784
860
|
/**
|
|
785
|
-
* <p>The data format of the custom terminology
|
|
861
|
+
* <p>The data format of the custom terminology.</p>
|
|
786
862
|
*/
|
|
787
863
|
Format: TerminologyDataFormat | string | undefined;
|
|
864
|
+
/**
|
|
865
|
+
* <p>The directionality of your terminology resource indicates whether it has one source
|
|
866
|
+
* language (uni-directional) or multiple (multi-directional).</p>
|
|
867
|
+
* <dl>
|
|
868
|
+
* <dt>UNI</dt>
|
|
869
|
+
* <dd>
|
|
870
|
+
* <p>The terminology resource has one source language (for example, the first column in a
|
|
871
|
+
* CSV file), and all of its other languages are target languages. </p>
|
|
872
|
+
* </dd>
|
|
873
|
+
* <dt>MULTI</dt>
|
|
874
|
+
* <dd>
|
|
875
|
+
* <p>Any language in the terminology resource can be the source language or a target
|
|
876
|
+
* language. A single multi-directional terminology resource can be used for jobs that
|
|
877
|
+
* translate different language pairs. For example, if the terminology contains terms in
|
|
878
|
+
* English and Spanish, then it can be used for jobs that translate English to Spanish and
|
|
879
|
+
* jobs that translate Spanish to English.</p>
|
|
880
|
+
* </dd>
|
|
881
|
+
* </dl>
|
|
882
|
+
* <p>When you create a custom terminology resource without specifying the directionality, it
|
|
883
|
+
* behaves as uni-directional terminology, although this parameter will have a null value.</p>
|
|
884
|
+
*/
|
|
885
|
+
Directionality?: Directionality | string;
|
|
788
886
|
}
|
|
789
887
|
export declare namespace TerminologyData {
|
|
790
888
|
/**
|
|
@@ -827,6 +925,13 @@ export interface ImportTerminologyResponse {
|
|
|
827
925
|
* <p>The properties of the custom terminology being imported.</p>
|
|
828
926
|
*/
|
|
829
927
|
TerminologyProperties?: TerminologyProperties;
|
|
928
|
+
/**
|
|
929
|
+
* <p>The Amazon S3 location of a file that provides any errors or warnings that were produced
|
|
930
|
+
* by your input file. This file was created when Amazon Translate attempted to create a
|
|
931
|
+
* terminology resource. The location is returned as a presigned URL to that has a 30 minute
|
|
932
|
+
* expiration.</p>
|
|
933
|
+
*/
|
|
934
|
+
AuxiliaryDataLocation?: TerminologyDataLocation;
|
|
830
935
|
}
|
|
831
936
|
export declare namespace ImportTerminologyResponse {
|
|
832
937
|
/**
|
|
@@ -974,7 +1079,7 @@ export interface ListTextTranslationJobsResponse {
|
|
|
974
1079
|
*/
|
|
975
1080
|
TextTranslationJobPropertiesList?: TextTranslationJobProperties[];
|
|
976
1081
|
/**
|
|
977
|
-
* <p>The token to use to
|
|
1082
|
+
* <p>The token to use to retrieve the next page of results. This value is <code>null</code>
|
|
978
1083
|
* when there are no more results to return.</p>
|
|
979
1084
|
*/
|
|
980
1085
|
NextToken?: string;
|
|
@@ -1002,7 +1107,7 @@ export interface StartTextTranslationJobRequest {
|
|
|
1002
1107
|
OutputDataConfig: OutputDataConfig | undefined;
|
|
1003
1108
|
/**
|
|
1004
1109
|
* <p>The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role
|
|
1005
|
-
* that grants Amazon Translate read access to your input data. For more
|
|
1110
|
+
* that grants Amazon Translate read access to your input data. For more information, see <a>identity-and-access-management</a>.</p>
|
|
1006
1111
|
*/
|
|
1007
1112
|
DataAccessRoleArn: string | undefined;
|
|
1008
1113
|
/**
|
|
@@ -1016,14 +1121,24 @@ export interface StartTextTranslationJobRequest {
|
|
|
1016
1121
|
*/
|
|
1017
1122
|
TargetLanguageCodes: string[] | undefined;
|
|
1018
1123
|
/**
|
|
1019
|
-
* <p>The name of
|
|
1020
|
-
*
|
|
1124
|
+
* <p>The name of a custom terminology resource to add to the translation job. This resource
|
|
1125
|
+
* lists examples source terms and the desired translation for each term.</p>
|
|
1126
|
+
* <p>This parameter accepts only one custom terminology resource.</p>
|
|
1127
|
+
* <p>For a list of available custom terminology resources, use the <a>ListTerminologies</a> operation.</p>
|
|
1128
|
+
* <p>For more information, see <a>how-custom-terminology</a>.</p>
|
|
1021
1129
|
*/
|
|
1022
1130
|
TerminologyNames?: string[];
|
|
1023
1131
|
/**
|
|
1024
|
-
* <p>The
|
|
1025
|
-
* of
|
|
1026
|
-
*
|
|
1132
|
+
* <p>The name of a parallel data resource to add to the translation job. This resource consists
|
|
1133
|
+
* of examples that show how you want segments of text to be translated. When you add parallel
|
|
1134
|
+
* data to a translation job, you create an <i>Active Custom Translation</i> job. </p>
|
|
1135
|
+
* <p>This parameter accepts only one parallel data resource.</p>
|
|
1136
|
+
* <note>
|
|
1137
|
+
* <p>Active Custom Translation jobs are priced at a higher rate than other jobs that don't
|
|
1138
|
+
* use parallel data. For more information, see <a href="http://aws.amazon.com/translate/pricing/">Amazon Translate pricing</a>.</p>
|
|
1139
|
+
* </note>
|
|
1140
|
+
* <p>For a list of available parallel data resources, use the <a>ListParallelData</a> operation.</p>
|
|
1141
|
+
* <p>For more information, see <a>customizing-translations-parallel-data</a>.</p>
|
|
1027
1142
|
*/
|
|
1028
1143
|
ParallelDataNames?: string[];
|
|
1029
1144
|
/**
|
|
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
|
|
|
16
16
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
17
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
18
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
21
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
22
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
23
|
apiVersion: string;
|
|
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
|
|
|
16
16
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
17
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
18
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
21
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
22
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
23
|
apiVersion: string;
|
|
@@ -18,6 +18,8 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
|
|
|
18
18
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
19
19
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
20
20
|
logger: import("@aws-sdk/types").Logger;
|
|
21
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
23
|
serviceId: string;
|
|
22
24
|
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
23
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
@@ -52,6 +52,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
52
52
|
|
|
53
53
|
logger?: __Logger;
|
|
54
54
|
|
|
55
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
56
|
+
|
|
57
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
58
|
+
|
|
55
59
|
serviceId?: string;
|
|
56
60
|
|
|
57
61
|
region?: string | __Provider<string>;
|
|
@@ -235,6 +235,8 @@ export declare enum JobStatus {
|
|
|
235
235
|
export interface OutputDataConfig {
|
|
236
236
|
|
|
237
237
|
S3Uri: string | undefined;
|
|
238
|
+
|
|
239
|
+
EncryptionKey?: EncryptionKey;
|
|
238
240
|
}
|
|
239
241
|
export declare namespace OutputDataConfig {
|
|
240
242
|
|
|
@@ -359,13 +361,14 @@ export declare namespace GetParallelDataResponse {
|
|
|
359
361
|
}
|
|
360
362
|
export declare enum TerminologyDataFormat {
|
|
361
363
|
CSV = "CSV",
|
|
362
|
-
TMX = "TMX"
|
|
364
|
+
TMX = "TMX",
|
|
365
|
+
TSV = "TSV"
|
|
363
366
|
}
|
|
364
367
|
export interface GetTerminologyRequest {
|
|
365
368
|
|
|
366
369
|
Name: string | undefined;
|
|
367
370
|
|
|
368
|
-
TerminologyDataFormat
|
|
371
|
+
TerminologyDataFormat?: TerminologyDataFormat | string;
|
|
369
372
|
}
|
|
370
373
|
export declare namespace GetTerminologyRequest {
|
|
371
374
|
|
|
@@ -382,6 +385,10 @@ export declare namespace TerminologyDataLocation {
|
|
|
382
385
|
|
|
383
386
|
const filterSensitiveLog: (obj: TerminologyDataLocation) => any;
|
|
384
387
|
}
|
|
388
|
+
export declare enum Directionality {
|
|
389
|
+
MULTI = "MULTI",
|
|
390
|
+
UNI = "UNI"
|
|
391
|
+
}
|
|
385
392
|
|
|
386
393
|
export interface TerminologyProperties {
|
|
387
394
|
|
|
@@ -404,6 +411,14 @@ export interface TerminologyProperties {
|
|
|
404
411
|
CreatedAt?: Date;
|
|
405
412
|
|
|
406
413
|
LastUpdatedAt?: Date;
|
|
414
|
+
|
|
415
|
+
Directionality?: Directionality | string;
|
|
416
|
+
|
|
417
|
+
Message?: string;
|
|
418
|
+
|
|
419
|
+
SkippedTermCount?: number;
|
|
420
|
+
|
|
421
|
+
Format?: TerminologyDataFormat | string;
|
|
407
422
|
}
|
|
408
423
|
export declare namespace TerminologyProperties {
|
|
409
424
|
|
|
@@ -414,6 +429,8 @@ export interface GetTerminologyResponse {
|
|
|
414
429
|
TerminologyProperties?: TerminologyProperties;
|
|
415
430
|
|
|
416
431
|
TerminologyDataLocation?: TerminologyDataLocation;
|
|
432
|
+
|
|
433
|
+
AuxiliaryDataLocation?: TerminologyDataLocation;
|
|
417
434
|
}
|
|
418
435
|
export declare namespace GetTerminologyResponse {
|
|
419
436
|
|
|
@@ -428,6 +445,8 @@ export interface TerminologyData {
|
|
|
428
445
|
File: Uint8Array | undefined;
|
|
429
446
|
|
|
430
447
|
Format: TerminologyDataFormat | string | undefined;
|
|
448
|
+
|
|
449
|
+
Directionality?: Directionality | string;
|
|
431
450
|
}
|
|
432
451
|
export declare namespace TerminologyData {
|
|
433
452
|
|
|
@@ -452,6 +471,8 @@ export declare namespace ImportTerminologyRequest {
|
|
|
452
471
|
export interface ImportTerminologyResponse {
|
|
453
472
|
|
|
454
473
|
TerminologyProperties?: TerminologyProperties;
|
|
474
|
+
|
|
475
|
+
AuxiliaryDataLocation?: TerminologyDataLocation;
|
|
455
476
|
}
|
|
456
477
|
export declare namespace ImportTerminologyResponse {
|
|
457
478
|
|
|
@@ -14,6 +14,8 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
|
|
|
14
14
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
15
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
16
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
17
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
18
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
17
19
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
18
20
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
19
21
|
apiVersion: string;
|
|
@@ -14,6 +14,8 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
|
|
|
14
14
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
15
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
16
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
17
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
18
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
17
19
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
18
20
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
19
21
|
apiVersion: string;
|
|
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
|
|
|
16
16
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
17
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
18
|
logger: import("@aws-sdk/types").Logger;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
21
|
serviceId: string;
|
|
20
22
|
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
21
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-translate",
|
|
3
3
|
"description": "AWS SDK for JavaScript Translate Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.42.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -19,34 +19,34 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-crypto/sha256-browser": "
|
|
23
|
-
"@aws-crypto/sha256-js": "
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
|
+
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.42.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.40.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.41.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.40.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.40.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.40.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.40.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.40.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.40.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.40.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.40.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.40.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.40.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.40.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.40.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.40.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.40.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.41.0",
|
|
42
|
+
"@aws-sdk/types": "3.40.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.40.0",
|
|
44
44
|
"@aws-sdk/util-base64-browser": "3.37.0",
|
|
45
45
|
"@aws-sdk/util-base64-node": "3.37.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.37.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.37.0",
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.40.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.40.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.37.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.37.0",
|
|
52
52
|
"tslib": "^2.3.0",
|