@aws-sdk/client-comprehend 3.298.0 → 3.300.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 (95) hide show
  1. package/README.md +1 -1
  2. package/dist-cjs/models/models_0.js +1 -0
  3. package/dist-cjs/protocols/Aws_json1_1.js +1 -0
  4. package/dist-es/models/models_0.js +1 -0
  5. package/dist-es/protocols/Aws_json1_1.js +1 -0
  6. package/dist-types/Comprehend.d.ts +8 -8
  7. package/dist-types/ComprehendClient.d.ts +1 -1
  8. package/dist-types/commands/BatchDetectDominantLanguageCommand.d.ts +5 -0
  9. package/dist-types/commands/BatchDetectEntitiesCommand.d.ts +6 -0
  10. package/dist-types/commands/BatchDetectKeyPhrasesCommand.d.ts +6 -0
  11. package/dist-types/commands/BatchDetectSentimentCommand.d.ts +6 -0
  12. package/dist-types/commands/BatchDetectSyntaxCommand.d.ts +6 -0
  13. package/dist-types/commands/BatchDetectTargetedSentimentCommand.d.ts +6 -0
  14. package/dist-types/commands/ClassifyDocumentCommand.d.ts +12 -0
  15. package/dist-types/commands/ContainsPiiEntitiesCommand.d.ts +4 -0
  16. package/dist-types/commands/CreateDatasetCommand.d.ts +43 -0
  17. package/dist-types/commands/CreateDocumentClassifierCommand.d.ts +48 -0
  18. package/dist-types/commands/CreateEndpointCommand.d.ts +14 -0
  19. package/dist-types/commands/CreateEntityRecognizerCommand.d.ts +56 -0
  20. package/dist-types/commands/CreateFlywheelCommand.d.ts +44 -1
  21. package/dist-types/commands/DeleteDocumentClassifierCommand.d.ts +3 -0
  22. package/dist-types/commands/DeleteEndpointCommand.d.ts +3 -0
  23. package/dist-types/commands/DeleteEntityRecognizerCommand.d.ts +3 -0
  24. package/dist-types/commands/DeleteFlywheelCommand.d.ts +3 -0
  25. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
  26. package/dist-types/commands/DescribeDatasetCommand.d.ts +3 -0
  27. package/dist-types/commands/DescribeDocumentClassificationJobCommand.d.ts +3 -0
  28. package/dist-types/commands/DescribeDocumentClassifierCommand.d.ts +3 -0
  29. package/dist-types/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +3 -0
  30. package/dist-types/commands/DescribeEndpointCommand.d.ts +3 -0
  31. package/dist-types/commands/DescribeEntitiesDetectionJobCommand.d.ts +3 -0
  32. package/dist-types/commands/DescribeEntityRecognizerCommand.d.ts +3 -0
  33. package/dist-types/commands/DescribeEventsDetectionJobCommand.d.ts +3 -0
  34. package/dist-types/commands/DescribeFlywheelCommand.d.ts +3 -0
  35. package/dist-types/commands/DescribeFlywheelIterationCommand.d.ts +4 -0
  36. package/dist-types/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +3 -0
  37. package/dist-types/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +3 -0
  38. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +3 -0
  39. package/dist-types/commands/DescribeSentimentDetectionJobCommand.d.ts +3 -0
  40. package/dist-types/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +3 -0
  41. package/dist-types/commands/DescribeTopicsDetectionJobCommand.d.ts +3 -0
  42. package/dist-types/commands/DetectDominantLanguageCommand.d.ts +3 -0
  43. package/dist-types/commands/DetectEntitiesCommand.d.ts +13 -0
  44. package/dist-types/commands/DetectKeyPhrasesCommand.d.ts +4 -0
  45. package/dist-types/commands/DetectPiiEntitiesCommand.d.ts +4 -0
  46. package/dist-types/commands/DetectSentimentCommand.d.ts +4 -0
  47. package/dist-types/commands/DetectSyntaxCommand.d.ts +4 -0
  48. package/dist-types/commands/DetectTargetedSentimentCommand.d.ts +4 -0
  49. package/dist-types/commands/ImportModelCommand.d.ts +17 -4
  50. package/dist-types/commands/ListDatasetsCommand.d.ts +12 -1
  51. package/dist-types/commands/ListDocumentClassificationJobsCommand.d.ts +10 -0
  52. package/dist-types/commands/ListDocumentClassifierSummariesCommand.d.ts +4 -0
  53. package/dist-types/commands/ListDocumentClassifiersCommand.d.ts +10 -0
  54. package/dist-types/commands/ListDominantLanguageDetectionJobsCommand.d.ts +10 -0
  55. package/dist-types/commands/ListEndpointsCommand.d.ts +10 -0
  56. package/dist-types/commands/ListEntitiesDetectionJobsCommand.d.ts +10 -0
  57. package/dist-types/commands/ListEntityRecognizerSummariesCommand.d.ts +4 -0
  58. package/dist-types/commands/ListEntityRecognizersCommand.d.ts +10 -0
  59. package/dist-types/commands/ListEventsDetectionJobsCommand.d.ts +10 -0
  60. package/dist-types/commands/ListFlywheelIterationHistoryCommand.d.ts +9 -0
  61. package/dist-types/commands/ListFlywheelsCommand.d.ts +9 -0
  62. package/dist-types/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +10 -0
  63. package/dist-types/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +10 -0
  64. package/dist-types/commands/ListSentimentDetectionJobsCommand.d.ts +10 -0
  65. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  66. package/dist-types/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +10 -0
  67. package/dist-types/commands/ListTopicsDetectionJobsCommand.d.ts +10 -0
  68. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -1
  69. package/dist-types/commands/StartDocumentClassificationJobCommand.d.ts +37 -0
  70. package/dist-types/commands/StartDominantLanguageDetectionJobCommand.d.ts +35 -0
  71. package/dist-types/commands/StartEntitiesDetectionJobCommand.d.ts +38 -0
  72. package/dist-types/commands/StartEventsDetectionJobCommand.d.ts +30 -0
  73. package/dist-types/commands/StartFlywheelIterationCommand.d.ts +4 -0
  74. package/dist-types/commands/StartKeyPhrasesDetectionJobCommand.d.ts +36 -0
  75. package/dist-types/commands/StartPiiEntitiesDetectionJobCommand.d.ts +35 -0
  76. package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +36 -0
  77. package/dist-types/commands/StartTargetedSentimentDetectionJobCommand.d.ts +36 -0
  78. package/dist-types/commands/StartTopicsDetectionJobCommand.d.ts +36 -0
  79. package/dist-types/commands/StopDominantLanguageDetectionJobCommand.d.ts +3 -0
  80. package/dist-types/commands/StopEntitiesDetectionJobCommand.d.ts +3 -0
  81. package/dist-types/commands/StopEventsDetectionJobCommand.d.ts +3 -0
  82. package/dist-types/commands/StopKeyPhrasesDetectionJobCommand.d.ts +3 -0
  83. package/dist-types/commands/StopPiiEntitiesDetectionJobCommand.d.ts +3 -0
  84. package/dist-types/commands/StopSentimentDetectionJobCommand.d.ts +3 -0
  85. package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +3 -0
  86. package/dist-types/commands/StopTrainingDocumentClassifierCommand.d.ts +3 -0
  87. package/dist-types/commands/StopTrainingEntityRecognizerCommand.d.ts +3 -0
  88. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  89. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  90. package/dist-types/commands/UpdateEndpointCommand.d.ts +7 -0
  91. package/dist-types/commands/UpdateFlywheelCommand.d.ts +17 -0
  92. package/dist-types/models/models_0.d.ts +106 -108
  93. package/dist-types/models/models_1.d.ts +2 -2
  94. package/dist-types/ts3.4/models/models_0.d.ts +2 -0
  95. package/package.json +12 -12
