@aws-sdk/client-comprehend 3.47.2 → 3.51.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist-cjs/Comprehend.js +60 -0
  3. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +36 -0
  4. package/dist-cjs/commands/DescribeResourcePolicyCommand.js +36 -0
  5. package/dist-cjs/commands/ImportModelCommand.js +36 -0
  6. package/dist-cjs/commands/PutResourcePolicyCommand.js +36 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/models/models_0.js +52 -4
  9. package/dist-cjs/protocols/Aws_json1_1.js +405 -3
  10. package/dist-es/Comprehend.js +60 -0
  11. package/dist-es/commands/DeleteResourcePolicyCommand.js +39 -0
  12. package/dist-es/commands/DescribeResourcePolicyCommand.js +39 -0
  13. package/dist-es/commands/ImportModelCommand.js +39 -0
  14. package/dist-es/commands/PutResourcePolicyCommand.js +39 -0
  15. package/dist-es/commands/index.js +4 -0
  16. package/dist-es/models/models_0.js +32 -0
  17. package/dist-es/protocols/Aws_json1_1.js +428 -4
  18. package/dist-types/Comprehend.d.ts +37 -2
  19. package/dist-types/ComprehendClient.d.ts +6 -2
  20. package/dist-types/commands/CreateEndpointCommand.d.ts +1 -2
  21. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +35 -0
  22. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +36 -0
  23. package/dist-types/commands/ImportModelCommand.d.ts +40 -0
  24. package/dist-types/commands/PutResourcePolicyCommand.d.ts +37 -0
  25. package/dist-types/commands/index.d.ts +4 -0
  26. package/dist-types/models/models_0.d.ts +279 -43
  27. package/dist-types/protocols/Aws_json1_1.d.ts +12 -0
  28. package/dist-types/ts3.4/Comprehend.d.ts +20 -0
  29. package/dist-types/ts3.4/ComprehendClient.d.ts +6 -2
  30. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/ImportModelCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  35. package/dist-types/ts3.4/models/models_0.d.ts +92 -0
  36. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  37. package/package.json +39 -33
@@ -12,6 +12,7 @@ import { CreateEntityRecognizerCommand, } from "./commands/CreateEntityRecognize
12
12
  import { DeleteDocumentClassifierCommand, } from "./commands/DeleteDocumentClassifierCommand";
13
13
  import { DeleteEndpointCommand, } from "./commands/DeleteEndpointCommand";
14
14
  import { DeleteEntityRecognizerCommand, } from "./commands/DeleteEntityRecognizerCommand";
15
+ import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
15
16
  import { DescribeDocumentClassificationJobCommand, } from "./commands/DescribeDocumentClassificationJobCommand";
16
17
  import { DescribeDocumentClassifierCommand, } from "./commands/DescribeDocumentClassifierCommand";
17
18
  import { DescribeDominantLanguageDetectionJobCommand, } from "./commands/DescribeDominantLanguageDetectionJobCommand";
@@ -21,6 +22,7 @@ import { DescribeEntityRecognizerCommand, } from "./commands/DescribeEntityRecog
21
22
  import { DescribeEventsDetectionJobCommand, } from "./commands/DescribeEventsDetectionJobCommand";
22
23
  import { DescribeKeyPhrasesDetectionJobCommand, } from "./commands/DescribeKeyPhrasesDetectionJobCommand";
23
24
  import { DescribePiiEntitiesDetectionJobCommand, } from "./commands/DescribePiiEntitiesDetectionJobCommand";
25
+ import { DescribeResourcePolicyCommand, } from "./commands/DescribeResourcePolicyCommand";
24
26
  import { DescribeSentimentDetectionJobCommand, } from "./commands/DescribeSentimentDetectionJobCommand";
25
27
  import { DescribeTopicsDetectionJobCommand, } from "./commands/DescribeTopicsDetectionJobCommand";
26
28
  import { DetectDominantLanguageCommand, } from "./commands/DetectDominantLanguageCommand";
@@ -29,6 +31,7 @@ import { DetectKeyPhrasesCommand, } from "./commands/DetectKeyPhrasesCommand";
29
31
  import { DetectPiiEntitiesCommand, } from "./commands/DetectPiiEntitiesCommand";
30
32
  import { DetectSentimentCommand, } from "./commands/DetectSentimentCommand";
31
33
  import { DetectSyntaxCommand, } from "./commands/DetectSyntaxCommand";
34
+ import { ImportModelCommand } from "./commands/ImportModelCommand";
32
35
  import { ListDocumentClassificationJobsCommand, } from "./commands/ListDocumentClassificationJobsCommand";
33
36
  import { ListDocumentClassifiersCommand, } from "./commands/ListDocumentClassifiersCommand";
