@aws-sdk/client-translate 3.296.0 → 3.298.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 (67) hide show
  1. package/dist-cjs/commands/CreateParallelDataCommand.js +2 -3
  2. package/dist-cjs/commands/DeleteParallelDataCommand.js +2 -3
  3. package/dist-cjs/commands/DeleteTerminologyCommand.js +2 -3
  4. package/dist-cjs/commands/DescribeTextTranslationJobCommand.js +2 -3
  5. package/dist-cjs/commands/GetParallelDataCommand.js +2 -3
  6. package/dist-cjs/commands/GetTerminologyCommand.js +2 -3
  7. package/dist-cjs/commands/ImportTerminologyCommand.js +1 -1
  8. package/dist-cjs/commands/ListLanguagesCommand.js +2 -3
  9. package/dist-cjs/commands/ListParallelDataCommand.js +2 -3
  10. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
  11. package/dist-cjs/commands/ListTerminologiesCommand.js +2 -3
  12. package/dist-cjs/commands/ListTextTranslationJobsCommand.js +2 -3
  13. package/dist-cjs/commands/StartTextTranslationJobCommand.js +2 -3
  14. package/dist-cjs/commands/StopTextTranslationJobCommand.js +2 -3
  15. package/dist-cjs/commands/TagResourceCommand.js +2 -3
  16. package/dist-cjs/commands/TranslateTextCommand.js +2 -3
  17. package/dist-cjs/commands/UntagResourceCommand.js +2 -3
  18. package/dist-cjs/commands/UpdateParallelDataCommand.js +2 -3
  19. package/dist-cjs/models/models_0.js +1 -202
  20. package/dist-es/commands/CreateParallelDataCommand.js +2 -3
  21. package/dist-es/commands/DeleteParallelDataCommand.js +2 -3
  22. package/dist-es/commands/DeleteTerminologyCommand.js +2 -3
  23. package/dist-es/commands/DescribeTextTranslationJobCommand.js +2 -3
  24. package/dist-es/commands/GetParallelDataCommand.js +2 -3
  25. package/dist-es/commands/GetTerminologyCommand.js +2 -3
  26. package/dist-es/commands/ImportTerminologyCommand.js +2 -2
  27. package/dist-es/commands/ListLanguagesCommand.js +2 -3
  28. package/dist-es/commands/ListParallelDataCommand.js +2 -3
  29. package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
  30. package/dist-es/commands/ListTerminologiesCommand.js +2 -3
  31. package/dist-es/commands/ListTextTranslationJobsCommand.js +2 -3
  32. package/dist-es/commands/StartTextTranslationJobCommand.js +2 -3
  33. package/dist-es/commands/StopTextTranslationJobCommand.js +2 -3
  34. package/dist-es/commands/TagResourceCommand.js +2 -3
  35. package/dist-es/commands/TranslateTextCommand.js +2 -3
  36. package/dist-es/commands/UntagResourceCommand.js +2 -3
  37. package/dist-es/commands/UpdateParallelDataCommand.js +2 -3
  38. package/dist-es/models/models_0.js +0 -150
  39. package/dist-types/Translate.d.ts +19 -0
  40. package/dist-types/TranslateClient.d.ts +24 -4
  41. package/dist-types/commands/CreateParallelDataCommand.d.ts +16 -0
  42. package/dist-types/commands/DeleteParallelDataCommand.d.ts +16 -0
  43. package/dist-types/commands/DeleteTerminologyCommand.d.ts +16 -0
  44. package/dist-types/commands/DescribeTextTranslationJobCommand.d.ts +16 -0
  45. package/dist-types/commands/GetParallelDataCommand.d.ts +16 -0
  46. package/dist-types/commands/GetTerminologyCommand.d.ts +16 -0
  47. package/dist-types/commands/ImportTerminologyCommand.d.ts +16 -0
  48. package/dist-types/commands/ListLanguagesCommand.d.ts +16 -0
  49. package/dist-types/commands/ListParallelDataCommand.d.ts +16 -0
  50. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  51. package/dist-types/commands/ListTerminologiesCommand.d.ts +16 -0
  52. package/dist-types/commands/ListTextTranslationJobsCommand.d.ts +16 -0
  53. package/dist-types/commands/StartTextTranslationJobCommand.d.ts +16 -0
  54. package/dist-types/commands/StopTextTranslationJobCommand.d.ts +16 -0
  55. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  56. package/dist-types/commands/TranslateTextCommand.d.ts +16 -0
  57. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  58. package/dist-types/commands/UpdateParallelDataCommand.d.ts +16 -0
  59. package/dist-types/models/TranslateServiceException.d.ts +2 -0
  60. package/dist-types/models/models_0.d.ts +167 -200
  61. package/dist-types/pagination/Interfaces.d.ts +3 -0
  62. package/dist-types/pagination/ListLanguagesPaginator.d.ts +3 -0
  63. package/dist-types/pagination/ListParallelDataPaginator.d.ts +3 -0
  64. package/dist-types/pagination/ListTerminologiesPaginator.d.ts +3 -0
  65. package/dist-types/pagination/ListTextTranslationJobsPaginator.d.ts +3 -0
  66. package/dist-types/ts3.4/models/models_0.d.ts +0 -142
  67. package/package.json +4 -3
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeTextTranslationJobRequestFilterSensitiveLog, DescribeTextTranslationJobResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeTextTranslationJobCommand, serializeAws_json1_1DescribeTextTranslationJobCommand, } from "../protocols/Aws_json1_1";
6
5
  export class DescribeTextTranslationJobCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class DescribeTextTranslationJobCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: DescribeTextTranslationJobRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: DescribeTextTranslationJobResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetParallelDataRequestFilterSensitiveLog, GetParallelDataResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetParallelDataCommand, serializeAws_json1_1GetParallelDataCommand, } from "../protocols/Aws_json1_1";
