@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
|
@@ -23,6 +23,10 @@ import {
|
|
|
23
23
|
BatchDetectSyntaxCommandInput,
|
|
24
24
|
BatchDetectSyntaxCommandOutput,
|
|
25
25
|
} from "../commands/BatchDetectSyntaxCommand";
|
|
26
|
+
import {
|
|
27
|
+
BatchDetectTargetedSentimentCommandInput,
|
|
28
|
+
BatchDetectTargetedSentimentCommandOutput,
|
|
29
|
+
} from "../commands/BatchDetectTargetedSentimentCommand";
|
|
26
30
|
import {
|
|
27
31
|
ClassifyDocumentCommandInput,
|
|
28
32
|
ClassifyDocumentCommandOutput,
|
|
@@ -135,6 +139,10 @@ import {
|
|
|
135
139
|
DetectSyntaxCommandInput,
|
|
136
140
|
DetectSyntaxCommandOutput,
|
|
137
141
|
} from "../commands/DetectSyntaxCommand";
|
|
142
|
+
import {
|
|
143
|
+
DetectTargetedSentimentCommandInput,
|
|
144
|
+
DetectTargetedSentimentCommandOutput,
|
|
145
|
+
} from "../commands/DetectTargetedSentimentCommand";
|
|
138
146
|
import {
|
|
139
147
|
ImportModelCommandInput,
|
|
140
148
|
ImportModelCommandOutput,
|
|
@@ -307,6 +315,10 @@ export declare const serializeAws_json1_1BatchDetectSyntaxCommand: (
|
|
|
307
315
|
input: BatchDetectSyntaxCommandInput,
|
|
308
316
|
context: __SerdeContext
|
|
309
317
|
) => Promise<__HttpRequest>;
|
|
318
|
+
export declare const serializeAws_json1_1BatchDetectTargetedSentimentCommand: (
|
|
319
|
+
input: BatchDetectTargetedSentimentCommandInput,
|
|
320
|
+
context: __SerdeContext
|
|
321
|
+
) => Promise<__HttpRequest>;
|
|
310
322
|
export declare const serializeAws_json1_1ClassifyDocumentCommand: (
|
|
311
323
|
input: ClassifyDocumentCommandInput,
|
|
312
324
|
context: __SerdeContext
|
|
@@ -419,6 +431,10 @@ export declare const serializeAws_json1_1DetectSyntaxCommand: (
|
|
|
419
431
|
input: DetectSyntaxCommandInput,
|
|
420
432
|
context: __SerdeContext
|
|
421
433
|
) => Promise<__HttpRequest>;
|
|
434
|
+
export declare const serializeAws_json1_1DetectTargetedSentimentCommand: (
|
|
435
|
+
input: DetectTargetedSentimentCommandInput,
|
|
436
|
+
context: __SerdeContext
|
|
437
|
+
) => Promise<__HttpRequest>;
|
|
422
438
|
export declare const serializeAws_json1_1ImportModelCommand: (
|
|
423
439
|
input: ImportModelCommandInput,
|
|
424
440
|
context: __SerdeContext
|
|
@@ -591,6 +607,10 @@ export declare const deserializeAws_json1_1BatchDetectSyntaxCommand: (
|
|
|
591
607
|
output: __HttpResponse,
|
|
592
608
|
context: __SerdeContext
|
|
593
609
|
) => Promise<BatchDetectSyntaxCommandOutput>;
|
|
610
|
+
export declare const deserializeAws_json1_1BatchDetectTargetedSentimentCommand: (
|
|
611
|
+
output: __HttpResponse,
|
|
612
|
+
context: __SerdeContext
|
|
613
|
+
) => Promise<BatchDetectTargetedSentimentCommandOutput>;
|
|
594
614
|
export declare const deserializeAws_json1_1ClassifyDocumentCommand: (
|
|
595
615
|
output: __HttpResponse,
|
|
596
616
|
context: __SerdeContext
|
|
@@ -703,6 +723,10 @@ export declare const deserializeAws_json1_1DetectSyntaxCommand: (
|
|
|
703
723
|
output: __HttpResponse,
|
|
704
724
|
context: __SerdeContext
|
|
705
725
|
) => Promise<DetectSyntaxCommandOutput>;
|
|
726
|
+
export declare const deserializeAws_json1_1DetectTargetedSentimentCommand: (
|
|
727
|
+
output: __HttpResponse,
|
|
728
|
+
context: __SerdeContext
|
|
729
|
+
) => Promise<DetectTargetedSentimentCommandOutput>;
|
|
706
730
|
export declare const deserializeAws_json1_1ImportModelCommand: (
|
|
707
731
|
output: __HttpResponse,
|
|
708
732
|
context: __SerdeContext
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { ComprehendClientConfig } from "./ComprehendClient";
|
|
3
|
-
|
|
4
3
|
export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
|
|
5
4
|
runtime: string;
|
|
6
5
|
defaultsMode: import("@aws-sdk/types").Provider<
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { ComprehendClientConfig } from "./ComprehendClient";
|
|
3
|
-
|
|
4
3
|
export declare const getRuntimeConfig: (config: ComprehendClientConfig) => {
|
|
5
4
|
runtime: string;
|
|
6
5
|
defaultsMode: import("@aws-sdk/types").Provider<
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-comprehend",
|
|
3
3
|
"description": "AWS SDK for JavaScript Comprehend Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.176.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,35 +19,35 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
30
|
-
"@aws-sdk/middleware-logger": "3.
|
|
31
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.171.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.171.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.171.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.171.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.171.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.171.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.171.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.171.0",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.171.0",
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.171.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.171.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.171.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.171.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.171.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.171.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.171.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.171.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.171.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.171.0",
|
|
41
|
+
"@aws-sdk/types": "3.171.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.171.0",
|
|
43
43
|
"@aws-sdk/util-base64-browser": "3.170.0",
|
|
44
44
|
"@aws-sdk/util-base64-node": "3.170.0",
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.170.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.170.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.171.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.171.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-browser": "3.171.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.171.0",
|
|
51
51
|
"@aws-sdk/util-utf8-browser": "3.170.0",
|
|
52
52
|
"@aws-sdk/util-utf8-node": "3.170.0",
|
|
53
53
|
"tslib": "^2.3.1",
|