34
37
  import { ListDocumentClassifierSummariesCommand, } from "./commands/ListDocumentClassifierSummariesCommand";
@@ -43,6 +46,7 @@ import { ListPiiEntitiesDetectionJobsCommand, } from "./commands/ListPiiEntities
43
46
  import { ListSentimentDetectionJobsCommand, } from "./commands/ListSentimentDetectionJobsCommand";
44
47
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
45
48
  import { ListTopicsDetectionJobsCommand, } from "./commands/ListTopicsDetectionJobsCommand";
49
+ import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
46
50
  import { StartDocumentClassificationJobCommand, } from "./commands/StartDocumentClassificationJobCommand";
47
51
  import { StartDominantLanguageDetectionJobCommand, } from "./commands/StartDominantLanguageDetectionJobCommand";
48
52
  import { StartEntitiesDetectionJobCommand, } from "./commands/StartEntitiesDetectionJobCommand";
@@ -250,6 +254,20 @@ var Comprehend = (function (_super) {
250
254
  return this.send(command, optionsOrCb);
251
255
  }
252
256
  };
257
+ Comprehend.prototype.deleteResourcePolicy = function (args, optionsOrCb, cb) {
258
+ var command = new DeleteResourcePolicyCommand(args);
259
+ if (typeof optionsOrCb === "function") {
260
+ this.send(command, optionsOrCb);
261
+ }
262
+ else if (typeof cb === "function") {
263
+ if (typeof optionsOrCb !== "object")
264
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
265
+ this.send(command, optionsOrCb || {}, cb);
266
+ }
267
+ else {
268
+ return this.send(command, optionsOrCb);
269
+ }
270
+ };
253
271
  Comprehend.prototype.describeDocumentClassificationJob = function (args, optionsOrCb, cb) {
254
272
  var command = new DescribeDocumentClassificationJobCommand(args);
255
273
  if (typeof optionsOrCb === "function") {
@@ -376,6 +394,20 @@ var Comprehend = (function (_super) {
376
394
  return this.send(command, optionsOrCb);
377
395
  }
378
396
  };
397
+ Comprehend.prototype.describeResourcePolicy = function (args, optionsOrCb, cb) {
398
+ var command = new DescribeResourcePolicyCommand(args);
399
+ if (typeof optionsOrCb === "function") {
400
+ this.send(command, optionsOrCb);
401
+ }
402
+ else if (typeof cb === "function") {
403
+ if (typeof optionsOrCb !== "object")
404
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
405
+ this.send(command, optionsOrCb || {}, cb);
406
+ }
407
+ else {
408
+ return this.send(command, optionsOrCb);
409
+ }
410
+ };
379
411
  Comprehend.prototype.describeSentimentDetectionJob = function (args, optionsOrCb, cb) {
380
412
  var command = new DescribeSentimentDetectionJobCommand(args);
381
413
  if (typeof optionsOrCb === "function") {
@@ -488,6 +520,20 @@ var Comprehend = (function (_super) {
488
520
  return this.send(command, optionsOrCb);
489
521
  }
490
522
  };
523
+ Comprehend.prototype.importModel = function (args, optionsOrCb, cb) {
524
+ var command = new ImportModelCommand(args);
525
+ if (typeof optionsOrCb === "function") {
526
+ this.send(command, optionsOrCb);
527
+ }
528
+ else if (typeof cb === "function") {
529
+ if (typeof optionsOrCb !== "object")
530
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
531
+ this.send(command, optionsOrCb || {}, cb);
532
+ }
533
+ else {
534
+ return this.send(command, optionsOrCb);
535
+ }
536
+ };
491
537
  Comprehend.prototype.listDocumentClassificationJobs = function (args, optionsOrCb, cb) {
492
538
  var command = new ListDocumentClassificationJobsCommand(args);
493
539
  if (typeof optionsOrCb === "function") {
@@ -684,6 +730,20 @@ var Comprehend = (function (_super) {
684
730
  return this.send(command, optionsOrCb);
685
731
  }
686
732
  };
733
+ Comprehend.prototype.putResourcePolicy = function (args, optionsOrCb, cb) {
734
+ var command = new PutResourcePolicyCommand(args);
735
+ if (typeof optionsOrCb === "function") {
736
+ this.send(command, optionsOrCb);
737
+ }
738
+ else if (typeof cb === "function") {
739
+ if (typeof optionsOrCb !== "object")
740
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
741
+ this.send(command, optionsOrCb || {}, cb);
742
+ }
743
+ else {
744
+ return this.send(command, optionsOrCb);
745
+ }
746
+ };
687
747
  Comprehend.prototype.startDocumentClassificationJob = function (args, optionsOrCb, cb) {
688
748
  var command = new StartDocumentClassificationJobCommand(args);
689
749
  if (typeof optionsOrCb === "function") {
@@ -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 { DeleteResourcePolicyRequest, DeleteResourcePolicyResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1DeleteResourcePolicyCommand, serializeAws_json1_1DeleteResourcePolicyCommand, } from "../protocols/Aws_json1_1";
6
+ var DeleteResourcePolicyCommand = (function (_super) {
7
+ __extends(DeleteResourcePolicyCommand, _super);
8
+ function DeleteResourcePolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteResourcePolicyCommand.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 = "DeleteResourcePolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteResourcePolicyRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteResourcePolicyResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteResourcePolicyCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1DeleteResourcePolicyCommand(input, context);
33
+ };
34
+ DeleteResourcePolicyCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1DeleteResourcePolicyCommand(output, context);
36
+ };
37
+ return DeleteResourcePolicyCommand;
38
+ }($Command));
39
+ export { DeleteResourcePolicyCommand };
@@ -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 { DescribeResourcePolicyRequest, DescribeResourcePolicyResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1DescribeResourcePolicyCommand, serializeAws_json1_1DescribeResourcePolicyCommand, } from "../protocols/Aws_json1_1";
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;
12
+ }
13
+ DescribeResourcePolicyCommand.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 = "DescribeResourcePolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DescribeResourcePolicyRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DescribeResourcePolicyResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_json1_1DescribeResourcePolicyCommand(input, context);
33
+ };
34
+ DescribeResourcePolicyCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1DescribeResourcePolicyCommand(output, context);
36
+ };
37
+ return DescribeResourcePolicyCommand;
38
+ }($Command));
39
+ export { DescribeResourcePolicyCommand };
@@ -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 { ImportModelRequest, ImportModelResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1ImportModelCommand, serializeAws_json1_1ImportModelCommand, } from "../protocols/Aws_json1_1";
6
+ var ImportModelCommand = (function (_super) {
7
+ __extends(ImportModelCommand, _super);
8
+ function ImportModelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ImportModelCommand.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 = "ImportModelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ImportModelRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ImportModelResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ImportModelCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1ImportModelCommand(input, context);
33
+ };
34
+ ImportModelCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1ImportModelCommand(output, context);
36
+ };
37
+ return ImportModelCommand;
38
+ }($Command));
39
+ export { ImportModelCommand };
@@ -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 { PutResourcePolicyRequest, PutResourcePolicyResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1PutResourcePolicyCommand, serializeAws_json1_1PutResourcePolicyCommand, } from "../protocols/Aws_json1_1";
6
+ var PutResourcePolicyCommand = (function (_super) {
7
+ __extends(PutResourcePolicyCommand, _super);
8
+ function PutResourcePolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ PutResourcePolicyCommand.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 = "PutResourcePolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: PutResourcePolicyRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: PutResourcePolicyResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PutResourcePolicyCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1PutResourcePolicyCommand(input, context);
33
+ };
34
+ PutResourcePolicyCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1PutResourcePolicyCommand(output, context);
36
+ };
37
+ return PutResourcePolicyCommand;
38
+ }($Command));
39
+ export { PutResourcePolicyCommand };
@@ -11,6 +11,7 @@ export * from "./CreateEntityRecognizerCommand";
11
11
  export * from "./DeleteDocumentClassifierCommand";
