@aws-sdk/client-comprehend 3.183.0 → 3.185.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/Comprehend.js +301 -294
- package/dist-es/ComprehendClient.js +28 -22
- package/dist-es/commands/BatchDetectDominantLanguageCommand.js +28 -21
- package/dist-es/commands/BatchDetectEntitiesCommand.js +28 -21
- package/dist-es/commands/BatchDetectKeyPhrasesCommand.js +28 -21
- package/dist-es/commands/BatchDetectSentimentCommand.js +28 -21
- package/dist-es/commands/BatchDetectSyntaxCommand.js +28 -21
- package/dist-es/commands/BatchDetectTargetedSentimentCommand.js +28 -21
- package/dist-es/commands/ClassifyDocumentCommand.js +28 -21
- package/dist-es/commands/ContainsPiiEntitiesCommand.js +28 -21
- package/dist-es/commands/CreateDocumentClassifierCommand.js +28 -21
- package/dist-es/commands/CreateEndpointCommand.js +28 -21
- package/dist-es/commands/CreateEntityRecognizerCommand.js +28 -21
- package/dist-es/commands/DeleteDocumentClassifierCommand.js +28 -21
- package/dist-es/commands/DeleteEndpointCommand.js +28 -21
- package/dist-es/commands/DeleteEntityRecognizerCommand.js +28 -21
- package/dist-es/commands/DeleteResourcePolicyCommand.js +28 -21
- package/dist-es/commands/DescribeDocumentClassificationJobCommand.js +28 -21
- package/dist-es/commands/DescribeDocumentClassifierCommand.js +28 -21
- package/dist-es/commands/DescribeDominantLanguageDetectionJobCommand.js +28 -21
- package/dist-es/commands/DescribeEndpointCommand.js +28 -21
- package/dist-es/commands/DescribeEntitiesDetectionJobCommand.js +28 -21
- package/dist-es/commands/DescribeEntityRecognizerCommand.js +28 -21
- package/dist-es/commands/DescribeEventsDetectionJobCommand.js +28 -21
- package/dist-es/commands/DescribeKeyPhrasesDetectionJobCommand.js +28 -21
- package/dist-es/commands/DescribePiiEntitiesDetectionJobCommand.js +28 -21
- package/dist-es/commands/DescribeResourcePolicyCommand.js +28 -21
- package/dist-es/commands/DescribeSentimentDetectionJobCommand.js +28 -21
- package/dist-es/commands/DescribeTargetedSentimentDetectionJobCommand.js +28 -21
- package/dist-es/commands/DescribeTopicsDetectionJobCommand.js +28 -21
- package/dist-es/commands/DetectDominantLanguageCommand.js +28 -21
- package/dist-es/commands/DetectEntitiesCommand.js +28 -21
- package/dist-es/commands/DetectKeyPhrasesCommand.js +28 -21
- package/dist-es/commands/DetectPiiEntitiesCommand.js +28 -21
- package/dist-es/commands/DetectSentimentCommand.js +28 -21
- package/dist-es/commands/DetectSyntaxCommand.js +28 -21
- package/dist-es/commands/DetectTargetedSentimentCommand.js +28 -21
- package/dist-es/commands/ImportModelCommand.js +28 -21
- package/dist-es/commands/ListDocumentClassificationJobsCommand.js +28 -21
- package/dist-es/commands/ListDocumentClassifierSummariesCommand.js +28 -21
- package/dist-es/commands/ListDocumentClassifiersCommand.js +28 -21
- package/dist-es/commands/ListDominantLanguageDetectionJobsCommand.js +28 -21
- package/dist-es/commands/ListEndpointsCommand.js +28 -21
- package/dist-es/commands/ListEntitiesDetectionJobsCommand.js +28 -21
- package/dist-es/commands/ListEntityRecognizerSummariesCommand.js +28 -21
- package/dist-es/commands/ListEntityRecognizersCommand.js +28 -21
- package/dist-es/commands/ListEventsDetectionJobsCommand.js +28 -21
- package/dist-es/commands/ListKeyPhrasesDetectionJobsCommand.js +28 -21
- package/dist-es/commands/ListPiiEntitiesDetectionJobsCommand.js +28 -21
- package/dist-es/commands/ListSentimentDetectionJobsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListTargetedSentimentDetectionJobsCommand.js +28 -21
- package/dist-es/commands/ListTopicsDetectionJobsCommand.js +28 -21
- package/dist-es/commands/PutResourcePolicyCommand.js +28 -21
- package/dist-es/commands/StartDocumentClassificationJobCommand.js +28 -21
- package/dist-es/commands/StartDominantLanguageDetectionJobCommand.js +28 -21
- package/dist-es/commands/StartEntitiesDetectionJobCommand.js +28 -21
- package/dist-es/commands/StartEventsDetectionJobCommand.js +28 -21
- package/dist-es/commands/StartKeyPhrasesDetectionJobCommand.js +28 -21
- package/dist-es/commands/StartPiiEntitiesDetectionJobCommand.js +28 -21
- package/dist-es/commands/StartSentimentDetectionJobCommand.js +28 -21
- package/dist-es/commands/StartTargetedSentimentDetectionJobCommand.js +28 -21
- package/dist-es/commands/StartTopicsDetectionJobCommand.js +28 -21
- package/dist-es/commands/StopDominantLanguageDetectionJobCommand.js +28 -21
- package/dist-es/commands/StopEntitiesDetectionJobCommand.js +28 -21
- package/dist-es/commands/StopEventsDetectionJobCommand.js +28 -21
- package/dist-es/commands/StopKeyPhrasesDetectionJobCommand.js +28 -21
- package/dist-es/commands/StopPiiEntitiesDetectionJobCommand.js +28 -21
- package/dist-es/commands/StopSentimentDetectionJobCommand.js +28 -21
- package/dist-es/commands/StopTargetedSentimentDetectionJobCommand.js +28 -21
- package/dist-es/commands/StopTrainingDocumentClassifierCommand.js +28 -21
- package/dist-es/commands/StopTrainingEntityRecognizerCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateEndpointCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ComprehendServiceException.js +10 -5
- package/dist-es/models/models_0.js +416 -856
- package/dist-es/pagination/ListDocumentClassificationJobsPaginator.js +68 -25
- package/dist-es/pagination/ListDocumentClassifierSummariesPaginator.js +68 -25
- package/dist-es/pagination/ListDocumentClassifiersPaginator.js +68 -25
- package/dist-es/pagination/ListDominantLanguageDetectionJobsPaginator.js +68 -25
- package/dist-es/pagination/ListEntitiesDetectionJobsPaginator.js +68 -25
- package/dist-es/pagination/ListEntityRecognizerSummariesPaginator.js +68 -25
- package/dist-es/pagination/ListEntityRecognizersPaginator.js +68 -25
- package/dist-es/pagination/ListEventsDetectionJobsPaginator.js +68 -25
- package/dist-es/pagination/ListKeyPhrasesDetectionJobsPaginator.js +68 -25
- package/dist-es/pagination/ListSentimentDetectionJobsPaginator.js +68 -25
- package/dist-es/pagination/ListTargetedSentimentDetectionJobsPaginator.js +68 -25
- package/dist-es/pagination/ListTopicsDetectionJobsPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +6388 -5054
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateEndpointRequestFilterSensitiveLog, CreateEndpointResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateEndpointCommand, serializeAws_json1_1CreateEndpointCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateEndpointCommand = (function (_super) {
|
|
7
|
+
__extends(CreateEndpointCommand, _super);
|
|
8
|
+
function CreateEndpointCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateEndpointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendClient";
|
|
18
|
+
var commandName = "CreateEndpointCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateEndpointRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateEndpointResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateEndpointCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateEndpointCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateEndpointCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateEndpointCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateEndpointCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateEndpointCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateEntityRecognizerRequestFilterSensitiveLog, CreateEntityRecognizerResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateEntityRecognizerCommand, serializeAws_json1_1CreateEntityRecognizerCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateEntityRecognizerCommand = (function (_super) {
|
|
7
|
+
__extends(CreateEntityRecognizerCommand, _super);
|
|
8
|
+
function CreateEntityRecognizerCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateEntityRecognizerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendClient";
|
|
18
|
+
var commandName = "CreateEntityRecognizerCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateEntityRecognizerRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateEntityRecognizerResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateEntityRecognizerCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateEntityRecognizerCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateEntityRecognizerCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateEntityRecognizerCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateEntityRecognizerCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateEntityRecognizerCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteDocumentClassifierRequestFilterSensitiveLog, DeleteDocumentClassifierResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DeleteDocumentClassifierCommand, serializeAws_json1_1DeleteDocumentClassifierCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteDocumentClassifierCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteDocumentClassifierCommand, _super);
|
|
8
|
+
function DeleteDocumentClassifierCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteDocumentClassifierCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendClient";
|
|
18
|
+
var commandName = "DeleteDocumentClassifierCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteDocumentClassifierRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeleteDocumentClassifierResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteDocumentClassifierCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DeleteDocumentClassifierCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteDocumentClassifierCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DeleteDocumentClassifierCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteDocumentClassifierCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteDocumentClassifierCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteEndpointRequestFilterSensitiveLog, DeleteEndpointResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DeleteEndpointCommand, serializeAws_json1_1DeleteEndpointCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteEndpointCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteEndpointCommand, _super);
|
|
8
|
+
function DeleteEndpointCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteEndpointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendClient";
|
|
18
|
+
var commandName = "DeleteEndpointCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteEndpointRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeleteEndpointResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteEndpointCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DeleteEndpointCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteEndpointCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DeleteEndpointCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteEndpointCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteEndpointCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteEntityRecognizerRequestFilterSensitiveLog, DeleteEntityRecognizerResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DeleteEntityRecognizerCommand, serializeAws_json1_1DeleteEntityRecognizerCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteEntityRecognizerCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteEntityRecognizerCommand, _super);
|
|
8
|
+
function DeleteEntityRecognizerCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteEntityRecognizerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendClient";
|
|
18
|
+
var commandName = "DeleteEntityRecognizerCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteEntityRecognizerRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeleteEntityRecognizerResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteEntityRecognizerCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DeleteEntityRecognizerCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteEntityRecognizerCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DeleteEntityRecognizerCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteEntityRecognizerCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteEntityRecognizerCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteResourcePolicyRequestFilterSensitiveLog, DeleteResourcePolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DeleteResourcePolicyCommand, serializeAws_json1_1DeleteResourcePolicyCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteResourcePolicyCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteResourcePolicyCommand, _super);
|
|
8
|
+
function DeleteResourcePolicyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteResourcePolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendClient";
|
|
18
|
+
var commandName = "DeleteResourcePolicyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteResourcePolicyRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeleteResourcePolicyResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteResourcePolicyCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DeleteResourcePolicyCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteResourcePolicyCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DeleteResourcePolicyCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteResourcePolicyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteResourcePolicyCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeDocumentClassificationJobRequestFilterSensitiveLog, DescribeDocumentClassificationJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeDocumentClassificationJobCommand, serializeAws_json1_1DescribeDocumentClassificationJobCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeDocumentClassificationJobCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeDocumentClassificationJobCommand, _super);
|
|
8
|
+
function DescribeDocumentClassificationJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeDocumentClassificationJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendClient";
|
|
18
|
+
var commandName = "DescribeDocumentClassificationJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeDocumentClassificationJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeDocumentClassificationJobResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeDocumentClassificationJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeDocumentClassificationJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeDocumentClassificationJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeDocumentClassificationJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeDocumentClassificationJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeDocumentClassificationJobCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeDocumentClassifierRequestFilterSensitiveLog, DescribeDocumentClassifierResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeDocumentClassifierCommand, serializeAws_json1_1DescribeDocumentClassifierCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeDocumentClassifierCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeDocumentClassifierCommand, _super);
|
|
8
|
+
function DescribeDocumentClassifierCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeDocumentClassifierCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendClient";
|
|
18
|
+
var commandName = "DescribeDocumentClassifierCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeDocumentClassifierRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeDocumentClassifierResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeDocumentClassifierCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeDocumentClassifierCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeDocumentClassifierCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeDocumentClassifierCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeDocumentClassifierCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeDocumentClassifierCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeDominantLanguageDetectionJobRequestFilterSensitiveLog, DescribeDominantLanguageDetectionJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeDominantLanguageDetectionJobCommand, serializeAws_json1_1DescribeDominantLanguageDetectionJobCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeDominantLanguageDetectionJobCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeDominantLanguageDetectionJobCommand, _super);
|
|
8
|
+
function DescribeDominantLanguageDetectionJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeDominantLanguageDetectionJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendClient";
|
|
18
|
+
var commandName = "DescribeDominantLanguageDetectionJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeDominantLanguageDetectionJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeDominantLanguageDetectionJobResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeDominantLanguageDetectionJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeDominantLanguageDetectionJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeDominantLanguageDetectionJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeDominantLanguageDetectionJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeDominantLanguageDetectionJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeDominantLanguageDetectionJobCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeEndpointRequestFilterSensitiveLog, DescribeEndpointResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeEndpointCommand, serializeAws_json1_1DescribeEndpointCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeEndpointCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeEndpointCommand, _super);
|
|
8
|
+
function DescribeEndpointCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeEndpointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendClient";
|
|
18
|
+
var commandName = "DescribeEndpointCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeEndpointRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeEndpointResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeEndpointCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeEndpointCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeEndpointCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeEndpointCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeEndpointCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeEndpointCommand };
|