@@ -167,7 +167,7 @@ export interface UpdateEndpointResponse {
167
167
  */
168
168
  export interface UpdateDataSecurityConfig {
169
169
  /**
170
- * <p>ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt
170
+ * <p>ID for the KMS key that Amazon Comprehend uses to encrypt
171
171
  * trained custom models. The ModelKmsKeyId can be either of the following formats:</p>
172
172
  * <ul>
173
173
  * <li>
@@ -206,7 +206,7 @@ export interface UpdateFlywheelRequest {
206
206
  */
207
207
  ActiveModelArn?: string;
208
208
  /**
209
- * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
209
+ * <p>The Amazon Resource Name (ARN) of the IAM role that
210
210
  * grants Amazon Comprehend permission to access the flywheel data.</p>
211
211
  */
212
212
  DataAccessRoleArn?: string;
@@ -815,6 +815,7 @@ export declare enum ModelStatus {
815
815
  STOP_REQUESTED = "STOP_REQUESTED",
816
816
  SUBMITTED = "SUBMITTED",
817
817
  TRAINED = "TRAINED",
818
+ TRAINED_WITH_WARNING = "TRAINED_WITH_WARNING",
818
819
  TRAINING = "TRAINING",
819
820
  }
820
821
  export interface DocumentClassifierProperties {
@@ -906,6 +907,7 @@ export interface EntitiesDetectionJobProperties {
906
907
  DataAccessRoleArn?: string;
907
908
  VolumeKmsKeyId?: string;
908
909
  VpcConfig?: VpcConfig;
910
+ FlywheelArn?: string;
909
911
  }
910
912
  export interface DescribeEntitiesDetectionJobResponse {
911
913
  EntitiesDetectionJobProperties?: EntitiesDetectionJobProperties;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-comprehend",
3
3
  "description": "AWS SDK for JavaScript Comprehend Client for Node.js, Browser and React Native",
4
- "version": "3.298.0",
4
+ "version": "3.300.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,23 +21,23 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.298.0",
25
- "@aws-sdk/config-resolver": "3.296.0",
26
- "@aws-sdk/credential-provider-node": "3.298.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
30
30
  "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.296.0",
31
+ "@aws-sdk/middleware-endpoint": "3.299.0",
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.296.0",
37
+ "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.296.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
39
+ "@aws-sdk/middleware-user-agent": "3.299.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.296.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.296.0",
54
- "@aws-sdk/util-user-agent-node": "3.296.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"