@aws-sdk/client-comprehend 3.170.0 → 3.176.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 (109) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/Comprehend.js +30 -0
  3. package/dist-cjs/commands/BatchDetectTargetedSentimentCommand.js +36 -0
  4. package/dist-cjs/commands/DetectTargetedSentimentCommand.js +36 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +59 -5
  7. package/dist-cjs/protocols/Aws_json1_1.js +218 -3
  8. package/dist-es/Comprehend.js +30 -0
  9. package/dist-es/commands/BatchDetectTargetedSentimentCommand.js +39 -0
  10. package/dist-es/commands/DetectTargetedSentimentCommand.js +39 -0
  11. package/dist-es/commands/index.js +2 -0
  12. package/dist-es/models/models_0.js +28 -0
  13. package/dist-es/protocols/Aws_json1_1.js +252 -0
  14. package/dist-types/Comprehend.d.ts +31 -6
  15. package/dist-types/ComprehendClient.d.ts +4 -2
  16. package/dist-types/commands/BatchDetectEntitiesCommand.d.ts +3 -2
  17. package/dist-types/commands/BatchDetectSyntaxCommand.d.ts +3 -1
  18. package/dist-types/commands/BatchDetectTargetedSentimentCommand.d.ts +37 -0
  19. package/dist-types/commands/CreateDocumentClassifierCommand.d.ts +3 -1
  20. package/dist-types/commands/DetectEntitiesCommand.d.ts +2 -1
  21. package/dist-types/commands/DetectSyntaxCommand.d.ts +3 -1
  22. package/dist-types/commands/DetectTargetedSentimentCommand.d.ts +36 -0
  23. package/dist-types/commands/index.d.ts +2 -0
  24. package/dist-types/models/models_0.d.ts +230 -68
  25. package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
  26. package/dist-types/ts3.4/Comprehend.d.ts +34 -71
  27. package/dist-types/ts3.4/ComprehendClient.d.ts +12 -25
  28. package/dist-types/ts3.4/commands/BatchDetectDominantLanguageCommand.d.ts +0 -2
  29. package/dist-types/ts3.4/commands/BatchDetectEntitiesCommand.d.ts +0 -2
  30. package/dist-types/ts3.4/commands/BatchDetectKeyPhrasesCommand.d.ts +0 -2
  31. package/dist-types/ts3.4/commands/BatchDetectSentimentCommand.d.ts +0 -2
  32. package/dist-types/ts3.4/commands/BatchDetectSyntaxCommand.d.ts +0 -2
  33. package/dist-types/ts3.4/commands/BatchDetectTargetedSentimentCommand.d.ts +39 -0
  34. package/dist-types/ts3.4/commands/ClassifyDocumentCommand.d.ts +0 -2
  35. package/dist-types/ts3.4/commands/ContainsPiiEntitiesCommand.d.ts +0 -2
  36. package/dist-types/ts3.4/commands/CreateDocumentClassifierCommand.d.ts +0 -2
  37. package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +0 -2
  38. package/dist-types/ts3.4/commands/CreateEntityRecognizerCommand.d.ts +0 -2
  39. package/dist-types/ts3.4/commands/DeleteDocumentClassifierCommand.d.ts +0 -2
  40. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +0 -2
  41. package/dist-types/ts3.4/commands/DeleteEntityRecognizerCommand.d.ts +0 -2
  42. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +0 -2
  43. package/dist-types/ts3.4/commands/DescribeDocumentClassificationJobCommand.d.ts +0 -2
  44. package/dist-types/ts3.4/commands/DescribeDocumentClassifierCommand.d.ts +0 -2
  45. package/dist-types/ts3.4/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +0 -2
  46. package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +0 -2
  47. package/dist-types/ts3.4/commands/DescribeEntitiesDetectionJobCommand.d.ts +0 -2
  48. package/dist-types/ts3.4/commands/DescribeEntityRecognizerCommand.d.ts +0 -2
  49. package/dist-types/ts3.4/commands/DescribeEventsDetectionJobCommand.d.ts +0 -2
  50. package/dist-types/ts3.4/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +0 -2
  51. package/dist-types/ts3.4/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +0 -2
  52. package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +0 -2
  53. package/dist-types/ts3.4/commands/DescribeSentimentDetectionJobCommand.d.ts +0 -2
  54. package/dist-types/ts3.4/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +0 -2
  55. package/dist-types/ts3.4/commands/DescribeTopicsDetectionJobCommand.d.ts +0 -2
  56. package/dist-types/ts3.4/commands/DetectDominantLanguageCommand.d.ts +0 -2
  57. package/dist-types/ts3.4/commands/DetectEntitiesCommand.d.ts +0 -2
  58. package/dist-types/ts3.4/commands/DetectKeyPhrasesCommand.d.ts +0 -2
  59. package/dist-types/ts3.4/commands/DetectPiiEntitiesCommand.d.ts +0 -2
  60. package/dist-types/ts3.4/commands/DetectSentimentCommand.d.ts +0 -2
  61. package/dist-types/ts3.4/commands/DetectSyntaxCommand.d.ts +0 -2
  62. package/dist-types/ts3.4/commands/DetectTargetedSentimentCommand.d.ts +39 -0
  63. package/dist-types/ts3.4/commands/ImportModelCommand.d.ts +0 -2
  64. package/dist-types/ts3.4/commands/ListDocumentClassificationJobsCommand.d.ts +0 -2
  65. package/dist-types/ts3.4/commands/ListDocumentClassifierSummariesCommand.d.ts +0 -2
  66. package/dist-types/ts3.4/commands/ListDocumentClassifiersCommand.d.ts +0 -2
  67. package/dist-types/ts3.4/commands/ListDominantLanguageDetectionJobsCommand.d.ts +0 -2
  68. package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +0 -2
  69. package/dist-types/ts3.4/commands/ListEntitiesDetectionJobsCommand.d.ts +0 -2
  70. package/dist-types/ts3.4/commands/ListEntityRecognizerSummariesCommand.d.ts +0 -2
  71. package/dist-types/ts3.4/commands/ListEntityRecognizersCommand.d.ts +0 -2
  72. package/dist-types/ts3.4/commands/ListEventsDetectionJobsCommand.d.ts +0 -2
  73. package/dist-types/ts3.4/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +0 -2
  74. package/dist-types/ts3.4/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +0 -2
  75. package/dist-types/ts3.4/commands/ListSentimentDetectionJobsCommand.d.ts +0 -2
  76. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -2
  77. package/dist-types/ts3.4/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +0 -2
  78. package/dist-types/ts3.4/commands/ListTopicsDetectionJobsCommand.d.ts +0 -2
  79. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +0 -2
  80. package/dist-types/ts3.4/commands/StartDocumentClassificationJobCommand.d.ts +0 -2
  81. package/dist-types/ts3.4/commands/StartDominantLanguageDetectionJobCommand.d.ts +0 -2
  82. package/dist-types/ts3.4/commands/StartEntitiesDetectionJobCommand.d.ts +0 -2
  83. package/dist-types/ts3.4/commands/StartEventsDetectionJobCommand.d.ts +0 -2
  84. package/dist-types/ts3.4/commands/StartKeyPhrasesDetectionJobCommand.d.ts +0 -2
  85. package/dist-types/ts3.4/commands/StartPiiEntitiesDetectionJobCommand.d.ts +0 -2
  86. package/dist-types/ts3.4/commands/StartSentimentDetectionJobCommand.d.ts +0 -2
  87. package/dist-types/ts3.4/commands/StartTargetedSentimentDetectionJobCommand.d.ts +0 -2
  88. package/dist-types/ts3.4/commands/StartTopicsDetectionJobCommand.d.ts +0 -2
  89. package/dist-types/ts3.4/commands/StopDominantLanguageDetectionJobCommand.d.ts +0 -2
  90. package/dist-types/ts3.4/commands/StopEntitiesDetectionJobCommand.d.ts +0 -2
  91. package/dist-types/ts3.4/commands/StopEventsDetectionJobCommand.d.ts +0 -2
  92. package/dist-types/ts3.4/commands/StopKeyPhrasesDetectionJobCommand.d.ts +0 -2
  93. package/dist-types/ts3.4/commands/StopPiiEntitiesDetectionJobCommand.d.ts +0 -2
  94. package/dist-types/ts3.4/commands/StopSentimentDetectionJobCommand.d.ts +0 -2
  95. package/dist-types/ts3.4/commands/StopTargetedSentimentDetectionJobCommand.d.ts +0 -2
  96. package/dist-types/ts3.4/commands/StopTrainingDocumentClassifierCommand.d.ts +0 -2
  97. package/dist-types/ts3.4/commands/StopTrainingEntityRecognizerCommand.d.ts +0 -2
  98. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -2
  99. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -2
  100. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +0 -2
  101. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  102. package/dist-types/ts3.4/models/ComprehendServiceException.d.ts +0 -1
  103. package/dist-types/ts3.4/models/models_0.d.ts +79 -769
  104. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  105. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -1
  106. package/dist-types/ts3.4/runtimeConfig.d.ts +0 -1
  107. package/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -1
  108. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -1
  109. package/package.json +26 -26
