@aws-sdk/client-comprehend 3.414.0 → 3.421.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 +7 -7
- package/dist-cjs/commands/BatchDetectDominantLanguageCommand.js +5 -0
- package/dist-cjs/commands/BatchDetectEntitiesCommand.js +5 -0
- package/dist-cjs/commands/BatchDetectKeyPhrasesCommand.js +5 -0
- package/dist-cjs/commands/BatchDetectSentimentCommand.js +5 -0
- package/dist-cjs/commands/BatchDetectSyntaxCommand.js +5 -0
- package/dist-cjs/commands/BatchDetectTargetedSentimentCommand.js +5 -0
- package/dist-cjs/commands/ClassifyDocumentCommand.js +5 -0
- package/dist-cjs/commands/ContainsPiiEntitiesCommand.js +5 -0
- package/dist-cjs/commands/CreateDatasetCommand.js +5 -0
- package/dist-cjs/commands/CreateDocumentClassifierCommand.js +5 -0
- package/dist-cjs/commands/CreateEndpointCommand.js +5 -0
- package/dist-cjs/commands/CreateEntityRecognizerCommand.js +5 -0
- package/dist-cjs/commands/CreateFlywheelCommand.js +5 -0
- package/dist-cjs/commands/DeleteDocumentClassifierCommand.js +5 -0
- package/dist-cjs/commands/DeleteEndpointCommand.js +5 -0
- package/dist-cjs/commands/DeleteEntityRecognizerCommand.js +5 -0
- package/dist-cjs/commands/DeleteFlywheelCommand.js +5 -0
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +5 -0
- package/dist-cjs/commands/DescribeDatasetCommand.js +5 -0
- package/dist-cjs/commands/DescribeDocumentClassificationJobCommand.js +5 -0
- package/dist-cjs/commands/DescribeDocumentClassifierCommand.js +5 -0
- package/dist-cjs/commands/DescribeDominantLanguageDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/DescribeEndpointCommand.js +5 -0
- package/dist-cjs/commands/DescribeEntitiesDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/DescribeEntityRecognizerCommand.js +5 -0
- package/dist-cjs/commands/DescribeEventsDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/DescribeFlywheelCommand.js +5 -0
- package/dist-cjs/commands/DescribeFlywheelIterationCommand.js +5 -0
- package/dist-cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/DescribePiiEntitiesDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/DescribeResourcePolicyCommand.js +5 -0
- package/dist-cjs/commands/DescribeSentimentDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/DescribeTargetedSentimentDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/DescribeTopicsDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/DetectDominantLanguageCommand.js +5 -0
- package/dist-cjs/commands/DetectEntitiesCommand.js +5 -0
- package/dist-cjs/commands/DetectKeyPhrasesCommand.js +5 -0
- package/dist-cjs/commands/DetectPiiEntitiesCommand.js +5 -0
- package/dist-cjs/commands/DetectSentimentCommand.js +5 -0
- package/dist-cjs/commands/DetectSyntaxCommand.js +5 -0
- package/dist-cjs/commands/DetectTargetedSentimentCommand.js +5 -0
- package/dist-cjs/commands/ImportModelCommand.js +5 -0
- package/dist-cjs/commands/ListDatasetsCommand.js +5 -0
- package/dist-cjs/commands/ListDocumentClassificationJobsCommand.js +5 -0
- package/dist-cjs/commands/ListDocumentClassifierSummariesCommand.js +5 -0
- package/dist-cjs/commands/ListDocumentClassifiersCommand.js +5 -0
- package/dist-cjs/commands/ListDominantLanguageDetectionJobsCommand.js +5 -0
- package/dist-cjs/commands/ListEndpointsCommand.js +5 -0
- package/dist-cjs/commands/ListEntitiesDetectionJobsCommand.js +5 -0
- package/dist-cjs/commands/ListEntityRecognizerSummariesCommand.js +5 -0
- package/dist-cjs/commands/ListEntityRecognizersCommand.js +5 -0
- package/dist-cjs/commands/ListEventsDetectionJobsCommand.js +5 -0
- package/dist-cjs/commands/ListFlywheelIterationHistoryCommand.js +5 -0
- package/dist-cjs/commands/ListFlywheelsCommand.js +5 -0
- package/dist-cjs/commands/ListKeyPhrasesDetectionJobsCommand.js +5 -0
- package/dist-cjs/commands/ListPiiEntitiesDetectionJobsCommand.js +5 -0
- package/dist-cjs/commands/ListSentimentDetectionJobsCommand.js +5 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-cjs/commands/ListTargetedSentimentDetectionJobsCommand.js +5 -0
- package/dist-cjs/commands/ListTopicsDetectionJobsCommand.js +5 -0
- package/dist-cjs/commands/PutResourcePolicyCommand.js +5 -0
- package/dist-cjs/commands/StartDocumentClassificationJobCommand.js +5 -0
- package/dist-cjs/commands/StartDominantLanguageDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/StartEntitiesDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/StartEventsDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/StartFlywheelIterationCommand.js +5 -0
- package/dist-cjs/commands/StartKeyPhrasesDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/StartPiiEntitiesDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/StartSentimentDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/StartTargetedSentimentDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/StartTopicsDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/StopDominantLanguageDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/StopEntitiesDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/StopEventsDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/StopKeyPhrasesDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/StopPiiEntitiesDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/StopSentimentDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +5 -0
- package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +5 -0
- package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +5 -0
- package/dist-cjs/commands/TagResourceCommand.js +5 -0
- package/dist-cjs/commands/UntagResourceCommand.js +5 -0
- package/dist-cjs/commands/UpdateEndpointCommand.js +5 -0
- package/dist-cjs/commands/UpdateFlywheelCommand.js +5 -0
- package/dist-es/commands/BatchDetectDominantLanguageCommand.js +5 -0
- package/dist-es/commands/BatchDetectEntitiesCommand.js +5 -0
- package/dist-es/commands/BatchDetectKeyPhrasesCommand.js +5 -0
- package/dist-es/commands/BatchDetectSentimentCommand.js +5 -0
- package/dist-es/commands/BatchDetectSyntaxCommand.js +5 -0
- package/dist-es/commands/BatchDetectTargetedSentimentCommand.js +5 -0
- package/dist-es/commands/ClassifyDocumentCommand.js +5 -0
- package/dist-es/commands/ContainsPiiEntitiesCommand.js +5 -0
- package/dist-es/commands/CreateDatasetCommand.js +5 -0
- package/dist-es/commands/CreateDocumentClassifierCommand.js +5 -0
- package/dist-es/commands/CreateEndpointCommand.js +5 -0
- package/dist-es/commands/CreateEntityRecognizerCommand.js +5 -0
- package/dist-es/commands/CreateFlywheelCommand.js +5 -0
- package/dist-es/commands/DeleteDocumentClassifierCommand.js +5 -0
- package/dist-es/commands/DeleteEndpointCommand.js +5 -0
- package/dist-es/commands/DeleteEntityRecognizerCommand.js +5 -0
- package/dist-es/commands/DeleteFlywheelCommand.js +5 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +5 -0
- package/dist-es/commands/DescribeDatasetCommand.js +5 -0
- package/dist-es/commands/DescribeDocumentClassificationJobCommand.js +5 -0
- package/dist-es/commands/DescribeDocumentClassifierCommand.js +5 -0
- package/dist-es/commands/DescribeDominantLanguageDetectionJobCommand.js +5 -0
- package/dist-es/commands/DescribeEndpointCommand.js +5 -0
- package/dist-es/commands/DescribeEntitiesDetectionJobCommand.js +5 -0
- package/dist-es/commands/DescribeEntityRecognizerCommand.js +5 -0
- package/dist-es/commands/DescribeEventsDetectionJobCommand.js +5 -0
- package/dist-es/commands/DescribeFlywheelCommand.js +5 -0
- package/dist-es/commands/DescribeFlywheelIterationCommand.js +5 -0
- package/dist-es/commands/DescribeKeyPhrasesDetectionJobCommand.js +5 -0
- package/dist-es/commands/DescribePiiEntitiesDetectionJobCommand.js +5 -0
- package/dist-es/commands/DescribeResourcePolicyCommand.js +5 -0
- package/dist-es/commands/DescribeSentimentDetectionJobCommand.js +5 -0
- package/dist-es/commands/DescribeTargetedSentimentDetectionJobCommand.js +5 -0
- package/dist-es/commands/DescribeTopicsDetectionJobCommand.js +5 -0
- package/dist-es/commands/DetectDominantLanguageCommand.js +5 -0
- package/dist-es/commands/DetectEntitiesCommand.js +5 -0
- package/dist-es/commands/DetectKeyPhrasesCommand.js +5 -0
- package/dist-es/commands/DetectPiiEntitiesCommand.js +5 -0
- package/dist-es/commands/DetectSentimentCommand.js +5 -0
- package/dist-es/commands/DetectSyntaxCommand.js +5 -0
- package/dist-es/commands/DetectTargetedSentimentCommand.js +5 -0
- package/dist-es/commands/ImportModelCommand.js +5 -0
- package/dist-es/commands/ListDatasetsCommand.js +5 -0
- package/dist-es/commands/ListDocumentClassificationJobsCommand.js +5 -0
- package/dist-es/commands/ListDocumentClassifierSummariesCommand.js +5 -0
- package/dist-es/commands/ListDocumentClassifiersCommand.js +5 -0
- package/dist-es/commands/ListDominantLanguageDetectionJobsCommand.js +5 -0
- package/dist-es/commands/ListEndpointsCommand.js +5 -0
- package/dist-es/commands/ListEntitiesDetectionJobsCommand.js +5 -0
- package/dist-es/commands/ListEntityRecognizerSummariesCommand.js +5 -0
- package/dist-es/commands/ListEntityRecognizersCommand.js +5 -0
- package/dist-es/commands/ListEventsDetectionJobsCommand.js +5 -0
- package/dist-es/commands/ListFlywheelIterationHistoryCommand.js +5 -0
- package/dist-es/commands/ListFlywheelsCommand.js +5 -0
- package/dist-es/commands/ListKeyPhrasesDetectionJobsCommand.js +5 -0
- package/dist-es/commands/ListPiiEntitiesDetectionJobsCommand.js +5 -0
- package/dist-es/commands/ListSentimentDetectionJobsCommand.js +5 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-es/commands/ListTargetedSentimentDetectionJobsCommand.js +5 -0
- package/dist-es/commands/ListTopicsDetectionJobsCommand.js +5 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +5 -0
- package/dist-es/commands/StartDocumentClassificationJobCommand.js +5 -0
- package/dist-es/commands/StartDominantLanguageDetectionJobCommand.js +5 -0
- package/dist-es/commands/StartEntitiesDetectionJobCommand.js +5 -0
- package/dist-es/commands/StartEventsDetectionJobCommand.js +5 -0
- package/dist-es/commands/StartFlywheelIterationCommand.js +5 -0
- package/dist-es/commands/StartKeyPhrasesDetectionJobCommand.js +5 -0
- package/dist-es/commands/StartPiiEntitiesDetectionJobCommand.js +5 -0
- package/dist-es/commands/StartSentimentDetectionJobCommand.js +5 -0
- package/dist-es/commands/StartTargetedSentimentDetectionJobCommand.js +5 -0
- package/dist-es/commands/StartTopicsDetectionJobCommand.js +5 -0
- package/dist-es/commands/StopDominantLanguageDetectionJobCommand.js +5 -0
- package/dist-es/commands/StopEntitiesDetectionJobCommand.js +5 -0
- package/dist-es/commands/StopEventsDetectionJobCommand.js +5 -0
- package/dist-es/commands/StopKeyPhrasesDetectionJobCommand.js +5 -0
- package/dist-es/commands/StopPiiEntitiesDetectionJobCommand.js +5 -0
- package/dist-es/commands/StopSentimentDetectionJobCommand.js +5 -0
- package/dist-es/commands/StopTargetedSentimentDetectionJobCommand.js +5 -0
- package/dist-es/commands/StopTrainingDocumentClassifierCommand.js +5 -0
- package/dist-es/commands/StopTrainingEntityRecognizerCommand.js +5 -0
- package/dist-es/commands/TagResourceCommand.js +5 -0
- package/dist-es/commands/UntagResourceCommand.js +5 -0
- package/dist-es/commands/UpdateEndpointCommand.js +5 -0
- package/dist-es/commands/UpdateFlywheelCommand.js +5 -0
- package/package.json +31 -31
package/README.md
CHANGED
|
@@ -26,16 +26,16 @@ using your favorite package manager:
|
|
|
26
26
|
|
|
27
27
|
The AWS SDK is modulized by clients and commands.
|
|
28
28
|
To send a request, you only need to import the `ComprehendClient` and
|
|
29
|
-
the commands you need, for example `
|
|
29
|
+
the commands you need, for example `ListDatasetsCommand`:
|
|
30
30
|
|
|
31
31
|
```js
|
|
32
32
|
// ES5 example
|
|
33
|
-
const { ComprehendClient,
|
|
33
|
+
const { ComprehendClient, ListDatasetsCommand } = require("@aws-sdk/client-comprehend");
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
```ts
|
|
37
37
|
// ES6+ example
|
|
38
|
-
import { ComprehendClient,
|
|
38
|
+
import { ComprehendClient, ListDatasetsCommand } from "@aws-sdk/client-comprehend";
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
### Usage
|
|
@@ -54,7 +54,7 @@ const client = new ComprehendClient({ region: "REGION" });
|
|
|
54
54
|
const params = {
|
|
55
55
|
/** input parameters */
|
|
56
56
|
};
|
|
57
|
-
const command = new
|
|
57
|
+
const command = new ListDatasetsCommand(params);
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
#### Async/await
|
|
@@ -133,7 +133,7 @@ const client = new AWS.Comprehend({ region: "REGION" });
|
|
|
133
133
|
|
|
134
134
|
// async/await.
|
|
135
135
|
try {
|
|
136
|
-
const data = await client.
|
|
136
|
+
const data = await client.listDatasets(params);
|
|
137
137
|
// process data.
|
|
138
138
|
} catch (error) {
|
|
139
139
|
// error handling.
|
|
@@ -141,7 +141,7 @@ try {
|
|
|
141
141
|
|
|
142
142
|
// Promises.
|
|
143
143
|
client
|
|
144
|
-
.
|
|
144
|
+
.listDatasets(params)
|
|
145
145
|
.then((data) => {
|
|
146
146
|
// process data.
|
|
147
147
|
})
|
|
@@ -150,7 +150,7 @@ client
|
|
|
150
150
|
});
|
|
151
151
|
|
|
152
152
|
// callbacks.
|
|
153
|
-
client.
|
|
153
|
+
client.listDatasets(params, (err, data) => {
|
|
154
154
|
// process err and data.
|
|
155
155
|
});
|
|
156
156
|
```
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
11
|
class BatchDetectDominantLanguageCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class BatchDetectDominantLanguageCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: models_0_1.BatchDetectDominantLanguageRequestFilterSensitiveLog,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.BatchDetectDominantLanguageResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "Comprehend_20171127",
|
|
39
|
+
operation: "BatchDetectDominantLanguage",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
11
|
class BatchDetectEntitiesCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class BatchDetectEntitiesCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: models_0_1.BatchDetectEntitiesRequestFilterSensitiveLog,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.BatchDetectEntitiesResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "Comprehend_20171127",
|
|
39
|
+
operation: "BatchDetectEntities",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
11
|
class BatchDetectKeyPhrasesCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class BatchDetectKeyPhrasesCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: models_0_1.BatchDetectKeyPhrasesRequestFilterSensitiveLog,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.BatchDetectKeyPhrasesResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "Comprehend_20171127",
|
|
39
|
+
operation: "BatchDetectKeyPhrases",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
11
|
class BatchDetectSentimentCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class BatchDetectSentimentCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: models_0_1.BatchDetectSentimentRequestFilterSensitiveLog,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.BatchDetectSentimentResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "Comprehend_20171127",
|
|
39
|
+
operation: "BatchDetectSentiment",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
11
|
class BatchDetectSyntaxCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class BatchDetectSyntaxCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: models_0_1.BatchDetectSyntaxRequestFilterSensitiveLog,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.BatchDetectSyntaxResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "Comprehend_20171127",
|
|
39
|
+
operation: "BatchDetectSyntax",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
11
|
class BatchDetectTargetedSentimentCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class BatchDetectTargetedSentimentCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: models_0_1.BatchDetectTargetedSentimentRequestFilterSensitiveLog,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.BatchDetectTargetedSentimentResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "Comprehend_20171127",
|
|
39
|
+
operation: "BatchDetectTargetedSentiment",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
11
|
class ClassifyDocumentCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class ClassifyDocumentCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: models_0_1.ClassifyDocumentRequestFilterSensitiveLog,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.ClassifyDocumentResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "Comprehend_20171127",
|
|
39
|
+
operation: "ClassifyDocument",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class ContainsPiiEntitiesCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class ContainsPiiEntitiesCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Comprehend_20171127",
|
|
38
|
+
operation: "ContainsPiiEntities",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class CreateDatasetCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class CreateDatasetCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Comprehend_20171127",
|
|
38
|
+
operation: "CreateDataset",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class CreateDocumentClassifierCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class CreateDocumentClassifierCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Comprehend_20171127",
|
|
38
|
+
operation: "CreateDocumentClassifier",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class CreateEndpointCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class CreateEndpointCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Comprehend_20171127",
|
|
38
|
+
operation: "CreateEndpoint",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class CreateEntityRecognizerCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class CreateEntityRecognizerCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Comprehend_20171127",
|
|
38
|
+
operation: "CreateEntityRecognizer",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class CreateFlywheelCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class CreateFlywheelCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Comprehend_20171127",
|
|
38
|
+
operation: "CreateFlywheel",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DeleteDocumentClassifierCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DeleteDocumentClassifierCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Comprehend_20171127",
|
|
38
|
+
operation: "DeleteDocumentClassifier",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DeleteEndpointCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DeleteEndpointCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Comprehend_20171127",
|
|
38
|
+
operation: "DeleteEndpoint",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DeleteEntityRecognizerCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DeleteEntityRecognizerCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Comprehend_20171127",
|
|
38
|
+
operation: "DeleteEntityRecognizer",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DeleteFlywheelCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DeleteFlywheelCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Comprehend_20171127",
|
|
38
|
+
operation: "DeleteFlywheel",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DeleteResourcePolicyCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DeleteResourcePolicyCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Comprehend_20171127",
|
|
38
|
+
operation: "DeleteResourcePolicy",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DescribeDatasetCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DescribeDatasetCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Comprehend_20171127",
|
|
38
|
+
operation: "DescribeDataset",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DescribeDocumentClassificationJobCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DescribeDocumentClassificationJobCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Comprehend_20171127",
|
|
38
|
+
operation: "DescribeDocumentClassificationJob",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
11
|
class DescribeDocumentClassifierCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class DescribeDocumentClassifierCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: (_) => _,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.DescribeDocumentClassifierResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "Comprehend_20171127",
|
|
39
|
+
operation: "DescribeDocumentClassifier",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DescribeDominantLanguageDetectionJobCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DescribeDominantLanguageDetectionJobCommand extends smithy_client_1.Comman
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Comprehend_20171127",
|
|
38
|
+
operation: "DescribeDominantLanguageDetectionJob",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DescribeEndpointCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DescribeEndpointCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Comprehend_20171127",
|
|
38
|
+
operation: "DescribeEndpoint",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DescribeEntitiesDetectionJobCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DescribeEntitiesDetectionJobCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Comprehend_20171127",
|
|
38
|
+
operation: "DescribeEntitiesDetectionJob",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
11
|
class DescribeEntityRecognizerCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class DescribeEntityRecognizerCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: (_) => _,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.DescribeEntityRecognizerResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "Comprehend_20171127",
|
|
39
|
+
operation: "DescribeEntityRecognizer",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DescribeEventsDetectionJobCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DescribeEventsDetectionJobCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Comprehend_20171127",
|
|
38
|
+
operation: "DescribeEventsDetectionJob",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DescribeFlywheelCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DescribeFlywheelCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Comprehend_20171127",
|
|
38
|
+
operation: "DescribeFlywheel",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DescribeFlywheelIterationCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DescribeFlywheelIterationCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Comprehend_20171127",
|
|
38
|
+
operation: "DescribeFlywheelIteration",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DescribeKeyPhrasesDetectionJobCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DescribeKeyPhrasesDetectionJobCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Comprehend_20171127",
|
|
38
|
+
operation: "DescribeKeyPhrasesDetectionJob",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|