@aws-sdk/client-comprehend 3.297.0 → 3.299.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 (160) hide show
  1. package/README.md +1 -1
  2. package/dist-cjs/commands/ContainsPiiEntitiesCommand.js +2 -3
  3. package/dist-cjs/commands/CreateDatasetCommand.js +2 -3
  4. package/dist-cjs/commands/CreateDocumentClassifierCommand.js +2 -3
  5. package/dist-cjs/commands/CreateEndpointCommand.js +2 -3
  6. package/dist-cjs/commands/CreateEntityRecognizerCommand.js +2 -3
  7. package/dist-cjs/commands/CreateFlywheelCommand.js +2 -3
  8. package/dist-cjs/commands/DeleteDocumentClassifierCommand.js +2 -3
  9. package/dist-cjs/commands/DeleteEndpointCommand.js +2 -3
  10. package/dist-cjs/commands/DeleteEntityRecognizerCommand.js +2 -3
  11. package/dist-cjs/commands/DeleteFlywheelCommand.js +2 -3
  12. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +2 -3
  13. package/dist-cjs/commands/DescribeDatasetCommand.js +2 -3
  14. package/dist-cjs/commands/DescribeDocumentClassificationJobCommand.js +2 -3
  15. package/dist-cjs/commands/DescribeDocumentClassifierCommand.js +1 -1
  16. package/dist-cjs/commands/DescribeDominantLanguageDetectionJobCommand.js +2 -3
  17. package/dist-cjs/commands/DescribeEndpointCommand.js +2 -3
  18. package/dist-cjs/commands/DescribeEntitiesDetectionJobCommand.js +2 -3
  19. package/dist-cjs/commands/DescribeEntityRecognizerCommand.js +1 -1
  20. package/dist-cjs/commands/DescribeEventsDetectionJobCommand.js +2 -3
  21. package/dist-cjs/commands/DescribeFlywheelCommand.js +2 -3
  22. package/dist-cjs/commands/DescribeFlywheelIterationCommand.js +2 -3
  23. package/dist-cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js +2 -3
  24. package/dist-cjs/commands/DescribePiiEntitiesDetectionJobCommand.js +2 -3
  25. package/dist-cjs/commands/DescribeResourcePolicyCommand.js +2 -3
  26. package/dist-cjs/commands/DescribeSentimentDetectionJobCommand.js +2 -3
  27. package/dist-cjs/commands/DescribeTargetedSentimentDetectionJobCommand.js +2 -3
  28. package/dist-cjs/commands/DescribeTopicsDetectionJobCommand.js +2 -3
  29. package/dist-cjs/commands/DetectPiiEntitiesCommand.js +2 -3
  30. package/dist-cjs/commands/ImportModelCommand.js +2 -3
  31. package/dist-cjs/commands/ListDatasetsCommand.js +2 -3
  32. package/dist-cjs/commands/ListDocumentClassificationJobsCommand.js +2 -3
  33. package/dist-cjs/commands/ListDocumentClassifierSummariesCommand.js +2 -3
  34. package/dist-cjs/commands/ListDocumentClassifiersCommand.js +1 -1
  35. package/dist-cjs/commands/ListDominantLanguageDetectionJobsCommand.js +2 -3
  36. package/dist-cjs/commands/ListEndpointsCommand.js +2 -3
  37. package/dist-cjs/commands/ListEntitiesDetectionJobsCommand.js +2 -3
  38. package/dist-cjs/commands/ListEntityRecognizerSummariesCommand.js +2 -3
  39. package/dist-cjs/commands/ListEntityRecognizersCommand.js +1 -1
  40. package/dist-cjs/commands/ListEventsDetectionJobsCommand.js +2 -3
  41. package/dist-cjs/commands/ListFlywheelIterationHistoryCommand.js +2 -3
  42. package/dist-cjs/commands/ListFlywheelsCommand.js +2 -3
  43. package/dist-cjs/commands/ListKeyPhrasesDetectionJobsCommand.js +2 -3
  44. package/dist-cjs/commands/ListPiiEntitiesDetectionJobsCommand.js +2 -3
  45. package/dist-cjs/commands/ListSentimentDetectionJobsCommand.js +2 -3
  46. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
  47. package/dist-cjs/commands/ListTargetedSentimentDetectionJobsCommand.js +2 -3
  48. package/dist-cjs/commands/ListTopicsDetectionJobsCommand.js +2 -3
  49. package/dist-cjs/commands/PutResourcePolicyCommand.js +2 -3
  50. package/dist-cjs/commands/StartDocumentClassificationJobCommand.js +2 -3
  51. package/dist-cjs/commands/StartDominantLanguageDetectionJobCommand.js +2 -3
  52. package/dist-cjs/commands/StartEntitiesDetectionJobCommand.js +2 -3
  53. package/dist-cjs/commands/StartEventsDetectionJobCommand.js +2 -3
  54. package/dist-cjs/commands/StartFlywheelIterationCommand.js +2 -3
  55. package/dist-cjs/commands/StartKeyPhrasesDetectionJobCommand.js +2 -3
  56. package/dist-cjs/commands/StartPiiEntitiesDetectionJobCommand.js +2 -3
  57. package/dist-cjs/commands/StartSentimentDetectionJobCommand.js +2 -3
  58. package/dist-cjs/commands/StartTargetedSentimentDetectionJobCommand.js +2 -3
  59. package/dist-cjs/commands/StartTopicsDetectionJobCommand.js +2 -3
  60. package/dist-cjs/commands/StopDominantLanguageDetectionJobCommand.js +2 -3
  61. package/dist-cjs/commands/StopEntitiesDetectionJobCommand.js +2 -3
  62. package/dist-cjs/commands/StopEventsDetectionJobCommand.js +2 -3
  63. package/dist-cjs/commands/StopKeyPhrasesDetectionJobCommand.js +2 -3
  64. package/dist-cjs/commands/StopPiiEntitiesDetectionJobCommand.js +2 -3
  65. package/dist-cjs/commands/StopSentimentDetectionJobCommand.js +2 -3
  66. package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +2 -3
  67. package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +2 -3
  68. package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +2 -3
  69. package/dist-cjs/commands/TagResourceCommand.js +2 -3
  70. package/dist-cjs/commands/UntagResourceCommand.js +2 -3
  71. package/dist-cjs/commands/UpdateEndpointCommand.js +2 -3
  72. package/dist-cjs/commands/UpdateFlywheelCommand.js +2 -3
  73. package/dist-cjs/models/models_0.js +3 -882
  74. package/dist-cjs/models/models_1.js +1 -61
  75. package/dist-cjs/protocols/Aws_json1_1.js +1 -0
  76. package/dist-es/commands/ContainsPiiEntitiesCommand.js +2 -3
  77. package/dist-es/commands/CreateDatasetCommand.js +2 -3
  78. package/dist-es/commands/CreateDocumentClassifierCommand.js +2 -3
  79. package/dist-es/commands/CreateEndpointCommand.js +2 -3
  80. package/dist-es/commands/CreateEntityRecognizerCommand.js +2 -3
  81. package/dist-es/commands/CreateFlywheelCommand.js +2 -3
  82. package/dist-es/commands/DeleteDocumentClassifierCommand.js +2 -3
  83. package/dist-es/commands/DeleteEndpointCommand.js +2 -3
  84. package/dist-es/commands/DeleteEntityRecognizerCommand.js +2 -3
  85. package/dist-es/commands/DeleteFlywheelCommand.js +2 -3
  86. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -3
  87. package/dist-es/commands/DescribeDatasetCommand.js +2 -3
  88. package/dist-es/commands/DescribeDocumentClassificationJobCommand.js +2 -3
  89. package/dist-es/commands/DescribeDocumentClassifierCommand.js +2 -2
  90. package/dist-es/commands/DescribeDominantLanguageDetectionJobCommand.js +2 -3
  91. package/dist-es/commands/DescribeEndpointCommand.js +2 -3
  92. package/dist-es/commands/DescribeEntitiesDetectionJobCommand.js +2 -3
  93. package/dist-es/commands/DescribeEntityRecognizerCommand.js +2 -2
  94. package/dist-es/commands/DescribeEventsDetectionJobCommand.js +2 -3
  95. package/dist-es/commands/DescribeFlywheelCommand.js +2 -3
  96. package/dist-es/commands/DescribeFlywheelIterationCommand.js +2 -3
  97. package/dist-es/commands/DescribeKeyPhrasesDetectionJobCommand.js +2 -3
  98. package/dist-es/commands/DescribePiiEntitiesDetectionJobCommand.js +2 -3
  99. package/dist-es/commands/DescribeResourcePolicyCommand.js +2 -3
  100. package/dist-es/commands/DescribeSentimentDetectionJobCommand.js +2 -3
  101. package/dist-es/commands/DescribeTargetedSentimentDetectionJobCommand.js +2 -3
  102. package/dist-es/commands/DescribeTopicsDetectionJobCommand.js +2 -3
  103. package/dist-es/commands/DetectPiiEntitiesCommand.js +2 -3
  104. package/dist-es/commands/ImportModelCommand.js +2 -3
  105. package/dist-es/commands/ListDatasetsCommand.js +2 -3
  106. package/dist-es/commands/ListDocumentClassificationJobsCommand.js +2 -3
  107. package/dist-es/commands/ListDocumentClassifierSummariesCommand.js +2 -3
  108. package/dist-es/commands/ListDocumentClassifiersCommand.js +2 -2
  109. package/dist-es/commands/ListDominantLanguageDetectionJobsCommand.js +2 -3
  110. package/dist-es/commands/ListEndpointsCommand.js +2 -3
  111. package/dist-es/commands/ListEntitiesDetectionJobsCommand.js +2 -3
  112. package/dist-es/commands/ListEntityRecognizerSummariesCommand.js +2 -3
  113. package/dist-es/commands/ListEntityRecognizersCommand.js +2 -2
  114. package/dist-es/commands/ListEventsDetectionJobsCommand.js +2 -3
  115. package/dist-es/commands/ListFlywheelIterationHistoryCommand.js +2 -3
  116. package/dist-es/commands/ListFlywheelsCommand.js +2 -3
  117. package/dist-es/commands/ListKeyPhrasesDetectionJobsCommand.js +2 -3
  118. package/dist-es/commands/ListPiiEntitiesDetectionJobsCommand.js +2 -3
  119. package/dist-es/commands/ListSentimentDetectionJobsCommand.js +2 -3
  120. package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
  121. package/dist-es/commands/ListTargetedSentimentDetectionJobsCommand.js +2 -3
  122. package/dist-es/commands/ListTopicsDetectionJobsCommand.js +2 -3
  123. package/dist-es/commands/PutResourcePolicyCommand.js +2 -3
  124. package/dist-es/commands/StartDocumentClassificationJobCommand.js +2 -3
  125. package/dist-es/commands/StartDominantLanguageDetectionJobCommand.js +2 -3
  126. package/dist-es/commands/StartEntitiesDetectionJobCommand.js +2 -3
  127. package/dist-es/commands/StartEventsDetectionJobCommand.js +2 -3
  128. package/dist-es/commands/StartFlywheelIterationCommand.js +2 -3
  129. package/dist-es/commands/StartKeyPhrasesDetectionJobCommand.js +2 -3
  130. package/dist-es/commands/StartPiiEntitiesDetectionJobCommand.js +2 -3
  131. package/dist-es/commands/StartSentimentDetectionJobCommand.js +2 -3
  132. package/dist-es/commands/StartTargetedSentimentDetectionJobCommand.js +2 -3
  133. package/dist-es/commands/StartTopicsDetectionJobCommand.js +2 -3
  134. package/dist-es/commands/StopDominantLanguageDetectionJobCommand.js +2 -3
  135. package/dist-es/commands/StopEntitiesDetectionJobCommand.js +2 -3
  136. package/dist-es/commands/StopEventsDetectionJobCommand.js +2 -3
  137. package/dist-es/commands/StopKeyPhrasesDetectionJobCommand.js +2 -3
  138. package/dist-es/commands/StopPiiEntitiesDetectionJobCommand.js +2 -3
  139. package/dist-es/commands/StopSentimentDetectionJobCommand.js +2 -3
  140. package/dist-es/commands/StopTargetedSentimentDetectionJobCommand.js +2 -3
  141. package/dist-es/commands/StopTrainingDocumentClassifierCommand.js +2 -3
  142. package/dist-es/commands/StopTrainingEntityRecognizerCommand.js +2 -3
  143. package/dist-es/commands/TagResourceCommand.js +2 -3
  144. package/dist-es/commands/UntagResourceCommand.js +2 -3
  145. package/dist-es/commands/UpdateEndpointCommand.js +2 -3
  146. package/dist-es/commands/UpdateFlywheelCommand.js +2 -3
  147. package/dist-es/models/models_0.js +1 -657
  148. package/dist-es/models/models_1.js +0 -45
  149. package/dist-es/protocols/Aws_json1_1.js +1 -0
  150. package/dist-types/Comprehend.d.ts +8 -8
  151. package/dist-types/ComprehendClient.d.ts +1 -1
  152. package/dist-types/commands/CreateFlywheelCommand.d.ts +1 -1
  153. package/dist-types/commands/ImportModelCommand.d.ts +4 -4
  154. package/dist-types/commands/ListDatasetsCommand.d.ts +1 -1
  155. package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
  156. package/dist-types/models/models_0.d.ts +124 -1002
  157. package/dist-types/models/models_1.d.ts +2 -62
  158. package/dist-types/ts3.4/models/models_0.d.ts +2 -631
  159. package/dist-types/ts3.4/models/models_1.d.ts +0 -45
  160. package/package.json +11 -10
