@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
@@ -24,6 +24,7 @@ import { DescribeKeyPhrasesDetectionJobCommand, } from "./commands/DescribeKeyPh
24
24
  import { DescribePiiEntitiesDetectionJobCommand, } from "./commands/DescribePiiEntitiesDetectionJobCommand";
25
25
  import { DescribeResourcePolicyCommand, } from "./commands/DescribeResourcePolicyCommand";
26
26
  import { DescribeSentimentDetectionJobCommand, } from "./commands/DescribeSentimentDetectionJobCommand";
27
+ import { DescribeTargetedSentimentDetectionJobCommand, } from "./commands/DescribeTargetedSentimentDetectionJobCommand";
27
28
  import { DescribeTopicsDetectionJobCommand, } from "./commands/DescribeTopicsDetectionJobCommand";
28
29
  import { DetectDominantLanguageCommand, } from "./commands/DetectDominantLanguageCommand";
29
30
  import { DetectEntitiesCommand, } from "./commands/DetectEntitiesCommand";
@@ -45,6 +46,7 @@ import { ListKeyPhrasesDetectionJobsCommand, } from "./commands/ListKeyPhrasesDe
45
46
  import { ListPiiEntitiesDetectionJobsCommand, } from "./commands/ListPiiEntitiesDetectionJobsCommand";
46
47
  import { ListSentimentDetectionJobsCommand, } from "./commands/ListSentimentDetectionJobsCommand";
47
48
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
49
+ import { ListTargetedSentimentDetectionJobsCommand, } from "./commands/ListTargetedSentimentDetectionJobsCommand";
48
50
  import { ListTopicsDetectionJobsCommand, } from "./commands/ListTopicsDetectionJobsCommand";
49
51
  import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
50
52
  import { StartDocumentClassificationJobCommand, } from "./commands/StartDocumentClassificationJobCommand";
@@ -54,6 +56,7 @@ import { StartEventsDetectionJobCommand, } from "./commands/StartEventsDetection
54
56
  import { StartKeyPhrasesDetectionJobCommand, } from "./commands/StartKeyPhrasesDetectionJobCommand";
55
57
  import { StartPiiEntitiesDetectionJobCommand, } from "./commands/StartPiiEntitiesDetectionJobCommand";
56
58
  import { StartSentimentDetectionJobCommand, } from "./commands/StartSentimentDetectionJobCommand";
59
+ import { StartTargetedSentimentDetectionJobCommand, } from "./commands/StartTargetedSentimentDetectionJobCommand";
57
60
  import { StartTopicsDetectionJobCommand, } from "./commands/StartTopicsDetectionJobCommand";
58
61
  import { StopDominantLanguageDetectionJobCommand, } from "./commands/StopDominantLanguageDetectionJobCommand";
59
62
  import { StopEntitiesDetectionJobCommand, } from "./commands/StopEntitiesDetectionJobCommand";
@@ -61,6 +64,7 @@ import { StopEventsDetectionJobCommand, } from "./commands/StopEventsDetectionJo
61
64
  import { StopKeyPhrasesDetectionJobCommand, } from "./commands/StopKeyPhrasesDetectionJobCommand";
62
65
  import { StopPiiEntitiesDetectionJobCommand, } from "./commands/StopPiiEntitiesDetectionJobCommand";
63
66
  import { StopSentimentDetectionJobCommand, } from "./commands/StopSentimentDetectionJobCommand";
67
+ import { StopTargetedSentimentDetectionJobCommand, } from "./commands/StopTargetedSentimentDetectionJobCommand";
64
68
  import { StopTrainingDocumentClassifierCommand, } from "./commands/StopTrainingDocumentClassifierCommand";
65
69
  import { StopTrainingEntityRecognizerCommand, } from "./commands/StopTrainingEntityRecognizerCommand";
66
70
  import { TagResourceCommand } from "./commands/TagResourceCommand";