6
5
  export class GetParallelDataCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class GetParallelDataCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: GetParallelDataRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: GetParallelDataResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetTerminologyRequestFilterSensitiveLog, GetTerminologyResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetTerminologyCommand, serializeAws_json1_1GetTerminologyCommand, } from "../protocols/Aws_json1_1";
6
5
  export class GetTerminologyCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class GetTerminologyCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: GetTerminologyRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: GetTerminologyResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ImportTerminologyRequestFilterSensitiveLog, ImportTerminologyResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { ImportTerminologyRequestFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ImportTerminologyCommand, serializeAws_json1_1ImportTerminologyCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ImportTerminologyCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
@@ -28,7 +28,7 @@ export class ImportTerminologyCommand extends $Command {
28
28
  clientName,
29
29
  commandName,
30
30
  inputFilterSensitiveLog: ImportTerminologyRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: ImportTerminologyResponseFilterSensitiveLog,
31
+ outputFilterSensitiveLog: (_) => _,
32
32
  };
33
33
  const { requestHandler } = configuration;
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListLanguagesRequestFilterSensitiveLog, ListLanguagesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListLanguagesCommand, serializeAws_json1_1ListLanguagesCommand, } from "../protocols/Aws_json1_1";
6
5
  export class ListLanguagesCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class ListLanguagesCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: ListLanguagesRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: ListLanguagesResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListParallelDataRequestFilterSensitiveLog, ListParallelDataResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListParallelDataCommand, serializeAws_json1_1ListParallelDataCommand, } from "../protocols/Aws_json1_1";
6
5
  export class ListParallelDataCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class ListParallelDataCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: ListParallelDataRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: ListParallelDataResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
6
5
  export class ListTagsForResourceCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class ListTagsForResourceCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListTerminologiesRequestFilterSensitiveLog, ListTerminologiesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListTerminologiesCommand, serializeAws_json1_1ListTerminologiesCommand, } from "../protocols/Aws_json1_1";
6
5
  export class ListTerminologiesCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class ListTerminologiesCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: ListTerminologiesRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: ListTerminologiesResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListTextTranslationJobsRequestFilterSensitiveLog, ListTextTranslationJobsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListTextTranslationJobsCommand, serializeAws_json1_1ListTextTranslationJobsCommand, } from "../protocols/Aws_json1_1";
6
5
  export class ListTextTranslationJobsCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class ListTextTranslationJobsCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: ListTextTranslationJobsRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: ListTextTranslationJobsResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { StartTextTranslationJobRequestFilterSensitiveLog, StartTextTranslationJobResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1StartTextTranslationJobCommand, serializeAws_json1_1StartTextTranslationJobCommand, } from "../protocols/Aws_json1_1";