@@ -25,48 +25,3 @@ export class TooManyTagKeysException extends __BaseException {
25
25
  this.Message = opts.Message;
26
26
  }
27
27
  }
28
- export const StopTargetedSentimentDetectionJobRequestFilterSensitiveLog = (obj) => ({
29
- ...obj,
30
- });
31
- export const StopTargetedSentimentDetectionJobResponseFilterSensitiveLog = (obj) => ({
32
- ...obj,
33
- });
34
- export const StopTrainingDocumentClassifierRequestFilterSensitiveLog = (obj) => ({
35
- ...obj,
36
- });
37
- export const StopTrainingDocumentClassifierResponseFilterSensitiveLog = (obj) => ({
38
- ...obj,
39
- });
40
- export const StopTrainingEntityRecognizerRequestFilterSensitiveLog = (obj) => ({
41
- ...obj,
42
- });
43
- export const StopTrainingEntityRecognizerResponseFilterSensitiveLog = (obj) => ({
44
- ...obj,
45
- });
46
- export const TagResourceRequestFilterSensitiveLog = (obj) => ({
47
- ...obj,
48
- });
49
- export const TagResourceResponseFilterSensitiveLog = (obj) => ({
50
- ...obj,
51
- });
52
- export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
53
- ...obj,
54
- });
55
- export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
56
- ...obj,
57
- });
58
- export const UpdateEndpointRequestFilterSensitiveLog = (obj) => ({
59
- ...obj,
60
- });
61
- export const UpdateEndpointResponseFilterSensitiveLog = (obj) => ({
62
- ...obj,
63
- });
64
- export const UpdateDataSecurityConfigFilterSensitiveLog = (obj) => ({
65
- ...obj,
66
- });
67
- export const UpdateFlywheelRequestFilterSensitiveLog = (obj) => ({
68
- ...obj,
69
- });
70
- export const UpdateFlywheelResponseFilterSensitiveLog = (obj) => ({
71
- ...obj,
72
- });
@@ -6367,6 +6367,7 @@ const deserializeAws_json1_1EntitiesDetectionJobProperties = (output, context) =
6367
6367
  DataAccessRoleArn: __expectString(output.DataAccessRoleArn),
