@aws-sdk/client-comprehend 3.278.0 → 3.281.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/README.md +675 -0
- package/dist-cjs/Comprehend.js +165 -0
- package/dist-cjs/commands/CreateDatasetCommand.js +46 -0
- package/dist-cjs/commands/CreateFlywheelCommand.js +46 -0
- package/dist-cjs/commands/DeleteFlywheelCommand.js +46 -0
- package/dist-cjs/commands/DescribeDatasetCommand.js +46 -0
- package/dist-cjs/commands/DescribeFlywheelCommand.js +46 -0
- package/dist-cjs/commands/DescribeFlywheelIterationCommand.js +46 -0
- package/dist-cjs/commands/ListDatasetsCommand.js +46 -0
- package/dist-cjs/commands/ListFlywheelIterationHistoryCommand.js +46 -0
- package/dist-cjs/commands/ListFlywheelsCommand.js +46 -0
- package/dist-cjs/commands/StartFlywheelIterationCommand.js +46 -0
- package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +3 -3
- package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateEndpointCommand.js +3 -3
- package/dist-cjs/commands/UpdateFlywheelCommand.js +46 -0
- package/dist-cjs/commands/index.js +11 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +242 -120
- package/dist-cjs/models/models_1.js +92 -0
- package/dist-cjs/pagination/ListDatasetsPaginator.js +36 -0
- package/dist-cjs/pagination/ListFlywheelIterationHistoryPaginator.js +36 -0
- package/dist-cjs/pagination/ListFlywheelsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1135 -26
- package/dist-es/Comprehend.js +165 -0
- package/dist-es/commands/CreateDatasetCommand.js +42 -0
- package/dist-es/commands/CreateFlywheelCommand.js +42 -0
- package/dist-es/commands/DeleteFlywheelCommand.js +42 -0
- package/dist-es/commands/DescribeDatasetCommand.js +42 -0
- package/dist-es/commands/DescribeFlywheelCommand.js +42 -0
- package/dist-es/commands/DescribeFlywheelIterationCommand.js +42 -0
- package/dist-es/commands/ListDatasetsCommand.js +42 -0
- package/dist-es/commands/ListFlywheelIterationHistoryCommand.js +42 -0
- package/dist-es/commands/ListFlywheelsCommand.js +42 -0
- package/dist-es/commands/StartFlywheelIterationCommand.js +42 -0
- package/dist-es/commands/StopTargetedSentimentDetectionJobCommand.js +1 -1
- package/dist-es/commands/StopTrainingDocumentClassifierCommand.js +1 -1
- package/dist-es/commands/StopTrainingEntityRecognizerCommand.js +1 -1
- package/dist-es/commands/TagResourceCommand.js +1 -1
- package/dist-es/commands/UntagResourceCommand.js +1 -1
- package/dist-es/commands/UpdateEndpointCommand.js +1 -1
- package/dist-es/commands/UpdateFlywheelCommand.js +42 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +191 -95
- package/dist-es/models/models_1.js +72 -0
- package/dist-es/pagination/ListDatasetsPaginator.js +32 -0
- package/dist-es/pagination/ListFlywheelIterationHistoryPaginator.js +32 -0
- package/dist-es/pagination/ListFlywheelsPaginator.js +32 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +1109 -23
- package/dist-types/Comprehend.d.ts +107 -4
- package/dist-types/ComprehendClient.d.ts +13 -2
- package/dist-types/commands/BatchDetectDominantLanguageCommand.d.ts +6 -0
- package/dist-types/commands/BatchDetectEntitiesCommand.d.ts +6 -0
- package/dist-types/commands/BatchDetectKeyPhrasesCommand.d.ts +6 -0
- package/dist-types/commands/BatchDetectSentimentCommand.d.ts +6 -0
- package/dist-types/commands/BatchDetectSyntaxCommand.d.ts +6 -0
- package/dist-types/commands/BatchDetectTargetedSentimentCommand.d.ts +6 -0
- package/dist-types/commands/ClassifyDocumentCommand.d.ts +6 -0
- package/dist-types/commands/ContainsPiiEntitiesCommand.d.ts +6 -0
- package/dist-types/commands/CreateDatasetCommand.d.ts +45 -0
- package/dist-types/commands/CreateDocumentClassifierCommand.d.ts +6 -0
- package/dist-types/commands/CreateEndpointCommand.d.ts +6 -0
- package/dist-types/commands/CreateEntityRecognizerCommand.d.ts +7 -1
- package/dist-types/commands/CreateFlywheelCommand.d.ts +53 -0
- package/dist-types/commands/DeleteDocumentClassifierCommand.d.ts +6 -0
- package/dist-types/commands/DeleteEndpointCommand.d.ts +6 -0
- package/dist-types/commands/DeleteEntityRecognizerCommand.d.ts +6 -0
- package/dist-types/commands/DeleteFlywheelCommand.d.ts +46 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -0
- package/dist-types/commands/DescribeDatasetCommand.d.ts +45 -0
- package/dist-types/commands/DescribeDocumentClassificationJobCommand.d.ts +6 -0
- package/dist-types/commands/DescribeDocumentClassifierCommand.d.ts +6 -0
- package/dist-types/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/DescribeEndpointCommand.d.ts +6 -0
- package/dist-types/commands/DescribeEntitiesDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/DescribeEntityRecognizerCommand.d.ts +6 -0
- package/dist-types/commands/DescribeEventsDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/DescribeFlywheelCommand.d.ts +44 -0
- package/dist-types/commands/DescribeFlywheelIterationCommand.d.ts +45 -0
- package/dist-types/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +6 -0
- package/dist-types/commands/DescribeSentimentDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/DescribeTopicsDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/DetectDominantLanguageCommand.d.ts +6 -0
- package/dist-types/commands/DetectEntitiesCommand.d.ts +6 -0
- package/dist-types/commands/DetectKeyPhrasesCommand.d.ts +6 -0
- package/dist-types/commands/DetectPiiEntitiesCommand.d.ts +6 -0
- package/dist-types/commands/DetectSentimentCommand.d.ts +6 -0
- package/dist-types/commands/DetectSyntaxCommand.d.ts +6 -0
- package/dist-types/commands/DetectTargetedSentimentCommand.d.ts +6 -0
- package/dist-types/commands/ImportModelCommand.d.ts +6 -0
- package/dist-types/commands/ListDatasetsCommand.d.ts +44 -0
- package/dist-types/commands/ListDocumentClassificationJobsCommand.d.ts +6 -0
- package/dist-types/commands/ListDocumentClassifierSummariesCommand.d.ts +6 -0
- package/dist-types/commands/ListDocumentClassifiersCommand.d.ts +6 -0
- package/dist-types/commands/ListDominantLanguageDetectionJobsCommand.d.ts +6 -0
- package/dist-types/commands/ListEndpointsCommand.d.ts +6 -0
- package/dist-types/commands/ListEntitiesDetectionJobsCommand.d.ts +6 -0
- package/dist-types/commands/ListEntityRecognizerSummariesCommand.d.ts +6 -0
- package/dist-types/commands/ListEntityRecognizersCommand.d.ts +6 -0
- package/dist-types/commands/ListEventsDetectionJobsCommand.d.ts +6 -0
- package/dist-types/commands/ListFlywheelIterationHistoryCommand.d.ts +45 -0
- package/dist-types/commands/ListFlywheelsCommand.d.ts +43 -0
- package/dist-types/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +6 -0
- package/dist-types/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +6 -0
- package/dist-types/commands/ListSentimentDetectionJobsCommand.d.ts +6 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -0
- package/dist-types/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +6 -0
- package/dist-types/commands/ListTopicsDetectionJobsCommand.d.ts +6 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -0
- package/dist-types/commands/StartDocumentClassificationJobCommand.d.ts +9 -2
- package/dist-types/commands/StartDominantLanguageDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/StartEntitiesDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/StartEventsDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/StartFlywheelIterationCommand.d.ts +45 -0
- package/dist-types/commands/StartKeyPhrasesDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/StartPiiEntitiesDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/StartTargetedSentimentDetectionJobCommand.d.ts +7 -1
- package/dist-types/commands/StartTopicsDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/StopDominantLanguageDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/StopEntitiesDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/StopEventsDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/StopKeyPhrasesDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/StopPiiEntitiesDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/StopSentimentDetectionJobCommand.d.ts +6 -0
- package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +7 -1
- package/dist-types/commands/StopTrainingDocumentClassifierCommand.d.ts +7 -1
- package/dist-types/commands/StopTrainingEntityRecognizerCommand.d.ts +7 -1
- package/dist-types/commands/TagResourceCommand.d.ts +7 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +7 -1
- package/dist-types/commands/UpdateEndpointCommand.d.ts +7 -1
- package/dist-types/commands/UpdateFlywheelCommand.d.ts +43 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1145 -320
- package/dist-types/models/models_1.d.ts +241 -0
- package/dist-types/pagination/ListDatasetsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListFlywheelIterationHistoryPaginator.d.ts +4 -0
- package/dist-types/pagination/ListFlywheelsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +33 -0
- package/dist-types/ts3.4/Comprehend.d.ts +187 -0
- package/dist-types/ts3.4/ComprehendClient.d.ts +68 -2
- package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateFlywheelCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteFlywheelCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DescribeFlywheelCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DescribeFlywheelIterationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListFlywheelIterationHistoryCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListFlywheelsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/StartFlywheelIterationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/StopTargetedSentimentDetectionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTrainingDocumentClassifierCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTrainingEntityRecognizerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFlywheelCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +424 -138
- package/dist-types/ts3.4/models/models_1.d.ts +116 -0
- package/dist-types/ts3.4/pagination/ListDatasetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFlywheelIterationHistoryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFlywheelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +132 -0
- package/package.json +6 -6
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
|
|
5
5
|
import { StopEntitiesDetectionJobRequest, StopEntitiesDetectionJobResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link StopEntitiesDetectionJobCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface StopEntitiesDetectionJobCommandInput extends StopEntitiesDetectionJobRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link StopEntitiesDetectionJobCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface StopEntitiesDetectionJobCommandOutput extends StopEntitiesDetectionJobResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
|
|
5
5
|
import { StopEventsDetectionJobRequest, StopEventsDetectionJobResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link StopEventsDetectionJobCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface StopEventsDetectionJobCommandInput extends StopEventsDetectionJobRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link StopEventsDetectionJobCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface StopEventsDetectionJobCommandOutput extends StopEventsDetectionJobResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
|
|
5
5
|
import { StopKeyPhrasesDetectionJobRequest, StopKeyPhrasesDetectionJobResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link StopKeyPhrasesDetectionJobCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface StopKeyPhrasesDetectionJobCommandInput extends StopKeyPhrasesDetectionJobRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link StopKeyPhrasesDetectionJobCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface StopKeyPhrasesDetectionJobCommandOutput extends StopKeyPhrasesDetectionJobResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
|
|
5
5
|
import { StopPiiEntitiesDetectionJobRequest, StopPiiEntitiesDetectionJobResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link StopPiiEntitiesDetectionJobCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface StopPiiEntitiesDetectionJobCommandInput extends StopPiiEntitiesDetectionJobRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link StopPiiEntitiesDetectionJobCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface StopPiiEntitiesDetectionJobCommandOutput extends StopPiiEntitiesDetectionJobResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
|
|
5
5
|
import { StopSentimentDetectionJobRequest, StopSentimentDetectionJobResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link StopSentimentDetectionJobCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface StopSentimentDetectionJobCommandInput extends StopSentimentDetectionJobRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link StopSentimentDetectionJobCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface StopSentimentDetectionJobCommandOutput extends StopSentimentDetectionJobResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -2,9 +2,15 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
|
|
5
|
-
import { StopTargetedSentimentDetectionJobRequest, StopTargetedSentimentDetectionJobResponse } from "../models/
|
|
5
|
+
import { StopTargetedSentimentDetectionJobRequest, StopTargetedSentimentDetectionJobResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link StopTargetedSentimentDetectionJobCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface StopTargetedSentimentDetectionJobCommandInput extends StopTargetedSentimentDetectionJobRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link StopTargetedSentimentDetectionJobCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface StopTargetedSentimentDetectionJobCommandOutput extends StopTargetedSentimentDetectionJobResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -2,9 +2,15 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
|
|
5
|
-
import { StopTrainingDocumentClassifierRequest, StopTrainingDocumentClassifierResponse } from "../models/
|
|
5
|
+
import { StopTrainingDocumentClassifierRequest, StopTrainingDocumentClassifierResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link StopTrainingDocumentClassifierCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface StopTrainingDocumentClassifierCommandInput extends StopTrainingDocumentClassifierRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link StopTrainingDocumentClassifierCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface StopTrainingDocumentClassifierCommandOutput extends StopTrainingDocumentClassifierResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -2,9 +2,15 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
|
|
5
|
-
import { StopTrainingEntityRecognizerRequest, StopTrainingEntityRecognizerResponse } from "../models/
|
|
5
|
+
import { StopTrainingEntityRecognizerRequest, StopTrainingEntityRecognizerResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link StopTrainingEntityRecognizerCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface StopTrainingEntityRecognizerCommandInput extends StopTrainingEntityRecognizerRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link StopTrainingEntityRecognizerCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface StopTrainingEntityRecognizerCommandOutput extends StopTrainingEntityRecognizerResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -2,9 +2,15 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
|
|
5
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/
|
|
5
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link TagResourceCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link TagResourceCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -2,9 +2,15 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
|
|
5
|
-
import { UntagResourceRequest, UntagResourceResponse } from "../models/
|
|
5
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link UntagResourceCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link UntagResourceCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -2,9 +2,15 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
|
|
5
|
-
import { UpdateEndpointRequest, UpdateEndpointResponse } from "../models/
|
|
5
|
+
import { UpdateEndpointRequest, UpdateEndpointResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link UpdateEndpointCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface UpdateEndpointCommandInput extends UpdateEndpointRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link UpdateEndpointCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface UpdateEndpointCommandOutput extends UpdateEndpointResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ComprehendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendClient";
|
|
5
|
+
import { UpdateFlywheelRequest, UpdateFlywheelResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link UpdateFlywheelCommand}.
|
|
8
|
+
*/
|
|
9
|
+
export interface UpdateFlywheelCommandInput extends UpdateFlywheelRequest {
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link UpdateFlywheelCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface UpdateFlywheelCommandOutput extends UpdateFlywheelResponse, __MetadataBearer {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>Update the configuration information for an existing flywheel.</p>
|
|
18
|
+
* @example
|
|
19
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
+
* ```javascript
|
|
21
|
+
* import { ComprehendClient, UpdateFlywheelCommand } from "@aws-sdk/client-comprehend"; // ES Modules import
|
|
22
|
+
* // const { ComprehendClient, UpdateFlywheelCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import
|
|
23
|
+
* const client = new ComprehendClient(config);
|
|
24
|
+
* const command = new UpdateFlywheelCommand(input);
|
|
25
|
+
* const response = await client.send(command);
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* @see {@link UpdateFlywheelCommandInput} for command's `input` shape.
|
|
29
|
+
* @see {@link UpdateFlywheelCommandOutput} for command's `response` shape.
|
|
30
|
+
* @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
export declare class UpdateFlywheelCommand extends $Command<UpdateFlywheelCommandInput, UpdateFlywheelCommandOutput, ComprehendClientResolvedConfig> {
|
|
34
|
+
readonly input: UpdateFlywheelCommandInput;
|
|
35
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
36
|
+
constructor(input: UpdateFlywheelCommandInput);
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateFlywheelCommandInput, UpdateFlywheelCommandOutput>;
|
|
41
|
+
private serialize;
|
|
42
|
+
private deserialize;
|
|
43
|
+
}
|
|
@@ -6,13 +6,17 @@ export * from "./BatchDetectSyntaxCommand";
|
|
|
6
6
|
export * from "./BatchDetectTargetedSentimentCommand";
|
|
7
7
|
export * from "./ClassifyDocumentCommand";
|
|
8
8
|
export * from "./ContainsPiiEntitiesCommand";
|
|
9
|
+
export * from "./CreateDatasetCommand";
|
|
9
10
|
export * from "./CreateDocumentClassifierCommand";
|
|
10
11
|
export * from "./CreateEndpointCommand";
|
|
11
12
|
export * from "./CreateEntityRecognizerCommand";
|
|
13
|
+
export * from "./CreateFlywheelCommand";
|
|
12
14
|
export * from "./DeleteDocumentClassifierCommand";
|
|
13
15
|
export * from "./DeleteEndpointCommand";
|
|
14
16
|
export * from "./DeleteEntityRecognizerCommand";
|
|
17
|
+
export * from "./DeleteFlywheelCommand";
|
|
15
18
|
export * from "./DeleteResourcePolicyCommand";
|
|
19
|
+
export * from "./DescribeDatasetCommand";
|
|
16
20
|
export * from "./DescribeDocumentClassificationJobCommand";
|
|
17
21
|
export * from "./DescribeDocumentClassifierCommand";
|
|
18
22
|
export * from "./DescribeDominantLanguageDetectionJobCommand";
|
|
@@ -20,6 +24,8 @@ export * from "./DescribeEndpointCommand";
|
|
|
20
24
|
export * from "./DescribeEntitiesDetectionJobCommand";
|
|
21
25
|
export * from "./DescribeEntityRecognizerCommand";
|
|
22
26
|
export * from "./DescribeEventsDetectionJobCommand";
|
|
27
|
+
export * from "./DescribeFlywheelCommand";
|
|
28
|
+
export * from "./DescribeFlywheelIterationCommand";
|
|
23
29
|
export * from "./DescribeKeyPhrasesDetectionJobCommand";
|
|
24
30
|
export * from "./DescribePiiEntitiesDetectionJobCommand";
|
|
25
31
|
export * from "./DescribeResourcePolicyCommand";
|
|
@@ -34,6 +40,7 @@ export * from "./DetectSentimentCommand";
|
|
|
34
40
|
export * from "./DetectSyntaxCommand";
|
|
35
41
|
export * from "./DetectTargetedSentimentCommand";
|
|
36
42
|
export * from "./ImportModelCommand";
|
|
43
|
+
export * from "./ListDatasetsCommand";
|
|
37
44
|
export * from "./ListDocumentClassificationJobsCommand";
|
|
38
45
|
export * from "./ListDocumentClassifierSummariesCommand";
|
|
39
46
|
export * from "./ListDocumentClassifiersCommand";
|
|
@@ -43,6 +50,8 @@ export * from "./ListEntitiesDetectionJobsCommand";
|
|
|
43
50
|
export * from "./ListEntityRecognizerSummariesCommand";
|
|
44
51
|
export * from "./ListEntityRecognizersCommand";
|
|
45
52
|
export * from "./ListEventsDetectionJobsCommand";
|
|
53
|
+
export * from "./ListFlywheelIterationHistoryCommand";
|
|
54
|
+
export * from "./ListFlywheelsCommand";
|
|
46
55
|
export * from "./ListKeyPhrasesDetectionJobsCommand";
|
|
47
56
|
export * from "./ListPiiEntitiesDetectionJobsCommand";
|
|
48
57
|
export * from "./ListSentimentDetectionJobsCommand";
|
|
@@ -54,6 +63,7 @@ export * from "./StartDocumentClassificationJobCommand";
|
|
|
54
63
|
export * from "./StartDominantLanguageDetectionJobCommand";
|
|
55
64
|
export * from "./StartEntitiesDetectionJobCommand";
|
|
56
65
|
export * from "./StartEventsDetectionJobCommand";
|
|
66
|
+
export * from "./StartFlywheelIterationCommand";
|
|
57
67
|
export * from "./StartKeyPhrasesDetectionJobCommand";
|
|
58
68
|
export * from "./StartPiiEntitiesDetectionJobCommand";
|
|
59
69
|
export * from "./StartSentimentDetectionJobCommand";
|
|
@@ -71,3 +81,4 @@ export * from "./StopTrainingEntityRecognizerCommand";
|
|
|
71
81
|
export * from "./TagResourceCommand";
|
|
72
82
|
export * from "./UntagResourceCommand";
|
|
73
83
|
export * from "./UpdateEndpointCommand";
|
|
84
|
+
export * from "./UpdateFlywheelCommand";
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|