@@ -19,7 +19,6 @@ export interface StopTargetedSentimentDetectionJobCommandInput
19
19
  export interface StopTargetedSentimentDetectionJobCommandOutput
20
20
  extends StopTargetedSentimentDetectionJobResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class StopTargetedSentimentDetectionJobCommand extends $Command<
24
23
  StopTargetedSentimentDetectionJobCommandInput,
25
24
  StopTargetedSentimentDetectionJobCommandOutput,
@@ -27,7 +26,6 @@ export declare class StopTargetedSentimentDetectionJobCommand extends $Command<
27
26
  > {
28
27
  readonly input: StopTargetedSentimentDetectionJobCommandInput;
29
28
  constructor(input: StopTargetedSentimentDetectionJobCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: ComprehendClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface StopTrainingDocumentClassifierCommandInput
19
19
  export interface StopTrainingDocumentClassifierCommandOutput
20
20
  extends StopTrainingDocumentClassifierResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class StopTrainingDocumentClassifierCommand extends $Command<
24
23
  StopTrainingDocumentClassifierCommandInput,
25
24
  StopTrainingDocumentClassifierCommandOutput,
@@ -27,7 +26,6 @@ export declare class StopTrainingDocumentClassifierCommand extends $Command<
27
26
  > {
28
27
  readonly input: StopTrainingDocumentClassifierCommandInput;
29
28
  constructor(input: StopTrainingDocumentClassifierCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: ComprehendClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface StopTrainingEntityRecognizerCommandInput
19
19
  export interface StopTrainingEntityRecognizerCommandOutput
20
20
  extends StopTrainingEntityRecognizerResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class StopTrainingEntityRecognizerCommand extends $Command<
24
23
  StopTrainingEntityRecognizerCommandInput,
25
24
  StopTrainingEntityRecognizerCommandOutput,
@@ -27,7 +26,6 @@ export declare class StopTrainingEntityRecognizerCommand extends $Command<
27
26
  > {
28
27
  readonly input: StopTrainingEntityRecognizerCommandInput;
29
28
  constructor(input: StopTrainingEntityRecognizerCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: ComprehendClientResolvedConfig,
@@ -15,7 +15,6 @@ export interface TagResourceCommandInput extends TagResourceRequest {}
15
15
  export interface TagResourceCommandOutput
16
16
  extends TagResourceResponse,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class TagResourceCommand extends $Command<
20
19
  TagResourceCommandInput,
21
20
  TagResourceCommandOutput,
@@ -23,7 +22,6 @@ export declare class TagResourceCommand extends $Command<
23
22
  > {
24
23
  readonly input: TagResourceCommandInput;
25
24
  constructor(input: TagResourceCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: ComprehendClientResolvedConfig,
@@ -18,7 +18,6 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {}
18
18
  export interface UntagResourceCommandOutput
19
19
  extends UntagResourceResponse,
20
20
  __MetadataBearer {}
21
-
22
21
  export declare class UntagResourceCommand extends $Command<
23
22
  UntagResourceCommandInput,
24
23
  UntagResourceCommandOutput,
@@ -26,7 +25,6 @@ export declare class UntagResourceCommand extends $Command<
26
25
  > {
27
26
  readonly input: UntagResourceCommandInput;
28
27
  constructor(input: UntagResourceCommandInput);
29
-
30
28
  resolveMiddleware(
31
29
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
30
  configuration: ComprehendClientResolvedConfig,
@@ -18,7 +18,6 @@ export interface UpdateEndpointCommandInput extends UpdateEndpointRequest {}
18
18
  export interface UpdateEndpointCommandOutput
19
19
  extends UpdateEndpointResponse,
20
20
  __MetadataBearer {}
21
-
22
21
  export declare class UpdateEndpointCommand extends $Command<
23
22
  UpdateEndpointCommandInput,
24
23
  UpdateEndpointCommandOutput,
@@ -26,7 +25,6 @@ export declare class UpdateEndpointCommand extends $Command<
26
25
  > {
27
26
  readonly input: UpdateEndpointCommandInput;
28
27
  constructor(input: UpdateEndpointCommandInput);
29
-
30
28
  resolveMiddleware(
31
29
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
30
  configuration: ComprehendClientResolvedConfig,
@@ -3,6 +3,7 @@ export * from "./BatchDetectEntitiesCommand";
3
3
  export * from "./BatchDetectKeyPhrasesCommand";
4
4
  export * from "./BatchDetectSentimentCommand";
5
5
  export * from "./BatchDetectSyntaxCommand";
6
+ export * from "./BatchDetectTargetedSentimentCommand";
6
7
  export * from "./ClassifyDocumentCommand";
7
8
  export * from "./ContainsPiiEntitiesCommand";
8
9
  export * from "./CreateDocumentClassifierCommand";
@@ -31,6 +32,7 @@ export * from "./DetectKeyPhrasesCommand";
31
32
  export * from "./DetectPiiEntitiesCommand";
32
33
  export * from "./DetectSentimentCommand";
33
34
  export * from "./DetectSyntaxCommand";
35
+ export * from "./DetectTargetedSentimentCommand";
34
36
  export * from "./ImportModelCommand";
35
37
  export * from "./ListDocumentClassificationJobsCommand";
36
38
  export * from "./ListDocumentClassifierSummariesCommand";
@@ -2,7 +2,6 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
-
6
5
  export declare class ComprehendServiceException extends __ServiceException {
7
6
  constructor(options: __ServiceExceptionOptions);
8
7
  }