@aws-sdk/client-translate 3.1087.0 → 3.1089.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1 -1
- package/dist-types/ts3.4/Translate.d.ts +62 -65
- package/dist-types/ts3.4/TranslateClient.d.ts +6 -18
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/CreateParallelDataCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteParallelDataCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteTerminologyCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetParallelDataCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetTerminologyCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ImportTerminologyCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListLanguagesCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/ListParallelDataCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListTerminologiesCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListTextTranslationJobsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/TranslateDocumentCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/TranslateTextCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateParallelDataCommand.d.ts +5 -10
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +5 -10
- package/dist-types/ts3.4/models/errors.d.ts +14 -52
- package/dist-types/ts3.4/models/models_0.d.ts +1 -3
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +38 -38
package/dist-cjs/index.js
CHANGED
|
@@ -59,10 +59,7 @@ import {
|
|
|
59
59
|
StopTextTranslationJobCommandInput,
|
|
60
60
|
StopTextTranslationJobCommandOutput,
|
|
61
61
|
} from "./commands/StopTextTranslationJobCommand";
|
|
62
|
-
import {
|
|
63
|
-
TagResourceCommandInput,
|
|
64
|
-
TagResourceCommandOutput,
|
|
65
|
-
} from "./commands/TagResourceCommand";
|
|
62
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
66
63
|
import {
|
|
67
64
|
TranslateDocumentCommandInput,
|
|
68
65
|
TranslateDocumentCommandOutput,
|
|
@@ -83,282 +80,282 @@ import { TranslateClient } from "./TranslateClient";
|
|
|
83
80
|
export interface Translate {
|
|
84
81
|
createParallelData(
|
|
85
82
|
args: CreateParallelDataCommandInput,
|
|
86
|
-
options?: __HttpHandlerOptions
|
|
83
|
+
options?: __HttpHandlerOptions,
|
|
87
84
|
): Promise<CreateParallelDataCommandOutput>;
|
|
88
85
|
createParallelData(
|
|
89
86
|
args: CreateParallelDataCommandInput,
|
|
90
|
-
cb: (err: any, data?: CreateParallelDataCommandOutput) => void
|
|
87
|
+
cb: (err: any, data?: CreateParallelDataCommandOutput) => void,
|
|
91
88
|
): void;
|
|
92
89
|
createParallelData(
|
|
93
90
|
args: CreateParallelDataCommandInput,
|
|
94
91
|
options: __HttpHandlerOptions,
|
|
95
|
-
cb: (err: any, data?: CreateParallelDataCommandOutput) => void
|
|
92
|
+
cb: (err: any, data?: CreateParallelDataCommandOutput) => void,
|
|
96
93
|
): void;
|
|
97
94
|
deleteParallelData(
|
|
98
95
|
args: DeleteParallelDataCommandInput,
|
|
99
|
-
options?: __HttpHandlerOptions
|
|
96
|
+
options?: __HttpHandlerOptions,
|
|
100
97
|
): Promise<DeleteParallelDataCommandOutput>;
|
|
101
98
|
deleteParallelData(
|
|
102
99
|
args: DeleteParallelDataCommandInput,
|
|
103
|
-
cb: (err: any, data?: DeleteParallelDataCommandOutput) => void
|
|
100
|
+
cb: (err: any, data?: DeleteParallelDataCommandOutput) => void,
|
|
104
101
|
): void;
|
|
105
102
|
deleteParallelData(
|
|
106
103
|
args: DeleteParallelDataCommandInput,
|
|
107
104
|
options: __HttpHandlerOptions,
|
|
108
|
-
cb: (err: any, data?: DeleteParallelDataCommandOutput) => void
|
|
105
|
+
cb: (err: any, data?: DeleteParallelDataCommandOutput) => void,
|
|
109
106
|
): void;
|
|
110
107
|
deleteTerminology(
|
|
111
108
|
args: DeleteTerminologyCommandInput,
|
|
112
|
-
options?: __HttpHandlerOptions
|
|
109
|
+
options?: __HttpHandlerOptions,
|
|
113
110
|
): Promise<DeleteTerminologyCommandOutput>;
|
|
114
111
|
deleteTerminology(
|
|
115
112
|
args: DeleteTerminologyCommandInput,
|
|
116
|
-
cb: (err: any, data?: DeleteTerminologyCommandOutput) => void
|
|
113
|
+
cb: (err: any, data?: DeleteTerminologyCommandOutput) => void,
|
|
117
114
|
): void;
|
|
118
115
|
deleteTerminology(
|
|
119
116
|
args: DeleteTerminologyCommandInput,
|
|
120
117
|
options: __HttpHandlerOptions,
|
|
121
|
-
cb: (err: any, data?: DeleteTerminologyCommandOutput) => void
|
|
118
|
+
cb: (err: any, data?: DeleteTerminologyCommandOutput) => void,
|
|
122
119
|
): void;
|
|
123
120
|
describeTextTranslationJob(
|
|
124
121
|
args: DescribeTextTranslationJobCommandInput,
|
|
125
|
-
options?: __HttpHandlerOptions
|
|
122
|
+
options?: __HttpHandlerOptions,
|
|
126
123
|
): Promise<DescribeTextTranslationJobCommandOutput>;
|
|
127
124
|
describeTextTranslationJob(
|
|
128
125
|
args: DescribeTextTranslationJobCommandInput,
|
|
129
|
-
cb: (err: any, data?: DescribeTextTranslationJobCommandOutput) => void
|
|
126
|
+
cb: (err: any, data?: DescribeTextTranslationJobCommandOutput) => void,
|
|
130
127
|
): void;
|
|
131
128
|
describeTextTranslationJob(
|
|
132
129
|
args: DescribeTextTranslationJobCommandInput,
|
|
133
130
|
options: __HttpHandlerOptions,
|
|
134
|
-
cb: (err: any, data?: DescribeTextTranslationJobCommandOutput) => void
|
|
131
|
+
cb: (err: any, data?: DescribeTextTranslationJobCommandOutput) => void,
|
|
135
132
|
): void;
|
|
136
133
|
getParallelData(
|
|
137
134
|
args: GetParallelDataCommandInput,
|
|
138
|
-
options?: __HttpHandlerOptions
|
|
135
|
+
options?: __HttpHandlerOptions,
|
|
139
136
|
): Promise<GetParallelDataCommandOutput>;
|
|
140
137
|
getParallelData(
|
|
141
138
|
args: GetParallelDataCommandInput,
|
|
142
|
-
cb: (err: any, data?: GetParallelDataCommandOutput) => void
|
|
139
|
+
cb: (err: any, data?: GetParallelDataCommandOutput) => void,
|
|
143
140
|
): void;
|
|
144
141
|
getParallelData(
|
|
145
142
|
args: GetParallelDataCommandInput,
|
|
146
143
|
options: __HttpHandlerOptions,
|
|
147
|
-
cb: (err: any, data?: GetParallelDataCommandOutput) => void
|
|
144
|
+
cb: (err: any, data?: GetParallelDataCommandOutput) => void,
|
|
148
145
|
): void;
|
|
149
146
|
getTerminology(
|
|
150
147
|
args: GetTerminologyCommandInput,
|
|
151
|
-
options?: __HttpHandlerOptions
|
|
148
|
+
options?: __HttpHandlerOptions,
|
|
152
149
|
): Promise<GetTerminologyCommandOutput>;
|
|
153
150
|
getTerminology(
|
|
154
151
|
args: GetTerminologyCommandInput,
|
|
155
|
-
cb: (err: any, data?: GetTerminologyCommandOutput) => void
|
|
152
|
+
cb: (err: any, data?: GetTerminologyCommandOutput) => void,
|
|
156
153
|
): void;
|
|
157
154
|
getTerminology(
|
|
158
155
|
args: GetTerminologyCommandInput,
|
|
159
156
|
options: __HttpHandlerOptions,
|
|
160
|
-
cb: (err: any, data?: GetTerminologyCommandOutput) => void
|
|
157
|
+
cb: (err: any, data?: GetTerminologyCommandOutput) => void,
|
|
161
158
|
): void;
|
|
162
159
|
importTerminology(
|
|
163
160
|
args: ImportTerminologyCommandInput,
|
|
164
|
-
options?: __HttpHandlerOptions
|
|
161
|
+
options?: __HttpHandlerOptions,
|
|
165
162
|
): Promise<ImportTerminologyCommandOutput>;
|
|
166
163
|
importTerminology(
|
|
167
164
|
args: ImportTerminologyCommandInput,
|
|
168
|
-
cb: (err: any, data?: ImportTerminologyCommandOutput) => void
|
|
165
|
+
cb: (err: any, data?: ImportTerminologyCommandOutput) => void,
|
|
169
166
|
): void;
|
|
170
167
|
importTerminology(
|
|
171
168
|
args: ImportTerminologyCommandInput,
|
|
172
169
|
options: __HttpHandlerOptions,
|
|
173
|
-
cb: (err: any, data?: ImportTerminologyCommandOutput) => void
|
|
170
|
+
cb: (err: any, data?: ImportTerminologyCommandOutput) => void,
|
|
174
171
|
): void;
|
|
175
172
|
listLanguages(): Promise<ListLanguagesCommandOutput>;
|
|
176
173
|
listLanguages(
|
|
177
174
|
args: ListLanguagesCommandInput,
|
|
178
|
-
options?: __HttpHandlerOptions
|
|
175
|
+
options?: __HttpHandlerOptions,
|
|
179
176
|
): Promise<ListLanguagesCommandOutput>;
|
|
180
177
|
listLanguages(
|
|
181
178
|
args: ListLanguagesCommandInput,
|
|
182
|
-
cb: (err: any, data?: ListLanguagesCommandOutput) => void
|
|
179
|
+
cb: (err: any, data?: ListLanguagesCommandOutput) => void,
|
|
183
180
|
): void;
|
|
184
181
|
listLanguages(
|
|
185
182
|
args: ListLanguagesCommandInput,
|
|
186
183
|
options: __HttpHandlerOptions,
|
|
187
|
-
cb: (err: any, data?: ListLanguagesCommandOutput) => void
|
|
184
|
+
cb: (err: any, data?: ListLanguagesCommandOutput) => void,
|
|
188
185
|
): void;
|
|
189
186
|
listParallelData(): Promise<ListParallelDataCommandOutput>;
|
|
190
187
|
listParallelData(
|
|
191
188
|
args: ListParallelDataCommandInput,
|
|
192
|
-
options?: __HttpHandlerOptions
|
|
189
|
+
options?: __HttpHandlerOptions,
|
|
193
190
|
): Promise<ListParallelDataCommandOutput>;
|
|
194
191
|
listParallelData(
|
|
195
192
|
args: ListParallelDataCommandInput,
|
|
196
|
-
cb: (err: any, data?: ListParallelDataCommandOutput) => void
|
|
193
|
+
cb: (err: any, data?: ListParallelDataCommandOutput) => void,
|
|
197
194
|
): void;
|
|
198
195
|
listParallelData(
|
|
199
196
|
args: ListParallelDataCommandInput,
|
|
200
197
|
options: __HttpHandlerOptions,
|
|
201
|
-
cb: (err: any, data?: ListParallelDataCommandOutput) => void
|
|
198
|
+
cb: (err: any, data?: ListParallelDataCommandOutput) => void,
|
|
202
199
|
): void;
|
|
203
200
|
listTagsForResource(
|
|
204
201
|
args: ListTagsForResourceCommandInput,
|
|
205
|
-
options?: __HttpHandlerOptions
|
|
202
|
+
options?: __HttpHandlerOptions,
|
|
206
203
|
): Promise<ListTagsForResourceCommandOutput>;
|
|
207
204
|
listTagsForResource(
|
|
208
205
|
args: ListTagsForResourceCommandInput,
|
|
209
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
206
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
210
207
|
): void;
|
|
211
208
|
listTagsForResource(
|
|
212
209
|
args: ListTagsForResourceCommandInput,
|
|
213
210
|
options: __HttpHandlerOptions,
|
|
214
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
211
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
215
212
|
): void;
|
|
216
213
|
listTerminologies(): Promise<ListTerminologiesCommandOutput>;
|
|
217
214
|
listTerminologies(
|
|
218
215
|
args: ListTerminologiesCommandInput,
|
|
219
|
-
options?: __HttpHandlerOptions
|
|
216
|
+
options?: __HttpHandlerOptions,
|
|
220
217
|
): Promise<ListTerminologiesCommandOutput>;
|
|
221
218
|
listTerminologies(
|
|
222
219
|
args: ListTerminologiesCommandInput,
|
|
223
|
-
cb: (err: any, data?: ListTerminologiesCommandOutput) => void
|
|
220
|
+
cb: (err: any, data?: ListTerminologiesCommandOutput) => void,
|
|
224
221
|
): void;
|
|
225
222
|
listTerminologies(
|
|
226
223
|
args: ListTerminologiesCommandInput,
|
|
227
224
|
options: __HttpHandlerOptions,
|
|
228
|
-
cb: (err: any, data?: ListTerminologiesCommandOutput) => void
|
|
225
|
+
cb: (err: any, data?: ListTerminologiesCommandOutput) => void,
|
|
229
226
|
): void;
|
|
230
227
|
listTextTranslationJobs(): Promise<ListTextTranslationJobsCommandOutput>;
|
|
231
228
|
listTextTranslationJobs(
|
|
232
229
|
args: ListTextTranslationJobsCommandInput,
|
|
233
|
-
options?: __HttpHandlerOptions
|
|
230
|
+
options?: __HttpHandlerOptions,
|
|
234
231
|
): Promise<ListTextTranslationJobsCommandOutput>;
|
|
235
232
|
listTextTranslationJobs(
|
|
236
233
|
args: ListTextTranslationJobsCommandInput,
|
|
237
|
-
cb: (err: any, data?: ListTextTranslationJobsCommandOutput) => void
|
|
234
|
+
cb: (err: any, data?: ListTextTranslationJobsCommandOutput) => void,
|
|
238
235
|
): void;
|
|
239
236
|
listTextTranslationJobs(
|
|
240
237
|
args: ListTextTranslationJobsCommandInput,
|
|
241
238
|
options: __HttpHandlerOptions,
|
|
242
|
-
cb: (err: any, data?: ListTextTranslationJobsCommandOutput) => void
|
|
239
|
+
cb: (err: any, data?: ListTextTranslationJobsCommandOutput) => void,
|
|
243
240
|
): void;
|
|
244
241
|
startTextTranslationJob(
|
|
245
242
|
args: StartTextTranslationJobCommandInput,
|
|
246
|
-
options?: __HttpHandlerOptions
|
|
243
|
+
options?: __HttpHandlerOptions,
|
|
247
244
|
): Promise<StartTextTranslationJobCommandOutput>;
|
|
248
245
|
startTextTranslationJob(
|
|
249
246
|
args: StartTextTranslationJobCommandInput,
|
|
250
|
-
cb: (err: any, data?: StartTextTranslationJobCommandOutput) => void
|
|
247
|
+
cb: (err: any, data?: StartTextTranslationJobCommandOutput) => void,
|
|
251
248
|
): void;
|
|
252
249
|
startTextTranslationJob(
|
|
253
250
|
args: StartTextTranslationJobCommandInput,
|
|
254
251
|
options: __HttpHandlerOptions,
|
|
255
|
-
cb: (err: any, data?: StartTextTranslationJobCommandOutput) => void
|
|
252
|
+
cb: (err: any, data?: StartTextTranslationJobCommandOutput) => void,
|
|
256
253
|
): void;
|
|
257
254
|
stopTextTranslationJob(
|
|
258
255
|
args: StopTextTranslationJobCommandInput,
|
|
259
|
-
options?: __HttpHandlerOptions
|
|
256
|
+
options?: __HttpHandlerOptions,
|
|
260
257
|
): Promise<StopTextTranslationJobCommandOutput>;
|
|
261
258
|
stopTextTranslationJob(
|
|
262
259
|
args: StopTextTranslationJobCommandInput,
|
|
263
|
-
cb: (err: any, data?: StopTextTranslationJobCommandOutput) => void
|
|
260
|
+
cb: (err: any, data?: StopTextTranslationJobCommandOutput) => void,
|
|
264
261
|
): void;
|
|
265
262
|
stopTextTranslationJob(
|
|
266
263
|
args: StopTextTranslationJobCommandInput,
|
|
267
264
|
options: __HttpHandlerOptions,
|
|
268
|
-
cb: (err: any, data?: StopTextTranslationJobCommandOutput) => void
|
|
265
|
+
cb: (err: any, data?: StopTextTranslationJobCommandOutput) => void,
|
|
269
266
|
): void;
|
|
270
267
|
tagResource(
|
|
271
268
|
args: TagResourceCommandInput,
|
|
272
|
-
options?: __HttpHandlerOptions
|
|
269
|
+
options?: __HttpHandlerOptions,
|
|
273
270
|
): Promise<TagResourceCommandOutput>;
|
|
274
271
|
tagResource(
|
|
275
272
|
args: TagResourceCommandInput,
|
|
276
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
273
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
277
274
|
): void;
|
|
278
275
|
tagResource(
|
|
279
276
|
args: TagResourceCommandInput,
|
|
280
277
|
options: __HttpHandlerOptions,
|
|
281
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
278
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
282
279
|
): void;
|
|
283
280
|
translateDocument(
|
|
284
281
|
args: TranslateDocumentCommandInput,
|
|
285
|
-
options?: __HttpHandlerOptions
|
|
282
|
+
options?: __HttpHandlerOptions,
|
|
286
283
|
): Promise<TranslateDocumentCommandOutput>;
|
|
287
284
|
translateDocument(
|
|
288
285
|
args: TranslateDocumentCommandInput,
|
|
289
|
-
cb: (err: any, data?: TranslateDocumentCommandOutput) => void
|
|
286
|
+
cb: (err: any, data?: TranslateDocumentCommandOutput) => void,
|
|
290
287
|
): void;
|
|
291
288
|
translateDocument(
|
|
292
289
|
args: TranslateDocumentCommandInput,
|
|
293
290
|
options: __HttpHandlerOptions,
|
|
294
|
-
cb: (err: any, data?: TranslateDocumentCommandOutput) => void
|
|
291
|
+
cb: (err: any, data?: TranslateDocumentCommandOutput) => void,
|
|
295
292
|
): void;
|
|
296
293
|
translateText(
|
|
297
294
|
args: TranslateTextCommandInput,
|
|
298
|
-
options?: __HttpHandlerOptions
|
|
295
|
+
options?: __HttpHandlerOptions,
|
|
299
296
|
): Promise<TranslateTextCommandOutput>;
|
|
300
297
|
translateText(
|
|
301
298
|
args: TranslateTextCommandInput,
|
|
302
|
-
cb: (err: any, data?: TranslateTextCommandOutput) => void
|
|
299
|
+
cb: (err: any, data?: TranslateTextCommandOutput) => void,
|
|
303
300
|
): void;
|
|
304
301
|
translateText(
|
|
305
302
|
args: TranslateTextCommandInput,
|
|
306
303
|
options: __HttpHandlerOptions,
|
|
307
|
-
cb: (err: any, data?: TranslateTextCommandOutput) => void
|
|
304
|
+
cb: (err: any, data?: TranslateTextCommandOutput) => void,
|
|
308
305
|
): void;
|
|
309
306
|
untagResource(
|
|
310
307
|
args: UntagResourceCommandInput,
|
|
311
|
-
options?: __HttpHandlerOptions
|
|
308
|
+
options?: __HttpHandlerOptions,
|
|
312
309
|
): Promise<UntagResourceCommandOutput>;
|
|
313
310
|
untagResource(
|
|
314
311
|
args: UntagResourceCommandInput,
|
|
315
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
312
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
316
313
|
): void;
|
|
317
314
|
untagResource(
|
|
318
315
|
args: UntagResourceCommandInput,
|
|
319
316
|
options: __HttpHandlerOptions,
|
|
320
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
317
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
321
318
|
): void;
|
|
322
319
|
updateParallelData(
|
|
323
320
|
args: UpdateParallelDataCommandInput,
|
|
324
|
-
options?: __HttpHandlerOptions
|
|
321
|
+
options?: __HttpHandlerOptions,
|
|
325
322
|
): Promise<UpdateParallelDataCommandOutput>;
|
|
326
323
|
updateParallelData(
|
|
327
324
|
args: UpdateParallelDataCommandInput,
|
|
328
|
-
cb: (err: any, data?: UpdateParallelDataCommandOutput) => void
|
|
325
|
+
cb: (err: any, data?: UpdateParallelDataCommandOutput) => void,
|
|
329
326
|
): void;
|
|
330
327
|
updateParallelData(
|
|
331
328
|
args: UpdateParallelDataCommandInput,
|
|
332
329
|
options: __HttpHandlerOptions,
|
|
333
|
-
cb: (err: any, data?: UpdateParallelDataCommandOutput) => void
|
|
330
|
+
cb: (err: any, data?: UpdateParallelDataCommandOutput) => void,
|
|
334
331
|
): void;
|
|
335
332
|
paginateListLanguages(
|
|
336
333
|
args?: ListLanguagesCommandInput,
|
|
337
334
|
paginationConfig?: Pick<
|
|
338
335
|
PaginationConfiguration,
|
|
339
336
|
Exclude<keyof PaginationConfiguration, "client">
|
|
340
|
-
|
|
337
|
+
>,
|
|
341
338
|
): Paginator<ListLanguagesCommandOutput>;
|
|
342
339
|
paginateListParallelData(
|
|
343
340
|
args?: ListParallelDataCommandInput,
|
|
344
341
|
paginationConfig?: Pick<
|
|
345
342
|
PaginationConfiguration,
|
|
346
343
|
Exclude<keyof PaginationConfiguration, "client">
|
|
347
|
-
|
|
344
|
+
>,
|
|
348
345
|
): Paginator<ListParallelDataCommandOutput>;
|
|
349
346
|
paginateListTerminologies(
|
|
350
347
|
args?: ListTerminologiesCommandInput,
|
|
351
348
|
paginationConfig?: Pick<
|
|
352
349
|
PaginationConfiguration,
|
|
353
350
|
Exclude<keyof PaginationConfiguration, "client">
|
|
354
|
-
|
|
351
|
+
>,
|
|
355
352
|
): Paginator<ListTerminologiesCommandOutput>;
|
|
356
353
|
paginateListTextTranslationJobs(
|
|
357
354
|
args?: ListTextTranslationJobsCommandInput,
|
|
358
355
|
paginationConfig?: Pick<
|
|
359
356
|
PaginationConfiguration,
|
|
360
357
|
Exclude<keyof PaginationConfiguration, "client">
|
|
361
|
-
|
|
358
|
+
>,
|
|
362
359
|
): Paginator<ListTextTranslationJobsCommandOutput>;
|
|
363
360
|
}
|
|
364
361
|
export declare class Translate extends TranslateClient implements Translate {}
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -92,10 +89,7 @@ import {
|
|
|
92
89
|
StopTextTranslationJobCommandInput,
|
|
93
90
|
StopTextTranslationJobCommandOutput,
|
|
94
91
|
} from "./commands/StopTextTranslationJobCommand";
|
|
95
|
-
import {
|
|
96
|
-
TagResourceCommandInput,
|
|
97
|
-
TagResourceCommandOutput,
|
|
98
|
-
} from "./commands/TagResourceCommand";
|
|
92
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
99
93
|
import {
|
|
100
94
|
TranslateDocumentCommandInput,
|
|
101
95
|
TranslateDocumentCommandOutput,
|
|
@@ -159,8 +153,7 @@ export type ServiceOutputTypes =
|
|
|
159
153
|
| TranslateTextCommandOutput
|
|
160
154
|
| UntagResourceCommandOutput
|
|
161
155
|
| UpdateParallelDataCommandOutput;
|
|
162
|
-
export interface ClientDefaults
|
|
163
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
156
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
164
157
|
requestHandler?: __HttpHandlerUserInput;
|
|
165
158
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
166
159
|
urlParser?: __UrlParser;
|
|
@@ -185,9 +178,7 @@ export interface ClientDefaults
|
|
|
185
178
|
extensions?: RuntimeExtension[];
|
|
186
179
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
187
180
|
}
|
|
188
|
-
export type TranslateClientConfigType = Partial<
|
|
189
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
190
|
-
> &
|
|
181
|
+
export type TranslateClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
191
182
|
ClientDefaults &
|
|
192
183
|
UserAgentInputConfig &
|
|
193
184
|
RetryInputConfig &
|
|
@@ -208,8 +199,7 @@ export type TranslateClientResolvedConfigType =
|
|
|
208
199
|
EndpointResolvedConfig<EndpointParameters> &
|
|
209
200
|
HttpAuthSchemeResolvedConfig &
|
|
210
201
|
ClientResolvedEndpointParameters;
|
|
211
|
-
export interface TranslateClientResolvedConfig
|
|
212
|
-
extends TranslateClientResolvedConfigType {}
|
|
202
|
+
export interface TranslateClientResolvedConfig extends TranslateClientResolvedConfigType {}
|
|
213
203
|
export declare class TranslateClient extends __Client<
|
|
214
204
|
__HttpHandlerOptions,
|
|
215
205
|
ServiceInputTypes,
|
|
@@ -217,8 +207,6 @@ export declare class TranslateClient extends __Client<
|
|
|
217
207
|
TranslateClientResolvedConfig
|
|
218
208
|
> {
|
|
219
209
|
readonly config: TranslateClientResolvedConfig;
|
|
220
|
-
constructor(
|
|
221
|
-
...[configuration]: __CheckOptionalClientConfig<TranslateClientConfig>
|
|
222
|
-
);
|
|
210
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<TranslateClientConfig>);
|
|
223
211
|
destroy(): void;
|
|
224
212
|
}
|
|
@@ -7,17 +7,10 @@ import { TranslateHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: TranslateHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: TranslateHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): TranslateHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
14
|
}
|
|
22
15
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
16
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
18
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
19
|
}>;
|
|
27
20
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
22
|
) => HttpAuthExtensionConfiguration;
|
|
30
23
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
25
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { TranslateClientResolvedConfig } from "../TranslateClient";
|
|
15
|
-
export interface TranslateHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface TranslateHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface TranslateHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface TranslateHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
TranslateClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
TranslateHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultTranslateHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: TranslateClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<TranslateHttpAuthSchemeParameters>;
|
|
31
|
-
export interface TranslateHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<TranslateHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface TranslateHttpAuthSchemeProvider extends HttpAuthSchemeProvider<TranslateHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultTranslateHttpAuthSchemeProvider: TranslateHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: TranslateHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: TranslateHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -4,22 +4,21 @@ import {
|
|
|
4
4
|
ServiceOutputTypes,
|
|
5
5
|
TranslateClientResolvedConfig,
|
|
6
6
|
} from "./TranslateClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
7
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
8
|
added: EndpointParameterInstructions,
|
|
12
9
|
plugins: (
|
|
13
10
|
CommandCtor: any,
|
|
14
11
|
clientStack: any,
|
|
15
12
|
config: any,
|
|
16
|
-
options: any
|
|
13
|
+
options: any,
|
|
17
14
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
15
|
op: string,
|
|
19
16
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
17
|
+
smithyContext?: Record<string, unknown>,
|
|
21
18
|
) => {
|
|
22
|
-
new (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
TranslateClientResolvedConfig,
|
|
@@ -38,9 +37,4 @@ export declare const command: <
|
|
|
38
37
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
38
|
};
|
|
40
39
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
40
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
CreateParallelDataRequest,
|
|
4
|
-
CreateParallelDataResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { CreateParallelDataRequest, CreateParallelDataResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface CreateParallelDataCommandInput
|
|
8
|
-
extends CreateParallelDataRequest {}
|
|
4
|
+
export interface CreateParallelDataCommandInput extends CreateParallelDataRequest {}
|
|
9
5
|
export interface CreateParallelDataCommandOutput
|
|
10
|
-
extends CreateParallelDataResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends CreateParallelDataResponse, __MetadataBearer {}
|
|
12
7
|
declare const CreateParallelDataCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: CreateParallelDataCommandInput
|
|
9
|
+
input: CreateParallelDataCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
CreateParallelDataCommandInput,
|
|
17
12
|
CreateParallelDataCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const CreateParallelDataCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: CreateParallelDataCommandInput
|
|
18
|
+
input: CreateParallelDataCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
CreateParallelDataCommandInput,
|
|
26
21
|
CreateParallelDataCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
DeleteParallelDataRequest,
|
|
4
|
-
DeleteParallelDataResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { DeleteParallelDataRequest, DeleteParallelDataResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface DeleteParallelDataCommandInput
|
|
8
|
-
extends DeleteParallelDataRequest {}
|
|
4
|
+
export interface DeleteParallelDataCommandInput extends DeleteParallelDataRequest {}
|
|
9
5
|
export interface DeleteParallelDataCommandOutput
|
|
10
|
-
extends DeleteParallelDataResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends DeleteParallelDataResponse, __MetadataBearer {}
|
|
12
7
|
declare const DeleteParallelDataCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: DeleteParallelDataCommandInput
|
|
9
|
+
input: DeleteParallelDataCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
DeleteParallelDataCommandInput,
|
|
17
12
|
DeleteParallelDataCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const DeleteParallelDataCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: DeleteParallelDataCommandInput
|
|
18
|
+
input: DeleteParallelDataCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
DeleteParallelDataCommandInput,
|
|
26
21
|
DeleteParallelDataCommandOutput,
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
2
|
import { DeleteTerminologyRequest } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
|
-
export interface DeleteTerminologyCommandInput
|
|
5
|
-
extends DeleteTerminologyRequest {}
|
|
4
|
+
export interface DeleteTerminologyCommandInput extends DeleteTerminologyRequest {}
|
|
6
5
|
export interface DeleteTerminologyCommandOutput extends __MetadataBearer {}
|
|
7
6
|
declare const DeleteTerminologyCommand_base: {
|
|
8
7
|
new (
|
|
9
|
-
input: DeleteTerminologyCommandInput
|
|
8
|
+
input: DeleteTerminologyCommandInput,
|
|
10
9
|
): import("@smithy/core/client").CommandImpl<
|
|
11
10
|
DeleteTerminologyCommandInput,
|
|
12
11
|
DeleteTerminologyCommandOutput,
|
|
@@ -15,7 +14,7 @@ declare const DeleteTerminologyCommand_base: {
|
|
|
15
14
|
import("..").ServiceOutputTypes
|
|
16
15
|
>;
|
|
17
16
|
new (
|
|
18
|
-
input: DeleteTerminologyCommandInput
|
|
17
|
+
input: DeleteTerminologyCommandInput,
|
|
19
18
|
): import("@smithy/core/client").CommandImpl<
|
|
20
19
|
DeleteTerminologyCommandInput,
|
|
21
20
|
DeleteTerminologyCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
DescribeTextTranslationJobResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface DescribeTextTranslationJobCommandInput
|
|
8
|
-
extends DescribeTextTranslationJobRequest {}
|
|
7
|
+
export interface DescribeTextTranslationJobCommandInput extends DescribeTextTranslationJobRequest {}
|
|
9
8
|
export interface DescribeTextTranslationJobCommandOutput
|
|
10
|
-
extends DescribeTextTranslationJobResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends DescribeTextTranslationJobResponse, __MetadataBearer {}
|
|
12
10
|
declare const DescribeTextTranslationJobCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: DescribeTextTranslationJobCommandInput
|
|
12
|
+
input: DescribeTextTranslationJobCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
DescribeTextTranslationJobCommandInput,
|
|
17
15
|
DescribeTextTranslationJobCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const DescribeTextTranslationJobCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: DescribeTextTranslationJobCommandInput
|
|
21
|
+
input: DescribeTextTranslationJobCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
DescribeTextTranslationJobCommandInput,
|
|
26
24
|
DescribeTextTranslationJobCommandOutput,
|