@aws-sdk/client-comprehend 3.52.0 → 3.54.1

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 (59) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/Comprehend.js +60 -0
  3. package/dist-cjs/commands/DescribeTargetedSentimentDetectionJobCommand.js +36 -0
  4. package/dist-cjs/commands/ListTargetedSentimentDetectionJobsCommand.js +36 -0
  5. package/dist-cjs/commands/StartTargetedSentimentDetectionJobCommand.js +36 -0
  6. package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +36 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/index.js +3 -0
  9. package/dist-cjs/models/ComprehendServiceException.js +11 -0
  10. package/dist-cjs/models/models_0.js +290 -5
  11. package/dist-cjs/pagination/ListTargetedSentimentDetectionJobsPaginator.js +35 -0
  12. package/dist-cjs/pagination/index.js +1 -0
  13. package/dist-cjs/protocols/Aws_json1_1.js +1043 -2586
  14. package/dist-es/Comprehend.js +60 -0
  15. package/dist-es/commands/DescribeTargetedSentimentDetectionJobCommand.js +39 -0
  16. package/dist-es/commands/ListTargetedSentimentDetectionJobsCommand.js +39 -0
  17. package/dist-es/commands/StartTargetedSentimentDetectionJobCommand.js +39 -0
  18. package/dist-es/commands/StopTargetedSentimentDetectionJobCommand.js +39 -0
  19. package/dist-es/commands/index.js +4 -0
  20. package/dist-es/index.js +1 -0
  21. package/dist-es/models/ComprehendServiceException.js +12 -0
  22. package/dist-es/models/models_0.js +250 -1
  23. package/dist-es/pagination/ListTargetedSentimentDetectionJobsPaginator.js +74 -0
  24. package/dist-es/pagination/index.js +1 -0
  25. package/dist-es/protocols/Aws_json1_1.js +1917 -2813
  26. package/dist-types/Comprehend.d.ts +41 -1
  27. package/dist-types/ComprehendClient.d.ts +8 -4
  28. package/dist-types/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +36 -0
  29. package/dist-types/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +35 -0
  30. package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +1 -1
  31. package/dist-types/commands/StartTargetedSentimentDetectionJobCommand.d.ts +37 -0
  32. package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +44 -0
  33. package/dist-types/commands/index.d.ts +4 -0
  34. package/dist-types/index.d.ts +1 -0
  35. package/dist-types/models/ComprehendServiceException.d.ts +10 -0
  36. package/dist-types/models/models_0.d.ts +450 -51
  37. package/dist-types/pagination/ListTargetedSentimentDetectionJobsPaginator.d.ts +4 -0
  38. package/dist-types/pagination/index.d.ts +1 -0
  39. package/dist-types/protocols/Aws_json1_1.d.ts +12 -0
  40. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  41. package/dist-types/runtimeConfig.d.ts +1 -1
  42. package/dist-types/runtimeConfig.native.d.ts +1 -1
  43. package/dist-types/ts3.4/Comprehend.d.ts +20 -0
  44. package/dist-types/ts3.4/ComprehendClient.d.ts +8 -4
  45. package/dist-types/ts3.4/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/StartTargetedSentimentDetectionJobCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/StopTargetedSentimentDetectionJobCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  50. package/dist-types/ts3.4/index.d.ts +1 -0
  51. package/dist-types/ts3.4/models/ComprehendServiceException.d.ts +6 -0
  52. package/dist-types/ts3.4/models/models_0.d.ts +222 -49
  53. package/dist-types/ts3.4/pagination/ListTargetedSentimentDetectionJobsPaginator.d.ts +4 -0
  54. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  55. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  56. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  57. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  58. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  59. package/package.json +27 -27
package/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-comprehend
9
+
10
+
11
+
12
+
13
+
14
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
26
+
27
+
28
+ ### Features
29
+
30
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
31
+
32
+
33
+
34
+
35
+
6
36
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
37
 
8
38
  **Note:** Version bump only for package @aws-sdk/client-comprehend
