@aws-sdk/client-translate 3.477.0 → 3.481.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 (97) 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-cjs/pagination/ListLanguagesPaginator.js +2 -24
  22. package/dist-cjs/pagination/ListParallelDataPaginator.js +2 -24
  23. package/dist-cjs/pagination/ListTerminologiesPaginator.js +2 -24
  24. package/dist-cjs/pagination/ListTextTranslationJobsPaginator.js +2 -24
  25. package/dist-es/commands/CreateParallelDataCommand.js +18 -41
  26. package/dist-es/commands/DeleteParallelDataCommand.js +18 -41
  27. package/dist-es/commands/DeleteTerminologyCommand.js +18 -41
  28. package/dist-es/commands/DescribeTextTranslationJobCommand.js +18 -41
  29. package/dist-es/commands/GetParallelDataCommand.js +18 -41
  30. package/dist-es/commands/GetTerminologyCommand.js +18 -41
  31. package/dist-es/commands/ImportTerminologyCommand.js +18 -41
  32. package/dist-es/commands/ListLanguagesCommand.js +18 -41
  33. package/dist-es/commands/ListParallelDataCommand.js +18 -41
  34. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  35. package/dist-es/commands/ListTerminologiesCommand.js +18 -41
  36. package/dist-es/commands/ListTextTranslationJobsCommand.js +18 -41
  37. package/dist-es/commands/StartTextTranslationJobCommand.js +18 -41
  38. package/dist-es/commands/StopTextTranslationJobCommand.js +18 -41
  39. package/dist-es/commands/TagResourceCommand.js +18 -41
  40. package/dist-es/commands/TranslateDocumentCommand.js +18 -41
  41. package/dist-es/commands/TranslateTextCommand.js +18 -41
  42. package/dist-es/commands/UntagResourceCommand.js +18 -41
  43. package/dist-es/commands/UpdateParallelDataCommand.js +18 -41
  44. package/dist-es/endpoint/EndpointParameters.js +6 -0
  45. package/dist-es/pagination/ListLanguagesPaginator.js +2 -23
  46. package/dist-es/pagination/ListParallelDataPaginator.js +2 -23
  47. package/dist-es/pagination/ListTerminologiesPaginator.js +2 -23
  48. package/dist-es/pagination/ListTextTranslationJobsPaginator.js +2 -23
  49. package/dist-types/commands/CreateParallelDataCommand.d.ts +6 -21
  50. package/dist-types/commands/DeleteParallelDataCommand.d.ts +6 -21
  51. package/dist-types/commands/DeleteTerminologyCommand.d.ts +6 -21
  52. package/dist-types/commands/DescribeTextTranslationJobCommand.d.ts +6 -21
  53. package/dist-types/commands/GetParallelDataCommand.d.ts +6 -21
  54. package/dist-types/commands/GetTerminologyCommand.d.ts +6 -21
  55. package/dist-types/commands/ImportTerminologyCommand.d.ts +6 -21
  56. package/dist-types/commands/ListLanguagesCommand.d.ts +6 -21
  57. package/dist-types/commands/ListParallelDataCommand.d.ts +6 -21
  58. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  59. package/dist-types/commands/ListTerminologiesCommand.d.ts +6 -21
  60. package/dist-types/commands/ListTextTranslationJobsCommand.d.ts +6 -21
  61. package/dist-types/commands/StartTextTranslationJobCommand.d.ts +6 -21
  62. package/dist-types/commands/StopTextTranslationJobCommand.d.ts +6 -21
  63. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  64. package/dist-types/commands/TranslateDocumentCommand.d.ts +6 -21
  65. package/dist-types/commands/TranslateTextCommand.d.ts +6 -21
  66. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  67. package/dist-types/commands/UpdateParallelDataCommand.d.ts +6 -21
  68. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  69. package/dist-types/pagination/ListLanguagesPaginator.d.ts +1 -1
  70. package/dist-types/pagination/ListParallelDataPaginator.d.ts +1 -1
  71. package/dist-types/pagination/ListTerminologiesPaginator.d.ts +1 -1
  72. package/dist-types/pagination/ListTextTranslationJobsPaginator.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/CreateParallelDataCommand.d.ts +14 -23
  74. package/dist-types/ts3.4/commands/DeleteParallelDataCommand.d.ts +14 -23
  75. package/dist-types/ts3.4/commands/DeleteTerminologyCommand.d.ts +14 -23
  76. package/dist-types/ts3.4/commands/DescribeTextTranslationJobCommand.d.ts +12 -24
  77. package/dist-types/ts3.4/commands/GetParallelDataCommand.d.ts +14 -23
  78. package/dist-types/ts3.4/commands/GetTerminologyCommand.d.ts +14 -23
  79. package/dist-types/ts3.4/commands/ImportTerminologyCommand.d.ts +14 -23
  80. package/dist-types/ts3.4/commands/ListLanguagesCommand.d.ts +14 -23
  81. package/dist-types/ts3.4/commands/ListParallelDataCommand.d.ts +14 -23
  82. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  83. package/dist-types/ts3.4/commands/ListTerminologiesCommand.d.ts +14 -23
  84. package/dist-types/ts3.4/commands/ListTextTranslationJobsCommand.d.ts +12 -24
  85. package/dist-types/ts3.4/commands/StartTextTranslationJobCommand.d.ts +12 -24
  86. package/dist-types/ts3.4/commands/StopTextTranslationJobCommand.d.ts +12 -24
  87. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  88. package/dist-types/ts3.4/commands/TranslateDocumentCommand.d.ts +14 -23
  89. package/dist-types/ts3.4/commands/TranslateTextCommand.d.ts +14 -23
  90. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  91. package/dist-types/ts3.4/commands/UpdateParallelDataCommand.d.ts +14 -23
  92. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  93. package/dist-types/ts3.4/pagination/ListLanguagesPaginator.d.ts +3 -3
  94. package/dist-types/ts3.4/pagination/ListParallelDataPaginator.d.ts +3 -3
  95. package/dist-types/ts3.4/pagination/ListTerminologiesPaginator.d.ts +3 -3
  96. package/dist-types/ts3.4/pagination/ListTextTranslationJobsPaginator.d.ts +3 -3
  97. package/package.json +11 -10