6
5
  export class StartTextTranslationJobCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class StartTextTranslationJobCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: StartTextTranslationJobRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: StartTextTranslationJobResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { StopTextTranslationJobRequestFilterSensitiveLog, StopTextTranslationJobResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1StopTextTranslationJobCommand, serializeAws_json1_1StopTextTranslationJobCommand, } from "../protocols/Aws_json1_1";
6
5
  export class StopTextTranslationJobCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class StopTextTranslationJobCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: StopTextTranslationJobRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: StopTextTranslationJobResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
6
5
  export class TagResourceCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class TagResourceCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { TranslateTextRequestFilterSensitiveLog, TranslateTextResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1TranslateTextCommand, serializeAws_json1_1TranslateTextCommand, } from "../protocols/Aws_json1_1";
6
5
  export class TranslateTextCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class TranslateTextCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: TranslateTextRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: TranslateTextResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
6
5
  export class UntagResourceCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class UntagResourceCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UpdateParallelDataRequestFilterSensitiveLog, UpdateParallelDataResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UpdateParallelDataCommand, serializeAws_json1_1UpdateParallelDataCommand, } from "../protocols/Aws_json1_1";
6
5
  export class UpdateParallelDataCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class UpdateParallelDataCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: UpdateParallelDataRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: UpdateParallelDataResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -264,81 +264,6 @@ export class TextSizeLimitExceededException extends __BaseException {
264
264
  this.Message = opts.Message;
265
265
  }
266
266
  }
