@aws-sdk/client-translate 3.478.0 → 3.484.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dist-cjs/commands/CreateParallelDataCommand.js +18 -41
  2. package/dist-cjs/commands/DeleteParallelDataCommand.js +18 -41
  3. package/dist-cjs/commands/DeleteTerminologyCommand.js +18 -41
  4. package/dist-cjs/commands/DescribeTextTranslationJobCommand.js +18 -41
  5. package/dist-cjs/commands/GetParallelDataCommand.js +18 -41
  6. package/dist-cjs/commands/GetTerminologyCommand.js +18 -41
  7. package/dist-cjs/commands/ImportTerminologyCommand.js +18 -41
  8. package/dist-cjs/commands/ListLanguagesCommand.js +18 -41
  9. package/dist-cjs/commands/ListParallelDataCommand.js +18 -41
  10. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  11. package/dist-cjs/commands/ListTerminologiesCommand.js +18 -41
  12. package/dist-cjs/commands/ListTextTranslationJobsCommand.js +18 -41
  13. package/dist-cjs/commands/StartTextTranslationJobCommand.js +18 -41
  14. package/dist-cjs/commands/StopTextTranslationJobCommand.js +18 -41
  15. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  16. package/dist-cjs/commands/TranslateDocumentCommand.js +18 -41
  17. package/dist-cjs/commands/TranslateTextCommand.js +18 -41
  18. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  19. package/dist-cjs/commands/UpdateParallelDataCommand.js +18 -41
  20. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  21. package/dist-es/commands/CreateParallelDataCommand.js +18 -41
  22. package/dist-es/commands/DeleteParallelDataCommand.js +18 -41
  23. package/dist-es/commands/DeleteTerminologyCommand.js +18 -41
  24. package/dist-es/commands/DescribeTextTranslationJobCommand.js +18 -41
  25. package/dist-es/commands/GetParallelDataCommand.js +18 -41
  26. package/dist-es/commands/GetTerminologyCommand.js +18 -41
  27. package/dist-es/commands/ImportTerminologyCommand.js +18 -41
  28. package/dist-es/commands/ListLanguagesCommand.js +18 -41
  29. package/dist-es/commands/ListParallelDataCommand.js +18 -41
  30. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  31. package/dist-es/commands/ListTerminologiesCommand.js +18 -41
  32. package/dist-es/commands/ListTextTranslationJobsCommand.js +18 -41
  33. package/dist-es/commands/StartTextTranslationJobCommand.js +18 -41
  34. package/dist-es/commands/StopTextTranslationJobCommand.js +18 -41
  35. package/dist-es/commands/TagResourceCommand.js +18 -41
  36. package/dist-es/commands/TranslateDocumentCommand.js +18 -41
  37. package/dist-es/commands/TranslateTextCommand.js +18 -41
  38. package/dist-es/commands/UntagResourceCommand.js +18 -41
  39. package/dist-es/commands/UpdateParallelDataCommand.js +18 -41
  40. package/dist-es/endpoint/EndpointParameters.js +6 -0
  41. package/dist-types/commands/CreateParallelDataCommand.d.ts +6 -21
  42. package/dist-types/commands/DeleteParallelDataCommand.d.ts +6 -21
  43. package/dist-types/commands/DeleteTerminologyCommand.d.ts +6 -21
  44. package/dist-types/commands/DescribeTextTranslationJobCommand.d.ts +6 -21
  45. package/dist-types/commands/GetParallelDataCommand.d.ts +6 -21
  46. package/dist-types/commands/GetTerminologyCommand.d.ts +6 -21
  47. package/dist-types/commands/ImportTerminologyCommand.d.ts +6 -21
  48. package/dist-types/commands/ListLanguagesCommand.d.ts +6 -21
  49. package/dist-types/commands/ListParallelDataCommand.d.ts +6 -21
  50. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  51. package/dist-types/commands/ListTerminologiesCommand.d.ts +6 -21
  52. package/dist-types/commands/ListTextTranslationJobsCommand.d.ts +6 -21
  53. package/dist-types/commands/StartTextTranslationJobCommand.d.ts +6 -21
  54. package/dist-types/commands/StopTextTranslationJobCommand.d.ts +6 -21
  55. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  56. package/dist-types/commands/TranslateDocumentCommand.d.ts +6 -21
  57. package/dist-types/commands/TranslateTextCommand.d.ts +6 -21
  58. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  59. package/dist-types/commands/UpdateParallelDataCommand.d.ts +6 -21
  60. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  61. package/dist-types/ts3.4/commands/CreateParallelDataCommand.d.ts +14 -23
  62. package/dist-types/ts3.4/commands/DeleteParallelDataCommand.d.ts +14 -23
  63. package/dist-types/ts3.4/commands/DeleteTerminologyCommand.d.ts +14 -23
  64. package/dist-types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +12 -24
  65. package/dist-types/ts3.4/commands/GetParallelDataCommand.d.ts +14 -23
  66. package/dist-types/ts3.4/commands/GetTerminologyCommand.d.ts +14 -23
  67. package/dist-types/ts3.4/commands/ImportTerminologyCommand.d.ts +14 -23
  68. package/dist-types/ts3.4/commands/ListLanguagesCommand.d.ts +14 -23
  69. package/dist-types/ts3.4/commands/ListParallelDataCommand.d.ts +14 -23
  70. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  71. package/dist-types/ts3.4/commands/ListTerminologiesCommand.d.ts +14 -23
  72. package/dist-types/ts3.4/commands/ListTextTranslationJobsCommand.d.ts +12 -24
  73. package/dist-types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +12 -24
  74. package/dist-types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +12 -24
  75. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  76. package/dist-types/ts3.4/commands/TranslateDocumentCommand.d.ts +14 -23
  77. package/dist-types/ts3.4/commands/TranslateTextCommand.d.ts +14 -23
  78. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  79. package/dist-types/ts3.4/commands/UpdateParallelDataCommand.d.ts +14 -23
  80. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  81. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UntagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "TranslateClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSShineFrontendService_20170701",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSShineFrontendService_20170701", "UntagResource", {})
