@aws-sdk/client-translate 3.1074.0 → 3.1076.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/dist-cjs/index.js +1153 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/TranslateServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -219
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -718
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
|
|
17
|
+
const defaultTranslateHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
|
+
return {
|
|
19
|
+
operation: getSmithyContext(context).operation,
|
|
20
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
21
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
22
|
+
})(),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
26
|
+
return {
|
|
27
|
+
schemeId: "aws.auth#sigv4",
|
|
28
|
+
signingProperties: {
|
|
29
|
+
name: "translate",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const defaultTranslateHttpAuthSchemeProvider = (authParameters) => {
|
|
41
|
+
const options = [];
|
|
42
|
+
switch (authParameters.operation) {
|
|
43
|
+
default: {
|
|
44
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return options;
|
|
48
|
+
};
|
|
49
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
51
|
+
return Object.assign(config_0, {
|
|
52
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
53
|
+
});
|
|
54
|
+
};
|
|
19
55
|
|
|
20
56
|
const resolveClientEndpointParameters = (options) => {
|
|
21
57
|
return Object.assign(options, {
|
|
@@ -31,6 +67,1000 @@ const commonParams = {
|
|
|
31
67
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
68
|
};
|
|
33
69
|
|
|
70
|
+
var version = "3.1075.0";
|
|
71
|
+
var packageInfo = {
|
|
72
|
+
version: version};
|
|
73
|
+
|
|
74
|
+
const k = "ref";
|
|
75
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
76
|
+
const _data = {
|
|
77
|
+
conditions: [
|
|
78
|
+
[c, [g]],
|
|
79
|
+
[c, j],
|
|
80
|
+
["aws.partition", j, d],
|
|
81
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
82
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
83
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
85
|
+
],
|
|
86
|
+
results: [
|
|
87
|
+
[a],
|
|
88
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
89
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
90
|
+
[g, i],
|
|
91
|
+
["https://translate-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
92
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
93
|
+
["https://translate-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
94
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
95
|
+
["https://translate.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
96
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
97
|
+
["https://translate.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
98
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
99
|
+
]
|
|
100
|
+
};
|
|
101
|
+
const root = 2;
|
|
102
|
+
const r = 100_000_000;
|
|
103
|
+
const nodes = new Int32Array([
|
|
104
|
+
-1, 1, -1,
|
|
105
|
+
0, 12, 3,
|
|
106
|
+
1, 4, r + 11,
|
|
107
|
+
2, 5, r + 11,
|
|
108
|
+
3, 8, 6,
|
|
109
|
+
4, 7, r + 10,
|
|
110
|
+
5, r + 8, r + 9,
|
|
111
|
+
4, 10, 9,
|
|
112
|
+
6, r + 6, r + 7,
|
|
113
|
+
5, 11, r + 5,
|
|
114
|
+
6, r + 4, r + 5,
|
|
115
|
+
3, r + 1, 13,
|
|
116
|
+
4, r + 2, r + 3,
|
|
117
|
+
]);
|
|
118
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
119
|
+
|
|
120
|
+
const cache = new EndpointCache({
|
|
121
|
+
size: 50,
|
|
122
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
123
|
+
});
|
|
124
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
125
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
126
|
+
endpointParams: endpointParams,
|
|
127
|
+
logger: context.logger,
|
|
128
|
+
}));
|
|
129
|
+
};
|
|
130
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
131
|
+
|
|
132
|
+
class TranslateServiceException extends ServiceException {
|
|
133
|
+
constructor(options) {
|
|
134
|
+
super(options);
|
|
135
|
+
Object.setPrototypeOf(this, TranslateServiceException.prototype);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
class ConcurrentModificationException extends TranslateServiceException {
|
|
140
|
+
name = "ConcurrentModificationException";
|
|
141
|
+
$fault = "client";
|
|
142
|
+
Message;
|
|
143
|
+
constructor(opts) {
|
|
144
|
+
super({
|
|
145
|
+
name: "ConcurrentModificationException",
|
|
146
|
+
$fault: "client",
|
|
147
|
+
...opts,
|
|
148
|
+
});
|
|
149
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
150
|
+
this.Message = opts.Message;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
class ConflictException extends TranslateServiceException {
|
|
154
|
+
name = "ConflictException";
|
|
155
|
+
$fault = "client";
|
|
156
|
+
Message;
|
|
157
|
+
constructor(opts) {
|
|
158
|
+
super({
|
|
159
|
+
name: "ConflictException",
|
|
160
|
+
$fault: "client",
|
|
161
|
+
...opts,
|
|
162
|
+
});
|
|
163
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
164
|
+
this.Message = opts.Message;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
class InternalServerException extends TranslateServiceException {
|
|
168
|
+
name = "InternalServerException";
|
|
169
|
+
$fault = "server";
|
|
170
|
+
Message;
|
|
171
|
+
constructor(opts) {
|
|
172
|
+
super({
|
|
173
|
+
name: "InternalServerException",
|
|
174
|
+
$fault: "server",
|
|
175
|
+
...opts,
|
|
176
|
+
});
|
|
177
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
178
|
+
this.Message = opts.Message;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
class InvalidParameterValueException extends TranslateServiceException {
|
|
182
|
+
name = "InvalidParameterValueException";
|
|
183
|
+
$fault = "client";
|
|
184
|
+
Message;
|
|
185
|
+
constructor(opts) {
|
|
186
|
+
super({
|
|
187
|
+
name: "InvalidParameterValueException",
|
|
188
|
+
$fault: "client",
|
|
189
|
+
...opts,
|
|
190
|
+
});
|
|
191
|
+
Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
|
|
192
|
+
this.Message = opts.Message;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
class InvalidRequestException extends TranslateServiceException {
|
|
196
|
+
name = "InvalidRequestException";
|
|
197
|
+
$fault = "client";
|
|
198
|
+
Message;
|
|
199
|
+
constructor(opts) {
|
|
200
|
+
super({
|
|
201
|
+
name: "InvalidRequestException",
|
|
202
|
+
$fault: "client",
|
|
203
|
+
...opts,
|
|
204
|
+
});
|
|
205
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
206
|
+
this.Message = opts.Message;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
class LimitExceededException extends TranslateServiceException {
|
|
210
|
+
name = "LimitExceededException";
|
|
211
|
+
$fault = "client";
|
|
212
|
+
Message;
|
|
213
|
+
constructor(opts) {
|
|
214
|
+
super({
|
|
215
|
+
name: "LimitExceededException",
|
|
216
|
+
$fault: "client",
|
|
217
|
+
...opts,
|
|
218
|
+
});
|
|
219
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
220
|
+
this.Message = opts.Message;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
class TooManyRequestsException extends TranslateServiceException {
|
|
224
|
+
name = "TooManyRequestsException";
|
|
225
|
+
$fault = "client";
|
|
226
|
+
Message;
|
|
227
|
+
constructor(opts) {
|
|
228
|
+
super({
|
|
229
|
+
name: "TooManyRequestsException",
|
|
230
|
+
$fault: "client",
|
|
231
|
+
...opts,
|
|
232
|
+
});
|
|
233
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
234
|
+
this.Message = opts.Message;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
class TooManyTagsException extends TranslateServiceException {
|
|
238
|
+
name = "TooManyTagsException";
|
|
239
|
+
$fault = "client";
|
|
240
|
+
ResourceArn;
|
|
241
|
+
constructor(opts) {
|
|
242
|
+
super({
|
|
243
|
+
name: "TooManyTagsException",
|
|
244
|
+
$fault: "client",
|
|
245
|
+
...opts,
|
|
246
|
+
});
|
|
247
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
248
|
+
this.ResourceArn = opts.ResourceArn;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
class ResourceNotFoundException extends TranslateServiceException {
|
|
252
|
+
name = "ResourceNotFoundException";
|
|
253
|
+
$fault = "client";
|
|
254
|
+
Message;
|
|
255
|
+
constructor(opts) {
|
|
256
|
+
super({
|
|
257
|
+
name: "ResourceNotFoundException",
|
|
258
|
+
$fault: "client",
|
|
259
|
+
...opts,
|
|
260
|
+
});
|
|
261
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
262
|
+
this.Message = opts.Message;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
class UnsupportedDisplayLanguageCodeException extends TranslateServiceException {
|
|
266
|
+
name = "UnsupportedDisplayLanguageCodeException";
|
|
267
|
+
$fault = "client";
|
|
268
|
+
Message;
|
|
269
|
+
DisplayLanguageCode;
|
|
270
|
+
constructor(opts) {
|
|
271
|
+
super({
|
|
272
|
+
name: "UnsupportedDisplayLanguageCodeException",
|
|
273
|
+
$fault: "client",
|
|
274
|
+
...opts,
|
|
275
|
+
});
|
|
276
|
+
Object.setPrototypeOf(this, UnsupportedDisplayLanguageCodeException.prototype);
|
|
277
|
+
this.Message = opts.Message;
|
|
278
|
+
this.DisplayLanguageCode = opts.DisplayLanguageCode;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
class InvalidFilterException extends TranslateServiceException {
|
|
282
|
+
name = "InvalidFilterException";
|
|
283
|
+
$fault = "client";
|
|
284
|
+
Message;
|
|
285
|
+
constructor(opts) {
|
|
286
|
+
super({
|
|
287
|
+
name: "InvalidFilterException",
|
|
288
|
+
$fault: "client",
|
|
289
|
+
...opts,
|
|
290
|
+
});
|
|
291
|
+
Object.setPrototypeOf(this, InvalidFilterException.prototype);
|
|
292
|
+
this.Message = opts.Message;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
class UnsupportedLanguagePairException extends TranslateServiceException {
|
|
296
|
+
name = "UnsupportedLanguagePairException";
|
|
297
|
+
$fault = "client";
|
|
298
|
+
Message;
|
|
299
|
+
SourceLanguageCode;
|
|
300
|
+
TargetLanguageCode;
|
|
301
|
+
constructor(opts) {
|
|
302
|
+
super({
|
|
303
|
+
name: "UnsupportedLanguagePairException",
|
|
304
|
+
$fault: "client",
|
|
305
|
+
...opts,
|
|
306
|
+
});
|
|
307
|
+
Object.setPrototypeOf(this, UnsupportedLanguagePairException.prototype);
|
|
308
|
+
this.Message = opts.Message;
|
|
309
|
+
this.SourceLanguageCode = opts.SourceLanguageCode;
|
|
310
|
+
this.TargetLanguageCode = opts.TargetLanguageCode;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
class ServiceUnavailableException extends TranslateServiceException {
|
|
314
|
+
name = "ServiceUnavailableException";
|
|
315
|
+
$fault = "server";
|
|
316
|
+
Message;
|
|
317
|
+
constructor(opts) {
|
|
318
|
+
super({
|
|
319
|
+
name: "ServiceUnavailableException",
|
|
320
|
+
$fault: "server",
|
|
321
|
+
...opts,
|
|
322
|
+
});
|
|
323
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
324
|
+
this.Message = opts.Message;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
class DetectedLanguageLowConfidenceException extends TranslateServiceException {
|
|
328
|
+
name = "DetectedLanguageLowConfidenceException";
|
|
329
|
+
$fault = "client";
|
|
330
|
+
Message;
|
|
331
|
+
DetectedLanguageCode;
|
|
332
|
+
constructor(opts) {
|
|
333
|
+
super({
|
|
334
|
+
name: "DetectedLanguageLowConfidenceException",
|
|
335
|
+
$fault: "client",
|
|
336
|
+
...opts,
|
|
337
|
+
});
|
|
338
|
+
Object.setPrototypeOf(this, DetectedLanguageLowConfidenceException.prototype);
|
|
339
|
+
this.Message = opts.Message;
|
|
340
|
+
this.DetectedLanguageCode = opts.DetectedLanguageCode;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
class TextSizeLimitExceededException extends TranslateServiceException {
|
|
344
|
+
name = "TextSizeLimitExceededException";
|
|
345
|
+
$fault = "client";
|
|
346
|
+
Message;
|
|
347
|
+
constructor(opts) {
|
|
348
|
+
super({
|
|
349
|
+
name: "TextSizeLimitExceededException",
|
|
350
|
+
$fault: "client",
|
|
351
|
+
...opts,
|
|
352
|
+
});
|
|
353
|
+
Object.setPrototypeOf(this, TextSizeLimitExceededException.prototype);
|
|
354
|
+
this.Message = opts.Message;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
const _A = "Arn";
|
|
359
|
+
const _ADL = "AuxiliaryDataLocation";
|
|
360
|
+
const _AS = "AppliedSettings";
|
|
361
|
+
const _AT = "AppliedTerminology";
|
|
362
|
+
const _ATL = "AppliedTerminologyList";
|
|
363
|
+
const _ATp = "AppliedTerminologies";
|
|
364
|
+
const _B = "Brevity";
|
|
365
|
+
const _C = "Content";
|
|
366
|
+
const _CA = "CreatedAt";
|
|
367
|
+
const _CE = "ConflictException";
|
|
368
|
+
const _CME = "ConcurrentModificationException";
|
|
369
|
+
const _CPD = "CreateParallelData";
|
|
370
|
+
const _CPDR = "CreateParallelDataRequest";
|
|
371
|
+
const _CPDRr = "CreateParallelDataResponse";
|
|
372
|
+
const _CT = "ClientToken";
|
|
373
|
+
const _CTo = "ContentType";
|
|
374
|
+
const _D = "Description";
|
|
375
|
+
const _DARA = "DataAccessRoleArn";
|
|
376
|
+
const _DC = "DocumentContent";
|
|
377
|
+
const _DL = "DataLocation";
|
|
378
|
+
const _DLC = "DetectedLanguageCode";
|
|
379
|
+
const _DLCi = "DisplayLanguageCode";
|
|
380
|
+
const _DLLCE = "DetectedLanguageLowConfidenceException";
|
|
381
|
+
const _DPD = "DeleteParallelData";
|
|
382
|
+
const _DPDR = "DeleteParallelDataRequest";
|
|
383
|
+
const _DPDRe = "DeleteParallelDataResponse";
|
|
384
|
+
const _DT = "DeleteTerminology";
|
|
385
|
+
const _DTR = "DeleteTerminologyRequest";
|
|
386
|
+
const _DTTJ = "DescribeTextTranslationJob";
|
|
387
|
+
const _DTTJR = "DescribeTextTranslationJobRequest";
|
|
388
|
+
const _DTTJRe = "DescribeTextTranslationJobResponse";
|
|
389
|
+
const _DWEC = "DocumentsWithErrorsCount";
|
|
390
|
+
const _Di = "Directionality";
|
|
391
|
+
const _Do = "Document";
|
|
392
|
+
const _EK = "EncryptionKey";
|
|
393
|
+
const _ET = "EndTime";
|
|
394
|
+
const _F = "Filter";
|
|
395
|
+
const _FRC = "FailedRecordCount";
|
|
396
|
+
const _Fi = "File";
|
|
397
|
+
const _Fo = "Format";
|
|
398
|
+
const _For = "Formality";
|
|
399
|
+
const _GPD = "GetParallelData";
|
|
400
|
+
const _GPDR = "GetParallelDataRequest";
|
|
401
|
+
const _GPDRe = "GetParallelDataResponse";
|
|
402
|
+
const _GT = "GetTerminology";
|
|
403
|
+
const _GTR = "GetTerminologyRequest";
|
|
404
|
+
const _GTRe = "GetTerminologyResponse";
|
|
405
|
+
const _I = "Id";
|
|
406
|
+
const _IDC = "InputDataConfig";
|
|
407
|
+
const _IDCn = "InputDocumentsCount";
|
|
408
|
+
const _IDS = "ImportedDataSize";
|
|
409
|
+
const _IFE = "InvalidFilterException";
|
|
410
|
+
const _IPVE = "InvalidParameterValueException";
|
|
411
|
+
const _IRC = "ImportedRecordCount";
|
|
412
|
+
const _IRE = "InvalidRequestException";
|
|
413
|
+
const _ISE = "InternalServerException";
|
|
414
|
+
const _IT = "ImportTerminology";
|
|
415
|
+
const _ITR = "ImportTerminologyRequest";
|
|
416
|
+
const _ITRm = "ImportTerminologyResponse";
|
|
417
|
+
const _JD = "JobDetails";
|
|
418
|
+
const _JI = "JobId";
|
|
419
|
+
const _JN = "JobName";
|
|
420
|
+
const _JS = "JobStatus";
|
|
421
|
+
const _K = "Key";
|
|
422
|
+
const _L = "Language";
|
|
423
|
+
const _LC = "LanguageCode";
|
|
424
|
+
const _LEE = "LimitExceededException";
|
|
425
|
+
const _LL = "LanguagesList";
|
|
426
|
+
const _LLR = "ListLanguagesRequest";
|
|
427
|
+
const _LLRi = "ListLanguagesResponse";
|
|
428
|
+
const _LLi = "ListLanguages";
|
|
429
|
+
const _LN = "LanguageName";
|
|
430
|
+
const _LPD = "ListParallelData";
|
|
431
|
+
const _LPDR = "ListParallelDataRequest";
|
|
432
|
+
const _LPDRi = "ListParallelDataResponse";
|
|
433
|
+
const _LT = "ListTerminologies";
|
|
434
|
+
const _LTFR = "ListTagsForResource";
|
|
435
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
436
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
437
|
+
const _LTR = "ListTerminologiesRequest";
|
|
438
|
+
const _LTRi = "ListTerminologiesResponse";
|
|
439
|
+
const _LTTJ = "ListTextTranslationJobs";
|
|
440
|
+
const _LTTJR = "ListTextTranslationJobsRequest";
|
|
441
|
+
const _LTTJRi = "ListTextTranslationJobsResponse";
|
|
442
|
+
const _LUA = "LastUpdatedAt";
|
|
443
|
+
const _LUAA = "LatestUpdateAttemptAt";
|
|
444
|
+
const _LUAADL = "LatestUpdateAttemptAuxiliaryDataLocation";
|
|
445
|
+
const _LUAS = "LatestUpdateAttemptStatus";
|
|
446
|
+
const _La = "Languages";
|
|
447
|
+
const _Lo = "Location";
|
|
448
|
+
const _M = "Message";
|
|
449
|
+
const _MR = "MaxResults";
|
|
450
|
+
const _MS = "MergeStrategy";
|
|
451
|
+
const _N = "Name";
|
|
452
|
+
const _NT = "NextToken";
|
|
453
|
+
const _ODC = "OutputDataConfig";
|
|
454
|
+
const _P = "Profanity";
|
|
455
|
+
const _PDC = "ParallelDataConfig";
|
|
456
|
+
const _PDDL = "ParallelDataDataLocation";
|
|
457
|
+
const _PDN = "ParallelDataNames";
|
|
458
|
+
const _PDP = "ParallelDataProperties";
|
|
459
|
+
const _PDPL = "ParallelDataPropertiesList";
|
|
460
|
+
const _RA = "ResourceArn";
|
|
461
|
+
const _RNFE = "ResourceNotFoundException";
|
|
462
|
+
const _RT = "RepositoryType";
|
|
463
|
+
const _S = "Status";
|
|
464
|
+
const _SAT = "SubmittedAfterTime";
|
|
465
|
+
const _SB = "SizeBytes";
|
|
466
|
+
const _SBT = "SubmittedBeforeTime";
|
|
467
|
+
const _SLC = "SourceLanguageCode";
|
|
468
|
+
const _SRC = "SkippedRecordCount";
|
|
469
|
+
const _ST = "SourceText";
|
|
470
|
+
const _STC = "SkippedTermCount";
|
|
471
|
+
const _STTJ = "StartTextTranslationJob";
|
|
472
|
+
const _STTJR = "StartTextTranslationJobRequest";
|
|
473
|
+
const _STTJRt = "StartTextTranslationJobResponse";
|
|
474
|
+
const _STTJRto = "StopTextTranslationJobRequest";
|
|
475
|
+
const _STTJRtop = "StopTextTranslationJobResponse";
|
|
476
|
+
const _STTJt = "StopTextTranslationJob";
|
|
477
|
+
const _STu = "SubmittedTime";
|
|
478
|
+
const _SU = "S3Uri";
|
|
479
|
+
const _SUE = "ServiceUnavailableException";
|
|
480
|
+
const _Se = "Settings";
|
|
481
|
+
const _T = "Terms";
|
|
482
|
+
const _TC = "TermCount";
|
|
483
|
+
const _TD = "TerminologyData";
|
|
484
|
+
const _TDC = "TranslatedDocumentContent";
|
|
485
|
+
const _TDCr = "TranslatedDocumentsCount";
|
|
486
|
+
const _TDF = "TerminologyDataFormat";
|
|
487
|
+
const _TDL = "TerminologyDataLocation";
|
|
488
|
+
const _TDR = "TranslateDocumentRequest";
|
|
489
|
+
const _TDRr = "TranslateDocumentResponse";
|
|
490
|
+
const _TDr = "TranslatedDocument";
|
|
491
|
+
const _TDra = "TranslateDocument";
|
|
492
|
+
const _TF = "TerminologyFile";
|
|
493
|
+
const _TK = "TagKeys";
|
|
494
|
+
const _TL = "TagList";
|
|
495
|
+
const _TLC = "TargetLanguageCode";
|
|
496
|
+
const _TLCa = "TargetLanguageCodes";
|
|
497
|
+
const _TLe = "TermList";
|
|
498
|
+
const _TMRE = "TooManyRequestsException";
|
|
499
|
+
const _TMTE = "TooManyTagsException";
|
|
500
|
+
const _TN = "TerminologyNames";
|
|
501
|
+
const _TP = "TerminologyProperties";
|
|
502
|
+
const _TPL = "TerminologyPropertiesList";
|
|
503
|
+
const _TR = "TagResource";
|
|
504
|
+
const _TRR = "TagResourceRequest";
|
|
505
|
+
const _TRRa = "TagResourceResponse";
|
|
506
|
+
const _TS = "TranslationSettings";
|
|
507
|
+
const _TSLEE = "TextSizeLimitExceededException";
|
|
508
|
+
const _TT = "TargetText";
|
|
509
|
+
const _TTJF = "TextTranslationJobFilter";
|
|
510
|
+
const _TTJP = "TextTranslationJobProperties";
|
|
511
|
+
const _TTJPL = "TextTranslationJobPropertiesList";
|
|
512
|
+
const _TTR = "TranslateTextRequest";
|
|
513
|
+
const _TTRr = "TranslateTextResponse";
|
|
514
|
+
const _TTr = "TranslatedText";
|
|
515
|
+
const _TTra = "TranslateText";
|
|
516
|
+
const _Ta = "Tags";
|
|
517
|
+
const _Tag = "Tag";
|
|
518
|
+
const _Te = "Term";
|
|
519
|
+
const _Tex = "Text";
|
|
520
|
+
const _Ty = "Type";
|
|
521
|
+
const _UDLCE = "UnsupportedDisplayLanguageCodeException";
|
|
522
|
+
const _ULPE = "UnsupportedLanguagePairException";
|
|
523
|
+
const _UPD = "UpdateParallelData";
|
|
524
|
+
const _UPDR = "UpdateParallelDataRequest";
|
|
525
|
+
const _UPDRp = "UpdateParallelDataResponse";
|
|
526
|
+
const _UR = "UntagResource";
|
|
527
|
+
const _URR = "UntagResourceRequest";
|
|
528
|
+
const _URRn = "UntagResourceResponse";
|
|
529
|
+
const _V = "Value";
|
|
530
|
+
const _c = "client";
|
|
531
|
+
const _e = "error";
|
|
532
|
+
const _hE = "httpError";
|
|
533
|
+
const _m = "message";
|
|
534
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.translate";
|
|
535
|
+
const _se = "server";
|
|
536
|
+
const n0 = "com.amazonaws.translate";
|
|
537
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
538
|
+
var TranslateServiceException$ = [-3, _s, "TranslateServiceException", 0, [], []];
|
|
539
|
+
_s_registry.registerError(TranslateServiceException$, TranslateServiceException);
|
|
540
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
541
|
+
var ConcurrentModificationException$ = [-3, n0, _CME,
|
|
542
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
543
|
+
[_M],
|
|
544
|
+
[0]
|
|
545
|
+
];
|
|
546
|
+
n0_registry.registerError(ConcurrentModificationException$, ConcurrentModificationException);
|
|
547
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
548
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
549
|
+
[_M],
|
|
550
|
+
[0]
|
|
551
|
+
];
|
|
552
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
553
|
+
var DetectedLanguageLowConfidenceException$ = [-3, n0, _DLLCE,
|
|
554
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
555
|
+
[_M, _DLC],
|
|
556
|
+
[0, 0]
|
|
557
|
+
];
|
|
558
|
+
n0_registry.registerError(DetectedLanguageLowConfidenceException$, DetectedLanguageLowConfidenceException);
|
|
559
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
560
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
561
|
+
[_M],
|
|
562
|
+
[0]
|
|
563
|
+
];
|
|
564
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
565
|
+
var InvalidFilterException$ = [-3, n0, _IFE,
|
|
566
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
567
|
+
[_M],
|
|
568
|
+
[0]
|
|
569
|
+
];
|
|
570
|
+
n0_registry.registerError(InvalidFilterException$, InvalidFilterException);
|
|
571
|
+
var InvalidParameterValueException$ = [-3, n0, _IPVE,
|
|
572
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
573
|
+
[_M],
|
|
574
|
+
[0]
|
|
575
|
+
];
|
|
576
|
+
n0_registry.registerError(InvalidParameterValueException$, InvalidParameterValueException);
|
|
577
|
+
var InvalidRequestException$ = [-3, n0, _IRE,
|
|
578
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
579
|
+
[_M],
|
|
580
|
+
[0]
|
|
581
|
+
];
|
|
582
|
+
n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
|
|
583
|
+
var LimitExceededException$ = [-3, n0, _LEE,
|
|
584
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
585
|
+
[_M],
|
|
586
|
+
[0]
|
|
587
|
+
];
|
|
588
|
+
n0_registry.registerError(LimitExceededException$, LimitExceededException);
|
|
589
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
590
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
591
|
+
[_M],
|
|
592
|
+
[0]
|
|
593
|
+
];
|
|
594
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
595
|
+
var ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
596
|
+
{ [_e]: _se, [_hE]: 503 },
|
|
597
|
+
[_M],
|
|
598
|
+
[0]
|
|
599
|
+
];
|
|
600
|
+
n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
601
|
+
var TextSizeLimitExceededException$ = [-3, n0, _TSLEE,
|
|
602
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
603
|
+
[_M],
|
|
604
|
+
[0]
|
|
605
|
+
];
|
|
606
|
+
n0_registry.registerError(TextSizeLimitExceededException$, TextSizeLimitExceededException);
|
|
607
|
+
var TooManyRequestsException$ = [-3, n0, _TMRE,
|
|
608
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
609
|
+
[_M],
|
|
610
|
+
[0]
|
|
611
|
+
];
|
|
612
|
+
n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
|
|
613
|
+
var TooManyTagsException$ = [-3, n0, _TMTE,
|
|
614
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
615
|
+
[_m, _RA],
|
|
616
|
+
[0, 0]
|
|
617
|
+
];
|
|
618
|
+
n0_registry.registerError(TooManyTagsException$, TooManyTagsException);
|
|
619
|
+
var UnsupportedDisplayLanguageCodeException$ = [-3, n0, _UDLCE,
|
|
620
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
621
|
+
[_M, _DLCi],
|
|
622
|
+
[0, 0]
|
|
623
|
+
];
|
|
624
|
+
n0_registry.registerError(UnsupportedDisplayLanguageCodeException$, UnsupportedDisplayLanguageCodeException);
|
|
625
|
+
var UnsupportedLanguagePairException$ = [-3, n0, _ULPE,
|
|
626
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
627
|
+
[_M, _SLC, _TLC],
|
|
628
|
+
[0, 0, 0]
|
|
629
|
+
];
|
|
630
|
+
n0_registry.registerError(UnsupportedLanguagePairException$, UnsupportedLanguagePairException);
|
|
631
|
+
const errorTypeRegistries = [
|
|
632
|
+
_s_registry,
|
|
633
|
+
n0_registry,
|
|
634
|
+
];
|
|
635
|
+
var DocumentContent = [0, n0, _DC, 8, 21];
|
|
636
|
+
var TerminologyFile = [0, n0, _TF, 8, 21];
|
|
637
|
+
var TranslatedDocumentContent = [0, n0, _TDC, 8, 21];
|
|
638
|
+
var AppliedTerminology$ = [3, n0, _AT,
|
|
639
|
+
0,
|
|
640
|
+
[_N, _T],
|
|
641
|
+
[0, () => TermList]
|
|
642
|
+
];
|
|
643
|
+
var CreateParallelDataRequest$ = [3, n0, _CPDR,
|
|
644
|
+
0,
|
|
645
|
+
[_N, _PDC, _D, _EK, _CT, _Ta],
|
|
646
|
+
[0, () => ParallelDataConfig$, 0, () => EncryptionKey$, [0, 4], () => TagList], 2
|
|
647
|
+
];
|
|
648
|
+
var CreateParallelDataResponse$ = [3, n0, _CPDRr,
|
|
649
|
+
0,
|
|
650
|
+
[_N, _S],
|
|
651
|
+
[0, 0]
|
|
652
|
+
];
|
|
653
|
+
var DeleteParallelDataRequest$ = [3, n0, _DPDR,
|
|
654
|
+
0,
|
|
655
|
+
[_N],
|
|
656
|
+
[0], 1
|
|
657
|
+
];
|
|
658
|
+
var DeleteParallelDataResponse$ = [3, n0, _DPDRe,
|
|
659
|
+
0,
|
|
660
|
+
[_N, _S],
|
|
661
|
+
[0, 0]
|
|
662
|
+
];
|
|
663
|
+
var DeleteTerminologyRequest$ = [3, n0, _DTR,
|
|
664
|
+
0,
|
|
665
|
+
[_N],
|
|
666
|
+
[0], 1
|
|
667
|
+
];
|
|
668
|
+
var DescribeTextTranslationJobRequest$ = [3, n0, _DTTJR,
|
|
669
|
+
0,
|
|
670
|
+
[_JI],
|
|
671
|
+
[0], 1
|
|
672
|
+
];
|
|
673
|
+
var DescribeTextTranslationJobResponse$ = [3, n0, _DTTJRe,
|
|
674
|
+
0,
|
|
675
|
+
[_TTJP],
|
|
676
|
+
[() => TextTranslationJobProperties$]
|
|
677
|
+
];
|
|
678
|
+
var Document$ = [3, n0, _Do,
|
|
679
|
+
0,
|
|
680
|
+
[_C, _CTo],
|
|
681
|
+
[[() => DocumentContent, 0], 0], 2
|
|
682
|
+
];
|
|
683
|
+
var EncryptionKey$ = [3, n0, _EK,
|
|
684
|
+
0,
|
|
685
|
+
[_Ty, _I],
|
|
686
|
+
[0, 0], 2
|
|
687
|
+
];
|
|
688
|
+
var GetParallelDataRequest$ = [3, n0, _GPDR,
|
|
689
|
+
0,
|
|
690
|
+
[_N],
|
|
691
|
+
[0], 1
|
|
692
|
+
];
|
|
693
|
+
var GetParallelDataResponse$ = [3, n0, _GPDRe,
|
|
694
|
+
0,
|
|
695
|
+
[_PDP, _DL, _ADL, _LUAADL],
|
|
696
|
+
[() => ParallelDataProperties$, () => ParallelDataDataLocation$, () => ParallelDataDataLocation$, () => ParallelDataDataLocation$]
|
|
697
|
+
];
|
|
698
|
+
var GetTerminologyRequest$ = [3, n0, _GTR,
|
|
699
|
+
0,
|
|
700
|
+
[_N, _TDF],
|
|
701
|
+
[0, 0], 1
|
|
702
|
+
];
|
|
703
|
+
var GetTerminologyResponse$ = [3, n0, _GTRe,
|
|
704
|
+
0,
|
|
705
|
+
[_TP, _TDL, _ADL],
|
|
706
|
+
[() => TerminologyProperties$, () => TerminologyDataLocation$, () => TerminologyDataLocation$]
|
|
707
|
+
];
|
|
708
|
+
var ImportTerminologyRequest$ = [3, n0, _ITR,
|
|
709
|
+
0,
|
|
710
|
+
[_N, _MS, _TD, _D, _EK, _Ta],
|
|
711
|
+
[0, 0, [() => TerminologyData$, 0], 0, () => EncryptionKey$, () => TagList], 3
|
|
712
|
+
];
|
|
713
|
+
var ImportTerminologyResponse$ = [3, n0, _ITRm,
|
|
714
|
+
0,
|
|
715
|
+
[_TP, _ADL],
|
|
716
|
+
[() => TerminologyProperties$, () => TerminologyDataLocation$]
|
|
717
|
+
];
|
|
718
|
+
var InputDataConfig$ = [3, n0, _IDC,
|
|
719
|
+
0,
|
|
720
|
+
[_SU, _CTo],
|
|
721
|
+
[0, 0], 2
|
|
722
|
+
];
|
|
723
|
+
var JobDetails$ = [3, n0, _JD,
|
|
724
|
+
0,
|
|
725
|
+
[_TDCr, _DWEC, _IDCn],
|
|
726
|
+
[1, 1, 1]
|
|
727
|
+
];
|
|
728
|
+
var Language$ = [3, n0, _L,
|
|
729
|
+
0,
|
|
730
|
+
[_LN, _LC],
|
|
731
|
+
[0, 0], 2
|
|
732
|
+
];
|
|
733
|
+
var ListLanguagesRequest$ = [3, n0, _LLR,
|
|
734
|
+
0,
|
|
735
|
+
[_DLCi, _NT, _MR],
|
|
736
|
+
[0, 0, 1]
|
|
737
|
+
];
|
|
738
|
+
var ListLanguagesResponse$ = [3, n0, _LLRi,
|
|
739
|
+
0,
|
|
740
|
+
[_La, _DLCi, _NT],
|
|
741
|
+
[() => LanguagesList, 0, 0]
|
|
742
|
+
];
|
|
743
|
+
var ListParallelDataRequest$ = [3, n0, _LPDR,
|
|
744
|
+
0,
|
|
745
|
+
[_NT, _MR],
|
|
746
|
+
[0, 1]
|
|
747
|
+
];
|
|
748
|
+
var ListParallelDataResponse$ = [3, n0, _LPDRi,
|
|
749
|
+
0,
|
|
750
|
+
[_PDPL, _NT],
|
|
751
|
+
[() => ParallelDataPropertiesList, 0]
|
|
752
|
+
];
|
|
753
|
+
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
754
|
+
0,
|
|
755
|
+
[_RA],
|
|
756
|
+
[0], 1
|
|
757
|
+
];
|
|
758
|
+
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
759
|
+
0,
|
|
760
|
+
[_Ta],
|
|
761
|
+
[() => TagList]
|
|
762
|
+
];
|
|
763
|
+
var ListTerminologiesRequest$ = [3, n0, _LTR,
|
|
764
|
+
0,
|
|
765
|
+
[_NT, _MR],
|
|
766
|
+
[0, 1]
|
|
767
|
+
];
|
|
768
|
+
var ListTerminologiesResponse$ = [3, n0, _LTRi,
|
|
769
|
+
0,
|
|
770
|
+
[_TPL, _NT],
|
|
771
|
+
[() => TerminologyPropertiesList, 0]
|
|
772
|
+
];
|
|
773
|
+
var ListTextTranslationJobsRequest$ = [3, n0, _LTTJR,
|
|
774
|
+
0,
|
|
775
|
+
[_F, _NT, _MR],
|
|
776
|
+
[() => TextTranslationJobFilter$, 0, 1]
|
|
777
|
+
];
|
|
778
|
+
var ListTextTranslationJobsResponse$ = [3, n0, _LTTJRi,
|
|
779
|
+
0,
|
|
780
|
+
[_TTJPL, _NT],
|
|
781
|
+
[() => TextTranslationJobPropertiesList, 0]
|
|
782
|
+
];
|
|
783
|
+
var OutputDataConfig$ = [3, n0, _ODC,
|
|
784
|
+
0,
|
|
785
|
+
[_SU, _EK],
|
|
786
|
+
[0, () => EncryptionKey$], 1
|
|
787
|
+
];
|
|
788
|
+
var ParallelDataConfig$ = [3, n0, _PDC,
|
|
789
|
+
0,
|
|
790
|
+
[_SU, _Fo],
|
|
791
|
+
[0, 0]
|
|
792
|
+
];
|
|
793
|
+
var ParallelDataDataLocation$ = [3, n0, _PDDL,
|
|
794
|
+
0,
|
|
795
|
+
[_RT, _Lo],
|
|
796
|
+
[0, 0], 2
|
|
797
|
+
];
|
|
798
|
+
var ParallelDataProperties$ = [3, n0, _PDP,
|
|
799
|
+
0,
|
|
800
|
+
[_N, _A, _D, _S, _SLC, _TLCa, _PDC, _M, _IDS, _IRC, _FRC, _SRC, _EK, _CA, _LUA, _LUAS, _LUAA],
|
|
801
|
+
[0, 0, 0, 0, 0, 64 | 0, () => ParallelDataConfig$, 0, 1, 1, 1, 1, () => EncryptionKey$, 4, 4, 0, 4]
|
|
802
|
+
];
|
|
803
|
+
var StartTextTranslationJobRequest$ = [3, n0, _STTJR,
|
|
804
|
+
0,
|
|
805
|
+
[_IDC, _ODC, _DARA, _SLC, _TLCa, _JN, _TN, _PDN, _CT, _Se],
|
|
806
|
+
[() => InputDataConfig$, () => OutputDataConfig$, 0, 0, 64 | 0, 0, 64 | 0, 64 | 0, [0, 4], () => TranslationSettings$], 5
|
|
807
|
+
];
|
|
808
|
+
var StartTextTranslationJobResponse$ = [3, n0, _STTJRt,
|
|
809
|
+
0,
|
|
810
|
+
[_JI, _JS],
|
|
811
|
+
[0, 0]
|
|
812
|
+
];
|
|
813
|
+
var StopTextTranslationJobRequest$ = [3, n0, _STTJRto,
|
|
814
|
+
0,
|
|
815
|
+
[_JI],
|
|
816
|
+
[0], 1
|
|
817
|
+
];
|
|
818
|
+
var StopTextTranslationJobResponse$ = [3, n0, _STTJRtop,
|
|
819
|
+
0,
|
|
820
|
+
[_JI, _JS],
|
|
821
|
+
[0, 0]
|
|
822
|
+
];
|
|
823
|
+
var Tag$ = [3, n0, _Tag,
|
|
824
|
+
0,
|
|
825
|
+
[_K, _V],
|
|
826
|
+
[0, 0], 2
|
|
827
|
+
];
|
|
828
|
+
var TagResourceRequest$ = [3, n0, _TRR,
|
|
829
|
+
0,
|
|
830
|
+
[_RA, _Ta],
|
|
831
|
+
[0, () => TagList], 2
|
|
832
|
+
];
|
|
833
|
+
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
834
|
+
0,
|
|
835
|
+
[],
|
|
836
|
+
[]
|
|
837
|
+
];
|
|
838
|
+
var Term$ = [3, n0, _Te,
|
|
839
|
+
0,
|
|
840
|
+
[_ST, _TT],
|
|
841
|
+
[0, 0]
|
|
842
|
+
];
|
|
843
|
+
var TerminologyData$ = [3, n0, _TD,
|
|
844
|
+
0,
|
|
845
|
+
[_Fi, _Fo, _Di],
|
|
846
|
+
[[() => TerminologyFile, 0], 0, 0], 2
|
|
847
|
+
];
|
|
848
|
+
var TerminologyDataLocation$ = [3, n0, _TDL,
|
|
849
|
+
0,
|
|
850
|
+
[_RT, _Lo],
|
|
851
|
+
[0, 0], 2
|
|
852
|
+
];
|
|
853
|
+
var TerminologyProperties$ = [3, n0, _TP,
|
|
854
|
+
0,
|
|
855
|
+
[_N, _D, _A, _SLC, _TLCa, _EK, _SB, _TC, _CA, _LUA, _Di, _M, _STC, _Fo],
|
|
856
|
+
[0, 0, 0, 0, 64 | 0, () => EncryptionKey$, 1, 1, 4, 4, 0, 0, 1, 0]
|
|
857
|
+
];
|
|
858
|
+
var TextTranslationJobFilter$ = [3, n0, _TTJF,
|
|
859
|
+
0,
|
|
860
|
+
[_JN, _JS, _SBT, _SAT],
|
|
861
|
+
[0, 0, 4, 4]
|
|
862
|
+
];
|
|
863
|
+
var TextTranslationJobProperties$ = [3, n0, _TTJP,
|
|
864
|
+
0,
|
|
865
|
+
[_JI, _JN, _JS, _JD, _SLC, _TLCa, _TN, _PDN, _M, _STu, _ET, _IDC, _ODC, _DARA, _Se],
|
|
866
|
+
[0, 0, 0, () => JobDetails$, 0, 64 | 0, 64 | 0, 64 | 0, 0, 4, 4, () => InputDataConfig$, () => OutputDataConfig$, 0, () => TranslationSettings$]
|
|
867
|
+
];
|
|
868
|
+
var TranslatedDocument$ = [3, n0, _TDr,
|
|
869
|
+
0,
|
|
870
|
+
[_C],
|
|
871
|
+
[[() => TranslatedDocumentContent, 0]], 1
|
|
872
|
+
];
|
|
873
|
+
var TranslateDocumentRequest$ = [3, n0, _TDR,
|
|
874
|
+
0,
|
|
875
|
+
[_Do, _SLC, _TLC, _TN, _Se],
|
|
876
|
+
[[() => Document$, 0], 0, 0, 64 | 0, () => TranslationSettings$], 3
|
|
877
|
+
];
|
|
878
|
+
var TranslateDocumentResponse$ = [3, n0, _TDRr,
|
|
879
|
+
0,
|
|
880
|
+
[_TDr, _SLC, _TLC, _ATp, _AS],
|
|
881
|
+
[[() => TranslatedDocument$, 0], 0, 0, () => AppliedTerminologyList, () => TranslationSettings$], 3
|
|
882
|
+
];
|
|
883
|
+
var TranslateTextRequest$ = [3, n0, _TTR,
|
|
884
|
+
0,
|
|
885
|
+
[_Tex, _SLC, _TLC, _TN, _Se],
|
|
886
|
+
[0, 0, 0, 64 | 0, () => TranslationSettings$], 3
|
|
887
|
+
];
|
|
888
|
+
var TranslateTextResponse$ = [3, n0, _TTRr,
|
|
889
|
+
0,
|
|
890
|
+
[_TTr, _SLC, _TLC, _ATp, _AS],
|
|
891
|
+
[0, 0, 0, () => AppliedTerminologyList, () => TranslationSettings$], 3
|
|
892
|
+
];
|
|
893
|
+
var TranslationSettings$ = [3, n0, _TS,
|
|
894
|
+
0,
|
|
895
|
+
[_For, _P, _B],
|
|
896
|
+
[0, 0, 0]
|
|
897
|
+
];
|
|
898
|
+
var UntagResourceRequest$ = [3, n0, _URR,
|
|
899
|
+
0,
|
|
900
|
+
[_RA, _TK],
|
|
901
|
+
[0, 64 | 0], 2
|
|
902
|
+
];
|
|
903
|
+
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
904
|
+
0,
|
|
905
|
+
[],
|
|
906
|
+
[]
|
|
907
|
+
];
|
|
908
|
+
var UpdateParallelDataRequest$ = [3, n0, _UPDR,
|
|
909
|
+
0,
|
|
910
|
+
[_N, _PDC, _D, _CT],
|
|
911
|
+
[0, () => ParallelDataConfig$, 0, [0, 4]], 2
|
|
912
|
+
];
|
|
913
|
+
var UpdateParallelDataResponse$ = [3, n0, _UPDRp,
|
|
914
|
+
0,
|
|
915
|
+
[_N, _S, _LUAS, _LUAA],
|
|
916
|
+
[0, 0, 0, 4]
|
|
917
|
+
];
|
|
918
|
+
var __Unit = "unit";
|
|
919
|
+
var AppliedTerminologyList = [1, n0, _ATL,
|
|
920
|
+
0, () => AppliedTerminology$
|
|
921
|
+
];
|
|
922
|
+
var LanguagesList = [1, n0, _LL,
|
|
923
|
+
0, () => Language$
|
|
924
|
+
];
|
|
925
|
+
var ParallelDataPropertiesList = [1, n0, _PDPL,
|
|
926
|
+
0, () => ParallelDataProperties$
|
|
927
|
+
];
|
|
928
|
+
var TagList = [1, n0, _TL,
|
|
929
|
+
0, () => Tag$
|
|
930
|
+
];
|
|
931
|
+
var TerminologyPropertiesList = [1, n0, _TPL,
|
|
932
|
+
0, () => TerminologyProperties$
|
|
933
|
+
];
|
|
934
|
+
var TermList = [1, n0, _TLe,
|
|
935
|
+
0, () => Term$
|
|
936
|
+
];
|
|
937
|
+
var TextTranslationJobPropertiesList = [1, n0, _TTJPL,
|
|
938
|
+
0, () => TextTranslationJobProperties$
|
|
939
|
+
];
|
|
940
|
+
var CreateParallelData$ = [9, n0, _CPD,
|
|
941
|
+
0, () => CreateParallelDataRequest$, () => CreateParallelDataResponse$
|
|
942
|
+
];
|
|
943
|
+
var DeleteParallelData$ = [9, n0, _DPD,
|
|
944
|
+
0, () => DeleteParallelDataRequest$, () => DeleteParallelDataResponse$
|
|
945
|
+
];
|
|
946
|
+
var DeleteTerminology$ = [9, n0, _DT,
|
|
947
|
+
0, () => DeleteTerminologyRequest$, () => __Unit
|
|
948
|
+
];
|
|
949
|
+
var DescribeTextTranslationJob$ = [9, n0, _DTTJ,
|
|
950
|
+
0, () => DescribeTextTranslationJobRequest$, () => DescribeTextTranslationJobResponse$
|
|
951
|
+
];
|
|
952
|
+
var GetParallelData$ = [9, n0, _GPD,
|
|
953
|
+
0, () => GetParallelDataRequest$, () => GetParallelDataResponse$
|
|
954
|
+
];
|
|
955
|
+
var GetTerminology$ = [9, n0, _GT,
|
|
956
|
+
0, () => GetTerminologyRequest$, () => GetTerminologyResponse$
|
|
957
|
+
];
|
|
958
|
+
var ImportTerminology$ = [9, n0, _IT,
|
|
959
|
+
0, () => ImportTerminologyRequest$, () => ImportTerminologyResponse$
|
|
960
|
+
];
|
|
961
|
+
var ListLanguages$ = [9, n0, _LLi,
|
|
962
|
+
0, () => ListLanguagesRequest$, () => ListLanguagesResponse$
|
|
963
|
+
];
|
|
964
|
+
var ListParallelData$ = [9, n0, _LPD,
|
|
965
|
+
0, () => ListParallelDataRequest$, () => ListParallelDataResponse$
|
|
966
|
+
];
|
|
967
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
968
|
+
0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
969
|
+
];
|
|
970
|
+
var ListTerminologies$ = [9, n0, _LT,
|
|
971
|
+
0, () => ListTerminologiesRequest$, () => ListTerminologiesResponse$
|
|
972
|
+
];
|
|
973
|
+
var ListTextTranslationJobs$ = [9, n0, _LTTJ,
|
|
974
|
+
0, () => ListTextTranslationJobsRequest$, () => ListTextTranslationJobsResponse$
|
|
975
|
+
];
|
|
976
|
+
var StartTextTranslationJob$ = [9, n0, _STTJ,
|
|
977
|
+
0, () => StartTextTranslationJobRequest$, () => StartTextTranslationJobResponse$
|
|
978
|
+
];
|
|
979
|
+
var StopTextTranslationJob$ = [9, n0, _STTJt,
|
|
980
|
+
0, () => StopTextTranslationJobRequest$, () => StopTextTranslationJobResponse$
|
|
981
|
+
];
|
|
982
|
+
var TagResource$ = [9, n0, _TR,
|
|
983
|
+
0, () => TagResourceRequest$, () => TagResourceResponse$
|
|
984
|
+
];
|
|
985
|
+
var TranslateDocument$ = [9, n0, _TDra,
|
|
986
|
+
0, () => TranslateDocumentRequest$, () => TranslateDocumentResponse$
|
|
987
|
+
];
|
|
988
|
+
var TranslateText$ = [9, n0, _TTra,
|
|
989
|
+
0, () => TranslateTextRequest$, () => TranslateTextResponse$
|
|
990
|
+
];
|
|
991
|
+
var UntagResource$ = [9, n0, _UR,
|
|
992
|
+
0, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
993
|
+
];
|
|
994
|
+
var UpdateParallelData$ = [9, n0, _UPD,
|
|
995
|
+
0, () => UpdateParallelDataRequest$, () => UpdateParallelDataResponse$
|
|
996
|
+
];
|
|
997
|
+
|
|
998
|
+
const getRuntimeConfig$1 = (config) => {
|
|
999
|
+
return {
|
|
1000
|
+
apiVersion: "2017-07-01",
|
|
1001
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
1002
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
1003
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
1004
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
1005
|
+
extensions: config?.extensions ?? [],
|
|
1006
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultTranslateHttpAuthSchemeProvider,
|
|
1007
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
1008
|
+
{
|
|
1009
|
+
schemeId: "aws.auth#sigv4",
|
|
1010
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
1011
|
+
signer: new AwsSdkSigV4Signer(),
|
|
1012
|
+
},
|
|
1013
|
+
],
|
|
1014
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
1015
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
1016
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
1017
|
+
defaultNamespace: "com.amazonaws.translate",
|
|
1018
|
+
errorTypeRegistries,
|
|
1019
|
+
version: "2017-07-01",
|
|
1020
|
+
serviceTarget: "AWSShineFrontendService_20170701",
|
|
1021
|
+
},
|
|
1022
|
+
serviceId: config?.serviceId ?? "Translate",
|
|
1023
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
1024
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1025
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
1026
|
+
};
|
|
1027
|
+
};
|
|
1028
|
+
|
|
1029
|
+
const getRuntimeConfig = (config) => {
|
|
1030
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
1031
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
1032
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
1033
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
1034
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
1035
|
+
const loaderConfig = {
|
|
1036
|
+
profile: config?.profile,
|
|
1037
|
+
logger: clientSharedValues.logger,
|
|
1038
|
+
};
|
|
1039
|
+
return {
|
|
1040
|
+
...clientSharedValues,
|
|
1041
|
+
...config,
|
|
1042
|
+
runtime: "node",
|
|
1043
|
+
defaultsMode,
|
|
1044
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
1045
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
1046
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
1047
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
1048
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
1049
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
1050
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
1051
|
+
retryMode: config?.retryMode ??
|
|
1052
|
+
loadConfig({
|
|
1053
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1054
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1055
|
+
}, config),
|
|
1056
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1057
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1058
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1059
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1060
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
1061
|
+
};
|
|
1062
|
+
};
|
|
1063
|
+
|
|
34
1064
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
1065
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
1066
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -437,38 +1467,146 @@ const DisplayLanguageCode = {
|
|
|
437
1467
|
ZH_TW: "zh-TW",
|
|
438
1468
|
};
|
|
439
1469
|
|
|
1470
|
+
exports.AppliedTerminology$ = AppliedTerminology$;
|
|
440
1471
|
exports.Brevity = Brevity;
|
|
1472
|
+
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
1473
|
+
exports.ConcurrentModificationException$ = ConcurrentModificationException$;
|
|
1474
|
+
exports.ConflictException = ConflictException;
|
|
1475
|
+
exports.ConflictException$ = ConflictException$;
|
|
1476
|
+
exports.CreateParallelData$ = CreateParallelData$;
|
|
441
1477
|
exports.CreateParallelDataCommand = CreateParallelDataCommand;
|
|
1478
|
+
exports.CreateParallelDataRequest$ = CreateParallelDataRequest$;
|
|
1479
|
+
exports.CreateParallelDataResponse$ = CreateParallelDataResponse$;
|
|
1480
|
+
exports.DeleteParallelData$ = DeleteParallelData$;
|
|
442
1481
|
exports.DeleteParallelDataCommand = DeleteParallelDataCommand;
|
|
1482
|
+
exports.DeleteParallelDataRequest$ = DeleteParallelDataRequest$;
|
|
1483
|
+
exports.DeleteParallelDataResponse$ = DeleteParallelDataResponse$;
|
|
1484
|
+
exports.DeleteTerminology$ = DeleteTerminology$;
|
|
443
1485
|
exports.DeleteTerminologyCommand = DeleteTerminologyCommand;
|
|
1486
|
+
exports.DeleteTerminologyRequest$ = DeleteTerminologyRequest$;
|
|
1487
|
+
exports.DescribeTextTranslationJob$ = DescribeTextTranslationJob$;
|
|
444
1488
|
exports.DescribeTextTranslationJobCommand = DescribeTextTranslationJobCommand;
|
|
1489
|
+
exports.DescribeTextTranslationJobRequest$ = DescribeTextTranslationJobRequest$;
|
|
1490
|
+
exports.DescribeTextTranslationJobResponse$ = DescribeTextTranslationJobResponse$;
|
|
1491
|
+
exports.DetectedLanguageLowConfidenceException = DetectedLanguageLowConfidenceException;
|
|
1492
|
+
exports.DetectedLanguageLowConfidenceException$ = DetectedLanguageLowConfidenceException$;
|
|
445
1493
|
exports.Directionality = Directionality;
|
|
446
1494
|
exports.DisplayLanguageCode = DisplayLanguageCode;
|
|
1495
|
+
exports.Document$ = Document$;
|
|
1496
|
+
exports.EncryptionKey$ = EncryptionKey$;
|
|
447
1497
|
exports.EncryptionKeyType = EncryptionKeyType;
|
|
448
1498
|
exports.Formality = Formality;
|
|
1499
|
+
exports.GetParallelData$ = GetParallelData$;
|
|
449
1500
|
exports.GetParallelDataCommand = GetParallelDataCommand;
|
|
1501
|
+
exports.GetParallelDataRequest$ = GetParallelDataRequest$;
|
|
1502
|
+
exports.GetParallelDataResponse$ = GetParallelDataResponse$;
|
|
1503
|
+
exports.GetTerminology$ = GetTerminology$;
|
|
450
1504
|
exports.GetTerminologyCommand = GetTerminologyCommand;
|
|
1505
|
+
exports.GetTerminologyRequest$ = GetTerminologyRequest$;
|
|
1506
|
+
exports.GetTerminologyResponse$ = GetTerminologyResponse$;
|
|
1507
|
+
exports.ImportTerminology$ = ImportTerminology$;
|
|
451
1508
|
exports.ImportTerminologyCommand = ImportTerminologyCommand;
|
|
1509
|
+
exports.ImportTerminologyRequest$ = ImportTerminologyRequest$;
|
|
1510
|
+
exports.ImportTerminologyResponse$ = ImportTerminologyResponse$;
|
|
1511
|
+
exports.InputDataConfig$ = InputDataConfig$;
|
|
1512
|
+
exports.InternalServerException = InternalServerException;
|
|
1513
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
1514
|
+
exports.InvalidFilterException = InvalidFilterException;
|
|
1515
|
+
exports.InvalidFilterException$ = InvalidFilterException$;
|
|
1516
|
+
exports.InvalidParameterValueException = InvalidParameterValueException;
|
|
1517
|
+
exports.InvalidParameterValueException$ = InvalidParameterValueException$;
|
|
1518
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
1519
|
+
exports.InvalidRequestException$ = InvalidRequestException$;
|
|
1520
|
+
exports.JobDetails$ = JobDetails$;
|
|
452
1521
|
exports.JobStatus = JobStatus;
|
|
1522
|
+
exports.Language$ = Language$;
|
|
1523
|
+
exports.LimitExceededException = LimitExceededException;
|
|
1524
|
+
exports.LimitExceededException$ = LimitExceededException$;
|
|
1525
|
+
exports.ListLanguages$ = ListLanguages$;
|
|
453
1526
|
exports.ListLanguagesCommand = ListLanguagesCommand;
|
|
1527
|
+
exports.ListLanguagesRequest$ = ListLanguagesRequest$;
|
|
1528
|
+
exports.ListLanguagesResponse$ = ListLanguagesResponse$;
|
|
1529
|
+
exports.ListParallelData$ = ListParallelData$;
|
|
454
1530
|
exports.ListParallelDataCommand = ListParallelDataCommand;
|
|
1531
|
+
exports.ListParallelDataRequest$ = ListParallelDataRequest$;
|
|
1532
|
+
exports.ListParallelDataResponse$ = ListParallelDataResponse$;
|
|
1533
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
455
1534
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1535
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
1536
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
1537
|
+
exports.ListTerminologies$ = ListTerminologies$;
|
|
456
1538
|
exports.ListTerminologiesCommand = ListTerminologiesCommand;
|
|
1539
|
+
exports.ListTerminologiesRequest$ = ListTerminologiesRequest$;
|
|
1540
|
+
exports.ListTerminologiesResponse$ = ListTerminologiesResponse$;
|
|
1541
|
+
exports.ListTextTranslationJobs$ = ListTextTranslationJobs$;
|
|
457
1542
|
exports.ListTextTranslationJobsCommand = ListTextTranslationJobsCommand;
|
|
1543
|
+
exports.ListTextTranslationJobsRequest$ = ListTextTranslationJobsRequest$;
|
|
1544
|
+
exports.ListTextTranslationJobsResponse$ = ListTextTranslationJobsResponse$;
|
|
458
1545
|
exports.MergeStrategy = MergeStrategy;
|
|
1546
|
+
exports.OutputDataConfig$ = OutputDataConfig$;
|
|
1547
|
+
exports.ParallelDataConfig$ = ParallelDataConfig$;
|
|
1548
|
+
exports.ParallelDataDataLocation$ = ParallelDataDataLocation$;
|
|
459
1549
|
exports.ParallelDataFormat = ParallelDataFormat;
|
|
1550
|
+
exports.ParallelDataProperties$ = ParallelDataProperties$;
|
|
460
1551
|
exports.ParallelDataStatus = ParallelDataStatus;
|
|
461
1552
|
exports.Profanity = Profanity;
|
|
1553
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1554
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
1555
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
1556
|
+
exports.ServiceUnavailableException$ = ServiceUnavailableException$;
|
|
1557
|
+
exports.StartTextTranslationJob$ = StartTextTranslationJob$;
|
|
462
1558
|
exports.StartTextTranslationJobCommand = StartTextTranslationJobCommand;
|
|
1559
|
+
exports.StartTextTranslationJobRequest$ = StartTextTranslationJobRequest$;
|
|
1560
|
+
exports.StartTextTranslationJobResponse$ = StartTextTranslationJobResponse$;
|
|
1561
|
+
exports.StopTextTranslationJob$ = StopTextTranslationJob$;
|
|
463
1562
|
exports.StopTextTranslationJobCommand = StopTextTranslationJobCommand;
|
|
1563
|
+
exports.StopTextTranslationJobRequest$ = StopTextTranslationJobRequest$;
|
|
1564
|
+
exports.StopTextTranslationJobResponse$ = StopTextTranslationJobResponse$;
|
|
1565
|
+
exports.Tag$ = Tag$;
|
|
1566
|
+
exports.TagResource$ = TagResource$;
|
|
464
1567
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1568
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
1569
|
+
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
1570
|
+
exports.Term$ = Term$;
|
|
1571
|
+
exports.TerminologyData$ = TerminologyData$;
|
|
465
1572
|
exports.TerminologyDataFormat = TerminologyDataFormat;
|
|
1573
|
+
exports.TerminologyDataLocation$ = TerminologyDataLocation$;
|
|
1574
|
+
exports.TerminologyProperties$ = TerminologyProperties$;
|
|
1575
|
+
exports.TextSizeLimitExceededException = TextSizeLimitExceededException;
|
|
1576
|
+
exports.TextSizeLimitExceededException$ = TextSizeLimitExceededException$;
|
|
1577
|
+
exports.TextTranslationJobFilter$ = TextTranslationJobFilter$;
|
|
1578
|
+
exports.TextTranslationJobProperties$ = TextTranslationJobProperties$;
|
|
1579
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
1580
|
+
exports.TooManyRequestsException$ = TooManyRequestsException$;
|
|
1581
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
1582
|
+
exports.TooManyTagsException$ = TooManyTagsException$;
|
|
466
1583
|
exports.Translate = Translate;
|
|
467
1584
|
exports.TranslateClient = TranslateClient;
|
|
1585
|
+
exports.TranslateDocument$ = TranslateDocument$;
|
|
468
1586
|
exports.TranslateDocumentCommand = TranslateDocumentCommand;
|
|
1587
|
+
exports.TranslateDocumentRequest$ = TranslateDocumentRequest$;
|
|
1588
|
+
exports.TranslateDocumentResponse$ = TranslateDocumentResponse$;
|
|
1589
|
+
exports.TranslateServiceException = TranslateServiceException;
|
|
1590
|
+
exports.TranslateServiceException$ = TranslateServiceException$;
|
|
1591
|
+
exports.TranslateText$ = TranslateText$;
|
|
469
1592
|
exports.TranslateTextCommand = TranslateTextCommand;
|
|
1593
|
+
exports.TranslateTextRequest$ = TranslateTextRequest$;
|
|
1594
|
+
exports.TranslateTextResponse$ = TranslateTextResponse$;
|
|
1595
|
+
exports.TranslatedDocument$ = TranslatedDocument$;
|
|
1596
|
+
exports.TranslationSettings$ = TranslationSettings$;
|
|
1597
|
+
exports.UnsupportedDisplayLanguageCodeException = UnsupportedDisplayLanguageCodeException;
|
|
1598
|
+
exports.UnsupportedDisplayLanguageCodeException$ = UnsupportedDisplayLanguageCodeException$;
|
|
1599
|
+
exports.UnsupportedLanguagePairException = UnsupportedLanguagePairException;
|
|
1600
|
+
exports.UnsupportedLanguagePairException$ = UnsupportedLanguagePairException$;
|
|
1601
|
+
exports.UntagResource$ = UntagResource$;
|
|
470
1602
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1603
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
1604
|
+
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
1605
|
+
exports.UpdateParallelData$ = UpdateParallelData$;
|
|
471
1606
|
exports.UpdateParallelDataCommand = UpdateParallelDataCommand;
|
|
1607
|
+
exports.UpdateParallelDataRequest$ = UpdateParallelDataRequest$;
|
|
1608
|
+
exports.UpdateParallelDataResponse$ = UpdateParallelDataResponse$;
|
|
1609
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
472
1610
|
exports.paginateListLanguages = paginateListLanguages;
|
|
473
1611
|
exports.paginateListParallelData = paginateListParallelData;
|
|
474
1612
|
exports.paginateListTerminologies = paginateListTerminologies;
|