@aws-sdk/client-translate 3.489.0 → 3.495.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 (37) hide show
  1. package/dist-cjs/Translate.js +1 -49
  2. package/dist-cjs/TranslateClient.js +1 -43
  3. package/dist-cjs/commands/CreateParallelDataCommand.js +1 -28
  4. package/dist-cjs/commands/DeleteParallelDataCommand.js +1 -28
  5. package/dist-cjs/commands/DeleteTerminologyCommand.js +1 -28
  6. package/dist-cjs/commands/DescribeTextTranslationJobCommand.js +1 -28
  7. package/dist-cjs/commands/GetParallelDataCommand.js +1 -28
  8. package/dist-cjs/commands/GetTerminologyCommand.js +1 -28
  9. package/dist-cjs/commands/ImportTerminologyCommand.js +1 -29
  10. package/dist-cjs/commands/ListLanguagesCommand.js +1 -28
  11. package/dist-cjs/commands/ListParallelDataCommand.js +1 -28
  12. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  13. package/dist-cjs/commands/ListTerminologiesCommand.js +1 -28
  14. package/dist-cjs/commands/ListTextTranslationJobsCommand.js +1 -28
  15. package/dist-cjs/commands/StartTextTranslationJobCommand.js +1 -28
  16. package/dist-cjs/commands/StopTextTranslationJobCommand.js +1 -28
  17. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  18. package/dist-cjs/commands/TranslateDocumentCommand.js +1 -29
  19. package/dist-cjs/commands/TranslateTextCommand.js +1 -28
  20. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  21. package/dist-cjs/commands/UpdateParallelDataCommand.js +1 -28
  22. package/dist-cjs/commands/index.js +1 -22
  23. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  24. package/dist-cjs/extensionConfiguration.js +1 -2
  25. package/dist-cjs/index.js +2351 -11
  26. package/dist-cjs/models/TranslateServiceException.js +1 -12
  27. package/dist-cjs/models/index.js +1 -4
  28. package/dist-cjs/models/models_0.js +1 -307
  29. package/dist-cjs/pagination/Interfaces.js +1 -2
  30. package/dist-cjs/pagination/ListLanguagesPaginator.js +1 -7
  31. package/dist-cjs/pagination/ListParallelDataPaginator.js +1 -7
  32. package/dist-cjs/pagination/ListTerminologiesPaginator.js +1 -7
  33. package/dist-cjs/pagination/ListTextTranslationJobsPaginator.js +1 -7
  34. package/dist-cjs/pagination/index.js +1 -8
  35. package/dist-cjs/protocols/Aws_json1_1.js +1 -1415
  36. package/dist-cjs/runtimeExtensions.js +1 -22
  37. package/package.json +40 -40
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateParallelDataCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateParallelDataCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AWSShineFrontendService_20170701", "UpdateParallelData", {})
22
- .n("TranslateClient", "UpdateParallelDataCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_UpdateParallelDataCommand)
25
- .de(Aws_json1_1_1.de_UpdateParallelDataCommand)
26
- .build() {
27
- }
28
- exports.UpdateParallelDataCommand = UpdateParallelDataCommand;
1
+ module.exports = require("../index.js");
@@ -1,22 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./CreateParallelDataCommand"), exports);
5
- tslib_1.__exportStar(require("./DeleteParallelDataCommand"), exports);
6
- tslib_1.__exportStar(require("./DeleteTerminologyCommand"), exports);
7
- tslib_1.__exportStar(require("./DescribeTextTranslationJobCommand"), exports);
8
- tslib_1.__exportStar(require("./GetParallelDataCommand"), exports);
9
- tslib_1.__exportStar(require("./GetTerminologyCommand"), exports);
10
- tslib_1.__exportStar(require("./ImportTerminologyCommand"), exports);
11
- tslib_1.__exportStar(require("./ListLanguagesCommand"), exports);
12
- tslib_1.__exportStar(require("./ListParallelDataCommand"), exports);
13
- tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
14
- tslib_1.__exportStar(require("./ListTerminologiesCommand"), exports);
15
- tslib_1.__exportStar(require("./ListTextTranslationJobsCommand"), exports);
16
- tslib_1.__exportStar(require("./StartTextTranslationJobCommand"), exports);
17
- tslib_1.__exportStar(require("./StopTextTranslationJobCommand"), exports);
18
- tslib_1.__exportStar(require("./TagResourceCommand"), exports);
19
- tslib_1.__exportStar(require("./TranslateDocumentCommand"), exports);
20
- tslib_1.__exportStar(require("./TranslateTextCommand"), exports);
21
- tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
22
- tslib_1.__exportStar(require("./UpdateParallelDataCommand"), exports);
1
+ module.exports = require("../index.js");
@@ -1,18 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
- const resolveClientEndpointParameters = (options) => {
5
- return {
6
- ...options,
7
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
8
- useFipsEndpoint: options.useFipsEndpoint ?? false,
9
- defaultSigningName: "translate",
10
- };
11
- };
12
- exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
- exports.commonParams = {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("./index.js");