@aws-sdk/client-translate 3.180.0 → 3.183.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 +25 -0
- package/dist-cjs/Translate.js +45 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +50 -8
- package/dist-cjs/protocols/Aws_json1_1.js +275 -16
- package/dist-es/Translate.js +106 -68
- package/dist-es/TranslateClient.js +22 -28
- package/dist-es/commands/CreateParallelDataCommand.js +21 -28
- package/dist-es/commands/DeleteParallelDataCommand.js +21 -28
- package/dist-es/commands/DeleteTerminologyCommand.js +22 -29
- package/dist-es/commands/DescribeTextTranslationJobCommand.js +21 -28
- package/dist-es/commands/GetParallelDataCommand.js +21 -28
- package/dist-es/commands/GetTerminologyCommand.js +21 -28
- package/dist-es/commands/ImportTerminologyCommand.js +21 -28
- package/dist-es/commands/ListLanguagesCommand.js +21 -28
- package/dist-es/commands/ListParallelDataCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +32 -0
- package/dist-es/commands/ListTerminologiesCommand.js +21 -28
- package/dist-es/commands/ListTextTranslationJobsCommand.js +21 -28
- package/dist-es/commands/StartTextTranslationJobCommand.js +21 -28
- package/dist-es/commands/StopTextTranslationJobCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +32 -0
- package/dist-es/commands/TranslateTextCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +32 -0
- package/dist-es/commands/UpdateParallelDataCommand.js +21 -28
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/TranslateServiceException.js +5 -10
- package/dist-es/models/models_0.js +343 -218
- package/dist-es/pagination/ListLanguagesPaginator.js +25 -68
- package/dist-es/pagination/ListParallelDataPaginator.js +25 -68
- package/dist-es/pagination/ListTerminologiesPaginator.js +25 -68
- package/dist-es/pagination/ListTextTranslationJobsPaginator.js +25 -68
- package/dist-es/protocols/Aws_json1_1.js +1444 -1482
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-types/Translate.d.ts +12 -0
- package/dist-types/TranslateClient.d.ts +5 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +18 -0
- package/dist-types/commands/TagResourceCommand.d.ts +18 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +18 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +69 -8
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/Translate.d.ts +51 -0
- package/dist-types/ts3.4/TranslateClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +56 -7
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +33 -33
|
@@ -78,6 +78,10 @@ import {
|
|
|
78
78
|
ListParallelDataCommandInput,
|
|
79
79
|
ListParallelDataCommandOutput,
|
|
80
80
|
} from "./commands/ListParallelDataCommand";
|
|
81
|
+
import {
|
|
82
|
+
ListTagsForResourceCommandInput,
|
|
83
|
+
ListTagsForResourceCommandOutput,
|
|
84
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
81
85
|
import {
|
|
82
86
|
ListTerminologiesCommandInput,
|
|
83
87
|
ListTerminologiesCommandOutput,
|
|
@@ -94,10 +98,18 @@ import {
|
|
|
94
98
|
StopTextTranslationJobCommandInput,
|
|
95
99
|
StopTextTranslationJobCommandOutput,
|
|
96
100
|
} from "./commands/StopTextTranslationJobCommand";
|
|
101
|
+
import {
|
|
102
|
+
TagResourceCommandInput,
|
|
103
|
+
TagResourceCommandOutput,
|
|
104
|
+
} from "./commands/TagResourceCommand";
|
|
97
105
|
import {
|
|
98
106
|
TranslateTextCommandInput,
|
|
99
107
|
TranslateTextCommandOutput,
|
|
100
108
|
} from "./commands/TranslateTextCommand";
|
|
109
|
+
import {
|
|
110
|
+
UntagResourceCommandInput,
|
|
111
|
+
UntagResourceCommandOutput,
|
|
112
|
+
} from "./commands/UntagResourceCommand";
|
|
101
113
|
import {
|
|
102
114
|
UpdateParallelDataCommandInput,
|
|
103
115
|
UpdateParallelDataCommandOutput,
|
|
@@ -112,11 +124,14 @@ export declare type ServiceInputTypes =
|
|
|
112
124
|
| ImportTerminologyCommandInput
|
|
113
125
|
| ListLanguagesCommandInput
|
|
114
126
|
| ListParallelDataCommandInput
|
|
127
|
+
| ListTagsForResourceCommandInput
|
|
115
128
|
| ListTerminologiesCommandInput
|
|
116
129
|
| ListTextTranslationJobsCommandInput
|
|
117
130
|
| StartTextTranslationJobCommandInput
|
|
118
131
|
| StopTextTranslationJobCommandInput
|
|
132
|
+
| TagResourceCommandInput
|
|
119
133
|
| TranslateTextCommandInput
|
|
134
|
+
| UntagResourceCommandInput
|
|
120
135
|
| UpdateParallelDataCommandInput;
|
|
121
136
|
export declare type ServiceOutputTypes =
|
|
122
137
|
| CreateParallelDataCommandOutput
|
|
@@ -128,11 +143,14 @@ export declare type ServiceOutputTypes =
|
|
|
128
143
|
| ImportTerminologyCommandOutput
|
|
129
144
|
| ListLanguagesCommandOutput
|
|
130
145
|
| ListParallelDataCommandOutput
|
|
146
|
+
| ListTagsForResourceCommandOutput
|
|
131
147
|
| ListTerminologiesCommandOutput
|
|
132
148
|
| ListTextTranslationJobsCommandOutput
|
|
133
149
|
| StartTextTranslationJobCommandOutput
|
|
134
150
|
| StopTextTranslationJobCommandOutput
|
|
151
|
+
| TagResourceCommandOutput
|
|
135
152
|
| TranslateTextCommandOutput
|
|
153
|
+
| UntagResourceCommandOutput
|
|
136
154
|
| UpdateParallelDataCommandOutput;
|
|
137
155
|
export interface ClientDefaults
|
|
138
156
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
ListTagsForResourceRequest,
|
|
10
|
+
ListTagsForResourceResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
import {
|
|
13
|
+
ServiceInputTypes,
|
|
14
|
+
ServiceOutputTypes,
|
|
15
|
+
TranslateClientResolvedConfig,
|
|
16
|
+
} from "../TranslateClient";
|
|
17
|
+
export interface ListTagsForResourceCommandInput
|
|
18
|
+
extends ListTagsForResourceRequest {}
|
|
19
|
+
export interface ListTagsForResourceCommandOutput
|
|
20
|
+
extends ListTagsForResourceResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class ListTagsForResourceCommand extends $Command<
|
|
23
|
+
ListTagsForResourceCommandInput,
|
|
24
|
+
ListTagsForResourceCommandOutput,
|
|
25
|
+
TranslateClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: ListTagsForResourceCommandInput;
|
|
28
|
+
constructor(input: ListTagsForResourceCommandInput);
|
|
29
|
+
resolveMiddleware(
|
|
30
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
31
|
+
configuration: TranslateClientResolvedConfig,
|
|
32
|
+
options?: __HttpHandlerOptions
|
|
33
|
+
): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
9
|
+
import {
|
|
10
|
+
ServiceInputTypes,
|
|
11
|
+
ServiceOutputTypes,
|
|
12
|
+
TranslateClientResolvedConfig,
|
|
13
|
+
} from "../TranslateClient";
|
|
14
|
+
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
15
|
+
export interface TagResourceCommandOutput
|
|
16
|
+
extends TagResourceResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
export declare class TagResourceCommand extends $Command<
|
|
19
|
+
TagResourceCommandInput,
|
|
20
|
+
TagResourceCommandOutput,
|
|
21
|
+
TranslateClientResolvedConfig
|
|
22
|
+
> {
|
|
23
|
+
readonly input: TagResourceCommandInput;
|
|
24
|
+
constructor(input: TagResourceCommandInput);
|
|
25
|
+
resolveMiddleware(
|
|
26
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
27
|
+
configuration: TranslateClientResolvedConfig,
|
|
28
|
+
options?: __HttpHandlerOptions
|
|
29
|
+
): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
30
|
+
private serialize;
|
|
31
|
+
private deserialize;
|
|
32
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
UntagResourceRequest,
|
|
10
|
+
UntagResourceResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
import {
|
|
13
|
+
ServiceInputTypes,
|
|
14
|
+
ServiceOutputTypes,
|
|
15
|
+
TranslateClientResolvedConfig,
|
|
16
|
+
} from "../TranslateClient";
|
|
17
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
18
|
+
export interface UntagResourceCommandOutput
|
|
19
|
+
extends UntagResourceResponse,
|
|
20
|
+
__MetadataBearer {}
|
|
21
|
+
export declare class UntagResourceCommand extends $Command<
|
|
22
|
+
UntagResourceCommandInput,
|
|
23
|
+
UntagResourceCommandOutput,
|
|
24
|
+
TranslateClientResolvedConfig
|
|
25
|
+
> {
|
|
26
|
+
readonly input: UntagResourceCommandInput;
|
|
27
|
+
constructor(input: UntagResourceCommandInput);
|
|
28
|
+
resolveMiddleware(
|
|
29
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
30
|
+
configuration: TranslateClientResolvedConfig,
|
|
31
|
+
options?: __HttpHandlerOptions
|
|
32
|
+
): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -7,9 +7,12 @@ export * from "./GetTerminologyCommand";
|
|
|
7
7
|
export * from "./ImportTerminologyCommand";
|
|
8
8
|
export * from "./ListLanguagesCommand";
|
|
9
9
|
export * from "./ListParallelDataCommand";
|
|
10
|
+
export * from "./ListTagsForResourceCommand";
|
|
10
11
|
export * from "./ListTerminologiesCommand";
|
|
11
12
|
export * from "./ListTextTranslationJobsCommand";
|
|
12
13
|
export * from "./StartTextTranslationJobCommand";
|
|
13
14
|
export * from "./StopTextTranslationJobCommand";
|
|
15
|
+
export * from "./TagResourceCommand";
|
|
14
16
|
export * from "./TranslateTextCommand";
|
|
17
|
+
export * from "./UntagResourceCommand";
|
|
15
18
|
export * from "./UpdateParallelDataCommand";
|
|
@@ -8,6 +8,17 @@ export interface AppliedTerminology {
|
|
|
8
8
|
Name?: string;
|
|
9
9
|
Terms?: Term[];
|
|
10
10
|
}
|
|
11
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
12
|
+
readonly name: "ConcurrentModificationException";
|
|
13
|
+
readonly $fault: "client";
|
|
14
|
+
Message?: string;
|
|
15
|
+
constructor(
|
|
16
|
+
opts: __ExceptionOptionType<
|
|
17
|
+
ConcurrentModificationException,
|
|
18
|
+
__BaseException
|
|
19
|
+
>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
11
22
|
export declare class ConflictException extends __BaseException {
|
|
12
23
|
readonly name: "ConflictException";
|
|
13
24
|
readonly $fault: "client";
|
|
@@ -30,12 +41,17 @@ export interface ParallelDataConfig {
|
|
|
30
41
|
S3Uri: string | undefined;
|
|
31
42
|
Format: ParallelDataFormat | string | undefined;
|
|
32
43
|
}
|
|
44
|
+
export interface Tag {
|
|
45
|
+
Key: string | undefined;
|
|
46
|
+
Value: string | undefined;
|
|
47
|
+
}
|
|
33
48
|
export interface CreateParallelDataRequest {
|
|
34
49
|
Name: string | undefined;
|
|
35
50
|
Description?: string;
|
|
36
51
|
ParallelDataConfig: ParallelDataConfig | undefined;
|
|
37
52
|
EncryptionKey?: EncryptionKey;
|
|
38
53
|
ClientToken?: string;
|
|
54
|
+
Tags?: Tag[];
|
|
39
55
|
}
|
|
40
56
|
export declare enum ParallelDataStatus {
|
|
41
57
|
ACTIVE = "ACTIVE",
|
|
@@ -88,15 +104,12 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
88
104
|
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
89
105
|
);
|
|
90
106
|
}
|
|
91
|
-
export declare class
|
|
92
|
-
readonly name: "
|
|
107
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
108
|
+
readonly name: "TooManyTagsException";
|
|
93
109
|
readonly $fault: "client";
|
|
94
|
-
|
|
110
|
+
ResourceArn?: string;
|
|
95
111
|
constructor(
|
|
96
|
-
opts: __ExceptionOptionType<
|
|
97
|
-
ConcurrentModificationException,
|
|
98
|
-
__BaseException
|
|
99
|
-
>
|
|
112
|
+
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
100
113
|
);
|
|
101
114
|
}
|
|
102
115
|
export interface DeleteParallelDataRequest {
|
|
@@ -257,6 +270,7 @@ export interface ImportTerminologyRequest {
|
|
|
257
270
|
Description?: string;
|
|
258
271
|
TerminologyData: TerminologyData | undefined;
|
|
259
272
|
EncryptionKey?: EncryptionKey;
|
|
273
|
+
Tags?: Tag[];
|
|
260
274
|
}
|
|
261
275
|
export interface ImportTerminologyResponse {
|
|
262
276
|
TerminologyProperties?: TerminologyProperties;
|
|
@@ -308,6 +322,12 @@ export interface ListParallelDataResponse {
|
|
|
308
322
|
ParallelDataPropertiesList?: ParallelDataProperties[];
|
|
309
323
|
NextToken?: string;
|
|
310
324
|
}
|
|
325
|
+
export interface ListTagsForResourceRequest {
|
|
326
|
+
ResourceArn: string | undefined;
|
|
327
|
+
}
|
|
328
|
+
export interface ListTagsForResourceResponse {
|
|
329
|
+
Tags?: Tag[];
|
|
330
|
+
}
|
|
311
331
|
export interface ListTerminologiesRequest {
|
|
312
332
|
NextToken?: string;
|
|
313
333
|
MaxResults?: number;
|
|
@@ -375,6 +395,11 @@ export interface StopTextTranslationJobResponse {
|
|
|
375
395
|
JobId?: string;
|
|
376
396
|
JobStatus?: JobStatus | string;
|
|
377
397
|
}
|
|
398
|
+
export interface TagResourceRequest {
|
|
399
|
+
ResourceArn: string | undefined;
|
|
400
|
+
Tags: Tag[] | undefined;
|
|
401
|
+
}
|
|
402
|
+
export interface TagResourceResponse {}
|
|
378
403
|
export declare class DetectedLanguageLowConfidenceException extends __BaseException {
|
|
379
404
|
readonly name: "DetectedLanguageLowConfidenceException";
|
|
380
405
|
readonly $fault: "client";
|
|
@@ -417,6 +442,11 @@ export interface TranslateTextResponse {
|
|
|
417
442
|
AppliedTerminologies?: AppliedTerminology[];
|
|
418
443
|
AppliedSettings?: TranslationSettings;
|
|
419
444
|
}
|
|
445
|
+
export interface UntagResourceRequest {
|
|
446
|
+
ResourceArn: string | undefined;
|
|
447
|
+
TagKeys: string[] | undefined;
|
|
448
|
+
}
|
|
449
|
+
export interface UntagResourceResponse {}
|
|
420
450
|
export interface UpdateParallelDataRequest {
|
|
421
451
|
Name: string | undefined;
|
|
422
452
|
Description?: string;
|
|
@@ -439,6 +469,7 @@ export declare const EncryptionKeyFilterSensitiveLog: (
|
|
|
439
469
|
export declare const ParallelDataConfigFilterSensitiveLog: (
|
|
440
470
|
obj: ParallelDataConfig
|
|
441
471
|
) => any;
|
|
472
|
+
export declare const TagFilterSensitiveLog: (obj: Tag) => any;
|
|
442
473
|
export declare const CreateParallelDataRequestFilterSensitiveLog: (
|
|
443
474
|
obj: CreateParallelDataRequest
|
|
444
475
|
) => any;
|
|
@@ -519,6 +550,12 @@ export declare const ListParallelDataRequestFilterSensitiveLog: (
|
|
|
519
550
|
export declare const ListParallelDataResponseFilterSensitiveLog: (
|
|
520
551
|
obj: ListParallelDataResponse
|
|
521
552
|
) => any;
|
|
553
|
+
export declare const ListTagsForResourceRequestFilterSensitiveLog: (
|
|
554
|
+
obj: ListTagsForResourceRequest
|
|
555
|
+
) => any;
|
|
556
|
+
export declare const ListTagsForResourceResponseFilterSensitiveLog: (
|
|
557
|
+
obj: ListTagsForResourceResponse
|
|
558
|
+
) => any;
|
|
522
559
|
export declare const ListTerminologiesRequestFilterSensitiveLog: (
|
|
523
560
|
obj: ListTerminologiesRequest
|
|
524
561
|
) => any;
|
|
@@ -546,12 +583,24 @@ export declare const StopTextTranslationJobRequestFilterSensitiveLog: (
|
|
|
546
583
|
export declare const StopTextTranslationJobResponseFilterSensitiveLog: (
|
|
547
584
|
obj: StopTextTranslationJobResponse
|
|
548
585
|
) => any;
|
|
586
|
+
export declare const TagResourceRequestFilterSensitiveLog: (
|
|
587
|
+
obj: TagResourceRequest
|
|
588
|
+
) => any;
|
|
589
|
+
export declare const TagResourceResponseFilterSensitiveLog: (
|
|
590
|
+
obj: TagResourceResponse
|
|
591
|
+
) => any;
|
|
549
592
|
export declare const TranslateTextRequestFilterSensitiveLog: (
|
|
550
593
|
obj: TranslateTextRequest
|
|
551
594
|
) => any;
|
|
552
595
|
export declare const TranslateTextResponseFilterSensitiveLog: (
|
|
553
596
|
obj: TranslateTextResponse
|
|
554
597
|
) => any;
|
|
598
|
+
export declare const UntagResourceRequestFilterSensitiveLog: (
|
|
599
|
+
obj: UntagResourceRequest
|
|
600
|
+
) => any;
|
|
601
|
+
export declare const UntagResourceResponseFilterSensitiveLog: (
|
|
602
|
+
obj: UntagResourceResponse
|
|
603
|
+
) => any;
|
|
555
604
|
export declare const UpdateParallelDataRequestFilterSensitiveLog: (
|
|
556
605
|
obj: UpdateParallelDataRequest
|
|
557
606
|
) => any;
|
|
@@ -39,6 +39,10 @@ import {
|
|
|
39
39
|
ListParallelDataCommandInput,
|
|
40
40
|
ListParallelDataCommandOutput,
|
|
41
41
|
} from "../commands/ListParallelDataCommand";
|
|
42
|
+
import {
|
|
43
|
+
ListTagsForResourceCommandInput,
|
|
44
|
+
ListTagsForResourceCommandOutput,
|
|
45
|
+
} from "../commands/ListTagsForResourceCommand";
|
|
42
46
|
import {
|
|
43
47
|
ListTerminologiesCommandInput,
|
|
44
48
|
ListTerminologiesCommandOutput,
|
|
@@ -55,10 +59,18 @@ import {
|
|
|
55
59
|
StopTextTranslationJobCommandInput,
|
|
56
60
|
StopTextTranslationJobCommandOutput,
|
|
57
61
|
} from "../commands/StopTextTranslationJobCommand";
|
|
62
|
+
import {
|
|
63
|
+
TagResourceCommandInput,
|
|
64
|
+
TagResourceCommandOutput,
|
|
65
|
+
} from "../commands/TagResourceCommand";
|
|
58
66
|
import {
|
|
59
67
|
TranslateTextCommandInput,
|
|
60
68
|
TranslateTextCommandOutput,
|
|
61
69
|
} from "../commands/TranslateTextCommand";
|
|
70
|
+
import {
|
|
71
|
+
UntagResourceCommandInput,
|
|
72
|
+
UntagResourceCommandOutput,
|
|
73
|
+
} from "../commands/UntagResourceCommand";
|
|
62
74
|
import {
|
|
63
75
|
UpdateParallelDataCommandInput,
|
|
64
76
|
UpdateParallelDataCommandOutput,
|
|
@@ -99,6 +111,10 @@ export declare const serializeAws_json1_1ListParallelDataCommand: (
|
|
|
99
111
|
input: ListParallelDataCommandInput,
|
|
100
112
|
context: __SerdeContext
|
|
101
113
|
) => Promise<__HttpRequest>;
|
|
114
|
+
export declare const serializeAws_json1_1ListTagsForResourceCommand: (
|
|
115
|
+
input: ListTagsForResourceCommandInput,
|
|
116
|
+
context: __SerdeContext
|
|
117
|
+
) => Promise<__HttpRequest>;
|
|
102
118
|
export declare const serializeAws_json1_1ListTerminologiesCommand: (
|
|
103
119
|
input: ListTerminologiesCommandInput,
|
|
104
120
|
context: __SerdeContext
|
|
@@ -115,10 +131,18 @@ export declare const serializeAws_json1_1StopTextTranslationJobCommand: (
|
|
|
115
131
|
input: StopTextTranslationJobCommandInput,
|
|
116
132
|
context: __SerdeContext
|
|
117
133
|
) => Promise<__HttpRequest>;
|
|
134
|
+
export declare const serializeAws_json1_1TagResourceCommand: (
|
|
135
|
+
input: TagResourceCommandInput,
|
|
136
|
+
context: __SerdeContext
|
|
137
|
+
) => Promise<__HttpRequest>;
|
|
118
138
|
export declare const serializeAws_json1_1TranslateTextCommand: (
|
|
119
139
|
input: TranslateTextCommandInput,
|
|
120
140
|
context: __SerdeContext
|
|
121
141
|
) => Promise<__HttpRequest>;
|
|
142
|
+
export declare const serializeAws_json1_1UntagResourceCommand: (
|
|
143
|
+
input: UntagResourceCommandInput,
|
|
144
|
+
context: __SerdeContext
|
|
145
|
+
) => Promise<__HttpRequest>;
|
|
122
146
|
export declare const serializeAws_json1_1UpdateParallelDataCommand: (
|
|
123
147
|
input: UpdateParallelDataCommandInput,
|
|
124
148
|
context: __SerdeContext
|
|
@@ -159,6 +183,10 @@ export declare const deserializeAws_json1_1ListParallelDataCommand: (
|
|
|
159
183
|
output: __HttpResponse,
|
|
160
184
|
context: __SerdeContext
|
|
161
185
|
) => Promise<ListParallelDataCommandOutput>;
|
|
186
|
+
export declare const deserializeAws_json1_1ListTagsForResourceCommand: (
|
|
187
|
+
output: __HttpResponse,
|
|
188
|
+
context: __SerdeContext
|
|
189
|
+
) => Promise<ListTagsForResourceCommandOutput>;
|
|
162
190
|
export declare const deserializeAws_json1_1ListTerminologiesCommand: (
|
|
163
191
|
output: __HttpResponse,
|
|
164
192
|
context: __SerdeContext
|
|
@@ -175,10 +203,18 @@ export declare const deserializeAws_json1_1StopTextTranslationJobCommand: (
|
|
|
175
203
|
output: __HttpResponse,
|
|
176
204
|
context: __SerdeContext
|
|
177
205
|
) => Promise<StopTextTranslationJobCommandOutput>;
|
|
206
|
+
export declare const deserializeAws_json1_1TagResourceCommand: (
|
|
207
|
+
output: __HttpResponse,
|
|
208
|
+
context: __SerdeContext
|
|
209
|
+
) => Promise<TagResourceCommandOutput>;
|
|
178
210
|
export declare const deserializeAws_json1_1TranslateTextCommand: (
|
|
179
211
|
output: __HttpResponse,
|
|
180
212
|
context: __SerdeContext
|
|
181
213
|
) => Promise<TranslateTextCommandOutput>;
|
|
214
|
+
export declare const deserializeAws_json1_1UntagResourceCommand: (
|
|
215
|
+
output: __HttpResponse,
|
|
216
|
+
context: __SerdeContext
|
|
217
|
+
) => Promise<UntagResourceCommandOutput>;
|
|
182
218
|
export declare const deserializeAws_json1_1UpdateParallelDataCommand: (
|
|
183
219
|
output: __HttpResponse,
|
|
184
220
|
context: __SerdeContext
|
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.183.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,42 +19,42 @@
|
|
|
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.
|
|
43
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
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.
|
|
51
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
52
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.183.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.183.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.183.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.183.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.183.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.183.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.183.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.183.0",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.183.0",
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.183.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.183.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.183.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.183.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.183.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.183.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.183.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.183.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.183.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.183.0",
|
|
41
|
+
"@aws-sdk/types": "3.183.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.183.0",
|
|
43
|
+
"@aws-sdk/util-base64-browser": "3.183.0",
|
|
44
|
+
"@aws-sdk/util-base64-node": "3.183.0",
|
|
45
|
+
"@aws-sdk/util-body-length-browser": "3.183.0",
|
|
46
|
+
"@aws-sdk/util-body-length-node": "3.183.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.183.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.183.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-browser": "3.183.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.183.0",
|
|
51
|
+
"@aws-sdk/util-utf8-browser": "3.183.0",
|
|
52
|
+
"@aws-sdk/util-utf8-node": "3.183.0",
|
|
53
53
|
"tslib": "^2.3.1",
|
|
54
54
|
"uuid": "^8.3.2"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
57
|
+
"@aws-sdk/service-client-documentation-generator": "3.183.0",
|
|
58
58
|
"@tsconfig/recommended": "1.0.1",
|
|
59
59
|
"@types/node": "^12.7.5",
|
|
60
60
|
"@types/uuid": "^8.3.0",
|