@aws-sdk/client-translate 3.168.0 → 3.170.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.
Files changed (36) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/Translate.d.ts +274 -80
  3. package/dist-types/ts3.4/TranslateClient.d.ts +219 -88
  4. package/dist-types/ts3.4/commands/CreateParallelDataCommand.d.ts +38 -17
  5. package/dist-types/ts3.4/commands/DeleteParallelDataCommand.d.ts +38 -17
  6. package/dist-types/ts3.4/commands/DeleteTerminologyCommand.d.ts +33 -17
  7. package/dist-types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +41 -17
  8. package/dist-types/ts3.4/commands/GetParallelDataCommand.d.ts +37 -17
  9. package/dist-types/ts3.4/commands/GetTerminologyCommand.d.ts +37 -17
  10. package/dist-types/ts3.4/commands/ImportTerminologyCommand.d.ts +38 -17
  11. package/dist-types/ts3.4/commands/ListLanguagesCommand.d.ts +37 -17
  12. package/dist-types/ts3.4/commands/ListParallelDataCommand.d.ts +37 -17
  13. package/dist-types/ts3.4/commands/ListTerminologiesCommand.d.ts +38 -17
  14. package/dist-types/ts3.4/commands/ListTextTranslationJobsCommand.d.ts +41 -17
  15. package/dist-types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +41 -17
  16. package/dist-types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +41 -17
  17. package/dist-types/ts3.4/commands/TranslateTextCommand.d.ts +37 -17
  18. package/dist-types/ts3.4/commands/UpdateParallelDataCommand.d.ts +38 -17
  19. package/dist-types/ts3.4/commands/index.d.ts +15 -15
  20. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  21. package/dist-types/ts3.4/index.d.ts +6 -6
  22. package/dist-types/ts3.4/models/TranslateServiceException.d.ts +8 -6
  23. package/dist-types/ts3.4/models/index.d.ts +1 -1
  24. package/dist-types/ts3.4/models/models_0.d.ts +766 -689
  25. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  26. package/dist-types/ts3.4/pagination/ListLanguagesPaginator.d.ts +11 -4
  27. package/dist-types/ts3.4/pagination/ListParallelDataPaginator.d.ts +11 -4
  28. package/dist-types/ts3.4/pagination/ListTerminologiesPaginator.d.ts +11 -4
  29. package/dist-types/ts3.4/pagination/ListTextTranslationJobsPaginator.d.ts +11 -4
  30. package/dist-types/ts3.4/pagination/index.d.ts +5 -5
  31. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +185 -47
  32. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  33. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  34. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  35. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  36. package/package.json +34 -34