19
+ .n("TranslateClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateParallelDataCommand, se_UpdateParallelDataCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateParallelDataCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateParallelDataCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "TranslateClient";
26
- const commandName = "UpdateParallelDataCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSShineFrontendService_20170701",
35
- operation: "UpdateParallelData",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateParallelDataCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateParallelDataCommand(output, context);
46
- }
7
+ export class UpdateParallelDataCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSShineFrontendService_20170701", "UpdateParallelData", {})
19
+ .n("TranslateClient", "UpdateParallelDataCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateParallelDataCommand)
22
+ .de(de_UpdateParallelDataCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "translate",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateParallelDataRequest, CreateParallelDataResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateParallelDataCommandInput extends CreateParallelDataReques
21
20
  */
22
21
  export interface CreateParallelDataCommandOutput extends CreateParallelDataResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateParallelDataCommand_base: {
24
+ new (input: CreateParallelDataCommandInput): import("@smithy/smithy-client").CommandImpl<CreateParallelDataCommandInput, CreateParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a parallel data resource in Amazon Translate by importing an input file from
@@ -100,23 +103,5 @@ export interface CreateParallelDataCommandOutput extends CreateParallelDataRespo
100
103
  * <p>Base exception class for all service exceptions from Translate service.</p>
101
104
  *
102
105
  */
103
- export declare class CreateParallelDataCommand extends $Command<CreateParallelDataCommandInput, CreateParallelDataCommandOutput, TranslateClientResolvedConfig> {
104
- readonly input: CreateParallelDataCommandInput;
105
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
106
- /**
107
- * @public
108
- */
109
- constructor(input: CreateParallelDataCommandInput);
110
- /**
111
- * @internal
112
- */
113
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateParallelDataCommandInput, CreateParallelDataCommandOutput>;
114
- /**
115
- * @internal
116
- */
117
- private serialize;
118
- /**
119
- * @internal
120
- */
121
- private deserialize;
106
+ export declare class CreateParallelDataCommand extends CreateParallelDataCommand_base {
122
107
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteParallelDataRequest, DeleteParallelDataResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteParallelDataCommandInput extends DeleteParallelDataReques
21
20
  */
22
21
  export interface DeleteParallelDataCommandOutput extends DeleteParallelDataResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteParallelDataCommand_base: {
24
+ new (input: DeleteParallelDataCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a parallel data resource in Amazon Translate.</p>
@@ -68,23 +71,5 @@ export interface DeleteParallelDataCommandOutput extends DeleteParallelDataRespo
68
71
  * <p>Base exception class for all service exceptions from Translate service.</p>
69
72
  *
70
73
  */
71
- export declare class DeleteParallelDataCommand extends $Command<DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput, TranslateClientResolvedConfig> {
72
- readonly input: DeleteParallelDataCommandInput;
73
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
74
- /**
75
- * @public
76
- */
77
- constructor(input: DeleteParallelDataCommandInput);
78
- /**
79
- * @internal
80
- */
81
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput>;
82
- /**
83
- * @internal
84
- */
85
- private serialize;
86
- /**
87
- * @internal
88
- */
89
- private deserialize;
74
+ export declare class DeleteParallelDataCommand extends DeleteParallelDataCommand_base {
90
75
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteTerminologyRequest } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteTerminologyCommandInput extends DeleteTerminologyRequest
21
20
  */
22
21
  export interface DeleteTerminologyCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteTerminologyCommand_base: {
24
+ new (input: DeleteTerminologyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>A synchronous action that deletes a custom terminology.</p>
@@ -65,23 +68,5 @@ export interface DeleteTerminologyCommandOutput extends __MetadataBearer {
65
68
  * <p>Base exception class for all service exceptions from Translate service.</p>
66
69
  *
67
70
  */
68
- export declare class DeleteTerminologyCommand extends $Command<DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput, TranslateClientResolvedConfig> {
69
- readonly input: DeleteTerminologyCommandInput;
70
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
- /**
72
- * @public
73
- */
74
- constructor(input: DeleteTerminologyCommandInput);
75
- /**
76
- * @internal
77
- */
78
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput>;
79
- /**
80
- * @internal
81
- */
82
- private serialize;
83
- /**
84
- * @internal
85
- */
86
- private deserialize;
71
+ export declare class DeleteTerminologyCommand extends DeleteTerminologyCommand_base {
87
72
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DescribeTextTranslationJobRequest, DescribeTextTranslationJobResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeTextTranslationJobCommandInput extends DescribeTextTran
21
20
  */
22
21
  export interface DescribeTextTranslationJobCommandOutput extends DescribeTextTranslationJobResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeTextTranslationJobCommand_base: {
24
+ new (input: DescribeTextTranslationJobCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeTextTranslationJobCommandInput, DescribeTextTranslationJobCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets the properties associated with an asynchronous batch translation job including name,
@@ -103,23 +106,5 @@ export interface DescribeTextTranslationJobCommandOutput extends DescribeTextTra
103
106
  * <p>Base exception class for all service exceptions from Translate service.</p>
104
107
  *
105
108
  */
106
- export declare class DescribeTextTranslationJobCommand extends $Command<DescribeTextTranslationJobCommandInput, DescribeTextTranslationJobCommandOutput, TranslateClientResolvedConfig> {
107
- readonly input: DescribeTextTranslationJobCommandInput;
108
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
109
- /**
110
- * @public
111
- */
112
- constructor(input: DescribeTextTranslationJobCommandInput);
113
- /**
114
- * @internal
115
- */
116
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeTextTranslationJobCommandInput, DescribeTextTranslationJobCommandOutput>;
117
- /**
118
- * @internal
119
- */
120
- private serialize;
121
- /**
122
- * @internal
123
- */
124
- private deserialize;
109
+ export declare class DescribeTextTranslationJobCommand extends DescribeTextTranslationJobCommand_base {
125
110
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetParallelDataRequest, GetParallelDataResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetParallelDataCommandInput extends GetParallelDataRequest {
21
20
  */
22
21
  export interface GetParallelDataCommandOutput extends GetParallelDataResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetParallelDataCommand_base: {
24
+ new (input: GetParallelDataCommandInput): import("@smithy/smithy-client").CommandImpl<GetParallelDataCommandInput, GetParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Provides information about a parallel data resource.</p>
@@ -105,23 +108,5 @@ export interface GetParallelDataCommandOutput extends GetParallelDataResponse, _
105
108
  * <p>Base exception class for all service exceptions from Translate service.</p>
106
109
  *
107
110
  */
108
- export declare class GetParallelDataCommand extends $Command<GetParallelDataCommandInput, GetParallelDataCommandOutput, TranslateClientResolvedConfig> {
109
- readonly input: GetParallelDataCommandInput;
110
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
111
- /**
112
- * @public
113
- */
114
- constructor(input: GetParallelDataCommandInput);
115
- /**
116
- * @internal
117
- */
118
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetParallelDataCommandInput, GetParallelDataCommandOutput>;
119
- /**
120
- * @internal
121
- */
122
- private serialize;
123
- /**
124
- * @internal
125
- */
126
- private deserialize;
111
+ export declare class GetParallelDataCommand extends GetParallelDataCommand_base {
127
112
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetTerminologyRequest, GetTerminologyResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetTerminologyCommandInput extends GetTerminologyRequest {
21
20
  */
22
21
  export interface GetTerminologyCommandOutput extends GetTerminologyResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetTerminologyCommand_base: {
24
+ new (input: GetTerminologyCommandInput): import("@smithy/smithy-client").CommandImpl<GetTerminologyCommandInput, GetTerminologyCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves a custom terminology.</p>
@@ -96,23 +99,5 @@ export interface GetTerminologyCommandOutput extends GetTerminologyResponse, __M
96
99
  * <p>Base exception class for all service exceptions from Translate service.</p>
97
100
  *
98
101
  */
99
- export declare class GetTerminologyCommand extends $Command<GetTerminologyCommandInput, GetTerminologyCommandOutput, TranslateClientResolvedConfig> {
100
- readonly input: GetTerminologyCommandInput;
101
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
102
- /**
103
- * @public
104
- */
105
- constructor(input: GetTerminologyCommandInput);
106
- /**
107
- * @internal
108
- */
109
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTerminologyCommandInput, GetTerminologyCommandOutput>;
110
- /**
111
- * @internal
112
- */
113
- private serialize;
114
- /**
115
- * @internal
116
- */
117
- private deserialize;
102
+ export declare class GetTerminologyCommand extends GetTerminologyCommand_base {
118
103
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ImportTerminologyRequest, ImportTerminologyResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ImportTerminologyCommandInput extends ImportTerminologyRequest
21
20
  */
22
21
  export interface ImportTerminologyCommandOutput extends ImportTerminologyResponse, __MetadataBearer {
23
22
  }
23
+ declare const ImportTerminologyCommand_base: {
24
+ new (input: ImportTerminologyCommandInput): import("@smithy/smithy-client").CommandImpl<ImportTerminologyCommandInput, ImportTerminologyCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates or updates a custom terminology, depending on whether one already exists for the
@@ -121,23 +124,5 @@ export interface ImportTerminologyCommandOutput extends ImportTerminologyRespons
121
124
  * <p>Base exception class for all service exceptions from Translate service.</p>
122
125
  *
123
126
  */
124
- export declare class ImportTerminologyCommand extends $Command<ImportTerminologyCommandInput, ImportTerminologyCommandOutput, TranslateClientResolvedConfig> {
125
- readonly input: ImportTerminologyCommandInput;
126
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
127
- /**
128
- * @public
129
- */
130
- constructor(input: ImportTerminologyCommandInput);
131
- /**
132
- * @internal
133
- */
134
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportTerminologyCommandInput, ImportTerminologyCommandOutput>;
135
- /**
136
- * @internal
137
- */
138
- private serialize;
139
- /**
140
- * @internal
141
- */
142
- private deserialize;
127
+ export declare class ImportTerminologyCommand extends ImportTerminologyCommand_base {
143
128
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ListLanguagesRequest, ListLanguagesResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListLanguagesCommandInput extends ListLanguagesRequest {
21
20
  */
22
21
  export interface ListLanguagesCommandOutput extends ListLanguagesResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListLanguagesCommand_base: {
24
+ new (input: ListLanguagesCommandInput): import("@smithy/smithy-client").CommandImpl<ListLanguagesCommandInput, ListLanguagesCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Provides a list of languages (RFC-5646 codes and names) that Amazon Translate supports.</p>
@@ -74,23 +77,5 @@ export interface ListLanguagesCommandOutput extends ListLanguagesResponse, __Met
74
77
  * <p>Base exception class for all service exceptions from Translate service.</p>
75
78
  *
76
79
  */
77
- export declare class ListLanguagesCommand extends $Command<ListLanguagesCommandInput, ListLanguagesCommandOutput, TranslateClientResolvedConfig> {
78
- readonly input: ListLanguagesCommandInput;
79
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
- /**
81
- * @public
82
- */
83
- constructor(input: ListLanguagesCommandInput);
84
- /**
85
- * @internal
86
- */
87
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListLanguagesCommandInput, ListLanguagesCommandOutput>;
88
- /**
89
- * @internal
90
- */
91
- private serialize;
92
- /**
93
- * @internal
94
- */
95
- private deserialize;
80
+ export declare class ListLanguagesCommand extends ListLanguagesCommand_base {
96
81
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ListParallelDataRequest, ListParallelDataResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListParallelDataCommandInput extends ListParallelDataRequest {
21
20
  */
22
21
  export interface ListParallelDataCommandOutput extends ListParallelDataResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListParallelDataCommand_base: {
24
+ new (input: ListParallelDataCommandInput): import("@smithy/smithy-client").CommandImpl<ListParallelDataCommandInput, ListParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Provides a list of your parallel data resources in Amazon Translate.</p>
@@ -92,23 +95,5 @@ export interface ListParallelDataCommandOutput extends ListParallelDataResponse,
92
95
  * <p>Base exception class for all service exceptions from Translate service.</p>
93
96
  *
94
97
  */
95
- export declare class ListParallelDataCommand extends $Command<ListParallelDataCommandInput, ListParallelDataCommandOutput, TranslateClientResolvedConfig> {
96
- readonly input: ListParallelDataCommandInput;
97
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
98
- /**
99
- * @public
100
- */
101
- constructor(input: ListParallelDataCommandInput);
102
- /**
103
- * @internal
104
- */
105
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListParallelDataCommandInput, ListParallelDataCommandOutput>;
106
- /**
107
- * @internal
108
- */
109
- private serialize;
110
- /**
111
- * @internal
112
- */
113
- private deserialize;
98
+ export declare class ListParallelDataCommand extends ListParallelDataCommand_base {
114
99
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
21
20
  */
22
21
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListTagsForResourceCommand_base: {
24
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Lists all tags associated with a given Amazon Translate resource.
@@ -70,23 +73,5 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
70
73
  * <p>Base exception class for all service exceptions from Translate service.</p>
71
74
  *
72
75
  */
73
- export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, TranslateClientResolvedConfig> {
74
- readonly input: ListTagsForResourceCommandInput;
75
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
- /**
77
- * @public
78
- */
79
- constructor(input: ListTagsForResourceCommandInput);
80
- /**
81
- * @internal
82
- */
83
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
84
- /**
85
- * @internal
86
- */
87
- private serialize;
88
- /**
89
- * @internal
90
- */
91
- private deserialize;
76
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
92
77
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ListTerminologiesRequest, ListTerminologiesResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListTerminologiesCommandInput extends ListTerminologiesRequest
21
20
  */
22
21
  export interface ListTerminologiesCommandOutput extends ListTerminologiesResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListTerminologiesCommand_base: {
24
+ new (input: ListTerminologiesCommandInput): import("@smithy/smithy-client").CommandImpl<ListTerminologiesCommandInput, ListTerminologiesCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Provides a list of custom terminologies associated with your account.</p>
@@ -86,23 +89,5 @@ export interface ListTerminologiesCommandOutput extends ListTerminologiesRespons
86
89
  * <p>Base exception class for all service exceptions from Translate service.</p>
87
90
  *
88
91
  */
89
- export declare class ListTerminologiesCommand extends $Command<ListTerminologiesCommandInput, ListTerminologiesCommandOutput, TranslateClientResolvedConfig> {
90
- readonly input: ListTerminologiesCommandInput;
91
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
92
- /**
93
- * @public
94
- */
95
- constructor(input: ListTerminologiesCommandInput);
96
- /**
97
- * @internal
98
- */
99
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTerminologiesCommandInput, ListTerminologiesCommandOutput>;
100
- /**
101
- * @internal
102
- */
103
- private serialize;
104
- /**
105
- * @internal
106
- */
107
- private deserialize;
92
+ export declare class ListTerminologiesCommand extends ListTerminologiesCommand_base {
108
93
  }