6368
6368
  EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
6369
6369
  EntityRecognizerArn: __expectString(output.EntityRecognizerArn),
6370
+ FlywheelArn: __expectString(output.FlywheelArn),
6370
6371
  InputDataConfig: output.InputDataConfig != null
6371
6372
  ? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
6372
6373
  : undefined,
@@ -86,7 +86,7 @@ import { UpdateFlywheelCommandInput, UpdateFlywheelCommandOutput } from "./comma
86
86
  import { ComprehendClient } from "./ComprehendClient";
87
87
  /**
88
88
  * @public
89
- * <p>Amazon Comprehend is an AWS service for gaining insight into the content of documents.
89
+ * <p>Amazon Comprehend is an Amazon Web Services service for gaining insight into the content of documents.
90
90
  * Use these actions to determine the topics contained in your documents, the topics they
91
91
  * discuss, the predominant sentiment expressed in them, the predominant language used, and
92
92
  * more.</p>
@@ -213,7 +213,7 @@ export declare class Comprehend extends ComprehendClient {
213
213
  createEntityRecognizer(args: CreateEntityRecognizerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEntityRecognizerCommandOutput) => void): void;
214
214
  /**
215
215
  * @public
216
- * <p>A flywheel is an AWS resource that orchestrates the ongoing training of a model for custom classification
216
+ * <p>A flywheel is an Amazon Web Services resource that orchestrates the ongoing training of a model for custom classification
217
217
  * or custom entity recognition. You can create a flywheel to start with an existing trained model, or
218
218
  * Comprehend can create and train a new model.</p>
219
219
  * <p>When you create the flywheel, Comprehend creates a data lake in your account. The data lake holds the training
@@ -483,18 +483,18 @@ export declare class Comprehend extends ComprehendClient {
483
483
  /**
484
484
  * @public
485
485
  * <p>Creates a new custom model that replicates a source custom model that you import. The
486
- * source model can be in your AWS account or another one.</p>
487
- * <p>If the source model is in another AWS account, then it must have a resource-based policy
486
+ * source model can be in your Amazon Web Services account or another one.</p>
487
+ * <p>If the source model is in another Amazon Web Services account, then it must have a resource-based policy
488
488
  * that authorizes you to import it.</p>
489
- * <p>The source model must be in the same AWS region that you're using when you import. You
490
- * can't import a model that's in a different region.</p>
489
+ * <p>The source model must be in the same Amazon Web Services Region that you're using when you import. You
490
+ * can't import a model that's in a different Region.</p>
491
491
  */
