@aws-sdk/client-comprehend 3.48.0 → 3.52.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 +35 -0
- package/dist-cjs/Comprehend.js +60 -0
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +36 -0
- package/dist-cjs/commands/DescribeResourcePolicyCommand.js +36 -0
- package/dist-cjs/commands/ImportModelCommand.js +36 -0
- package/dist-cjs/commands/PutResourcePolicyCommand.js +36 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +52 -4
- package/dist-cjs/protocols/Aws_json1_1.js +405 -3
- package/dist-es/Comprehend.js +60 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +39 -0
- package/dist-es/commands/DescribeResourcePolicyCommand.js +39 -0
- package/dist-es/commands/ImportModelCommand.js +39 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +39 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +32 -0
- package/dist-es/protocols/Aws_json1_1.js +428 -4
- package/dist-types/Comprehend.d.ts +37 -2
- package/dist-types/ComprehendClient.d.ts +6 -2
- package/dist-types/commands/CreateEndpointCommand.d.ts +1 -2
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +35 -0
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +36 -0
- package/dist-types/commands/ImportModelCommand.d.ts +40 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +279 -43
- package/dist-types/protocols/Aws_json1_1.d.ts +12 -0
- package/dist-types/ts3.4/Comprehend.d.ts +20 -0
- package/dist-types/ts3.4/ComprehendClient.d.ts +6 -2
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ImportModelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.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 +92 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/package.json +40 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-comprehend
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-comprehend
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** update clients as of 02/04/2022 ([#3280](https://github.com/aws/aws-sdk-js-v3/issues/3280)) ([63d7f8c](https://github.com/aws/aws-sdk-js-v3/commit/63d7f8c539e0fd782fa5bf997bd6ac2730e4bfda))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# [3.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
|
|
34
|
+
|
|
35
|
+
**Note:** Version bump only for package @aws-sdk/client-comprehend
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
# [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
|
|
7
42
|
|
|
8
43
|
**Note:** Version bump only for package @aws-sdk/client-comprehend
|
package/dist-cjs/Comprehend.js
CHANGED
|
@@ -14,6 +14,7 @@ const CreateEntityRecognizerCommand_1 = require("./commands/CreateEntityRecogniz
|
|
|
14
14
|
const DeleteDocumentClassifierCommand_1 = require("./commands/DeleteDocumentClassifierCommand");
|
|
15
15
|
const DeleteEndpointCommand_1 = require("./commands/DeleteEndpointCommand");
|
|
16
16
|
const DeleteEntityRecognizerCommand_1 = require("./commands/DeleteEntityRecognizerCommand");
|
|
17
|
+
const DeleteResourcePolicyCommand_1 = require("./commands/DeleteResourcePolicyCommand");
|
|
17
18
|
const DescribeDocumentClassificationJobCommand_1 = require("./commands/DescribeDocumentClassificationJobCommand");
|
|
18
19
|
const DescribeDocumentClassifierCommand_1 = require("./commands/DescribeDocumentClassifierCommand");
|
|
19
20
|
const DescribeDominantLanguageDetectionJobCommand_1 = require("./commands/DescribeDominantLanguageDetectionJobCommand");
|
|
@@ -23,6 +24,7 @@ const DescribeEntityRecognizerCommand_1 = require("./commands/DescribeEntityReco
|
|
|
23
24
|
const DescribeEventsDetectionJobCommand_1 = require("./commands/DescribeEventsDetectionJobCommand");
|
|
24
25
|
const DescribeKeyPhrasesDetectionJobCommand_1 = require("./commands/DescribeKeyPhrasesDetectionJobCommand");
|
|
25
26
|
const DescribePiiEntitiesDetectionJobCommand_1 = require("./commands/DescribePiiEntitiesDetectionJobCommand");
|
|
27
|
+
const DescribeResourcePolicyCommand_1 = require("./commands/DescribeResourcePolicyCommand");
|
|
26
28
|
const DescribeSentimentDetectionJobCommand_1 = require("./commands/DescribeSentimentDetectionJobCommand");
|
|
27
29
|
const DescribeTopicsDetectionJobCommand_1 = require("./commands/DescribeTopicsDetectionJobCommand");
|
|
28
30
|
const DetectDominantLanguageCommand_1 = require("./commands/DetectDominantLanguageCommand");
|
|
@@ -31,6 +33,7 @@ const DetectKeyPhrasesCommand_1 = require("./commands/DetectKeyPhrasesCommand");
|
|
|
31
33
|
const DetectPiiEntitiesCommand_1 = require("./commands/DetectPiiEntitiesCommand");
|
|
32
34
|
const DetectSentimentCommand_1 = require("./commands/DetectSentimentCommand");
|
|
33
35
|
const DetectSyntaxCommand_1 = require("./commands/DetectSyntaxCommand");
|
|
36
|
+
const ImportModelCommand_1 = require("./commands/ImportModelCommand");
|
|
34
37
|
const ListDocumentClassificationJobsCommand_1 = require("./commands/ListDocumentClassificationJobsCommand");
|
|
35
38
|
const ListDocumentClassifiersCommand_1 = require("./commands/ListDocumentClassifiersCommand");
|
|
36
39
|
const ListDocumentClassifierSummariesCommand_1 = require("./commands/ListDocumentClassifierSummariesCommand");
|
|
@@ -45,6 +48,7 @@ const ListPiiEntitiesDetectionJobsCommand_1 = require("./commands/ListPiiEntitie
|
|
|
45
48
|
const ListSentimentDetectionJobsCommand_1 = require("./commands/ListSentimentDetectionJobsCommand");
|
|
46
49
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
47
50
|
const ListTopicsDetectionJobsCommand_1 = require("./commands/ListTopicsDetectionJobsCommand");
|
|
51
|
+
const PutResourcePolicyCommand_1 = require("./commands/PutResourcePolicyCommand");
|
|
48
52
|
const StartDocumentClassificationJobCommand_1 = require("./commands/StartDocumentClassificationJobCommand");
|
|
49
53
|
const StartDominantLanguageDetectionJobCommand_1 = require("./commands/StartDominantLanguageDetectionJobCommand");
|
|
50
54
|
const StartEntitiesDetectionJobCommand_1 = require("./commands/StartEntitiesDetectionJobCommand");
|
|
@@ -248,6 +252,20 @@ class Comprehend extends ComprehendClient_1.ComprehendClient {
|
|
|
248
252
|
return this.send(command, optionsOrCb);
|
|
249
253
|
}
|
|
250
254
|
}
|
|
255
|
+
deleteResourcePolicy(args, optionsOrCb, cb) {
|
|
256
|
+
const command = new DeleteResourcePolicyCommand_1.DeleteResourcePolicyCommand(args);
|
|
257
|
+
if (typeof optionsOrCb === "function") {
|
|
258
|
+
this.send(command, optionsOrCb);
|
|
259
|
+
}
|
|
260
|
+
else if (typeof cb === "function") {
|
|
261
|
+
if (typeof optionsOrCb !== "object")
|
|
262
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
263
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
264
|
+
}
|
|
265
|
+
else {
|
|
266
|
+
return this.send(command, optionsOrCb);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
251
269
|
describeDocumentClassificationJob(args, optionsOrCb, cb) {
|
|
252
270
|
const command = new DescribeDocumentClassificationJobCommand_1.DescribeDocumentClassificationJobCommand(args);
|
|
253
271
|
if (typeof optionsOrCb === "function") {
|
|
@@ -374,6 +392,20 @@ class Comprehend extends ComprehendClient_1.ComprehendClient {
|
|
|
374
392
|
return this.send(command, optionsOrCb);
|
|
375
393
|
}
|
|
376
394
|
}
|
|
395
|
+
describeResourcePolicy(args, optionsOrCb, cb) {
|
|
396
|
+
const command = new DescribeResourcePolicyCommand_1.DescribeResourcePolicyCommand(args);
|
|
397
|
+
if (typeof optionsOrCb === "function") {
|
|
398
|
+
this.send(command, optionsOrCb);
|
|
399
|
+
}
|
|
400
|
+
else if (typeof cb === "function") {
|
|
401
|
+
if (typeof optionsOrCb !== "object")
|
|
402
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
403
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
404
|
+
}
|
|
405
|
+
else {
|
|
406
|
+
return this.send(command, optionsOrCb);
|
|
407
|
+
}
|
|
408
|
+
}
|
|
377
409
|
describeSentimentDetectionJob(args, optionsOrCb, cb) {
|
|
378
410
|
const command = new DescribeSentimentDetectionJobCommand_1.DescribeSentimentDetectionJobCommand(args);
|
|
379
411
|
if (typeof optionsOrCb === "function") {
|
|
@@ -486,6 +518,20 @@ class Comprehend extends ComprehendClient_1.ComprehendClient {
|
|
|
486
518
|
return this.send(command, optionsOrCb);
|
|
487
519
|
}
|
|
488
520
|
}
|
|
521
|
+
importModel(args, optionsOrCb, cb) {
|
|
522
|
+
const command = new ImportModelCommand_1.ImportModelCommand(args);
|
|
523
|
+
if (typeof optionsOrCb === "function") {
|
|
524
|
+
this.send(command, optionsOrCb);
|
|
525
|
+
}
|
|
526
|
+
else if (typeof cb === "function") {
|
|
527
|
+
if (typeof optionsOrCb !== "object")
|
|
528
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
529
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
530
|
+
}
|
|
531
|
+
else {
|
|
532
|
+
return this.send(command, optionsOrCb);
|
|
533
|
+
}
|
|
534
|
+
}
|
|
489
535
|
listDocumentClassificationJobs(args, optionsOrCb, cb) {
|
|
490
536
|
const command = new ListDocumentClassificationJobsCommand_1.ListDocumentClassificationJobsCommand(args);
|
|
491
537
|
if (typeof optionsOrCb === "function") {
|
|
@@ -682,6 +728,20 @@ class Comprehend extends ComprehendClient_1.ComprehendClient {
|
|
|
682
728
|
return this.send(command, optionsOrCb);
|
|
683
729
|
}
|
|
684
730
|
}
|
|
731
|
+
putResourcePolicy(args, optionsOrCb, cb) {
|
|
732
|
+
const command = new PutResourcePolicyCommand_1.PutResourcePolicyCommand(args);
|
|
733
|
+
if (typeof optionsOrCb === "function") {
|
|
734
|
+
this.send(command, optionsOrCb);
|
|
735
|
+
}
|
|
736
|
+
else if (typeof cb === "function") {
|
|
737
|
+
if (typeof optionsOrCb !== "object")
|
|
738
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
739
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
740
|
+
}
|
|
741
|
+
else {
|
|
742
|
+
return this.send(command, optionsOrCb);
|
|
743
|
+
}
|
|
744
|
+
}
|
|
685
745
|
startDocumentClassificationJob(args, optionsOrCb, cb) {
|
|
686
746
|
const command = new StartDocumentClassificationJobCommand_1.StartDocumentClassificationJobCommand(args);
|
|
687
747
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteResourcePolicyCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class DeleteResourcePolicyCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ComprehendClient";
|
|
18
|
+
const commandName = "DeleteResourcePolicyCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteResourcePolicyRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DeleteResourcePolicyResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1DeleteResourcePolicyCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DeleteResourcePolicyCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeResourcePolicyCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class DescribeResourcePolicyCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ComprehendClient";
|
|
18
|
+
const commandName = "DescribeResourcePolicyCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeResourcePolicyRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeResourcePolicyResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1DescribeResourcePolicyCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DescribeResourcePolicyCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeResourcePolicyCommand = DescribeResourcePolicyCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ImportModelCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class ImportModelCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ComprehendClient";
|
|
18
|
+
const commandName = "ImportModelCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ImportModelRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ImportModelResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1ImportModelCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1ImportModelCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ImportModelCommand = ImportModelCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutResourcePolicyCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class PutResourcePolicyCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "ComprehendClient";
|
|
18
|
+
const commandName = "PutResourcePolicyCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.PutResourcePolicyRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.PutResourcePolicyResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1PutResourcePolicyCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1PutResourcePolicyCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
|
|
@@ -14,6 +14,7 @@ tslib_1.__exportStar(require("./CreateEntityRecognizerCommand"), exports);
|
|
|
14
14
|
tslib_1.__exportStar(require("./DeleteDocumentClassifierCommand"), exports);
|
|
15
15
|
tslib_1.__exportStar(require("./DeleteEndpointCommand"), exports);
|
|
16
16
|
tslib_1.__exportStar(require("./DeleteEntityRecognizerCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./DeleteResourcePolicyCommand"), exports);
|
|
17
18
|
tslib_1.__exportStar(require("./DescribeDocumentClassificationJobCommand"), exports);
|
|
18
19
|
tslib_1.__exportStar(require("./DescribeDocumentClassifierCommand"), exports);
|
|
19
20
|
tslib_1.__exportStar(require("./DescribeDominantLanguageDetectionJobCommand"), exports);
|
|
@@ -23,6 +24,7 @@ tslib_1.__exportStar(require("./DescribeEntityRecognizerCommand"), exports);
|
|
|
23
24
|
tslib_1.__exportStar(require("./DescribeEventsDetectionJobCommand"), exports);
|
|
24
25
|
tslib_1.__exportStar(require("./DescribeKeyPhrasesDetectionJobCommand"), exports);
|
|
25
26
|
tslib_1.__exportStar(require("./DescribePiiEntitiesDetectionJobCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./DescribeResourcePolicyCommand"), exports);
|
|
26
28
|
tslib_1.__exportStar(require("./DescribeSentimentDetectionJobCommand"), exports);
|
|
27
29
|
tslib_1.__exportStar(require("./DescribeTopicsDetectionJobCommand"), exports);
|
|
28
30
|
tslib_1.__exportStar(require("./DetectDominantLanguageCommand"), exports);
|
|
@@ -31,6 +33,7 @@ tslib_1.__exportStar(require("./DetectKeyPhrasesCommand"), exports);
|
|
|
31
33
|
tslib_1.__exportStar(require("./DetectPiiEntitiesCommand"), exports);
|
|
32
34
|
tslib_1.__exportStar(require("./DetectSentimentCommand"), exports);
|
|
33
35
|
tslib_1.__exportStar(require("./DetectSyntaxCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./ImportModelCommand"), exports);
|
|
34
37
|
tslib_1.__exportStar(require("./ListDocumentClassificationJobsCommand"), exports);
|
|
35
38
|
tslib_1.__exportStar(require("./ListDocumentClassifierSummariesCommand"), exports);
|
|
36
39
|
tslib_1.__exportStar(require("./ListDocumentClassifiersCommand"), exports);
|
|
@@ -45,6 +48,7 @@ tslib_1.__exportStar(require("./ListPiiEntitiesDetectionJobsCommand"), exports);
|
|
|
45
48
|
tslib_1.__exportStar(require("./ListSentimentDetectionJobsCommand"), exports);
|
|
46
49
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
47
50
|
tslib_1.__exportStar(require("./ListTopicsDetectionJobsCommand"), exports);
|
|
51
|
+
tslib_1.__exportStar(require("./PutResourcePolicyCommand"), exports);
|
|
48
52
|
tslib_1.__exportStar(require("./StartDocumentClassificationJobCommand"), exports);
|
|
49
53
|
tslib_1.__exportStar(require("./StartDominantLanguageDetectionJobCommand"), exports);
|
|
50
54
|
tslib_1.__exportStar(require("./StartEntitiesDetectionJobCommand"), exports);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateEndpointResponse = exports.CreateEndpointRequest = exports.CreateDocumentClassifierResponse = exports.CreateDocumentClassifierRequest = exports.VpcConfig = exports.Tag = exports.DocumentClassifierOutputDataConfig = exports.DocumentClassifierMode = exports.DocumentClassifierInputDataConfig = exports.DocumentClassifierDataFormat = exports.ContainsPiiEntitiesResponse = exports.EntityLabel = exports.PiiEntityType = exports.ContainsPiiEntitiesRequest = exports.ClassifyDocumentResponse = exports.DocumentLabel = exports.DocumentClass = exports.ClassifyDocumentRequest = exports.ClassifierMetadata = exports.ClassifierEvaluationMetrics = exports.BatchDetectSyntaxResponse = exports.BatchDetectSyntaxItemResult = exports.SyntaxToken = exports.PartOfSpeechTag = exports.PartOfSpeechTagType = exports.BatchDetectSyntaxRequest = exports.SyntaxLanguageCode = exports.BatchDetectSentimentResponse = exports.BatchDetectSentimentItemResult = exports.SentimentScore = exports.SentimentType = exports.BatchDetectSentimentRequest = exports.BatchDetectKeyPhrasesResponse = exports.BatchDetectKeyPhrasesItemResult = exports.KeyPhrase = exports.BatchDetectKeyPhrasesRequest = exports.BatchDetectEntitiesResponse = exports.BatchDetectEntitiesItemResult = exports.Entity = exports.EntityType = exports.BatchDetectEntitiesRequest = exports.LanguageCode = exports.BatchDetectDominantLanguageResponse = exports.BatchDetectDominantLanguageItemResult = exports.DominantLanguage = exports.BatchItemError = exports.BatchDetectDominantLanguageRequest = exports.AugmentedManifestsListItem = exports.Split = exports.AugmentedManifestsDocumentTypeFormat = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.UpdateEndpointResponse = exports.UpdateEndpointRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopTrainingEntityRecognizerResponse = void 0;
|
|
4
|
+
exports.EventsDetectionJobProperties = exports.DescribeEventsDetectionJobRequest = exports.DescribeEntityRecognizerResponse = exports.EntityRecognizerProperties = exports.EntityRecognizerMetadata = exports.EntityRecognizerEvaluationMetrics = exports.EntityRecognizerMetadataEntityTypesListItem = exports.EntityTypesEvaluationMetrics = exports.DescribeEntityRecognizerRequest = exports.DescribeEntitiesDetectionJobResponse = exports.EntitiesDetectionJobProperties = exports.DescribeEntitiesDetectionJobRequest = exports.DescribeEndpointResponse = exports.EndpointProperties = exports.EndpointStatus = exports.DescribeEndpointRequest = exports.DescribeDominantLanguageDetectionJobResponse = exports.DominantLanguageDetectionJobProperties = exports.DescribeDominantLanguageDetectionJobRequest = exports.DescribeDocumentClassifierResponse = exports.DocumentClassifierProperties = exports.ModelStatus = exports.DescribeDocumentClassifierRequest = exports.DescribeDocumentClassificationJobResponse = exports.DocumentClassificationJobProperties = exports.OutputDataConfig = exports.JobStatus = exports.InputDataConfig = exports.DocumentReaderConfig = exports.DocumentReadFeatureTypes = exports.DocumentReadMode = exports.DocumentReadAction = exports.DescribeDocumentClassificationJobRequest = exports.DeleteResourcePolicyResponse = exports.DeleteResourcePolicyRequest = exports.DeleteEntityRecognizerResponse = exports.DeleteEntityRecognizerRequest = exports.DeleteEndpointResponse = exports.DeleteEndpointRequest = exports.DeleteDocumentClassifierResponse = exports.DeleteDocumentClassifierRequest = exports.CreateEntityRecognizerResponse = exports.CreateEntityRecognizerRequest = exports.EntityRecognizerInputDataConfig = exports.EntityTypesListItem = exports.EntityRecognizerEntityList = exports.EntityRecognizerDocuments = exports.InputFormat = exports.EntityRecognizerDataFormat = exports.EntityRecognizerAnnotations = void 0;
|
|
5
|
+
exports.EntitiesDetectionJobFilter = exports.ListEndpointsResponse = exports.ListEndpointsRequest = exports.EndpointFilter = exports.ListDominantLanguageDetectionJobsResponse = exports.ListDominantLanguageDetectionJobsRequest = exports.DominantLanguageDetectionJobFilter = exports.ListDocumentClassifierSummariesResponse = exports.DocumentClassifierSummary = exports.ListDocumentClassifierSummariesRequest = exports.ListDocumentClassifiersResponse = exports.ListDocumentClassifiersRequest = exports.DocumentClassifierFilter = exports.ListDocumentClassificationJobsResponse = exports.ListDocumentClassificationJobsRequest = exports.DocumentClassificationJobFilter = exports.ImportModelResponse = exports.ImportModelRequest = exports.DetectSyntaxResponse = exports.DetectSyntaxRequest = exports.DetectSentimentResponse = exports.DetectSentimentRequest = exports.DetectPiiEntitiesResponse = exports.PiiEntity = exports.DetectPiiEntitiesRequest = exports.DetectKeyPhrasesResponse = exports.DetectKeyPhrasesRequest = exports.DetectEntitiesResponse = exports.DetectEntitiesRequest = exports.DetectDominantLanguageResponse = exports.DetectDominantLanguageRequest = exports.DescribeTopicsDetectionJobResponse = exports.TopicsDetectionJobProperties = exports.DescribeTopicsDetectionJobRequest = exports.DescribeSentimentDetectionJobResponse = exports.SentimentDetectionJobProperties = exports.DescribeSentimentDetectionJobRequest = exports.DescribeResourcePolicyResponse = exports.DescribeResourcePolicyRequest = exports.DescribePiiEntitiesDetectionJobResponse = exports.PiiEntitiesDetectionJobProperties = exports.RedactionConfig = exports.PiiEntitiesDetectionMaskMode = exports.PiiOutputDataConfig = exports.PiiEntitiesDetectionMode = exports.DescribePiiEntitiesDetectionJobRequest = exports.DescribeKeyPhrasesDetectionJobResponse = exports.KeyPhrasesDetectionJobProperties = exports.DescribeKeyPhrasesDetectionJobRequest = exports.DescribeEventsDetectionJobResponse = void 0;
|
|
6
|
+
exports.StopKeyPhrasesDetectionJobRequest = exports.StopEventsDetectionJobResponse = exports.StopEventsDetectionJobRequest = exports.StopEntitiesDetectionJobResponse = exports.StopEntitiesDetectionJobRequest = exports.StopDominantLanguageDetectionJobResponse = exports.StopDominantLanguageDetectionJobRequest = exports.StartTopicsDetectionJobResponse = exports.StartTopicsDetectionJobRequest = exports.StartSentimentDetectionJobResponse = exports.StartSentimentDetectionJobRequest = exports.StartPiiEntitiesDetectionJobResponse = exports.StartPiiEntitiesDetectionJobRequest = exports.StartKeyPhrasesDetectionJobResponse = exports.StartKeyPhrasesDetectionJobRequest = exports.StartEventsDetectionJobResponse = exports.StartEventsDetectionJobRequest = exports.StartEntitiesDetectionJobResponse = exports.StartEntitiesDetectionJobRequest = exports.StartDominantLanguageDetectionJobResponse = exports.StartDominantLanguageDetectionJobRequest = exports.StartDocumentClassificationJobResponse = exports.StartDocumentClassificationJobRequest = exports.PutResourcePolicyResponse = exports.PutResourcePolicyRequest = exports.ListTopicsDetectionJobsResponse = exports.ListTopicsDetectionJobsRequest = exports.TopicsDetectionJobFilter = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSentimentDetectionJobsResponse = exports.ListSentimentDetectionJobsRequest = exports.SentimentDetectionJobFilter = exports.ListPiiEntitiesDetectionJobsResponse = exports.ListPiiEntitiesDetectionJobsRequest = exports.PiiEntitiesDetectionJobFilter = exports.ListKeyPhrasesDetectionJobsResponse = exports.ListKeyPhrasesDetectionJobsRequest = exports.KeyPhrasesDetectionJobFilter = exports.ListEventsDetectionJobsResponse = exports.ListEventsDetectionJobsRequest = exports.EventsDetectionJobFilter = exports.ListEntityRecognizerSummariesResponse = exports.EntityRecognizerSummary = exports.ListEntityRecognizerSummariesRequest = exports.ListEntityRecognizersResponse = exports.ListEntityRecognizersRequest = exports.EntityRecognizerFilter = exports.ListEntitiesDetectionJobsResponse = exports.ListEntitiesDetectionJobsRequest = void 0;
|
|
7
|
+
exports.UpdateEndpointResponse = exports.UpdateEndpointRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopTrainingEntityRecognizerResponse = exports.StopTrainingEntityRecognizerRequest = exports.StopTrainingDocumentClassifierResponse = exports.StopTrainingDocumentClassifierRequest = exports.StopSentimentDetectionJobResponse = exports.StopSentimentDetectionJobRequest = exports.StopPiiEntitiesDetectionJobResponse = exports.StopPiiEntitiesDetectionJobRequest = exports.StopKeyPhrasesDetectionJobResponse = void 0;
|
|
8
8
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
9
9
|
var AugmentedManifestsDocumentTypeFormat;
|
|
10
10
|
(function (AugmentedManifestsDocumentTypeFormat) {
|
|
@@ -450,6 +450,18 @@ var DeleteEntityRecognizerResponse;
|
|
|
450
450
|
...obj,
|
|
451
451
|
});
|
|
452
452
|
})(DeleteEntityRecognizerResponse = exports.DeleteEntityRecognizerResponse || (exports.DeleteEntityRecognizerResponse = {}));
|
|
453
|
+
var DeleteResourcePolicyRequest;
|
|
454
|
+
(function (DeleteResourcePolicyRequest) {
|
|
455
|
+
DeleteResourcePolicyRequest.filterSensitiveLog = (obj) => ({
|
|
456
|
+
...obj,
|
|
457
|
+
});
|
|
458
|
+
})(DeleteResourcePolicyRequest = exports.DeleteResourcePolicyRequest || (exports.DeleteResourcePolicyRequest = {}));
|
|
459
|
+
var DeleteResourcePolicyResponse;
|
|
460
|
+
(function (DeleteResourcePolicyResponse) {
|
|
461
|
+
DeleteResourcePolicyResponse.filterSensitiveLog = (obj) => ({
|
|
462
|
+
...obj,
|
|
463
|
+
});
|
|
464
|
+
})(DeleteResourcePolicyResponse = exports.DeleteResourcePolicyResponse || (exports.DeleteResourcePolicyResponse = {}));
|
|
453
465
|
var DescribeDocumentClassificationJobRequest;
|
|
454
466
|
(function (DescribeDocumentClassificationJobRequest) {
|
|
455
467
|
DescribeDocumentClassificationJobRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -726,6 +738,18 @@ var DescribePiiEntitiesDetectionJobResponse;
|
|
|
726
738
|
...obj,
|
|
727
739
|
});
|
|
728
740
|
})(DescribePiiEntitiesDetectionJobResponse = exports.DescribePiiEntitiesDetectionJobResponse || (exports.DescribePiiEntitiesDetectionJobResponse = {}));
|
|
741
|
+
var DescribeResourcePolicyRequest;
|
|
742
|
+
(function (DescribeResourcePolicyRequest) {
|
|
743
|
+
DescribeResourcePolicyRequest.filterSensitiveLog = (obj) => ({
|
|
744
|
+
...obj,
|
|
745
|
+
});
|
|
746
|
+
})(DescribeResourcePolicyRequest = exports.DescribeResourcePolicyRequest || (exports.DescribeResourcePolicyRequest = {}));
|
|
747
|
+
var DescribeResourcePolicyResponse;
|
|
748
|
+
(function (DescribeResourcePolicyResponse) {
|
|
749
|
+
DescribeResourcePolicyResponse.filterSensitiveLog = (obj) => ({
|
|
750
|
+
...obj,
|
|
751
|
+
});
|
|
752
|
+
})(DescribeResourcePolicyResponse = exports.DescribeResourcePolicyResponse || (exports.DescribeResourcePolicyResponse = {}));
|
|
729
753
|
var DescribeSentimentDetectionJobRequest;
|
|
730
754
|
(function (DescribeSentimentDetectionJobRequest) {
|
|
731
755
|
DescribeSentimentDetectionJobRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -845,6 +869,18 @@ var DetectSyntaxResponse;
|
|
|
845
869
|
...obj,
|
|
846
870
|
});
|
|
847
871
|
})(DetectSyntaxResponse = exports.DetectSyntaxResponse || (exports.DetectSyntaxResponse = {}));
|
|
872
|
+
var ImportModelRequest;
|
|
873
|
+
(function (ImportModelRequest) {
|
|
874
|
+
ImportModelRequest.filterSensitiveLog = (obj) => ({
|
|
875
|
+
...obj,
|
|
876
|
+
});
|
|
877
|
+
})(ImportModelRequest = exports.ImportModelRequest || (exports.ImportModelRequest = {}));
|
|
878
|
+
var ImportModelResponse;
|
|
879
|
+
(function (ImportModelResponse) {
|
|
880
|
+
ImportModelResponse.filterSensitiveLog = (obj) => ({
|
|
881
|
+
...obj,
|
|
882
|
+
});
|
|
883
|
+
})(ImportModelResponse = exports.ImportModelResponse || (exports.ImportModelResponse = {}));
|
|
848
884
|
var DocumentClassificationJobFilter;
|
|
849
885
|
(function (DocumentClassificationJobFilter) {
|
|
850
886
|
DocumentClassificationJobFilter.filterSensitiveLog = (obj) => ({
|
|
@@ -1097,6 +1133,18 @@ var ListTopicsDetectionJobsResponse;
|
|
|
1097
1133
|
...obj,
|
|
1098
1134
|
});
|
|
1099
1135
|
})(ListTopicsDetectionJobsResponse = exports.ListTopicsDetectionJobsResponse || (exports.ListTopicsDetectionJobsResponse = {}));
|
|
1136
|
+
var PutResourcePolicyRequest;
|
|
1137
|
+
(function (PutResourcePolicyRequest) {
|
|
1138
|
+
PutResourcePolicyRequest.filterSensitiveLog = (obj) => ({
|
|
1139
|
+
...obj,
|
|
1140
|
+
});
|
|
1141
|
+
})(PutResourcePolicyRequest = exports.PutResourcePolicyRequest || (exports.PutResourcePolicyRequest = {}));
|
|
1142
|
+
var PutResourcePolicyResponse;
|
|
1143
|
+
(function (PutResourcePolicyResponse) {
|
|
1144
|
+
PutResourcePolicyResponse.filterSensitiveLog = (obj) => ({
|
|
1145
|
+
...obj,
|
|
1146
|
+
});
|
|
1147
|
+
})(PutResourcePolicyResponse = exports.PutResourcePolicyResponse || (exports.PutResourcePolicyResponse = {}));
|
|
1100
1148
|
var StartDocumentClassificationJobRequest;
|
|
1101
1149
|
(function (StartDocumentClassificationJobRequest) {
|
|
1102
1150
|
StartDocumentClassificationJobRequest.filterSensitiveLog = (obj) => ({
|