@aws-sdk/client-translate 3.169.0 → 3.171.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.
Files changed (36) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/Translate.d.ts +259 -80
  3. package/dist-types/ts3.4/TranslateClient.d.ts +194 -88
  4. package/dist-types/ts3.4/commands/CreateParallelDataCommand.d.ts +36 -17
  5. package/dist-types/ts3.4/commands/DeleteParallelDataCommand.d.ts +36 -17
  6. package/dist-types/ts3.4/commands/DeleteTerminologyCommand.d.ts +31 -17
  7. package/dist-types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +39 -17
  8. package/dist-types/ts3.4/commands/GetParallelDataCommand.d.ts +35 -17
  9. package/dist-types/ts3.4/commands/GetTerminologyCommand.d.ts +35 -17
  10. package/dist-types/ts3.4/commands/ImportTerminologyCommand.d.ts +36 -17
  11. package/dist-types/ts3.4/commands/ListLanguagesCommand.d.ts +35 -17
  12. package/dist-types/ts3.4/commands/ListParallelDataCommand.d.ts +35 -17
  13. package/dist-types/ts3.4/commands/ListTerminologiesCommand.d.ts +36 -17
  14. package/dist-types/ts3.4/commands/ListTextTranslationJobsCommand.d.ts +39 -17
  15. package/dist-types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +39 -17
  16. package/dist-types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +39 -17
  17. package/dist-types/ts3.4/commands/TranslateTextCommand.d.ts +35 -17
  18. package/dist-types/ts3.4/commands/UpdateParallelDataCommand.d.ts +36 -17
  19. package/dist-types/ts3.4/commands/index.d.ts +15 -15
  20. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  21. package/dist-types/ts3.4/index.d.ts +6 -6
  22. package/dist-types/ts3.4/models/TranslateServiceException.d.ts +7 -6
  23. package/dist-types/ts3.4/models/index.d.ts +1 -1
  24. package/dist-types/ts3.4/models/models_0.d.ts +560 -689
  25. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  26. package/dist-types/ts3.4/pagination/ListLanguagesPaginator.d.ts +11 -4
  27. package/dist-types/ts3.4/pagination/ListParallelDataPaginator.d.ts +11 -4
  28. package/dist-types/ts3.4/pagination/ListTerminologiesPaginator.d.ts +11 -4
  29. package/dist-types/ts3.4/pagination/ListTextTranslationJobsPaginator.d.ts +11 -4
  30. package/dist-types/ts3.4/pagination/index.d.ts +5 -5
  31. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +185 -47
  32. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +65 -38
  33. package/dist-types/ts3.4/runtimeConfig.d.ts +65 -38
  34. package/dist-types/ts3.4/runtimeConfig.native.d.ts +66 -37
  35. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -11
  36. package/package.json +34 -34
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-translate
9
+
10
+
11
+
12
+
13
+
14
+ # [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-translate
17
+
18
+
19
+
20
+
21
+
6
22
  # [3.169.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.168.0...v3.169.0) (2022-09-12)
7
23
 
8
24
  **Note:** Version bump only for package @aws-sdk/client-translate