267
- export const TermFilterSensitiveLog = (obj) => ({
268
- ...obj,
269
- });
270
- export const AppliedTerminologyFilterSensitiveLog = (obj) => ({
271
- ...obj,
272
- });
273
- export const EncryptionKeyFilterSensitiveLog = (obj) => ({
274
- ...obj,
275
- });
276
- export const ParallelDataConfigFilterSensitiveLog = (obj) => ({
277
- ...obj,
278
- });
279
- export const TagFilterSensitiveLog = (obj) => ({
280
- ...obj,
281
- });
282
- export const CreateParallelDataRequestFilterSensitiveLog = (obj) => ({
283
- ...obj,
284
- });
285
- export const CreateParallelDataResponseFilterSensitiveLog = (obj) => ({
286
- ...obj,
287
- });
288
- export const DeleteParallelDataRequestFilterSensitiveLog = (obj) => ({
289
- ...obj,
290
- });
291
- export const DeleteParallelDataResponseFilterSensitiveLog = (obj) => ({
292
- ...obj,
293
- });
294
- export const DeleteTerminologyRequestFilterSensitiveLog = (obj) => ({
295
- ...obj,
296
- });
297
- export const DescribeTextTranslationJobRequestFilterSensitiveLog = (obj) => ({
298
- ...obj,
299
- });
300
- export const InputDataConfigFilterSensitiveLog = (obj) => ({
301
- ...obj,
302
- });
303
- export const JobDetailsFilterSensitiveLog = (obj) => ({
304
- ...obj,
305
- });
306
- export const OutputDataConfigFilterSensitiveLog = (obj) => ({
307
- ...obj,
308
- });
309
- export const TranslationSettingsFilterSensitiveLog = (obj) => ({
310
- ...obj,
311
- });
312
- export const TextTranslationJobPropertiesFilterSensitiveLog = (obj) => ({
313
- ...obj,
314
- });
315
- export const DescribeTextTranslationJobResponseFilterSensitiveLog = (obj) => ({
316
- ...obj,
317
- });
318
- export const GetParallelDataRequestFilterSensitiveLog = (obj) => ({
319
- ...obj,
320
- });
321
- export const ParallelDataDataLocationFilterSensitiveLog = (obj) => ({
322
- ...obj,
323
- });
324
- export const ParallelDataPropertiesFilterSensitiveLog = (obj) => ({
325
- ...obj,
326
- });
327
- export const GetParallelDataResponseFilterSensitiveLog = (obj) => ({
328
- ...obj,
329
- });
330
- export const GetTerminologyRequestFilterSensitiveLog = (obj) => ({
331
- ...obj,
332
- });
333
- export const TerminologyDataLocationFilterSensitiveLog = (obj) => ({
334
- ...obj,
335
- });
336
- export const TerminologyPropertiesFilterSensitiveLog = (obj) => ({
337
- ...obj,
338
- });
339
- export const GetTerminologyResponseFilterSensitiveLog = (obj) => ({
340
- ...obj,
341
- });
342
267
  export const TerminologyDataFilterSensitiveLog = (obj) => ({
343
268
  ...obj,
344
269
  ...(obj.File && { File: SENSITIVE_STRING }),
@@ -347,78 +272,3 @@ export const ImportTerminologyRequestFilterSensitiveLog = (obj) => ({
347
272
  ...obj,
348
273
  ...(obj.TerminologyData && { TerminologyData: TerminologyDataFilterSensitiveLog(obj.TerminologyData) }),
349
274
  });
350
- export const ImportTerminologyResponseFilterSensitiveLog = (obj) => ({
351
- ...obj,
352
- });
353
- export const ListLanguagesRequestFilterSensitiveLog = (obj) => ({
354
- ...obj,
355
- });
356
- export const LanguageFilterSensitiveLog = (obj) => ({
357
- ...obj,
358
- });
359
- export const ListLanguagesResponseFilterSensitiveLog = (obj) => ({
360
- ...obj,
361
- });
362
- export const ListParallelDataRequestFilterSensitiveLog = (obj) => ({
363
- ...obj,
364
- });
365
- export const ListParallelDataResponseFilterSensitiveLog = (obj) => ({
366
- ...obj,
367
- });
368
- export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
369
- ...obj,
370
- });
371
- export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
372
- ...obj,
373
- });
374
- export const ListTerminologiesRequestFilterSensitiveLog = (obj) => ({
375
- ...obj,
376
- });
377
- export const ListTerminologiesResponseFilterSensitiveLog = (obj) => ({
378
- ...obj,
379
- });
380
- export const TextTranslationJobFilterFilterSensitiveLog = (obj) => ({
381
- ...obj,
382
- });
383
- export const ListTextTranslationJobsRequestFilterSensitiveLog = (obj) => ({
384
- ...obj,
385
- });
386
- export const ListTextTranslationJobsResponseFilterSensitiveLog = (obj) => ({
387
- ...obj,
388
- });
389
- export const StartTextTranslationJobRequestFilterSensitiveLog = (obj) => ({
390
- ...obj,
391
- });
392
- export const StartTextTranslationJobResponseFilterSensitiveLog = (obj) => ({
393
- ...obj,
394
- });
395
- export const StopTextTranslationJobRequestFilterSensitiveLog = (obj) => ({
396
- ...obj,
397
- });
398
- export const StopTextTranslationJobResponseFilterSensitiveLog = (obj) => ({
399
- ...obj,
400
- });
401
- export const TagResourceRequestFilterSensitiveLog = (obj) => ({
402
- ...obj,
403
- });
404
- export const TagResourceResponseFilterSensitiveLog = (obj) => ({
405
- ...obj,
406
- });
407
- export const TranslateTextRequestFilterSensitiveLog = (obj) => ({
408
- ...obj,
409
- });
410
- export const TranslateTextResponseFilterSensitiveLog = (obj) => ({
411
- ...obj,
412
- });
413
- export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
414
- ...obj,
415
- });
416
- export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
417
- ...obj,
418
- });
419
- export const UpdateParallelDataRequestFilterSensitiveLog = (obj) => ({
420
- ...obj,
421
- });
422
- export const UpdateParallelDataResponseFilterSensitiveLog = (obj) => ({
423
- ...obj,
424
- });
@@ -19,10 +19,12 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
19
19
  import { UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput } from "./commands/UpdateParallelDataCommand";
20
20
  import { TranslateClient } from "./TranslateClient";
21
21
  /**
22
+ * @public
22
23
  * <p>Provides translation of the input content from the source language to the target language.</p>
23
24
  */
24
25
  export declare class Translate extends TranslateClient {
25
26
  /**
27
+ * @public
26
28
  * <p>Creates a parallel data resource in Amazon Translate by importing an input file from
27
29
  * Amazon S3. Parallel data files contain examples that show how you want segments of text to be
28
30
  * translated. By adding parallel data, you can influence the style, tone, and word choice in
@@ -32,18 +34,21 @@ export declare class Translate extends TranslateClient {
32
34
  createParallelData(args: CreateParallelDataCommandInput, cb: (err: any, data?: CreateParallelDataCommandOutput) => void): void;
33
35
  createParallelData(args: CreateParallelDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateParallelDataCommandOutput) => void): void;
34
36
  /**
37
+ * @public
35
38
  * <p>Deletes a parallel data resource in Amazon Translate.</p>
36
39
  */
37
40
  deleteParallelData(args: DeleteParallelDataCommandInput, options?: __HttpHandlerOptions): Promise<DeleteParallelDataCommandOutput>;
38
41
  deleteParallelData(args: DeleteParallelDataCommandInput, cb: (err: any, data?: DeleteParallelDataCommandOutput) => void): void;
39
42
  deleteParallelData(args: DeleteParallelDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteParallelDataCommandOutput) => void): void;
