@aws-sdk/client-translate 3.50.0 → 3.53.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 +28 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/TranslateServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +193 -1
- package/dist-cjs/protocols/Aws_json1_1.js +179 -597
- package/dist-es/index.js +1 -0
- package/dist-es/models/TranslateServiceException.js +12 -0
- package/dist-es/models/models_0.js +179 -1
- package/dist-es/protocols/Aws_json1_1.js +356 -629
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/TranslateServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +98 -40
- package/dist-types/ts3.4/Translate.d.ts +75 -0
- package/dist-types/ts3.4/TranslateClient.d.ts +87 -0
- package/dist-types/ts3.4/commands/CreateParallelDataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteParallelDataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteTerminologyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetParallelDataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTerminologyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ImportTerminologyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListParallelDataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTerminologiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTextTranslationJobsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TranslateTextCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateParallelDataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/TranslateServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +721 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListParallelDataPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTerminologiesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTextTranslationJobsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +44 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Translate service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class TranslateServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { TranslateServiceException as __BaseException } from "./TranslateServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>The term being translated by the custom terminology.</p>
|
|
4
5
|
*/
|
|
@@ -46,10 +47,14 @@ export declare namespace AppliedTerminology {
|
|
|
46
47
|
/**
|
|
47
48
|
* <p>There was a conflict processing the request. Try your request again.</p>
|
|
48
49
|
*/
|
|
49
|
-
export
|
|
50
|
-
name: "ConflictException";
|
|
51
|
-
$fault: "client";
|
|
50
|
+
export declare class ConflictException extends __BaseException {
|
|
51
|
+
readonly name: "ConflictException";
|
|
52
|
+
readonly $fault: "client";
|
|
52
53
|
Message?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
53
58
|
}
|
|
54
59
|
export declare enum EncryptionKeyType {
|
|
55
60
|
KMS = "KMS"
|
|
@@ -155,55 +160,79 @@ export declare namespace CreateParallelDataResponse {
|
|
|
155
160
|
/**
|
|
156
161
|
* <p>An internal server error occurred. Retry your request.</p>
|
|
157
162
|
*/
|
|
158
|
-
export
|
|
159
|
-
name: "InternalServerException";
|
|
160
|
-
$fault: "server";
|
|
163
|
+
export declare class InternalServerException extends __BaseException {
|
|
164
|
+
readonly name: "InternalServerException";
|
|
165
|
+
readonly $fault: "server";
|
|
161
166
|
Message?: string;
|
|
167
|
+
/**
|
|
168
|
+
* @internal
|
|
169
|
+
*/
|
|
170
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
162
171
|
}
|
|
163
172
|
/**
|
|
164
173
|
* <p>The value of the parameter is invalid. Review the value of the parameter you are using to
|
|
165
174
|
* correct it, and then retry your operation.</p>
|
|
166
175
|
*/
|
|
167
|
-
export
|
|
168
|
-
name: "InvalidParameterValueException";
|
|
169
|
-
$fault: "client";
|
|
176
|
+
export declare class InvalidParameterValueException extends __BaseException {
|
|
177
|
+
readonly name: "InvalidParameterValueException";
|
|
178
|
+
readonly $fault: "client";
|
|
170
179
|
Message?: string;
|
|
180
|
+
/**
|
|
181
|
+
* @internal
|
|
182
|
+
*/
|
|
183
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
|
|
171
184
|
}
|
|
172
185
|
/**
|
|
173
186
|
* <p> The request that you made is invalid. Check your request to determine why it's invalid
|
|
174
187
|
* and then retry the request. </p>
|
|
175
188
|
*/
|
|
176
|
-
export
|
|
177
|
-
name: "InvalidRequestException";
|
|
178
|
-
$fault: "client";
|
|
189
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
190
|
+
readonly name: "InvalidRequestException";
|
|
191
|
+
readonly $fault: "client";
|
|
179
192
|
Message?: string;
|
|
193
|
+
/**
|
|
194
|
+
* @internal
|
|
195
|
+
*/
|
|
196
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
180
197
|
}
|
|
181
198
|
/**
|
|
182
199
|
* <p>The specified limit has been exceeded. Review your request and retry it with a quantity
|
|
183
200
|
* below the stated limit.</p>
|
|
184
201
|
*/
|
|
185
|
-
export
|
|
186
|
-
name: "LimitExceededException";
|
|
187
|
-
$fault: "client";
|
|
202
|
+
export declare class LimitExceededException extends __BaseException {
|
|
203
|
+
readonly name: "LimitExceededException";
|
|
204
|
+
readonly $fault: "client";
|
|
188
205
|
Message?: string;
|
|
206
|
+
/**
|
|
207
|
+
* @internal
|
|
208
|
+
*/
|
|
209
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
189
210
|
}
|
|
190
211
|
/**
|
|
191
212
|
* <p> You have made too many requests within a short period of time. Wait for a short time and
|
|
192
213
|
* then try your request again.</p>
|
|
193
214
|
*/
|
|
194
|
-
export
|
|
195
|
-
name: "TooManyRequestsException";
|
|
196
|
-
$fault: "client";
|
|
215
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
216
|
+
readonly name: "TooManyRequestsException";
|
|
217
|
+
readonly $fault: "client";
|
|
197
218
|
Message?: string;
|
|
219
|
+
/**
|
|
220
|
+
* @internal
|
|
221
|
+
*/
|
|
222
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
198
223
|
}
|
|
199
224
|
/**
|
|
200
225
|
* <p>Another modification is being made. That modification must complete before you can make
|
|
201
226
|
* your change.</p>
|
|
202
227
|
*/
|
|
203
|
-
export
|
|
204
|
-
name: "ConcurrentModificationException";
|
|
205
|
-
$fault: "client";
|
|
228
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
229
|
+
readonly name: "ConcurrentModificationException";
|
|
230
|
+
readonly $fault: "client";
|
|
206
231
|
Message?: string;
|
|
232
|
+
/**
|
|
233
|
+
* @internal
|
|
234
|
+
*/
|
|
235
|
+
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
207
236
|
}
|
|
208
237
|
export interface DeleteParallelDataRequest {
|
|
209
238
|
/**
|
|
@@ -238,10 +267,14 @@ export declare namespace DeleteParallelDataResponse {
|
|
|
238
267
|
* for and see if a different resource will accomplish your needs before retrying the revised
|
|
239
268
|
* request.</p>
|
|
240
269
|
*/
|
|
241
|
-
export
|
|
242
|
-
name: "ResourceNotFoundException";
|
|
243
|
-
$fault: "client";
|
|
270
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
271
|
+
readonly name: "ResourceNotFoundException";
|
|
272
|
+
readonly $fault: "client";
|
|
244
273
|
Message?: string;
|
|
274
|
+
/**
|
|
275
|
+
* @internal
|
|
276
|
+
*/
|
|
277
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
245
278
|
}
|
|
246
279
|
export interface DeleteTerminologyRequest {
|
|
247
280
|
/**
|
|
@@ -382,6 +415,10 @@ export declare namespace OutputDataConfig {
|
|
|
382
415
|
*/
|
|
383
416
|
const filterSensitiveLog: (obj: OutputDataConfig) => any;
|
|
384
417
|
}
|
|
418
|
+
export declare enum Formality {
|
|
419
|
+
FORMAL = "FORMAL",
|
|
420
|
+
INFORMAL = "INFORMAL"
|
|
421
|
+
}
|
|
385
422
|
export declare enum Profanity {
|
|
386
423
|
MASK = "MASK"
|
|
387
424
|
}
|
|
@@ -389,6 +426,7 @@ export declare enum Profanity {
|
|
|
389
426
|
* <p>Settings that configure the translation output.</p>
|
|
390
427
|
*/
|
|
391
428
|
export interface TranslationSettings {
|
|
429
|
+
Formality?: Formality | string;
|
|
392
430
|
/**
|
|
393
431
|
* <p>Enable the profanity setting if you want Amazon Translate to mask profane words and
|
|
394
432
|
* phrases in your translation output.</p>
|
|
@@ -1012,10 +1050,14 @@ export declare namespace ListTerminologiesResponse {
|
|
|
1012
1050
|
/**
|
|
1013
1051
|
* <p>The filter specified for the operation is invalid. Specify a different filter.</p>
|
|
1014
1052
|
*/
|
|
1015
|
-
export
|
|
1016
|
-
name: "InvalidFilterException";
|
|
1017
|
-
$fault: "client";
|
|
1053
|
+
export declare class InvalidFilterException extends __BaseException {
|
|
1054
|
+
readonly name: "InvalidFilterException";
|
|
1055
|
+
readonly $fault: "client";
|
|
1018
1056
|
Message?: string;
|
|
1057
|
+
/**
|
|
1058
|
+
* @internal
|
|
1059
|
+
*/
|
|
1060
|
+
constructor(opts: __ExceptionOptionType<InvalidFilterException, __BaseException>);
|
|
1019
1061
|
}
|
|
1020
1062
|
/**
|
|
1021
1063
|
* <p>Provides information for filtering a list of translation jobs. For more information, see
|
|
@@ -1210,9 +1252,9 @@ export declare namespace StartTextTranslationJobResponse {
|
|
|
1210
1252
|
* <p>Amazon Translate does not support translation from the language of the source text into the requested
|
|
1211
1253
|
* target language. For more information, see <a>how-to-error-msg</a>. </p>
|
|
1212
1254
|
*/
|
|
1213
|
-
export
|
|
1214
|
-
name: "UnsupportedLanguagePairException";
|
|
1215
|
-
$fault: "client";
|
|
1255
|
+
export declare class UnsupportedLanguagePairException extends __BaseException {
|
|
1256
|
+
readonly name: "UnsupportedLanguagePairException";
|
|
1257
|
+
readonly $fault: "client";
|
|
1216
1258
|
Message?: string;
|
|
1217
1259
|
/**
|
|
1218
1260
|
* <p>The language code for the language of the input text. </p>
|
|
@@ -1222,6 +1264,10 @@ export interface UnsupportedLanguagePairException extends __SmithyException, $Me
|
|
|
1222
1264
|
* <p>The language code for the language of the translated text. </p>
|
|
1223
1265
|
*/
|
|
1224
1266
|
TargetLanguageCode?: string;
|
|
1267
|
+
/**
|
|
1268
|
+
* @internal
|
|
1269
|
+
*/
|
|
1270
|
+
constructor(opts: __ExceptionOptionType<UnsupportedLanguagePairException, __BaseException>);
|
|
1225
1271
|
}
|
|
1226
1272
|
export interface StopTextTranslationJobRequest {
|
|
1227
1273
|
/**
|
|
@@ -1258,32 +1304,44 @@ export declare namespace StopTextTranslationJobResponse {
|
|
|
1258
1304
|
* exception to call Amazon Translate again. For more information, see the <a href="https://docs.aws.amazon.com/comprehend/latest/dg/API_DetectDominantLanguage.html">DetectDominantLanguage</a> operation in the <i>Amazon Comprehend Developer
|
|
1259
1305
|
* Guide</i>. </p>
|
|
1260
1306
|
*/
|
|
1261
|
-
export
|
|
1262
|
-
name: "DetectedLanguageLowConfidenceException";
|
|
1263
|
-
$fault: "client";
|
|
1307
|
+
export declare class DetectedLanguageLowConfidenceException extends __BaseException {
|
|
1308
|
+
readonly name: "DetectedLanguageLowConfidenceException";
|
|
1309
|
+
readonly $fault: "client";
|
|
1264
1310
|
Message?: string;
|
|
1265
1311
|
/**
|
|
1266
1312
|
* <p>The language code of the auto-detected language from Amazon Comprehend.</p>
|
|
1267
1313
|
*/
|
|
1268
1314
|
DetectedLanguageCode?: string;
|
|
1315
|
+
/**
|
|
1316
|
+
* @internal
|
|
1317
|
+
*/
|
|
1318
|
+
constructor(opts: __ExceptionOptionType<DetectedLanguageLowConfidenceException, __BaseException>);
|
|
1269
1319
|
}
|
|
1270
1320
|
/**
|
|
1271
1321
|
* <p>The Amazon Translate service is temporarily unavailable. Please wait a bit and then retry your
|
|
1272
1322
|
* request.</p>
|
|
1273
1323
|
*/
|
|
1274
|
-
export
|
|
1275
|
-
name: "ServiceUnavailableException";
|
|
1276
|
-
$fault: "server";
|
|
1324
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
1325
|
+
readonly name: "ServiceUnavailableException";
|
|
1326
|
+
readonly $fault: "server";
|
|
1277
1327
|
Message?: string;
|
|
1328
|
+
/**
|
|
1329
|
+
* @internal
|
|
1330
|
+
*/
|
|
1331
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
1278
1332
|
}
|
|
1279
1333
|
/**
|
|
1280
1334
|
* <p> The size of the text you submitted exceeds the size limit. Reduce the size of the text or
|
|
1281
1335
|
* use a smaller document and then retry your request. </p>
|
|
1282
1336
|
*/
|
|
1283
|
-
export
|
|
1284
|
-
name: "TextSizeLimitExceededException";
|
|
1285
|
-
$fault: "client";
|
|
1337
|
+
export declare class TextSizeLimitExceededException extends __BaseException {
|
|
1338
|
+
readonly name: "TextSizeLimitExceededException";
|
|
1339
|
+
readonly $fault: "client";
|
|
1286
1340
|
Message?: string;
|
|
1341
|
+
/**
|
|
1342
|
+
* @internal
|
|
1343
|
+
*/
|
|
1344
|
+
constructor(opts: __ExceptionOptionType<TextSizeLimitExceededException, __BaseException>);
|
|
1287
1345
|
}
|
|
1288
1346
|
export interface TranslateTextRequest {
|
|
1289
1347
|
/**
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { CreateParallelDataCommandInput, CreateParallelDataCommandOutput } from "./commands/CreateParallelDataCommand";
|
|
3
|
+
import { DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput } from "./commands/DeleteParallelDataCommand";
|
|
4
|
+
import { DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput } from "./commands/DeleteTerminologyCommand";
|
|
5
|
+
import { DescribeTextTranslationJobCommandInput, DescribeTextTranslationJobCommandOutput } from "./commands/DescribeTextTranslationJobCommand";
|
|
6
|
+
import { GetParallelDataCommandInput, GetParallelDataCommandOutput } from "./commands/GetParallelDataCommand";
|
|
7
|
+
import { GetTerminologyCommandInput, GetTerminologyCommandOutput } from "./commands/GetTerminologyCommand";
|
|
8
|
+
import { ImportTerminologyCommandInput, ImportTerminologyCommandOutput } from "./commands/ImportTerminologyCommand";
|
|
9
|
+
import { ListParallelDataCommandInput, ListParallelDataCommandOutput } from "./commands/ListParallelDataCommand";
|
|
10
|
+
import { ListTerminologiesCommandInput, ListTerminologiesCommandOutput } from "./commands/ListTerminologiesCommand";
|
|
11
|
+
import { ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput } from "./commands/ListTextTranslationJobsCommand";
|
|
12
|
+
import { StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput } from "./commands/StartTextTranslationJobCommand";
|
|
13
|
+
import { StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput } from "./commands/StopTextTranslationJobCommand";
|
|
14
|
+
import { TranslateTextCommandInput, TranslateTextCommandOutput } from "./commands/TranslateTextCommand";
|
|
15
|
+
import { UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput } from "./commands/UpdateParallelDataCommand";
|
|
16
|
+
import { TranslateClient } from "./TranslateClient";
|
|
17
|
+
|
|
18
|
+
export declare class Translate extends TranslateClient {
|
|
19
|
+
|
|
20
|
+
createParallelData(args: CreateParallelDataCommandInput, options?: __HttpHandlerOptions): Promise<CreateParallelDataCommandOutput>;
|
|
21
|
+
createParallelData(args: CreateParallelDataCommandInput, cb: (err: any, data?: CreateParallelDataCommandOutput) => void): void;
|
|
22
|
+
createParallelData(args: CreateParallelDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateParallelDataCommandOutput) => void): void;
|
|
23
|
+
|
|
24
|
+
deleteParallelData(args: DeleteParallelDataCommandInput, options?: __HttpHandlerOptions): Promise<DeleteParallelDataCommandOutput>;
|
|
25
|
+
deleteParallelData(args: DeleteParallelDataCommandInput, cb: (err: any, data?: DeleteParallelDataCommandOutput) => void): void;
|
|
26
|
+
deleteParallelData(args: DeleteParallelDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteParallelDataCommandOutput) => void): void;
|
|
27
|
+
|
|
28
|
+
deleteTerminology(args: DeleteTerminologyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTerminologyCommandOutput>;
|
|
29
|
+
deleteTerminology(args: DeleteTerminologyCommandInput, cb: (err: any, data?: DeleteTerminologyCommandOutput) => void): void;
|
|
30
|
+
deleteTerminology(args: DeleteTerminologyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTerminologyCommandOutput) => void): void;
|
|
31
|
+
|
|
32
|
+
describeTextTranslationJob(args: DescribeTextTranslationJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTextTranslationJobCommandOutput>;
|
|
33
|
+
describeTextTranslationJob(args: DescribeTextTranslationJobCommandInput, cb: (err: any, data?: DescribeTextTranslationJobCommandOutput) => void): void;
|
|
34
|
+
describeTextTranslationJob(args: DescribeTextTranslationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTextTranslationJobCommandOutput) => void): void;
|
|
35
|
+
|
|
36
|
+
getParallelData(args: GetParallelDataCommandInput, options?: __HttpHandlerOptions): Promise<GetParallelDataCommandOutput>;
|
|
37
|
+
getParallelData(args: GetParallelDataCommandInput, cb: (err: any, data?: GetParallelDataCommandOutput) => void): void;
|
|
38
|
+
getParallelData(args: GetParallelDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetParallelDataCommandOutput) => void): void;
|
|
39
|
+
|
|
40
|
+
getTerminology(args: GetTerminologyCommandInput, options?: __HttpHandlerOptions): Promise<GetTerminologyCommandOutput>;
|
|
41
|
+
getTerminology(args: GetTerminologyCommandInput, cb: (err: any, data?: GetTerminologyCommandOutput) => void): void;
|
|
42
|
+
getTerminology(args: GetTerminologyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTerminologyCommandOutput) => void): void;
|
|
43
|
+
|
|
44
|
+
importTerminology(args: ImportTerminologyCommandInput, options?: __HttpHandlerOptions): Promise<ImportTerminologyCommandOutput>;
|
|
45
|
+
importTerminology(args: ImportTerminologyCommandInput, cb: (err: any, data?: ImportTerminologyCommandOutput) => void): void;
|
|
46
|
+
importTerminology(args: ImportTerminologyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportTerminologyCommandOutput) => void): void;
|
|
47
|
+
|
|
48
|
+
listParallelData(args: ListParallelDataCommandInput, options?: __HttpHandlerOptions): Promise<ListParallelDataCommandOutput>;
|
|
49
|
+
listParallelData(args: ListParallelDataCommandInput, cb: (err: any, data?: ListParallelDataCommandOutput) => void): void;
|
|
50
|
+
listParallelData(args: ListParallelDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListParallelDataCommandOutput) => void): void;
|
|
51
|
+
|
|
52
|
+
listTerminologies(args: ListTerminologiesCommandInput, options?: __HttpHandlerOptions): Promise<ListTerminologiesCommandOutput>;
|
|
53
|
+
listTerminologies(args: ListTerminologiesCommandInput, cb: (err: any, data?: ListTerminologiesCommandOutput) => void): void;
|
|
54
|
+
listTerminologies(args: ListTerminologiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTerminologiesCommandOutput) => void): void;
|
|
55
|
+
|
|
56
|
+
listTextTranslationJobs(args: ListTextTranslationJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListTextTranslationJobsCommandOutput>;
|
|
57
|
+
listTextTranslationJobs(args: ListTextTranslationJobsCommandInput, cb: (err: any, data?: ListTextTranslationJobsCommandOutput) => void): void;
|
|
58
|
+
listTextTranslationJobs(args: ListTextTranslationJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTextTranslationJobsCommandOutput) => void): void;
|
|
59
|
+
|
|
60
|
+
startTextTranslationJob(args: StartTextTranslationJobCommandInput, options?: __HttpHandlerOptions): Promise<StartTextTranslationJobCommandOutput>;
|
|
61
|
+
startTextTranslationJob(args: StartTextTranslationJobCommandInput, cb: (err: any, data?: StartTextTranslationJobCommandOutput) => void): void;
|
|
62
|
+
startTextTranslationJob(args: StartTextTranslationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartTextTranslationJobCommandOutput) => void): void;
|
|
63
|
+
|
|
64
|
+
stopTextTranslationJob(args: StopTextTranslationJobCommandInput, options?: __HttpHandlerOptions): Promise<StopTextTranslationJobCommandOutput>;
|
|
65
|
+
stopTextTranslationJob(args: StopTextTranslationJobCommandInput, cb: (err: any, data?: StopTextTranslationJobCommandOutput) => void): void;
|
|
66
|
+
stopTextTranslationJob(args: StopTextTranslationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopTextTranslationJobCommandOutput) => void): void;
|
|
67
|
+
|
|
68
|
+
translateText(args: TranslateTextCommandInput, options?: __HttpHandlerOptions): Promise<TranslateTextCommandOutput>;
|
|
69
|
+
translateText(args: TranslateTextCommandInput, cb: (err: any, data?: TranslateTextCommandOutput) => void): void;
|
|
70
|
+
translateText(args: TranslateTextCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TranslateTextCommandOutput) => void): void;
|
|
71
|
+
|
|
72
|
+
updateParallelData(args: UpdateParallelDataCommandInput, options?: __HttpHandlerOptions): Promise<UpdateParallelDataCommandOutput>;
|
|
73
|
+
updateParallelData(args: UpdateParallelDataCommandInput, cb: (err: any, data?: UpdateParallelDataCommandOutput) => void): void;
|
|
74
|
+
updateParallelData(args: UpdateParallelDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateParallelDataCommandOutput) => void): void;
|
|
75
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { CreateParallelDataCommandInput, CreateParallelDataCommandOutput } from "./commands/CreateParallelDataCommand";
|
|
10
|
+
import { DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput } from "./commands/DeleteParallelDataCommand";
|
|
11
|
+
import { DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput } from "./commands/DeleteTerminologyCommand";
|
|
12
|
+
import { DescribeTextTranslationJobCommandInput, DescribeTextTranslationJobCommandOutput } from "./commands/DescribeTextTranslationJobCommand";
|
|
13
|
+
import { GetParallelDataCommandInput, GetParallelDataCommandOutput } from "./commands/GetParallelDataCommand";
|
|
14
|
+
import { GetTerminologyCommandInput, GetTerminologyCommandOutput } from "./commands/GetTerminologyCommand";
|
|
15
|
+
import { ImportTerminologyCommandInput, ImportTerminologyCommandOutput } from "./commands/ImportTerminologyCommand";
|
|
16
|
+
import { ListParallelDataCommandInput, ListParallelDataCommandOutput } from "./commands/ListParallelDataCommand";
|
|
17
|
+
import { ListTerminologiesCommandInput, ListTerminologiesCommandOutput } from "./commands/ListTerminologiesCommand";
|
|
18
|
+
import { ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput } from "./commands/ListTextTranslationJobsCommand";
|
|
19
|
+
import { StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput } from "./commands/StartTextTranslationJobCommand";
|
|
20
|
+
import { StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput } from "./commands/StopTextTranslationJobCommand";
|
|
21
|
+
import { TranslateTextCommandInput, TranslateTextCommandOutput } from "./commands/TranslateTextCommand";
|
|
22
|
+
import { UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput } from "./commands/UpdateParallelDataCommand";
|
|
23
|
+
export declare type ServiceInputTypes = CreateParallelDataCommandInput | DeleteParallelDataCommandInput | DeleteTerminologyCommandInput | DescribeTextTranslationJobCommandInput | GetParallelDataCommandInput | GetTerminologyCommandInput | ImportTerminologyCommandInput | ListParallelDataCommandInput | ListTerminologiesCommandInput | ListTextTranslationJobsCommandInput | StartTextTranslationJobCommandInput | StopTextTranslationJobCommandInput | TranslateTextCommandInput | UpdateParallelDataCommandInput;
|
|
24
|
+
export declare type ServiceOutputTypes = CreateParallelDataCommandOutput | DeleteParallelDataCommandOutput | DeleteTerminologyCommandOutput | DescribeTextTranslationJobCommandOutput | GetParallelDataCommandOutput | GetTerminologyCommandOutput | ImportTerminologyCommandOutput | ListParallelDataCommandOutput | ListTerminologiesCommandOutput | ListTextTranslationJobsCommandOutput | StartTextTranslationJobCommandOutput | StopTextTranslationJobCommandOutput | TranslateTextCommandOutput | UpdateParallelDataCommandOutput;
|
|
25
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
26
|
+
|
|
27
|
+
requestHandler?: __HttpHandler;
|
|
28
|
+
|
|
29
|
+
sha256?: __HashConstructor;
|
|
30
|
+
|
|
31
|
+
urlParser?: __UrlParser;
|
|
32
|
+
|
|
33
|
+
bodyLengthChecker?: (body: any) => number | undefined;
|
|
34
|
+
|
|
35
|
+
streamCollector?: __StreamCollector;
|
|
36
|
+
|
|
37
|
+
base64Decoder?: __Decoder;
|
|
38
|
+
|
|
39
|
+
base64Encoder?: __Encoder;
|
|
40
|
+
|
|
41
|
+
utf8Decoder?: __Decoder;
|
|
42
|
+
|
|
43
|
+
utf8Encoder?: __Encoder;
|
|
44
|
+
|
|
45
|
+
runtime?: string;
|
|
46
|
+
|
|
47
|
+
disableHostPrefix?: boolean;
|
|
48
|
+
|
|
49
|
+
maxAttempts?: number | __Provider<number>;
|
|
50
|
+
|
|
51
|
+
retryMode?: string | __Provider<string>;
|
|
52
|
+
|
|
53
|
+
logger?: __Logger;
|
|
54
|
+
|
|
55
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
56
|
+
|
|
57
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
58
|
+
|
|
59
|
+
serviceId?: string;
|
|
60
|
+
|
|
61
|
+
region?: string | __Provider<string>;
|
|
62
|
+
|
|
63
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
64
|
+
|
|
65
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
66
|
+
|
|
67
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
68
|
+
|
|
69
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
70
|
+
}
|
|
71
|
+
declare type TranslateClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
72
|
+
|
|
73
|
+
export interface TranslateClientConfig extends TranslateClientConfigType {
|
|
74
|
+
}
|
|
75
|
+
declare type TranslateClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
76
|
+
|
|
77
|
+
export interface TranslateClientResolvedConfig extends TranslateClientResolvedConfigType {
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export declare class TranslateClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig> {
|
|
81
|
+
|
|
82
|
+
readonly config: TranslateClientResolvedConfig;
|
|
83
|
+
constructor(configuration: TranslateClientConfig);
|
|
84
|
+
|
|
85
|
+
destroy(): void;
|
|
86
|
+
}
|
|
87
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CreateParallelDataRequest, CreateParallelDataResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
|
+
export interface CreateParallelDataCommandInput extends CreateParallelDataRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateParallelDataCommandOutput extends CreateParallelDataResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CreateParallelDataCommand extends $Command<CreateParallelDataCommandInput, CreateParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
11
|
+
readonly input: CreateParallelDataCommandInput;
|
|
12
|
+
constructor(input: CreateParallelDataCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateParallelDataCommandInput, CreateParallelDataCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DeleteParallelDataRequest, DeleteParallelDataResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
|
+
export interface DeleteParallelDataCommandInput extends DeleteParallelDataRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteParallelDataCommandOutput extends DeleteParallelDataResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DeleteParallelDataCommand extends $Command<DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
11
|
+
readonly input: DeleteParallelDataCommandInput;
|
|
12
|
+
constructor(input: DeleteParallelDataCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DeleteTerminologyRequest } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
|
+
export interface DeleteTerminologyCommandInput extends DeleteTerminologyRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteTerminologyCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DeleteTerminologyCommand extends $Command<DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput, TranslateClientResolvedConfig> {
|
|
11
|
+
readonly input: DeleteTerminologyCommandInput;
|
|
12
|
+
constructor(input: DeleteTerminologyCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DescribeTextTranslationJobRequest, DescribeTextTranslationJobResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
|
+
export interface DescribeTextTranslationJobCommandInput extends DescribeTextTranslationJobRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeTextTranslationJobCommandOutput extends DescribeTextTranslationJobResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DescribeTextTranslationJobCommand extends $Command<DescribeTextTranslationJobCommandInput, DescribeTextTranslationJobCommandOutput, TranslateClientResolvedConfig> {
|
|
11
|
+
readonly input: DescribeTextTranslationJobCommandInput;
|
|
12
|
+
constructor(input: DescribeTextTranslationJobCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeTextTranslationJobCommandInput, DescribeTextTranslationJobCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetParallelDataRequest, GetParallelDataResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
|
+
export interface GetParallelDataCommandInput extends GetParallelDataRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetParallelDataCommandOutput extends GetParallelDataResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetParallelDataCommand extends $Command<GetParallelDataCommandInput, GetParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
11
|
+
readonly input: GetParallelDataCommandInput;
|
|
12
|
+
constructor(input: GetParallelDataCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetParallelDataCommandInput, GetParallelDataCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetTerminologyRequest, GetTerminologyResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
|
+
export interface GetTerminologyCommandInput extends GetTerminologyRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetTerminologyCommandOutput extends GetTerminologyResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetTerminologyCommand extends $Command<GetTerminologyCommandInput, GetTerminologyCommandOutput, TranslateClientResolvedConfig> {
|
|
11
|
+
readonly input: GetTerminologyCommandInput;
|
|
12
|
+
constructor(input: GetTerminologyCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTerminologyCommandInput, GetTerminologyCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ImportTerminologyRequest, ImportTerminologyResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
|
+
export interface ImportTerminologyCommandInput extends ImportTerminologyRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ImportTerminologyCommandOutput extends ImportTerminologyResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class ImportTerminologyCommand extends $Command<ImportTerminologyCommandInput, ImportTerminologyCommandOutput, TranslateClientResolvedConfig> {
|
|
11
|
+
readonly input: ImportTerminologyCommandInput;
|
|
12
|
+
constructor(input: ImportTerminologyCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportTerminologyCommandInput, ImportTerminologyCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ListParallelDataRequest, ListParallelDataResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
|
+
export interface ListParallelDataCommandInput extends ListParallelDataRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListParallelDataCommandOutput extends ListParallelDataResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class ListParallelDataCommand extends $Command<ListParallelDataCommandInput, ListParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
11
|
+
readonly input: ListParallelDataCommandInput;
|
|
12
|
+
constructor(input: ListParallelDataCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListParallelDataCommandInput, ListParallelDataCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ListTerminologiesRequest, ListTerminologiesResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
|
+
export interface ListTerminologiesCommandInput extends ListTerminologiesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListTerminologiesCommandOutput extends ListTerminologiesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class ListTerminologiesCommand extends $Command<ListTerminologiesCommandInput, ListTerminologiesCommandOutput, TranslateClientResolvedConfig> {
|
|
11
|
+
readonly input: ListTerminologiesCommandInput;
|
|
12
|
+
constructor(input: ListTerminologiesCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTerminologiesCommandInput, ListTerminologiesCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ListTextTranslationJobsRequest, ListTextTranslationJobsResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
|
+
export interface ListTextTranslationJobsCommandInput extends ListTextTranslationJobsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListTextTranslationJobsCommandOutput extends ListTextTranslationJobsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class ListTextTranslationJobsCommand extends $Command<ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput, TranslateClientResolvedConfig> {
|
|
11
|
+
readonly input: ListTextTranslationJobsCommandInput;
|
|
12
|
+
constructor(input: ListTextTranslationJobsCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|