@aws-sdk/client-translate 3.40.0 → 3.45.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 +41 -0
- package/dist-cjs/endpoints.js +9 -0
- package/dist-cjs/models/models_0.js +18 -2
- package/dist-cjs/protocols/Aws_json1_1.js +32 -0
- package/dist-es/endpoints.js +9 -0
- package/dist-es/models/models_0.js +14 -0
- package/dist-es/protocols/Aws_json1_1.js +31 -4
- package/dist-types/commands/CreateParallelDataCommand.d.ts +1 -1
- 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 +1 -1
- 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 +158 -17
- package/dist-types/ts3.4/models/models_0.d.ts +41 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,47 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @aws-sdk/client-translate
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Features
|
|
40
|
+
|
|
41
|
+
* **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
6
47
|
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
7
48
|
|
|
8
49
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -63,6 +63,7 @@ const partitionHash = {
|
|
|
63
63
|
"ap-south-1",
|
|
64
64
|
"ap-southeast-1",
|
|
65
65
|
"ap-southeast-2",
|
|
66
|
+
"ap-southeast-3",
|
|
66
67
|
"ca-central-1",
|
|
67
68
|
"eu-central-1",
|
|
68
69
|
"eu-north-1",
|
|
@@ -130,6 +131,10 @@ const partitionHash = {
|
|
|
130
131
|
hostname: "translate.{region}.c2s.ic.gov",
|
|
131
132
|
tags: [],
|
|
132
133
|
},
|
|
134
|
+
{
|
|
135
|
+
hostname: "translate-fips.{region}.c2s.ic.gov",
|
|
136
|
+
tags: ["fips"],
|
|
137
|
+
},
|
|
133
138
|
],
|
|
134
139
|
},
|
|
135
140
|
"aws-iso-b": {
|
|
@@ -140,6 +145,10 @@ const partitionHash = {
|
|
|
140
145
|
hostname: "translate.{region}.sc2s.sgov.gov",
|
|
141
146
|
tags: [],
|
|
142
147
|
},
|
|
148
|
+
{
|
|
149
|
+
hostname: "translate-fips.{region}.sc2s.sgov.gov",
|
|
150
|
+
tags: ["fips"],
|
|
151
|
+
},
|
|
143
152
|
],
|
|
144
153
|
},
|
|
145
154
|
"aws-us-gov": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateParallelDataResponse = exports.UpdateParallelDataRequest = exports.TranslateTextResponse = exports.TranslateTextRequest = exports.TextSizeLimitExceededException = exports.ServiceUnavailableException = exports.DetectedLanguageLowConfidenceException = exports.StopTextTranslationJobResponse = exports.StopTextTranslationJobRequest = exports.UnsupportedLanguagePairException = void 0;
|
|
3
|
+
exports.ListTextTranslationJobsRequest = exports.TextTranslationJobFilter = exports.InvalidFilterException = exports.ListTerminologiesResponse = exports.ListTerminologiesRequest = exports.ListParallelDataResponse = exports.ListParallelDataRequest = exports.ImportTerminologyResponse = exports.ImportTerminologyRequest = exports.TerminologyData = exports.MergeStrategy = exports.GetTerminologyResponse = exports.TerminologyProperties = exports.Directionality = exports.TerminologyDataLocation = exports.GetTerminologyRequest = exports.TerminologyDataFormat = exports.GetParallelDataResponse = exports.ParallelDataProperties = exports.ParallelDataDataLocation = exports.GetParallelDataRequest = exports.DescribeTextTranslationJobResponse = exports.TextTranslationJobProperties = exports.TranslationSettings = exports.Profanity = exports.OutputDataConfig = exports.JobStatus = exports.JobDetails = exports.InputDataConfig = exports.DescribeTextTranslationJobRequest = exports.DeleteTerminologyRequest = exports.ResourceNotFoundException = exports.DeleteParallelDataResponse = exports.DeleteParallelDataRequest = exports.ConcurrentModificationException = exports.TooManyRequestsException = exports.LimitExceededException = exports.InvalidRequestException = exports.InvalidParameterValueException = exports.InternalServerException = exports.CreateParallelDataResponse = exports.ParallelDataStatus = exports.CreateParallelDataRequest = exports.ParallelDataConfig = exports.ParallelDataFormat = exports.EncryptionKey = exports.EncryptionKeyType = exports.ConflictException = exports.AppliedTerminology = exports.Term = void 0;
|
|
4
|
+
exports.UpdateParallelDataResponse = exports.UpdateParallelDataRequest = exports.TranslateTextResponse = exports.TranslateTextRequest = exports.TextSizeLimitExceededException = exports.ServiceUnavailableException = exports.DetectedLanguageLowConfidenceException = exports.StopTextTranslationJobResponse = exports.StopTextTranslationJobRequest = exports.UnsupportedLanguagePairException = exports.StartTextTranslationJobResponse = exports.StartTextTranslationJobRequest = exports.ListTextTranslationJobsResponse = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
var Term;
|
|
7
7
|
(function (Term) {
|
|
@@ -157,6 +157,16 @@ var OutputDataConfig;
|
|
|
157
157
|
...obj,
|
|
158
158
|
});
|
|
159
159
|
})(OutputDataConfig = exports.OutputDataConfig || (exports.OutputDataConfig = {}));
|
|
160
|
+
var Profanity;
|
|
161
|
+
(function (Profanity) {
|
|
162
|
+
Profanity["MASK"] = "MASK";
|
|
163
|
+
})(Profanity = exports.Profanity || (exports.Profanity = {}));
|
|
164
|
+
var TranslationSettings;
|
|
165
|
+
(function (TranslationSettings) {
|
|
166
|
+
TranslationSettings.filterSensitiveLog = (obj) => ({
|
|
167
|
+
...obj,
|
|
168
|
+
});
|
|
169
|
+
})(TranslationSettings = exports.TranslationSettings || (exports.TranslationSettings = {}));
|
|
160
170
|
var TextTranslationJobProperties;
|
|
161
171
|
(function (TextTranslationJobProperties) {
|
|
162
172
|
TextTranslationJobProperties.filterSensitiveLog = (obj) => ({
|
|
@@ -197,6 +207,7 @@ var TerminologyDataFormat;
|
|
|
197
207
|
(function (TerminologyDataFormat) {
|
|
198
208
|
TerminologyDataFormat["CSV"] = "CSV";
|
|
199
209
|
TerminologyDataFormat["TMX"] = "TMX";
|
|
210
|
+
TerminologyDataFormat["TSV"] = "TSV";
|
|
200
211
|
})(TerminologyDataFormat = exports.TerminologyDataFormat || (exports.TerminologyDataFormat = {}));
|
|
201
212
|
var GetTerminologyRequest;
|
|
202
213
|
(function (GetTerminologyRequest) {
|
|
@@ -210,6 +221,11 @@ var TerminologyDataLocation;
|
|
|
210
221
|
...obj,
|
|
211
222
|
});
|
|
212
223
|
})(TerminologyDataLocation = exports.TerminologyDataLocation || (exports.TerminologyDataLocation = {}));
|
|
224
|
+
var Directionality;
|
|
225
|
+
(function (Directionality) {
|
|
226
|
+
Directionality["MULTI"] = "MULTI";
|
|
227
|
+
Directionality["UNI"] = "UNI";
|
|
228
|
+
})(Directionality = exports.Directionality || (exports.Directionality = {}));
|
|
213
229
|
var TerminologyProperties;
|
|
214
230
|
(function (TerminologyProperties) {
|
|
215
231
|
TerminologyProperties.filterSensitiveLog = (obj) => ({
|
|
@@ -1476,6 +1476,8 @@ const serializeAws_json1_1StartTextTranslationJobRequest = (input, context) => {
|
|
|
1476
1476
|
input.ParallelDataNames !== null && {
|
|
1477
1477
|
ParallelDataNames: serializeAws_json1_1ResourceNameList(input.ParallelDataNames, context),
|
|
1478
1478
|
}),
|
|
1479
|
+
...(input.Settings !== undefined &&
|
|
1480
|
+
input.Settings !== null && { Settings: serializeAws_json1_1TranslationSettings(input.Settings, context) }),
|
|
1479
1481
|
...(input.SourceLanguageCode !== undefined &&
|
|
1480
1482
|
input.SourceLanguageCode !== null && { SourceLanguageCode: input.SourceLanguageCode }),
|
|
1481
1483
|
...(input.TargetLanguageCodes !== undefined &&
|
|
@@ -1505,6 +1507,8 @@ const serializeAws_json1_1TargetLanguageCodeStringList = (input, context) => {
|
|
|
1505
1507
|
};
|
|
1506
1508
|
const serializeAws_json1_1TerminologyData = (input, context) => {
|
|
1507
1509
|
return {
|
|
1510
|
+
...(input.Directionality !== undefined &&
|
|
1511
|
+
input.Directionality !== null && { Directionality: input.Directionality }),
|
|
1508
1512
|
...(input.File !== undefined && input.File !== null && { File: context.base64Encoder(input.File) }),
|
|
1509
1513
|
...(input.Format !== undefined && input.Format !== null && { Format: input.Format }),
|
|
1510
1514
|
};
|
|
@@ -1525,6 +1529,8 @@ const serializeAws_json1_1TextTranslationJobFilter = (input, context) => {
|
|
|
1525
1529
|
};
|
|
1526
1530
|
const serializeAws_json1_1TranslateTextRequest = (input, context) => {
|
|
1527
1531
|
return {
|
|
1532
|
+
...(input.Settings !== undefined &&
|
|
1533
|
+
input.Settings !== null && { Settings: serializeAws_json1_1TranslationSettings(input.Settings, context) }),
|
|
1528
1534
|
...(input.SourceLanguageCode !== undefined &&
|
|
1529
1535
|
input.SourceLanguageCode !== null && { SourceLanguageCode: input.SourceLanguageCode }),
|
|
1530
1536
|
...(input.TargetLanguageCode !== undefined &&
|
|
@@ -1536,6 +1542,11 @@ const serializeAws_json1_1TranslateTextRequest = (input, context) => {
|
|
|
1536
1542
|
...(input.Text !== undefined && input.Text !== null && { Text: input.Text }),
|
|
1537
1543
|
};
|
|
1538
1544
|
};
|
|
1545
|
+
const serializeAws_json1_1TranslationSettings = (input, context) => {
|
|
1546
|
+
return {
|
|
1547
|
+
...(input.Profanity !== undefined && input.Profanity !== null && { Profanity: input.Profanity }),
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1539
1550
|
const serializeAws_json1_1UpdateParallelDataRequest = (input, context) => {
|
|
1540
1551
|
var _a;
|
|
1541
1552
|
return {
|
|
@@ -1626,6 +1637,9 @@ const deserializeAws_json1_1GetParallelDataResponse = (output, context) => {
|
|
|
1626
1637
|
};
|
|
1627
1638
|
const deserializeAws_json1_1GetTerminologyResponse = (output, context) => {
|
|
1628
1639
|
return {
|
|
1640
|
+
AuxiliaryDataLocation: output.AuxiliaryDataLocation !== undefined && output.AuxiliaryDataLocation !== null
|
|
1641
|
+
? deserializeAws_json1_1TerminologyDataLocation(output.AuxiliaryDataLocation, context)
|
|
1642
|
+
: undefined,
|
|
1629
1643
|
TerminologyDataLocation: output.TerminologyDataLocation !== undefined && output.TerminologyDataLocation !== null
|
|
1630
1644
|
? deserializeAws_json1_1TerminologyDataLocation(output.TerminologyDataLocation, context)
|
|
1631
1645
|
: undefined,
|
|
@@ -1636,6 +1650,9 @@ const deserializeAws_json1_1GetTerminologyResponse = (output, context) => {
|
|
|
1636
1650
|
};
|
|
1637
1651
|
const deserializeAws_json1_1ImportTerminologyResponse = (output, context) => {
|
|
1638
1652
|
return {
|
|
1653
|
+
AuxiliaryDataLocation: output.AuxiliaryDataLocation !== undefined && output.AuxiliaryDataLocation !== null
|
|
1654
|
+
? deserializeAws_json1_1TerminologyDataLocation(output.AuxiliaryDataLocation, context)
|
|
1655
|
+
: undefined,
|
|
1639
1656
|
TerminologyProperties: output.TerminologyProperties !== undefined && output.TerminologyProperties !== null
|
|
1640
1657
|
? deserializeAws_json1_1TerminologyProperties(output.TerminologyProperties, context)
|
|
1641
1658
|
: undefined,
|
|
@@ -1837,14 +1854,18 @@ const deserializeAws_json1_1TerminologyProperties = (output, context) => {
|
|
|
1837
1854
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
1838
1855
|
: undefined,
|
|
1839
1856
|
Description: smithy_client_1.expectString(output.Description),
|
|
1857
|
+
Directionality: smithy_client_1.expectString(output.Directionality),
|
|
1840
1858
|
EncryptionKey: output.EncryptionKey !== undefined && output.EncryptionKey !== null
|
|
1841
1859
|
? deserializeAws_json1_1EncryptionKey(output.EncryptionKey, context)
|
|
1842
1860
|
: undefined,
|
|
1861
|
+
Format: smithy_client_1.expectString(output.Format),
|
|
1843
1862
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
1844
1863
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
1845
1864
|
: undefined,
|
|
1865
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
1846
1866
|
Name: smithy_client_1.expectString(output.Name),
|
|
1847
1867
|
SizeBytes: smithy_client_1.expectInt32(output.SizeBytes),
|
|
1868
|
+
SkippedTermCount: smithy_client_1.expectInt32(output.SkippedTermCount),
|
|
1848
1869
|
SourceLanguageCode: smithy_client_1.expectString(output.SourceLanguageCode),
|
|
1849
1870
|
TargetLanguageCodes: output.TargetLanguageCodes !== undefined && output.TargetLanguageCodes !== null
|
|
1850
1871
|
? deserializeAws_json1_1LanguageCodeStringList(output.TargetLanguageCodes, context)
|
|
@@ -1899,6 +1920,9 @@ const deserializeAws_json1_1TextTranslationJobProperties = (output, context) =>
|
|
|
1899
1920
|
ParallelDataNames: output.ParallelDataNames !== undefined && output.ParallelDataNames !== null
|
|
1900
1921
|
? deserializeAws_json1_1ResourceNameList(output.ParallelDataNames, context)
|
|
1901
1922
|
: undefined,
|
|
1923
|
+
Settings: output.Settings !== undefined && output.Settings !== null
|
|
1924
|
+
? deserializeAws_json1_1TranslationSettings(output.Settings, context)
|
|
1925
|
+
: undefined,
|
|
1902
1926
|
SourceLanguageCode: smithy_client_1.expectString(output.SourceLanguageCode),
|
|
1903
1927
|
SubmittedTime: output.SubmittedTime !== undefined && output.SubmittedTime !== null
|
|
1904
1928
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubmittedTime)))
|
|
@@ -1928,6 +1952,9 @@ const deserializeAws_json1_1TooManyRequestsException = (output, context) => {
|
|
|
1928
1952
|
};
|
|
1929
1953
|
const deserializeAws_json1_1TranslateTextResponse = (output, context) => {
|
|
1930
1954
|
return {
|
|
1955
|
+
AppliedSettings: output.AppliedSettings !== undefined && output.AppliedSettings !== null
|
|
1956
|
+
? deserializeAws_json1_1TranslationSettings(output.AppliedSettings, context)
|
|
1957
|
+
: undefined,
|
|
1931
1958
|
AppliedTerminologies: output.AppliedTerminologies !== undefined && output.AppliedTerminologies !== null
|
|
1932
1959
|
? deserializeAws_json1_1AppliedTerminologyList(output.AppliedTerminologies, context)
|
|
1933
1960
|
: undefined,
|
|
@@ -1936,6 +1963,11 @@ const deserializeAws_json1_1TranslateTextResponse = (output, context) => {
|
|
|
1936
1963
|
TranslatedText: smithy_client_1.expectString(output.TranslatedText),
|
|
1937
1964
|
};
|
|
1938
1965
|
};
|
|
1966
|
+
const deserializeAws_json1_1TranslationSettings = (output, context) => {
|
|
1967
|
+
return {
|
|
1968
|
+
Profanity: smithy_client_1.expectString(output.Profanity),
|
|
1969
|
+
};
|
|
1970
|
+
};
|
|
1939
1971
|
const deserializeAws_json1_1UnsupportedLanguagePairException = (output, context) => {
|
|
1940
1972
|
return {
|
|
1941
1973
|
Message: smithy_client_1.expectString(output.Message),
|
package/dist-es/endpoints.js
CHANGED
|
@@ -61,6 +61,7 @@ var partitionHash = {
|
|
|
61
61
|
"ap-south-1",
|
|
62
62
|
"ap-southeast-1",
|
|
63
63
|
"ap-southeast-2",
|
|
64
|
+
"ap-southeast-3",
|
|
64
65
|
"ca-central-1",
|
|
65
66
|
"eu-central-1",
|
|
66
67
|
"eu-north-1",
|
|
@@ -128,6 +129,10 @@ var partitionHash = {
|
|
|
128
129
|
hostname: "translate.{region}.c2s.ic.gov",
|
|
129
130
|
tags: [],
|
|
130
131
|
},
|
|
132
|
+
{
|
|
133
|
+
hostname: "translate-fips.{region}.c2s.ic.gov",
|
|
134
|
+
tags: ["fips"],
|
|
135
|
+
},
|
|
131
136
|
],
|
|
132
137
|
},
|
|
133
138
|
"aws-iso-b": {
|
|
@@ -138,6 +143,10 @@ var partitionHash = {
|
|
|
138
143
|
hostname: "translate.{region}.sc2s.sgov.gov",
|
|
139
144
|
tags: [],
|
|
140
145
|
},
|
|
146
|
+
{
|
|
147
|
+
hostname: "translate-fips.{region}.sc2s.sgov.gov",
|
|
148
|
+
tags: ["fips"],
|
|
149
|
+
},
|
|
141
150
|
],
|
|
142
151
|
},
|
|
143
152
|
"aws-us-gov": {
|
|
@@ -112,6 +112,14 @@ export var OutputDataConfig;
|
|
|
112
112
|
(function (OutputDataConfig) {
|
|
113
113
|
OutputDataConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
114
114
|
})(OutputDataConfig || (OutputDataConfig = {}));
|
|
115
|
+
export var Profanity;
|
|
116
|
+
(function (Profanity) {
|
|
117
|
+
Profanity["MASK"] = "MASK";
|
|
118
|
+
})(Profanity || (Profanity = {}));
|
|
119
|
+
export var TranslationSettings;
|
|
120
|
+
(function (TranslationSettings) {
|
|
121
|
+
TranslationSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
122
|
+
})(TranslationSettings || (TranslationSettings = {}));
|
|
115
123
|
export var TextTranslationJobProperties;
|
|
116
124
|
(function (TextTranslationJobProperties) {
|
|
117
125
|
TextTranslationJobProperties.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -140,6 +148,7 @@ export var TerminologyDataFormat;
|
|
|
140
148
|
(function (TerminologyDataFormat) {
|
|
141
149
|
TerminologyDataFormat["CSV"] = "CSV";
|
|
142
150
|
TerminologyDataFormat["TMX"] = "TMX";
|
|
151
|
+
TerminologyDataFormat["TSV"] = "TSV";
|
|
143
152
|
})(TerminologyDataFormat || (TerminologyDataFormat = {}));
|
|
144
153
|
export var GetTerminologyRequest;
|
|
145
154
|
(function (GetTerminologyRequest) {
|
|
@@ -149,6 +158,11 @@ export var TerminologyDataLocation;
|
|
|
149
158
|
(function (TerminologyDataLocation) {
|
|
150
159
|
TerminologyDataLocation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
151
160
|
})(TerminologyDataLocation || (TerminologyDataLocation = {}));
|
|
161
|
+
export var Directionality;
|
|
162
|
+
(function (Directionality) {
|
|
163
|
+
Directionality["MULTI"] = "MULTI";
|
|
164
|
+
Directionality["UNI"] = "UNI";
|
|
165
|
+
})(Directionality || (Directionality = {}));
|
|
152
166
|
export var TerminologyProperties;
|
|
153
167
|
(function (TerminologyProperties) {
|
|
154
168
|
TerminologyProperties.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1529,7 +1529,7 @@ var serializeAws_json1_1ResourceNameList = function (input, context) {
|
|
|
1529
1529
|
};
|
|
1530
1530
|
var serializeAws_json1_1StartTextTranslationJobRequest = function (input, context) {
|
|
1531
1531
|
var _a;
|
|
1532
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.DataAccessRoleArn !== undefined &&
|
|
1532
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.DataAccessRoleArn !== undefined &&
|
|
1533
1533
|
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn })), (input.InputDataConfig !== undefined &&
|
|
1534
1534
|
input.InputDataConfig !== null && {
|
|
1535
1535
|
InputDataConfig: serializeAws_json1_1InputDataConfig(input.InputDataConfig, context),
|
|
@@ -1539,7 +1539,8 @@ var serializeAws_json1_1StartTextTranslationJobRequest = function (input, contex
|
|
|
1539
1539
|
})), (input.ParallelDataNames !== undefined &&
|
|
1540
1540
|
input.ParallelDataNames !== null && {
|
|
1541
1541
|
ParallelDataNames: serializeAws_json1_1ResourceNameList(input.ParallelDataNames, context),
|
|
1542
|
-
})), (input.
|
|
1542
|
+
})), (input.Settings !== undefined &&
|
|
1543
|
+
input.Settings !== null && { Settings: serializeAws_json1_1TranslationSettings(input.Settings, context) })), (input.SourceLanguageCode !== undefined &&
|
|
1543
1544
|
input.SourceLanguageCode !== null && { SourceLanguageCode: input.SourceLanguageCode })), (input.TargetLanguageCodes !== undefined &&
|
|
1544
1545
|
input.TargetLanguageCodes !== null && {
|
|
1545
1546
|
TargetLanguageCodes: serializeAws_json1_1TargetLanguageCodeStringList(input.TargetLanguageCodes, context),
|
|
@@ -1562,7 +1563,8 @@ var serializeAws_json1_1TargetLanguageCodeStringList = function (input, context)
|
|
|
1562
1563
|
});
|
|
1563
1564
|
};
|
|
1564
1565
|
var serializeAws_json1_1TerminologyData = function (input, context) {
|
|
1565
|
-
return __assign(__assign(
|
|
1566
|
+
return __assign(__assign(__assign({}, (input.Directionality !== undefined &&
|
|
1567
|
+
input.Directionality !== null && { Directionality: input.Directionality })), (input.File !== undefined && input.File !== null && { File: context.base64Encoder(input.File) })), (input.Format !== undefined && input.Format !== null && { Format: input.Format }));
|
|
1566
1568
|
};
|
|
1567
1569
|
var serializeAws_json1_1TextTranslationJobFilter = function (input, context) {
|
|
1568
1570
|
return __assign(__assign(__assign(__assign({}, (input.JobName !== undefined && input.JobName !== null && { JobName: input.JobName })), (input.JobStatus !== undefined && input.JobStatus !== null && { JobStatus: input.JobStatus })), (input.SubmittedAfterTime !== undefined &&
|
|
@@ -1574,13 +1576,17 @@ var serializeAws_json1_1TextTranslationJobFilter = function (input, context) {
|
|
|
1574
1576
|
}));
|
|
1575
1577
|
};
|
|
1576
1578
|
var serializeAws_json1_1TranslateTextRequest = function (input, context) {
|
|
1577
|
-
return __assign(__assign(__assign(__assign({}, (input.
|
|
1579
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Settings !== undefined &&
|
|
1580
|
+
input.Settings !== null && { Settings: serializeAws_json1_1TranslationSettings(input.Settings, context) })), (input.SourceLanguageCode !== undefined &&
|
|
1578
1581
|
input.SourceLanguageCode !== null && { SourceLanguageCode: input.SourceLanguageCode })), (input.TargetLanguageCode !== undefined &&
|
|
1579
1582
|
input.TargetLanguageCode !== null && { TargetLanguageCode: input.TargetLanguageCode })), (input.TerminologyNames !== undefined &&
|
|
1580
1583
|
input.TerminologyNames !== null && {
|
|
1581
1584
|
TerminologyNames: serializeAws_json1_1ResourceNameList(input.TerminologyNames, context),
|
|
1582
1585
|
})), (input.Text !== undefined && input.Text !== null && { Text: input.Text }));
|
|
1583
1586
|
};
|
|
1587
|
+
var serializeAws_json1_1TranslationSettings = function (input, context) {
|
|
1588
|
+
return __assign({}, (input.Profanity !== undefined && input.Profanity !== null && { Profanity: input.Profanity }));
|
|
1589
|
+
};
|
|
1584
1590
|
var serializeAws_json1_1UpdateParallelDataRequest = function (input, context) {
|
|
1585
1591
|
var _a;
|
|
1586
1592
|
return __assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ParallelDataConfig !== undefined &&
|
|
@@ -1666,6 +1672,9 @@ var deserializeAws_json1_1GetParallelDataResponse = function (output, context) {
|
|
|
1666
1672
|
};
|
|
1667
1673
|
var deserializeAws_json1_1GetTerminologyResponse = function (output, context) {
|
|
1668
1674
|
return {
|
|
1675
|
+
AuxiliaryDataLocation: output.AuxiliaryDataLocation !== undefined && output.AuxiliaryDataLocation !== null
|
|
1676
|
+
? deserializeAws_json1_1TerminologyDataLocation(output.AuxiliaryDataLocation, context)
|
|
1677
|
+
: undefined,
|
|
1669
1678
|
TerminologyDataLocation: output.TerminologyDataLocation !== undefined && output.TerminologyDataLocation !== null
|
|
1670
1679
|
? deserializeAws_json1_1TerminologyDataLocation(output.TerminologyDataLocation, context)
|
|
1671
1680
|
: undefined,
|
|
@@ -1676,6 +1685,9 @@ var deserializeAws_json1_1GetTerminologyResponse = function (output, context) {
|
|
|
1676
1685
|
};
|
|
1677
1686
|
var deserializeAws_json1_1ImportTerminologyResponse = function (output, context) {
|
|
1678
1687
|
return {
|
|
1688
|
+
AuxiliaryDataLocation: output.AuxiliaryDataLocation !== undefined && output.AuxiliaryDataLocation !== null
|
|
1689
|
+
? deserializeAws_json1_1TerminologyDataLocation(output.AuxiliaryDataLocation, context)
|
|
1690
|
+
: undefined,
|
|
1679
1691
|
TerminologyProperties: output.TerminologyProperties !== undefined && output.TerminologyProperties !== null
|
|
1680
1692
|
? deserializeAws_json1_1TerminologyProperties(output.TerminologyProperties, context)
|
|
1681
1693
|
: undefined,
|
|
@@ -1877,14 +1889,18 @@ var deserializeAws_json1_1TerminologyProperties = function (output, context) {
|
|
|
1877
1889
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
1878
1890
|
: undefined,
|
|
1879
1891
|
Description: __expectString(output.Description),
|
|
1892
|
+
Directionality: __expectString(output.Directionality),
|
|
1880
1893
|
EncryptionKey: output.EncryptionKey !== undefined && output.EncryptionKey !== null
|
|
1881
1894
|
? deserializeAws_json1_1EncryptionKey(output.EncryptionKey, context)
|
|
1882
1895
|
: undefined,
|
|
1896
|
+
Format: __expectString(output.Format),
|
|
1883
1897
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
1884
1898
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
|
|
1885
1899
|
: undefined,
|
|
1900
|
+
Message: __expectString(output.Message),
|
|
1886
1901
|
Name: __expectString(output.Name),
|
|
1887
1902
|
SizeBytes: __expectInt32(output.SizeBytes),
|
|
1903
|
+
SkippedTermCount: __expectInt32(output.SkippedTermCount),
|
|
1888
1904
|
SourceLanguageCode: __expectString(output.SourceLanguageCode),
|
|
1889
1905
|
TargetLanguageCodes: output.TargetLanguageCodes !== undefined && output.TargetLanguageCodes !== null
|
|
1890
1906
|
? deserializeAws_json1_1LanguageCodeStringList(output.TargetLanguageCodes, context)
|
|
@@ -1939,6 +1955,9 @@ var deserializeAws_json1_1TextTranslationJobProperties = function (output, conte
|
|
|
1939
1955
|
ParallelDataNames: output.ParallelDataNames !== undefined && output.ParallelDataNames !== null
|
|
1940
1956
|
? deserializeAws_json1_1ResourceNameList(output.ParallelDataNames, context)
|
|
1941
1957
|
: undefined,
|
|
1958
|
+
Settings: output.Settings !== undefined && output.Settings !== null
|
|
1959
|
+
? deserializeAws_json1_1TranslationSettings(output.Settings, context)
|
|
1960
|
+
: undefined,
|
|
1942
1961
|
SourceLanguageCode: __expectString(output.SourceLanguageCode),
|
|
1943
1962
|
SubmittedTime: output.SubmittedTime !== undefined && output.SubmittedTime !== null
|
|
1944
1963
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.SubmittedTime)))
|
|
@@ -1968,6 +1987,9 @@ var deserializeAws_json1_1TooManyRequestsException = function (output, context)
|
|
|
1968
1987
|
};
|
|
1969
1988
|
var deserializeAws_json1_1TranslateTextResponse = function (output, context) {
|
|
1970
1989
|
return {
|
|
1990
|
+
AppliedSettings: output.AppliedSettings !== undefined && output.AppliedSettings !== null
|
|
1991
|
+
? deserializeAws_json1_1TranslationSettings(output.AppliedSettings, context)
|
|
1992
|
+
: undefined,
|
|
1971
1993
|
AppliedTerminologies: output.AppliedTerminologies !== undefined && output.AppliedTerminologies !== null
|
|
1972
1994
|
? deserializeAws_json1_1AppliedTerminologyList(output.AppliedTerminologies, context)
|
|
1973
1995
|
: undefined,
|
|
@@ -1976,6 +1998,11 @@ var deserializeAws_json1_1TranslateTextResponse = function (output, context) {
|
|
|
1976
1998
|
TranslatedText: __expectString(output.TranslatedText),
|
|
1977
1999
|
};
|
|
1978
2000
|
};
|
|
2001
|
+
var deserializeAws_json1_1TranslationSettings = function (output, context) {
|
|
2002
|
+
return {
|
|
2003
|
+
Profanity: __expectString(output.Profanity),
|
|
2004
|
+
};
|
|
2005
|
+
};
|
|
1979
2006
|
var deserializeAws_json1_1UnsupportedLanguagePairException = function (output, context) {
|
|
1980
2007
|
return {
|
|
1981
2008
|
Message: __expectString(output.Message),
|
|
@@ -23,7 +23,7 @@ export interface CreateParallelDataCommandOutput extends CreateParallelDataRespo
|
|
|
23
23
|
*
|
|
24
24
|
* @see {@link CreateParallelDataCommandInput} for command's `input` shape.
|
|
25
25
|
* @see {@link CreateParallelDataCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link TranslateClientResolvedConfig | config} for
|
|
26
|
+
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
export declare class CreateParallelDataCommand extends $Command<CreateParallelDataCommandInput, CreateParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteParallelDataCommandOutput extends DeleteParallelDataRespo
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteParallelDataCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteParallelDataCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link TranslateClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteParallelDataCommand extends $Command<DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteTerminologyCommandOutput extends __MetadataBearer {
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteTerminologyCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteTerminologyCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link TranslateClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteTerminologyCommand extends $Command<DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput, TranslateClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface DescribeTextTranslationJobCommandOutput extends DescribeTextTra
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link DescribeTextTranslationJobCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link DescribeTextTranslationJobCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link TranslateClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class DescribeTextTranslationJobCommand extends $Command<DescribeTextTranslationJobCommandInput, DescribeTextTranslationJobCommandOutput, TranslateClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface GetParallelDataCommandOutput extends GetParallelDataResponse, _
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link GetParallelDataCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link GetParallelDataCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link TranslateClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class GetParallelDataCommand extends $Command<GetParallelDataCommandInput, GetParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface GetTerminologyCommandOutput extends GetTerminologyResponse, __M
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link GetTerminologyCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link GetTerminologyCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link TranslateClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class GetTerminologyCommand extends $Command<GetTerminologyCommandInput, GetTerminologyCommandOutput, TranslateClientResolvedConfig> {
|
|
@@ -27,7 +27,7 @@ export interface ImportTerminologyCommandOutput extends ImportTerminologyRespons
|
|
|
27
27
|
*
|
|
28
28
|
* @see {@link ImportTerminologyCommandInput} for command's `input` shape.
|
|
29
29
|
* @see {@link ImportTerminologyCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link TranslateClientResolvedConfig | config} for
|
|
30
|
+
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
export declare class ImportTerminologyCommand extends $Command<ImportTerminologyCommandInput, ImportTerminologyCommandOutput, TranslateClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface ListParallelDataCommandOutput extends ListParallelDataResponse,
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link ListParallelDataCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link ListParallelDataCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link TranslateClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class ListParallelDataCommand extends $Command<ListParallelDataCommandInput, ListParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface ListTerminologiesCommandOutput extends ListTerminologiesRespons
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link ListTerminologiesCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link ListTerminologiesCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link TranslateClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class ListTerminologiesCommand extends $Command<ListTerminologiesCommandInput, ListTerminologiesCommandOutput, TranslateClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface ListTextTranslationJobsCommandOutput extends ListTextTranslatio
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link ListTextTranslationJobsCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link ListTextTranslationJobsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link TranslateClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class ListTextTranslationJobsCommand extends $Command<ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput, TranslateClientResolvedConfig> {
|
|
@@ -27,7 +27,7 @@ export interface StartTextTranslationJobCommandOutput extends StartTextTranslati
|
|
|
27
27
|
*
|
|
28
28
|
* @see {@link StartTextTranslationJobCommandInput} for command's `input` shape.
|
|
29
29
|
* @see {@link StartTextTranslationJobCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link TranslateClientResolvedConfig | config} for
|
|
30
|
+
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
export declare class StartTextTranslationJobCommand extends $Command<StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput, TranslateClientResolvedConfig> {
|
|
@@ -26,7 +26,7 @@ export interface StopTextTranslationJobCommandOutput extends StopTextTranslation
|
|
|
26
26
|
*
|
|
27
27
|
* @see {@link StopTextTranslationJobCommandInput} for command's `input` shape.
|
|
28
28
|
* @see {@link StopTextTranslationJobCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link TranslateClientResolvedConfig | config} for
|
|
29
|
+
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
export declare class StopTextTranslationJobCommand extends $Command<StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput, TranslateClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface TranslateTextCommandOutput extends TranslateTextResponse, __Met
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link TranslateTextCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link TranslateTextCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link TranslateClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class TranslateTextCommand extends $Command<TranslateTextCommandInput, TranslateTextCommandOutput, TranslateClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface UpdateParallelDataCommandOutput extends UpdateParallelDataRespo
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link UpdateParallelDataCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link UpdateParallelDataCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link TranslateClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class UpdateParallelDataCommand extends $Command<UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
@@ -65,12 +65,11 @@ export declare enum EncryptionKeyType {
|
|
|
65
65
|
*/
|
|
66
66
|
export interface EncryptionKey {
|
|
67
67
|
/**
|
|
68
|
-
* <p>The type of encryption key used by Amazon Translate to encrypt
|
|
68
|
+
* <p>The type of encryption key used by Amazon Translate to encrypt this object.</p>
|
|
69
69
|
*/
|
|
70
70
|
Type: EncryptionKeyType | string | undefined;
|
|
71
71
|
/**
|
|
72
|
-
* <p>The Amazon Resource Name (ARN) of the encryption key being used to encrypt
|
|
73
|
-
* terminology.</p>
|
|
72
|
+
* <p>The Amazon Resource Name (ARN) of the encryption key being used to encrypt this object.</p>
|
|
74
73
|
*/
|
|
75
74
|
Id: string | undefined;
|
|
76
75
|
}
|
|
@@ -359,7 +358,8 @@ export interface InputDataConfig {
|
|
|
359
358
|
* <li>
|
|
360
359
|
* <p>
|
|
361
360
|
* <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
|
|
361
|
+
* Localization Interchange File Format (XLIFF) files (.xlf). Amazon Translate supports only
|
|
362
|
+
* XLIFF version 1.2.</p>
|
|
363
363
|
* </li>
|
|
364
364
|
* </ul>
|
|
365
365
|
* <important>
|
|
@@ -430,6 +430,31 @@ export declare namespace OutputDataConfig {
|
|
|
430
430
|
*/
|
|
431
431
|
const filterSensitiveLog: (obj: OutputDataConfig) => any;
|
|
432
432
|
}
|
|
433
|
+
export declare enum Profanity {
|
|
434
|
+
MASK = "MASK"
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* <p>Settings that configure the translation output.</p>
|
|
438
|
+
*/
|
|
439
|
+
export interface TranslationSettings {
|
|
440
|
+
/**
|
|
441
|
+
* <p>Enable the profanity setting if you want Amazon Translate to mask profane words and
|
|
442
|
+
* phrases in your translation output.</p>
|
|
443
|
+
* <p>To mask profane words and phrases, Amazon Translate replaces them with the grawlix string
|
|
444
|
+
* “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the
|
|
445
|
+
* length or number of words.</p>
|
|
446
|
+
* <p>Amazon Translate does not detect profanity in all of its supported languages. For
|
|
447
|
+
* languages that support profanity detection, see <a href="https://docs.aws.amazon.com/translate/latest/dg/what-is.html#what-is-languages">Supported
|
|
448
|
+
* Languages and Language Codes in the Amazon Translate Developer Guide</a>.</p>
|
|
449
|
+
*/
|
|
450
|
+
Profanity?: Profanity | string;
|
|
451
|
+
}
|
|
452
|
+
export declare namespace TranslationSettings {
|
|
453
|
+
/**
|
|
454
|
+
* @internal
|
|
455
|
+
*/
|
|
456
|
+
const filterSensitiveLog: (obj: TranslationSettings) => any;
|
|
457
|
+
}
|
|
433
458
|
/**
|
|
434
459
|
* <p>Provides information about a translation job.</p>
|
|
435
460
|
*/
|
|
@@ -497,6 +522,10 @@ export interface TextTranslationJobProperties {
|
|
|
497
522
|
* that granted Amazon Translate read access to the job's input data.</p>
|
|
498
523
|
*/
|
|
499
524
|
DataAccessRoleArn?: string;
|
|
525
|
+
/**
|
|
526
|
+
* <p>Settings that configure the translation output.</p>
|
|
527
|
+
*/
|
|
528
|
+
Settings?: TranslationSettings;
|
|
500
529
|
}
|
|
501
530
|
export declare namespace TextTranslationJobProperties {
|
|
502
531
|
/**
|
|
@@ -543,13 +572,13 @@ export interface ParallelDataDataLocation {
|
|
|
543
572
|
* presigned URL to that has a 30 minute expiration.</p>
|
|
544
573
|
*
|
|
545
574
|
* <important>
|
|
546
|
-
* <p>Amazon Translate doesn't scan
|
|
575
|
+
* <p>Amazon Translate doesn't scan all input files for the risk of CSV injection
|
|
547
576
|
* attacks. </p>
|
|
548
577
|
* <p>CSV injection occurs when a .csv or .tsv file is altered so that a record contains
|
|
549
578
|
* malicious code. The record begins with a special character, such as =, +, -, or @. When the
|
|
550
579
|
* file is opened in a spreadsheet program, the program might interpret the record as a formula
|
|
551
580
|
* and run the code within it.</p>
|
|
552
|
-
* <p>Before you download
|
|
581
|
+
* <p>Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.</p>
|
|
553
582
|
* </important>
|
|
554
583
|
*/
|
|
555
584
|
Location: string | undefined;
|
|
@@ -657,13 +686,13 @@ export interface GetParallelDataResponse {
|
|
|
657
686
|
* minute expiration.</p>
|
|
658
687
|
*
|
|
659
688
|
* <important>
|
|
660
|
-
* <p>Amazon Translate doesn't scan
|
|
689
|
+
* <p>Amazon Translate doesn't scan all input files for the risk of CSV injection
|
|
661
690
|
* attacks. </p>
|
|
662
691
|
* <p>CSV injection occurs when a .csv or .tsv file is altered so that a record contains
|
|
663
692
|
* malicious code. The record begins with a special character, such as =, +, -, or @. When the
|
|
664
693
|
* file is opened in a spreadsheet program, the program might interpret the record as a formula
|
|
665
694
|
* and run the code within it.</p>
|
|
666
|
-
* <p>Before you download
|
|
695
|
+
* <p>Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.</p>
|
|
667
696
|
* </important>
|
|
668
697
|
*/
|
|
669
698
|
DataLocation?: ParallelDataDataLocation;
|
|
@@ -690,7 +719,8 @@ export declare namespace GetParallelDataResponse {
|
|
|
690
719
|
}
|
|
691
720
|
export declare enum TerminologyDataFormat {
|
|
692
721
|
CSV = "CSV",
|
|
693
|
-
TMX = "TMX"
|
|
722
|
+
TMX = "TMX",
|
|
723
|
+
TSV = "TSV"
|
|
694
724
|
}
|
|
695
725
|
export interface GetTerminologyRequest {
|
|
696
726
|
/**
|
|
@@ -698,9 +728,14 @@ export interface GetTerminologyRequest {
|
|
|
698
728
|
*/
|
|
699
729
|
Name: string | undefined;
|
|
700
730
|
/**
|
|
701
|
-
* <p>The data format of the custom terminology being retrieved
|
|
731
|
+
* <p>The data format of the custom terminology being retrieved.</p>
|
|
732
|
+
* <p>If you don't specify this parameter, Amazon Translate returns a file that has the same
|
|
733
|
+
* format as the file that was imported to create the terminology. </p>
|
|
734
|
+
* <p>If you specify this parameter when you retrieve a multi-directional terminology resource,
|
|
735
|
+
* you must specify the same format as that of the input file that was imported to create it.
|
|
736
|
+
* Otherwise, Amazon Translate throws an error.</p>
|
|
702
737
|
*/
|
|
703
|
-
TerminologyDataFormat
|
|
738
|
+
TerminologyDataFormat?: TerminologyDataFormat | string;
|
|
704
739
|
}
|
|
705
740
|
export declare namespace GetTerminologyRequest {
|
|
706
741
|
/**
|
|
@@ -717,7 +752,19 @@ export interface TerminologyDataLocation {
|
|
|
717
752
|
*/
|
|
718
753
|
RepositoryType: string | undefined;
|
|
719
754
|
/**
|
|
720
|
-
* <p>The location of the custom terminology
|
|
755
|
+
* <p>The Amazon S3 location of the most recent custom terminology input file that was
|
|
756
|
+
* successfully imported into Amazon Translate. The location is returned as a presigned URL that
|
|
757
|
+
* has a 30 minute expiration.</p>
|
|
758
|
+
*
|
|
759
|
+
* <important>
|
|
760
|
+
* <p>Amazon Translate doesn't scan all input files for the risk of CSV injection
|
|
761
|
+
* attacks. </p>
|
|
762
|
+
* <p>CSV injection occurs when a .csv or .tsv file is altered so that a record contains
|
|
763
|
+
* malicious code. The record begins with a special character, such as =, +, -, or @. When the
|
|
764
|
+
* file is opened in a spreadsheet program, the program might interpret the record as a formula
|
|
765
|
+
* and run the code within it.</p>
|
|
766
|
+
* <p>Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.</p>
|
|
767
|
+
* </important>
|
|
721
768
|
*/
|
|
722
769
|
Location: string | undefined;
|
|
723
770
|
}
|
|
@@ -727,6 +774,10 @@ export declare namespace TerminologyDataLocation {
|
|
|
727
774
|
*/
|
|
728
775
|
const filterSensitiveLog: (obj: TerminologyDataLocation) => any;
|
|
729
776
|
}
|
|
777
|
+
export declare enum Directionality {
|
|
778
|
+
MULTI = "MULTI",
|
|
779
|
+
UNI = "UNI"
|
|
780
|
+
}
|
|
730
781
|
/**
|
|
731
782
|
* <p>The properties of the custom terminology.</p>
|
|
732
783
|
*/
|
|
@@ -749,8 +800,8 @@ export interface TerminologyProperties {
|
|
|
749
800
|
*/
|
|
750
801
|
SourceLanguageCode?: string;
|
|
751
802
|
/**
|
|
752
|
-
* <p>The language codes for the target languages available with the custom terminology
|
|
753
|
-
* All possible target languages are returned in array.</p>
|
|
803
|
+
* <p>The language codes for the target languages available with the custom terminology
|
|
804
|
+
* resource. All possible target languages are returned in array.</p>
|
|
754
805
|
*/
|
|
755
806
|
TargetLanguageCodes?: string[];
|
|
756
807
|
/**
|
|
@@ -773,6 +824,35 @@ export interface TerminologyProperties {
|
|
|
773
824
|
* <p>The time at which the custom terminology was last update, based on the timestamp.</p>
|
|
774
825
|
*/
|
|
775
826
|
LastUpdatedAt?: Date;
|
|
827
|
+
/**
|
|
828
|
+
* <p>The directionality of your terminology resource indicates whether it has one source
|
|
829
|
+
* language (uni-directional) or multiple (multi-directional). </p>
|
|
830
|
+
* <dl>
|
|
831
|
+
* <dt>UNI</dt>
|
|
832
|
+
* <dd>
|
|
833
|
+
* <p>The terminology resource has one source language (the first column in a CSV file),
|
|
834
|
+
* and all of its other languages are target languages.</p>
|
|
835
|
+
* </dd>
|
|
836
|
+
* <dt>MULTI</dt>
|
|
837
|
+
* <dd>
|
|
838
|
+
* <p>Any language in the terminology resource can be the source language.</p>
|
|
839
|
+
* </dd>
|
|
840
|
+
* </dl>
|
|
841
|
+
*/
|
|
842
|
+
Directionality?: Directionality | string;
|
|
843
|
+
/**
|
|
844
|
+
* <p>Additional information from Amazon Translate about the terminology resource.</p>
|
|
845
|
+
*/
|
|
846
|
+
Message?: string;
|
|
847
|
+
/**
|
|
848
|
+
* <p>The number of terms in the input file that Amazon Translate skipped when you created or
|
|
849
|
+
* updated the terminology resource.</p>
|
|
850
|
+
*/
|
|
851
|
+
SkippedTermCount?: number;
|
|
852
|
+
/**
|
|
853
|
+
* <p>The format of the custom terminology input file.</p>
|
|
854
|
+
*/
|
|
855
|
+
Format?: TerminologyDataFormat | string;
|
|
776
856
|
}
|
|
777
857
|
export declare namespace TerminologyProperties {
|
|
778
858
|
/**
|
|
@@ -786,10 +866,28 @@ export interface GetTerminologyResponse {
|
|
|
786
866
|
*/
|
|
787
867
|
TerminologyProperties?: TerminologyProperties;
|
|
788
868
|
/**
|
|
789
|
-
* <p>The
|
|
790
|
-
*
|
|
869
|
+
* <p>The Amazon S3 location of the most recent custom terminology input file that was
|
|
870
|
+
* successfully imported into Amazon Translate. The location is returned as a presigned URL that
|
|
871
|
+
* has a 30 minute expiration.</p>
|
|
872
|
+
*
|
|
873
|
+
* <important>
|
|
874
|
+
* <p>Amazon Translate doesn't scan all input files for the risk of CSV injection
|
|
875
|
+
* attacks. </p>
|
|
876
|
+
* <p>CSV injection occurs when a .csv or .tsv file is altered so that a record contains
|
|
877
|
+
* malicious code. The record begins with a special character, such as =, +, -, or @. When the
|
|
878
|
+
* file is opened in a spreadsheet program, the program might interpret the record as a formula
|
|
879
|
+
* and run the code within it.</p>
|
|
880
|
+
* <p>Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.</p>
|
|
881
|
+
* </important>
|
|
791
882
|
*/
|
|
792
883
|
TerminologyDataLocation?: TerminologyDataLocation;
|
|
884
|
+
/**
|
|
885
|
+
* <p>The Amazon S3 location of a file that provides any errors or warnings that were produced
|
|
886
|
+
* by your input file. This file was created when Amazon Translate attempted to create a
|
|
887
|
+
* terminology resource. The location is returned as a presigned URL to that has a 30 minute
|
|
888
|
+
* expiration.</p>
|
|
889
|
+
*/
|
|
890
|
+
AuxiliaryDataLocation?: TerminologyDataLocation;
|
|
793
891
|
}
|
|
794
892
|
export declare namespace GetTerminologyResponse {
|
|
795
893
|
/**
|
|
@@ -811,9 +909,31 @@ export interface TerminologyData {
|
|
|
811
909
|
*/
|
|
812
910
|
File: Uint8Array | undefined;
|
|
813
911
|
/**
|
|
814
|
-
* <p>The data format of the custom terminology
|
|
912
|
+
* <p>The data format of the custom terminology.</p>
|
|
815
913
|
*/
|
|
816
914
|
Format: TerminologyDataFormat | string | undefined;
|
|
915
|
+
/**
|
|
916
|
+
* <p>The directionality of your terminology resource indicates whether it has one source
|
|
917
|
+
* language (uni-directional) or multiple (multi-directional).</p>
|
|
918
|
+
* <dl>
|
|
919
|
+
* <dt>UNI</dt>
|
|
920
|
+
* <dd>
|
|
921
|
+
* <p>The terminology resource has one source language (for example, the first column in a
|
|
922
|
+
* CSV file), and all of its other languages are target languages. </p>
|
|
923
|
+
* </dd>
|
|
924
|
+
* <dt>MULTI</dt>
|
|
925
|
+
* <dd>
|
|
926
|
+
* <p>Any language in the terminology resource can be the source language or a target
|
|
927
|
+
* language. A single multi-directional terminology resource can be used for jobs that
|
|
928
|
+
* translate different language pairs. For example, if the terminology contains terms in
|
|
929
|
+
* English and Spanish, then it can be used for jobs that translate English to Spanish and
|
|
930
|
+
* jobs that translate Spanish to English.</p>
|
|
931
|
+
* </dd>
|
|
932
|
+
* </dl>
|
|
933
|
+
* <p>When you create a custom terminology resource without specifying the directionality, it
|
|
934
|
+
* behaves as uni-directional terminology, although this parameter will have a null value.</p>
|
|
935
|
+
*/
|
|
936
|
+
Directionality?: Directionality | string;
|
|
817
937
|
}
|
|
818
938
|
export declare namespace TerminologyData {
|
|
819
939
|
/**
|
|
@@ -856,6 +976,13 @@ export interface ImportTerminologyResponse {
|
|
|
856
976
|
* <p>The properties of the custom terminology being imported.</p>
|
|
857
977
|
*/
|
|
858
978
|
TerminologyProperties?: TerminologyProperties;
|
|
979
|
+
/**
|
|
980
|
+
* <p>The Amazon S3 location of a file that provides any errors or warnings that were produced
|
|
981
|
+
* by your input file. This file was created when Amazon Translate attempted to create a
|
|
982
|
+
* terminology resource. The location is returned as a presigned URL to that has a 30 minute
|
|
983
|
+
* expiration.</p>
|
|
984
|
+
*/
|
|
985
|
+
AuxiliaryDataLocation?: TerminologyDataLocation;
|
|
859
986
|
}
|
|
860
987
|
export declare namespace ImportTerminologyResponse {
|
|
861
988
|
/**
|
|
@@ -1070,6 +1197,11 @@ export interface StartTextTranslationJobRequest {
|
|
|
1070
1197
|
* SDK.</p>
|
|
1071
1198
|
*/
|
|
1072
1199
|
ClientToken?: string;
|
|
1200
|
+
/**
|
|
1201
|
+
* <p>Settings to configure your translation output, including the option to mask profane words
|
|
1202
|
+
* and phrases.</p>
|
|
1203
|
+
*/
|
|
1204
|
+
Settings?: TranslationSettings;
|
|
1073
1205
|
}
|
|
1074
1206
|
export declare namespace StartTextTranslationJobRequest {
|
|
1075
1207
|
/**
|
|
@@ -1257,6 +1389,11 @@ export interface TranslateTextRequest {
|
|
|
1257
1389
|
* language supported by Amazon Translate.</p>
|
|
1258
1390
|
*/
|
|
1259
1391
|
TargetLanguageCode: string | undefined;
|
|
1392
|
+
/**
|
|
1393
|
+
* <p>Settings to configure your translation output, including the option to mask profane words
|
|
1394
|
+
* and phrases.</p>
|
|
1395
|
+
*/
|
|
1396
|
+
Settings?: TranslationSettings;
|
|
1260
1397
|
}
|
|
1261
1398
|
export declare namespace TranslateTextRequest {
|
|
1262
1399
|
/**
|
|
@@ -1282,6 +1419,10 @@ export interface TranslateTextResponse {
|
|
|
1282
1419
|
* translated text response.</p>
|
|
1283
1420
|
*/
|
|
1284
1421
|
AppliedTerminologies?: AppliedTerminology[];
|
|
1422
|
+
/**
|
|
1423
|
+
* <p>Settings that configure the translation output.</p>
|
|
1424
|
+
*/
|
|
1425
|
+
AppliedSettings?: TranslationSettings;
|
|
1285
1426
|
}
|
|
1286
1427
|
export declare namespace TranslateTextResponse {
|
|
1287
1428
|
/**
|
|
@@ -242,6 +242,18 @@ export declare namespace OutputDataConfig {
|
|
|
242
242
|
|
|
243
243
|
const filterSensitiveLog: (obj: OutputDataConfig) => any;
|
|
244
244
|
}
|
|
245
|
+
export declare enum Profanity {
|
|
246
|
+
MASK = "MASK"
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export interface TranslationSettings {
|
|
250
|
+
|
|
251
|
+
Profanity?: Profanity | string;
|
|
252
|
+
}
|
|
253
|
+
export declare namespace TranslationSettings {
|
|
254
|
+
|
|
255
|
+
const filterSensitiveLog: (obj: TranslationSettings) => any;
|
|
256
|
+
}
|
|
245
257
|
|
|
246
258
|
export interface TextTranslationJobProperties {
|
|
247
259
|
|
|
@@ -272,6 +284,8 @@ export interface TextTranslationJobProperties {
|
|
|
272
284
|
OutputDataConfig?: OutputDataConfig;
|
|
273
285
|
|
|
274
286
|
DataAccessRoleArn?: string;
|
|
287
|
+
|
|
288
|
+
Settings?: TranslationSettings;
|
|
275
289
|
}
|
|
276
290
|
export declare namespace TextTranslationJobProperties {
|
|
277
291
|
|
|
@@ -361,13 +375,14 @@ export declare namespace GetParallelDataResponse {
|
|
|
361
375
|
}
|
|
362
376
|
export declare enum TerminologyDataFormat {
|
|
363
377
|
CSV = "CSV",
|
|
364
|
-
TMX = "TMX"
|
|
378
|
+
TMX = "TMX",
|
|
379
|
+
TSV = "TSV"
|
|
365
380
|
}
|
|
366
381
|
export interface GetTerminologyRequest {
|
|
367
382
|
|
|
368
383
|
Name: string | undefined;
|
|
369
384
|
|
|
370
|
-
TerminologyDataFormat
|
|
385
|
+
TerminologyDataFormat?: TerminologyDataFormat | string;
|
|
371
386
|
}
|
|
372
387
|
export declare namespace GetTerminologyRequest {
|
|
373
388
|
|
|
@@ -384,6 +399,10 @@ export declare namespace TerminologyDataLocation {
|
|
|
384
399
|
|
|
385
400
|
const filterSensitiveLog: (obj: TerminologyDataLocation) => any;
|
|
386
401
|
}
|
|
402
|
+
export declare enum Directionality {
|
|
403
|
+
MULTI = "MULTI",
|
|
404
|
+
UNI = "UNI"
|
|
405
|
+
}
|
|
387
406
|
|
|
388
407
|
export interface TerminologyProperties {
|
|
389
408
|
|
|
@@ -406,6 +425,14 @@ export interface TerminologyProperties {
|
|
|
406
425
|
CreatedAt?: Date;
|
|
407
426
|
|
|
408
427
|
LastUpdatedAt?: Date;
|
|
428
|
+
|
|
429
|
+
Directionality?: Directionality | string;
|
|
430
|
+
|
|
431
|
+
Message?: string;
|
|
432
|
+
|
|
433
|
+
SkippedTermCount?: number;
|
|
434
|
+
|
|
435
|
+
Format?: TerminologyDataFormat | string;
|
|
409
436
|
}
|
|
410
437
|
export declare namespace TerminologyProperties {
|
|
411
438
|
|
|
@@ -416,6 +443,8 @@ export interface GetTerminologyResponse {
|
|
|
416
443
|
TerminologyProperties?: TerminologyProperties;
|
|
417
444
|
|
|
418
445
|
TerminologyDataLocation?: TerminologyDataLocation;
|
|
446
|
+
|
|
447
|
+
AuxiliaryDataLocation?: TerminologyDataLocation;
|
|
419
448
|
}
|
|
420
449
|
export declare namespace GetTerminologyResponse {
|
|
421
450
|
|
|
@@ -430,6 +459,8 @@ export interface TerminologyData {
|
|
|
430
459
|
File: Uint8Array | undefined;
|
|
431
460
|
|
|
432
461
|
Format: TerminologyDataFormat | string | undefined;
|
|
462
|
+
|
|
463
|
+
Directionality?: Directionality | string;
|
|
433
464
|
}
|
|
434
465
|
export declare namespace TerminologyData {
|
|
435
466
|
|
|
@@ -454,6 +485,8 @@ export declare namespace ImportTerminologyRequest {
|
|
|
454
485
|
export interface ImportTerminologyResponse {
|
|
455
486
|
|
|
456
487
|
TerminologyProperties?: TerminologyProperties;
|
|
488
|
+
|
|
489
|
+
AuxiliaryDataLocation?: TerminologyDataLocation;
|
|
457
490
|
}
|
|
458
491
|
export declare namespace ImportTerminologyResponse {
|
|
459
492
|
|
|
@@ -565,6 +598,8 @@ export interface StartTextTranslationJobRequest {
|
|
|
565
598
|
ParallelDataNames?: string[];
|
|
566
599
|
|
|
567
600
|
ClientToken?: string;
|
|
601
|
+
|
|
602
|
+
Settings?: TranslationSettings;
|
|
568
603
|
}
|
|
569
604
|
export declare namespace StartTextTranslationJobRequest {
|
|
570
605
|
|
|
@@ -653,6 +688,8 @@ export interface TranslateTextRequest {
|
|
|
653
688
|
SourceLanguageCode: string | undefined;
|
|
654
689
|
|
|
655
690
|
TargetLanguageCode: string | undefined;
|
|
691
|
+
|
|
692
|
+
Settings?: TranslationSettings;
|
|
656
693
|
}
|
|
657
694
|
export declare namespace TranslateTextRequest {
|
|
658
695
|
|
|
@@ -667,6 +704,8 @@ export interface TranslateTextResponse {
|
|
|
667
704
|
TargetLanguageCode: string | undefined;
|
|
668
705
|
|
|
669
706
|
AppliedTerminologies?: AppliedTerminology[];
|
|
707
|
+
|
|
708
|
+
AppliedSettings?: TranslationSettings;
|
|
670
709
|
}
|
|
671
710
|
export declare namespace TranslateTextResponse {
|
|
672
711
|
|
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.45.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.45.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.45.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.45.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.40.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.40.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.40.0",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"@aws-sdk/middleware-logger": "3.40.0",
|
|
33
33
|
"@aws-sdk/middleware-retry": "3.40.0",
|
|
34
34
|
"@aws-sdk/middleware-serde": "3.40.0",
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.45.0",
|
|
36
36
|
"@aws-sdk/middleware-stack": "3.40.0",
|
|
37
37
|
"@aws-sdk/middleware-user-agent": "3.40.0",
|
|
38
38
|
"@aws-sdk/node-config-provider": "3.40.0",
|
|
39
39
|
"@aws-sdk/node-http-handler": "3.40.0",
|
|
40
40
|
"@aws-sdk/protocol-http": "3.40.0",
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
+
"@aws-sdk/smithy-client": "3.41.0",
|
|
42
42
|
"@aws-sdk/types": "3.40.0",
|
|
43
43
|
"@aws-sdk/url-parser": "3.40.0",
|
|
44
44
|
"@aws-sdk/util-base64-browser": "3.37.0",
|