492
492
  importModel(args: ImportModelCommandInput, options?: __HttpHandlerOptions): Promise<ImportModelCommandOutput>;
493
493
  importModel(args: ImportModelCommandInput, cb: (err: any, data?: ImportModelCommandOutput) => void): void;
494
494
  importModel(args: ImportModelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportModelCommandOutput) => void): void;
495
495
  /**
496
496
  * @public
497
- * <p>List the datasets that you have configured in this region. For more information about datasets, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/flywheels-about.html">
497
+ * <p>List the datasets that you have configured in this Region. For more information about datasets, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/flywheels-about.html">
498
498
  * Flywheel overview</a> in the <i>Amazon Comprehend Developer Guide</i>.</p>
499
499
  */
500
500
  listDatasets(args: ListDatasetsCommandInput, options?: __HttpHandlerOptions): Promise<ListDatasetsCommandOutput>;
@@ -630,7 +630,7 @@ export declare class Comprehend extends ComprehendClient {
630
630
  /**
631
631
  * @public
632
632
  * <p>Attaches a resource-based policy to a custom model. You can use this policy to authorize
633
- * an entity in another AWS account to import the custom model, which replicates it in Amazon
633
+ * an entity in another Amazon Web Services account to import the custom model, which replicates it in Amazon
634
634
  * Comprehend in their account.</p>
635
635
  */
636
636
  putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
@@ -227,7 +227,7 @@ export interface ComprehendClientResolvedConfig extends ComprehendClientResolved
227
227
  }
