@aws-sdk/client-comprehend 3.53.0 → 3.55.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 +27 -0
- package/dist-cjs/Comprehend.js +60 -0
- package/dist-cjs/ComprehendClient.js +13 -13
- package/dist-cjs/commands/BatchDetectDominantLanguageCommand.js +3 -3
- package/dist-cjs/commands/BatchDetectEntitiesCommand.js +3 -3
- package/dist-cjs/commands/BatchDetectKeyPhrasesCommand.js +3 -3
- package/dist-cjs/commands/BatchDetectSentimentCommand.js +3 -3
- package/dist-cjs/commands/BatchDetectSyntaxCommand.js +3 -3
- package/dist-cjs/commands/ClassifyDocumentCommand.js +3 -3
- package/dist-cjs/commands/ContainsPiiEntitiesCommand.js +3 -3
- package/dist-cjs/commands/CreateDocumentClassifierCommand.js +3 -3
- package/dist-cjs/commands/CreateEndpointCommand.js +3 -3
- package/dist-cjs/commands/CreateEntityRecognizerCommand.js +3 -3
- package/dist-cjs/commands/DeleteDocumentClassifierCommand.js +3 -3
- package/dist-cjs/commands/DeleteEndpointCommand.js +3 -3
- package/dist-cjs/commands/DeleteEntityRecognizerCommand.js +3 -3
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/DescribeDocumentClassificationJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeDocumentClassifierCommand.js +3 -3
- package/dist-cjs/commands/DescribeDominantLanguageDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeEndpointCommand.js +3 -3
- package/dist-cjs/commands/DescribeEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeEntityRecognizerCommand.js +3 -3
- package/dist-cjs/commands/DescribeEventsDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribePiiEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/DescribeSentimentDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeTargetedSentimentDetectionJobCommand.js +36 -0
- package/dist-cjs/commands/DescribeTopicsDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DetectDominantLanguageCommand.js +3 -3
- package/dist-cjs/commands/DetectEntitiesCommand.js +3 -3
- package/dist-cjs/commands/DetectKeyPhrasesCommand.js +3 -3
- package/dist-cjs/commands/DetectPiiEntitiesCommand.js +3 -3
- package/dist-cjs/commands/DetectSentimentCommand.js +3 -3
- package/dist-cjs/commands/DetectSyntaxCommand.js +3 -3
- package/dist-cjs/commands/ImportModelCommand.js +3 -3
- package/dist-cjs/commands/ListDocumentClassificationJobsCommand.js +3 -3
- package/dist-cjs/commands/ListDocumentClassifierSummariesCommand.js +3 -3
- package/dist-cjs/commands/ListDocumentClassifiersCommand.js +3 -3
- package/dist-cjs/commands/ListDominantLanguageDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListEndpointsCommand.js +3 -3
- package/dist-cjs/commands/ListEntitiesDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListEntityRecognizerSummariesCommand.js +3 -3
- package/dist-cjs/commands/ListEntityRecognizersCommand.js +3 -3
- package/dist-cjs/commands/ListEventsDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListKeyPhrasesDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListPiiEntitiesDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListSentimentDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListTargetedSentimentDetectionJobsCommand.js +36 -0
- package/dist-cjs/commands/ListTopicsDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/StartDocumentClassificationJobCommand.js +3 -3
- package/dist-cjs/commands/StartDominantLanguageDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartEventsDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartKeyPhrasesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartPiiEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartSentimentDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartTargetedSentimentDetectionJobCommand.js +36 -0
- package/dist-cjs/commands/StartTopicsDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopDominantLanguageDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopEventsDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopKeyPhrasesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopPiiEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopSentimentDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +36 -0
- package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +3 -3
- package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateEndpointCommand.js +3 -3
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +63 -3
- package/dist-cjs/pagination/ListTargetedSentimentDetectionJobsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +740 -399
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Comprehend.js +127 -67
- package/dist-es/commands/DescribeTargetedSentimentDetectionJobCommand.js +39 -0
- package/dist-es/commands/ListTargetedSentimentDetectionJobsCommand.js +39 -0
- package/dist-es/commands/StartTargetedSentimentDetectionJobCommand.js +39 -0
- package/dist-es/commands/StopTargetedSentimentDetectionJobCommand.js +39 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +40 -0
- package/dist-es/pagination/ListDocumentClassificationJobsPaginator.js +4 -4
- package/dist-es/pagination/ListDocumentClassifierSummariesPaginator.js +4 -4
- package/dist-es/pagination/ListDocumentClassifiersPaginator.js +4 -4
- package/dist-es/pagination/ListDominantLanguageDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListEntitiesDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListEntityRecognizerSummariesPaginator.js +4 -4
- package/dist-es/pagination/ListEntityRecognizersPaginator.js +4 -4
- package/dist-es/pagination/ListEventsDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListKeyPhrasesDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListSentimentDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListTargetedSentimentDetectionJobsPaginator.js +74 -0
- package/dist-es/pagination/ListTopicsDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +390 -0
- package/dist-types/Comprehend.d.ts +41 -1
- package/dist-types/ComprehendClient.d.ts +8 -4
- package/dist-types/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +36 -0
- package/dist-types/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +35 -0
- package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StartTargetedSentimentDetectionJobCommand.d.ts +37 -0
- package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +44 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +336 -2
- package/dist-types/pagination/ListTargetedSentimentDetectionJobsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +12 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/Comprehend.d.ts +20 -0
- package/dist-types/ts3.4/ComprehendClient.d.ts +8 -4
- package/dist-types/ts3.4/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartTargetedSentimentDetectionJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopTargetedSentimentDetectionJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +140 -0
- package/dist-types/ts3.4/pagination/ListTargetedSentimentDetectionJobsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeTargetedSentimentDetectionJobRequest, DescribeTargetedSentimentDetectionJobResponse, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DescribeTargetedSentimentDetectionJobCommand, serializeAws_json1_1DescribeTargetedSentimentDetectionJobCommand, } from "../protocols/Aws_json1_1";
|
|
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;
|
|
12
|
+
}
|
|
13
|
+
DescribeTargetedSentimentDetectionJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
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,
|
|
23
|
+
inputFilterSensitiveLog: DescribeTargetedSentimentDetectionJobRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeTargetedSentimentDetectionJobResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
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) {
|
|
32
|
+
return serializeAws_json1_1DescribeTargetedSentimentDetectionJobCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeTargetedSentimentDetectionJobCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1DescribeTargetedSentimentDetectionJobCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeTargetedSentimentDetectionJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeTargetedSentimentDetectionJobCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListTargetedSentimentDetectionJobsRequest, ListTargetedSentimentDetectionJobsResponse, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ListTargetedSentimentDetectionJobsCommand, serializeAws_json1_1ListTargetedSentimentDetectionJobsCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var ListTargetedSentimentDetectionJobsCommand = (function (_super) {
|
|
7
|
+
__extends(ListTargetedSentimentDetectionJobsCommand, _super);
|
|
8
|
+
function ListTargetedSentimentDetectionJobsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListTargetedSentimentDetectionJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendClient";
|
|
18
|
+
var commandName = "ListTargetedSentimentDetectionJobsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListTargetedSentimentDetectionJobsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListTargetedSentimentDetectionJobsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListTargetedSentimentDetectionJobsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1ListTargetedSentimentDetectionJobsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListTargetedSentimentDetectionJobsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1ListTargetedSentimentDetectionJobsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListTargetedSentimentDetectionJobsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListTargetedSentimentDetectionJobsCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { StartTargetedSentimentDetectionJobRequest, StartTargetedSentimentDetectionJobResponse, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1StartTargetedSentimentDetectionJobCommand, serializeAws_json1_1StartTargetedSentimentDetectionJobCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var StartTargetedSentimentDetectionJobCommand = (function (_super) {
|
|
7
|
+
__extends(StartTargetedSentimentDetectionJobCommand, _super);
|
|
8
|
+
function StartTargetedSentimentDetectionJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
StartTargetedSentimentDetectionJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendClient";
|
|
18
|
+
var commandName = "StartTargetedSentimentDetectionJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: StartTargetedSentimentDetectionJobRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: StartTargetedSentimentDetectionJobResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StartTargetedSentimentDetectionJobCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1StartTargetedSentimentDetectionJobCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
StartTargetedSentimentDetectionJobCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1StartTargetedSentimentDetectionJobCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return StartTargetedSentimentDetectionJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartTargetedSentimentDetectionJobCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { StopTargetedSentimentDetectionJobRequest, StopTargetedSentimentDetectionJobResponse, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1StopTargetedSentimentDetectionJobCommand, serializeAws_json1_1StopTargetedSentimentDetectionJobCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var StopTargetedSentimentDetectionJobCommand = (function (_super) {
|
|
7
|
+
__extends(StopTargetedSentimentDetectionJobCommand, _super);
|
|
8
|
+
function StopTargetedSentimentDetectionJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
StopTargetedSentimentDetectionJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendClient";
|
|
18
|
+
var commandName = "StopTargetedSentimentDetectionJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: StopTargetedSentimentDetectionJobRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: StopTargetedSentimentDetectionJobResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StopTargetedSentimentDetectionJobCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1StopTargetedSentimentDetectionJobCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
StopTargetedSentimentDetectionJobCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1StopTargetedSentimentDetectionJobCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return StopTargetedSentimentDetectionJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StopTargetedSentimentDetectionJobCommand };
|
|
@@ -23,6 +23,7 @@ export * from "./DescribeKeyPhrasesDetectionJobCommand";
|
|
|
23
23
|
export * from "./DescribePiiEntitiesDetectionJobCommand";
|
|
24
24
|
export * from "./DescribeResourcePolicyCommand";
|
|
25
25
|
export * from "./DescribeSentimentDetectionJobCommand";
|
|
26
|
+
export * from "./DescribeTargetedSentimentDetectionJobCommand";
|
|
26
27
|
export * from "./DescribeTopicsDetectionJobCommand";
|
|
27
28
|
export * from "./DetectDominantLanguageCommand";
|
|
28
29
|
export * from "./DetectEntitiesCommand";
|
|
@@ -44,6 +45,7 @@ export * from "./ListKeyPhrasesDetectionJobsCommand";
|
|
|
44
45
|
export * from "./ListPiiEntitiesDetectionJobsCommand";
|
|
45
46
|
export * from "./ListSentimentDetectionJobsCommand";
|
|
46
47
|
export * from "./ListTagsForResourceCommand";
|
|
48
|
+
export * from "./ListTargetedSentimentDetectionJobsCommand";
|
|
47
49
|
export * from "./ListTopicsDetectionJobsCommand";
|
|
48
50
|
export * from "./PutResourcePolicyCommand";
|
|
49
51
|
export * from "./StartDocumentClassificationJobCommand";
|
|
@@ -53,6 +55,7 @@ export * from "./StartEventsDetectionJobCommand";
|
|
|
53
55
|
export * from "./StartKeyPhrasesDetectionJobCommand";
|
|
54
56
|
export * from "./StartPiiEntitiesDetectionJobCommand";
|
|
55
57
|
export * from "./StartSentimentDetectionJobCommand";
|
|
58
|
+
export * from "./StartTargetedSentimentDetectionJobCommand";
|
|
56
59
|
export * from "./StartTopicsDetectionJobCommand";
|
|
57
60
|
export * from "./StopDominantLanguageDetectionJobCommand";
|
|
58
61
|
export * from "./StopEntitiesDetectionJobCommand";
|
|
@@ -60,6 +63,7 @@ export * from "./StopEventsDetectionJobCommand";
|
|
|
60
63
|
export * from "./StopKeyPhrasesDetectionJobCommand";
|
|
61
64
|
export * from "./StopPiiEntitiesDetectionJobCommand";
|
|
62
65
|
export * from "./StopSentimentDetectionJobCommand";
|
|
66
|
+
export * from "./StopTargetedSentimentDetectionJobCommand";
|
|
63
67
|
export * from "./StopTrainingDocumentClassifierCommand";
|
|
64
68
|
export * from "./StopTrainingEntityRecognizerCommand";
|
|
65
69
|
export * from "./TagResourceCommand";
|
|
@@ -730,6 +730,18 @@ export var DescribeSentimentDetectionJobResponse;
|
|
|
730
730
|
(function (DescribeSentimentDetectionJobResponse) {
|
|
731
731
|
DescribeSentimentDetectionJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
732
732
|
})(DescribeSentimentDetectionJobResponse || (DescribeSentimentDetectionJobResponse = {}));
|
|
733
|
+
export var DescribeTargetedSentimentDetectionJobRequest;
|
|
734
|
+
(function (DescribeTargetedSentimentDetectionJobRequest) {
|
|
735
|
+
DescribeTargetedSentimentDetectionJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
736
|
+
})(DescribeTargetedSentimentDetectionJobRequest || (DescribeTargetedSentimentDetectionJobRequest = {}));
|
|
737
|
+
export var TargetedSentimentDetectionJobProperties;
|
|
738
|
+
(function (TargetedSentimentDetectionJobProperties) {
|
|
739
|
+
TargetedSentimentDetectionJobProperties.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
740
|
+
})(TargetedSentimentDetectionJobProperties || (TargetedSentimentDetectionJobProperties = {}));
|
|
741
|
+
export var DescribeTargetedSentimentDetectionJobResponse;
|
|
742
|
+
(function (DescribeTargetedSentimentDetectionJobResponse) {
|
|
743
|
+
DescribeTargetedSentimentDetectionJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
744
|
+
})(DescribeTargetedSentimentDetectionJobResponse || (DescribeTargetedSentimentDetectionJobResponse = {}));
|
|
733
745
|
export var DescribeTopicsDetectionJobRequest;
|
|
734
746
|
(function (DescribeTopicsDetectionJobRequest) {
|
|
735
747
|
DescribeTopicsDetectionJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -975,6 +987,18 @@ export var ListTagsForResourceResponse;
|
|
|
975
987
|
(function (ListTagsForResourceResponse) {
|
|
976
988
|
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
977
989
|
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
990
|
+
export var TargetedSentimentDetectionJobFilter;
|
|
991
|
+
(function (TargetedSentimentDetectionJobFilter) {
|
|
992
|
+
TargetedSentimentDetectionJobFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
993
|
+
})(TargetedSentimentDetectionJobFilter || (TargetedSentimentDetectionJobFilter = {}));
|
|
994
|
+
export var ListTargetedSentimentDetectionJobsRequest;
|
|
995
|
+
(function (ListTargetedSentimentDetectionJobsRequest) {
|
|
996
|
+
ListTargetedSentimentDetectionJobsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
997
|
+
})(ListTargetedSentimentDetectionJobsRequest || (ListTargetedSentimentDetectionJobsRequest = {}));
|
|
998
|
+
export var ListTargetedSentimentDetectionJobsResponse;
|
|
999
|
+
(function (ListTargetedSentimentDetectionJobsResponse) {
|
|
1000
|
+
ListTargetedSentimentDetectionJobsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1001
|
+
})(ListTargetedSentimentDetectionJobsResponse || (ListTargetedSentimentDetectionJobsResponse = {}));
|
|
978
1002
|
export var TopicsDetectionJobFilter;
|
|
979
1003
|
(function (TopicsDetectionJobFilter) {
|
|
980
1004
|
TopicsDetectionJobFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1051,6 +1075,14 @@ export var StartSentimentDetectionJobResponse;
|
|
|
1051
1075
|
(function (StartSentimentDetectionJobResponse) {
|
|
1052
1076
|
StartSentimentDetectionJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1053
1077
|
})(StartSentimentDetectionJobResponse || (StartSentimentDetectionJobResponse = {}));
|
|
1078
|
+
export var StartTargetedSentimentDetectionJobRequest;
|
|
1079
|
+
(function (StartTargetedSentimentDetectionJobRequest) {
|
|
1080
|
+
StartTargetedSentimentDetectionJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1081
|
+
})(StartTargetedSentimentDetectionJobRequest || (StartTargetedSentimentDetectionJobRequest = {}));
|
|
1082
|
+
export var StartTargetedSentimentDetectionJobResponse;
|
|
1083
|
+
(function (StartTargetedSentimentDetectionJobResponse) {
|
|
1084
|
+
StartTargetedSentimentDetectionJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1085
|
+
})(StartTargetedSentimentDetectionJobResponse || (StartTargetedSentimentDetectionJobResponse = {}));
|
|
1054
1086
|
export var StartTopicsDetectionJobRequest;
|
|
1055
1087
|
(function (StartTopicsDetectionJobRequest) {
|
|
1056
1088
|
StartTopicsDetectionJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1107,6 +1139,14 @@ export var StopSentimentDetectionJobResponse;
|
|
|
1107
1139
|
(function (StopSentimentDetectionJobResponse) {
|
|
1108
1140
|
StopSentimentDetectionJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1109
1141
|
})(StopSentimentDetectionJobResponse || (StopSentimentDetectionJobResponse = {}));
|
|
1142
|
+
export var StopTargetedSentimentDetectionJobRequest;
|
|
1143
|
+
(function (StopTargetedSentimentDetectionJobRequest) {
|
|
1144
|
+
StopTargetedSentimentDetectionJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1145
|
+
})(StopTargetedSentimentDetectionJobRequest || (StopTargetedSentimentDetectionJobRequest = {}));
|
|
1146
|
+
export var StopTargetedSentimentDetectionJobResponse;
|
|
1147
|
+
(function (StopTargetedSentimentDetectionJobResponse) {
|
|
1148
|
+
StopTargetedSentimentDetectionJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1149
|
+
})(StopTargetedSentimentDetectionJobResponse || (StopTargetedSentimentDetectionJobResponse = {}));
|
|
1110
1150
|
export var StopTrainingDocumentClassifierRequest;
|
|
1111
1151
|
(function (StopTrainingDocumentClassifierRequest) {
|
|
1112
1152
|
StopTrainingDocumentClassifierRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListDocumentClassificationJobsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListDocumentClassificationJobsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listDocumentClassificationJobs.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listDocumentClassificationJobs.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListDocumentClassificationJobs(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Comprehend)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ComprehendClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListDocumentClassifierSummariesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListDocumentClassifierSummariesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listDocumentClassifierSummaries.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listDocumentClassifierSummaries.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListDocumentClassifierSummaries(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Comprehend)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ComprehendClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListDocumentClassifiersCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListDocumentClassifiersCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listDocumentClassifiers.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listDocumentClassifiers.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListDocumentClassifiers(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Comprehend)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ComprehendClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListDominantLanguageDetectionJobsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListDominantLanguageDetectionJobsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listDominantLanguageDetectionJobs.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listDominantLanguageDetectionJobs.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListDominantLanguageDetectionJobs(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Comprehend)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ComprehendClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListEntitiesDetectionJobsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListEntitiesDetectionJobsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listEntitiesDetectionJobs.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listEntitiesDetectionJobs.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListEntitiesDetectionJobs(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Comprehend)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ComprehendClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListEntityRecognizerSummariesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListEntityRecognizerSummariesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listEntityRecognizerSummaries.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listEntityRecognizerSummaries.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListEntityRecognizerSummaries(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Comprehend)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ComprehendClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListEntityRecognizersCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListEntityRecognizersCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listEntityRecognizers.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listEntityRecognizers.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListEntityRecognizers(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Comprehend)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ComprehendClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListEventsDetectionJobsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListEventsDetectionJobsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listEventsDetectionJobs.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listEventsDetectionJobs.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListEventsDetectionJobs(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Comprehend)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ComprehendClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListKeyPhrasesDetectionJobsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListKeyPhrasesDetectionJobsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listKeyPhrasesDetectionJobs.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listKeyPhrasesDetectionJobs.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListKeyPhrasesDetectionJobs(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Comprehend)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ComprehendClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListSentimentDetectionJobsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListSentimentDetectionJobsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listSentimentDetectionJobs.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listSentimentDetectionJobs.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListSentimentDetectionJobs(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Comprehend)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ComprehendClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|