12
12
  export * from "./DeleteEndpointCommand";
13
13
  export * from "./DeleteEntityRecognizerCommand";
14
+ export * from "./DeleteResourcePolicyCommand";
14
15
  export * from "./DescribeDocumentClassificationJobCommand";
15
16
  export * from "./DescribeDocumentClassifierCommand";
16
17
  export * from "./DescribeDominantLanguageDetectionJobCommand";
@@ -20,6 +21,7 @@ export * from "./DescribeEntityRecognizerCommand";
20
21
  export * from "./DescribeEventsDetectionJobCommand";
21
22
  export * from "./DescribeKeyPhrasesDetectionJobCommand";
22
23
  export * from "./DescribePiiEntitiesDetectionJobCommand";
24
+ export * from "./DescribeResourcePolicyCommand";
23
25
  export * from "./DescribeSentimentDetectionJobCommand";
24
26
  export * from "./DescribeTopicsDetectionJobCommand";
25
27
  export * from "./DetectDominantLanguageCommand";
@@ -28,6 +30,7 @@ export * from "./DetectKeyPhrasesCommand";
28
30
  export * from "./DetectPiiEntitiesCommand";
29
31
  export * from "./DetectSentimentCommand";
30
32
  export * from "./DetectSyntaxCommand";
33
+ export * from "./ImportModelCommand";
31
34
  export * from "./ListDocumentClassificationJobsCommand";