@@ -1,80 +1,259 @@
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 { ListLanguagesCommandInput, ListLanguagesCommandOutput } from "./commands/ListLanguagesCommand";
10
- import { ListParallelDataCommandInput, ListParallelDataCommandOutput } from "./commands/ListParallelDataCommand";
11
- import { ListTerminologiesCommandInput, ListTerminologiesCommandOutput } from "./commands/ListTerminologiesCommand";
12
- import { ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput } from "./commands/ListTextTranslationJobsCommand";
13
- import { StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput } from "./commands/StartTextTranslationJobCommand";
14
- import { StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput } from "./commands/StopTextTranslationJobCommand";
15
- import { TranslateTextCommandInput, TranslateTextCommandOutput } from "./commands/TranslateTextCommand";
16
- import { UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput } from "./commands/UpdateParallelDataCommand";
17
- import { TranslateClient } from "./TranslateClient";
18
-
19
- export declare class Translate extends TranslateClient {
20
-
21
- createParallelData(args: CreateParallelDataCommandInput, options?: __HttpHandlerOptions): Promise<CreateParallelDataCommandOutput>;
22
- createParallelData(args: CreateParallelDataCommandInput, cb: (err: any, data?: CreateParallelDataCommandOutput) => void): void;
23
- createParallelData(args: CreateParallelDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateParallelDataCommandOutput) => void): void;
24
-
25
- deleteParallelData(args: DeleteParallelDataCommandInput, options?: __HttpHandlerOptions): Promise<DeleteParallelDataCommandOutput>;
26
- deleteParallelData(args: DeleteParallelDataCommandInput, cb: (err: any, data?: DeleteParallelDataCommandOutput) => void): void;
27
- deleteParallelData(args: DeleteParallelDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteParallelDataCommandOutput) => void): void;
28
-
29
- deleteTerminology(args: DeleteTerminologyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTerminologyCommandOutput>;
30
- deleteTerminology(args: DeleteTerminologyCommandInput, cb: (err: any, data?: DeleteTerminologyCommandOutput) => void): void;
31
- deleteTerminology(args: DeleteTerminologyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTerminologyCommandOutput) => void): void;
32
-
33
- describeTextTranslationJob(args: DescribeTextTranslationJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTextTranslationJobCommandOutput>;
34
- describeTextTranslationJob(args: DescribeTextTranslationJobCommandInput, cb: (err: any, data?: DescribeTextTranslationJobCommandOutput) => void): void;
35
- describeTextTranslationJob(args: DescribeTextTranslationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTextTranslationJobCommandOutput) => void): void;
36
-
37
- getParallelData(args: GetParallelDataCommandInput, options?: __HttpHandlerOptions): Promise<GetParallelDataCommandOutput>;
38
- getParallelData(args: GetParallelDataCommandInput, cb: (err: any, data?: GetParallelDataCommandOutput) => void): void;
39
- getParallelData(args: GetParallelDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetParallelDataCommandOutput) => void): void;
40
-
41
- getTerminology(args: GetTerminologyCommandInput, options?: __HttpHandlerOptions): Promise<GetTerminologyCommandOutput>;
42
- getTerminology(args: GetTerminologyCommandInput, cb: (err: any, data?: GetTerminologyCommandOutput) => void): void;
43
- getTerminology(args: GetTerminologyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTerminologyCommandOutput) => void): void;
44
-
45
- importTerminology(args: ImportTerminologyCommandInput, options?: __HttpHandlerOptions): Promise<ImportTerminologyCommandOutput>;
46
- importTerminology(args: ImportTerminologyCommandInput, cb: (err: any, data?: ImportTerminologyCommandOutput) => void): void;
47
- importTerminology(args: ImportTerminologyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportTerminologyCommandOutput) => void): void;
48
-
49
- listLanguages(args: ListLanguagesCommandInput, options?: __HttpHandlerOptions): Promise<ListLanguagesCommandOutput>;
50
- listLanguages(args: ListLanguagesCommandInput, cb: (err: any, data?: ListLanguagesCommandOutput) => void): void;
51
- listLanguages(args: ListLanguagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLanguagesCommandOutput) => void): void;
52
-
53
- listParallelData(args: ListParallelDataCommandInput, options?: __HttpHandlerOptions): Promise<ListParallelDataCommandOutput>;
54
- listParallelData(args: ListParallelDataCommandInput, cb: (err: any, data?: ListParallelDataCommandOutput) => void): void;
55
- listParallelData(args: ListParallelDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListParallelDataCommandOutput) => void): void;
56
-
57
- listTerminologies(args: ListTerminologiesCommandInput, options?: __HttpHandlerOptions): Promise<ListTerminologiesCommandOutput>;
58
- listTerminologies(args: ListTerminologiesCommandInput, cb: (err: any, data?: ListTerminologiesCommandOutput) => void): void;
59
- listTerminologies(args: ListTerminologiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTerminologiesCommandOutput) => void): void;
60
-
61
- listTextTranslationJobs(args: ListTextTranslationJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListTextTranslationJobsCommandOutput>;
62
- listTextTranslationJobs(args: ListTextTranslationJobsCommandInput, cb: (err: any, data?: ListTextTranslationJobsCommandOutput) => void): void;
63
- listTextTranslationJobs(args: ListTextTranslationJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTextTranslationJobsCommandOutput) => void): void;
64
-
65
- startTextTranslationJob(args: StartTextTranslationJobCommandInput, options?: __HttpHandlerOptions): Promise<StartTextTranslationJobCommandOutput>;
66
- startTextTranslationJob(args: StartTextTranslationJobCommandInput, cb: (err: any, data?: StartTextTranslationJobCommandOutput) => void): void;
67
- startTextTranslationJob(args: StartTextTranslationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartTextTranslationJobCommandOutput) => void): void;
68
-
69
- stopTextTranslationJob(args: StopTextTranslationJobCommandInput, options?: __HttpHandlerOptions): Promise<StopTextTranslationJobCommandOutput>;
70
- stopTextTranslationJob(args: StopTextTranslationJobCommandInput, cb: (err: any, data?: StopTextTranslationJobCommandOutput) => void): void;
71
- stopTextTranslationJob(args: StopTextTranslationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopTextTranslationJobCommandOutput) => void): void;
72
-
73
- translateText(args: TranslateTextCommandInput, options?: __HttpHandlerOptions): Promise<TranslateTextCommandOutput>;
74
- translateText(args: TranslateTextCommandInput, cb: (err: any, data?: TranslateTextCommandOutput) => void): void;
75
- translateText(args: TranslateTextCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TranslateTextCommandOutput) => void): void;
76
-
77
- updateParallelData(args: UpdateParallelDataCommandInput, options?: __HttpHandlerOptions): Promise<UpdateParallelDataCommandOutput>;
78
- updateParallelData(args: UpdateParallelDataCommandInput, cb: (err: any, data?: UpdateParallelDataCommandOutput) => void): void;
79
- updateParallelData(args: UpdateParallelDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateParallelDataCommandOutput) => void): void;
80
- }
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import {
3
+ CreateParallelDataCommandInput,
4
+ CreateParallelDataCommandOutput,
5
+ } from "./commands/CreateParallelDataCommand";
6
+ import {
7
+ DeleteParallelDataCommandInput,
8
+ DeleteParallelDataCommandOutput,
9
+ } from "./commands/DeleteParallelDataCommand";
10
+ import {
11
+ DeleteTerminologyCommandInput,
12
+ DeleteTerminologyCommandOutput,
13
+ } from "./commands/DeleteTerminologyCommand";
14
+ import {
15
+ DescribeTextTranslationJobCommandInput,
16
+ DescribeTextTranslationJobCommandOutput,
17
+ } from "./commands/DescribeTextTranslationJobCommand";
18
+ import {
19
+ GetParallelDataCommandInput,
20
+ GetParallelDataCommandOutput,
21
+ } from "./commands/GetParallelDataCommand";
22
+ import {
23
+ GetTerminologyCommandInput,
24
+ GetTerminologyCommandOutput,
25
+ } from "./commands/GetTerminologyCommand";
26
+ import {
27
+ ImportTerminologyCommandInput,
28
+ ImportTerminologyCommandOutput,
29
+ } from "./commands/ImportTerminologyCommand";
30
+ import {
31
+ ListLanguagesCommandInput,
32
+ ListLanguagesCommandOutput,
33
+ } from "./commands/ListLanguagesCommand";
34
+ import {
35
+ ListParallelDataCommandInput,
36
+ ListParallelDataCommandOutput,
37
+ } from "./commands/ListParallelDataCommand";
38
+ import {
39
+ ListTerminologiesCommandInput,
40
+ ListTerminologiesCommandOutput,
41
+ } from "./commands/ListTerminologiesCommand";
42
+ import {
43
+ ListTextTranslationJobsCommandInput,
44
+ ListTextTranslationJobsCommandOutput,
45
+ } from "./commands/ListTextTranslationJobsCommand";
46
+ import {
47
+ StartTextTranslationJobCommandInput,
48
+ StartTextTranslationJobCommandOutput,
49
+ } from "./commands/StartTextTranslationJobCommand";
50
+ import {
51
+ StopTextTranslationJobCommandInput,
52
+ StopTextTranslationJobCommandOutput,
53
+ } from "./commands/StopTextTranslationJobCommand";
54
+ import {
55
+ TranslateTextCommandInput,
56
+ TranslateTextCommandOutput,
57
+ } from "./commands/TranslateTextCommand";
58
+ import {
59
+ UpdateParallelDataCommandInput,
60
+ UpdateParallelDataCommandOutput,
61
+ } from "./commands/UpdateParallelDataCommand";
62
+ import { TranslateClient } from "./TranslateClient";
63
+ export declare class Translate extends TranslateClient {
64
+ createParallelData(
65
+ args: CreateParallelDataCommandInput,
66
+ options?: __HttpHandlerOptions
67
+ ): Promise<CreateParallelDataCommandOutput>;
68
+ createParallelData(
69
+ args: CreateParallelDataCommandInput,
70
+ cb: (err: any, data?: CreateParallelDataCommandOutput) => void
71
+ ): void;
72
+ createParallelData(
73
+ args: CreateParallelDataCommandInput,
74
+ options: __HttpHandlerOptions,
75
+ cb: (err: any, data?: CreateParallelDataCommandOutput) => void
76
+ ): void;
77
+ deleteParallelData(
78
+ args: DeleteParallelDataCommandInput,
79
+ options?: __HttpHandlerOptions
80
+ ): Promise<DeleteParallelDataCommandOutput>;
81
+ deleteParallelData(
82
+ args: DeleteParallelDataCommandInput,
83
+ cb: (err: any, data?: DeleteParallelDataCommandOutput) => void
84
+ ): void;
85
+ deleteParallelData(
86
+ args: DeleteParallelDataCommandInput,
87
+ options: __HttpHandlerOptions,
88
+ cb: (err: any, data?: DeleteParallelDataCommandOutput) => void
89
+ ): void;
90
+ deleteTerminology(
91
+ args: DeleteTerminologyCommandInput,
92
+ options?: __HttpHandlerOptions
93
+ ): Promise<DeleteTerminologyCommandOutput>;
94
+ deleteTerminology(
95
+ args: DeleteTerminologyCommandInput,
96
+ cb: (err: any, data?: DeleteTerminologyCommandOutput) => void
97
+ ): void;
98
+ deleteTerminology(
99
+ args: DeleteTerminologyCommandInput,
100
+ options: __HttpHandlerOptions,
101
+ cb: (err: any, data?: DeleteTerminologyCommandOutput) => void
102
+ ): void;
103
+ describeTextTranslationJob(
104
+ args: DescribeTextTranslationJobCommandInput,
105
+ options?: __HttpHandlerOptions
106
+ ): Promise<DescribeTextTranslationJobCommandOutput>;
107
+ describeTextTranslationJob(
108
+ args: DescribeTextTranslationJobCommandInput,
109
+ cb: (err: any, data?: DescribeTextTranslationJobCommandOutput) => void
110
+ ): void;
111
+ describeTextTranslationJob(
112
+ args: DescribeTextTranslationJobCommandInput,
113
+ options: __HttpHandlerOptions,
114
+ cb: (err: any, data?: DescribeTextTranslationJobCommandOutput) => void
115
+ ): void;
116
+ getParallelData(
117
+ args: GetParallelDataCommandInput,
118
+ options?: __HttpHandlerOptions
119
+ ): Promise<GetParallelDataCommandOutput>;
120
+ getParallelData(
121
+ args: GetParallelDataCommandInput,
122
+ cb: (err: any, data?: GetParallelDataCommandOutput) => void
123
+ ): void;
124
+ getParallelData(
125
+ args: GetParallelDataCommandInput,
126
+ options: __HttpHandlerOptions,
127
+ cb: (err: any, data?: GetParallelDataCommandOutput) => void
128
+ ): void;
129
+ getTerminology(
130
+ args: GetTerminologyCommandInput,
131
+ options?: __HttpHandlerOptions
132
+ ): Promise<GetTerminologyCommandOutput>;
133
+ getTerminology(
134
+ args: GetTerminologyCommandInput,
135
+ cb: (err: any, data?: GetTerminologyCommandOutput) => void
136
+ ): void;
137
+ getTerminology(
138
+ args: GetTerminologyCommandInput,
139
+ options: __HttpHandlerOptions,
140
+ cb: (err: any, data?: GetTerminologyCommandOutput) => void
141
+ ): void;
142
+ importTerminology(
143
+ args: ImportTerminologyCommandInput,
144
+ options?: __HttpHandlerOptions
145
+ ): Promise<ImportTerminologyCommandOutput>;
146
+ importTerminology(
147
+ args: ImportTerminologyCommandInput,
148
+ cb: (err: any, data?: ImportTerminologyCommandOutput) => void
149
+ ): void;
150
+ importTerminology(
151
+ args: ImportTerminologyCommandInput,
152
+ options: __HttpHandlerOptions,
153
+ cb: (err: any, data?: ImportTerminologyCommandOutput) => void
154
+ ): void;
155
+ listLanguages(
156
+ args: ListLanguagesCommandInput,
157
+ options?: __HttpHandlerOptions
158
+ ): Promise<ListLanguagesCommandOutput>;
159
+ listLanguages(
160
+ args: ListLanguagesCommandInput,
161
+ cb: (err: any, data?: ListLanguagesCommandOutput) => void
162
+ ): void;
163
+ listLanguages(
164
+ args: ListLanguagesCommandInput,
165
+ options: __HttpHandlerOptions,
166
+ cb: (err: any, data?: ListLanguagesCommandOutput) => void
167
+ ): void;
168
+ listParallelData(
169
+ args: ListParallelDataCommandInput,
170
+ options?: __HttpHandlerOptions
171
+ ): Promise<ListParallelDataCommandOutput>;
172
+ listParallelData(
173
+ args: ListParallelDataCommandInput,
174
+ cb: (err: any, data?: ListParallelDataCommandOutput) => void
175
+ ): void;
176
+ listParallelData(
177
+ args: ListParallelDataCommandInput,
178
+ options: __HttpHandlerOptions,
179
+ cb: (err: any, data?: ListParallelDataCommandOutput) => void
180
+ ): void;
181
+ listTerminologies(
182
+ args: ListTerminologiesCommandInput,
183
+ options?: __HttpHandlerOptions
184
+ ): Promise<ListTerminologiesCommandOutput>;
185
+ listTerminologies(
186
+ args: ListTerminologiesCommandInput,
187
+ cb: (err: any, data?: ListTerminologiesCommandOutput) => void
188
+ ): void;
189
+ listTerminologies(
190
+ args: ListTerminologiesCommandInput,
191
+ options: __HttpHandlerOptions,
192
+ cb: (err: any, data?: ListTerminologiesCommandOutput) => void
193
+ ): void;
194
+ listTextTranslationJobs(
195
+ args: ListTextTranslationJobsCommandInput,
196
+ options?: __HttpHandlerOptions
197
+ ): Promise<ListTextTranslationJobsCommandOutput>;
198
+ listTextTranslationJobs(
199
+ args: ListTextTranslationJobsCommandInput,
200
+ cb: (err: any, data?: ListTextTranslationJobsCommandOutput) => void
201
+ ): void;
202
+ listTextTranslationJobs(
203
+ args: ListTextTranslationJobsCommandInput,
204
+ options: __HttpHandlerOptions,
205
+ cb: (err: any, data?: ListTextTranslationJobsCommandOutput) => void
206
+ ): void;
207
+ startTextTranslationJob(
208
+ args: StartTextTranslationJobCommandInput,
209
+ options?: __HttpHandlerOptions
210
+ ): Promise<StartTextTranslationJobCommandOutput>;
211
+ startTextTranslationJob(
212
+ args: StartTextTranslationJobCommandInput,
213
+ cb: (err: any, data?: StartTextTranslationJobCommandOutput) => void
214
+ ): void;
215
+ startTextTranslationJob(
216
+ args: StartTextTranslationJobCommandInput,
217
+ options: __HttpHandlerOptions,
218
+ cb: (err: any, data?: StartTextTranslationJobCommandOutput) => void
219
+ ): void;
220
+ stopTextTranslationJob(
221
+ args: StopTextTranslationJobCommandInput,
222
+ options?: __HttpHandlerOptions
223
+ ): Promise<StopTextTranslationJobCommandOutput>;
224
+ stopTextTranslationJob(
225
+ args: StopTextTranslationJobCommandInput,
226
+ cb: (err: any, data?: StopTextTranslationJobCommandOutput) => void
227
+ ): void;
228
+ stopTextTranslationJob(
229
+ args: StopTextTranslationJobCommandInput,
230
+ options: __HttpHandlerOptions,
231
+ cb: (err: any, data?: StopTextTranslationJobCommandOutput) => void
232
+ ): void;
233
+ translateText(
234
+ args: TranslateTextCommandInput,
235
+ options?: __HttpHandlerOptions
236
+ ): Promise<TranslateTextCommandOutput>;
237
+ translateText(
238
+ args: TranslateTextCommandInput,
239
+ cb: (err: any, data?: TranslateTextCommandOutput) => void
240
+ ): void;
241
+ translateText(
242
+ args: TranslateTextCommandInput,
243
+ options: __HttpHandlerOptions,
244
+ cb: (err: any, data?: TranslateTextCommandOutput) => void
245
+ ): void;
246
+ updateParallelData(
247
+ args: UpdateParallelDataCommandInput,
248
+ options?: __HttpHandlerOptions
249
+ ): Promise<UpdateParallelDataCommandOutput>;
250
+ updateParallelData(
251
+ args: UpdateParallelDataCommandInput,
252
+ cb: (err: any, data?: UpdateParallelDataCommandOutput) => void
253
+ ): void;
254
+ updateParallelData(
255
+ args: UpdateParallelDataCommandInput,
256
+ options: __HttpHandlerOptions,
257
+ cb: (err: any, data?: UpdateParallelDataCommandOutput) => void
258
+ ): void;
259
+ }
@@ -1,88 +1,194 @@
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 { BodyLengthCalculator as __BodyLengthCalculator, 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 { ListLanguagesCommandInput, ListLanguagesCommandOutput } from "./commands/ListLanguagesCommand";
17
- import { ListParallelDataCommandInput, ListParallelDataCommandOutput } from "./commands/ListParallelDataCommand";
18
- import { ListTerminologiesCommandInput, ListTerminologiesCommandOutput } from "./commands/ListTerminologiesCommand";
19
- import { ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput } from "./commands/ListTextTranslationJobsCommand";
20
- import { StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput } from "./commands/StartTextTranslationJobCommand";
21
- import { StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput } from "./commands/StopTextTranslationJobCommand";
22
- import { TranslateTextCommandInput, TranslateTextCommandOutput } from "./commands/TranslateTextCommand";
23
- import { UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput } from "./commands/UpdateParallelDataCommand";
24
- export declare type ServiceInputTypes = CreateParallelDataCommandInput | DeleteParallelDataCommandInput | DeleteTerminologyCommandInput | DescribeTextTranslationJobCommandInput | GetParallelDataCommandInput | GetTerminologyCommandInput | ImportTerminologyCommandInput | ListLanguagesCommandInput | ListParallelDataCommandInput | ListTerminologiesCommandInput | ListTextTranslationJobsCommandInput | StartTextTranslationJobCommandInput | StopTextTranslationJobCommandInput | TranslateTextCommandInput | UpdateParallelDataCommandInput;
25
- export declare type ServiceOutputTypes = CreateParallelDataCommandOutput | DeleteParallelDataCommandOutput | DeleteTerminologyCommandOutput | DescribeTextTranslationJobCommandOutput | GetParallelDataCommandOutput | GetTerminologyCommandOutput | ImportTerminologyCommandOutput | ListLanguagesCommandOutput | ListParallelDataCommandOutput | ListTerminologiesCommandOutput | ListTextTranslationJobsCommandOutput | StartTextTranslationJobCommandOutput | StopTextTranslationJobCommandOutput | TranslateTextCommandOutput | UpdateParallelDataCommandOutput;
26
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
27
-
28
- requestHandler?: __HttpHandler;
29
-
30
- sha256?: __HashConstructor;
31
-
32
- urlParser?: __UrlParser;
33
-
34
- bodyLengthChecker?: __BodyLengthCalculator;
35
-
36
- streamCollector?: __StreamCollector;
37
-
38
- base64Decoder?: __Decoder;
39
-
40
- base64Encoder?: __Encoder;
41
-
42
- utf8Decoder?: __Decoder;
43
-
44
- utf8Encoder?: __Encoder;
45
-
46
- runtime?: string;
47
-
48
- disableHostPrefix?: boolean;
49
-
50
- maxAttempts?: number | __Provider<number>;
51
-
52
- retryMode?: string | __Provider<string>;
53
-
54
- logger?: __Logger;
55
-
56
- useDualstackEndpoint?: boolean | __Provider<boolean>;
57
-
58
- useFipsEndpoint?: boolean | __Provider<boolean>;
59
-
60
- serviceId?: string;
61
-
62
- region?: string | __Provider<string>;
63
-
64
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
65
-
66
- regionInfoProvider?: RegionInfoProvider;
67
-
68
- defaultUserAgentProvider?: Provider<__UserAgent>;
69
-
70
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
71
- }
72
- declare type TranslateClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
73
-
74
- export interface TranslateClientConfig extends TranslateClientConfigType {
75
- }
76
- declare type TranslateClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
77
-
78
- export interface TranslateClientResolvedConfig extends TranslateClientResolvedConfigType {
79
- }
80
-
81
- export declare class TranslateClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig> {
82
-
83
- readonly config: TranslateClientResolvedConfig;
84
- constructor(configuration: TranslateClientConfig);
85
-
86
- destroy(): void;
87
- }
88
- export {};
1
+ import {
2
+ EndpointsInputConfig,
3
+ EndpointsResolvedConfig,
4
+ RegionInputConfig,
5
+ RegionResolvedConfig,
6
+ } from "@aws-sdk/config-resolver";
7
+ import {
8
+ HostHeaderInputConfig,
9
+ HostHeaderResolvedConfig,
10
+ } from "@aws-sdk/middleware-host-header";
11
+ import {
12
+ RetryInputConfig,
13
+ RetryResolvedConfig,
14
+ } from "@aws-sdk/middleware-retry";
15
+ import {
16
+ AwsAuthInputConfig,
17
+ AwsAuthResolvedConfig,
18
+ } from "@aws-sdk/middleware-signing";
19
+ import {
20
+ UserAgentInputConfig,
21
+ UserAgentResolvedConfig,
22
+ } from "@aws-sdk/middleware-user-agent";
23
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
24
+ import {
25
+ Client as __Client,
26
+ DefaultsMode,
27
+ SmithyConfiguration as __SmithyConfiguration,
28
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
29
+ } from "@aws-sdk/smithy-client";
30
+ import {
31
+ BodyLengthCalculator as __BodyLengthCalculator,
32
+ Credentials as __Credentials,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ RegionInfoProvider,
41
+ StreamCollector as __StreamCollector,
42
+ UrlParser as __UrlParser,
43
+ UserAgent as __UserAgent,
44
+ } from "@aws-sdk/types";
45
+ import {
46
+ CreateParallelDataCommandInput,
47
+ CreateParallelDataCommandOutput,
48
+ } from "./commands/CreateParallelDataCommand";
49
+ import {
50
+ DeleteParallelDataCommandInput,
51
+ DeleteParallelDataCommandOutput,
52
+ } from "./commands/DeleteParallelDataCommand";
53
+ import {
54
+ DeleteTerminologyCommandInput,
55
+ DeleteTerminologyCommandOutput,
56
+ } from "./commands/DeleteTerminologyCommand";
57
+ import {
58
+ DescribeTextTranslationJobCommandInput,
59
+ DescribeTextTranslationJobCommandOutput,
60
+ } from "./commands/DescribeTextTranslationJobCommand";
61
+ import {
62
+ GetParallelDataCommandInput,
63
+ GetParallelDataCommandOutput,
64
+ } from "./commands/GetParallelDataCommand";
65
+ import {
66
+ GetTerminologyCommandInput,
67
+ GetTerminologyCommandOutput,
68
+ } from "./commands/GetTerminologyCommand";
69
+ import {
70
+ ImportTerminologyCommandInput,
71
+ ImportTerminologyCommandOutput,
72
+ } from "./commands/ImportTerminologyCommand";
73
+ import {
74
+ ListLanguagesCommandInput,
75
+ ListLanguagesCommandOutput,
76
+ } from "./commands/ListLanguagesCommand";
77
+ import {
78
+ ListParallelDataCommandInput,
79
+ ListParallelDataCommandOutput,
80
+ } from "./commands/ListParallelDataCommand";
81
+ import {
82
+ ListTerminologiesCommandInput,
83
+ ListTerminologiesCommandOutput,
84
+ } from "./commands/ListTerminologiesCommand";
85
+ import {
86
+ ListTextTranslationJobsCommandInput,
87
+ ListTextTranslationJobsCommandOutput,
88
+ } from "./commands/ListTextTranslationJobsCommand";
89
+ import {
90
+ StartTextTranslationJobCommandInput,
91
+ StartTextTranslationJobCommandOutput,
92
+ } from "./commands/StartTextTranslationJobCommand";
93
+ import {
94
+ StopTextTranslationJobCommandInput,
95
+ StopTextTranslationJobCommandOutput,
96
+ } from "./commands/StopTextTranslationJobCommand";
97
+ import {
98
+ TranslateTextCommandInput,
99
+ TranslateTextCommandOutput,
100
+ } from "./commands/TranslateTextCommand";
101
+ import {
102
+ UpdateParallelDataCommandInput,
103
+ UpdateParallelDataCommandOutput,
104
+ } from "./commands/UpdateParallelDataCommand";
105
+ export declare type ServiceInputTypes =
106
+ | CreateParallelDataCommandInput
107
+ | DeleteParallelDataCommandInput
108
+ | DeleteTerminologyCommandInput
109
+ | DescribeTextTranslationJobCommandInput
110
+ | GetParallelDataCommandInput
111
+ | GetTerminologyCommandInput
112
+ | ImportTerminologyCommandInput
113
+ | ListLanguagesCommandInput
114
+ | ListParallelDataCommandInput
115
+ | ListTerminologiesCommandInput
116
+ | ListTextTranslationJobsCommandInput
117
+ | StartTextTranslationJobCommandInput
118
+ | StopTextTranslationJobCommandInput
119
+ | TranslateTextCommandInput
120
+ | UpdateParallelDataCommandInput;
121
+ export declare type ServiceOutputTypes =
122
+ | CreateParallelDataCommandOutput
123
+ | DeleteParallelDataCommandOutput
124
+ | DeleteTerminologyCommandOutput
125
+ | DescribeTextTranslationJobCommandOutput
126
+ | GetParallelDataCommandOutput
127
+ | GetTerminologyCommandOutput
128
+ | ImportTerminologyCommandOutput
129
+ | ListLanguagesCommandOutput
130
+ | ListParallelDataCommandOutput
131
+ | ListTerminologiesCommandOutput
132
+ | ListTextTranslationJobsCommandOutput
133
+ | StartTextTranslationJobCommandOutput
134
+ | StopTextTranslationJobCommandOutput
135
+ | TranslateTextCommandOutput
136
+ | UpdateParallelDataCommandOutput;
137
+ export interface ClientDefaults
138
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
139
+ requestHandler?: __HttpHandler;
140
+ sha256?: __HashConstructor;
141
+ urlParser?: __UrlParser;
142
+ bodyLengthChecker?: __BodyLengthCalculator;
143
+ streamCollector?: __StreamCollector;
144
+ base64Decoder?: __Decoder;
145
+ base64Encoder?: __Encoder;
146
+ utf8Decoder?: __Decoder;
147
+ utf8Encoder?: __Encoder;
148
+ runtime?: string;
149
+ disableHostPrefix?: boolean;
150
+ maxAttempts?: number | __Provider<number>;
151
+ retryMode?: string | __Provider<string>;
152
+ logger?: __Logger;
153
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
154
+ useFipsEndpoint?: boolean | __Provider<boolean>;
155
+ serviceId?: string;
156
+ region?: string | __Provider<string>;
157
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
158
+ regionInfoProvider?: RegionInfoProvider;
159
+ defaultUserAgentProvider?: Provider<__UserAgent>;
160
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
161
+ }
162
+ declare type TranslateClientConfigType = Partial<
163
+ __SmithyConfiguration<__HttpHandlerOptions>
164
+ > &
165
+ ClientDefaults &
166
+ RegionInputConfig &
167
+ EndpointsInputConfig &
168
+ RetryInputConfig &
169
+ HostHeaderInputConfig &
170
+ AwsAuthInputConfig &
171
+ UserAgentInputConfig;
172
+ export interface TranslateClientConfig extends TranslateClientConfigType {}
173
+ declare type TranslateClientResolvedConfigType =
174
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
175
+ Required<ClientDefaults> &
176
+ RegionResolvedConfig &
177
+ EndpointsResolvedConfig &
178
+ RetryResolvedConfig &
179
+ HostHeaderResolvedConfig &
180
+ AwsAuthResolvedConfig &
181
+ UserAgentResolvedConfig;
182
+ export interface TranslateClientResolvedConfig
183
+ extends TranslateClientResolvedConfigType {}
184
+ export declare class TranslateClient extends __Client<
185
+ __HttpHandlerOptions,
186
+ ServiceInputTypes,
187
+ ServiceOutputTypes,
188
+ TranslateClientResolvedConfig
189
+ > {
190
+ readonly config: TranslateClientResolvedConfig;
191
+ constructor(configuration: TranslateClientConfig);
192
+ destroy(): void;
193
+ }
194
+ export {};