40
43
  /**
44
+ * @public
41
45
  * <p>A synchronous action that deletes a custom terminology.</p>
42
46
  */
43
47
  deleteTerminology(args: DeleteTerminologyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTerminologyCommandOutput>;
44
48
  deleteTerminology(args: DeleteTerminologyCommandInput, cb: (err: any, data?: DeleteTerminologyCommandOutput) => void): void;
45
49
  deleteTerminology(args: DeleteTerminologyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTerminologyCommandOutput) => void): void;
46
50
  /**
51
+ * @public
47
52
  * <p>Gets the properties associated with an asynchronous batch translation job including name,
48
53
  * ID, status, source and target languages, input/output S3 buckets, and so on.</p>
49
54
  */
@@ -51,18 +56,21 @@ export declare class Translate extends TranslateClient {
51
56
  describeTextTranslationJob(args: DescribeTextTranslationJobCommandInput, cb: (err: any, data?: DescribeTextTranslationJobCommandOutput) => void): void;
52
57
  describeTextTranslationJob(args: DescribeTextTranslationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTextTranslationJobCommandOutput) => void): void;
53
58
  /**
59
+ * @public
54
60
  * <p>Provides information about a parallel data resource.</p>
55
61
  */
56
62
  getParallelData(args: GetParallelDataCommandInput, options?: __HttpHandlerOptions): Promise<GetParallelDataCommandOutput>;
57
63
  getParallelData(args: GetParallelDataCommandInput, cb: (err: any, data?: GetParallelDataCommandOutput) => void): void;
58
64
  getParallelData(args: GetParallelDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetParallelDataCommandOutput) => void): void;
59
65
  /**
66
+ * @public
60
67
  * <p>Retrieves a custom terminology.</p>
61
68
  */
62
69
  getTerminology(args: GetTerminologyCommandInput, options?: __HttpHandlerOptions): Promise<GetTerminologyCommandOutput>;
63
70
  getTerminology(args: GetTerminologyCommandInput, cb: (err: any, data?: GetTerminologyCommandOutput) => void): void;
64
71
  getTerminology(args: GetTerminologyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTerminologyCommandOutput) => void): void;
65
72
  /**
73
+ * @public
66
74
  * <p>Creates or updates a custom terminology, depending on whether one already exists for the
67
75
  * given terminology name. Importing a terminology with the same name as an existing one will
68
76
  * merge the terminologies based on the chosen merge strategy. The only supported merge strategy
@@ -76,18 +84,21 @@ export declare class Translate extends TranslateClient {
76
84
  importTerminology(args: ImportTerminologyCommandInput, cb: (err: any, data?: ImportTerminologyCommandOutput) => void): void;
77
85
  importTerminology(args: ImportTerminologyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportTerminologyCommandOutput) => void): void;
78
86
  /**
87
+ * @public
79
88
  * <p>Provides a list of languages (RFC-5646 codes and names) that Amazon Translate supports.</p>
80
89
  */
81
90
  listLanguages(args: ListLanguagesCommandInput, options?: __HttpHandlerOptions): Promise<ListLanguagesCommandOutput>;
82
91
  listLanguages(args: ListLanguagesCommandInput, cb: (err: any, data?: ListLanguagesCommandOutput) => void): void;
83
92
  listLanguages(args: ListLanguagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLanguagesCommandOutput) => void): void;
84
93
  /**
94
+ * @public
85
95
  * <p>Provides a list of your parallel data resources in Amazon Translate.</p>
86
96
  */
87
97
  listParallelData(args: ListParallelDataCommandInput, options?: __HttpHandlerOptions): Promise<ListParallelDataCommandOutput>;
88
98
  listParallelData(args: ListParallelDataCommandInput, cb: (err: any, data?: ListParallelDataCommandOutput) => void): void;
89
99
  listParallelData(args: ListParallelDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListParallelDataCommandOutput) => void): void;