228
228
  /**
229
229
  * @public
230
- * <p>Amazon Comprehend is an AWS service for gaining insight into the content of documents.
230
+ * <p>Amazon Comprehend is an Amazon Web Services service for gaining insight into the content of documents.
231
231
  * Use these actions to determine the topics contained in your documents, the topics they
232
232
  * discuss, the predominant sentiment expressed in them, the predominant language used, and
233
233
  * more.</p>
@@ -19,7 +19,7 @@ export interface CreateFlywheelCommandOutput extends CreateFlywheelResponse, __M
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>A flywheel is an AWS resource that orchestrates the ongoing training of a model for custom classification
22
+ * <p>A flywheel is an Amazon Web Services resource that orchestrates the ongoing training of a model for custom classification
23
23
  * or custom entity recognition. You can create a flywheel to start with an existing trained model, or
24
24
  * Comprehend can create and train a new model.</p>
25
25
  * <p>When you create the flywheel, Comprehend creates a data lake in your account. The data lake holds the training
@@ -20,11 +20,11 @@ export interface ImportModelCommandOutput extends ImportModelResponse, __Metadat
20
20
  /**
21
21
  * @public
22
22
  * <p>Creates a new custom model that replicates a source custom model that you import. The
23
- * source model can be in your AWS account or another one.</p>
24
- * <p>If the source model is in another AWS account, then it must have a resource-based policy
23
+ * source model can be in your Amazon Web Services account or another one.</p>
24
+ * <p>If the source model is in another Amazon Web Services account, then it must have a resource-based policy
25
25
  * that authorizes you to import it.</p>
26
- * <p>The source model must be in the same AWS region that you're using when you import. You
27
- * can't import a model that's in a different region.</p>
26
+ * <p>The source model must be in the same Amazon Web Services Region that you're using when you import. You
27
+ * can't import a model that's in a different Region.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -19,7 +19,7 @@ export interface ListDatasetsCommandOutput extends ListDatasetsResponse, __Metad
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>List the datasets that you have configured in this region. For more information about datasets, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/flywheels-about.html">
22
+ * <p>List the datasets that you have configured in this Region. For more information about datasets, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/flywheels-about.html">
23
23
  * Flywheel overview</a> in the <i>Amazon Comprehend Developer Guide</i>.</p>
24
24
  * @example
25
25
  * Use a bare-bones client and the command you need to make an API call.
@@ -20,7 +20,7 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
20
20
  /**
21
21
  * @public
22
22
  * <p>Attaches a resource-based policy to a custom model. You can use this policy to authorize
23
- * an entity in another AWS account to import the custom model, which replicates it in Amazon
23
+ * an entity in another Amazon Web Services account to import the custom model, which replicates it in Amazon
24
24
  * Comprehend in their account.</p>
25
25
  * @example
26
26
  * Use a bare-bones client and the command you need to make an API call.