@@ -1,17 +1,38 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ImportTerminologyRequest, ImportTerminologyResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
5
- export interface ImportTerminologyCommandInput extends ImportTerminologyRequest {
6
- }
7
- export interface ImportTerminologyCommandOutput extends ImportTerminologyResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class ImportTerminologyCommand extends $Command<ImportTerminologyCommandInput, ImportTerminologyCommandOutput, TranslateClientResolvedConfig> {
11
- readonly input: ImportTerminologyCommandInput;
12
- constructor(input: ImportTerminologyCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportTerminologyCommandInput, ImportTerminologyCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ ImportTerminologyRequest,
10
+ ImportTerminologyResponse,
11
+ } from "../models/models_0";
12
+ import {
13
+ ServiceInputTypes,
14
+ ServiceOutputTypes,
15
+ TranslateClientResolvedConfig,
16
+ } from "../TranslateClient";
17
+ export interface ImportTerminologyCommandInput
18
+ extends ImportTerminologyRequest {}
19
+ export interface ImportTerminologyCommandOutput
20
+ extends ImportTerminologyResponse,
21
+ __MetadataBearer {}
22
+
23
+ export declare class ImportTerminologyCommand extends $Command<
24
+ ImportTerminologyCommandInput,
25
+ ImportTerminologyCommandOutput,
26
+ TranslateClientResolvedConfig
27
+ > {
28
+ readonly input: ImportTerminologyCommandInput;
29
+ constructor(input: ImportTerminologyCommandInput);
30
+
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: TranslateClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<ImportTerminologyCommandInput, ImportTerminologyCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -1,17 +1,37 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ListLanguagesRequest, ListLanguagesResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
5
- export interface ListLanguagesCommandInput extends ListLanguagesRequest {
6
- }
7
- export interface ListLanguagesCommandOutput extends ListLanguagesResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class ListLanguagesCommand extends $Command<ListLanguagesCommandInput, ListLanguagesCommandOutput, TranslateClientResolvedConfig> {
11
- readonly input: ListLanguagesCommandInput;
12
- constructor(input: ListLanguagesCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListLanguagesCommandInput, ListLanguagesCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ ListLanguagesRequest,
10
+ ListLanguagesResponse,
11
+ } from "../models/models_0";
12
+ import {
13
+ ServiceInputTypes,
14
+ ServiceOutputTypes,
15
+ TranslateClientResolvedConfig,
16
+ } from "../TranslateClient";
17
+ export interface ListLanguagesCommandInput extends ListLanguagesRequest {}
18
+ export interface ListLanguagesCommandOutput
19
+ extends ListLanguagesResponse,
20
+ __MetadataBearer {}
21
+
22
+ export declare class ListLanguagesCommand extends $Command<
23
+ ListLanguagesCommandInput,
24
+ ListLanguagesCommandOutput,
25
+ TranslateClientResolvedConfig
26
+ > {
27
+ readonly input: ListLanguagesCommandInput;
28
+ constructor(input: ListLanguagesCommandInput);
29
+
30
+ resolveMiddleware(
31
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
+ configuration: TranslateClientResolvedConfig,
33
+ options?: __HttpHandlerOptions
34
+ ): Handler<ListLanguagesCommandInput, ListLanguagesCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -1,17 +1,37 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ListParallelDataRequest, ListParallelDataResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
5
- export interface ListParallelDataCommandInput extends ListParallelDataRequest {
6
- }
7
- export interface ListParallelDataCommandOutput extends ListParallelDataResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class ListParallelDataCommand extends $Command<ListParallelDataCommandInput, ListParallelDataCommandOutput, TranslateClientResolvedConfig> {
11
- readonly input: ListParallelDataCommandInput;
12
- constructor(input: ListParallelDataCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListParallelDataCommandInput, ListParallelDataCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ ListParallelDataRequest,
10
+ ListParallelDataResponse,
11
+ } from "../models/models_0";
12
+ import {
13
+ ServiceInputTypes,
14
+ ServiceOutputTypes,
15
+ TranslateClientResolvedConfig,
16
+ } from "../TranslateClient";
17
+ export interface ListParallelDataCommandInput extends ListParallelDataRequest {}
18
+ export interface ListParallelDataCommandOutput
19
+ extends ListParallelDataResponse,
20
+ __MetadataBearer {}
21
+
22
+ export declare class ListParallelDataCommand extends $Command<
23
+ ListParallelDataCommandInput,
24
+ ListParallelDataCommandOutput,
25
+ TranslateClientResolvedConfig
26
+ > {
27
+ readonly input: ListParallelDataCommandInput;
28
+ constructor(input: ListParallelDataCommandInput);
29
+
30
+ resolveMiddleware(
31
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
+ configuration: TranslateClientResolvedConfig,
33
+ options?: __HttpHandlerOptions
34
+ ): Handler<ListParallelDataCommandInput, ListParallelDataCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -1,17 +1,38 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ListTerminologiesRequest, ListTerminologiesResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
5
- export interface ListTerminologiesCommandInput extends ListTerminologiesRequest {
6
- }
7
- export interface ListTerminologiesCommandOutput extends ListTerminologiesResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class ListTerminologiesCommand extends $Command<ListTerminologiesCommandInput, ListTerminologiesCommandOutput, TranslateClientResolvedConfig> {
11
- readonly input: ListTerminologiesCommandInput;
12
- constructor(input: ListTerminologiesCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTerminologiesCommandInput, ListTerminologiesCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ ListTerminologiesRequest,
10
+ ListTerminologiesResponse,
11
+ } from "../models/models_0";
12
+ import {
13
+ ServiceInputTypes,
14
+ ServiceOutputTypes,
15
+ TranslateClientResolvedConfig,
16
+ } from "../TranslateClient";
17
+ export interface ListTerminologiesCommandInput
18
+ extends ListTerminologiesRequest {}
19
+ export interface ListTerminologiesCommandOutput
20
+ extends ListTerminologiesResponse,
21
+ __MetadataBearer {}
22
+
23
+ export declare class ListTerminologiesCommand extends $Command<
24
+ ListTerminologiesCommandInput,
25
+ ListTerminologiesCommandOutput,
26
+ TranslateClientResolvedConfig
27
+ > {
28
+ readonly input: ListTerminologiesCommandInput;
29
+ constructor(input: ListTerminologiesCommandInput);
30
+
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: TranslateClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<ListTerminologiesCommandInput, ListTerminologiesCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -1,17 +1,41 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ListTextTranslationJobsRequest, ListTextTranslationJobsResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
5
- export interface ListTextTranslationJobsCommandInput extends ListTextTranslationJobsRequest {
6
- }
7
- export interface ListTextTranslationJobsCommandOutput extends ListTextTranslationJobsResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class ListTextTranslationJobsCommand extends $Command<ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput, TranslateClientResolvedConfig> {
11
- readonly input: ListTextTranslationJobsCommandInput;
12
- constructor(input: ListTextTranslationJobsCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ ListTextTranslationJobsRequest,
10
+ ListTextTranslationJobsResponse,
11
+ } from "../models/models_0";
12
+ import {
13
+ ServiceInputTypes,
14
+ ServiceOutputTypes,
15
+ TranslateClientResolvedConfig,
16
+ } from "../TranslateClient";
17
+ export interface ListTextTranslationJobsCommandInput
18
+ extends ListTextTranslationJobsRequest {}
19
+ export interface ListTextTranslationJobsCommandOutput
20
+ extends ListTextTranslationJobsResponse,
21
+ __MetadataBearer {}
22
+
23
+ export declare class ListTextTranslationJobsCommand extends $Command<
24
+ ListTextTranslationJobsCommandInput,
25
+ ListTextTranslationJobsCommandOutput,
26
+ TranslateClientResolvedConfig
27
+ > {
28
+ readonly input: ListTextTranslationJobsCommandInput;
29
+ constructor(input: ListTextTranslationJobsCommandInput);
30
+
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: TranslateClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ ListTextTranslationJobsCommandInput,
37
+ ListTextTranslationJobsCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -1,17 +1,41 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { StartTextTranslationJobRequest, StartTextTranslationJobResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
5
- export interface StartTextTranslationJobCommandInput extends StartTextTranslationJobRequest {
6
- }
7
- export interface StartTextTranslationJobCommandOutput extends StartTextTranslationJobResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class StartTextTranslationJobCommand extends $Command<StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput, TranslateClientResolvedConfig> {
11
- readonly input: StartTextTranslationJobCommandInput;
12
- constructor(input: StartTextTranslationJobCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ StartTextTranslationJobRequest,
10
+ StartTextTranslationJobResponse,
11
+ } from "../models/models_0";
12
+ import {
13
+ ServiceInputTypes,
14
+ ServiceOutputTypes,
15
+ TranslateClientResolvedConfig,
16
+ } from "../TranslateClient";
17
+ export interface StartTextTranslationJobCommandInput
18
+ extends StartTextTranslationJobRequest {}
19
+ export interface StartTextTranslationJobCommandOutput
20
+ extends StartTextTranslationJobResponse,
21
+ __MetadataBearer {}
22
+
23
+ export declare class StartTextTranslationJobCommand extends $Command<
24
+ StartTextTranslationJobCommandInput,
25
+ StartTextTranslationJobCommandOutput,
26
+ TranslateClientResolvedConfig
27
+ > {
28
+ readonly input: StartTextTranslationJobCommandInput;
29
+ constructor(input: StartTextTranslationJobCommandInput);
30
+
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: TranslateClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ StartTextTranslationJobCommandInput,
37
+ StartTextTranslationJobCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -1,17 +1,41 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { StopTextTranslationJobRequest, StopTextTranslationJobResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
5
- export interface StopTextTranslationJobCommandInput extends StopTextTranslationJobRequest {
6
- }
7
- export interface StopTextTranslationJobCommandOutput extends StopTextTranslationJobResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class StopTextTranslationJobCommand extends $Command<StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput, TranslateClientResolvedConfig> {
11
- readonly input: StopTextTranslationJobCommandInput;
12
- constructor(input: StopTextTranslationJobCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ StopTextTranslationJobRequest,
10
+ StopTextTranslationJobResponse,
11
+ } from "../models/models_0";
12
+ import {
13
+ ServiceInputTypes,
14
+ ServiceOutputTypes,
15
+ TranslateClientResolvedConfig,
16
+ } from "../TranslateClient";
17
+ export interface StopTextTranslationJobCommandInput
18
+ extends StopTextTranslationJobRequest {}
19
+ export interface StopTextTranslationJobCommandOutput
20
+ extends StopTextTranslationJobResponse,
21
+ __MetadataBearer {}
22
+
23
+ export declare class StopTextTranslationJobCommand extends $Command<
24
+ StopTextTranslationJobCommandInput,
25
+ StopTextTranslationJobCommandOutput,
26
+ TranslateClientResolvedConfig
27
+ > {
28
+ readonly input: StopTextTranslationJobCommandInput;
29
+ constructor(input: StopTextTranslationJobCommandInput);
30
+
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: TranslateClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ StopTextTranslationJobCommandInput,
37
+ StopTextTranslationJobCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -1,17 +1,37 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { TranslateTextRequest, TranslateTextResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
5
- export interface TranslateTextCommandInput extends TranslateTextRequest {
6
- }
7
- export interface TranslateTextCommandOutput extends TranslateTextResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class TranslateTextCommand extends $Command<TranslateTextCommandInput, TranslateTextCommandOutput, TranslateClientResolvedConfig> {
11
- readonly input: TranslateTextCommandInput;
12
- constructor(input: TranslateTextCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TranslateTextCommandInput, TranslateTextCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ TranslateTextRequest,
10
+ TranslateTextResponse,
11
+ } from "../models/models_0";
12
+ import {
13
+ ServiceInputTypes,
14
+ ServiceOutputTypes,
15
+ TranslateClientResolvedConfig,
16
+ } from "../TranslateClient";
17
+ export interface TranslateTextCommandInput extends TranslateTextRequest {}
18
+ export interface TranslateTextCommandOutput
19
+ extends TranslateTextResponse,
20
+ __MetadataBearer {}
21
+
22
+ export declare class TranslateTextCommand extends $Command<
23
+ TranslateTextCommandInput,
24
+ TranslateTextCommandOutput,
25
+ TranslateClientResolvedConfig
26
+ > {
27
+ readonly input: TranslateTextCommandInput;
28
+ constructor(input: TranslateTextCommandInput);
29
+
30
+ resolveMiddleware(
31
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
+ configuration: TranslateClientResolvedConfig,
33
+ options?: __HttpHandlerOptions
34
+ ): Handler<TranslateTextCommandInput, TranslateTextCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -1,17 +1,38 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { UpdateParallelDataRequest, UpdateParallelDataResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
5
- export interface UpdateParallelDataCommandInput extends UpdateParallelDataRequest {
6
- }
7
- export interface UpdateParallelDataCommandOutput extends UpdateParallelDataResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class UpdateParallelDataCommand extends $Command<UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput, TranslateClientResolvedConfig> {
11
- readonly input: UpdateParallelDataCommandInput;
12
- constructor(input: UpdateParallelDataCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ UpdateParallelDataRequest,
10
+ UpdateParallelDataResponse,
11
+ } from "../models/models_0";
12
+ import {
13
+ ServiceInputTypes,
14
+ ServiceOutputTypes,
15
+ TranslateClientResolvedConfig,
16
+ } from "../TranslateClient";
17
+ export interface UpdateParallelDataCommandInput
18
+ extends UpdateParallelDataRequest {}
19
+ export interface UpdateParallelDataCommandOutput
20
+ extends UpdateParallelDataResponse,
21
+ __MetadataBearer {}
22
+
23
+ export declare class UpdateParallelDataCommand extends $Command<
24
+ UpdateParallelDataCommandInput,
25
+ UpdateParallelDataCommandOutput,
26
+ TranslateClientResolvedConfig
27
+ > {
28
+ readonly input: UpdateParallelDataCommandInput;
29
+ constructor(input: UpdateParallelDataCommandInput);
30
+
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: TranslateClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -1,15 +1,15 @@
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 "./ListLanguagesCommand";
9
- export * from "./ListParallelDataCommand";
10
- export * from "./ListTerminologiesCommand";
11
- export * from "./ListTextTranslationJobsCommand";
12
- export * from "./StartTextTranslationJobCommand";
13
- export * from "./StopTextTranslationJobCommand";
14
- export * from "./TranslateTextCommand";
15
- export * from "./UpdateParallelDataCommand";
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 "./ListLanguagesCommand";
9
+ export * from "./ListParallelDataCommand";
10
+ export * from "./ListTerminologiesCommand";
11
+ export * from "./ListTextTranslationJobsCommand";
12
+ export * from "./StartTextTranslationJobCommand";
13
+ export * from "./StopTextTranslationJobCommand";
14
+ export * from "./TranslateTextCommand";
15
+ export * from "./UpdateParallelDataCommand";
@@ -1,2 +1,2 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -1,6 +1,6 @@
1
- export * from "./Translate";
2
- export * from "./TranslateClient";
3
- export * from "./commands";
4
- export * from "./models";
5
- export * from "./pagination";
6
- export { TranslateServiceException } from "./models/TranslateServiceException";
1
+ export * from "./Translate";
2
+ export * from "./TranslateClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { TranslateServiceException } from "./models/TranslateServiceException";
@@ -1,6 +1,8 @@
1
- import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
-
3
- export declare class TranslateServiceException extends __ServiceException {
4
-
5
- constructor(options: __ServiceExceptionOptions);
6
- }
1
+ import {
2
+ ServiceException as __ServiceException,
3
+ ServiceExceptionOptions as __ServiceExceptionOptions,
4
+ } from "@aws-sdk/smithy-client";
5
+
6
+ export declare class TranslateServiceException extends __ServiceException {
7
+ constructor(options: __ServiceExceptionOptions);
8
+ }
@@ -1 +1 @@
1
- export * from "./models_0";
1
+ export * from "./models_0";