@aws-sdk/client-translate 3.1077.0 → 3.1079.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 +27 -193
- 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-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/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/package.json +8 -8
|
@@ -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";
|
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.1079.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,13 +19,13 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.974.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.973.
|
|
25
|
-
"@smithy/core": "^3.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
28
|
-
"@smithy/types": "^4.15.
|
|
22
|
+
"@aws-sdk/core": "^3.974.27",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "^3.972.62",
|
|
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",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|