@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.
- package/CHANGELOG.md +16 -0
- package/dist-types/ts3.4/Translate.d.ts +259 -80
- package/dist-types/ts3.4/TranslateClient.d.ts +194 -88
- package/dist-types/ts3.4/commands/CreateParallelDataCommand.d.ts +36 -17
- package/dist-types/ts3.4/commands/DeleteParallelDataCommand.d.ts +36 -17
- package/dist-types/ts3.4/commands/DeleteTerminologyCommand.d.ts +31 -17
- package/dist-types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +39 -17
- package/dist-types/ts3.4/commands/GetParallelDataCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/GetTerminologyCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/ImportTerminologyCommand.d.ts +36 -17
- package/dist-types/ts3.4/commands/ListLanguagesCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/ListParallelDataCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/ListTerminologiesCommand.d.ts +36 -17
- package/dist-types/ts3.4/commands/ListTextTranslationJobsCommand.d.ts +39 -17
- package/dist-types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +39 -17
- package/dist-types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +39 -17
- package/dist-types/ts3.4/commands/TranslateTextCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/UpdateParallelDataCommand.d.ts +36 -17
- package/dist-types/ts3.4/commands/index.d.ts +15 -15
- package/dist-types/ts3.4/endpoints.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +6 -6
- package/dist-types/ts3.4/models/TranslateServiceException.d.ts +7 -6
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +560 -689
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
- package/dist-types/ts3.4/pagination/ListLanguagesPaginator.d.ts +11 -4
- package/dist-types/ts3.4/pagination/ListParallelDataPaginator.d.ts +11 -4
- package/dist-types/ts3.4/pagination/ListTerminologiesPaginator.d.ts +11 -4
- package/dist-types/ts3.4/pagination/ListTextTranslationJobsPaginator.d.ts +11 -4
- package/dist-types/ts3.4/pagination/index.d.ts +5 -5
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +185 -47
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +65 -38
- package/dist-types/ts3.4/runtimeConfig.d.ts +65 -38
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +66 -37
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -11
- 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 {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
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 {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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 {};
|