@aws-sdk/client-comprehend 3.321.1 → 3.326.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/dist-types/commands/BatchDetectDominantLanguageCommand.d.ts +23 -0
- package/dist-types/commands/BatchDetectEntitiesCommand.d.ts +40 -0
- package/dist-types/commands/BatchDetectKeyPhrasesCommand.d.ts +25 -0
- package/dist-types/commands/BatchDetectSentimentCommand.d.ts +24 -0
- package/dist-types/commands/BatchDetectSyntaxCommand.d.ts +29 -0
- package/dist-types/commands/BatchDetectTargetedSentimentCommand.d.ts +43 -0
- package/dist-types/commands/ClassifyDocumentCommand.d.ts +48 -0
- package/dist-types/commands/ContainsPiiEntitiesCommand.d.ts +11 -0
- package/dist-types/commands/CreateDatasetCommand.d.ts +6 -0
- package/dist-types/commands/CreateDocumentClassifierCommand.d.ts +6 -0
- package/dist-types/commands/CreateEndpointCommand.d.ts +7 -0
- package/dist-types/commands/CreateEntityRecognizerCommand.d.ts +6 -0
- package/dist-types/commands/CreateFlywheelCommand.d.ts +7 -0
- package/dist-types/commands/DeleteDocumentClassifierCommand.d.ts +4 -0
- package/dist-types/commands/DeleteEndpointCommand.d.ts +4 -0
- package/dist-types/commands/DeleteEntityRecognizerCommand.d.ts +4 -0
- package/dist-types/commands/DeleteFlywheelCommand.d.ts +4 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
- package/dist-types/commands/DescribeDatasetCommand.d.ts +17 -0
- package/dist-types/commands/DescribeDocumentClassificationJobCommand.d.ts +41 -0
- package/dist-types/commands/DescribeDocumentClassifierCommand.d.ts +80 -0
- package/dist-types/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +39 -0
- package/dist-types/commands/DescribeEndpointCommand.d.ts +19 -0
- package/dist-types/commands/DescribeEntitiesDetectionJobCommand.d.ts +42 -0
- package/dist-types/commands/DescribeEntityRecognizerCommand.d.ts +84 -0
- package/dist-types/commands/DescribeEventsDetectionJobCommand.d.ts +34 -0
- package/dist-types/commands/DescribeFlywheelCommand.d.ts +46 -0
- package/dist-types/commands/DescribeFlywheelIterationCommand.d.ts +28 -0
- package/dist-types/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +40 -0
- package/dist-types/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +39 -0
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +9 -0
- package/dist-types/commands/DescribeSentimentDetectionJobCommand.d.ts +40 -0
- package/dist-types/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +40 -0
- package/dist-types/commands/DescribeTopicsDetectionJobCommand.d.ts +40 -0
- package/dist-types/commands/DetectDominantLanguageCommand.d.ts +11 -0
- package/dist-types/commands/DetectEntitiesCommand.d.ts +80 -0
- package/dist-types/commands/DetectKeyPhrasesCommand.d.ts +13 -0
- package/dist-types/commands/DetectPiiEntitiesCommand.d.ts +13 -0
- package/dist-types/commands/DetectSentimentCommand.d.ts +12 -0
- package/dist-types/commands/DetectSyntaxCommand.d.ts +17 -0
- package/dist-types/commands/DetectTargetedSentimentCommand.d.ts +31 -0
- package/dist-types/commands/ImportModelCommand.d.ts +6 -0
- package/dist-types/commands/ListDatasetsCommand.d.ts +20 -0
- package/dist-types/commands/ListDocumentClassificationJobsCommand.d.ts +44 -0
- package/dist-types/commands/ListDocumentClassifierSummariesCommand.d.ts +15 -0
- package/dist-types/commands/ListDocumentClassifiersCommand.d.ts +83 -0
- package/dist-types/commands/ListDominantLanguageDetectionJobsCommand.d.ts +42 -0
- package/dist-types/commands/ListEndpointsCommand.d.ts +22 -0
- package/dist-types/commands/ListEntitiesDetectionJobsCommand.d.ts +45 -0
- package/dist-types/commands/ListEntityRecognizerSummariesCommand.d.ts +15 -0
- package/dist-types/commands/ListEntityRecognizersCommand.d.ts +87 -0
- package/dist-types/commands/ListEventsDetectionJobsCommand.d.ts +37 -0
- package/dist-types/commands/ListFlywheelIterationHistoryCommand.d.ts +31 -0
- package/dist-types/commands/ListFlywheelsCommand.d.ts +19 -0
- package/dist-types/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +43 -0
- package/dist-types/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +42 -0
- package/dist-types/commands/ListSentimentDetectionJobsCommand.d.ts +43 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +12 -0
- package/dist-types/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +43 -0
- package/dist-types/commands/ListTopicsDetectionJobsCommand.d.ts +43 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -0
- package/dist-types/commands/StartDocumentClassificationJobCommand.d.ts +9 -0
- package/dist-types/commands/StartDominantLanguageDetectionJobCommand.d.ts +8 -0
- package/dist-types/commands/StartEntitiesDetectionJobCommand.d.ts +9 -0
- package/dist-types/commands/StartEventsDetectionJobCommand.d.ts +8 -0
- package/dist-types/commands/StartFlywheelIterationCommand.d.ts +7 -0
- package/dist-types/commands/StartKeyPhrasesDetectionJobCommand.d.ts +8 -0
- package/dist-types/commands/StartPiiEntitiesDetectionJobCommand.d.ts +8 -0
- package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +8 -0
- package/dist-types/commands/StartTargetedSentimentDetectionJobCommand.d.ts +8 -0
- package/dist-types/commands/StartTopicsDetectionJobCommand.d.ts +8 -0
- package/dist-types/commands/StopDominantLanguageDetectionJobCommand.d.ts +7 -0
- package/dist-types/commands/StopEntitiesDetectionJobCommand.d.ts +7 -0
- package/dist-types/commands/StopEventsDetectionJobCommand.d.ts +7 -0
- package/dist-types/commands/StopKeyPhrasesDetectionJobCommand.d.ts +7 -0
- package/dist-types/commands/StopPiiEntitiesDetectionJobCommand.d.ts +7 -0
- package/dist-types/commands/StopSentimentDetectionJobCommand.d.ts +7 -0
- package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +7 -0
- package/dist-types/commands/StopTrainingDocumentClassifierCommand.d.ts +4 -0
- package/dist-types/commands/StopTrainingEntityRecognizerCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateEndpointCommand.d.ts +6 -0
- package/dist-types/commands/UpdateFlywheelCommand.d.ts +46 -0
- package/package.json +16 -16
|
@@ -40,6 +40,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new TagResourceCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
43
45
|
* ```
|
|
44
46
|
*
|
|
45
47
|
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
@@ -66,6 +68,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
66
68
|
* resource). The maximum number of tags includes both existing tags and those included in your
|
|
67
69
|
* current request. </p>
|
|
68
70
|
*
|
|
71
|
+
* @throws {@link ComprehendServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from Comprehend service.</p>
|
|
69
73
|
*
|
|
70
74
|
*/
|
|
71
75
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, ComprehendClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new UntagResourceCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
@@ -59,6 +61,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
59
61
|
* <p>The request contains more tag keys than can be associated with a resource (50 tag keys per
|
|
60
62
|
* resource).</p>
|
|
61
63
|
*
|
|
64
|
+
* @throws {@link ComprehendServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from Comprehend service.</p>
|
|
62
66
|
*
|
|
63
67
|
*/
|
|
64
68
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, ComprehendClientResolvedConfig> {
|
|
@@ -36,6 +36,10 @@ export interface UpdateEndpointCommandOutput extends UpdateEndpointResponse, __M
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new UpdateEndpointCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // UpdateEndpointResponse
|
|
40
|
+
* // DesiredModelArn: "STRING_VALUE",
|
|
41
|
+
* // };
|
|
42
|
+
*
|
|
39
43
|
* ```
|
|
40
44
|
*
|
|
41
45
|
* @param UpdateEndpointCommandInput - {@link UpdateEndpointCommandInput}
|
|
@@ -68,6 +72,8 @@ export interface UpdateEndpointCommandOutput extends UpdateEndpointResponse, __M
|
|
|
68
72
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
69
73
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
70
74
|
*
|
|
75
|
+
* @throws {@link ComprehendServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from Comprehend service.</p>
|
|
71
77
|
*
|
|
72
78
|
*/
|
|
73
79
|
export declare class UpdateEndpointCommand extends $Command<UpdateEndpointCommandInput, UpdateEndpointCommandOutput, ComprehendClientResolvedConfig> {
|
|
@@ -45,6 +45,50 @@ export interface UpdateFlywheelCommandOutput extends UpdateFlywheelResponse, __M
|
|
|
45
45
|
* };
|
|
46
46
|
* const command = new UpdateFlywheelCommand(input);
|
|
47
47
|
* const response = await client.send(command);
|
|
48
|
+
* // { // UpdateFlywheelResponse
|
|
49
|
+
* // FlywheelProperties: { // FlywheelProperties
|
|
50
|
+
* // FlywheelArn: "STRING_VALUE",
|
|
51
|
+
* // ActiveModelArn: "STRING_VALUE",
|
|
52
|
+
* // DataAccessRoleArn: "STRING_VALUE",
|
|
53
|
+
* // TaskConfig: { // TaskConfig
|
|
54
|
+
* // LanguageCode: "en" || "es" || "fr" || "de" || "it" || "pt" || "ar" || "hi" || "ja" || "ko" || "zh" || "zh-TW", // required
|
|
55
|
+
* // DocumentClassificationConfig: { // DocumentClassificationConfig
|
|
56
|
+
* // Mode: "MULTI_CLASS" || "MULTI_LABEL", // required
|
|
57
|
+
* // Labels: [ // LabelsList
|
|
58
|
+
* // "STRING_VALUE",
|
|
59
|
+
* // ],
|
|
60
|
+
* // },
|
|
61
|
+
* // EntityRecognitionConfig: { // EntityRecognitionConfig
|
|
62
|
+
* // EntityTypes: [ // EntityTypesList // required
|
|
63
|
+
* // { // EntityTypesListItem
|
|
64
|
+
* // Type: "STRING_VALUE", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // },
|
|
68
|
+
* // },
|
|
69
|
+
* // DataLakeS3Uri: "STRING_VALUE",
|
|
70
|
+
* // DataSecurityConfig: { // DataSecurityConfig
|
|
71
|
+
* // ModelKmsKeyId: "STRING_VALUE",
|
|
72
|
+
* // VolumeKmsKeyId: "STRING_VALUE",
|
|
73
|
+
* // DataLakeKmsKeyId: "STRING_VALUE",
|
|
74
|
+
* // VpcConfig: { // VpcConfig
|
|
75
|
+
* // SecurityGroupIds: [ // SecurityGroupIds // required
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
78
|
+
* // Subnets: [ // Subnets // required
|
|
79
|
+
* // "STRING_VALUE",
|
|
80
|
+
* // ],
|
|
81
|
+
* // },
|
|
82
|
+
* // },
|
|
83
|
+
* // Status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "FAILED",
|
|
84
|
+
* // ModelType: "DOCUMENT_CLASSIFIER" || "ENTITY_RECOGNIZER",
|
|
85
|
+
* // Message: "STRING_VALUE",
|
|
86
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
87
|
+
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
88
|
+
* // LatestFlywheelIteration: "STRING_VALUE",
|
|
89
|
+
* // },
|
|
90
|
+
* // };
|
|
91
|
+
*
|
|
48
92
|
* ```
|
|
49
93
|
*
|
|
50
94
|
* @param UpdateFlywheelCommandInput - {@link UpdateFlywheelCommandInput}
|
|
@@ -69,6 +113,8 @@ export interface UpdateFlywheelCommandOutput extends UpdateFlywheelResponse, __M
|
|
|
69
113
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
70
114
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
71
115
|
*
|
|
116
|
+
* @throws {@link ComprehendServiceException}
|
|
117
|
+
* <p>Base exception class for all service exceptions from Comprehend service.</p>
|
|
72
118
|
*
|
|
73
119
|
*/
|
|
74
120
|
export declare class UpdateFlywheelCommand extends $Command<UpdateFlywheelCommandInput, UpdateFlywheelCommandOutput, ComprehendClientResolvedConfig> {
|
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.326.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",
|
|
@@ -21,33 +21,33 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.326.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.326.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.325.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.325.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.325.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.325.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.325.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.325.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.325.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.325.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.321.1",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.325.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|