@aws-sdk/client-translate 3.170.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 +8 -0
- package/dist-types/ts3.4/Translate.d.ts +0 -15
- package/dist-types/ts3.4/TranslateClient.d.ts +0 -25
- package/dist-types/ts3.4/commands/CreateParallelDataCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteParallelDataCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteTerminologyCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/GetParallelDataCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/GetTerminologyCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ImportTerminologyCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListLanguagesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListParallelDataCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListTerminologiesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListTextTranslationJobsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/TranslateTextCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/UpdateParallelDataCommand.d.ts +0 -2
- package/dist-types/ts3.4/models/TranslateServiceException.d.ts +0 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -206
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +0 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -1
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
|
|
6
14
|
# [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @aws-sdk/client-translate
|
|
@@ -60,7 +60,6 @@ import {
|
|
|
60
60
|
UpdateParallelDataCommandOutput,
|
|
61
61
|
} from "./commands/UpdateParallelDataCommand";
|
|
62
62
|
import { TranslateClient } from "./TranslateClient";
|
|
63
|
-
|
|
64
63
|
export declare class Translate extends TranslateClient {
|
|
65
64
|
createParallelData(
|
|
66
65
|
args: CreateParallelDataCommandInput,
|
|
@@ -75,7 +74,6 @@ export declare class Translate extends TranslateClient {
|
|
|
75
74
|
options: __HttpHandlerOptions,
|
|
76
75
|
cb: (err: any, data?: CreateParallelDataCommandOutput) => void
|
|
77
76
|
): void;
|
|
78
|
-
|
|
79
77
|
deleteParallelData(
|
|
80
78
|
args: DeleteParallelDataCommandInput,
|
|
81
79
|
options?: __HttpHandlerOptions
|
|
@@ -89,7 +87,6 @@ export declare class Translate extends TranslateClient {
|
|
|
89
87
|
options: __HttpHandlerOptions,
|
|
90
88
|
cb: (err: any, data?: DeleteParallelDataCommandOutput) => void
|
|
91
89
|
): void;
|
|
92
|
-
|
|
93
90
|
deleteTerminology(
|
|
94
91
|
args: DeleteTerminologyCommandInput,
|
|
95
92
|
options?: __HttpHandlerOptions
|
|
@@ -103,7 +100,6 @@ export declare class Translate extends TranslateClient {
|
|
|
103
100
|
options: __HttpHandlerOptions,
|
|
104
101
|
cb: (err: any, data?: DeleteTerminologyCommandOutput) => void
|
|
105
102
|
): void;
|
|
106
|
-
|
|
107
103
|
describeTextTranslationJob(
|
|
108
104
|
args: DescribeTextTranslationJobCommandInput,
|
|
109
105
|
options?: __HttpHandlerOptions
|
|
@@ -117,7 +113,6 @@ export declare class Translate extends TranslateClient {
|
|
|
117
113
|
options: __HttpHandlerOptions,
|
|
118
114
|
cb: (err: any, data?: DescribeTextTranslationJobCommandOutput) => void
|
|
119
115
|
): void;
|
|
120
|
-
|
|
121
116
|
getParallelData(
|
|
122
117
|
args: GetParallelDataCommandInput,
|
|
123
118
|
options?: __HttpHandlerOptions
|
|
@@ -131,7 +126,6 @@ export declare class Translate extends TranslateClient {
|
|
|
131
126
|
options: __HttpHandlerOptions,
|
|
132
127
|
cb: (err: any, data?: GetParallelDataCommandOutput) => void
|
|
133
128
|
): void;
|
|
134
|
-
|
|
135
129
|
getTerminology(
|
|
136
130
|
args: GetTerminologyCommandInput,
|
|
137
131
|
options?: __HttpHandlerOptions
|
|
@@ -145,7 +139,6 @@ export declare class Translate extends TranslateClient {
|
|
|
145
139
|
options: __HttpHandlerOptions,
|
|
146
140
|
cb: (err: any, data?: GetTerminologyCommandOutput) => void
|
|
147
141
|
): void;
|
|
148
|
-
|
|
149
142
|
importTerminology(
|
|
150
143
|
args: ImportTerminologyCommandInput,
|
|
151
144
|
options?: __HttpHandlerOptions
|
|
@@ -159,7 +152,6 @@ export declare class Translate extends TranslateClient {
|
|
|
159
152
|
options: __HttpHandlerOptions,
|
|
160
153
|
cb: (err: any, data?: ImportTerminologyCommandOutput) => void
|
|
161
154
|
): void;
|
|
162
|
-
|
|
163
155
|
listLanguages(
|
|
164
156
|
args: ListLanguagesCommandInput,
|
|
165
157
|
options?: __HttpHandlerOptions
|
|
@@ -173,7 +165,6 @@ export declare class Translate extends TranslateClient {
|
|
|
173
165
|
options: __HttpHandlerOptions,
|
|
174
166
|
cb: (err: any, data?: ListLanguagesCommandOutput) => void
|
|
175
167
|
): void;
|
|
176
|
-
|
|
177
168
|
listParallelData(
|
|
178
169
|
args: ListParallelDataCommandInput,
|
|
179
170
|
options?: __HttpHandlerOptions
|
|
@@ -187,7 +178,6 @@ export declare class Translate extends TranslateClient {
|
|
|
187
178
|
options: __HttpHandlerOptions,
|
|
188
179
|
cb: (err: any, data?: ListParallelDataCommandOutput) => void
|
|
189
180
|
): void;
|
|
190
|
-
|
|
191
181
|
listTerminologies(
|
|
192
182
|
args: ListTerminologiesCommandInput,
|
|
193
183
|
options?: __HttpHandlerOptions
|
|
@@ -201,7 +191,6 @@ export declare class Translate extends TranslateClient {
|
|
|
201
191
|
options: __HttpHandlerOptions,
|
|
202
192
|
cb: (err: any, data?: ListTerminologiesCommandOutput) => void
|
|
203
193
|
): void;
|
|
204
|
-
|
|
205
194
|
listTextTranslationJobs(
|
|
206
195
|
args: ListTextTranslationJobsCommandInput,
|
|
207
196
|
options?: __HttpHandlerOptions
|
|
@@ -215,7 +204,6 @@ export declare class Translate extends TranslateClient {
|
|
|
215
204
|
options: __HttpHandlerOptions,
|
|
216
205
|
cb: (err: any, data?: ListTextTranslationJobsCommandOutput) => void
|
|
217
206
|
): void;
|
|
218
|
-
|
|
219
207
|
startTextTranslationJob(
|
|
220
208
|
args: StartTextTranslationJobCommandInput,
|
|
221
209
|
options?: __HttpHandlerOptions
|
|
@@ -229,7 +217,6 @@ export declare class Translate extends TranslateClient {
|
|
|
229
217
|
options: __HttpHandlerOptions,
|
|
230
218
|
cb: (err: any, data?: StartTextTranslationJobCommandOutput) => void
|
|
231
219
|
): void;
|
|
232
|
-
|
|
233
220
|
stopTextTranslationJob(
|
|
234
221
|
args: StopTextTranslationJobCommandInput,
|
|
235
222
|
options?: __HttpHandlerOptions
|
|
@@ -243,7 +230,6 @@ export declare class Translate extends TranslateClient {
|
|
|
243
230
|
options: __HttpHandlerOptions,
|
|
244
231
|
cb: (err: any, data?: StopTextTranslationJobCommandOutput) => void
|
|
245
232
|
): void;
|
|
246
|
-
|
|
247
233
|
translateText(
|
|
248
234
|
args: TranslateTextCommandInput,
|
|
249
235
|
options?: __HttpHandlerOptions
|
|
@@ -257,7 +243,6 @@ export declare class Translate extends TranslateClient {
|
|
|
257
243
|
options: __HttpHandlerOptions,
|
|
258
244
|
cb: (err: any, data?: TranslateTextCommandOutput) => void
|
|
259
245
|
): void;
|
|
260
|
-
|
|
261
246
|
updateParallelData(
|
|
262
247
|
args: UpdateParallelDataCommandInput,
|
|
263
248
|
options?: __HttpHandlerOptions
|
|
@@ -137,47 +137,26 @@ export declare type ServiceOutputTypes =
|
|
|
137
137
|
export interface ClientDefaults
|
|
138
138
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
139
139
|
requestHandler?: __HttpHandler;
|
|
140
|
-
|
|
141
140
|
sha256?: __HashConstructor;
|
|
142
|
-
|
|
143
141
|
urlParser?: __UrlParser;
|
|
144
|
-
|
|
145
142
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
146
|
-
|
|
147
143
|
streamCollector?: __StreamCollector;
|
|
148
|
-
|
|
149
144
|
base64Decoder?: __Decoder;
|
|
150
|
-
|
|
151
145
|
base64Encoder?: __Encoder;
|
|
152
|
-
|
|
153
146
|
utf8Decoder?: __Decoder;
|
|
154
|
-
|
|
155
147
|
utf8Encoder?: __Encoder;
|
|
156
|
-
|
|
157
148
|
runtime?: string;
|
|
158
|
-
|
|
159
149
|
disableHostPrefix?: boolean;
|
|
160
|
-
|
|
161
150
|
maxAttempts?: number | __Provider<number>;
|
|
162
|
-
|
|
163
151
|
retryMode?: string | __Provider<string>;
|
|
164
|
-
|
|
165
152
|
logger?: __Logger;
|
|
166
|
-
|
|
167
153
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
168
|
-
|
|
169
154
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
170
|
-
|
|
171
155
|
serviceId?: string;
|
|
172
|
-
|
|
173
156
|
region?: string | __Provider<string>;
|
|
174
|
-
|
|
175
157
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
176
|
-
|
|
177
158
|
regionInfoProvider?: RegionInfoProvider;
|
|
178
|
-
|
|
179
159
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
180
|
-
|
|
181
160
|
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
182
161
|
}
|
|
183
162
|
declare type TranslateClientConfigType = Partial<
|
|
@@ -190,7 +169,6 @@ declare type TranslateClientConfigType = Partial<
|
|
|
190
169
|
HostHeaderInputConfig &
|
|
191
170
|
AwsAuthInputConfig &
|
|
192
171
|
UserAgentInputConfig;
|
|
193
|
-
|
|
194
172
|
export interface TranslateClientConfig extends TranslateClientConfigType {}
|
|
195
173
|
declare type TranslateClientResolvedConfigType =
|
|
196
174
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
@@ -201,10 +179,8 @@ declare type TranslateClientResolvedConfigType =
|
|
|
201
179
|
HostHeaderResolvedConfig &
|
|
202
180
|
AwsAuthResolvedConfig &
|
|
203
181
|
UserAgentResolvedConfig;
|
|
204
|
-
|
|
205
182
|
export interface TranslateClientResolvedConfig
|
|
206
183
|
extends TranslateClientResolvedConfigType {}
|
|
207
|
-
|
|
208
184
|
export declare class TranslateClient extends __Client<
|
|
209
185
|
__HttpHandlerOptions,
|
|
210
186
|
ServiceInputTypes,
|
|
@@ -213,7 +189,6 @@ export declare class TranslateClient extends __Client<
|
|
|
213
189
|
> {
|
|
214
190
|
readonly config: TranslateClientResolvedConfig;
|
|
215
191
|
constructor(configuration: TranslateClientConfig);
|
|
216
|
-
|
|
217
192
|
destroy(): void;
|
|
218
193
|
}
|
|
219
194
|
export {};
|
|
@@ -19,7 +19,6 @@ export interface CreateParallelDataCommandInput
|
|
|
19
19
|
export interface CreateParallelDataCommandOutput
|
|
20
20
|
extends CreateParallelDataResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class CreateParallelDataCommand extends $Command<
|
|
24
23
|
CreateParallelDataCommandInput,
|
|
25
24
|
CreateParallelDataCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class CreateParallelDataCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: CreateParallelDataCommandInput;
|
|
29
28
|
constructor(input: CreateParallelDataCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: TranslateClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface DeleteParallelDataCommandInput
|
|
|
19
19
|
export interface DeleteParallelDataCommandOutput
|
|
20
20
|
extends DeleteParallelDataResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class DeleteParallelDataCommand extends $Command<
|
|
24
23
|
DeleteParallelDataCommandInput,
|
|
25
24
|
DeleteParallelDataCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class DeleteParallelDataCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: DeleteParallelDataCommandInput;
|
|
29
28
|
constructor(input: DeleteParallelDataCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: TranslateClientResolvedConfig,
|
|
@@ -14,7 +14,6 @@ import {
|
|
|
14
14
|
export interface DeleteTerminologyCommandInput
|
|
15
15
|
extends DeleteTerminologyRequest {}
|
|
16
16
|
export interface DeleteTerminologyCommandOutput extends __MetadataBearer {}
|
|
17
|
-
|
|
18
17
|
export declare class DeleteTerminologyCommand extends $Command<
|
|
19
18
|
DeleteTerminologyCommandInput,
|
|
20
19
|
DeleteTerminologyCommandOutput,
|
|
@@ -22,7 +21,6 @@ export declare class DeleteTerminologyCommand extends $Command<
|
|
|
22
21
|
> {
|
|
23
22
|
readonly input: DeleteTerminologyCommandInput;
|
|
24
23
|
constructor(input: DeleteTerminologyCommandInput);
|
|
25
|
-
|
|
26
24
|
resolveMiddleware(
|
|
27
25
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
28
26
|
configuration: TranslateClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface DescribeTextTranslationJobCommandInput
|
|
|
19
19
|
export interface DescribeTextTranslationJobCommandOutput
|
|
20
20
|
extends DescribeTextTranslationJobResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class DescribeTextTranslationJobCommand extends $Command<
|
|
24
23
|
DescribeTextTranslationJobCommandInput,
|
|
25
24
|
DescribeTextTranslationJobCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class DescribeTextTranslationJobCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: DescribeTextTranslationJobCommandInput;
|
|
29
28
|
constructor(input: DescribeTextTranslationJobCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: TranslateClientResolvedConfig,
|
|
@@ -18,7 +18,6 @@ export interface GetParallelDataCommandInput extends GetParallelDataRequest {}
|
|
|
18
18
|
export interface GetParallelDataCommandOutput
|
|
19
19
|
extends GetParallelDataResponse,
|
|
20
20
|
__MetadataBearer {}
|
|
21
|
-
|
|
22
21
|
export declare class GetParallelDataCommand extends $Command<
|
|
23
22
|
GetParallelDataCommandInput,
|
|
24
23
|
GetParallelDataCommandOutput,
|
|
@@ -26,7 +25,6 @@ export declare class GetParallelDataCommand extends $Command<
|
|
|
26
25
|
> {
|
|
27
26
|
readonly input: GetParallelDataCommandInput;
|
|
28
27
|
constructor(input: GetParallelDataCommandInput);
|
|
29
|
-
|
|
30
28
|
resolveMiddleware(
|
|
31
29
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
30
|
configuration: TranslateClientResolvedConfig,
|
|
@@ -18,7 +18,6 @@ export interface GetTerminologyCommandInput extends GetTerminologyRequest {}
|
|
|
18
18
|
export interface GetTerminologyCommandOutput
|
|
19
19
|
extends GetTerminologyResponse,
|
|
20
20
|
__MetadataBearer {}
|
|
21
|
-
|
|
22
21
|
export declare class GetTerminologyCommand extends $Command<
|
|
23
22
|
GetTerminologyCommandInput,
|
|
24
23
|
GetTerminologyCommandOutput,
|
|
@@ -26,7 +25,6 @@ export declare class GetTerminologyCommand extends $Command<
|
|
|
26
25
|
> {
|
|
27
26
|
readonly input: GetTerminologyCommandInput;
|
|
28
27
|
constructor(input: GetTerminologyCommandInput);
|
|
29
|
-
|
|
30
28
|
resolveMiddleware(
|
|
31
29
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
30
|
configuration: TranslateClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface ImportTerminologyCommandInput
|
|
|
19
19
|
export interface ImportTerminologyCommandOutput
|
|
20
20
|
extends ImportTerminologyResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class ImportTerminologyCommand extends $Command<
|
|
24
23
|
ImportTerminologyCommandInput,
|
|
25
24
|
ImportTerminologyCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class ImportTerminologyCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: ImportTerminologyCommandInput;
|
|
29
28
|
constructor(input: ImportTerminologyCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: TranslateClientResolvedConfig,
|
|
@@ -18,7 +18,6 @@ export interface ListLanguagesCommandInput extends ListLanguagesRequest {}
|
|
|
18
18
|
export interface ListLanguagesCommandOutput
|
|
19
19
|
extends ListLanguagesResponse,
|
|
20
20
|
__MetadataBearer {}
|
|
21
|
-
|
|
22
21
|
export declare class ListLanguagesCommand extends $Command<
|
|
23
22
|
ListLanguagesCommandInput,
|
|
24
23
|
ListLanguagesCommandOutput,
|
|
@@ -26,7 +25,6 @@ export declare class ListLanguagesCommand extends $Command<
|
|
|
26
25
|
> {
|
|
27
26
|
readonly input: ListLanguagesCommandInput;
|
|
28
27
|
constructor(input: ListLanguagesCommandInput);
|
|
29
|
-
|
|
30
28
|
resolveMiddleware(
|
|
31
29
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
30
|
configuration: TranslateClientResolvedConfig,
|
|
@@ -18,7 +18,6 @@ export interface ListParallelDataCommandInput extends ListParallelDataRequest {}
|
|
|
18
18
|
export interface ListParallelDataCommandOutput
|
|
19
19
|
extends ListParallelDataResponse,
|
|
20
20
|
__MetadataBearer {}
|
|
21
|
-
|
|
22
21
|
export declare class ListParallelDataCommand extends $Command<
|
|
23
22
|
ListParallelDataCommandInput,
|
|
24
23
|
ListParallelDataCommandOutput,
|
|
@@ -26,7 +25,6 @@ export declare class ListParallelDataCommand extends $Command<
|
|
|
26
25
|
> {
|
|
27
26
|
readonly input: ListParallelDataCommandInput;
|
|
28
27
|
constructor(input: ListParallelDataCommandInput);
|
|
29
|
-
|
|
30
28
|
resolveMiddleware(
|
|
31
29
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
30
|
configuration: TranslateClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface ListTerminologiesCommandInput
|
|
|
19
19
|
export interface ListTerminologiesCommandOutput
|
|
20
20
|
extends ListTerminologiesResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class ListTerminologiesCommand extends $Command<
|
|
24
23
|
ListTerminologiesCommandInput,
|
|
25
24
|
ListTerminologiesCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class ListTerminologiesCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: ListTerminologiesCommandInput;
|
|
29
28
|
constructor(input: ListTerminologiesCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: TranslateClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface ListTextTranslationJobsCommandInput
|
|
|
19
19
|
export interface ListTextTranslationJobsCommandOutput
|
|
20
20
|
extends ListTextTranslationJobsResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class ListTextTranslationJobsCommand extends $Command<
|
|
24
23
|
ListTextTranslationJobsCommandInput,
|
|
25
24
|
ListTextTranslationJobsCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class ListTextTranslationJobsCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: ListTextTranslationJobsCommandInput;
|
|
29
28
|
constructor(input: ListTextTranslationJobsCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: TranslateClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface StartTextTranslationJobCommandInput
|
|
|
19
19
|
export interface StartTextTranslationJobCommandOutput
|
|
20
20
|
extends StartTextTranslationJobResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class StartTextTranslationJobCommand extends $Command<
|
|
24
23
|
StartTextTranslationJobCommandInput,
|
|
25
24
|
StartTextTranslationJobCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class StartTextTranslationJobCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: StartTextTranslationJobCommandInput;
|
|
29
28
|
constructor(input: StartTextTranslationJobCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: TranslateClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface StopTextTranslationJobCommandInput
|
|
|
19
19
|
export interface StopTextTranslationJobCommandOutput
|
|
20
20
|
extends StopTextTranslationJobResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class StopTextTranslationJobCommand extends $Command<
|
|
24
23
|
StopTextTranslationJobCommandInput,
|
|
25
24
|
StopTextTranslationJobCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class StopTextTranslationJobCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: StopTextTranslationJobCommandInput;
|
|
29
28
|
constructor(input: StopTextTranslationJobCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: TranslateClientResolvedConfig,
|
|
@@ -18,7 +18,6 @@ export interface TranslateTextCommandInput extends TranslateTextRequest {}
|
|
|
18
18
|
export interface TranslateTextCommandOutput
|
|
19
19
|
extends TranslateTextResponse,
|
|
20
20
|
__MetadataBearer {}
|
|
21
|
-
|
|
22
21
|
export declare class TranslateTextCommand extends $Command<
|
|
23
22
|
TranslateTextCommandInput,
|
|
24
23
|
TranslateTextCommandOutput,
|
|
@@ -26,7 +25,6 @@ export declare class TranslateTextCommand extends $Command<
|
|
|
26
25
|
> {
|
|
27
26
|
readonly input: TranslateTextCommandInput;
|
|
28
27
|
constructor(input: TranslateTextCommandInput);
|
|
29
|
-
|
|
30
28
|
resolveMiddleware(
|
|
31
29
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
30
|
configuration: TranslateClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface UpdateParallelDataCommandInput
|
|
|
19
19
|
export interface UpdateParallelDataCommandOutput
|
|
20
20
|
extends UpdateParallelDataResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class UpdateParallelDataCommand extends $Command<
|
|
24
23
|
UpdateParallelDataCommandInput,
|
|
25
24
|
UpdateParallelDataCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class UpdateParallelDataCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: UpdateParallelDataCommandInput;
|
|
29
28
|
constructor(input: UpdateParallelDataCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: TranslateClientResolvedConfig,
|
|
@@ -2,7 +2,6 @@ import {
|
|
|
2
2
|
ServiceException as __ServiceException,
|
|
3
3
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
4
|
} from "@aws-sdk/smithy-client";
|
|
5
|
-
|
|
6
5
|
export declare class TranslateServiceException extends __ServiceException {
|
|
7
6
|
constructor(options: __ServiceExceptionOptions);
|
|
8
7
|
}
|
|
@@ -1,32 +1,24 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { TranslateServiceException as __BaseException } from "./TranslateServiceException";
|
|
3
|
-
|
|
4
3
|
export interface Term {
|
|
5
4
|
SourceText?: string;
|
|
6
|
-
|
|
7
5
|
TargetText?: string;
|
|
8
6
|
}
|
|
9
|
-
|
|
10
7
|
export interface AppliedTerminology {
|
|
11
8
|
Name?: string;
|
|
12
|
-
|
|
13
9
|
Terms?: Term[];
|
|
14
10
|
}
|
|
15
|
-
|
|
16
11
|
export declare class ConflictException extends __BaseException {
|
|
17
12
|
readonly name: "ConflictException";
|
|
18
13
|
readonly $fault: "client";
|
|
19
14
|
Message?: string;
|
|
20
|
-
|
|
21
15
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
22
16
|
}
|
|
23
17
|
export declare enum EncryptionKeyType {
|
|
24
18
|
KMS = "KMS",
|
|
25
19
|
}
|
|
26
|
-
|
|
27
20
|
export interface EncryptionKey {
|
|
28
21
|
Type: EncryptionKeyType | string | undefined;
|
|
29
|
-
|
|
30
22
|
Id: string | undefined;
|
|
31
23
|
}
|
|
32
24
|
export declare enum ParallelDataFormat {
|
|
@@ -34,21 +26,15 @@ export declare enum ParallelDataFormat {
|
|
|
34
26
|
TMX = "TMX",
|
|
35
27
|
TSV = "TSV",
|
|
36
28
|
}
|
|
37
|
-
|
|
38
29
|
export interface ParallelDataConfig {
|
|
39
30
|
S3Uri: string | undefined;
|
|
40
|
-
|
|
41
31
|
Format: ParallelDataFormat | string | undefined;
|
|
42
32
|
}
|
|
43
33
|
export interface CreateParallelDataRequest {
|
|
44
34
|
Name: string | undefined;
|
|
45
|
-
|
|
46
35
|
Description?: string;
|
|
47
|
-
|
|
48
36
|
ParallelDataConfig: ParallelDataConfig | undefined;
|
|
49
|
-
|
|
50
37
|
EncryptionKey?: EncryptionKey;
|
|
51
|
-
|
|
52
38
|
ClientToken?: string;
|
|
53
39
|
}
|
|
54
40
|
export declare enum ParallelDataStatus {
|
|
@@ -60,65 +46,52 @@ export declare enum ParallelDataStatus {
|
|
|
60
46
|
}
|
|
61
47
|
export interface CreateParallelDataResponse {
|
|
62
48
|
Name?: string;
|
|
63
|
-
|
|
64
49
|
Status?: ParallelDataStatus | string;
|
|
65
50
|
}
|
|
66
|
-
|
|
67
51
|
export declare class InternalServerException extends __BaseException {
|
|
68
52
|
readonly name: "InternalServerException";
|
|
69
53
|
readonly $fault: "server";
|
|
70
54
|
Message?: string;
|
|
71
|
-
|
|
72
55
|
constructor(
|
|
73
56
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
74
57
|
);
|
|
75
58
|
}
|
|
76
|
-
|
|
77
59
|
export declare class InvalidParameterValueException extends __BaseException {
|
|
78
60
|
readonly name: "InvalidParameterValueException";
|
|
79
61
|
readonly $fault: "client";
|
|
80
62
|
Message?: string;
|
|
81
|
-
|
|
82
63
|
constructor(
|
|
83
64
|
opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>
|
|
84
65
|
);
|
|
85
66
|
}
|
|
86
|
-
|
|
87
67
|
export declare class InvalidRequestException extends __BaseException {
|
|
88
68
|
readonly name: "InvalidRequestException";
|
|
89
69
|
readonly $fault: "client";
|
|
90
70
|
Message?: string;
|
|
91
|
-
|
|
92
71
|
constructor(
|
|
93
72
|
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
94
73
|
);
|
|
95
74
|
}
|
|
96
|
-
|
|
97
75
|
export declare class LimitExceededException extends __BaseException {
|
|
98
76
|
readonly name: "LimitExceededException";
|
|
99
77
|
readonly $fault: "client";
|
|
100
78
|
Message?: string;
|
|
101
|
-
|
|
102
79
|
constructor(
|
|
103
80
|
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
104
81
|
);
|
|
105
82
|
}
|
|
106
|
-
|
|
107
83
|
export declare class TooManyRequestsException extends __BaseException {
|
|
108
84
|
readonly name: "TooManyRequestsException";
|
|
109
85
|
readonly $fault: "client";
|
|
110
86
|
Message?: string;
|
|
111
|
-
|
|
112
87
|
constructor(
|
|
113
88
|
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
114
89
|
);
|
|
115
90
|
}
|
|
116
|
-
|
|
117
91
|
export declare class ConcurrentModificationException extends __BaseException {
|
|
118
92
|
readonly name: "ConcurrentModificationException";
|
|
119
93
|
readonly $fault: "client";
|
|
120
94
|
Message?: string;
|
|
121
|
-
|
|
122
95
|
constructor(
|
|
123
96
|
opts: __ExceptionOptionType<
|
|
124
97
|
ConcurrentModificationException,
|
|
@@ -131,15 +104,12 @@ export interface DeleteParallelDataRequest {
|
|
|
131
104
|
}
|
|
132
105
|
export interface DeleteParallelDataResponse {
|
|
133
106
|
Name?: string;
|
|
134
|
-
|
|
135
107
|
Status?: ParallelDataStatus | string;
|
|
136
108
|
}
|
|
137
|
-
|
|
138
109
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
139
110
|
readonly name: "ResourceNotFoundException";
|
|
140
111
|
readonly $fault: "client";
|
|
141
112
|
Message?: string;
|
|
142
|
-
|
|
143
113
|
constructor(
|
|
144
114
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
145
115
|
);
|
|
@@ -150,18 +120,13 @@ export interface DeleteTerminologyRequest {
|
|
|
150
120
|
export interface DescribeTextTranslationJobRequest {
|
|
151
121
|
JobId: string | undefined;
|
|
152
122
|
}
|
|
153
|
-
|
|
154
123
|
export interface InputDataConfig {
|
|
155
124
|
S3Uri: string | undefined;
|
|
156
|
-
|
|
157
125
|
ContentType: string | undefined;
|
|
158
126
|
}
|
|
159
|
-
|
|
160
127
|
export interface JobDetails {
|
|
161
128
|
TranslatedDocumentsCount?: number;
|
|
162
|
-
|
|
163
129
|
DocumentsWithErrorsCount?: number;
|
|
164
|
-
|
|
165
130
|
InputDocumentsCount?: number;
|
|
166
131
|
}
|
|
167
132
|
export declare enum JobStatus {
|
|
@@ -173,10 +138,8 @@ export declare enum JobStatus {
|
|
|
173
138
|
STOP_REQUESTED = "STOP_REQUESTED",
|
|
174
139
|
SUBMITTED = "SUBMITTED",
|
|
175
140
|
}
|
|
176
|
-
|
|
177
141
|
export interface OutputDataConfig {
|
|
178
142
|
S3Uri: string | undefined;
|
|
179
|
-
|
|
180
143
|
EncryptionKey?: EncryptionKey;
|
|
181
144
|
}
|
|
182
145
|
export declare enum Formality {
|
|
@@ -186,42 +149,25 @@ export declare enum Formality {
|
|
|
186
149
|
export declare enum Profanity {
|
|
187
150
|
MASK = "MASK",
|
|
188
151
|
}
|
|
189
|
-
|
|
190
152
|
export interface TranslationSettings {
|
|
191
153
|
Formality?: Formality | string;
|
|
192
|
-
|
|
193
154
|
Profanity?: Profanity | string;
|
|
194
155
|
}
|
|
195
|
-
|
|
196
156
|
export interface TextTranslationJobProperties {
|
|
197
157
|
JobId?: string;
|
|
198
|
-
|
|
199
158
|
JobName?: string;
|
|
200
|
-
|
|
201
159
|
JobStatus?: JobStatus | string;
|
|
202
|
-
|
|
203
160
|
JobDetails?: JobDetails;
|
|
204
|
-
|
|
205
161
|
SourceLanguageCode?: string;
|
|
206
|
-
|
|
207
162
|
TargetLanguageCodes?: string[];
|
|
208
|
-
|
|
209
163
|
TerminologyNames?: string[];
|
|
210
|
-
|
|
211
164
|
ParallelDataNames?: string[];
|
|
212
|
-
|
|
213
165
|
Message?: string;
|
|
214
|
-
|
|
215
166
|
SubmittedTime?: Date;
|
|
216
|
-
|
|
217
167
|
EndTime?: Date;
|
|
218
|
-
|
|
219
168
|
InputDataConfig?: InputDataConfig;
|
|
220
|
-
|
|
221
169
|
OutputDataConfig?: OutputDataConfig;
|
|
222
|
-
|
|
223
170
|
DataAccessRoleArn?: string;
|
|
224
|
-
|
|
225
171
|
Settings?: TranslationSettings;
|
|
226
172
|
}
|
|
227
173
|
export interface DescribeTextTranslationJobResponse {
|
|
@@ -230,55 +176,33 @@ export interface DescribeTextTranslationJobResponse {
|
|
|
230
176
|
export interface GetParallelDataRequest {
|
|
231
177
|
Name: string | undefined;
|
|
232
178
|
}
|
|
233
|
-
|
|
234
179
|
export interface ParallelDataDataLocation {
|
|
235
180
|
RepositoryType: string | undefined;
|
|
236
|
-
|
|
237
181
|
Location: string | undefined;
|
|
238
182
|
}
|
|
239
|
-
|
|
240
183
|
export interface ParallelDataProperties {
|
|
241
184
|
Name?: string;
|
|
242
|
-
|
|
243
185
|
Arn?: string;
|
|
244
|
-
|
|
245
186
|
Description?: string;
|
|
246
|
-
|
|
247
187
|
Status?: ParallelDataStatus | string;
|
|
248
|
-
|
|
249
188
|
SourceLanguageCode?: string;
|
|
250
|
-
|
|
251
189
|
TargetLanguageCodes?: string[];
|
|
252
|
-
|
|
253
190
|
ParallelDataConfig?: ParallelDataConfig;
|
|
254
|
-
|
|
255
191
|
Message?: string;
|
|
256
|
-
|
|
257
192
|
ImportedDataSize?: number;
|
|
258
|
-
|
|
259
193
|
ImportedRecordCount?: number;
|
|
260
|
-
|
|
261
194
|
FailedRecordCount?: number;
|
|
262
|
-
|
|
263
195
|
SkippedRecordCount?: number;
|
|
264
|
-
|
|
265
196
|
EncryptionKey?: EncryptionKey;
|
|
266
|
-
|
|
267
197
|
CreatedAt?: Date;
|
|
268
|
-
|
|
269
198
|
LastUpdatedAt?: Date;
|
|
270
|
-
|
|
271
199
|
LatestUpdateAttemptStatus?: ParallelDataStatus | string;
|
|
272
|
-
|
|
273
200
|
LatestUpdateAttemptAt?: Date;
|
|
274
201
|
}
|
|
275
202
|
export interface GetParallelDataResponse {
|
|
276
203
|
ParallelDataProperties?: ParallelDataProperties;
|
|
277
|
-
|
|
278
204
|
DataLocation?: ParallelDataDataLocation;
|
|
279
|
-
|
|
280
205
|
AuxiliaryDataLocation?: ParallelDataDataLocation;
|
|
281
|
-
|
|
282
206
|
LatestUpdateAttemptAuxiliaryDataLocation?: ParallelDataDataLocation;
|
|
283
207
|
}
|
|
284
208
|
export declare enum TerminologyDataFormat {
|
|
@@ -288,81 +212,54 @@ export declare enum TerminologyDataFormat {
|
|
|
288
212
|
}
|
|
289
213
|
export interface GetTerminologyRequest {
|
|
290
214
|
Name: string | undefined;
|
|
291
|
-
|
|
292
215
|
TerminologyDataFormat?: TerminologyDataFormat | string;
|
|
293
216
|
}
|
|
294
|
-
|
|
295
217
|
export interface TerminologyDataLocation {
|
|
296
218
|
RepositoryType: string | undefined;
|
|
297
|
-
|
|
298
219
|
Location: string | undefined;
|
|
299
220
|
}
|
|
300
221
|
export declare enum Directionality {
|
|
301
222
|
MULTI = "MULTI",
|
|
302
223
|
UNI = "UNI",
|
|
303
224
|
}
|
|
304
|
-
|
|
305
225
|
export interface TerminologyProperties {
|
|
306
226
|
Name?: string;
|
|
307
|
-
|
|
308
227
|
Description?: string;
|
|
309
|
-
|
|
310
228
|
Arn?: string;
|
|
311
|
-
|
|
312
229
|
SourceLanguageCode?: string;
|
|
313
|
-
|
|
314
230
|
TargetLanguageCodes?: string[];
|
|
315
|
-
|
|
316
231
|
EncryptionKey?: EncryptionKey;
|
|
317
|
-
|
|
318
232
|
SizeBytes?: number;
|
|
319
|
-
|
|
320
233
|
TermCount?: number;
|
|
321
|
-
|
|
322
234
|
CreatedAt?: Date;
|
|
323
|
-
|
|
324
235
|
LastUpdatedAt?: Date;
|
|
325
|
-
|
|
326
236
|
Directionality?: Directionality | string;
|
|
327
|
-
|
|
328
237
|
Message?: string;
|
|
329
|
-
|
|
330
238
|
SkippedTermCount?: number;
|
|
331
|
-
|
|
332
239
|
Format?: TerminologyDataFormat | string;
|
|
333
240
|
}
|
|
334
241
|
export interface GetTerminologyResponse {
|
|
335
242
|
TerminologyProperties?: TerminologyProperties;
|
|
336
|
-
|
|
337
243
|
TerminologyDataLocation?: TerminologyDataLocation;
|
|
338
|
-
|
|
339
244
|
AuxiliaryDataLocation?: TerminologyDataLocation;
|
|
340
245
|
}
|
|
341
246
|
export declare enum MergeStrategy {
|
|
342
247
|
OVERWRITE = "OVERWRITE",
|
|
343
248
|
}
|
|
344
|
-
|
|
345
249
|
export interface TerminologyData {
|
|
346
250
|
File: Uint8Array | undefined;
|
|
347
|
-
|
|
348
251
|
Format: TerminologyDataFormat | string | undefined;
|
|
349
|
-
|
|
350
252
|
Directionality?: Directionality | string;
|
|
351
253
|
}
|
|
352
254
|
export interface ImportTerminologyRequest {
|
|
353
255
|
Name: string | undefined;
|
|
354
|
-
|
|
355
256
|
MergeStrategy: MergeStrategy | string | undefined;
|
|
356
|
-
|
|
357
257
|
Description?: string;
|
|
358
|
-
|
|
359
258
|
TerminologyData: TerminologyData | undefined;
|
|
360
|
-
|
|
361
259
|
EncryptionKey?: EncryptionKey;
|
|
362
260
|
}
|
|
363
261
|
export interface ImportTerminologyResponse {
|
|
364
262
|
TerminologyProperties?: TerminologyProperties;
|
|
365
|
-
|
|
366
263
|
AuxiliaryDataLocation?: TerminologyDataLocation;
|
|
367
264
|
}
|
|
368
265
|
export declare enum DisplayLanguageCode {
|
|
@@ -379,32 +276,23 @@ export declare enum DisplayLanguageCode {
|
|
|
379
276
|
}
|
|
380
277
|
export interface ListLanguagesRequest {
|
|
381
278
|
DisplayLanguageCode?: DisplayLanguageCode | string;
|
|
382
|
-
|
|
383
279
|
NextToken?: string;
|
|
384
|
-
|
|
385
280
|
MaxResults?: number;
|
|
386
281
|
}
|
|
387
|
-
|
|
388
282
|
export interface Language {
|
|
389
283
|
LanguageName: string | undefined;
|
|
390
|
-
|
|
391
284
|
LanguageCode: string | undefined;
|
|
392
285
|
}
|
|
393
286
|
export interface ListLanguagesResponse {
|
|
394
287
|
Languages?: Language[];
|
|
395
|
-
|
|
396
288
|
DisplayLanguageCode?: DisplayLanguageCode | string;
|
|
397
|
-
|
|
398
289
|
NextToken?: string;
|
|
399
290
|
}
|
|
400
|
-
|
|
401
291
|
export declare class UnsupportedDisplayLanguageCodeException extends __BaseException {
|
|
402
292
|
readonly name: "UnsupportedDisplayLanguageCodeException";
|
|
403
293
|
readonly $fault: "client";
|
|
404
294
|
Message?: string;
|
|
405
|
-
|
|
406
295
|
DisplayLanguageCode?: string;
|
|
407
|
-
|
|
408
296
|
constructor(
|
|
409
297
|
opts: __ExceptionOptionType<
|
|
410
298
|
UnsupportedDisplayLanguageCodeException,
|
|
@@ -414,92 +302,65 @@ export declare class UnsupportedDisplayLanguageCodeException extends __BaseExcep
|
|
|
414
302
|
}
|
|
415
303
|
export interface ListParallelDataRequest {
|
|
416
304
|
NextToken?: string;
|
|
417
|
-
|
|
418
305
|
MaxResults?: number;
|
|
419
306
|
}
|
|
420
307
|
export interface ListParallelDataResponse {
|
|
421
308
|
ParallelDataPropertiesList?: ParallelDataProperties[];
|
|
422
|
-
|
|
423
309
|
NextToken?: string;
|
|
424
310
|
}
|
|
425
311
|
export interface ListTerminologiesRequest {
|
|
426
312
|
NextToken?: string;
|
|
427
|
-
|
|
428
313
|
MaxResults?: number;
|
|
429
314
|
}
|
|
430
315
|
export interface ListTerminologiesResponse {
|
|
431
316
|
TerminologyPropertiesList?: TerminologyProperties[];
|
|
432
|
-
|
|
433
317
|
NextToken?: string;
|
|
434
318
|
}
|
|
435
|
-
|
|
436
319
|
export declare class InvalidFilterException extends __BaseException {
|
|
437
320
|
readonly name: "InvalidFilterException";
|
|
438
321
|
readonly $fault: "client";
|
|
439
322
|
Message?: string;
|
|
440
|
-
|
|
441
323
|
constructor(
|
|
442
324
|
opts: __ExceptionOptionType<InvalidFilterException, __BaseException>
|
|
443
325
|
);
|
|
444
326
|
}
|
|
445
|
-
|
|
446
327
|
export interface TextTranslationJobFilter {
|
|
447
328
|
JobName?: string;
|
|
448
|
-
|
|
449
329
|
JobStatus?: JobStatus | string;
|
|
450
|
-
|
|
451
330
|
SubmittedBeforeTime?: Date;
|
|
452
|
-
|
|
453
331
|
SubmittedAfterTime?: Date;
|
|
454
332
|
}
|
|
455
333
|
export interface ListTextTranslationJobsRequest {
|
|
456
334
|
Filter?: TextTranslationJobFilter;
|
|
457
|
-
|
|
458
335
|
NextToken?: string;
|
|
459
|
-
|
|
460
336
|
MaxResults?: number;
|
|
461
337
|
}
|
|
462
338
|
export interface ListTextTranslationJobsResponse {
|
|
463
339
|
TextTranslationJobPropertiesList?: TextTranslationJobProperties[];
|
|
464
|
-
|
|
465
340
|
NextToken?: string;
|
|
466
341
|
}
|
|
467
342
|
export interface StartTextTranslationJobRequest {
|
|
468
343
|
JobName?: string;
|
|
469
|
-
|
|
470
344
|
InputDataConfig: InputDataConfig | undefined;
|
|
471
|
-
|
|
472
345
|
OutputDataConfig: OutputDataConfig | undefined;
|
|
473
|
-
|
|
474
346
|
DataAccessRoleArn: string | undefined;
|
|
475
|
-
|
|
476
347
|
SourceLanguageCode: string | undefined;
|
|
477
|
-
|
|
478
348
|
TargetLanguageCodes: string[] | undefined;
|
|
479
|
-
|
|
480
349
|
TerminologyNames?: string[];
|
|
481
|
-
|
|
482
350
|
ParallelDataNames?: string[];
|
|
483
|
-
|
|
484
351
|
ClientToken?: string;
|
|
485
|
-
|
|
486
352
|
Settings?: TranslationSettings;
|
|
487
353
|
}
|
|
488
354
|
export interface StartTextTranslationJobResponse {
|
|
489
355
|
JobId?: string;
|
|
490
|
-
|
|
491
356
|
JobStatus?: JobStatus | string;
|
|
492
357
|
}
|
|
493
|
-
|
|
494
358
|
export declare class UnsupportedLanguagePairException extends __BaseException {
|
|
495
359
|
readonly name: "UnsupportedLanguagePairException";
|
|
496
360
|
readonly $fault: "client";
|
|
497
361
|
Message?: string;
|
|
498
|
-
|
|
499
362
|
SourceLanguageCode?: string;
|
|
500
|
-
|
|
501
363
|
TargetLanguageCode?: string;
|
|
502
|
-
|
|
503
364
|
constructor(
|
|
504
365
|
opts: __ExceptionOptionType<
|
|
505
366
|
UnsupportedLanguagePairException,
|
|
@@ -512,17 +373,13 @@ export interface StopTextTranslationJobRequest {
|
|
|
512
373
|
}
|
|
513
374
|
export interface StopTextTranslationJobResponse {
|
|
514
375
|
JobId?: string;
|
|
515
|
-
|
|
516
376
|
JobStatus?: JobStatus | string;
|
|
517
377
|
}
|
|
518
|
-
|
|
519
378
|
export declare class DetectedLanguageLowConfidenceException extends __BaseException {
|
|
520
379
|
readonly name: "DetectedLanguageLowConfidenceException";
|
|
521
380
|
readonly $fault: "client";
|
|
522
381
|
Message?: string;
|
|
523
|
-
|
|
524
382
|
DetectedLanguageCode?: string;
|
|
525
|
-
|
|
526
383
|
constructor(
|
|
527
384
|
opts: __ExceptionOptionType<
|
|
528
385
|
DetectedLanguageLowConfidenceException,
|
|
@@ -530,237 +387,174 @@ export declare class DetectedLanguageLowConfidenceException extends __BaseExcept
|
|
|
530
387
|
>
|
|
531
388
|
);
|
|
532
389
|
}
|
|
533
|
-
|
|
534
390
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
535
391
|
readonly name: "ServiceUnavailableException";
|
|
536
392
|
readonly $fault: "server";
|
|
537
393
|
Message?: string;
|
|
538
|
-
|
|
539
394
|
constructor(
|
|
540
395
|
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
541
396
|
);
|
|
542
397
|
}
|
|
543
|
-
|
|
544
398
|
export declare class TextSizeLimitExceededException extends __BaseException {
|
|
545
399
|
readonly name: "TextSizeLimitExceededException";
|
|
546
400
|
readonly $fault: "client";
|
|
547
401
|
Message?: string;
|
|
548
|
-
|
|
549
402
|
constructor(
|
|
550
403
|
opts: __ExceptionOptionType<TextSizeLimitExceededException, __BaseException>
|
|
551
404
|
);
|
|
552
405
|
}
|
|
553
406
|
export interface TranslateTextRequest {
|
|
554
407
|
Text: string | undefined;
|
|
555
|
-
|
|
556
408
|
TerminologyNames?: string[];
|
|
557
|
-
|
|
558
409
|
SourceLanguageCode: string | undefined;
|
|
559
|
-
|
|
560
410
|
TargetLanguageCode: string | undefined;
|
|
561
|
-
|
|
562
411
|
Settings?: TranslationSettings;
|
|
563
412
|
}
|
|
564
413
|
export interface TranslateTextResponse {
|
|
565
414
|
TranslatedText: string | undefined;
|
|
566
|
-
|
|
567
415
|
SourceLanguageCode: string | undefined;
|
|
568
|
-
|
|
569
416
|
TargetLanguageCode: string | undefined;
|
|
570
|
-
|
|
571
417
|
AppliedTerminologies?: AppliedTerminology[];
|
|
572
|
-
|
|
573
418
|
AppliedSettings?: TranslationSettings;
|
|
574
419
|
}
|
|
575
420
|
export interface UpdateParallelDataRequest {
|
|
576
421
|
Name: string | undefined;
|
|
577
|
-
|
|
578
422
|
Description?: string;
|
|
579
|
-
|
|
580
423
|
ParallelDataConfig: ParallelDataConfig | undefined;
|
|
581
|
-
|
|
582
424
|
ClientToken?: string;
|
|
583
425
|
}
|
|
584
426
|
export interface UpdateParallelDataResponse {
|
|
585
427
|
Name?: string;
|
|
586
|
-
|
|
587
428
|
Status?: ParallelDataStatus | string;
|
|
588
|
-
|
|
589
429
|
LatestUpdateAttemptStatus?: ParallelDataStatus | string;
|
|
590
|
-
|
|
591
430
|
LatestUpdateAttemptAt?: Date;
|
|
592
431
|
}
|
|
593
|
-
|
|
594
432
|
export declare const TermFilterSensitiveLog: (obj: Term) => any;
|
|
595
|
-
|
|
596
433
|
export declare const AppliedTerminologyFilterSensitiveLog: (
|
|
597
434
|
obj: AppliedTerminology
|
|
598
435
|
) => any;
|
|
599
|
-
|
|
600
436
|
export declare const EncryptionKeyFilterSensitiveLog: (
|
|
601
437
|
obj: EncryptionKey
|
|
602
438
|
) => any;
|
|
603
|
-
|
|
604
439
|
export declare const ParallelDataConfigFilterSensitiveLog: (
|
|
605
440
|
obj: ParallelDataConfig
|
|
606
441
|
) => any;
|
|
607
|
-
|
|
608
442
|
export declare const CreateParallelDataRequestFilterSensitiveLog: (
|
|
609
443
|
obj: CreateParallelDataRequest
|
|
610
444
|
) => any;
|
|
611
|
-
|
|
612
445
|
export declare const CreateParallelDataResponseFilterSensitiveLog: (
|
|
613
446
|
obj: CreateParallelDataResponse
|
|
614
447
|
) => any;
|
|
615
|
-
|
|
616
448
|
export declare const DeleteParallelDataRequestFilterSensitiveLog: (
|
|
617
449
|
obj: DeleteParallelDataRequest
|
|
618
450
|
) => any;
|
|
619
|
-
|
|
620
451
|
export declare const DeleteParallelDataResponseFilterSensitiveLog: (
|
|
621
452
|
obj: DeleteParallelDataResponse
|
|
622
453
|
) => any;
|
|
623
|
-
|
|
624
454
|
export declare const DeleteTerminologyRequestFilterSensitiveLog: (
|
|
625
455
|
obj: DeleteTerminologyRequest
|
|
626
456
|
) => any;
|
|
627
|
-
|
|
628
457
|
export declare const DescribeTextTranslationJobRequestFilterSensitiveLog: (
|
|
629
458
|
obj: DescribeTextTranslationJobRequest
|
|
630
459
|
) => any;
|
|
631
|
-
|
|
632
460
|
export declare const InputDataConfigFilterSensitiveLog: (
|
|
633
461
|
obj: InputDataConfig
|
|
634
462
|
) => any;
|
|
635
|
-
|
|
636
463
|
export declare const JobDetailsFilterSensitiveLog: (obj: JobDetails) => any;
|
|
637
|
-
|
|
638
464
|
export declare const OutputDataConfigFilterSensitiveLog: (
|
|
639
465
|
obj: OutputDataConfig
|
|
640
466
|
) => any;
|
|
641
|
-
|
|
642
467
|
export declare const TranslationSettingsFilterSensitiveLog: (
|
|
643
468
|
obj: TranslationSettings
|
|
644
469
|
) => any;
|
|
645
|
-
|
|
646
470
|
export declare const TextTranslationJobPropertiesFilterSensitiveLog: (
|
|
647
471
|
obj: TextTranslationJobProperties
|
|
648
472
|
) => any;
|
|
649
|
-
|
|
650
473
|
export declare const DescribeTextTranslationJobResponseFilterSensitiveLog: (
|
|
651
474
|
obj: DescribeTextTranslationJobResponse
|
|
652
475
|
) => any;
|
|
653
|
-
|
|
654
476
|
export declare const GetParallelDataRequestFilterSensitiveLog: (
|
|
655
477
|
obj: GetParallelDataRequest
|
|
656
478
|
) => any;
|
|
657
|
-
|
|
658
479
|
export declare const ParallelDataDataLocationFilterSensitiveLog: (
|
|
659
480
|
obj: ParallelDataDataLocation
|
|
660
481
|
) => any;
|
|
661
|
-
|
|
662
482
|
export declare const ParallelDataPropertiesFilterSensitiveLog: (
|
|
663
483
|
obj: ParallelDataProperties
|
|
664
484
|
) => any;
|
|
665
|
-
|
|
666
485
|
export declare const GetParallelDataResponseFilterSensitiveLog: (
|
|
667
486
|
obj: GetParallelDataResponse
|
|
668
487
|
) => any;
|
|
669
|
-
|
|
670
488
|
export declare const GetTerminologyRequestFilterSensitiveLog: (
|
|
671
489
|
obj: GetTerminologyRequest
|
|
672
490
|
) => any;
|
|
673
|
-
|
|
674
491
|
export declare const TerminologyDataLocationFilterSensitiveLog: (
|
|
675
492
|
obj: TerminologyDataLocation
|
|
676
493
|
) => any;
|
|
677
|
-
|
|
678
494
|
export declare const TerminologyPropertiesFilterSensitiveLog: (
|
|
679
495
|
obj: TerminologyProperties
|
|
680
496
|
) => any;
|
|
681
|
-
|
|
682
497
|
export declare const GetTerminologyResponseFilterSensitiveLog: (
|
|
683
498
|
obj: GetTerminologyResponse
|
|
684
499
|
) => any;
|
|
685
|
-
|
|
686
500
|
export declare const TerminologyDataFilterSensitiveLog: (
|
|
687
501
|
obj: TerminologyData
|
|
688
502
|
) => any;
|
|
689
|
-
|
|
690
503
|
export declare const ImportTerminologyRequestFilterSensitiveLog: (
|
|
691
504
|
obj: ImportTerminologyRequest
|
|
692
505
|
) => any;
|
|
693
|
-
|
|
694
506
|
export declare const ImportTerminologyResponseFilterSensitiveLog: (
|
|
695
507
|
obj: ImportTerminologyResponse
|
|
696
508
|
) => any;
|
|
697
|
-
|
|
698
509
|
export declare const ListLanguagesRequestFilterSensitiveLog: (
|
|
699
510
|
obj: ListLanguagesRequest
|
|
700
511
|
) => any;
|
|
701
|
-
|
|
702
512
|
export declare const LanguageFilterSensitiveLog: (obj: Language) => any;
|
|
703
|
-
|
|
704
513
|
export declare const ListLanguagesResponseFilterSensitiveLog: (
|
|
705
514
|
obj: ListLanguagesResponse
|
|
706
515
|
) => any;
|
|
707
|
-
|
|
708
516
|
export declare const ListParallelDataRequestFilterSensitiveLog: (
|
|
709
517
|
obj: ListParallelDataRequest
|
|
710
518
|
) => any;
|
|
711
|
-
|
|
712
519
|
export declare const ListParallelDataResponseFilterSensitiveLog: (
|
|
713
520
|
obj: ListParallelDataResponse
|
|
714
521
|
) => any;
|
|
715
|
-
|
|
716
522
|
export declare const ListTerminologiesRequestFilterSensitiveLog: (
|
|
717
523
|
obj: ListTerminologiesRequest
|
|
718
524
|
) => any;
|
|
719
|
-
|
|
720
525
|
export declare const ListTerminologiesResponseFilterSensitiveLog: (
|
|
721
526
|
obj: ListTerminologiesResponse
|
|
722
527
|
) => any;
|
|
723
|
-
|
|
724
528
|
export declare const TextTranslationJobFilterFilterSensitiveLog: (
|
|
725
529
|
obj: TextTranslationJobFilter
|
|
726
530
|
) => any;
|
|
727
|
-
|
|
728
531
|
export declare const ListTextTranslationJobsRequestFilterSensitiveLog: (
|
|
729
532
|
obj: ListTextTranslationJobsRequest
|
|
730
533
|
) => any;
|
|
731
|
-
|
|
732
534
|
export declare const ListTextTranslationJobsResponseFilterSensitiveLog: (
|
|
733
535
|
obj: ListTextTranslationJobsResponse
|
|
734
536
|
) => any;
|
|
735
|
-
|
|
736
537
|
export declare const StartTextTranslationJobRequestFilterSensitiveLog: (
|
|
737
538
|
obj: StartTextTranslationJobRequest
|
|
738
539
|
) => any;
|
|
739
|
-
|
|
740
540
|
export declare const StartTextTranslationJobResponseFilterSensitiveLog: (
|
|
741
541
|
obj: StartTextTranslationJobResponse
|
|
742
542
|
) => any;
|
|
743
|
-
|
|
744
543
|
export declare const StopTextTranslationJobRequestFilterSensitiveLog: (
|
|
745
544
|
obj: StopTextTranslationJobRequest
|
|
746
545
|
) => any;
|
|
747
|
-
|
|
748
546
|
export declare const StopTextTranslationJobResponseFilterSensitiveLog: (
|
|
749
547
|
obj: StopTextTranslationJobResponse
|
|
750
548
|
) => any;
|
|
751
|
-
|
|
752
549
|
export declare const TranslateTextRequestFilterSensitiveLog: (
|
|
753
550
|
obj: TranslateTextRequest
|
|
754
551
|
) => any;
|
|
755
|
-
|
|
756
552
|
export declare const TranslateTextResponseFilterSensitiveLog: (
|
|
757
553
|
obj: TranslateTextResponse
|
|
758
554
|
) => any;
|
|
759
|
-
|
|
760
555
|
export declare const UpdateParallelDataRequestFilterSensitiveLog: (
|
|
761
556
|
obj: UpdateParallelDataRequest
|
|
762
557
|
) => any;
|
|
763
|
-
|
|
764
558
|
export declare const UpdateParallelDataResponseFilterSensitiveLog: (
|
|
765
559
|
obj: UpdateParallelDataResponse
|
|
766
560
|
) => any;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { TranslateClientConfig } from "./TranslateClient";
|
|
3
|
-
|
|
4
3
|
export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
|
|
5
4
|
runtime: string;
|
|
6
5
|
defaultsMode: import("@aws-sdk/types").Provider<
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { TranslateClientConfig } from "./TranslateClient";
|
|
3
|
-
|
|
4
3
|
export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
|
|
5
4
|
runtime: string;
|
|
6
5
|
defaultsMode: import("@aws-sdk/types").Provider<
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-translate",
|
|
3
3
|
"description": "AWS SDK for JavaScript Translate Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.171.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,35 +19,35 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
30
|
-
"@aws-sdk/middleware-logger": "3.
|
|
31
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.171.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.171.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.171.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.171.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.171.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.171.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.171.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.171.0",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.171.0",
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.171.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.171.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.171.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.171.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.171.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.171.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.171.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.171.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.171.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.171.0",
|
|
41
|
+
"@aws-sdk/types": "3.171.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.171.0",
|
|
43
43
|
"@aws-sdk/util-base64-browser": "3.170.0",
|
|
44
44
|
"@aws-sdk/util-base64-node": "3.170.0",
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.170.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.170.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.171.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.171.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-browser": "3.171.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.171.0",
|
|
51
51
|
"@aws-sdk/util-utf8-browser": "3.170.0",
|
|
52
52
|
"@aws-sdk/util-utf8-node": "3.170.0",
|
|
53
53
|
"tslib": "^2.3.1",
|