@@ -422,6 +426,20 @@ var Comprehend = (function (_super) {
422
426
  return this.send(command, optionsOrCb);
423
427
  }
424
428
  };
429
+ Comprehend.prototype.describeTargetedSentimentDetectionJob = function (args, optionsOrCb, cb) {
430
+ var command = new DescribeTargetedSentimentDetectionJobCommand(args);
431
+ if (typeof optionsOrCb === "function") {
432
+ this.send(command, optionsOrCb);
433
+ }
434
+ else if (typeof cb === "function") {
435
+ if (typeof optionsOrCb !== "object")
436
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
437
+ this.send(command, optionsOrCb || {}, cb);
438
+ }
439
+ else {
440
+ return this.send(command, optionsOrCb);
441
+ }
442
+ };
425
443
  Comprehend.prototype.describeTopicsDetectionJob = function (args, optionsOrCb, cb) {
426
444
  var command = new DescribeTopicsDetectionJobCommand(args);
427
445
  if (typeof optionsOrCb === "function") {
@@ -716,6 +734,20 @@ var Comprehend = (function (_super) {
716
734
  return this.send(command, optionsOrCb);
717
735
  }
718
736
  };
737
+ Comprehend.prototype.listTargetedSentimentDetectionJobs = function (args, optionsOrCb, cb) {
738
+ var command = new ListTargetedSentimentDetectionJobsCommand(args);
739
+ if (typeof optionsOrCb === "function") {
740
+ this.send(command, optionsOrCb);
741
+ }
742
+ else if (typeof cb === "function") {
743
+ if (typeof optionsOrCb !== "object")
744
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
745
+ this.send(command, optionsOrCb || {}, cb);
746
+ }
747
+ else {
748
+ return this.send(command, optionsOrCb);
749
+ }
750
+ };
719
751
  Comprehend.prototype.listTopicsDetectionJobs = function (args, optionsOrCb, cb) {
720
752
  var command = new ListTopicsDetectionJobsCommand(args);
721
753
  if (typeof optionsOrCb === "function") {
@@ -842,6 +874,20 @@ var Comprehend = (function (_super) {
842
874
  return this.send(command, optionsOrCb);
843
875
  }
844
876
  };
877
+ Comprehend.prototype.startTargetedSentimentDetectionJob = function (args, optionsOrCb, cb) {
878
+ var command = new StartTargetedSentimentDetectionJobCommand(args);
879
+ if (typeof optionsOrCb === "function") {
880
+ this.send(command, optionsOrCb);
881
+ }
882
+ else if (typeof cb === "function") {
883
+ if (typeof optionsOrCb !== "object")
884
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
885
+ this.send(command, optionsOrCb || {}, cb);
886
+ }
887
+ else {
888
+ return this.send(command, optionsOrCb);
889
+ }
890
+ };
845
891
  Comprehend.prototype.startTopicsDetectionJob = function (args, optionsOrCb, cb) {
846
892
  var command = new StartTopicsDetectionJobCommand(args);
847
893
  if (typeof optionsOrCb === "function") {
@@ -940,6 +986,20 @@ var Comprehend = (function (_super) {
940
986
  return this.send(command, optionsOrCb);
941
987
  }
942
988
  };
989
+ Comprehend.prototype.stopTargetedSentimentDetectionJob = function (args, optionsOrCb, cb) {
990
+ var command = new StopTargetedSentimentDetectionJobCommand(args);
991
+ if (typeof optionsOrCb === "function") {
992
+ this.send(command, optionsOrCb);
993
+ }
994
+ else if (typeof cb === "function") {
995
+ if (typeof optionsOrCb !== "object")
996
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
997
+ this.send(command, optionsOrCb || {}, cb);
998
+ }
999
+ else {
1000
+ return this.send(command, optionsOrCb);
1001
+ }
1002
+ };
943
1003
  Comprehend.prototype.stopTrainingDocumentClassifier = function (args, optionsOrCb, cb) {
944
1004
  var command = new StopTrainingDocumentClassifierCommand(args);
945
1005
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DescribeTargetedSentimentDetectionJobRequest, DescribeTargetedSentimentDetectionJobResponse, } from "../models/models_0";
5
+ import { deserializeAws_json1_1DescribeTargetedSentimentDetectionJobCommand, serializeAws_json1_1DescribeTargetedSentimentDetectionJobCommand, } from "../protocols/Aws_json1_1";
6
+ var DescribeTargetedSentimentDetectionJobCommand = (function (_super) {
7
+ __extends(DescribeTargetedSentimentDetectionJobCommand, _super);
8
+ function DescribeTargetedSentimentDetectionJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DescribeTargetedSentimentDetectionJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ComprehendClient";
18
+ var commandName = "DescribeTargetedSentimentDetectionJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DescribeTargetedSentimentDetectionJobRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DescribeTargetedSentimentDetectionJobResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeTargetedSentimentDetectionJobCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1DescribeTargetedSentimentDetectionJobCommand(input, context);
33
+ };
34
+ DescribeTargetedSentimentDetectionJobCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1DescribeTargetedSentimentDetectionJobCommand(output, context);
36
+ };
37
+ return DescribeTargetedSentimentDetectionJobCommand;
38
+ }($Command));
39
+ export { DescribeTargetedSentimentDetectionJobCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListTargetedSentimentDetectionJobsRequest, ListTargetedSentimentDetectionJobsResponse, } from "../models/models_0";
5
+ import { deserializeAws_json1_1ListTargetedSentimentDetectionJobsCommand, serializeAws_json1_1ListTargetedSentimentDetectionJobsCommand, } from "../protocols/Aws_json1_1";
6
+ var ListTargetedSentimentDetectionJobsCommand = (function (_super) {
7
+ __extends(ListTargetedSentimentDetectionJobsCommand, _super);
8
+ function ListTargetedSentimentDetectionJobsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListTargetedSentimentDetectionJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ComprehendClient";
18
+ var commandName = "ListTargetedSentimentDetectionJobsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListTargetedSentimentDetectionJobsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListTargetedSentimentDetectionJobsResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTargetedSentimentDetectionJobsCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1ListTargetedSentimentDetectionJobsCommand(input, context);
33
+ };
34
+ ListTargetedSentimentDetectionJobsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1ListTargetedSentimentDetectionJobsCommand(output, context);
36
+ };
37
+ return ListTargetedSentimentDetectionJobsCommand;
38
+ }($Command));
39
+ export { ListTargetedSentimentDetectionJobsCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { StartTargetedSentimentDetectionJobRequest, StartTargetedSentimentDetectionJobResponse, } from "../models/models_0";
5
+ import { deserializeAws_json1_1StartTargetedSentimentDetectionJobCommand, serializeAws_json1_1StartTargetedSentimentDetectionJobCommand, } from "../protocols/Aws_json1_1";
6
+ var StartTargetedSentimentDetectionJobCommand = (function (_super) {
7
+ __extends(StartTargetedSentimentDetectionJobCommand, _super);
8
+ function StartTargetedSentimentDetectionJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ StartTargetedSentimentDetectionJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ComprehendClient";
18
+ var commandName = "StartTargetedSentimentDetectionJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: StartTargetedSentimentDetectionJobRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: StartTargetedSentimentDetectionJobResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartTargetedSentimentDetectionJobCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1StartTargetedSentimentDetectionJobCommand(input, context);
33
+ };
34
+ StartTargetedSentimentDetectionJobCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1StartTargetedSentimentDetectionJobCommand(output, context);
36
+ };
37
+ return StartTargetedSentimentDetectionJobCommand;
38
+ }($Command));
39
+ export { StartTargetedSentimentDetectionJobCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { StopTargetedSentimentDetectionJobRequest, StopTargetedSentimentDetectionJobResponse, } from "../models/models_0";
5
+ import { deserializeAws_json1_1StopTargetedSentimentDetectionJobCommand, serializeAws_json1_1StopTargetedSentimentDetectionJobCommand, } from "../protocols/Aws_json1_1";
6
+ var StopTargetedSentimentDetectionJobCommand = (function (_super) {
7
+ __extends(StopTargetedSentimentDetectionJobCommand, _super);
8
+ function StopTargetedSentimentDetectionJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ StopTargetedSentimentDetectionJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ComprehendClient";
18
+ var commandName = "StopTargetedSentimentDetectionJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: StopTargetedSentimentDetectionJobRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: StopTargetedSentimentDetectionJobResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StopTargetedSentimentDetectionJobCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1StopTargetedSentimentDetectionJobCommand(input, context);
33
+ };
34
+ StopTargetedSentimentDetectionJobCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1StopTargetedSentimentDetectionJobCommand(output, context);
36
+ };
37
+ return StopTargetedSentimentDetectionJobCommand;
38
+ }($Command));
39
+ export { StopTargetedSentimentDetectionJobCommand };
@@ -23,6 +23,7 @@ export * from "./DescribeKeyPhrasesDetectionJobCommand";
23
23
  export * from "./DescribePiiEntitiesDetectionJobCommand";
