@aws-sdk/client-translate 3.128.0 → 3.137.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 +30 -0
- package/dist-cjs/commands/CreateParallelDataCommand.js +2 -2
- package/dist-cjs/commands/DeleteParallelDataCommand.js +2 -2
- package/dist-cjs/commands/DeleteTerminologyCommand.js +1 -1
- package/dist-cjs/commands/DescribeTextTranslationJobCommand.js +2 -2
- package/dist-cjs/commands/GetParallelDataCommand.js +2 -2
- package/dist-cjs/commands/GetTerminologyCommand.js +2 -2
- package/dist-cjs/commands/ImportTerminologyCommand.js +2 -2
- package/dist-cjs/commands/ListLanguagesCommand.js +2 -2
- package/dist-cjs/commands/ListParallelDataCommand.js +2 -2
- package/dist-cjs/commands/ListTerminologiesCommand.js +2 -2
- package/dist-cjs/commands/ListTextTranslationJobsCommand.js +2 -2
- package/dist-cjs/commands/StartTextTranslationJobCommand.js +2 -2
- package/dist-cjs/commands/StopTextTranslationJobCommand.js +2 -2
- package/dist-cjs/commands/TranslateTextCommand.js +2 -2
- package/dist-cjs/commands/UpdateParallelDataCommand.js +2 -2
- package/dist-cjs/models/models_0.js +184 -274
- package/dist-cjs/protocols/Aws_json1_1.js +3 -0
- package/dist-es/commands/CreateParallelDataCommand.js +3 -3
- package/dist-es/commands/DeleteParallelDataCommand.js +3 -3
- package/dist-es/commands/DeleteTerminologyCommand.js +2 -2
- package/dist-es/commands/DescribeTextTranslationJobCommand.js +3 -3
- package/dist-es/commands/GetParallelDataCommand.js +3 -3
- package/dist-es/commands/GetTerminologyCommand.js +3 -3
- package/dist-es/commands/ImportTerminologyCommand.js +3 -3
- package/dist-es/commands/ListLanguagesCommand.js +3 -3
- package/dist-es/commands/ListParallelDataCommand.js +3 -3
- package/dist-es/commands/ListTerminologiesCommand.js +3 -3
- package/dist-es/commands/ListTextTranslationJobsCommand.js +3 -3
- package/dist-es/commands/StartTextTranslationJobCommand.js +3 -3
- package/dist-es/commands/StopTextTranslationJobCommand.js +3 -3
- package/dist-es/commands/TranslateTextCommand.js +3 -3
- package/dist-es/commands/UpdateParallelDataCommand.js +3 -3
- package/dist-es/models/models_0.js +45 -180
- package/dist-es/protocols/Aws_json1_1.js +3 -0
- package/dist-types/models/models_0.d.ts +180 -270
- package/dist-types/ts3.4/models/models_0.d.ts +90 -180
- package/package.json +9 -9
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetParallelDataRequestFilterSensitiveLog, GetParallelDataResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1GetParallelDataCommand, serializeAws_json1_1GetParallelDataCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var GetParallelDataCommand = (function (_super) {
|
|
7
7
|
__extends(GetParallelDataCommand, _super);
|
|
@@ -20,8 +20,8 @@ var GetParallelDataCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: GetParallelDataRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetParallelDataResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetTerminologyRequestFilterSensitiveLog, GetTerminologyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1GetTerminologyCommand, serializeAws_json1_1GetTerminologyCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var GetTerminologyCommand = (function (_super) {
|
|
7
7
|
__extends(GetTerminologyCommand, _super);
|
|
@@ -20,8 +20,8 @@ var GetTerminologyCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: GetTerminologyRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetTerminologyResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { ImportTerminologyRequestFilterSensitiveLog, ImportTerminologyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1ImportTerminologyCommand, serializeAws_json1_1ImportTerminologyCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var ImportTerminologyCommand = (function (_super) {
|
|
7
7
|
__extends(ImportTerminologyCommand, _super);
|
|
@@ -20,8 +20,8 @@ var ImportTerminologyCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: ImportTerminologyRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ImportTerminologyResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { ListLanguagesRequestFilterSensitiveLog, ListLanguagesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1ListLanguagesCommand, serializeAws_json1_1ListLanguagesCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var ListLanguagesCommand = (function (_super) {
|
|
7
7
|
__extends(ListLanguagesCommand, _super);
|
|
@@ -20,8 +20,8 @@ var ListLanguagesCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: ListLanguagesRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListLanguagesResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { ListParallelDataRequestFilterSensitiveLog, ListParallelDataResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1ListParallelDataCommand, serializeAws_json1_1ListParallelDataCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var ListParallelDataCommand = (function (_super) {
|
|
7
7
|
__extends(ListParallelDataCommand, _super);
|
|
@@ -20,8 +20,8 @@ var ListParallelDataCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: ListParallelDataRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListParallelDataResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { ListTerminologiesRequestFilterSensitiveLog, ListTerminologiesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1ListTerminologiesCommand, serializeAws_json1_1ListTerminologiesCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var ListTerminologiesCommand = (function (_super) {
|
|
7
7
|
__extends(ListTerminologiesCommand, _super);
|
|
@@ -20,8 +20,8 @@ var ListTerminologiesCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: ListTerminologiesRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListTerminologiesResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { ListTextTranslationJobsRequestFilterSensitiveLog, ListTextTranslationJobsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1ListTextTranslationJobsCommand, serializeAws_json1_1ListTextTranslationJobsCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var ListTextTranslationJobsCommand = (function (_super) {
|
|
7
7
|
__extends(ListTextTranslationJobsCommand, _super);
|
|
@@ -20,8 +20,8 @@ var ListTextTranslationJobsCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: ListTextTranslationJobsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListTextTranslationJobsResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { StartTextTranslationJobRequestFilterSensitiveLog, StartTextTranslationJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1StartTextTranslationJobCommand, serializeAws_json1_1StartTextTranslationJobCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var StartTextTranslationJobCommand = (function (_super) {
|
|
7
7
|
__extends(StartTextTranslationJobCommand, _super);
|
|
@@ -20,8 +20,8 @@ var StartTextTranslationJobCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: StartTextTranslationJobRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: StartTextTranslationJobResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { StopTextTranslationJobRequestFilterSensitiveLog, StopTextTranslationJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1StopTextTranslationJobCommand, serializeAws_json1_1StopTextTranslationJobCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var StopTextTranslationJobCommand = (function (_super) {
|
|
7
7
|
__extends(StopTextTranslationJobCommand, _super);
|
|
@@ -20,8 +20,8 @@ var StopTextTranslationJobCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: StopTextTranslationJobRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: StopTextTranslationJobResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { TranslateTextRequestFilterSensitiveLog, TranslateTextResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1TranslateTextCommand, serializeAws_json1_1TranslateTextCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var TranslateTextCommand = (function (_super) {
|
|
7
7
|
__extends(TranslateTextCommand, _super);
|
|
@@ -20,8 +20,8 @@ var TranslateTextCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: TranslateTextRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: TranslateTextResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { UpdateParallelDataRequestFilterSensitiveLog, UpdateParallelDataResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1UpdateParallelDataCommand, serializeAws_json1_1UpdateParallelDataCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var UpdateParallelDataCommand = (function (_super) {
|
|
7
7
|
__extends(UpdateParallelDataCommand, _super);
|
|
@@ -20,8 +20,8 @@ var UpdateParallelDataCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: UpdateParallelDataRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateParallelDataResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
import { __assign, __extends } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { TranslateServiceException as __BaseException } from "./TranslateServiceException";
|
|
4
|
-
export var Term;
|
|
5
|
-
(function (Term) {
|
|
6
|
-
Term.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
7
|
-
})(Term || (Term = {}));
|
|
8
|
-
export var AppliedTerminology;
|
|
9
|
-
(function (AppliedTerminology) {
|
|
10
|
-
AppliedTerminology.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
11
|
-
})(AppliedTerminology || (AppliedTerminology = {}));
|
|
12
4
|
var ConflictException = (function (_super) {
|
|
13
5
|
__extends(ConflictException, _super);
|
|
14
6
|
function ConflictException(opts) {
|
|
@@ -26,24 +18,12 @@ export var EncryptionKeyType;
|
|
|
26
18
|
(function (EncryptionKeyType) {
|
|
27
19
|
EncryptionKeyType["KMS"] = "KMS";
|
|
28
20
|
})(EncryptionKeyType || (EncryptionKeyType = {}));
|
|
29
|
-
export var EncryptionKey;
|
|
30
|
-
(function (EncryptionKey) {
|
|
31
|
-
EncryptionKey.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
32
|
-
})(EncryptionKey || (EncryptionKey = {}));
|
|
33
21
|
export var ParallelDataFormat;
|
|
34
22
|
(function (ParallelDataFormat) {
|
|
35
23
|
ParallelDataFormat["CSV"] = "CSV";
|
|
36
24
|
ParallelDataFormat["TMX"] = "TMX";
|
|
37
25
|
ParallelDataFormat["TSV"] = "TSV";
|
|
38
26
|
})(ParallelDataFormat || (ParallelDataFormat = {}));
|
|
39
|
-
export var ParallelDataConfig;
|
|
40
|
-
(function (ParallelDataConfig) {
|
|
41
|
-
ParallelDataConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
42
|
-
})(ParallelDataConfig || (ParallelDataConfig = {}));
|
|
43
|
-
export var CreateParallelDataRequest;
|
|
44
|
-
(function (CreateParallelDataRequest) {
|
|
45
|
-
CreateParallelDataRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
46
|
-
})(CreateParallelDataRequest || (CreateParallelDataRequest = {}));
|
|
47
27
|
export var ParallelDataStatus;
|
|
48
28
|
(function (ParallelDataStatus) {
|
|
49
29
|
ParallelDataStatus["ACTIVE"] = "ACTIVE";
|
|
@@ -52,10 +32,6 @@ export var ParallelDataStatus;
|
|
|
52
32
|
ParallelDataStatus["FAILED"] = "FAILED";
|
|
53
33
|
ParallelDataStatus["UPDATING"] = "UPDATING";
|
|
54
34
|
})(ParallelDataStatus || (ParallelDataStatus = {}));
|
|
55
|
-
export var CreateParallelDataResponse;
|
|
56
|
-
(function (CreateParallelDataResponse) {
|
|
57
|
-
CreateParallelDataResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
58
|
-
})(CreateParallelDataResponse || (CreateParallelDataResponse = {}));
|
|
59
35
|
var InternalServerException = (function (_super) {
|
|
60
36
|
__extends(InternalServerException, _super);
|
|
61
37
|
function InternalServerException(opts) {
|
|
@@ -134,14 +110,6 @@ var ConcurrentModificationException = (function (_super) {
|
|
|
134
110
|
return ConcurrentModificationException;
|
|
135
111
|
}(__BaseException));
|
|
136
112
|
export { ConcurrentModificationException };
|
|
137
|
-
export var DeleteParallelDataRequest;
|
|
138
|
-
(function (DeleteParallelDataRequest) {
|
|
139
|
-
DeleteParallelDataRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
140
|
-
})(DeleteParallelDataRequest || (DeleteParallelDataRequest = {}));
|
|
141
|
-
export var DeleteParallelDataResponse;
|
|
142
|
-
(function (DeleteParallelDataResponse) {
|
|
143
|
-
DeleteParallelDataResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
144
|
-
})(DeleteParallelDataResponse || (DeleteParallelDataResponse = {}));
|
|
145
113
|
var ResourceNotFoundException = (function (_super) {
|
|
146
114
|
__extends(ResourceNotFoundException, _super);
|
|
147
115
|
function ResourceNotFoundException(opts) {
|
|
@@ -155,22 +123,6 @@ var ResourceNotFoundException = (function (_super) {
|
|
|
155
123
|
return ResourceNotFoundException;
|
|
156
124
|
}(__BaseException));
|
|
157
125
|
export { ResourceNotFoundException };
|
|
158
|
-
export var DeleteTerminologyRequest;
|
|
159
|
-
(function (DeleteTerminologyRequest) {
|
|
160
|
-
DeleteTerminologyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
161
|
-
})(DeleteTerminologyRequest || (DeleteTerminologyRequest = {}));
|
|
162
|
-
export var DescribeTextTranslationJobRequest;
|
|
163
|
-
(function (DescribeTextTranslationJobRequest) {
|
|
164
|
-
DescribeTextTranslationJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
165
|
-
})(DescribeTextTranslationJobRequest || (DescribeTextTranslationJobRequest = {}));
|
|
166
|
-
export var InputDataConfig;
|
|
167
|
-
(function (InputDataConfig) {
|
|
168
|
-
InputDataConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
169
|
-
})(InputDataConfig || (InputDataConfig = {}));
|
|
170
|
-
export var JobDetails;
|
|
171
|
-
(function (JobDetails) {
|
|
172
|
-
JobDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
173
|
-
})(JobDetails || (JobDetails = {}));
|
|
174
126
|
export var JobStatus;
|
|
175
127
|
(function (JobStatus) {
|
|
176
128
|
JobStatus["COMPLETED"] = "COMPLETED";
|
|
@@ -181,10 +133,6 @@ export var JobStatus;
|
|
|
181
133
|
JobStatus["STOP_REQUESTED"] = "STOP_REQUESTED";
|
|
182
134
|
JobStatus["SUBMITTED"] = "SUBMITTED";
|
|
183
135
|
})(JobStatus || (JobStatus = {}));
|
|
184
|
-
export var OutputDataConfig;
|
|
185
|
-
(function (OutputDataConfig) {
|
|
186
|
-
OutputDataConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
187
|
-
})(OutputDataConfig || (OutputDataConfig = {}));
|
|
188
136
|
export var Formality;
|
|
189
137
|
(function (Formality) {
|
|
190
138
|
Formality["FORMAL"] = "FORMAL";
|
|
@@ -194,77 +142,21 @@ export var Profanity;
|
|
|
194
142
|
(function (Profanity) {
|
|
195
143
|
Profanity["MASK"] = "MASK";
|
|
196
144
|
})(Profanity || (Profanity = {}));
|
|
197
|
-
export var TranslationSettings;
|
|
198
|
-
(function (TranslationSettings) {
|
|
199
|
-
TranslationSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
200
|
-
})(TranslationSettings || (TranslationSettings = {}));
|
|
201
|
-
export var TextTranslationJobProperties;
|
|
202
|
-
(function (TextTranslationJobProperties) {
|
|
203
|
-
TextTranslationJobProperties.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
204
|
-
})(TextTranslationJobProperties || (TextTranslationJobProperties = {}));
|
|
205
|
-
export var DescribeTextTranslationJobResponse;
|
|
206
|
-
(function (DescribeTextTranslationJobResponse) {
|
|
207
|
-
DescribeTextTranslationJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
208
|
-
})(DescribeTextTranslationJobResponse || (DescribeTextTranslationJobResponse = {}));
|
|
209
|
-
export var GetParallelDataRequest;
|
|
210
|
-
(function (GetParallelDataRequest) {
|
|
211
|
-
GetParallelDataRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
212
|
-
})(GetParallelDataRequest || (GetParallelDataRequest = {}));
|
|
213
|
-
export var ParallelDataDataLocation;
|
|
214
|
-
(function (ParallelDataDataLocation) {
|
|
215
|
-
ParallelDataDataLocation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
216
|
-
})(ParallelDataDataLocation || (ParallelDataDataLocation = {}));
|
|
217
|
-
export var ParallelDataProperties;
|
|
218
|
-
(function (ParallelDataProperties) {
|
|
219
|
-
ParallelDataProperties.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
220
|
-
})(ParallelDataProperties || (ParallelDataProperties = {}));
|
|
221
|
-
export var GetParallelDataResponse;
|
|
222
|
-
(function (GetParallelDataResponse) {
|
|
223
|
-
GetParallelDataResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
224
|
-
})(GetParallelDataResponse || (GetParallelDataResponse = {}));
|
|
225
145
|
export var TerminologyDataFormat;
|
|
226
146
|
(function (TerminologyDataFormat) {
|
|
227
147
|
TerminologyDataFormat["CSV"] = "CSV";
|
|
228
148
|
TerminologyDataFormat["TMX"] = "TMX";
|
|
229
149
|
TerminologyDataFormat["TSV"] = "TSV";
|
|
230
150
|
})(TerminologyDataFormat || (TerminologyDataFormat = {}));
|
|
231
|
-
export var GetTerminologyRequest;
|
|
232
|
-
(function (GetTerminologyRequest) {
|
|
233
|
-
GetTerminologyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
234
|
-
})(GetTerminologyRequest || (GetTerminologyRequest = {}));
|
|
235
|
-
export var TerminologyDataLocation;
|
|
236
|
-
(function (TerminologyDataLocation) {
|
|
237
|
-
TerminologyDataLocation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
238
|
-
})(TerminologyDataLocation || (TerminologyDataLocation = {}));
|
|
239
151
|
export var Directionality;
|
|
240
152
|
(function (Directionality) {
|
|
241
153
|
Directionality["MULTI"] = "MULTI";
|
|
242
154
|
Directionality["UNI"] = "UNI";
|
|
243
155
|
})(Directionality || (Directionality = {}));
|
|
244
|
-
export var TerminologyProperties;
|
|
245
|
-
(function (TerminologyProperties) {
|
|
246
|
-
TerminologyProperties.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
247
|
-
})(TerminologyProperties || (TerminologyProperties = {}));
|
|
248
|
-
export var GetTerminologyResponse;
|
|
249
|
-
(function (GetTerminologyResponse) {
|
|
250
|
-
GetTerminologyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
251
|
-
})(GetTerminologyResponse || (GetTerminologyResponse = {}));
|
|
252
156
|
export var MergeStrategy;
|
|
253
157
|
(function (MergeStrategy) {
|
|
254
158
|
MergeStrategy["OVERWRITE"] = "OVERWRITE";
|
|
255
159
|
})(MergeStrategy || (MergeStrategy = {}));
|
|
256
|
-
export var TerminologyData;
|
|
257
|
-
(function (TerminologyData) {
|
|
258
|
-
TerminologyData.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.File && { File: SENSITIVE_STRING }))); };
|
|
259
|
-
})(TerminologyData || (TerminologyData = {}));
|
|
260
|
-
export var ImportTerminologyRequest;
|
|
261
|
-
(function (ImportTerminologyRequest) {
|
|
262
|
-
ImportTerminologyRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.TerminologyData && { TerminologyData: TerminologyData.filterSensitiveLog(obj.TerminologyData) }))); };
|
|
263
|
-
})(ImportTerminologyRequest || (ImportTerminologyRequest = {}));
|
|
264
|
-
export var ImportTerminologyResponse;
|
|
265
|
-
(function (ImportTerminologyResponse) {
|
|
266
|
-
ImportTerminologyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
267
|
-
})(ImportTerminologyResponse || (ImportTerminologyResponse = {}));
|
|
268
160
|
export var DisplayLanguageCode;
|
|
269
161
|
(function (DisplayLanguageCode) {
|
|
270
162
|
DisplayLanguageCode["DE"] = "de";
|
|
@@ -278,18 +170,6 @@ export var DisplayLanguageCode;
|
|
|
278
170
|
DisplayLanguageCode["ZH"] = "zh";
|
|
279
171
|
DisplayLanguageCode["ZH_TW"] = "zh-TW";
|
|
280
172
|
})(DisplayLanguageCode || (DisplayLanguageCode = {}));
|
|
281
|
-
export var ListLanguagesRequest;
|
|
282
|
-
(function (ListLanguagesRequest) {
|
|
283
|
-
ListLanguagesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
284
|
-
})(ListLanguagesRequest || (ListLanguagesRequest = {}));
|
|
285
|
-
export var Language;
|
|
286
|
-
(function (Language) {
|
|
287
|
-
Language.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
288
|
-
})(Language || (Language = {}));
|
|
289
|
-
export var ListLanguagesResponse;
|
|
290
|
-
(function (ListLanguagesResponse) {
|
|
291
|
-
ListLanguagesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
292
|
-
})(ListLanguagesResponse || (ListLanguagesResponse = {}));
|
|
293
173
|
var UnsupportedDisplayLanguageCodeException = (function (_super) {
|
|
294
174
|
__extends(UnsupportedDisplayLanguageCodeException, _super);
|
|
295
175
|
function UnsupportedDisplayLanguageCodeException(opts) {
|
|
@@ -304,22 +184,6 @@ var UnsupportedDisplayLanguageCodeException = (function (_super) {
|
|
|
304
184
|
return UnsupportedDisplayLanguageCodeException;
|
|
305
185
|
}(__BaseException));
|
|
306
186
|
export { UnsupportedDisplayLanguageCodeException };
|
|
307
|
-
export var ListParallelDataRequest;
|
|
308
|
-
(function (ListParallelDataRequest) {
|
|
309
|
-
ListParallelDataRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
310
|
-
})(ListParallelDataRequest || (ListParallelDataRequest = {}));
|
|
311
|
-
export var ListParallelDataResponse;
|
|
312
|
-
(function (ListParallelDataResponse) {
|
|
313
|
-
ListParallelDataResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
314
|
-
})(ListParallelDataResponse || (ListParallelDataResponse = {}));
|
|
315
|
-
export var ListTerminologiesRequest;
|
|
316
|
-
(function (ListTerminologiesRequest) {
|
|
317
|
-
ListTerminologiesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
318
|
-
})(ListTerminologiesRequest || (ListTerminologiesRequest = {}));
|
|
319
|
-
export var ListTerminologiesResponse;
|
|
320
|
-
(function (ListTerminologiesResponse) {
|
|
321
|
-
ListTerminologiesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
322
|
-
})(ListTerminologiesResponse || (ListTerminologiesResponse = {}));
|
|
323
187
|
var InvalidFilterException = (function (_super) {
|
|
324
188
|
__extends(InvalidFilterException, _super);
|
|
325
189
|
function InvalidFilterException(opts) {
|
|
@@ -333,26 +197,6 @@ var InvalidFilterException = (function (_super) {
|
|
|
333
197
|
return InvalidFilterException;
|
|
334
198
|
}(__BaseException));
|
|
335
199
|
export { InvalidFilterException };
|
|
336
|
-
export var TextTranslationJobFilter;
|
|
337
|
-
(function (TextTranslationJobFilter) {
|
|
338
|
-
TextTranslationJobFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
339
|
-
})(TextTranslationJobFilter || (TextTranslationJobFilter = {}));
|
|
340
|
-
export var ListTextTranslationJobsRequest;
|
|
341
|
-
(function (ListTextTranslationJobsRequest) {
|
|
342
|
-
ListTextTranslationJobsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
343
|
-
})(ListTextTranslationJobsRequest || (ListTextTranslationJobsRequest = {}));
|
|
344
|
-
export var ListTextTranslationJobsResponse;
|
|
345
|
-
(function (ListTextTranslationJobsResponse) {
|
|
346
|
-
ListTextTranslationJobsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
347
|
-
})(ListTextTranslationJobsResponse || (ListTextTranslationJobsResponse = {}));
|
|
348
|
-
export var StartTextTranslationJobRequest;
|
|
349
|
-
(function (StartTextTranslationJobRequest) {
|
|
350
|
-
StartTextTranslationJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
351
|
-
})(StartTextTranslationJobRequest || (StartTextTranslationJobRequest = {}));
|
|
352
|
-
export var StartTextTranslationJobResponse;
|
|
353
|
-
(function (StartTextTranslationJobResponse) {
|
|
354
|
-
StartTextTranslationJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
355
|
-
})(StartTextTranslationJobResponse || (StartTextTranslationJobResponse = {}));
|
|
356
200
|
var UnsupportedLanguagePairException = (function (_super) {
|
|
357
201
|
__extends(UnsupportedLanguagePairException, _super);
|
|
358
202
|
function UnsupportedLanguagePairException(opts) {
|
|
@@ -368,14 +212,6 @@ var UnsupportedLanguagePairException = (function (_super) {
|
|
|
368
212
|
return UnsupportedLanguagePairException;
|
|
369
213
|
}(__BaseException));
|
|
370
214
|
export { UnsupportedLanguagePairException };
|
|
371
|
-
export var StopTextTranslationJobRequest;
|
|
372
|
-
(function (StopTextTranslationJobRequest) {
|
|
373
|
-
StopTextTranslationJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
374
|
-
})(StopTextTranslationJobRequest || (StopTextTranslationJobRequest = {}));
|
|
375
|
-
export var StopTextTranslationJobResponse;
|
|
376
|
-
(function (StopTextTranslationJobResponse) {
|
|
377
|
-
StopTextTranslationJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
378
|
-
})(StopTextTranslationJobResponse || (StopTextTranslationJobResponse = {}));
|
|
379
215
|
var DetectedLanguageLowConfidenceException = (function (_super) {
|
|
380
216
|
__extends(DetectedLanguageLowConfidenceException, _super);
|
|
381
217
|
function DetectedLanguageLowConfidenceException(opts) {
|
|
@@ -416,19 +252,48 @@ var TextSizeLimitExceededException = (function (_super) {
|
|
|
416
252
|
return TextSizeLimitExceededException;
|
|
417
253
|
}(__BaseException));
|
|
418
254
|
export { TextSizeLimitExceededException };
|
|
419
|
-
export var
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
export var
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
export var
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
export var
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
255
|
+
export var TermFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
256
|
+
export var AppliedTerminologyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
257
|
+
export var EncryptionKeyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
258
|
+
export var ParallelDataConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
259
|
+
export var CreateParallelDataRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
260
|
+
export var CreateParallelDataResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
261
|
+
export var DeleteParallelDataRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
262
|
+
export var DeleteParallelDataResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
263
|
+
export var DeleteTerminologyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
264
|
+
export var DescribeTextTranslationJobRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
265
|
+
export var InputDataConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
266
|
+
export var JobDetailsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
267
|
+
export var OutputDataConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
268
|
+
export var TranslationSettingsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
269
|
+
export var TextTranslationJobPropertiesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
270
|
+
export var DescribeTextTranslationJobResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
271
|
+
export var GetParallelDataRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
272
|
+
export var ParallelDataDataLocationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
273
|
+
export var ParallelDataPropertiesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
274
|
+
export var GetParallelDataResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
275
|
+
export var GetTerminologyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
276
|
+
export var TerminologyDataLocationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
277
|
+
export var TerminologyPropertiesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
278
|
+
export var GetTerminologyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
279
|
+
export var TerminologyDataFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.File && { File: SENSITIVE_STRING }))); };
|
|
280
|
+
export var ImportTerminologyRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.TerminologyData && { TerminologyData: TerminologyDataFilterSensitiveLog(obj.TerminologyData) }))); };
|
|
281
|
+
export var ImportTerminologyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
282
|
+
export var ListLanguagesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
283
|
+
export var LanguageFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
284
|
+
export var ListLanguagesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
285
|
+
export var ListParallelDataRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
286
|
+
export var ListParallelDataResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
287
|
+
export var ListTerminologiesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
288
|
+
export var ListTerminologiesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
289
|
+
export var TextTranslationJobFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
290
|
+
export var ListTextTranslationJobsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
291
|
+
export var ListTextTranslationJobsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
292
|
+
export var StartTextTranslationJobRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
293
|
+
export var StartTextTranslationJobResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
294
|
+
export var StopTextTranslationJobRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
295
|
+
export var StopTextTranslationJobResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
296
|
+
export var TranslateTextRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
297
|
+
export var TranslateTextResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
298
|
+
export var UpdateParallelDataRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
299
|
+
export var UpdateParallelDataResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1891,6 +1891,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
1891
1891
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
1892
1892
|
var sanitizeErrorCode = function (rawValue) {
|
|
1893
1893
|
var cleanValue = rawValue;
|
|
1894
|
+
if (typeof cleanValue === "number") {
|
|
1895
|
+
cleanValue = cleanValue.toString();
|
|
1896
|
+
}
|
|
1894
1897
|
if (cleanValue.indexOf(":") >= 0) {
|
|
1895
1898
|
cleanValue = cleanValue.split(":")[0];
|
|
1896
1899
|
}
|