@aws-sdk/client-translate 3.1076.0 → 3.1078.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-cjs/index.js +30 -195
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateParallelDataCommand.js +2 -14
- package/dist-es/commands/DeleteParallelDataCommand.js +2 -14
- package/dist-es/commands/DeleteTerminologyCommand.js +2 -14
- package/dist-es/commands/DescribeTextTranslationJobCommand.js +2 -14
- package/dist-es/commands/GetParallelDataCommand.js +2 -14
- package/dist-es/commands/GetTerminologyCommand.js +2 -14
- package/dist-es/commands/ImportTerminologyCommand.js +2 -14
- package/dist-es/commands/ListLanguagesCommand.js +2 -14
- package/dist-es/commands/ListParallelDataCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/ListTerminologiesCommand.js +2 -14
- package/dist-es/commands/ListTextTranslationJobsCommand.js +2 -14
- package/dist-es/commands/StartTextTranslationJobCommand.js +2 -14
- package/dist-es/commands/StopTextTranslationJobCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/TranslateDocumentCommand.js +2 -14
- package/dist-es/commands/TranslateTextCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateParallelDataCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateParallelDataCommand.d.ts +3 -8
- package/dist-types/commands/DeleteParallelDataCommand.d.ts +3 -8
- package/dist-types/commands/DeleteTerminologyCommand.d.ts +3 -8
- package/dist-types/commands/DescribeTextTranslationJobCommand.d.ts +3 -8
- package/dist-types/commands/GetParallelDataCommand.d.ts +3 -8
- package/dist-types/commands/GetTerminologyCommand.d.ts +3 -8
- package/dist-types/commands/ImportTerminologyCommand.d.ts +3 -8
- package/dist-types/commands/ListLanguagesCommand.d.ts +3 -8
- package/dist-types/commands/ListParallelDataCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/ListTerminologiesCommand.d.ts +3 -8
- package/dist-types/commands/ListTextTranslationJobsCommand.d.ts +3 -8
- package/dist-types/commands/StartTextTranslationJobCommand.d.ts +3 -8
- package/dist-types/commands/StopTextTranslationJobCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/TranslateDocumentCommand.d.ts +3 -8
- package/dist-types/commands/TranslateTextCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateParallelDataCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/CreateParallelDataCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteParallelDataCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteTerminologyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetParallelDataCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetTerminologyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ImportTerminologyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListLanguagesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListParallelDataCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTerminologiesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTextTranslationJobsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TranslateDocumentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TranslateTextCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateParallelDataCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
ListTagsForResourceRequest,
|
|
5
4
|
ListTagsForResourceResponse,
|
|
6
5
|
} from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
ServiceInputTypes,
|
|
9
|
-
ServiceOutputTypes,
|
|
10
|
-
TranslateClientResolvedConfig,
|
|
11
|
-
} from "../TranslateClient";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface ListTagsForResourceCommandInput
|
|
15
8
|
extends ListTagsForResourceRequest {}
|
|
16
9
|
export interface ListTagsForResourceCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
ListTagsForResourceCommandInput,
|
|
24
17
|
ListTagsForResourceCommandOutput,
|
|
25
|
-
TranslateClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").TranslateClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
input: ListTagsForResourceCommandInput
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
ListTagsForResourceCommandInput,
|
|
33
26
|
ListTagsForResourceCommandOutput,
|
|
34
|
-
TranslateClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").TranslateClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
ListTerminologiesRequest,
|
|
5
4
|
ListTerminologiesResponse,
|
|
6
5
|
} from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
ServiceInputTypes,
|
|
9
|
-
ServiceOutputTypes,
|
|
10
|
-
TranslateClientResolvedConfig,
|
|
11
|
-
} from "../TranslateClient";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface ListTerminologiesCommandInput
|
|
15
8
|
extends ListTerminologiesRequest {}
|
|
16
9
|
export interface ListTerminologiesCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const ListTerminologiesCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
ListTerminologiesCommandInput,
|
|
24
17
|
ListTerminologiesCommandOutput,
|
|
25
|
-
TranslateClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").TranslateClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
...[input]: [] | [ListTerminologiesCommandInput]
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
ListTerminologiesCommandInput,
|
|
33
26
|
ListTerminologiesCommandOutput,
|
|
34
|
-
TranslateClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").TranslateClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class ListTerminologiesCommand extends ListTerminologiesCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
ListTextTranslationJobsRequest,
|
|
5
4
|
ListTextTranslationJobsResponse,
|
|
6
5
|
} from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
ServiceInputTypes,
|
|
9
|
-
ServiceOutputTypes,
|
|
10
|
-
TranslateClientResolvedConfig,
|
|
11
|
-
} from "../TranslateClient";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface ListTextTranslationJobsCommandInput
|
|
15
8
|
extends ListTextTranslationJobsRequest {}
|
|
16
9
|
export interface ListTextTranslationJobsCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const ListTextTranslationJobsCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
ListTextTranslationJobsCommandInput,
|
|
24
17
|
ListTextTranslationJobsCommandOutput,
|
|
25
|
-
TranslateClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").TranslateClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
...[input]: [] | [ListTextTranslationJobsCommandInput]
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
ListTextTranslationJobsCommandInput,
|
|
33
26
|
ListTextTranslationJobsCommandOutput,
|
|
34
|
-
TranslateClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").TranslateClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class ListTextTranslationJobsCommand extends ListTextTranslationJobsCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
StartTextTranslationJobRequest,
|
|
5
4
|
StartTextTranslationJobResponse,
|
|
6
5
|
} from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
ServiceInputTypes,
|
|
9
|
-
ServiceOutputTypes,
|
|
10
|
-
TranslateClientResolvedConfig,
|
|
11
|
-
} from "../TranslateClient";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface StartTextTranslationJobCommandInput
|
|
15
8
|
extends StartTextTranslationJobRequest {}
|
|
16
9
|
export interface StartTextTranslationJobCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const StartTextTranslationJobCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
StartTextTranslationJobCommandInput,
|
|
24
17
|
StartTextTranslationJobCommandOutput,
|
|
25
|
-
TranslateClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").TranslateClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
input: StartTextTranslationJobCommandInput
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
StartTextTranslationJobCommandInput,
|
|
33
26
|
StartTextTranslationJobCommandOutput,
|
|
34
|
-
TranslateClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").TranslateClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class StartTextTranslationJobCommand extends StartTextTranslationJobCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
StopTextTranslationJobRequest,
|
|
5
4
|
StopTextTranslationJobResponse,
|
|
6
5
|
} from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
ServiceInputTypes,
|
|
9
|
-
ServiceOutputTypes,
|
|
10
|
-
TranslateClientResolvedConfig,
|
|
11
|
-
} from "../TranslateClient";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface StopTextTranslationJobCommandInput
|
|
15
8
|
extends StopTextTranslationJobRequest {}
|
|
16
9
|
export interface StopTextTranslationJobCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const StopTextTranslationJobCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
StopTextTranslationJobCommandInput,
|
|
24
17
|
StopTextTranslationJobCommandOutput,
|
|
25
|
-
TranslateClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").TranslateClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
input: StopTextTranslationJobCommandInput
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
StopTextTranslationJobCommandInput,
|
|
33
26
|
StopTextTranslationJobCommandOutput,
|
|
34
|
-
TranslateClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").TranslateClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class StopTextTranslationJobCommand extends StopTextTranslationJobCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
4
|
-
import {
|
|
5
|
-
ServiceInputTypes,
|
|
6
|
-
ServiceOutputTypes,
|
|
7
|
-
TranslateClientResolvedConfig,
|
|
8
|
-
} from "../TranslateClient";
|
|
9
3
|
export { __MetadataBearer };
|
|
10
|
-
export { $Command };
|
|
11
4
|
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
12
5
|
export interface TagResourceCommandOutput
|
|
13
6
|
extends TagResourceResponse,
|
|
@@ -18,22 +11,20 @@ declare const TagResourceCommand_base: {
|
|
|
18
11
|
): import("@smithy/core/client").CommandImpl<
|
|
19
12
|
TagResourceCommandInput,
|
|
20
13
|
TagResourceCommandOutput,
|
|
21
|
-
TranslateClientResolvedConfig,
|
|
22
|
-
ServiceInputTypes,
|
|
23
|
-
ServiceOutputTypes
|
|
14
|
+
import("..").TranslateClientResolvedConfig,
|
|
15
|
+
import("..").ServiceInputTypes,
|
|
16
|
+
import("..").ServiceOutputTypes
|
|
24
17
|
>;
|
|
25
18
|
new (
|
|
26
19
|
input: TagResourceCommandInput
|
|
27
20
|
): import("@smithy/core/client").CommandImpl<
|
|
28
21
|
TagResourceCommandInput,
|
|
29
22
|
TagResourceCommandOutput,
|
|
30
|
-
TranslateClientResolvedConfig,
|
|
31
|
-
ServiceInputTypes,
|
|
32
|
-
ServiceOutputTypes
|
|
23
|
+
import("..").TranslateClientResolvedConfig,
|
|
24
|
+
import("..").ServiceInputTypes,
|
|
25
|
+
import("..").ServiceOutputTypes
|
|
33
26
|
>;
|
|
34
|
-
getEndpointParameterInstructions():
|
|
35
|
-
[x: string]: unknown;
|
|
36
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
37
28
|
};
|
|
38
29
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
39
30
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
TranslateDocumentRequest,
|
|
5
4
|
TranslateDocumentResponse,
|
|
6
5
|
} from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
ServiceInputTypes,
|
|
9
|
-
ServiceOutputTypes,
|
|
10
|
-
TranslateClientResolvedConfig,
|
|
11
|
-
} from "../TranslateClient";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface TranslateDocumentCommandInput
|
|
15
8
|
extends TranslateDocumentRequest {}
|
|
16
9
|
export interface TranslateDocumentCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const TranslateDocumentCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
TranslateDocumentCommandInput,
|
|
24
17
|
TranslateDocumentCommandOutput,
|
|
25
|
-
TranslateClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").TranslateClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
input: TranslateDocumentCommandInput
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
TranslateDocumentCommandInput,
|
|
33
26
|
TranslateDocumentCommandOutput,
|
|
34
|
-
TranslateClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").TranslateClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class TranslateDocumentCommand extends TranslateDocumentCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
TranslateTextRequest,
|
|
5
4
|
TranslateTextResponse,
|
|
6
5
|
} from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
ServiceInputTypes,
|
|
9
|
-
ServiceOutputTypes,
|
|
10
|
-
TranslateClientResolvedConfig,
|
|
11
|
-
} from "../TranslateClient";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface TranslateTextCommandInput extends TranslateTextRequest {}
|
|
15
8
|
export interface TranslateTextCommandOutput
|
|
16
9
|
extends TranslateTextResponse,
|
|
@@ -21,22 +14,20 @@ declare const TranslateTextCommand_base: {
|
|
|
21
14
|
): import("@smithy/core/client").CommandImpl<
|
|
22
15
|
TranslateTextCommandInput,
|
|
23
16
|
TranslateTextCommandOutput,
|
|
24
|
-
TranslateClientResolvedConfig,
|
|
25
|
-
ServiceInputTypes,
|
|
26
|
-
ServiceOutputTypes
|
|
17
|
+
import("..").TranslateClientResolvedConfig,
|
|
18
|
+
import("..").ServiceInputTypes,
|
|
19
|
+
import("..").ServiceOutputTypes
|
|
27
20
|
>;
|
|
28
21
|
new (
|
|
29
22
|
input: TranslateTextCommandInput
|
|
30
23
|
): import("@smithy/core/client").CommandImpl<
|
|
31
24
|
TranslateTextCommandInput,
|
|
32
25
|
TranslateTextCommandOutput,
|
|
33
|
-
TranslateClientResolvedConfig,
|
|
34
|
-
ServiceInputTypes,
|
|
35
|
-
ServiceOutputTypes
|
|
26
|
+
import("..").TranslateClientResolvedConfig,
|
|
27
|
+
import("..").ServiceInputTypes,
|
|
28
|
+
import("..").ServiceOutputTypes
|
|
36
29
|
>;
|
|
37
|
-
getEndpointParameterInstructions():
|
|
38
|
-
[x: string]: unknown;
|
|
39
|
-
};
|
|
30
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
40
31
|
};
|
|
41
32
|
export declare class TranslateTextCommand extends TranslateTextCommand_base {
|
|
42
33
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
UntagResourceRequest,
|
|
5
4
|
UntagResourceResponse,
|
|
6
5
|
} from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
ServiceInputTypes,
|
|
9
|
-
ServiceOutputTypes,
|
|
10
|
-
TranslateClientResolvedConfig,
|
|
11
|
-
} from "../TranslateClient";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
15
8
|
export interface UntagResourceCommandOutput
|
|
16
9
|
extends UntagResourceResponse,
|
|
@@ -21,22 +14,20 @@ declare const UntagResourceCommand_base: {
|
|
|
21
14
|
): import("@smithy/core/client").CommandImpl<
|
|
22
15
|
UntagResourceCommandInput,
|
|
23
16
|
UntagResourceCommandOutput,
|
|
24
|
-
TranslateClientResolvedConfig,
|
|
25
|
-
ServiceInputTypes,
|
|
26
|
-
ServiceOutputTypes
|
|
17
|
+
import("..").TranslateClientResolvedConfig,
|
|
18
|
+
import("..").ServiceInputTypes,
|
|
19
|
+
import("..").ServiceOutputTypes
|
|
27
20
|
>;
|
|
28
21
|
new (
|
|
29
22
|
input: UntagResourceCommandInput
|
|
30
23
|
): import("@smithy/core/client").CommandImpl<
|
|
31
24
|
UntagResourceCommandInput,
|
|
32
25
|
UntagResourceCommandOutput,
|
|
33
|
-
TranslateClientResolvedConfig,
|
|
34
|
-
ServiceInputTypes,
|
|
35
|
-
ServiceOutputTypes
|
|
26
|
+
import("..").TranslateClientResolvedConfig,
|
|
27
|
+
import("..").ServiceInputTypes,
|
|
28
|
+
import("..").ServiceOutputTypes
|
|
36
29
|
>;
|
|
37
|
-
getEndpointParameterInstructions():
|
|
38
|
-
[x: string]: unknown;
|
|
39
|
-
};
|
|
30
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
40
31
|
};
|
|
41
32
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
42
33
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
UpdateParallelDataRequest,
|
|
5
4
|
UpdateParallelDataResponse,
|
|
6
5
|
} from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
ServiceInputTypes,
|
|
9
|
-
ServiceOutputTypes,
|
|
10
|
-
TranslateClientResolvedConfig,
|
|
11
|
-
} from "../TranslateClient";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface UpdateParallelDataCommandInput
|
|
15
8
|
extends UpdateParallelDataRequest {}
|
|
16
9
|
export interface UpdateParallelDataCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const UpdateParallelDataCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
UpdateParallelDataCommandInput,
|
|
24
17
|
UpdateParallelDataCommandOutput,
|
|
25
|
-
TranslateClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").TranslateClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
input: UpdateParallelDataCommandInput
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
UpdateParallelDataCommandInput,
|
|
33
26
|
UpdateParallelDataCommandOutput,
|
|
34
|
-
TranslateClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").TranslateClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class UpdateParallelDataCommand extends UpdateParallelDataCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { TranslateExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
7
8
|
export * from "./schemas/schemas_0";
|
|
8
9
|
export * from "./pagination";
|
|
9
10
|
export * from "./models/enums";
|
|
@@ -20,7 +20,6 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
|
|
|
20
20
|
| import("@smithy/core/protocols").HttpHandler<any>
|
|
21
21
|
| RequestHandler;
|
|
22
22
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
24
23
|
streamCollector: (
|
|
25
24
|
stream:
|
|
26
25
|
| import("stream").Readable
|
|
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
|
|
|
42
41
|
[setting: string]: unknown;
|
|
43
42
|
};
|
|
44
43
|
apiVersion: string;
|
|
44
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
45
45
|
urlParser: import("@smithy/types").UrlParser;
|
|
46
46
|
base64Decoder: import("@smithy/types").Decoder;
|
|
47
47
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -21,7 +21,6 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
|
|
|
21
21
|
| RequestHandler
|
|
22
22
|
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
23
23
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
25
24
|
streamCollector: (
|
|
26
25
|
stream:
|
|
27
26
|
| import("stream").Readable
|
|
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
|
|
|
42
41
|
[setting: string]: unknown;
|
|
43
42
|
};
|
|
44
43
|
apiVersion: string;
|
|
44
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
45
45
|
urlParser: import("@smithy/types").UrlParser;
|
|
46
46
|
base64Decoder: import("@smithy/types").Decoder;
|
|
47
47
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { TranslateClientConfig } from "./TranslateClient";
|
|
2
2
|
export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
|
|
3
3
|
runtime: string;
|
|
4
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
5
4
|
requestHandler:
|
|
6
5
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
7
6
|
| import("@smithy/types").FetchHttpHandlerOptions
|
|
@@ -18,6 +17,7 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
|
|
|
18
17
|
[setting: string]: unknown;
|
|
19
18
|
};
|
|
20
19
|
apiVersion: string;
|
|
20
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
23
|
streamCollector: (
|
|
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: TranslateClientConfig) => {
|
|
|
24
24
|
defaultNamespace?: string;
|
|
25
25
|
};
|
|
26
26
|
serviceId: string;
|
|
27
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
27
28
|
urlParser: import("@smithy/types").UrlParser;
|
|
28
29
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
29
30
|
utf8Encoder: (input: Uint8Array | string) => string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-translate",
|
|
3
3
|
"description": "AWS SDK for JavaScript Translate Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1078.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -19,15 +19,13 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-
|
|
23
|
-
"@aws-
|
|
24
|
-
"@aws-sdk/
|
|
25
|
-
"@
|
|
26
|
-
"@
|
|
27
|
-
"@smithy/
|
|
28
|
-
"@smithy/
|
|
29
|
-
"@smithy/node-http-handler": "^4.9.0",
|
|
30
|
-
"@smithy/types": "^4.15.0",
|
|
22
|
+
"@aws-sdk/core": "^3.974.26",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "^3.972.61",
|
|
24
|
+
"@aws-sdk/types": "^3.973.15",
|
|
25
|
+
"@smithy/core": "^3.29.0",
|
|
26
|
+
"@smithy/fetch-http-handler": "^5.6.2",
|
|
27
|
+
"@smithy/node-http-handler": "^4.9.2",
|
|
28
|
+
"@smithy/types": "^4.15.1",
|
|
31
29
|
"tslib": "^2.6.2"
|
|
32
30
|
},
|
|
33
31
|
"devDependencies": {
|