@aws-sdk/client-translate 3.296.0 → 3.297.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-types/Translate.d.ts +19 -0
- package/dist-types/TranslateClient.d.ts +24 -4
- package/dist-types/commands/CreateParallelDataCommand.d.ts +16 -0
- package/dist-types/commands/DeleteParallelDataCommand.d.ts +16 -0
- package/dist-types/commands/DeleteTerminologyCommand.d.ts +16 -0
- package/dist-types/commands/DescribeTextTranslationJobCommand.d.ts +16 -0
- package/dist-types/commands/GetParallelDataCommand.d.ts +16 -0
- package/dist-types/commands/GetTerminologyCommand.d.ts +16 -0
- package/dist-types/commands/ImportTerminologyCommand.d.ts +16 -0
- package/dist-types/commands/ListLanguagesCommand.d.ts +16 -0
- package/dist-types/commands/ListParallelDataCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ListTerminologiesCommand.d.ts +16 -0
- package/dist-types/commands/ListTextTranslationJobsCommand.d.ts +16 -0
- package/dist-types/commands/StartTextTranslationJobCommand.d.ts +16 -0
- package/dist-types/commands/StopTextTranslationJobCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/TranslateTextCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateParallelDataCommand.d.ts +16 -0
- package/dist-types/models/TranslateServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +167 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListLanguagesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListParallelDataPaginator.d.ts +3 -0
- package/dist-types/pagination/ListTerminologiesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListTextTranslationJobsPaginator.d.ts +3 -0
- package/package.json +3 -3
|
@@ -19,10 +19,12 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
19
19
|
import { UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput } from "./commands/UpdateParallelDataCommand";
|
|
20
20
|
import { TranslateClient } from "./TranslateClient";
|
|
21
21
|
/**
|
|
22
|
+
* @public
|
|
22
23
|
* <p>Provides translation of the input content from the source language to the target language.</p>
|
|
23
24
|
*/
|
|
24
25
|
export declare class Translate extends TranslateClient {
|
|
25
26
|
/**
|
|
27
|
+
* @public
|
|
26
28
|
* <p>Creates a parallel data resource in Amazon Translate by importing an input file from
|
|
27
29
|
* Amazon S3. Parallel data files contain examples that show how you want segments of text to be
|
|
28
30
|
* translated. By adding parallel data, you can influence the style, tone, and word choice in
|
|
@@ -32,18 +34,21 @@ export declare class Translate extends TranslateClient {
|
|
|
32
34
|
createParallelData(args: CreateParallelDataCommandInput, cb: (err: any, data?: CreateParallelDataCommandOutput) => void): void;
|
|
33
35
|
createParallelData(args: CreateParallelDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateParallelDataCommandOutput) => void): void;
|
|
34
36
|
/**
|
|
37
|
+
* @public
|
|
35
38
|
* <p>Deletes a parallel data resource in Amazon Translate.</p>
|
|
36
39
|
*/
|
|
37
40
|
deleteParallelData(args: DeleteParallelDataCommandInput, options?: __HttpHandlerOptions): Promise<DeleteParallelDataCommandOutput>;
|
|
38
41
|
deleteParallelData(args: DeleteParallelDataCommandInput, cb: (err: any, data?: DeleteParallelDataCommandOutput) => void): void;
|
|
39
42
|
deleteParallelData(args: DeleteParallelDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteParallelDataCommandOutput) => void): void;
|
|
40
43
|
/**
|
|
44
|
+
* @public
|
|
41
45
|
* <p>A synchronous action that deletes a custom terminology.</p>
|
|
42
46
|
*/
|
|
43
47
|
deleteTerminology(args: DeleteTerminologyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTerminologyCommandOutput>;
|
|
44
48
|
deleteTerminology(args: DeleteTerminologyCommandInput, cb: (err: any, data?: DeleteTerminologyCommandOutput) => void): void;
|
|
45
49
|
deleteTerminology(args: DeleteTerminologyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTerminologyCommandOutput) => void): void;
|
|
46
50
|
/**
|
|
51
|
+
* @public
|
|
47
52
|
* <p>Gets the properties associated with an asynchronous batch translation job including name,
|
|
48
53
|
* ID, status, source and target languages, input/output S3 buckets, and so on.</p>
|
|
49
54
|
*/
|
|
@@ -51,18 +56,21 @@ export declare class Translate extends TranslateClient {
|
|
|
51
56
|
describeTextTranslationJob(args: DescribeTextTranslationJobCommandInput, cb: (err: any, data?: DescribeTextTranslationJobCommandOutput) => void): void;
|
|
52
57
|
describeTextTranslationJob(args: DescribeTextTranslationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTextTranslationJobCommandOutput) => void): void;
|
|
53
58
|
/**
|
|
59
|
+
* @public
|
|
54
60
|
* <p>Provides information about a parallel data resource.</p>
|
|
55
61
|
*/
|
|
56
62
|
getParallelData(args: GetParallelDataCommandInput, options?: __HttpHandlerOptions): Promise<GetParallelDataCommandOutput>;
|
|
57
63
|
getParallelData(args: GetParallelDataCommandInput, cb: (err: any, data?: GetParallelDataCommandOutput) => void): void;
|
|
58
64
|
getParallelData(args: GetParallelDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetParallelDataCommandOutput) => void): void;
|
|
59
65
|
/**
|
|
66
|
+
* @public
|
|
60
67
|
* <p>Retrieves a custom terminology.</p>
|
|
61
68
|
*/
|
|
62
69
|
getTerminology(args: GetTerminologyCommandInput, options?: __HttpHandlerOptions): Promise<GetTerminologyCommandOutput>;
|
|
63
70
|
getTerminology(args: GetTerminologyCommandInput, cb: (err: any, data?: GetTerminologyCommandOutput) => void): void;
|
|
64
71
|
getTerminology(args: GetTerminologyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTerminologyCommandOutput) => void): void;
|
|
65
72
|
/**
|
|
73
|
+
* @public
|
|
66
74
|
* <p>Creates or updates a custom terminology, depending on whether one already exists for the
|
|
67
75
|
* given terminology name. Importing a terminology with the same name as an existing one will
|
|
68
76
|
* merge the terminologies based on the chosen merge strategy. The only supported merge strategy
|
|
@@ -76,18 +84,21 @@ export declare class Translate extends TranslateClient {
|
|
|
76
84
|
importTerminology(args: ImportTerminologyCommandInput, cb: (err: any, data?: ImportTerminologyCommandOutput) => void): void;
|
|
77
85
|
importTerminology(args: ImportTerminologyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportTerminologyCommandOutput) => void): void;
|
|
78
86
|
/**
|
|
87
|
+
* @public
|
|
79
88
|
* <p>Provides a list of languages (RFC-5646 codes and names) that Amazon Translate supports.</p>
|
|
80
89
|
*/
|
|
81
90
|
listLanguages(args: ListLanguagesCommandInput, options?: __HttpHandlerOptions): Promise<ListLanguagesCommandOutput>;
|
|
82
91
|
listLanguages(args: ListLanguagesCommandInput, cb: (err: any, data?: ListLanguagesCommandOutput) => void): void;
|
|
83
92
|
listLanguages(args: ListLanguagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLanguagesCommandOutput) => void): void;
|
|
84
93
|
/**
|
|
94
|
+
* @public
|
|
85
95
|
* <p>Provides a list of your parallel data resources in Amazon Translate.</p>
|
|
86
96
|
*/
|
|
87
97
|
listParallelData(args: ListParallelDataCommandInput, options?: __HttpHandlerOptions): Promise<ListParallelDataCommandOutput>;
|
|
88
98
|
listParallelData(args: ListParallelDataCommandInput, cb: (err: any, data?: ListParallelDataCommandOutput) => void): void;
|
|
89
99
|
listParallelData(args: ListParallelDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListParallelDataCommandOutput) => void): void;
|
|
90
100
|
/**
|
|
101
|
+
* @public
|
|
91
102
|
* <p>Lists all tags associated with a given Amazon Translate resource.
|
|
92
103
|
* For more information, see <a href="https://docs.aws.amazon.com/translate/latest/dg/tagging.html">
|
|
93
104
|
* Tagging your resources</a>.</p>
|
|
@@ -96,18 +107,21 @@ export declare class Translate extends TranslateClient {
|
|
|
96
107
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
97
108
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
98
109
|
/**
|
|
110
|
+
* @public
|
|
99
111
|
* <p>Provides a list of custom terminologies associated with your account.</p>
|
|
100
112
|
*/
|
|
101
113
|
listTerminologies(args: ListTerminologiesCommandInput, options?: __HttpHandlerOptions): Promise<ListTerminologiesCommandOutput>;
|
|
102
114
|
listTerminologies(args: ListTerminologiesCommandInput, cb: (err: any, data?: ListTerminologiesCommandOutput) => void): void;
|
|
103
115
|
listTerminologies(args: ListTerminologiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTerminologiesCommandOutput) => void): void;
|
|
104
116
|
/**
|
|
117
|
+
* @public
|
|
105
118
|
* <p>Gets a list of the batch translation jobs that you have submitted.</p>
|
|
106
119
|
*/
|
|
107
120
|
listTextTranslationJobs(args: ListTextTranslationJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListTextTranslationJobsCommandOutput>;
|
|
108
121
|
listTextTranslationJobs(args: ListTextTranslationJobsCommandInput, cb: (err: any, data?: ListTextTranslationJobsCommandOutput) => void): void;
|
|
109
122
|
listTextTranslationJobs(args: ListTextTranslationJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTextTranslationJobsCommandOutput) => void): void;
|
|
110
123
|
/**
|
|
124
|
+
* @public
|
|
111
125
|
* <p>Starts an asynchronous batch translation job. Use batch translation jobs to
|
|
112
126
|
* translate large volumes of text across multiple documents at once.
|
|
113
127
|
* For batch translation, you can input documents with different source languages (specify <code>auto</code>
|
|
@@ -122,6 +136,7 @@ export declare class Translate extends TranslateClient {
|
|
|
122
136
|
startTextTranslationJob(args: StartTextTranslationJobCommandInput, cb: (err: any, data?: StartTextTranslationJobCommandOutput) => void): void;
|
|
123
137
|
startTextTranslationJob(args: StartTextTranslationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartTextTranslationJobCommandOutput) => void): void;
|
|
124
138
|
/**
|
|
139
|
+
* @public
|
|
125
140
|
* <p>Stops an asynchronous batch translation job that is in progress.</p>
|
|
126
141
|
* <p>If the job's state is <code>IN_PROGRESS</code>, the job will be marked for termination and
|
|
127
142
|
* put into the <code>STOP_REQUESTED</code> state. If the job completes before it can be stopped,
|
|
@@ -134,6 +149,7 @@ export declare class Translate extends TranslateClient {
|
|
|
134
149
|
stopTextTranslationJob(args: StopTextTranslationJobCommandInput, cb: (err: any, data?: StopTextTranslationJobCommandOutput) => void): void;
|
|
135
150
|
stopTextTranslationJob(args: StopTextTranslationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopTextTranslationJobCommandOutput) => void): void;
|
|
136
151
|
/**
|
|
152
|
+
* @public
|
|
137
153
|
* <p>Associates a specific tag with a resource. A tag is a key-value pair
|
|
138
154
|
* that adds as a metadata to a resource.
|
|
139
155
|
* For more information, see <a href="https://docs.aws.amazon.com/translate/latest/dg/tagging.html">
|
|
@@ -143,6 +159,7 @@ export declare class Translate extends TranslateClient {
|
|
|
143
159
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
144
160
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
145
161
|
/**
|
|
162
|
+
* @public
|
|
146
163
|
* <p>Translates input text from the source language to the target language. For a list of
|
|
147
164
|
* available languages and language codes, see <a href="https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html">Supported languages</a>.</p>
|
|
148
165
|
*/
|
|
@@ -150,6 +167,7 @@ export declare class Translate extends TranslateClient {
|
|
|
150
167
|
translateText(args: TranslateTextCommandInput, cb: (err: any, data?: TranslateTextCommandOutput) => void): void;
|
|
151
168
|
translateText(args: TranslateTextCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TranslateTextCommandOutput) => void): void;
|
|
152
169
|
/**
|
|
170
|
+
* @public
|
|
153
171
|
* <p>Removes a specific tag associated with an Amazon Translate resource.
|
|
154
172
|
* For more information, see <a href="https://docs.aws.amazon.com/translate/latest/dg/tagging.html">
|
|
155
173
|
* Tagging your resources</a>.</p>
|
|
@@ -158,6 +176,7 @@ export declare class Translate extends TranslateClient {
|
|
|
158
176
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
159
177
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
160
178
|
/**
|
|
179
|
+
* @public
|
|
161
180
|
* <p>Updates a previously created parallel data resource by importing a new input file from
|
|
162
181
|
* Amazon S3.</p>
|
|
163
182
|
*/
|
|
@@ -26,15 +26,24 @@ import { TranslateTextCommandInput, TranslateTextCommandOutput } from "./command
|
|
|
26
26
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
27
27
|
import { UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput } from "./commands/UpdateParallelDataCommand";
|
|
28
28
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
29
32
|
export type ServiceInputTypes = CreateParallelDataCommandInput | DeleteParallelDataCommandInput | DeleteTerminologyCommandInput | DescribeTextTranslationJobCommandInput | GetParallelDataCommandInput | GetTerminologyCommandInput | ImportTerminologyCommandInput | ListLanguagesCommandInput | ListParallelDataCommandInput | ListTagsForResourceCommandInput | ListTerminologiesCommandInput | ListTextTranslationJobsCommandInput | StartTextTranslationJobCommandInput | StopTextTranslationJobCommandInput | TagResourceCommandInput | TranslateTextCommandInput | UntagResourceCommandInput | UpdateParallelDataCommandInput;
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
30
36
|
export type ServiceOutputTypes = CreateParallelDataCommandOutput | DeleteParallelDataCommandOutput | DeleteTerminologyCommandOutput | DescribeTextTranslationJobCommandOutput | GetParallelDataCommandOutput | GetTerminologyCommandOutput | ImportTerminologyCommandOutput | ListLanguagesCommandOutput | ListParallelDataCommandOutput | ListTagsForResourceCommandOutput | ListTerminologiesCommandOutput | ListTextTranslationJobsCommandOutput | StartTextTranslationJobCommandOutput | StopTextTranslationJobCommandOutput | TagResourceCommandOutput | TranslateTextCommandOutput | UntagResourceCommandOutput | UpdateParallelDataCommandOutput;
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
31
40
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
32
41
|
/**
|
|
33
42
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
34
43
|
*/
|
|
35
44
|
requestHandler?: __HttpHandler;
|
|
36
45
|
/**
|
|
37
|
-
* A constructor for a class implementing the {@link
|
|
46
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
38
47
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
39
48
|
* @internal
|
|
40
49
|
*/
|
|
@@ -124,23 +133,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
124
133
|
*/
|
|
125
134
|
logger?: __Logger;
|
|
126
135
|
/**
|
|
127
|
-
* The {@link
|
|
136
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
128
137
|
*/
|
|
129
138
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
130
139
|
}
|
|
140
|
+
/**
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
131
143
|
type TranslateClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
132
144
|
/**
|
|
133
|
-
*
|
|
145
|
+
* @public
|
|
146
|
+
*
|
|
147
|
+
* The configuration interface of TranslateClient class constructor that set the region, credentials and other options.
|
|
134
148
|
*/
|
|
135
149
|
export interface TranslateClientConfig extends TranslateClientConfigType {
|
|
136
150
|
}
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
137
154
|
type TranslateClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
138
155
|
/**
|
|
139
|
-
*
|
|
156
|
+
* @public
|
|
157
|
+
*
|
|
158
|
+
* The resolved configuration interface of TranslateClient class. This is resolved and normalized from the {@link TranslateClientConfig | constructor configuration interface}.
|
|
140
159
|
*/
|
|
141
160
|
export interface TranslateClientResolvedConfig extends TranslateClientResolvedConfigType {
|
|
142
161
|
}
|
|
143
162
|
/**
|
|
163
|
+
* @public
|
|
144
164
|
* <p>Provides translation of the input content from the source language to the target language.</p>
|
|
145
165
|
*/
|
|
146
166
|
export declare class TranslateClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig> {
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CreateParallelDataRequest, CreateParallelDataResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateParallelDataCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateParallelDataCommandInput extends CreateParallelDataRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateParallelDataCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateParallelDataCommandOutput extends CreateParallelDataResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a parallel data resource in Amazon Translate by importing an input file from
|
|
18
23
|
* Amazon S3. Parallel data files contain examples that show how you want segments of text to be
|
|
19
24
|
* translated. By adding parallel data, you can influence the style, tone, and word choice in
|
|
@@ -28,6 +33,8 @@ export interface CreateParallelDataCommandOutput extends CreateParallelDataRespo
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param CreateParallelDataCommandInput - {@link CreateParallelDataCommandInput}
|
|
37
|
+
* @returns {@link CreateParallelDataCommandOutput}
|
|
31
38
|
* @see {@link CreateParallelDataCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link CreateParallelDataCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
@@ -66,11 +73,20 @@ export interface CreateParallelDataCommandOutput extends CreateParallelDataRespo
|
|
|
66
73
|
export declare class CreateParallelDataCommand extends $Command<CreateParallelDataCommandInput, CreateParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
67
74
|
readonly input: CreateParallelDataCommandInput;
|
|
68
75
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
69
79
|
constructor(input: CreateParallelDataCommandInput);
|
|
70
80
|
/**
|
|
71
81
|
* @internal
|
|
72
82
|
*/
|
|
73
83
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateParallelDataCommandInput, CreateParallelDataCommandOutput>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
74
87
|
private serialize;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
75
91
|
private deserialize;
|
|
76
92
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DeleteParallelDataRequest, DeleteParallelDataResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteParallelDataCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteParallelDataCommandInput extends DeleteParallelDataRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteParallelDataCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteParallelDataCommandOutput extends DeleteParallelDataResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes a parallel data resource in Amazon Translate.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface DeleteParallelDataCommandOutput extends DeleteParallelDataRespo
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param DeleteParallelDataCommandInput - {@link DeleteParallelDataCommandInput}
|
|
34
|
+
* @returns {@link DeleteParallelDataCommandOutput}
|
|
28
35
|
* @see {@link DeleteParallelDataCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link DeleteParallelDataCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
@@ -50,11 +57,20 @@ export interface DeleteParallelDataCommandOutput extends DeleteParallelDataRespo
|
|
|
50
57
|
export declare class DeleteParallelDataCommand extends $Command<DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
51
58
|
readonly input: DeleteParallelDataCommandInput;
|
|
52
59
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
53
63
|
constructor(input: DeleteParallelDataCommandInput);
|
|
54
64
|
/**
|
|
55
65
|
* @internal
|
|
56
66
|
*/
|
|
57
67
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput>;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
58
71
|
private serialize;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
59
75
|
private deserialize;
|
|
60
76
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DeleteTerminologyRequest } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteTerminologyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteTerminologyCommandInput extends DeleteTerminologyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteTerminologyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteTerminologyCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>A synchronous action that deletes a custom terminology.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface DeleteTerminologyCommandOutput extends __MetadataBearer {
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param DeleteTerminologyCommandInput - {@link DeleteTerminologyCommandInput}
|
|
34
|
+
* @returns {@link DeleteTerminologyCommandOutput}
|
|
28
35
|
* @see {@link DeleteTerminologyCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link DeleteTerminologyCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
@@ -50,11 +57,20 @@ export interface DeleteTerminologyCommandOutput extends __MetadataBearer {
|
|
|
50
57
|
export declare class DeleteTerminologyCommand extends $Command<DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput, TranslateClientResolvedConfig> {
|
|
51
58
|
readonly input: DeleteTerminologyCommandInput;
|
|
52
59
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
53
63
|
constructor(input: DeleteTerminologyCommandInput);
|
|
54
64
|
/**
|
|
55
65
|
* @internal
|
|
56
66
|
*/
|
|
57
67
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput>;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
58
71
|
private serialize;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
59
75
|
private deserialize;
|
|
60
76
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DescribeTextTranslationJobRequest, DescribeTextTranslationJobResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DescribeTextTranslationJobCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DescribeTextTranslationJobCommandInput extends DescribeTextTranslationJobRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DescribeTextTranslationJobCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DescribeTextTranslationJobCommandOutput extends DescribeTextTranslationJobResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Gets the properties associated with an asynchronous batch translation job including name,
|
|
18
23
|
* ID, status, source and target languages, input/output S3 buckets, and so on.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface DescribeTextTranslationJobCommandOutput extends DescribeTextTra
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param DescribeTextTranslationJobCommandInput - {@link DescribeTextTranslationJobCommandInput}
|
|
35
|
+
* @returns {@link DescribeTextTranslationJobCommandOutput}
|
|
29
36
|
* @see {@link DescribeTextTranslationJobCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link DescribeTextTranslationJobCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
@@ -47,11 +54,20 @@ export interface DescribeTextTranslationJobCommandOutput extends DescribeTextTra
|
|
|
47
54
|
export declare class DescribeTextTranslationJobCommand extends $Command<DescribeTextTranslationJobCommandInput, DescribeTextTranslationJobCommandOutput, TranslateClientResolvedConfig> {
|
|
48
55
|
readonly input: DescribeTextTranslationJobCommandInput;
|
|
49
56
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
50
60
|
constructor(input: DescribeTextTranslationJobCommandInput);
|
|
51
61
|
/**
|
|
52
62
|
* @internal
|
|
53
63
|
*/
|
|
54
64
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeTextTranslationJobCommandInput, DescribeTextTranslationJobCommandOutput>;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
55
68
|
private serialize;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
56
72
|
private deserialize;
|
|
57
73
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GetParallelDataRequest, GetParallelDataResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetParallelDataCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetParallelDataCommandInput extends GetParallelDataRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetParallelDataCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetParallelDataCommandOutput extends GetParallelDataResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Provides information about a parallel data resource.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface GetParallelDataCommandOutput extends GetParallelDataResponse, _
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param GetParallelDataCommandInput - {@link GetParallelDataCommandInput}
|
|
34
|
+
* @returns {@link GetParallelDataCommandOutput}
|
|
28
35
|
* @see {@link GetParallelDataCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link GetParallelDataCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
@@ -50,11 +57,20 @@ export interface GetParallelDataCommandOutput extends GetParallelDataResponse, _
|
|
|
50
57
|
export declare class GetParallelDataCommand extends $Command<GetParallelDataCommandInput, GetParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
51
58
|
readonly input: GetParallelDataCommandInput;
|
|
52
59
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
53
63
|
constructor(input: GetParallelDataCommandInput);
|
|
54
64
|
/**
|
|
55
65
|
* @internal
|
|
56
66
|
*/
|
|
57
67
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetParallelDataCommandInput, GetParallelDataCommandOutput>;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
58
71
|
private serialize;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
59
75
|
private deserialize;
|
|
60
76
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GetTerminologyRequest, GetTerminologyResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetTerminologyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetTerminologyCommandInput extends GetTerminologyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetTerminologyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetTerminologyCommandOutput extends GetTerminologyResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Retrieves a custom terminology.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface GetTerminologyCommandOutput extends GetTerminologyResponse, __M
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param GetTerminologyCommandInput - {@link GetTerminologyCommandInput}
|
|
34
|
+
* @returns {@link GetTerminologyCommandOutput}
|
|
28
35
|
* @see {@link GetTerminologyCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link GetTerminologyCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
@@ -50,11 +57,20 @@ export interface GetTerminologyCommandOutput extends GetTerminologyResponse, __M
|
|
|
50
57
|
export declare class GetTerminologyCommand extends $Command<GetTerminologyCommandInput, GetTerminologyCommandOutput, TranslateClientResolvedConfig> {
|
|
51
58
|
readonly input: GetTerminologyCommandInput;
|
|
52
59
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
53
63
|
constructor(input: GetTerminologyCommandInput);
|
|
54
64
|
/**
|
|
55
65
|
* @internal
|
|
56
66
|
*/
|
|
57
67
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTerminologyCommandInput, GetTerminologyCommandOutput>;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
58
71
|
private serialize;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
59
75
|
private deserialize;
|
|
60
76
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ImportTerminologyRequest, ImportTerminologyResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ImportTerminologyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ImportTerminologyCommandInput extends ImportTerminologyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ImportTerminologyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ImportTerminologyCommandOutput extends ImportTerminologyResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates or updates a custom terminology, depending on whether one already exists for the
|
|
18
23
|
* given terminology name. Importing a terminology with the same name as an existing one will
|
|
19
24
|
* merge the terminologies based on the chosen merge strategy. The only supported merge strategy
|
|
@@ -32,6 +37,8 @@ export interface ImportTerminologyCommandOutput extends ImportTerminologyRespons
|
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
34
39
|
*
|
|
40
|
+
* @param ImportTerminologyCommandInput - {@link ImportTerminologyCommandInput}
|
|
41
|
+
* @returns {@link ImportTerminologyCommandOutput}
|
|
35
42
|
* @see {@link ImportTerminologyCommandInput} for command's `input` shape.
|
|
36
43
|
* @see {@link ImportTerminologyCommandOutput} for command's `response` shape.
|
|
37
44
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
@@ -63,11 +70,20 @@ export interface ImportTerminologyCommandOutput extends ImportTerminologyRespons
|
|
|
63
70
|
export declare class ImportTerminologyCommand extends $Command<ImportTerminologyCommandInput, ImportTerminologyCommandOutput, TranslateClientResolvedConfig> {
|
|
64
71
|
readonly input: ImportTerminologyCommandInput;
|
|
65
72
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
66
76
|
constructor(input: ImportTerminologyCommandInput);
|
|
67
77
|
/**
|
|
68
78
|
* @internal
|
|
69
79
|
*/
|
|
70
80
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportTerminologyCommandInput, ImportTerminologyCommandOutput>;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
71
84
|
private serialize;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
72
88
|
private deserialize;
|
|
73
89
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ListLanguagesRequest, ListLanguagesResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListLanguagesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListLanguagesCommandInput extends ListLanguagesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListLanguagesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListLanguagesCommandOutput extends ListLanguagesResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Provides a list of languages (RFC-5646 codes and names) that Amazon Translate supports.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface ListLanguagesCommandOutput extends ListLanguagesResponse, __Met
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param ListLanguagesCommandInput - {@link ListLanguagesCommandInput}
|
|
34
|
+
* @returns {@link ListLanguagesCommandOutput}
|
|
28
35
|
* @see {@link ListLanguagesCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link ListLanguagesCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
@@ -48,11 +55,20 @@ export interface ListLanguagesCommandOutput extends ListLanguagesResponse, __Met
|
|
|
48
55
|
export declare class ListLanguagesCommand extends $Command<ListLanguagesCommandInput, ListLanguagesCommandOutput, TranslateClientResolvedConfig> {
|
|
49
56
|
readonly input: ListLanguagesCommandInput;
|
|
50
57
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
51
61
|
constructor(input: ListLanguagesCommandInput);
|
|
52
62
|
/**
|
|
53
63
|
* @internal
|
|
54
64
|
*/
|
|
55
65
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListLanguagesCommandInput, ListLanguagesCommandOutput>;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
56
69
|
private serialize;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
57
73
|
private deserialize;
|
|
58
74
|
}
|