@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 { DescribeEntitiesDetectionJobRequestFilterSensitiveLog, DescribeEntitiesDetectionJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeEntitiesDetectionJobCommand, serializeAws_json1_1DescribeEntitiesDetectionJobCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeEntitiesDetectionJobCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeEntitiesDetectionJobCommand, _super);
|
|
8
|
+
function DescribeEntitiesDetectionJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeEntitiesDetectionJobCommand.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 = "DescribeEntitiesDetectionJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeEntitiesDetectionJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeEntitiesDetectionJobResponseFilterSensitiveLog,
|
|
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
|
+
DescribeEntitiesDetectionJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeEntitiesDetectionJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeEntitiesDetectionJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeEntitiesDetectionJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeEntitiesDetectionJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeEntitiesDetectionJobCommand };
|
|
@@ -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 { DescribeEntityRecognizerRequestFilterSensitiveLog, DescribeEntityRecognizerResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeEntityRecognizerCommand, serializeAws_json1_1DescribeEntityRecognizerCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeEntityRecognizerCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeEntityRecognizerCommand, _super);
|
|
8
|
+
function DescribeEntityRecognizerCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeEntityRecognizerCommand.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 = "DescribeEntityRecognizerCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeEntityRecognizerRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeEntityRecognizerResponseFilterSensitiveLog,
|
|
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
|
+
DescribeEntityRecognizerCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeEntityRecognizerCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeEntityRecognizerCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeEntityRecognizerCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeEntityRecognizerCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeEntityRecognizerCommand };
|
|
@@ -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 { DescribeEventsDetectionJobRequestFilterSensitiveLog, DescribeEventsDetectionJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeEventsDetectionJobCommand, serializeAws_json1_1DescribeEventsDetectionJobCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeEventsDetectionJobCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeEventsDetectionJobCommand, _super);
|
|
8
|
+
function DescribeEventsDetectionJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeEventsDetectionJobCommand.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 = "DescribeEventsDetectionJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeEventsDetectionJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeEventsDetectionJobResponseFilterSensitiveLog,
|
|
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
|
+
DescribeEventsDetectionJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeEventsDetectionJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeEventsDetectionJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeEventsDetectionJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeEventsDetectionJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeEventsDetectionJobCommand };
|
|
@@ -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 { DescribeKeyPhrasesDetectionJobRequestFilterSensitiveLog, DescribeKeyPhrasesDetectionJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeKeyPhrasesDetectionJobCommand, serializeAws_json1_1DescribeKeyPhrasesDetectionJobCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeKeyPhrasesDetectionJobCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeKeyPhrasesDetectionJobCommand, _super);
|
|
8
|
+
function DescribeKeyPhrasesDetectionJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeKeyPhrasesDetectionJobCommand.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 = "DescribeKeyPhrasesDetectionJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeKeyPhrasesDetectionJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeKeyPhrasesDetectionJobResponseFilterSensitiveLog,
|
|
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
|
+
DescribeKeyPhrasesDetectionJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeKeyPhrasesDetectionJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeKeyPhrasesDetectionJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeKeyPhrasesDetectionJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeKeyPhrasesDetectionJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeKeyPhrasesDetectionJobCommand };
|
|
@@ -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 { DescribePiiEntitiesDetectionJobRequestFilterSensitiveLog, DescribePiiEntitiesDetectionJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribePiiEntitiesDetectionJobCommand, serializeAws_json1_1DescribePiiEntitiesDetectionJobCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribePiiEntitiesDetectionJobCommand = (function (_super) {
|
|
7
|
+
__extends(DescribePiiEntitiesDetectionJobCommand, _super);
|
|
8
|
+
function DescribePiiEntitiesDetectionJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribePiiEntitiesDetectionJobCommand.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 = "DescribePiiEntitiesDetectionJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribePiiEntitiesDetectionJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribePiiEntitiesDetectionJobResponseFilterSensitiveLog,
|
|
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
|
+
DescribePiiEntitiesDetectionJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribePiiEntitiesDetectionJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribePiiEntitiesDetectionJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribePiiEntitiesDetectionJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribePiiEntitiesDetectionJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribePiiEntitiesDetectionJobCommand };
|
|
@@ -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 { DescribeResourcePolicyRequestFilterSensitiveLog, DescribeResourcePolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeResourcePolicyCommand, serializeAws_json1_1DescribeResourcePolicyCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeResourcePolicyCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeResourcePolicyCommand, _super);
|
|
8
|
+
function DescribeResourcePolicyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeResourcePolicyCommand.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 = "DescribeResourcePolicyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeResourcePolicyRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeResourcePolicyResponseFilterSensitiveLog,
|
|
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
|
+
DescribeResourcePolicyCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeResourcePolicyCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeResourcePolicyCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeResourcePolicyCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeResourcePolicyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeResourcePolicyCommand };
|
|
@@ -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 { DescribeSentimentDetectionJobRequestFilterSensitiveLog, DescribeSentimentDetectionJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeSentimentDetectionJobCommand, serializeAws_json1_1DescribeSentimentDetectionJobCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeSentimentDetectionJobCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeSentimentDetectionJobCommand, _super);
|
|
8
|
+
function DescribeSentimentDetectionJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeSentimentDetectionJobCommand.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 = "DescribeSentimentDetectionJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeSentimentDetectionJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeSentimentDetectionJobResponseFilterSensitiveLog,
|
|
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
|
+
DescribeSentimentDetectionJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeSentimentDetectionJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeSentimentDetectionJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeSentimentDetectionJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeSentimentDetectionJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeSentimentDetectionJobCommand };
|
|
@@ -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 { DescribeTargetedSentimentDetectionJobRequestFilterSensitiveLog, DescribeTargetedSentimentDetectionJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeTargetedSentimentDetectionJobCommand, serializeAws_json1_1DescribeTargetedSentimentDetectionJobCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeTargetedSentimentDetectionJobCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeTargetedSentimentDetectionJobCommand, _super);
|
|
8
|
+
function DescribeTargetedSentimentDetectionJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeTargetedSentimentDetectionJobCommand.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 = "DescribeTargetedSentimentDetectionJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeTargetedSentimentDetectionJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeTargetedSentimentDetectionJobResponseFilterSensitiveLog,
|
|
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
|
+
DescribeTargetedSentimentDetectionJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeTargetedSentimentDetectionJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeTargetedSentimentDetectionJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeTargetedSentimentDetectionJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeTargetedSentimentDetectionJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeTargetedSentimentDetectionJobCommand };
|
|
@@ -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 { DescribeTopicsDetectionJobRequestFilterSensitiveLog, DescribeTopicsDetectionJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeTopicsDetectionJobCommand, serializeAws_json1_1DescribeTopicsDetectionJobCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeTopicsDetectionJobCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeTopicsDetectionJobCommand, _super);
|
|
8
|
+
function DescribeTopicsDetectionJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeTopicsDetectionJobCommand.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 = "DescribeTopicsDetectionJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeTopicsDetectionJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeTopicsDetectionJobResponseFilterSensitiveLog,
|
|
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
|
+
DescribeTopicsDetectionJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeTopicsDetectionJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeTopicsDetectionJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeTopicsDetectionJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeTopicsDetectionJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeTopicsDetectionJobCommand };
|
|
@@ -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 { DetectDominantLanguageRequestFilterSensitiveLog, DetectDominantLanguageResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DetectDominantLanguageCommand, serializeAws_json1_1DetectDominantLanguageCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DetectDominantLanguageCommand = (function (_super) {
|
|
7
|
+
__extends(DetectDominantLanguageCommand, _super);
|
|
8
|
+
function DetectDominantLanguageCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DetectDominantLanguageCommand.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 = "DetectDominantLanguageCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DetectDominantLanguageRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DetectDominantLanguageResponseFilterSensitiveLog,
|
|
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
|
+
DetectDominantLanguageCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DetectDominantLanguageCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DetectDominantLanguageCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DetectDominantLanguageCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DetectDominantLanguageCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DetectDominantLanguageCommand };
|