@@ -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
  }
@@ -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 { ListTextTranslationJobsRequest, ListTextTranslationJobsResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListTextTranslationJobsCommandInput extends ListTextTranslation
21
20
  */
22
21
  export interface ListTextTranslationJobsCommandOutput extends ListTextTranslationJobsResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListTextTranslationJobsCommand_base: {
24
+ new (input: ListTextTranslationJobsCommandInput): import("@smithy/smithy-client").CommandImpl<ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets a list of the batch translation jobs that you have submitted.</p>
@@ -114,23 +117,5 @@ export interface ListTextTranslationJobsCommandOutput extends ListTextTranslatio
114
117
  * <p>Base exception class for all service exceptions from Translate service.</p>
115
118
  *
116
119
  */
117
- export declare class ListTextTranslationJobsCommand extends $Command<ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput, TranslateClientResolvedConfig> {
118
- readonly input: ListTextTranslationJobsCommandInput;
119
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
120
- /**
121
- * @public
122
- */
123
- constructor(input: ListTextTranslationJobsCommandInput);
124
- /**
125
- * @internal
126
- */
127
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTextTranslationJobsCommandInput, ListTextTranslationJobsCommandOutput>;
128
- /**
129
- * @internal
130
- */
131
- private serialize;
132
- /**
133
- * @internal
134
- */
135
- private deserialize;
120
+ export declare class ListTextTranslationJobsCommand extends ListTextTranslationJobsCommand_base {
136
121
  }
@@ -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 { StartTextTranslationJobRequest, StartTextTranslationJobResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface StartTextTranslationJobCommandInput extends StartTextTranslatio
21
20
  */
22
21
  export interface StartTextTranslationJobCommandOutput extends StartTextTranslationJobResponse, __MetadataBearer {
23
22
  }
23
+ declare const StartTextTranslationJobCommand_base: {
24
+ new (input: StartTextTranslationJobCommandInput): import("@smithy/smithy-client").CommandImpl<StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Starts an asynchronous batch translation job. Use batch translation jobs to
@@ -112,23 +115,5 @@ export interface StartTextTranslationJobCommandOutput extends StartTextTranslati
112
115
  * <p>Base exception class for all service exceptions from Translate service.</p>
113
116
  *
114
117
  */
115
- export declare class StartTextTranslationJobCommand extends $Command<StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput, TranslateClientResolvedConfig> {
116
- readonly input: StartTextTranslationJobCommandInput;
117
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
118
- /**
119
- * @public
120
- */
121
- constructor(input: StartTextTranslationJobCommandInput);
122
- /**
123
- * @internal
124
- */
125
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartTextTranslationJobCommandInput, StartTextTranslationJobCommandOutput>;
126
- /**
127
- * @internal
128
- */
129
- private serialize;
130
- /**
131
- * @internal
132
- */
133
- private deserialize;
118
+ export declare class StartTextTranslationJobCommand extends StartTextTranslationJobCommand_base {
134
119
  }
@@ -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 { StopTextTranslationJobRequest, StopTextTranslationJobResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface StopTextTranslationJobCommandInput extends StopTextTranslationJ
21
20
  */
22
21
  export interface StopTextTranslationJobCommandOutput extends StopTextTranslationJobResponse, __MetadataBearer {
23
22
  }
23
+ declare const StopTextTranslationJobCommand_base: {
24
+ new (input: StopTextTranslationJobCommandInput): import("@smithy/smithy-client").CommandImpl<StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Stops an asynchronous batch translation job that is in progress.</p>
@@ -70,23 +73,5 @@ export interface StopTextTranslationJobCommandOutput extends StopTextTranslation
70
73
  * <p>Base exception class for all service exceptions from Translate service.</p>
71
74
  *
72
75
  */
73
- export declare class StopTextTranslationJobCommand extends $Command<StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput, TranslateClientResolvedConfig> {
74
- readonly input: StopTextTranslationJobCommandInput;
75
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
- /**
77
- * @public
78
- */
79
- constructor(input: StopTextTranslationJobCommandInput);
80
- /**
81
- * @internal
82
- */
83
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopTextTranslationJobCommandInput, StopTextTranslationJobCommandOutput>;
84
- /**
85
- * @internal
86
- */
87
- private serialize;
88
- /**
89
- * @internal
90
- */
91
- private deserialize;
76
+ export declare class StopTextTranslationJobCommand extends StopTextTranslationJobCommand_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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface TagResourceCommandInput extends TagResourceRequest {
21
20
  */
22
21
  export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
22
  }
23
+ declare const TagResourceCommand_base: {
24
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Associates a specific tag with a resource. A tag is a key-value pair
@@ -77,23 +80,5 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
77
80
  * <p>Base exception class for all service exceptions from Translate service.</p>
78
81
  *
79
82
  */
80
- export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, TranslateClientResolvedConfig> {
81
- readonly input: TagResourceCommandInput;
82
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
83
- /**
84
- * @public
85
- */
86
- constructor(input: TagResourceCommandInput);
87
- /**
88
- * @internal
89
- */
90
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
91
- /**
92
- * @internal
93
- */
94
- private serialize;
95
- /**
96
- * @internal
97
- */
98
- private deserialize;
83
+ export declare class TagResourceCommand extends TagResourceCommand_base {
99
84
  }
@@ -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 { TranslateDocumentRequest, TranslateDocumentResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface TranslateDocumentCommandInput extends TranslateDocumentRequest
21
20
  */
22
21
  export interface TranslateDocumentCommandOutput extends TranslateDocumentResponse, __MetadataBearer {
23
22
  }
23
+ declare const TranslateDocumentCommand_base: {
24
+ new (input: TranslateDocumentCommandInput): import("@smithy/smithy-client").CommandImpl<TranslateDocumentCommandInput, TranslateDocumentCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Translates the input document from the source language to the target language.
@@ -122,23 +125,5 @@ export interface TranslateDocumentCommandOutput extends TranslateDocumentRespons
122
125
  * <p>Base exception class for all service exceptions from Translate service.</p>
123
126
  *
124
127
  */
125
- export declare class TranslateDocumentCommand extends $Command<TranslateDocumentCommandInput, TranslateDocumentCommandOutput, TranslateClientResolvedConfig> {
126
- readonly input: TranslateDocumentCommandInput;
127
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
128
- /**
129
- * @public
130
- */
131
- constructor(input: TranslateDocumentCommandInput);
132
- /**
133
- * @internal
134
- */
135
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TranslateDocumentCommandInput, TranslateDocumentCommandOutput>;
136
- /**
137
- * @internal
138
- */
139
- private serialize;
140
- /**
141
- * @internal
142
- */
143
- private deserialize;
128
+ export declare class TranslateDocumentCommand extends TranslateDocumentCommand_base {
144
129
  }
@@ -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 { TranslateTextRequest, TranslateTextResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface TranslateTextCommandInput extends TranslateTextRequest {
21
20
  */
22
21
  export interface TranslateTextCommandOutput extends TranslateTextResponse, __MetadataBearer {
23
22
  }
23
+ declare const TranslateTextCommand_base: {
24
+ new (input: TranslateTextCommandInput): import("@smithy/smithy-client").CommandImpl<TranslateTextCommandInput, TranslateTextCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Translates input text from the source language to the target language. For a list of
@@ -114,23 +117,5 @@ export interface TranslateTextCommandOutput extends TranslateTextResponse, __Met
114
117
  * <p>Base exception class for all service exceptions from Translate service.</p>
115
118
  *
116
119
  */
117
- export declare class TranslateTextCommand extends $Command<TranslateTextCommandInput, TranslateTextCommandOutput, TranslateClientResolvedConfig> {
118
- readonly input: TranslateTextCommandInput;
119
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
120
- /**
121
- * @public
122
- */
123
- constructor(input: TranslateTextCommandInput);
124
- /**
125
- * @internal
126
- */
127
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TranslateTextCommandInput, TranslateTextCommandOutput>;
128
- /**
129
- * @internal
130
- */
131
- private serialize;
132
- /**
133
- * @internal
134
- */
135
- private deserialize;
120
+ export declare class TranslateTextCommand extends TranslateTextCommand_base {
136
121
  }
@@ -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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
21
20
  */
22
21
  export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
23
22
  }
23
+ declare const UntagResourceCommand_base: {
24
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Removes a specific tag associated with an Amazon Translate resource.
@@ -70,23 +73,5 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
70
73
  * <p>Base exception class for all service exceptions from Translate service.</p>
71
74
  *
72
75
  */
73
- export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, TranslateClientResolvedConfig> {
74
- readonly input: UntagResourceCommandInput;
75
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
- /**
77
- * @public
78
- */
79
- constructor(input: UntagResourceCommandInput);
80
- /**
81
- * @internal
82
- */
83
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
84
- /**
85
- * @internal
86
- */
87
- private serialize;
88
- /**
89
- * @internal
90
- */
91
- private deserialize;
76
+ export declare class UntagResourceCommand extends UntagResourceCommand_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 { UpdateParallelDataRequest, UpdateParallelDataResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdateParallelDataCommandInput extends UpdateParallelDataReques
21
20
  */
22
21
  export interface UpdateParallelDataCommandOutput extends UpdateParallelDataResponse, __MetadataBearer {
23
22
  }
23
+ declare const UpdateParallelDataCommand_base: {
24
+ new (input: UpdateParallelDataCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput, TranslateClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Updates a previously created parallel data resource by importing a new input file from
@@ -92,23 +95,5 @@ export interface UpdateParallelDataCommandOutput extends UpdateParallelDataRespo
92
95
  * <p>Base exception class for all service exceptions from Translate service.</p>
93
96
  *
94
97
  */
95
- export declare class UpdateParallelDataCommand extends $Command<UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput, TranslateClientResolvedConfig> {
96
- readonly input: UpdateParallelDataCommandInput;
97
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
98
- /**
99
- * @public
100
- */
101
- constructor(input: UpdateParallelDataCommandInput);
102
- /**
103
- * @internal
104
- */
105
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput>;
106
- /**
107
- * @internal
108
- */
109
- private serialize;
110
- /**
111
- * @internal
112
- */
113
- private deserialize;
98
+ export declare class UpdateParallelDataCommand extends UpdateParallelDataCommand_base {
114
99
  }
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
14
14
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
15
  defaultSigningName: string;
16
16
  };
17
+ export declare const commonParams: {
18
+ readonly UseFIPS: {
19
+ readonly type: "builtInParams";
20
+ readonly name: "useFipsEndpoint";
21
+ };
22
+ readonly Endpoint: {
23
+ readonly type: "builtInParams";
24
+ readonly name: "endpoint";
25
+ };
26
+ readonly Region: {
27
+ readonly type: "builtInParams";
28
+ readonly name: "region";
29
+ };
30
+ readonly UseDualStack: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useDualstackEndpoint";
33
+ };
34
+ };
17
35
  export interface EndpointParameters extends __EndpointParameters {
18
36
  Region?: string;
19
37
  UseDualStack?: boolean;
@@ -4,4 +4,4 @@ import { TranslatePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListLanguages(config: TranslatePaginationConfiguration, input: ListLanguagesCommandInput, ...additionalArguments: any): Paginator<ListLanguagesCommandOutput>;
7
+ export declare const paginateListLanguages: (config: TranslatePaginationConfiguration, input: ListLanguagesCommandInput, ...rest: any[]) => Paginator<ListLanguagesCommandOutput>;