24
24
  export * from "./DescribeResourcePolicyCommand";
25
25
  export * from "./DescribeSentimentDetectionJobCommand";
26
+ export * from "./DescribeTargetedSentimentDetectionJobCommand";
26
27
  export * from "./DescribeTopicsDetectionJobCommand";
27
28
  export * from "./DetectDominantLanguageCommand";
28
29
  export * from "./DetectEntitiesCommand";
@@ -44,6 +45,7 @@ export * from "./ListKeyPhrasesDetectionJobsCommand";
44
45
  export * from "./ListPiiEntitiesDetectionJobsCommand";
45
46
  export * from "./ListSentimentDetectionJobsCommand";
46
47
  export * from "./ListTagsForResourceCommand";
48
+ export * from "./ListTargetedSentimentDetectionJobsCommand";
47
49
  export * from "./ListTopicsDetectionJobsCommand";
48
50
  export * from "./PutResourcePolicyCommand";
49
51
  export * from "./StartDocumentClassificationJobCommand";
@@ -53,6 +55,7 @@ export * from "./StartEventsDetectionJobCommand";
53
55
  export * from "./StartKeyPhrasesDetectionJobCommand";
54
56
  export * from "./StartPiiEntitiesDetectionJobCommand";
55
57
  export * from "./StartSentimentDetectionJobCommand";
58
+ export * from "./StartTargetedSentimentDetectionJobCommand";
56
59
  export * from "./StartTopicsDetectionJobCommand";
57
60
  export * from "./StopDominantLanguageDetectionJobCommand";
58
61
  export * from "./StopEntitiesDetectionJobCommand";
@@ -60,6 +63,7 @@ export * from "./StopEventsDetectionJobCommand";
60
63
  export * from "./StopKeyPhrasesDetectionJobCommand";
61
64
  export * from "./StopPiiEntitiesDetectionJobCommand";
62
65
  export * from "./StopSentimentDetectionJobCommand";
66
+ export * from "./StopTargetedSentimentDetectionJobCommand";
63
67
  export * from "./StopTrainingDocumentClassifierCommand";
64
68
  export * from "./StopTrainingEntityRecognizerCommand";
65
69
  export * from "./TagResourceCommand";
package/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./ComprehendClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ComprehendServiceException } from "./models/ComprehendServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var ComprehendServiceException = (function (_super) {
4
+ __extends(ComprehendServiceException, _super);
5
+ function ComprehendServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, ComprehendServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return ComprehendServiceException;
11
+ }(__ServiceException));
12
+ export { ComprehendServiceException };