@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,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSShineFrontendService_20170701", "UntagResource", {})
|
|
13
|
-
.n("TranslateClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateParallelData$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateParallelDataCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSShineFrontendService_20170701", "UpdateParallelData", {})
|
|
13
|
-
.n("TranslateClient", "UpdateParallelDataCommand")
|
|
14
|
-
.sc(UpdateParallelData$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateParallelDataCommand extends command(_ep0, _mw0, "UpdateParallelData", UpdateParallelData$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "AWSShineFrontendService_20170701",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "Translate",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "./TranslateClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CreateParallelDataRequest, CreateParallelDataResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateParallelDataCommandInput extends CreateParallelDataReques
|
|
|
22
19
|
export interface CreateParallelDataCommandOutput extends CreateParallelDataResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateParallelDataCommand_base: {
|
|
25
|
-
new (input: CreateParallelDataCommandInput): import("@smithy/core/client").CommandImpl<CreateParallelDataCommandInput, CreateParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateParallelDataCommandInput): import("@smithy/core/client").CommandImpl<CreateParallelDataCommandInput, CreateParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateParallelDataCommandInput): import("@smithy/core/client").CommandImpl<CreateParallelDataCommandInput, CreateParallelDataCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateParallelDataCommandInput): import("@smithy/core/client").CommandImpl<CreateParallelDataCommandInput, CreateParallelDataCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a parallel data resource in Amazon Translate by importing an input file from
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { DeleteParallelDataRequest, DeleteParallelDataResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DeleteParallelDataCommandInput extends DeleteParallelDataReques
|
|
|
22
19
|
export interface DeleteParallelDataCommandOutput extends DeleteParallelDataResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DeleteParallelDataCommand_base: {
|
|
25
|
-
new (input: DeleteParallelDataCommandInput): import("@smithy/core/client").CommandImpl<DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DeleteParallelDataCommandInput): import("@smithy/core/client").CommandImpl<DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DeleteParallelDataCommandInput): import("@smithy/core/client").CommandImpl<DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteParallelDataCommandInput): import("@smithy/core/client").CommandImpl<DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Deletes a parallel data resource in Amazon Translate.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { DeleteTerminologyRequest } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DeleteTerminologyCommandInput extends DeleteTerminologyRequest
|
|
|
22
19
|
export interface DeleteTerminologyCommandOutput extends __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DeleteTerminologyCommand_base: {
|
|
25
|
-
new (input: DeleteTerminologyCommandInput): import("@smithy/core/client").CommandImpl<DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DeleteTerminologyCommandInput): import("@smithy/core/client").CommandImpl<DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DeleteTerminologyCommandInput): import("@smithy/core/client").CommandImpl<DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteTerminologyCommandInput): import("@smithy/core/client").CommandImpl<DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>A synchronous action that deletes a custom terminology.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { DescribeTextTranslationJobRequest, DescribeTextTranslationJobResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DescribeTextTranslationJobCommandInput extends DescribeTextTran
|
|
|
22
19
|
export interface DescribeTextTranslationJobCommandOutput extends DescribeTextTranslationJobResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DescribeTextTranslationJobCommand_base: {
|
|
25
|
-
new (input: DescribeTextTranslationJobCommandInput): import("@smithy/core/client").CommandImpl<DescribeTextTranslationJobCommandInput, DescribeTextTranslationJobCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DescribeTextTranslationJobCommandInput): import("@smithy/core/client").CommandImpl<DescribeTextTranslationJobCommandInput, DescribeTextTranslationJobCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DescribeTextTranslationJobCommandInput): import("@smithy/core/client").CommandImpl<DescribeTextTranslationJobCommandInput, DescribeTextTranslationJobCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DescribeTextTranslationJobCommandInput): import("@smithy/core/client").CommandImpl<DescribeTextTranslationJobCommandInput, DescribeTextTranslationJobCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Gets the properties associated with an asynchronous batch translation job including name,
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { GetParallelDataRequest, GetParallelDataResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetParallelDataCommandInput extends GetParallelDataRequest {
|
|
|
22
19
|
export interface GetParallelDataCommandOutput extends GetParallelDataResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetParallelDataCommand_base: {
|
|
25
|
-
new (input: GetParallelDataCommandInput): import("@smithy/core/client").CommandImpl<GetParallelDataCommandInput, GetParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: GetParallelDataCommandInput): import("@smithy/core/client").CommandImpl<GetParallelDataCommandInput, GetParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetParallelDataCommandInput): import("@smithy/core/client").CommandImpl<GetParallelDataCommandInput, GetParallelDataCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetParallelDataCommandInput): import("@smithy/core/client").CommandImpl<GetParallelDataCommandInput, GetParallelDataCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Provides information about a parallel data resource.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { GetTerminologyRequest, GetTerminologyResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetTerminologyCommandInput extends GetTerminologyRequest {
|
|
|
22
19
|
export interface GetTerminologyCommandOutput extends GetTerminologyResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetTerminologyCommand_base: {
|
|
25
|
-
new (input: GetTerminologyCommandInput): import("@smithy/core/client").CommandImpl<GetTerminologyCommandInput, GetTerminologyCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: GetTerminologyCommandInput): import("@smithy/core/client").CommandImpl<GetTerminologyCommandInput, GetTerminologyCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetTerminologyCommandInput): import("@smithy/core/client").CommandImpl<GetTerminologyCommandInput, GetTerminologyCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetTerminologyCommandInput): import("@smithy/core/client").CommandImpl<GetTerminologyCommandInput, GetTerminologyCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Retrieves a custom terminology.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { ImportTerminologyRequest, ImportTerminologyResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface ImportTerminologyCommandInput extends ImportTerminologyRequest
|
|
|
22
19
|
export interface ImportTerminologyCommandOutput extends ImportTerminologyResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const ImportTerminologyCommand_base: {
|
|
25
|
-
new (input: ImportTerminologyCommandInput): import("@smithy/core/client").CommandImpl<ImportTerminologyCommandInput, ImportTerminologyCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: ImportTerminologyCommandInput): import("@smithy/core/client").CommandImpl<ImportTerminologyCommandInput, ImportTerminologyCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: ImportTerminologyCommandInput): import("@smithy/core/client").CommandImpl<ImportTerminologyCommandInput, ImportTerminologyCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ImportTerminologyCommandInput): import("@smithy/core/client").CommandImpl<ImportTerminologyCommandInput, ImportTerminologyCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates or updates a custom terminology, depending on whether one already exists for the
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { ListLanguagesRequest, ListLanguagesResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface ListLanguagesCommandInput extends ListLanguagesRequest {
|
|
|
22
19
|
export interface ListLanguagesCommandOutput extends ListLanguagesResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const ListLanguagesCommand_base: {
|
|
25
|
-
new (input: ListLanguagesCommandInput): import("@smithy/core/client").CommandImpl<ListLanguagesCommandInput, ListLanguagesCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [ListLanguagesCommandInput]): import("@smithy/core/client").CommandImpl<ListLanguagesCommandInput, ListLanguagesCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: ListLanguagesCommandInput): import("@smithy/core/client").CommandImpl<ListLanguagesCommandInput, ListLanguagesCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListLanguagesCommandInput]): import("@smithy/core/client").CommandImpl<ListLanguagesCommandInput, ListLanguagesCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Provides a list of languages (RFC-5646 codes and names) that Amazon Translate supports.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { ListParallelDataRequest, ListParallelDataResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface ListParallelDataCommandInput extends ListParallelDataRequest {
|
|
|
22
19
|
export interface ListParallelDataCommandOutput extends ListParallelDataResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const ListParallelDataCommand_base: {
|
|
25
|
-
new (input: ListParallelDataCommandInput): import("@smithy/core/client").CommandImpl<ListParallelDataCommandInput, ListParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [ListParallelDataCommandInput]): import("@smithy/core/client").CommandImpl<ListParallelDataCommandInput, ListParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: ListParallelDataCommandInput): import("@smithy/core/client").CommandImpl<ListParallelDataCommandInput, ListParallelDataCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListParallelDataCommandInput]): import("@smithy/core/client").CommandImpl<ListParallelDataCommandInput, ListParallelDataCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Provides a list of your parallel data resources in Amazon Translate.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
|
|
|
22
19
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const ListTagsForResourceCommand_base: {
|
|
25
|
-
new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Lists all tags associated with a given Amazon Translate resource.
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { ListTerminologiesRequest, ListTerminologiesResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface ListTerminologiesCommandInput extends ListTerminologiesRequest
|
|
|
22
19
|
export interface ListTerminologiesCommandOutput extends ListTerminologiesResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const ListTerminologiesCommand_base: {
|
|
25
|
-
new (input: ListTerminologiesCommandInput): import("@smithy/core/client").CommandImpl<ListTerminologiesCommandInput, ListTerminologiesCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [ListTerminologiesCommandInput]): import("@smithy/core/client").CommandImpl<ListTerminologiesCommandInput, ListTerminologiesCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: ListTerminologiesCommandInput): import("@smithy/core/client").CommandImpl<ListTerminologiesCommandInput, ListTerminologiesCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListTerminologiesCommandInput]): import("@smithy/core/client").CommandImpl<ListTerminologiesCommandInput, ListTerminologiesCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Provides a list of custom terminologies associated with your account.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { ListTextTranslationJobsRequest, ListTextTranslationJobsResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface ListTextTranslationJobsCommandInput extends ListTextTranslation
|
|
|
22
19
|
export interface ListTextTranslationJobsCommandOutput extends ListTextTranslationJobsResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const ListTextTranslationJobsCommand_base: {
|
|
25
|
-
new (input: ListTextTranslationJobsCommandInput): import("@smithy/core/client").CommandImpl<ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [ListTextTranslationJobsCommandInput]): import("@smithy/core/client").CommandImpl<ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: ListTextTranslationJobsCommandInput): import("@smithy/core/client").CommandImpl<ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListTextTranslationJobsCommandInput]): import("@smithy/core/client").CommandImpl<ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Gets a list of the batch translation jobs that you have submitted.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { StartTextTranslationJobRequest, StartTextTranslationJobResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface StartTextTranslationJobCommandInput extends StartTextTranslatio
|
|
|
22
19
|
export interface StartTextTranslationJobCommandOutput extends StartTextTranslationJobResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const StartTextTranslationJobCommand_base: {
|
|
25
|
-
new (input: StartTextTranslationJobCommandInput): import("@smithy/core/client").CommandImpl<StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: StartTextTranslationJobCommandInput): import("@smithy/core/client").CommandImpl<StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: StartTextTranslationJobCommandInput): import("@smithy/core/client").CommandImpl<StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: StartTextTranslationJobCommandInput): import("@smithy/core/client").CommandImpl<StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Starts an asynchronous batch translation job. Use batch translation jobs to
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { StopTextTranslationJobRequest, StopTextTranslationJobResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface StopTextTranslationJobCommandInput extends StopTextTranslationJ
|
|
|
22
19
|
export interface StopTextTranslationJobCommandOutput extends StopTextTranslationJobResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const StopTextTranslationJobCommand_base: {
|
|
25
|
-
new (input: StopTextTranslationJobCommandInput): import("@smithy/core/client").CommandImpl<StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: StopTextTranslationJobCommandInput): import("@smithy/core/client").CommandImpl<StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: StopTextTranslationJobCommandInput): import("@smithy/core/client").CommandImpl<StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: StopTextTranslationJobCommandInput): import("@smithy/core/client").CommandImpl<StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Stops an asynchronous batch translation job that is in progress.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface TagResourceCommandInput extends TagResourceRequest {
|
|
|
22
19
|
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const TagResourceCommand_base: {
|
|
25
|
-
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Associates a specific tag with a resource. A tag is a key-value pair
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { TranslateDocumentRequest, TranslateDocumentResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface TranslateDocumentCommandInput extends TranslateDocumentRequest
|
|
|
22
19
|
export interface TranslateDocumentCommandOutput extends TranslateDocumentResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const TranslateDocumentCommand_base: {
|
|
25
|
-
new (input: TranslateDocumentCommandInput): import("@smithy/core/client").CommandImpl<TranslateDocumentCommandInput, TranslateDocumentCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: TranslateDocumentCommandInput): import("@smithy/core/client").CommandImpl<TranslateDocumentCommandInput, TranslateDocumentCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: TranslateDocumentCommandInput): import("@smithy/core/client").CommandImpl<TranslateDocumentCommandInput, TranslateDocumentCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: TranslateDocumentCommandInput): import("@smithy/core/client").CommandImpl<TranslateDocumentCommandInput, TranslateDocumentCommandOutput, import("..").TranslateClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Translates the input document from the source language to the target language.
|