90
100
  /**
101
+ * @public
91
102
  * <p>Lists all tags associated with a given Amazon Translate resource.
92
103
  * For more information, see <a href="https://docs.aws.amazon.com/translate/latest/dg/tagging.html">
93
104
  * Tagging your resources</a>.</p>
@@ -96,18 +107,21 @@ export declare class Translate extends TranslateClient {
96
107
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
97
108
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
98
109
  /**
110
+ * @public
99
111
  * <p>Provides a list of custom terminologies associated with your account.</p>
100
112
  */
101
113
  listTerminologies(args: ListTerminologiesCommandInput, options?: __HttpHandlerOptions): Promise<ListTerminologiesCommandOutput>;
102
114
  listTerminologies(args: ListTerminologiesCommandInput, cb: (err: any, data?: ListTerminologiesCommandOutput) => void): void;
103
115
  listTerminologies(args: ListTerminologiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTerminologiesCommandOutput) => void): void;
104
116
  /**
117
+ * @public
105
118
  * <p>Gets a list of the batch translation jobs that you have submitted.</p>
106
119
  */
107
120
  listTextTranslationJobs(args: ListTextTranslationJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListTextTranslationJobsCommandOutput>;
108
121
  listTextTranslationJobs(args: ListTextTranslationJobsCommandInput, cb: (err: any, data?: ListTextTranslationJobsCommandOutput) => void): void;
109
122
  listTextTranslationJobs(args: ListTextTranslationJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTextTranslationJobsCommandOutput) => void): void;
110
123
  /**
124
+ * @public
111
125
  * <p>Starts an asynchronous batch translation job. Use batch translation jobs to
112
126
  * translate large volumes of text across multiple documents at once.
113
127
  * For batch translation, you can input documents with different source languages (specify <code>auto</code>
@@ -122,6 +136,7 @@ export declare class Translate extends TranslateClient {
122
136
  startTextTranslationJob(args: StartTextTranslationJobCommandInput, cb: (err: any, data?: StartTextTranslationJobCommandOutput) => void): void;
123
137
  startTextTranslationJob(args: StartTextTranslationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartTextTranslationJobCommandOutput) => void): void;
124
138
  /**
139
+ * @public
125
140
  * <p>Stops an asynchronous batch translation job that is in progress.</p>
126
141
  * <p>If the job's state is <code>IN_PROGRESS</code>, the job will be marked for termination and
127
142
  * put into the <code>STOP_REQUESTED</code> state. If the job completes before it can be stopped,
@@ -134,6 +149,7 @@ export declare class Translate extends TranslateClient {
134
149
  stopTextTranslationJob(args: StopTextTranslationJobCommandInput, cb: (err: any, data?: StopTextTranslationJobCommandOutput) => void): void;
135
150
  stopTextTranslationJob(args: StopTextTranslationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopTextTranslationJobCommandOutput) => void): void;
136
151
  /**
152
+ * @public
137
153
  * <p>Associates a specific tag with a resource. A tag is a key-value pair
138
154
  * that adds as a metadata to a resource.
139
155
  * For more information, see <a href="https://docs.aws.amazon.com/translate/latest/dg/tagging.html">
@@ -143,6 +159,7 @@ export declare class Translate extends TranslateClient {
143
159
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
144
160
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
145
161
  /**
162
+ * @public
146
163
  * <p>Translates input text from the source language to the target language. For a list of
147
164
  * available languages and language codes, see <a href="https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html">Supported languages</a>.</p>
148
165
  */
@@ -150,6 +167,7 @@ export declare class Translate extends TranslateClient {
150
167
  translateText(args: TranslateTextCommandInput, cb: (err: any, data?: TranslateTextCommandOutput) => void): void;
151
168
  translateText(args: TranslateTextCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TranslateTextCommandOutput) => void): void;
152
169
  /**
170
+ * @public
153
171
  * <p>Removes a specific tag associated with an Amazon Translate resource.
154
172
  * For more information, see <a href="https://docs.aws.amazon.com/translate/latest/dg/tagging.html">
155
173
  * Tagging your resources</a>.</p>
@@ -158,6 +176,7 @@ export declare class Translate extends TranslateClient {
158
176
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
159
177
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
160
178
  /**
179
+ * @public
161
180
  * <p>Updates a previously created parallel data resource by importing a new input file from
162
181
  * Amazon S3.</p>
163
182
  */