@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
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ListParallelDataRequest, ListParallelDataResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListParallelDataCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListParallelDataCommandInput extends ListParallelDataRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListParallelDataCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListParallelDataCommandOutput extends ListParallelDataResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Provides a list of your parallel data resources 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 ListParallelDataCommandOutput extends ListParallelDataResponse,
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param ListParallelDataCommandInput - {@link ListParallelDataCommandInput}
|
|
34
|
+
* @returns {@link ListParallelDataCommandOutput}
|
|
28
35
|
* @see {@link ListParallelDataCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link ListParallelDataCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
@@ -45,11 +52,20 @@ export interface ListParallelDataCommandOutput extends ListParallelDataResponse,
|
|
|
45
52
|
export declare class ListParallelDataCommand extends $Command<ListParallelDataCommandInput, ListParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
46
53
|
readonly input: ListParallelDataCommandInput;
|
|
47
54
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
48
58
|
constructor(input: ListParallelDataCommandInput);
|
|
49
59
|
/**
|
|
50
60
|
* @internal
|
|
51
61
|
*/
|
|
52
62
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListParallelDataCommandInput, ListParallelDataCommandOutput>;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
53
66
|
private serialize;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
54
70
|
private deserialize;
|
|
55
71
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListTagsForResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListTagsForResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Lists all tags associated with a given Amazon Translate resource.
|
|
18
23
|
* For more information, see <a href="https://docs.aws.amazon.com/translate/latest/dg/tagging.html">
|
|
19
24
|
* Tagging your resources</a>.</p>
|
|
@@ -27,6 +32,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
36
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
30
37
|
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
@@ -48,11 +55,20 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
48
55
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, TranslateClientResolvedConfig> {
|
|
49
56
|
readonly input: ListTagsForResourceCommandInput;
|
|
50
57
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
51
61
|
constructor(input: ListTagsForResourceCommandInput);
|
|
52
62
|
/**
|
|
53
63
|
* @internal
|
|
54
64
|
*/
|
|
55
65
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
56
69
|
private serialize;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
57
73
|
private deserialize;
|
|
58
74
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ListTerminologiesRequest, ListTerminologiesResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListTerminologiesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListTerminologiesCommandInput extends ListTerminologiesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListTerminologiesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListTerminologiesCommandOutput extends ListTerminologiesResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Provides a list of custom terminologies associated with your account.</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 ListTerminologiesCommandOutput extends ListTerminologiesRespons
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param ListTerminologiesCommandInput - {@link ListTerminologiesCommandInput}
|
|
34
|
+
* @returns {@link ListTerminologiesCommandOutput}
|
|
28
35
|
* @see {@link ListTerminologiesCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link ListTerminologiesCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
@@ -45,11 +52,20 @@ export interface ListTerminologiesCommandOutput extends ListTerminologiesRespons
|
|
|
45
52
|
export declare class ListTerminologiesCommand extends $Command<ListTerminologiesCommandInput, ListTerminologiesCommandOutput, TranslateClientResolvedConfig> {
|
|
46
53
|
readonly input: ListTerminologiesCommandInput;
|
|
47
54
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
48
58
|
constructor(input: ListTerminologiesCommandInput);
|
|
49
59
|
/**
|
|
50
60
|
* @internal
|
|
51
61
|
*/
|
|
52
62
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTerminologiesCommandInput, ListTerminologiesCommandOutput>;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
53
66
|
private serialize;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
54
70
|
private deserialize;
|
|
55
71
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ListTextTranslationJobsRequest, ListTextTranslationJobsResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListTextTranslationJobsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListTextTranslationJobsCommandInput extends ListTextTranslationJobsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListTextTranslationJobsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListTextTranslationJobsCommandOutput extends ListTextTranslationJobsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Gets a list of the batch translation jobs that you have submitted.</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 ListTextTranslationJobsCommandOutput extends ListTextTranslatio
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param ListTextTranslationJobsCommandInput - {@link ListTextTranslationJobsCommandInput}
|
|
34
|
+
* @returns {@link ListTextTranslationJobsCommandOutput}
|
|
28
35
|
* @see {@link ListTextTranslationJobsCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link ListTextTranslationJobsCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
@@ -48,11 +55,20 @@ export interface ListTextTranslationJobsCommandOutput extends ListTextTranslatio
|
|
|
48
55
|
export declare class ListTextTranslationJobsCommand extends $Command<ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput, TranslateClientResolvedConfig> {
|
|
49
56
|
readonly input: ListTextTranslationJobsCommandInput;
|
|
50
57
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
51
61
|
constructor(input: ListTextTranslationJobsCommandInput);
|
|
52
62
|
/**
|
|
53
63
|
* @internal
|
|
54
64
|
*/
|
|
55
65
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput>;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
56
69
|
private serialize;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
57
73
|
private deserialize;
|
|
58
74
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { StartTextTranslationJobRequest, StartTextTranslationJobResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link StartTextTranslationJobCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface StartTextTranslationJobCommandInput extends StartTextTranslationJobRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link StartTextTranslationJobCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface StartTextTranslationJobCommandOutput extends StartTextTranslationJobResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Starts an asynchronous batch translation job. Use batch translation jobs to
|
|
18
23
|
* translate large volumes of text across multiple documents at once.
|
|
19
24
|
* For batch translation, you can input documents with different source languages (specify <code>auto</code>
|
|
@@ -33,6 +38,8 @@ export interface StartTextTranslationJobCommandOutput extends StartTextTranslati
|
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
35
40
|
*
|
|
41
|
+
* @param StartTextTranslationJobCommandInput - {@link StartTextTranslationJobCommandInput}
|
|
42
|
+
* @returns {@link StartTextTranslationJobCommandOutput}
|
|
36
43
|
* @see {@link StartTextTranslationJobCommandInput} for command's `input` shape.
|
|
37
44
|
* @see {@link StartTextTranslationJobCommandOutput} for command's `response` shape.
|
|
38
45
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
@@ -66,11 +73,20 @@ export interface StartTextTranslationJobCommandOutput extends StartTextTranslati
|
|
|
66
73
|
export declare class StartTextTranslationJobCommand extends $Command<StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput, TranslateClientResolvedConfig> {
|
|
67
74
|
readonly input: StartTextTranslationJobCommandInput;
|
|
68
75
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
69
79
|
constructor(input: StartTextTranslationJobCommandInput);
|
|
70
80
|
/**
|
|
71
81
|
* @internal
|
|
72
82
|
*/
|
|
73
83
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput>;
|
|
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 { StopTextTranslationJobRequest, StopTextTranslationJobResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link StopTextTranslationJobCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface StopTextTranslationJobCommandInput extends StopTextTranslationJobRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link StopTextTranslationJobCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface StopTextTranslationJobCommandOutput extends StopTextTranslationJobResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Stops an asynchronous batch translation job that is in progress.</p>
|
|
18
23
|
* <p>If the job's state is <code>IN_PROGRESS</code>, the job will be marked for termination and
|
|
19
24
|
* put into the <code>STOP_REQUESTED</code> state. If the job completes before it can be stopped,
|
|
@@ -31,6 +36,8 @@ export interface StopTextTranslationJobCommandOutput extends StopTextTranslation
|
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
33
38
|
*
|
|
39
|
+
* @param StopTextTranslationJobCommandInput - {@link StopTextTranslationJobCommandInput}
|
|
40
|
+
* @returns {@link StopTextTranslationJobCommandOutput}
|
|
34
41
|
* @see {@link StopTextTranslationJobCommandInput} for command's `input` shape.
|
|
35
42
|
* @see {@link StopTextTranslationJobCommandOutput} for command's `response` shape.
|
|
36
43
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
@@ -52,11 +59,20 @@ export interface StopTextTranslationJobCommandOutput extends StopTextTranslation
|
|
|
52
59
|
export declare class StopTextTranslationJobCommand extends $Command<StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput, TranslateClientResolvedConfig> {
|
|
53
60
|
readonly input: StopTextTranslationJobCommandInput;
|
|
54
61
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
55
65
|
constructor(input: StopTextTranslationJobCommandInput);
|
|
56
66
|
/**
|
|
57
67
|
* @internal
|
|
58
68
|
*/
|
|
59
69
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput>;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
60
73
|
private serialize;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
61
77
|
private deserialize;
|
|
62
78
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link TagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link TagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Associates a specific tag with a resource. A tag is a key-value pair
|
|
18
23
|
* that adds as a metadata to a resource.
|
|
19
24
|
* For more information, see <a href="https://docs.aws.amazon.com/translate/latest/dg/tagging.html">
|
|
@@ -28,6 +33,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
37
|
+
* @returns {@link TagResourceCommandOutput}
|
|
31
38
|
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
@@ -56,11 +63,20 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
56
63
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, TranslateClientResolvedConfig> {
|
|
57
64
|
readonly input: TagResourceCommandInput;
|
|
58
65
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
59
69
|
constructor(input: TagResourceCommandInput);
|
|
60
70
|
/**
|
|
61
71
|
* @internal
|
|
62
72
|
*/
|
|
63
73
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
64
77
|
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
65
81
|
private deserialize;
|
|
66
82
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { TranslateTextRequest, TranslateTextResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link TranslateTextCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface TranslateTextCommandInput extends TranslateTextRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link TranslateTextCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface TranslateTextCommandOutput extends TranslateTextResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Translates input text from the source language to the target language. For a list of
|
|
18
23
|
* available languages and language codes, see <a href="https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html">Supported languages</a>.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface TranslateTextCommandOutput extends TranslateTextResponse, __Met
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param TranslateTextCommandInput - {@link TranslateTextCommandInput}
|
|
35
|
+
* @returns {@link TranslateTextCommandOutput}
|
|
29
36
|
* @see {@link TranslateTextCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link TranslateTextCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
@@ -69,11 +76,20 @@ export interface TranslateTextCommandOutput extends TranslateTextResponse, __Met
|
|
|
69
76
|
export declare class TranslateTextCommand extends $Command<TranslateTextCommandInput, TranslateTextCommandOutput, TranslateClientResolvedConfig> {
|
|
70
77
|
readonly input: TranslateTextCommandInput;
|
|
71
78
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
72
82
|
constructor(input: TranslateTextCommandInput);
|
|
73
83
|
/**
|
|
74
84
|
* @internal
|
|
75
85
|
*/
|
|
76
86
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TranslateTextCommandInput, TranslateTextCommandOutput>;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
77
90
|
private serialize;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
78
94
|
private deserialize;
|
|
79
95
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UntagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UntagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Removes a specific tag associated with an Amazon Translate resource.
|
|
18
23
|
* For more information, see <a href="https://docs.aws.amazon.com/translate/latest/dg/tagging.html">
|
|
19
24
|
* Tagging your resources</a>.</p>
|
|
@@ -27,6 +32,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
36
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
30
37
|
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
@@ -52,11 +59,20 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
52
59
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, TranslateClientResolvedConfig> {
|
|
53
60
|
readonly input: UntagResourceCommandInput;
|
|
54
61
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
55
65
|
constructor(input: UntagResourceCommandInput);
|
|
56
66
|
/**
|
|
57
67
|
* @internal
|
|
58
68
|
*/
|
|
59
69
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
60
73
|
private serialize;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
61
77
|
private deserialize;
|
|
62
78
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UpdateParallelDataRequest, UpdateParallelDataResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateParallelDataCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateParallelDataCommandInput extends UpdateParallelDataRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateParallelDataCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateParallelDataCommandOutput extends UpdateParallelDataResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates a previously created parallel data resource by importing a new input file from
|
|
18
23
|
* Amazon S3.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface UpdateParallelDataCommandOutput extends UpdateParallelDataRespo
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param UpdateParallelDataCommandInput - {@link UpdateParallelDataCommandInput}
|
|
35
|
+
* @returns {@link UpdateParallelDataCommandOutput}
|
|
29
36
|
* @see {@link UpdateParallelDataCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link UpdateParallelDataCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
|
|
@@ -66,11 +73,20 @@ export interface UpdateParallelDataCommandOutput extends UpdateParallelDataRespo
|
|
|
66
73
|
export declare class UpdateParallelDataCommand extends $Command<UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput, TranslateClientResolvedConfig> {
|
|
67
74
|
readonly input: UpdateParallelDataCommandInput;
|
|
68
75
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
69
79
|
constructor(input: UpdateParallelDataCommandInput);
|
|
70
80
|
/**
|
|
71
81
|
* @internal
|
|
72
82
|
*/
|
|
73
83
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
74
87
|
private serialize;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
75
91
|
private deserialize;
|
|
76
92
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from Translate service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class TranslateServiceException extends __ServiceException {
|