@aws-sdk/client-translate 3.34.0 → 3.37.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 +47 -0
- package/{dist/cjs → dist-cjs}/Translate.js +1 -6
- package/{dist/cjs → dist-cjs}/TranslateClient.js +8 -18
- package/{dist/cjs → dist-cjs}/commands/CreateParallelDataCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/DeleteParallelDataCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteTerminologyCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeTextTranslationJobCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetParallelDataCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetTerminologyCommand.js +2 -27
- package/dist-cjs/commands/ImportTerminologyCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/ListParallelDataCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTerminologiesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTextTranslationJobsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StartTextTranslationJobCommand.js +2 -34
- package/{dist/cjs → dist-cjs}/commands/StopTextTranslationJobCommand.js +2 -33
- package/{dist/cjs → dist-cjs}/commands/TranslateTextCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/UpdateParallelDataCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -163
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListParallelDataPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListTerminologiesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListTextTranslationJobsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/Translate.js +1 -2
- package/{dist/es → dist-es}/TranslateClient.js +1 -2
- package/{dist/es → dist-es}/commands/CreateParallelDataCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteParallelDataCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteTerminologyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeTextTranslationJobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetParallelDataCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetTerminologyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ImportTerminologyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListParallelDataCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTerminologiesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTextTranslationJobsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartTextTranslationJobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StopTextTranslationJobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TranslateTextCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateParallelDataCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListParallelDataPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListTerminologiesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListTextTranslationJobsPaginator.js +1 -2
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/Translate.d.ts +2 -2
- package/{dist/types → dist-types}/TranslateClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CreateParallelDataCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteParallelDataCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteTerminologyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeTextTranslationJobCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetParallelDataCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetTerminologyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ImportTerminologyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListParallelDataCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListTerminologiesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListTextTranslationJobsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/StartTextTranslationJobCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/StopTextTranslationJobCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/TranslateTextCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateParallelDataCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListParallelDataPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListTerminologiesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListTextTranslationJobsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/Translate.d.ts +17 -74
- package/{dist/types → dist-types}/ts3.4/TranslateClient.d.ts +32 -98
- package/dist-types/ts3.4/commands/CreateParallelDataCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteParallelDataCommand.d.ts +5 -23
- 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 → dist-types}/ts3.4/commands/GetParallelDataCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/GetTerminologyCommand.d.ts +5 -23
- 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 → dist-types}/ts3.4/commands/ListTextTranslationJobsCommand.d.ts +5 -23
- 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 → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +700 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListParallelDataPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListTerminologiesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListTextTranslationJobsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/Translate.ts +0 -552
- package/TranslateClient.ts +0 -290
- package/commands/CreateParallelDataCommand.ts +0 -97
- package/commands/DeleteParallelDataCommand.ts +0 -94
- package/commands/DeleteTerminologyCommand.ts +0 -94
- package/commands/DescribeTextTranslationJobCommand.ts +0 -98
- package/commands/GetParallelDataCommand.ts +0 -94
- package/commands/GetTerminologyCommand.ts +0 -94
- package/commands/ImportTerminologyCommand.ts +0 -101
- package/commands/ListParallelDataCommand.ts +0 -94
- package/commands/ListTerminologiesCommand.ts +0 -94
- package/commands/ListTextTranslationJobsCommand.ts +0 -94
- package/commands/StartTextTranslationJobCommand.ts +0 -101
- package/commands/StopTextTranslationJobCommand.ts +0 -100
- package/commands/TranslateTextCommand.ts +0 -95
- package/commands/UpdateParallelDataCommand.ts +0 -95
- package/dist/cjs/Translate.js.map +0 -1
- package/dist/cjs/TranslateClient.js.map +0 -1
- package/dist/cjs/commands/CreateParallelDataCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteParallelDataCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteTerminologyCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeTextTranslationJobCommand.js.map +0 -1
- package/dist/cjs/commands/GetParallelDataCommand.js.map +0 -1
- package/dist/cjs/commands/GetTerminologyCommand.js.map +0 -1
- package/dist/cjs/commands/ImportTerminologyCommand.js +0 -68
- package/dist/cjs/commands/ImportTerminologyCommand.js.map +0 -1
- package/dist/cjs/commands/ListParallelDataCommand.js.map +0 -1
- package/dist/cjs/commands/ListTerminologiesCommand.js.map +0 -1
- package/dist/cjs/commands/ListTextTranslationJobsCommand.js.map +0 -1
- package/dist/cjs/commands/StartTextTranslationJobCommand.js.map +0 -1
- package/dist/cjs/commands/StopTextTranslationJobCommand.js.map +0 -1
- package/dist/cjs/commands/TranslateTextCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateParallelDataCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListParallelDataPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListTerminologiesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListTextTranslationJobsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/Translate.js.map +0 -1
- package/dist/es/TranslateClient.js.map +0 -1
- package/dist/es/commands/CreateParallelDataCommand.js.map +0 -1
- package/dist/es/commands/DeleteParallelDataCommand.js.map +0 -1
- package/dist/es/commands/DeleteTerminologyCommand.js.map +0 -1
- package/dist/es/commands/DescribeTextTranslationJobCommand.js.map +0 -1
- package/dist/es/commands/GetParallelDataCommand.js.map +0 -1
- package/dist/es/commands/GetTerminologyCommand.js.map +0 -1
- package/dist/es/commands/ImportTerminologyCommand.js.map +0 -1
- package/dist/es/commands/ListParallelDataCommand.js.map +0 -1
- package/dist/es/commands/ListTerminologiesCommand.js.map +0 -1
- package/dist/es/commands/ListTextTranslationJobsCommand.js.map +0 -1
- package/dist/es/commands/StartTextTranslationJobCommand.js.map +0 -1
- package/dist/es/commands/StopTextTranslationJobCommand.js.map +0 -1
- package/dist/es/commands/TranslateTextCommand.js.map +0 -1
- package/dist/es/commands/UpdateParallelDataCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -22
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListParallelDataPaginator.js.map +0 -1
- package/dist/es/pagination/ListTerminologiesPaginator.js.map +0 -1
- package/dist/es/pagination/ListTextTranslationJobsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/CreateParallelDataCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DeleteTerminologyCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ImportTerminologyCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/ListParallelDataCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListTerminologiesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/TranslateTextCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UpdateParallelDataCommand.d.ts +0 -36
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1304
- package/endpoints.ts +0 -77
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1625
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListParallelDataPaginator.ts +0 -58
- package/pagination/ListTerminologiesPaginator.ts +0 -58
- package/pagination/ListTextTranslationJobsPaginator.ts +0 -58
- package/protocols/Aws_json1_1.ts +0 -2522
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -1,3 +1,11 @@
|
|
|
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, 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";
|
|
1
9
|
import { CreateParallelDataCommandInput, CreateParallelDataCommandOutput } from "./commands/CreateParallelDataCommand";
|
|
2
10
|
import { DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput } from "./commands/DeleteParallelDataCommand";
|
|
3
11
|
import { DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput } from "./commands/DeleteTerminologyCommand";
|
|
@@ -12,136 +20,62 @@ import { StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutp
|
|
|
12
20
|
import { StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput } from "./commands/StopTextTranslationJobCommand";
|
|
13
21
|
import { TranslateTextCommandInput, TranslateTextCommandOutput } from "./commands/TranslateTextCommand";
|
|
14
22
|
import { UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput } from "./commands/UpdateParallelDataCommand";
|
|
15
|
-
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
16
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
17
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
18
|
-
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
19
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
20
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
21
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
22
|
-
import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
23
23
|
export declare type ServiceInputTypes = CreateParallelDataCommandInput | DeleteParallelDataCommandInput | DeleteTerminologyCommandInput | DescribeTextTranslationJobCommandInput | GetParallelDataCommandInput | GetTerminologyCommandInput | ImportTerminologyCommandInput | ListParallelDataCommandInput | ListTerminologiesCommandInput | ListTextTranslationJobsCommandInput | StartTextTranslationJobCommandInput | StopTextTranslationJobCommandInput | TranslateTextCommandInput | UpdateParallelDataCommandInput;
|
|
24
24
|
export declare type ServiceOutputTypes = CreateParallelDataCommandOutput | DeleteParallelDataCommandOutput | DeleteTerminologyCommandOutput | DescribeTextTranslationJobCommandOutput | GetParallelDataCommandOutput | GetTerminologyCommandOutput | ImportTerminologyCommandOutput | ListParallelDataCommandOutput | ListTerminologiesCommandOutput | ListTextTranslationJobsCommandOutput | StartTextTranslationJobCommandOutput | StopTextTranslationJobCommandOutput | TranslateTextCommandOutput | UpdateParallelDataCommandOutput;
|
|
25
25
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
26
|
-
|
|
27
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
28
|
-
*/
|
|
26
|
+
|
|
29
27
|
requestHandler?: __HttpHandler;
|
|
30
|
-
|
|
31
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
32
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
28
|
+
|
|
35
29
|
sha256?: __HashConstructor;
|
|
36
|
-
|
|
37
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
30
|
+
|
|
40
31
|
urlParser?: __UrlParser;
|
|
41
|
-
|
|
42
|
-
* A function that can calculate the length of a request body.
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
32
|
+
|
|
45
33
|
bodyLengthChecker?: (body: any) => number | undefined;
|
|
46
|
-
|
|
47
|
-
* A function that converts a stream into an array of bytes.
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
34
|
+
|
|
50
35
|
streamCollector?: __StreamCollector;
|
|
51
|
-
|
|
52
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
53
|
-
* @internal
|
|
54
|
-
*/
|
|
36
|
+
|
|
55
37
|
base64Decoder?: __Decoder;
|
|
56
|
-
|
|
57
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
38
|
+
|
|
60
39
|
base64Encoder?: __Encoder;
|
|
61
|
-
|
|
62
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
40
|
+
|
|
65
41
|
utf8Decoder?: __Decoder;
|
|
66
|
-
|
|
67
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
42
|
+
|
|
70
43
|
utf8Encoder?: __Encoder;
|
|
71
|
-
|
|
72
|
-
* The runtime environment.
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
44
|
+
|
|
75
45
|
runtime?: string;
|
|
76
|
-
|
|
77
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
78
|
-
* trait of an operation.
|
|
79
|
-
*/
|
|
46
|
+
|
|
80
47
|
disableHostPrefix?: boolean;
|
|
81
|
-
|
|
82
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
83
|
-
*/
|
|
48
|
+
|
|
84
49
|
maxAttempts?: number | __Provider<number>;
|
|
85
|
-
|
|
86
|
-
* Specifies which retry algorithm to use.
|
|
87
|
-
*/
|
|
50
|
+
|
|
88
51
|
retryMode?: string | __Provider<string>;
|
|
89
|
-
|
|
90
|
-
* Optional logger for logging debug/info/warn/error.
|
|
91
|
-
*/
|
|
52
|
+
|
|
92
53
|
logger?: __Logger;
|
|
93
|
-
|
|
94
|
-
* Unique service identifier.
|
|
95
|
-
* @internal
|
|
96
|
-
*/
|
|
54
|
+
|
|
97
55
|
serviceId?: string;
|
|
98
|
-
|
|
99
|
-
* The AWS region to which this client will send requests
|
|
100
|
-
*/
|
|
56
|
+
|
|
101
57
|
region?: string | __Provider<string>;
|
|
102
|
-
|
|
103
|
-
* Default credentials provider; Not available in browser runtime.
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
58
|
+
|
|
106
59
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
107
|
-
|
|
108
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
109
|
-
* @internal
|
|
110
|
-
*/
|
|
60
|
+
|
|
111
61
|
regionInfoProvider?: RegionInfoProvider;
|
|
112
|
-
|
|
113
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
114
|
-
* @internal
|
|
115
|
-
*/
|
|
62
|
+
|
|
116
63
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
117
64
|
}
|
|
118
65
|
declare type TranslateClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
119
|
-
|
|
120
|
-
* The configuration interface of TranslateClient class constructor that set the region, credentials and other options.
|
|
121
|
-
*/
|
|
66
|
+
|
|
122
67
|
export interface TranslateClientConfig extends TranslateClientConfigType {
|
|
123
68
|
}
|
|
124
69
|
declare type TranslateClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
125
|
-
|
|
126
|
-
* The resolved configuration interface of TranslateClient class. This is resolved and normalized from the {@link TranslateClientConfig | constructor configuration interface}.
|
|
127
|
-
*/
|
|
70
|
+
|
|
128
71
|
export interface TranslateClientResolvedConfig extends TranslateClientResolvedConfigType {
|
|
129
72
|
}
|
|
130
|
-
|
|
131
|
-
* <p>Provides translation between one source language and another of the same set of
|
|
132
|
-
* languages.</p>
|
|
133
|
-
*/
|
|
73
|
+
|
|
134
74
|
export declare class TranslateClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig> {
|
|
135
|
-
|
|
136
|
-
* The resolved configuration of TranslateClient class. This is resolved and normalized from the {@link TranslateClientConfig | constructor configuration interface}.
|
|
137
|
-
*/
|
|
75
|
+
|
|
138
76
|
readonly config: TranslateClientResolvedConfig;
|
|
139
77
|
constructor(configuration: TranslateClientConfig);
|
|
140
|
-
|
|
141
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
142
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
143
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
144
|
-
*/
|
|
78
|
+
|
|
145
79
|
destroy(): void;
|
|
146
80
|
}
|
|
147
81
|
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
|
+
}
|
|
@@ -1,34 +1,16 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
2
|
-
import { DeleteParallelDataRequest, DeleteParallelDataResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
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
5
|
export interface DeleteParallelDataCommandInput extends DeleteParallelDataRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteParallelDataCommandOutput extends DeleteParallelDataResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Deletes a parallel data resource in Amazon Translate.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { TranslateClient, DeleteParallelDataCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
15
|
-
* // const { TranslateClient, DeleteParallelDataCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
16
|
-
* const client = new TranslateClient(config);
|
|
17
|
-
* const command = new DeleteParallelDataCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DeleteParallelDataCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DeleteParallelDataCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link TranslateClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class DeleteParallelDataCommand extends $Command<DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
27
11
|
readonly input: DeleteParallelDataCommandInput;
|
|
28
12
|
constructor(input: DeleteParallelDataCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -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
|
+
}
|
|
@@ -1,34 +1,16 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
2
|
-
import { GetParallelDataRequest, GetParallelDataResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
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
5
|
export interface GetParallelDataCommandInput extends GetParallelDataRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface GetParallelDataCommandOutput extends GetParallelDataResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Provides information about a parallel data resource.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { TranslateClient, GetParallelDataCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
15
|
-
* // const { TranslateClient, GetParallelDataCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
16
|
-
* const client = new TranslateClient(config);
|
|
17
|
-
* const command = new GetParallelDataCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetParallelDataCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetParallelDataCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link TranslateClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class GetParallelDataCommand extends $Command<GetParallelDataCommandInput, GetParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
27
11
|
readonly input: GetParallelDataCommandInput;
|
|
28
12
|
constructor(input: GetParallelDataCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetParallelDataCommandInput, GetParallelDataCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -1,34 +1,16 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
2
|
-
import { GetTerminologyRequest, GetTerminologyResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
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
5
|
export interface GetTerminologyCommandInput extends GetTerminologyRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface GetTerminologyCommandOutput extends GetTerminologyResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Retrieves a custom terminology.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { TranslateClient, GetTerminologyCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
15
|
-
* // const { TranslateClient, GetTerminologyCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
16
|
-
* const client = new TranslateClient(config);
|
|
17
|
-
* const command = new GetTerminologyCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetTerminologyCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetTerminologyCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link TranslateClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class GetTerminologyCommand extends $Command<GetTerminologyCommandInput, GetTerminologyCommandOutput, TranslateClientResolvedConfig> {
|
|
27
11
|
readonly input: GetTerminologyCommandInput;
|
|
28
12
|
constructor(input: GetTerminologyCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTerminologyCommandInput, GetTerminologyCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -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
|
+
}
|
|
@@ -1,34 +1,16 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
2
|
-
import { ListTextTranslationJobsRequest, ListTextTranslationJobsResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
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
5
|
export interface ListTextTranslationJobsCommandInput extends ListTextTranslationJobsRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ListTextTranslationJobsCommandOutput extends ListTextTranslationJobsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Gets a list of the batch translation jobs that you have submitted.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { TranslateClient, ListTextTranslationJobsCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
15
|
-
* // const { TranslateClient, ListTextTranslationJobsCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
16
|
-
* const client = new TranslateClient(config);
|
|
17
|
-
* const command = new ListTextTranslationJobsCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ListTextTranslationJobsCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ListTextTranslationJobsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link TranslateClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class ListTextTranslationJobsCommand extends $Command<ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput, TranslateClientResolvedConfig> {
|
|
27
11
|
readonly input: ListTextTranslationJobsCommandInput;
|
|
28
12
|
constructor(input: ListTextTranslationJobsCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -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 { StartTextTranslationJobRequest, StartTextTranslationJobResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
|
+
export interface StartTextTranslationJobCommandInput extends StartTextTranslationJobRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface StartTextTranslationJobCommandOutput extends StartTextTranslationJobResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class StartTextTranslationJobCommand extends $Command<StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput, TranslateClientResolvedConfig> {
|
|
11
|
+
readonly input: StartTextTranslationJobCommandInput;
|
|
12
|
+
constructor(input: StartTextTranslationJobCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput>;
|
|
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 { StopTextTranslationJobRequest, StopTextTranslationJobResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
|
+
export interface StopTextTranslationJobCommandInput extends StopTextTranslationJobRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface StopTextTranslationJobCommandOutput extends StopTextTranslationJobResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class StopTextTranslationJobCommand extends $Command<StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput, TranslateClientResolvedConfig> {
|
|
11
|
+
readonly input: StopTextTranslationJobCommandInput;
|
|
12
|
+
constructor(input: StopTextTranslationJobCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput>;
|
|
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 { TranslateTextRequest, TranslateTextResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
|
+
export interface TranslateTextCommandInput extends TranslateTextRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface TranslateTextCommandOutput extends TranslateTextResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class TranslateTextCommand extends $Command<TranslateTextCommandInput, TranslateTextCommandOutput, TranslateClientResolvedConfig> {
|
|
11
|
+
readonly input: TranslateTextCommandInput;
|
|
12
|
+
constructor(input: TranslateTextCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TranslateTextCommandInput, TranslateTextCommandOutput>;
|
|
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 { UpdateParallelDataRequest, UpdateParallelDataResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
|
+
export interface UpdateParallelDataCommandInput extends UpdateParallelDataRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateParallelDataCommandOutput extends UpdateParallelDataResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class UpdateParallelDataCommand extends $Command<UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
11
|
+
readonly input: UpdateParallelDataCommandInput;
|
|
12
|
+
constructor(input: UpdateParallelDataCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|