@aws-sdk/client-comprehend 3.289.0 → 3.290.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 +14 -0
- package/dist-types/commands/BatchDetectEntitiesCommand.d.ts +21 -0
- package/dist-types/commands/BatchDetectKeyPhrasesCommand.d.ts +21 -0
- package/dist-types/commands/BatchDetectSentimentCommand.d.ts +21 -0
- package/dist-types/commands/BatchDetectSyntaxCommand.d.ts +21 -0
- package/dist-types/commands/BatchDetectTargetedSentimentCommand.d.ts +21 -0
- package/dist-types/commands/ClassifyDocumentCommand.d.ts +14 -0
- package/dist-types/commands/ContainsPiiEntitiesCommand.d.ts +17 -0
- package/dist-types/commands/CreateDatasetCommand.d.ts +26 -0
- package/dist-types/commands/CreateDocumentClassifierCommand.d.ts +34 -0
- package/dist-types/commands/CreateEndpointCommand.d.ts +30 -0
- package/dist-types/commands/CreateEntityRecognizerCommand.d.ts +34 -0
- package/dist-types/commands/CreateFlywheelCommand.d.ts +41 -0
- package/dist-types/commands/DeleteDocumentClassifierCommand.d.ts +21 -0
- package/dist-types/commands/DeleteEndpointCommand.d.ts +17 -0
- package/dist-types/commands/DeleteEntityRecognizerCommand.d.ts +21 -0
- package/dist-types/commands/DeleteFlywheelCommand.d.ts +21 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +10 -0
- package/dist-types/commands/DescribeDatasetCommand.d.ts +13 -0
- package/dist-types/commands/DescribeDocumentClassificationJobCommand.d.ts +13 -0
- package/dist-types/commands/DescribeDocumentClassifierCommand.d.ts +13 -0
- package/dist-types/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +13 -0
- package/dist-types/commands/DescribeEndpointCommand.d.ts +13 -0
- package/dist-types/commands/DescribeEntitiesDetectionJobCommand.d.ts +13 -0
- package/dist-types/commands/DescribeEntityRecognizerCommand.d.ts +13 -0
- package/dist-types/commands/DescribeEventsDetectionJobCommand.d.ts +13 -0
- package/dist-types/commands/DescribeFlywheelCommand.d.ts +13 -0
- package/dist-types/commands/DescribeFlywheelIterationCommand.d.ts +13 -0
- package/dist-types/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +13 -0
- package/dist-types/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +13 -0
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +10 -0
- package/dist-types/commands/DescribeSentimentDetectionJobCommand.d.ts +13 -0
- package/dist-types/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +13 -0
- package/dist-types/commands/DescribeTopicsDetectionJobCommand.d.ts +13 -0
- package/dist-types/commands/DetectDominantLanguageCommand.d.ts +10 -0
- package/dist-types/commands/DetectEntitiesCommand.d.ts +21 -0
- package/dist-types/commands/DetectKeyPhrasesCommand.d.ts +17 -0
- package/dist-types/commands/DetectPiiEntitiesCommand.d.ts +17 -0
- package/dist-types/commands/DetectSentimentCommand.d.ts +17 -0
- package/dist-types/commands/DetectSyntaxCommand.d.ts +17 -0
- package/dist-types/commands/DetectTargetedSentimentCommand.d.ts +17 -0
- package/dist-types/commands/ImportModelCommand.d.ts +34 -0
- package/dist-types/commands/ListDatasetsCommand.d.ts +17 -0
- package/dist-types/commands/ListDocumentClassificationJobsCommand.d.ts +14 -0
- package/dist-types/commands/ListDocumentClassifierSummariesCommand.d.ts +10 -0
- package/dist-types/commands/ListDocumentClassifiersCommand.d.ts +14 -0
- package/dist-types/commands/ListDominantLanguageDetectionJobsCommand.d.ts +14 -0
- package/dist-types/commands/ListEndpointsCommand.d.ts +10 -0
- package/dist-types/commands/ListEntitiesDetectionJobsCommand.d.ts +14 -0
- package/dist-types/commands/ListEntityRecognizerSummariesCommand.d.ts +10 -0
- package/dist-types/commands/ListEntityRecognizersCommand.d.ts +14 -0
- package/dist-types/commands/ListEventsDetectionJobsCommand.d.ts +14 -0
- package/dist-types/commands/ListFlywheelIterationHistoryCommand.d.ts +17 -0
- package/dist-types/commands/ListFlywheelsCommand.d.ts +14 -0
- package/dist-types/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +14 -0
- package/dist-types/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +14 -0
- package/dist-types/commands/ListSentimentDetectionJobsCommand.d.ts +14 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +10 -0
- package/dist-types/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +14 -0
- package/dist-types/commands/ListTopicsDetectionJobsCommand.d.ts +14 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +10 -0
- package/dist-types/commands/StartDocumentClassificationJobCommand.d.ts +26 -0
- package/dist-types/commands/StartDominantLanguageDetectionJobCommand.d.ts +19 -0
- package/dist-types/commands/StartEntitiesDetectionJobCommand.d.ts +26 -0
- package/dist-types/commands/StartEventsDetectionJobCommand.d.ts +19 -0
- package/dist-types/commands/StartFlywheelIterationCommand.d.ts +17 -0
- package/dist-types/commands/StartKeyPhrasesDetectionJobCommand.d.ts +19 -0
- package/dist-types/commands/StartPiiEntitiesDetectionJobCommand.d.ts +19 -0
- package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +19 -0
- package/dist-types/commands/StartTargetedSentimentDetectionJobCommand.d.ts +19 -0
- package/dist-types/commands/StartTopicsDetectionJobCommand.d.ts +19 -0
- package/dist-types/commands/StopDominantLanguageDetectionJobCommand.d.ts +10 -0
- package/dist-types/commands/StopEntitiesDetectionJobCommand.d.ts +10 -0
- package/dist-types/commands/StopEventsDetectionJobCommand.d.ts +10 -0
- package/dist-types/commands/StopKeyPhrasesDetectionJobCommand.d.ts +10 -0
- package/dist-types/commands/StopPiiEntitiesDetectionJobCommand.d.ts +10 -0
- package/dist-types/commands/StopSentimentDetectionJobCommand.d.ts +10 -0
- package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +10 -0
- package/dist-types/commands/StopTrainingDocumentClassifierCommand.d.ts +13 -0
- package/dist-types/commands/StopTrainingEntityRecognizerCommand.d.ts +13 -0
- package/dist-types/commands/TagResourceCommand.d.ts +19 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +18 -0
- package/dist-types/commands/UpdateEndpointCommand.d.ts +25 -0
- package/dist-types/commands/UpdateFlywheelCommand.d.ts +17 -0
- package/package.json +29 -29
|
@@ -34,6 +34,19 @@ export interface StopTrainingDocumentClassifierCommandOutput extends StopTrainin
|
|
|
34
34
|
* @see {@link StopTrainingDocumentClassifierCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link InternalServerException} (server fault)
|
|
38
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
41
|
+
* <p>The request is invalid.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
44
|
+
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
47
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
48
|
+
*
|
|
49
|
+
*
|
|
37
50
|
*/
|
|
38
51
|
export declare class StopTrainingDocumentClassifierCommand extends $Command<StopTrainingDocumentClassifierCommandInput, StopTrainingDocumentClassifierCommandOutput, ComprehendClientResolvedConfig> {
|
|
39
52
|
readonly input: StopTrainingDocumentClassifierCommandInput;
|
|
@@ -34,6 +34,19 @@ export interface StopTrainingEntityRecognizerCommandOutput extends StopTrainingE
|
|
|
34
34
|
* @see {@link StopTrainingEntityRecognizerCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link InternalServerException} (server fault)
|
|
38
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
41
|
+
* <p>The request is invalid.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
44
|
+
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
47
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
48
|
+
*
|
|
49
|
+
*
|
|
37
50
|
*/
|
|
38
51
|
export declare class StopTrainingEntityRecognizerCommand extends $Command<StopTrainingEntityRecognizerCommandInput, StopTrainingEntityRecognizerCommandOutput, ComprehendClientResolvedConfig> {
|
|
39
52
|
readonly input: StopTrainingEntityRecognizerCommandInput;
|
|
@@ -32,6 +32,25 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
32
32
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
36
|
+
* <p>Concurrent modification of the tags associated with an Amazon Comprehend resource is not
|
|
37
|
+
* supported. </p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InternalServerException} (server fault)
|
|
40
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
43
|
+
* <p>The request is invalid.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
46
|
+
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link TooManyTagsException} (client fault)
|
|
49
|
+
* <p>The request contains more tags than can be associated with a resource (50 tags per
|
|
50
|
+
* resource). The maximum number of tags includes both existing tags and those included in your
|
|
51
|
+
* current request. </p>
|
|
52
|
+
*
|
|
53
|
+
*
|
|
35
54
|
*/
|
|
36
55
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, ComprehendClientResolvedConfig> {
|
|
37
56
|
readonly input: TagResourceCommandInput;
|
|
@@ -29,6 +29,24 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
29
29
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
33
|
+
* <p>Concurrent modification of the tags associated with an Amazon Comprehend resource is not
|
|
34
|
+
* supported. </p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InternalServerException} (server fault)
|
|
37
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
40
|
+
* <p>The request is invalid.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
43
|
+
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link TooManyTagKeysException} (client fault)
|
|
46
|
+
* <p>The request contains more tag keys than can be associated with a resource (50 tag keys per
|
|
47
|
+
* resource).</p>
|
|
48
|
+
*
|
|
49
|
+
*
|
|
32
50
|
*/
|
|
33
51
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, ComprehendClientResolvedConfig> {
|
|
34
52
|
readonly input: UntagResourceCommandInput;
|
|
@@ -30,6 +30,31 @@ export interface UpdateEndpointCommandOutput extends UpdateEndpointResponse, __M
|
|
|
30
30
|
* @see {@link UpdateEndpointCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link InternalServerException} (server fault)
|
|
34
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
37
|
+
* <p>The request is invalid.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
40
|
+
* <p>The specified resource name is already in use. Use a different name and try your request
|
|
41
|
+
* again.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link ResourceLimitExceededException} (client fault)
|
|
44
|
+
* <p>The maximum number of resources per account has been exceeded. Review the resources, and
|
|
45
|
+
* then try your request again.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
48
|
+
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link ResourceUnavailableException} (client fault)
|
|
51
|
+
* <p>The specified resource is not available. Check the resource and try your request
|
|
52
|
+
* again.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
55
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
56
|
+
*
|
|
57
|
+
*
|
|
33
58
|
*/
|
|
34
59
|
export declare class UpdateEndpointCommand extends $Command<UpdateEndpointCommandInput, UpdateEndpointCommandOutput, ComprehendClientResolvedConfig> {
|
|
35
60
|
readonly input: UpdateEndpointCommandInput;
|
|
@@ -29,6 +29,23 @@ export interface UpdateFlywheelCommandOutput extends UpdateFlywheelResponse, __M
|
|
|
29
29
|
* @see {@link UpdateFlywheelCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link InternalServerException} (server fault)
|
|
33
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
36
|
+
* <p>The request is invalid.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link KmsKeyValidationException} (client fault)
|
|
39
|
+
* <p>The KMS customer managed key (CMK) entered cannot be validated. Verify the key and
|
|
40
|
+
* re-enter it.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
43
|
+
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
46
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
47
|
+
*
|
|
48
|
+
*
|
|
32
49
|
*/
|
|
33
50
|
export declare class UpdateFlywheelCommand extends $Command<UpdateFlywheelCommandInput, UpdateFlywheelCommandOutput, ComprehendClientResolvedConfig> {
|
|
34
51
|
readonly input: UpdateFlywheelCommandInput;
|
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.290.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",
|
|
@@ -20,37 +20,37 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.290.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.290.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.290.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.290.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.290.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.290.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.290.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.290.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.290.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.290.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.290.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.290.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.290.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.290.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.290.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.290.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.290.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.290.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.290.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.290.0",
|
|
43
|
+
"@aws-sdk/types": "3.290.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.290.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.290.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.290.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.290.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.290.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.290.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.290.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
55
|
"tslib": "^2.3.1",
|
|
56
56
|
"uuid": "^8.3.2"
|