@aws-sdk/client-translate 3.169.0 → 3.171.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 +259 -80
  3. package/dist-types/ts3.4/TranslateClient.d.ts +194 -88
  4. package/dist-types/ts3.4/commands/CreateParallelDataCommand.d.ts +36 -17
  5. package/dist-types/ts3.4/commands/DeleteParallelDataCommand.d.ts +36 -17
  6. package/dist-types/ts3.4/commands/DeleteTerminologyCommand.d.ts +31 -17
  7. package/dist-types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +39 -17
  8. package/dist-types/ts3.4/commands/GetParallelDataCommand.d.ts +35 -17
  9. package/dist-types/ts3.4/commands/GetTerminologyCommand.d.ts +35 -17
  10. package/dist-types/ts3.4/commands/ImportTerminologyCommand.d.ts +36 -17
  11. package/dist-types/ts3.4/commands/ListLanguagesCommand.d.ts +35 -17
  12. package/dist-types/ts3.4/commands/ListParallelDataCommand.d.ts +35 -17
  13. package/dist-types/ts3.4/commands/ListTerminologiesCommand.d.ts +36 -17
  14. package/dist-types/ts3.4/commands/ListTextTranslationJobsCommand.d.ts +39 -17
  15. package/dist-types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +39 -17
  16. package/dist-types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +39 -17
  17. package/dist-types/ts3.4/commands/TranslateTextCommand.d.ts +35 -17
  18. package/dist-types/ts3.4/commands/UpdateParallelDataCommand.d.ts +36 -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 +7 -6
  23. package/dist-types/ts3.4/models/index.d.ts +1 -1
  24. package/dist-types/ts3.4/models/models_0.d.ts +560 -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 +65 -38
  33. package/dist-types/ts3.4/runtimeConfig.d.ts +65 -38
  34. package/dist-types/ts3.4/runtimeConfig.native.d.ts +66 -37
  35. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -11
  36. package/package.json +34 -34
@@ -1,17 +1,39 @@
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
+ export declare class StartTextTranslationJobCommand extends $Command<
23
+ StartTextTranslationJobCommandInput,
24
+ StartTextTranslationJobCommandOutput,
25
+ TranslateClientResolvedConfig
26
+ > {
27
+ readonly input: StartTextTranslationJobCommandInput;
28
+ constructor(input: StartTextTranslationJobCommandInput);
29
+ resolveMiddleware(
30
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
+ configuration: TranslateClientResolvedConfig,
32
+ options?: __HttpHandlerOptions
33
+ ): Handler<
34
+ StartTextTranslationJobCommandInput,
35
+ StartTextTranslationJobCommandOutput
36
+ >;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -1,17 +1,39 @@
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
+ export declare class StopTextTranslationJobCommand extends $Command<
23
+ StopTextTranslationJobCommandInput,
24
+ StopTextTranslationJobCommandOutput,
25
+ TranslateClientResolvedConfig
26
+ > {
27
+ readonly input: StopTextTranslationJobCommandInput;
28
+ constructor(input: StopTextTranslationJobCommandInput);
29
+ resolveMiddleware(
30
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
+ configuration: TranslateClientResolvedConfig,
32
+ options?: __HttpHandlerOptions
33
+ ): Handler<
34
+ StopTextTranslationJobCommandInput,
35
+ StopTextTranslationJobCommandOutput
36
+ >;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -1,17 +1,35 @@
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
+ export declare class TranslateTextCommand extends $Command<
22
+ TranslateTextCommandInput,
23
+ TranslateTextCommandOutput,
24
+ TranslateClientResolvedConfig
25
+ > {
26
+ readonly input: TranslateTextCommandInput;
27
+ constructor(input: TranslateTextCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: TranslateClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<TranslateTextCommandInput, TranslateTextCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,17 +1,36 @@
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
+ export declare class UpdateParallelDataCommand extends $Command<
23
+ UpdateParallelDataCommandInput,
24
+ UpdateParallelDataCommandOutput,
25
+ TranslateClientResolvedConfig
26
+ > {
27
+ readonly input: UpdateParallelDataCommandInput;
28
+ constructor(input: UpdateParallelDataCommandInput);
29
+ resolveMiddleware(
30
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
+ configuration: TranslateClientResolvedConfig,
32
+ options?: __HttpHandlerOptions
33
+ ): Handler<UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -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,7 @@
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
+ export declare class TranslateServiceException extends __ServiceException {
6
+ constructor(options: __ServiceExceptionOptions);
7
+ }
@@ -1 +1 @@
1
- export * from "./models_0";
1
+ export * from "./models_0";