32
35
  export * from "./ListDocumentClassifierSummariesCommand";
33
36
  export * from "./ListDocumentClassifiersCommand";
@@ -42,6 +45,7 @@ export * from "./ListPiiEntitiesDetectionJobsCommand";
42
45
  export * from "./ListSentimentDetectionJobsCommand";
43
46
  export * from "./ListTagsForResourceCommand";
44
47
  export * from "./ListTopicsDetectionJobsCommand";
48
+ export * from "./PutResourcePolicyCommand";
45
49
  export * from "./StartDocumentClassificationJobCommand";
46
50
  export * from "./StartDominantLanguageDetectionJobCommand";
47
51
  export * from "./StartEntitiesDetectionJobCommand";
@@ -332,6 +332,14 @@ export var DeleteEntityRecognizerResponse;
332
332
  (function (DeleteEntityRecognizerResponse) {
333
333
  DeleteEntityRecognizerResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
334
334
  })(DeleteEntityRecognizerResponse || (DeleteEntityRecognizerResponse = {}));
335
+ export var DeleteResourcePolicyRequest;
336
+ (function (DeleteResourcePolicyRequest) {
337
+ DeleteResourcePolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
338
+ })(DeleteResourcePolicyRequest || (DeleteResourcePolicyRequest = {}));
339
+ export var DeleteResourcePolicyResponse;
340
+ (function (DeleteResourcePolicyResponse) {
341
+ DeleteResourcePolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
342
+ })(DeleteResourcePolicyResponse || (DeleteResourcePolicyResponse = {}));
335
343
  export var DescribeDocumentClassificationJobRequest;
336
344
  (function (DescribeDocumentClassificationJobRequest) {
337
345
  DescribeDocumentClassificationJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -532,6 +540,14 @@ export var DescribePiiEntitiesDetectionJobResponse;
532
540
  (function (DescribePiiEntitiesDetectionJobResponse) {
533
541
  DescribePiiEntitiesDetectionJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
534
542
  })(DescribePiiEntitiesDetectionJobResponse || (DescribePiiEntitiesDetectionJobResponse = {}));
543
+ export var DescribeResourcePolicyRequest;
544
+ (function (DescribeResourcePolicyRequest) {
545
+ DescribeResourcePolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
546
+ })(DescribeResourcePolicyRequest || (DescribeResourcePolicyRequest = {}));
547
+ export var DescribeResourcePolicyResponse;
548
+ (function (DescribeResourcePolicyResponse) {
549
+ DescribeResourcePolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
550
+ })(DescribeResourcePolicyResponse || (DescribeResourcePolicyResponse = {}));
535
551
  export var DescribeSentimentDetectionJobRequest;
536
552
  (function (DescribeSentimentDetectionJobRequest) {
537
553
  DescribeSentimentDetectionJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -608,6 +624,14 @@ export var DetectSyntaxResponse;
608
624
  (function (DetectSyntaxResponse) {
609
625
  DetectSyntaxResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
610
626
  })(DetectSyntaxResponse || (DetectSyntaxResponse = {}));
627
+ export var ImportModelRequest;
628
+ (function (ImportModelRequest) {
629
+ ImportModelRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
630
+ })(ImportModelRequest || (ImportModelRequest = {}));
631
+ export var ImportModelResponse;
632
+ (function (ImportModelResponse) {
633
+ ImportModelResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
634
+ })(ImportModelResponse || (ImportModelResponse = {}));
611
635
  export var DocumentClassificationJobFilter;
612
636
  (function (DocumentClassificationJobFilter) {
613
637
  DocumentClassificationJobFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -780,6 +804,14 @@ export var ListTopicsDetectionJobsResponse;
780
804
  (function (ListTopicsDetectionJobsResponse) {
781
805
  ListTopicsDetectionJobsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
782
806
  })(ListTopicsDetectionJobsResponse || (ListTopicsDetectionJobsResponse = {}));
807
+ export var PutResourcePolicyRequest;
808
+ (function (PutResourcePolicyRequest) {
809
+ PutResourcePolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
810
+ })(PutResourcePolicyRequest || (PutResourcePolicyRequest = {}));
811
+ export var PutResourcePolicyResponse;
812
+ (function (PutResourcePolicyResponse) {
813
+ PutResourcePolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
814
+ })(PutResourcePolicyResponse || (PutResourcePolicyResponse = {}));
783
815
  export var StartDocumentClassificationJobRequest;
784
816
  (function (StartDocumentClassificationJobRequest) {
785
817
  StartDocumentClassificationJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };