@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.
- package/CHANGELOG.md +19 -0
- package/dist-cjs/Comprehend.js +30 -0
- package/dist-cjs/commands/BatchDetectTargetedSentimentCommand.js +36 -0
- package/dist-cjs/commands/DetectTargetedSentimentCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +59 -5
- package/dist-cjs/protocols/Aws_json1_1.js +218 -3
- package/dist-es/Comprehend.js +30 -0
- package/dist-es/commands/BatchDetectTargetedSentimentCommand.js +39 -0
- package/dist-es/commands/DetectTargetedSentimentCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +28 -0
- package/dist-es/protocols/Aws_json1_1.js +252 -0
- package/dist-types/Comprehend.d.ts +31 -6
- package/dist-types/ComprehendClient.d.ts +4 -2
- package/dist-types/commands/BatchDetectEntitiesCommand.d.ts +3 -2
- package/dist-types/commands/BatchDetectSyntaxCommand.d.ts +3 -1
- package/dist-types/commands/BatchDetectTargetedSentimentCommand.d.ts +37 -0
- package/dist-types/commands/CreateDocumentClassifierCommand.d.ts +3 -1
- package/dist-types/commands/DetectEntitiesCommand.d.ts +2 -1
- package/dist-types/commands/DetectSyntaxCommand.d.ts +3 -1
- package/dist-types/commands/DetectTargetedSentimentCommand.d.ts +36 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +230 -68
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/Comprehend.d.ts +34 -71
- package/dist-types/ts3.4/ComprehendClient.d.ts +12 -25
- package/dist-types/ts3.4/commands/BatchDetectDominantLanguageCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/BatchDetectEntitiesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/BatchDetectKeyPhrasesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/BatchDetectSentimentCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/BatchDetectSyntaxCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/BatchDetectTargetedSentimentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ClassifyDocumentCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ContainsPiiEntitiesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/CreateDocumentClassifierCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/CreateEntityRecognizerCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteDocumentClassifierCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteEntityRecognizerCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeDocumentClassificationJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeDocumentClassifierCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeEntitiesDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeEntityRecognizerCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeEventsDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeSentimentDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeTopicsDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DetectDominantLanguageCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DetectEntitiesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DetectKeyPhrasesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DetectPiiEntitiesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DetectSentimentCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DetectSyntaxCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DetectTargetedSentimentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ImportModelCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListDocumentClassificationJobsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListDocumentClassifierSummariesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListDocumentClassifiersCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListDominantLanguageDetectionJobsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListEntitiesDetectionJobsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListEntityRecognizerSummariesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListEntityRecognizersCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListEventsDetectionJobsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListSentimentDetectionJobsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListTopicsDetectionJobsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StartDocumentClassificationJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StartDominantLanguageDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StartEntitiesDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StartEventsDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StartKeyPhrasesDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StartPiiEntitiesDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StartSentimentDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StartTargetedSentimentDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StartTopicsDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StopDominantLanguageDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StopEntitiesDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StopEventsDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StopKeyPhrasesDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StopPiiEntitiesDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StopSentimentDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StopTargetedSentimentDetectionJobCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StopTrainingDocumentClassifierCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StopTrainingEntityRecognizerCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/ComprehendServiceException.d.ts +0 -1
- package/dist-types/ts3.4/models/models_0.d.ts +79 -769
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +0 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -1
- 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
|
}
|