@aws-sdk/client-translate 3.36.0 → 3.39.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 +42 -0
- package/dist-cjs/Translate.js +0 -4
- package/dist-cjs/TranslateClient.js +0 -9
- package/dist-cjs/commands/CreateParallelDataCommand.js +0 -27
- package/dist-cjs/commands/DeleteParallelDataCommand.js +0 -24
- package/dist-cjs/commands/DeleteTerminologyCommand.js +0 -24
- package/dist-cjs/commands/DescribeTextTranslationJobCommand.js +0 -25
- package/dist-cjs/commands/GetParallelDataCommand.js +0 -24
- package/dist-cjs/commands/GetTerminologyCommand.js +0 -24
- package/dist-cjs/commands/ImportTerminologyCommand.js +0 -31
- package/dist-cjs/commands/ListParallelDataCommand.js +0 -24
- package/dist-cjs/commands/ListTerminologiesCommand.js +0 -24
- package/dist-cjs/commands/ListTextTranslationJobsCommand.js +0 -24
- package/dist-cjs/commands/StartTextTranslationJobCommand.js +0 -31
- package/dist-cjs/commands/StopTextTranslationJobCommand.js +0 -30
- package/dist-cjs/commands/TranslateTextCommand.js +0 -25
- package/dist-cjs/commands/UpdateParallelDataCommand.js +0 -25
- package/dist-cjs/commands/index.js +17 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +4 -20
- package/dist-cjs/models/models_0.js +0 -162
- package/dist-cjs/pagination/ListParallelDataPaginator.js +0 -10
- package/dist-cjs/pagination/ListTerminologiesPaginator.js +0 -10
- package/dist-cjs/pagination/ListTextTranslationJobsPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-es/commands/index.js +14 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +4 -20
- package/dist-es/pagination/index.js +4 -0
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/index.d.ts +4 -20
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/Translate.d.ts +15 -72
- package/dist-types/ts3.4/TranslateClient.d.ts +24 -90
- package/dist-types/ts3.4/commands/CreateParallelDataCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteParallelDataCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteTerminologyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetParallelDataCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetTerminologyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ImportTerminologyCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListParallelDataCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTerminologiesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTextTranslationJobsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/TranslateTextCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateParallelDataCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/index.d.ts +4 -20
- package/dist-types/ts3.4/models/models_0.d.ts +220 -824
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +32 -32
|
@@ -6,29 +6,11 @@ export interface GetTerminologyCommandInput extends GetTerminologyRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetTerminologyCommandOutput extends GetTerminologyResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Retrieves a custom terminology.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { TranslateClient, GetTerminologyCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
15
|
-
* // const { TranslateClient, GetTerminologyCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
16
|
-
* const client = new TranslateClient(config);
|
|
17
|
-
* const command = new GetTerminologyCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetTerminologyCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetTerminologyCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link TranslateClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class GetTerminologyCommand extends $Command<GetTerminologyCommandInput, GetTerminologyCommandOutput, TranslateClientResolvedConfig> {
|
|
27
11
|
readonly input: GetTerminologyCommandInput;
|
|
28
12
|
constructor(input: GetTerminologyCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTerminologyCommandInput, GetTerminologyCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,36 +6,11 @@ export interface ImportTerminologyCommandInput extends ImportTerminologyRequest
|
|
|
6
6
|
}
|
|
7
7
|
export interface ImportTerminologyCommandOutput extends ImportTerminologyResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates or updates a custom terminology, depending on whether or not one already exists
|
|
11
|
-
* for the given terminology name. Importing a terminology with the same name as an existing one
|
|
12
|
-
* will merge the terminologies based on the chosen merge strategy. Currently, the only supported
|
|
13
|
-
* merge strategy is OVERWRITE, and so the imported terminology will overwrite an existing
|
|
14
|
-
* terminology of the same name.</p>
|
|
15
|
-
* <p>If you import a terminology that overwrites an existing one, the new terminology take up
|
|
16
|
-
* to 10 minutes to fully propagate and be available for use in a translation due to cache
|
|
17
|
-
* policies with the DataPlane service that performs the translations.</p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { TranslateClient, ImportTerminologyCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
22
|
-
* // const { TranslateClient, ImportTerminologyCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
23
|
-
* const client = new TranslateClient(config);
|
|
24
|
-
* const command = new ImportTerminologyCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link ImportTerminologyCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link ImportTerminologyCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link TranslateClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
9
|
+
|
|
33
10
|
export declare class ImportTerminologyCommand extends $Command<ImportTerminologyCommandInput, ImportTerminologyCommandOutput, TranslateClientResolvedConfig> {
|
|
34
11
|
readonly input: ImportTerminologyCommandInput;
|
|
35
12
|
constructor(input: ImportTerminologyCommandInput);
|
|
36
|
-
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
13
|
+
|
|
39
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportTerminologyCommandInput, ImportTerminologyCommandOutput>;
|
|
40
15
|
private serialize;
|
|
41
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface ListParallelDataCommandInput extends ListParallelDataRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface ListParallelDataCommandOutput extends ListParallelDataResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Provides a list of your parallel data resources in Amazon Translate.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { TranslateClient, ListParallelDataCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
15
|
-
* // const { TranslateClient, ListParallelDataCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
16
|
-
* const client = new TranslateClient(config);
|
|
17
|
-
* const command = new ListParallelDataCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ListParallelDataCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ListParallelDataCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link TranslateClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class ListParallelDataCommand extends $Command<ListParallelDataCommandInput, ListParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
27
11
|
readonly input: ListParallelDataCommandInput;
|
|
28
12
|
constructor(input: ListParallelDataCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListParallelDataCommandInput, ListParallelDataCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface ListTerminologiesCommandInput extends ListTerminologiesRequest
|
|
|
6
6
|
}
|
|
7
7
|
export interface ListTerminologiesCommandOutput extends ListTerminologiesResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Provides a list of custom terminologies associated with your account.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { TranslateClient, ListTerminologiesCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
15
|
-
* // const { TranslateClient, ListTerminologiesCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
16
|
-
* const client = new TranslateClient(config);
|
|
17
|
-
* const command = new ListTerminologiesCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ListTerminologiesCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ListTerminologiesCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link TranslateClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class ListTerminologiesCommand extends $Command<ListTerminologiesCommandInput, ListTerminologiesCommandOutput, TranslateClientResolvedConfig> {
|
|
27
11
|
readonly input: ListTerminologiesCommandInput;
|
|
28
12
|
constructor(input: ListTerminologiesCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTerminologiesCommandInput, ListTerminologiesCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface ListTextTranslationJobsCommandInput extends ListTextTranslation
|
|
|
6
6
|
}
|
|
7
7
|
export interface ListTextTranslationJobsCommandOutput extends ListTextTranslationJobsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Gets a list of the batch translation jobs that you have submitted.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { TranslateClient, ListTextTranslationJobsCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
15
|
-
* // const { TranslateClient, ListTextTranslationJobsCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
16
|
-
* const client = new TranslateClient(config);
|
|
17
|
-
* const command = new ListTextTranslationJobsCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ListTextTranslationJobsCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ListTextTranslationJobsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link TranslateClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class ListTextTranslationJobsCommand extends $Command<ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput, TranslateClientResolvedConfig> {
|
|
27
11
|
readonly input: ListTextTranslationJobsCommandInput;
|
|
28
12
|
constructor(input: ListTextTranslationJobsCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,36 +6,11 @@ export interface StartTextTranslationJobCommandInput extends StartTextTranslatio
|
|
|
6
6
|
}
|
|
7
7
|
export interface StartTextTranslationJobCommandOutput extends StartTextTranslationJobResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Starts an asynchronous batch translation job. Batch translation jobs can be used to
|
|
11
|
-
* translate large volumes of text across multiple documents at once. For more information, see
|
|
12
|
-
* <a>async</a>.</p>
|
|
13
|
-
*
|
|
14
|
-
* <p>Batch translation jobs can be described with the <a>DescribeTextTranslationJob</a> operation, listed with the <a>ListTextTranslationJobs</a> operation, and stopped with the <a>StopTextTranslationJob</a> operation.</p>
|
|
15
|
-
* <note>
|
|
16
|
-
* <p>Amazon Translate does not support batch translation of multiple source languages at once.</p>
|
|
17
|
-
* </note>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { TranslateClient, StartTextTranslationJobCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
22
|
-
* // const { TranslateClient, StartTextTranslationJobCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
23
|
-
* const client = new TranslateClient(config);
|
|
24
|
-
* const command = new StartTextTranslationJobCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link StartTextTranslationJobCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link StartTextTranslationJobCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link TranslateClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
9
|
+
|
|
33
10
|
export declare class StartTextTranslationJobCommand extends $Command<StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput, TranslateClientResolvedConfig> {
|
|
34
11
|
readonly input: StartTextTranslationJobCommandInput;
|
|
35
12
|
constructor(input: StartTextTranslationJobCommandInput);
|
|
36
|
-
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
13
|
+
|
|
39
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput>;
|
|
40
15
|
private serialize;
|
|
41
16
|
private deserialize;
|
|
@@ -6,35 +6,11 @@ export interface StopTextTranslationJobCommandInput extends StopTextTranslationJ
|
|
|
6
6
|
}
|
|
7
7
|
export interface StopTextTranslationJobCommandOutput extends StopTextTranslationJobResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Stops an asynchronous batch translation job that is in progress.</p>
|
|
11
|
-
* <p>If the job's state is <code>IN_PROGRESS</code>, the job will be marked for termination and
|
|
12
|
-
* put into the <code>STOP_REQUESTED</code> state. If the job completes before it can be stopped,
|
|
13
|
-
* it is put into the <code>COMPLETED</code> state. Otherwise, the job is put into the
|
|
14
|
-
* <code>STOPPED</code> state.</p>
|
|
15
|
-
* <p>Asynchronous batch translation jobs are started with the <a>StartTextTranslationJob</a> operation. You can use the <a>DescribeTextTranslationJob</a> or <a>ListTextTranslationJobs</a>
|
|
16
|
-
* operations to get a batch translation job's <code>JobId</code>.</p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { TranslateClient, StopTextTranslationJobCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
21
|
-
* // const { TranslateClient, StopTextTranslationJobCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
22
|
-
* const client = new TranslateClient(config);
|
|
23
|
-
* const command = new StopTextTranslationJobCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link StopTextTranslationJobCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link StopTextTranslationJobCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link TranslateClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
9
|
+
|
|
32
10
|
export declare class StopTextTranslationJobCommand extends $Command<StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput, TranslateClientResolvedConfig> {
|
|
33
11
|
readonly input: StopTextTranslationJobCommandInput;
|
|
34
12
|
constructor(input: StopTextTranslationJobCommandInput);
|
|
35
|
-
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
13
|
+
|
|
38
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput>;
|
|
39
15
|
private serialize;
|
|
40
16
|
private deserialize;
|
|
@@ -6,30 +6,11 @@ export interface TranslateTextCommandInput extends TranslateTextRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface TranslateTextCommandOutput extends TranslateTextResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Translates input text from the source language to the target language. For a list of
|
|
11
|
-
* available languages and language codes, see <a>what-is-languages</a>.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { TranslateClient, TranslateTextCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
16
|
-
* // const { TranslateClient, TranslateTextCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
17
|
-
* const client = new TranslateClient(config);
|
|
18
|
-
* const command = new TranslateTextCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link TranslateTextCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link TranslateTextCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link TranslateClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
9
|
+
|
|
27
10
|
export declare class TranslateTextCommand extends $Command<TranslateTextCommandInput, TranslateTextCommandOutput, TranslateClientResolvedConfig> {
|
|
28
11
|
readonly input: TranslateTextCommandInput;
|
|
29
12
|
constructor(input: TranslateTextCommandInput);
|
|
30
|
-
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
13
|
+
|
|
33
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TranslateTextCommandInput, TranslateTextCommandOutput>;
|
|
34
15
|
private serialize;
|
|
35
16
|
private deserialize;
|
|
@@ -6,30 +6,11 @@ export interface UpdateParallelDataCommandInput extends UpdateParallelDataReques
|
|
|
6
6
|
}
|
|
7
7
|
export interface UpdateParallelDataCommandOutput extends UpdateParallelDataResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Updates a previously created parallel data resource by importing a new input file from
|
|
11
|
-
* Amazon S3.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { TranslateClient, UpdateParallelDataCommand } from "@aws-sdk/client-translate"; // ES Modules import
|
|
16
|
-
* // const { TranslateClient, UpdateParallelDataCommand } = require("@aws-sdk/client-translate"); // CommonJS import
|
|
17
|
-
* const client = new TranslateClient(config);
|
|
18
|
-
* const command = new UpdateParallelDataCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link UpdateParallelDataCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link UpdateParallelDataCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link TranslateClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
9
|
+
|
|
27
10
|
export declare class UpdateParallelDataCommand extends $Command<UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
28
11
|
readonly input: UpdateParallelDataCommandInput;
|
|
29
12
|
constructor(input: UpdateParallelDataCommandInput);
|
|
30
|
-
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
13
|
+
|
|
33
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput>;
|
|
34
15
|
private serialize;
|
|
35
16
|
private deserialize;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from "./CreateParallelDataCommand";
|
|
2
|
+
export * from "./DeleteParallelDataCommand";
|
|
3
|
+
export * from "./DeleteTerminologyCommand";
|
|
4
|
+
export * from "./DescribeTextTranslationJobCommand";
|
|
5
|
+
export * from "./GetParallelDataCommand";
|
|
6
|
+
export * from "./GetTerminologyCommand";
|
|
7
|
+
export * from "./ImportTerminologyCommand";
|
|
8
|
+
export * from "./ListParallelDataCommand";
|
|
9
|
+
export * from "./ListTerminologiesCommand";
|
|
10
|
+
export * from "./ListTextTranslationJobsCommand";
|
|
11
|
+
export * from "./StartTextTranslationJobCommand";
|
|
12
|
+
export * from "./StopTextTranslationJobCommand";
|
|
13
|
+
export * from "./TranslateTextCommand";
|
|
14
|
+
export * from "./UpdateParallelDataCommand";
|
|
@@ -1,21 +1,5 @@
|
|
|
1
|
-
export * from "./TranslateClient";
|
|
2
1
|
export * from "./Translate";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./commands/GetParallelDataCommand";
|
|
8
|
-
export * from "./commands/GetTerminologyCommand";
|
|
9
|
-
export * from "./commands/ImportTerminologyCommand";
|
|
10
|
-
export * from "./commands/ListParallelDataCommand";
|
|
11
|
-
export * from "./pagination/ListParallelDataPaginator";
|
|
12
|
-
export * from "./commands/ListTerminologiesCommand";
|
|
13
|
-
export * from "./pagination/ListTerminologiesPaginator";
|
|
14
|
-
export * from "./commands/ListTextTranslationJobsCommand";
|
|
15
|
-
export * from "./pagination/ListTextTranslationJobsPaginator";
|
|
16
|
-
export * from "./commands/StartTextTranslationJobCommand";
|
|
17
|
-
export * from "./commands/StopTextTranslationJobCommand";
|
|
18
|
-
export * from "./commands/TranslateTextCommand";
|
|
19
|
-
export * from "./commands/UpdateParallelDataCommand";
|
|
20
|
-
export * from "./pagination/Interfaces";
|
|
21
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./TranslateClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|