@@ -26,6 +26,7 @@ const DescribeKeyPhrasesDetectionJobCommand_1 = require("./commands/DescribeKeyP
26
26
  const DescribePiiEntitiesDetectionJobCommand_1 = require("./commands/DescribePiiEntitiesDetectionJobCommand");
27
27
  const DescribeResourcePolicyCommand_1 = require("./commands/DescribeResourcePolicyCommand");
28
28
  const DescribeSentimentDetectionJobCommand_1 = require("./commands/DescribeSentimentDetectionJobCommand");
29
+ const DescribeTargetedSentimentDetectionJobCommand_1 = require("./commands/DescribeTargetedSentimentDetectionJobCommand");
29
30
  const DescribeTopicsDetectionJobCommand_1 = require("./commands/DescribeTopicsDetectionJobCommand");
30
31
  const DetectDominantLanguageCommand_1 = require("./commands/DetectDominantLanguageCommand");
31
32
  const DetectEntitiesCommand_1 = require("./commands/DetectEntitiesCommand");
@@ -47,6 +48,7 @@ const ListKeyPhrasesDetectionJobsCommand_1 = require("./commands/ListKeyPhrasesD
47
48
  const ListPiiEntitiesDetectionJobsCommand_1 = require("./commands/ListPiiEntitiesDetectionJobsCommand");
48
49
  const ListSentimentDetectionJobsCommand_1 = require("./commands/ListSentimentDetectionJobsCommand");
49
50
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
51
+ const ListTargetedSentimentDetectionJobsCommand_1 = require("./commands/ListTargetedSentimentDetectionJobsCommand");
50
52
  const ListTopicsDetectionJobsCommand_1 = require("./commands/ListTopicsDetectionJobsCommand");
51
53
  const PutResourcePolicyCommand_1 = require("./commands/PutResourcePolicyCommand");
52
54
  const StartDocumentClassificationJobCommand_1 = require("./commands/StartDocumentClassificationJobCommand");
@@ -56,6 +58,7 @@ const StartEventsDetectionJobCommand_1 = require("./commands/StartEventsDetectio
56
58
  const StartKeyPhrasesDetectionJobCommand_1 = require("./commands/StartKeyPhrasesDetectionJobCommand");
57
59
  const StartPiiEntitiesDetectionJobCommand_1 = require("./commands/StartPiiEntitiesDetectionJobCommand");
58
60
  const StartSentimentDetectionJobCommand_1 = require("./commands/StartSentimentDetectionJobCommand");
61
+ const StartTargetedSentimentDetectionJobCommand_1 = require("./commands/StartTargetedSentimentDetectionJobCommand");
59
62
  const StartTopicsDetectionJobCommand_1 = require("./commands/StartTopicsDetectionJobCommand");
60
63
  const StopDominantLanguageDetectionJobCommand_1 = require("./commands/StopDominantLanguageDetectionJobCommand");
61
64
  const StopEntitiesDetectionJobCommand_1 = require("./commands/StopEntitiesDetectionJobCommand");
@@ -63,6 +66,7 @@ const StopEventsDetectionJobCommand_1 = require("./commands/StopEventsDetectionJ
63
66
  const StopKeyPhrasesDetectionJobCommand_1 = require("./commands/StopKeyPhrasesDetectionJobCommand");
64
67
  const StopPiiEntitiesDetectionJobCommand_1 = require("./commands/StopPiiEntitiesDetectionJobCommand");
65
68
  const StopSentimentDetectionJobCommand_1 = require("./commands/StopSentimentDetectionJobCommand");
69
+ const StopTargetedSentimentDetectionJobCommand_1 = require("./commands/StopTargetedSentimentDetectionJobCommand");
66
70
  const StopTrainingDocumentClassifierCommand_1 = require("./commands/StopTrainingDocumentClassifierCommand");
67
71
  const StopTrainingEntityRecognizerCommand_1 = require("./commands/StopTrainingEntityRecognizerCommand");
68
72
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
@@ -420,6 +424,20 @@ class Comprehend extends ComprehendClient_1.ComprehendClient {
420
424
  return this.send(command, optionsOrCb);
421
425
  }
422
426
  }
427
+ describeTargetedSentimentDetectionJob(args, optionsOrCb, cb) {
428
+ const command = new DescribeTargetedSentimentDetectionJobCommand_1.DescribeTargetedSentimentDetectionJobCommand(args);
429
+ if (typeof optionsOrCb === "function") {
430
+ this.send(command, optionsOrCb);
431
+ }
432
+ else if (typeof cb === "function") {
433
+ if (typeof optionsOrCb !== "object")
434
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
435
+ this.send(command, optionsOrCb || {}, cb);
436
+ }
437
+ else {
438
+ return this.send(command, optionsOrCb);
439
+ }
440
+ }
423
441
  describeTopicsDetectionJob(args, optionsOrCb, cb) {
424
442
  const command = new DescribeTopicsDetectionJobCommand_1.DescribeTopicsDetectionJobCommand(args);
425
443
  if (typeof optionsOrCb === "function") {
@@ -714,6 +732,20 @@ class Comprehend extends ComprehendClient_1.ComprehendClient {
714
732
  return this.send(command, optionsOrCb);
715
733
  }
716
734
  }
735
+ listTargetedSentimentDetectionJobs(args, optionsOrCb, cb) {
736
+ const command = new ListTargetedSentimentDetectionJobsCommand_1.ListTargetedSentimentDetectionJobsCommand(args);
737
+ if (typeof optionsOrCb === "function") {
738
+ this.send(command, optionsOrCb);
739
+ }
740
+ else if (typeof cb === "function") {
741
+ if (typeof optionsOrCb !== "object")
742
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
743
+ this.send(command, optionsOrCb || {}, cb);
744
+ }
745
+ else {
746
+ return this.send(command, optionsOrCb);
747
+ }
748
+ }
717
749
  listTopicsDetectionJobs(args, optionsOrCb, cb) {
718
750
  const command = new ListTopicsDetectionJobsCommand_1.ListTopicsDetectionJobsCommand(args);
719
751
  if (typeof optionsOrCb === "function") {
@@ -840,6 +872,20 @@ class Comprehend extends ComprehendClient_1.ComprehendClient {
840
872
  return this.send(command, optionsOrCb);
841
873
  }
842
874
  }
875
+ startTargetedSentimentDetectionJob(args, optionsOrCb, cb) {
876
+ const command = new StartTargetedSentimentDetectionJobCommand_1.StartTargetedSentimentDetectionJobCommand(args);
877
+ if (typeof optionsOrCb === "function") {
878
+ this.send(command, optionsOrCb);
879
+ }
880
+ else if (typeof cb === "function") {
881
+ if (typeof optionsOrCb !== "object")
882
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
883
+ this.send(command, optionsOrCb || {}, cb);
884
+ }
885
+ else {
886
+ return this.send(command, optionsOrCb);
887
+ }
888
+ }
843
889
  startTopicsDetectionJob(args, optionsOrCb, cb) {
844
890
  const command = new StartTopicsDetectionJobCommand_1.StartTopicsDetectionJobCommand(args);
845
891
  if (typeof optionsOrCb === "function") {
@@ -938,6 +984,20 @@ class Comprehend extends ComprehendClient_1.ComprehendClient {
938
984
  return this.send(command, optionsOrCb);
939
985
  }
940
986
  }
987
+ stopTargetedSentimentDetectionJob(args, optionsOrCb, cb) {
988
+ const command = new StopTargetedSentimentDetectionJobCommand_1.StopTargetedSentimentDetectionJobCommand(args);
989
+ if (typeof optionsOrCb === "function") {
990
+ this.send(command, optionsOrCb);
991
+ }
992
+ else if (typeof cb === "function") {
993
+ if (typeof optionsOrCb !== "object")
994
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
995
+ this.send(command, optionsOrCb || {}, cb);
996
+ }
997
+ else {
998
+ return this.send(command, optionsOrCb);
999
+ }
1000
+ }
941
1001
  stopTrainingDocumentClassifier(args, optionsOrCb, cb) {
942
1002
  const command = new StopTrainingDocumentClassifierCommand_1.StopTrainingDocumentClassifierCommand(args);
943
1003
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeTargetedSentimentDetectionJobCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class DescribeTargetedSentimentDetectionJobCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ComprehendClient";
18
+ const commandName = "DescribeTargetedSentimentDetectionJobCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeTargetedSentimentDetectionJobRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeTargetedSentimentDetectionJobResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1DescribeTargetedSentimentDetectionJobCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1DescribeTargetedSentimentDetectionJobCommand(output, context);
34
+ }
35
+ }
36
+ exports.DescribeTargetedSentimentDetectionJobCommand = DescribeTargetedSentimentDetectionJobCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTargetedSentimentDetectionJobsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class ListTargetedSentimentDetectionJobsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ComprehendClient";
18
+ const commandName = "ListTargetedSentimentDetectionJobsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListTargetedSentimentDetectionJobsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListTargetedSentimentDetectionJobsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1ListTargetedSentimentDetectionJobsCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1ListTargetedSentimentDetectionJobsCommand(output, context);
34
+ }
35
+ }
36
+ exports.ListTargetedSentimentDetectionJobsCommand = ListTargetedSentimentDetectionJobsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StartTargetedSentimentDetectionJobCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class StartTargetedSentimentDetectionJobCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ComprehendClient";
18
+ const commandName = "StartTargetedSentimentDetectionJobCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.StartTargetedSentimentDetectionJobRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.StartTargetedSentimentDetectionJobResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1StartTargetedSentimentDetectionJobCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1StartTargetedSentimentDetectionJobCommand(output, context);
34
+ }
35
+ }
36
+ exports.StartTargetedSentimentDetectionJobCommand = StartTargetedSentimentDetectionJobCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StopTargetedSentimentDetectionJobCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class StopTargetedSentimentDetectionJobCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ComprehendClient";
18
+ const commandName = "StopTargetedSentimentDetectionJobCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.StopTargetedSentimentDetectionJobRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.StopTargetedSentimentDetectionJobResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1StopTargetedSentimentDetectionJobCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1StopTargetedSentimentDetectionJobCommand(output, context);
34
+ }
35
+ }
36
+ exports.StopTargetedSentimentDetectionJobCommand = StopTargetedSentimentDetectionJobCommand;
@@ -26,6 +26,7 @@ tslib_1.__exportStar(require("./DescribeKeyPhrasesDetectionJobCommand"), exports
26
26
  tslib_1.__exportStar(require("./DescribePiiEntitiesDetectionJobCommand"), exports);
27
27
  tslib_1.__exportStar(require("./DescribeResourcePolicyCommand"), exports);
28
28
  tslib_1.__exportStar(require("./DescribeSentimentDetectionJobCommand"), exports);
29
+ tslib_1.__exportStar(require("./DescribeTargetedSentimentDetectionJobCommand"), exports);
29
30
  tslib_1.__exportStar(require("./DescribeTopicsDetectionJobCommand"), exports);
30
31
  tslib_1.__exportStar(require("./DetectDominantLanguageCommand"), exports);
31
32
  tslib_1.__exportStar(require("./DetectEntitiesCommand"), exports);
@@ -47,6 +48,7 @@ tslib_1.__exportStar(require("./ListKeyPhrasesDetectionJobsCommand"), exports);
47
48
  tslib_1.__exportStar(require("./ListPiiEntitiesDetectionJobsCommand"), exports);
48
49
  tslib_1.__exportStar(require("./ListSentimentDetectionJobsCommand"), exports);
49
50
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
51
+ tslib_1.__exportStar(require("./ListTargetedSentimentDetectionJobsCommand"), exports);
50
52
  tslib_1.__exportStar(require("./ListTopicsDetectionJobsCommand"), exports);
51
53
  tslib_1.__exportStar(require("./PutResourcePolicyCommand"), exports);
52
54
  tslib_1.__exportStar(require("./StartDocumentClassificationJobCommand"), exports);
@@ -56,6 +58,7 @@ tslib_1.__exportStar(require("./StartEventsDetectionJobCommand"), exports);
56
58
  tslib_1.__exportStar(require("./StartKeyPhrasesDetectionJobCommand"), exports);
57
59
  tslib_1.__exportStar(require("./StartPiiEntitiesDetectionJobCommand"), exports);
58
60
  tslib_1.__exportStar(require("./StartSentimentDetectionJobCommand"), exports);
61
+ tslib_1.__exportStar(require("./StartTargetedSentimentDetectionJobCommand"), exports);
59
62
  tslib_1.__exportStar(require("./StartTopicsDetectionJobCommand"), exports);
60
63
  tslib_1.__exportStar(require("./StopDominantLanguageDetectionJobCommand"), exports);
61
64
  tslib_1.__exportStar(require("./StopEntitiesDetectionJobCommand"), exports);
@@ -63,6 +66,7 @@ tslib_1.__exportStar(require("./StopEventsDetectionJobCommand"), exports);
63
66
  tslib_1.__exportStar(require("./StopKeyPhrasesDetectionJobCommand"), exports);
64
67
  tslib_1.__exportStar(require("./StopPiiEntitiesDetectionJobCommand"), exports);
65
68
  tslib_1.__exportStar(require("./StopSentimentDetectionJobCommand"), exports);
69
+ tslib_1.__exportStar(require("./StopTargetedSentimentDetectionJobCommand"), exports);
66
70
  tslib_1.__exportStar(require("./StopTrainingDocumentClassifierCommand"), exports);
67
71
  tslib_1.__exportStar(require("./StopTrainingEntityRecognizerCommand"), exports);
68
72
  tslib_1.__exportStar(require("./TagResourceCommand"), exports);
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ComprehendServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./Comprehend"), exports);
5
6
  tslib_1.__exportStar(require("./ComprehendClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var ComprehendServiceException_1 = require("./models/ComprehendServiceException");
11
+ Object.defineProperty(exports, "ComprehendServiceException", { enumerable: true, get: function () { return ComprehendServiceException_1.ComprehendServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ComprehendServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class ComprehendServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, ComprehendServiceException.prototype);
9
+ }
10
+ }
11
+ exports.ComprehendServiceException = ComprehendServiceException;