@aws-sdk/client-comprehend 3.128.0 → 3.137.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 +30 -0
- package/dist-cjs/commands/BatchDetectDominantLanguageCommand.js +2 -2
- package/dist-cjs/commands/BatchDetectEntitiesCommand.js +2 -2
- package/dist-cjs/commands/BatchDetectKeyPhrasesCommand.js +2 -2
- package/dist-cjs/commands/BatchDetectSentimentCommand.js +2 -2
- package/dist-cjs/commands/BatchDetectSyntaxCommand.js +2 -2
- package/dist-cjs/commands/ClassifyDocumentCommand.js +2 -2
- package/dist-cjs/commands/ContainsPiiEntitiesCommand.js +2 -2
- package/dist-cjs/commands/CreateDocumentClassifierCommand.js +2 -2
- package/dist-cjs/commands/CreateEndpointCommand.js +2 -2
- package/dist-cjs/commands/CreateEntityRecognizerCommand.js +2 -2
- package/dist-cjs/commands/DeleteDocumentClassifierCommand.js +2 -2
- package/dist-cjs/commands/DeleteEndpointCommand.js +2 -2
- package/dist-cjs/commands/DeleteEntityRecognizerCommand.js +2 -2
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +2 -2
- package/dist-cjs/commands/DescribeDocumentClassificationJobCommand.js +2 -2
- package/dist-cjs/commands/DescribeDocumentClassifierCommand.js +2 -2
- package/dist-cjs/commands/DescribeDominantLanguageDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/DescribeEndpointCommand.js +2 -2
- package/dist-cjs/commands/DescribeEntitiesDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/DescribeEntityRecognizerCommand.js +2 -2
- package/dist-cjs/commands/DescribeEventsDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/DescribePiiEntitiesDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/DescribeResourcePolicyCommand.js +2 -2
- package/dist-cjs/commands/DescribeSentimentDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/DescribeTargetedSentimentDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/DescribeTopicsDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/DetectDominantLanguageCommand.js +2 -2
- package/dist-cjs/commands/DetectEntitiesCommand.js +2 -2
- package/dist-cjs/commands/DetectKeyPhrasesCommand.js +2 -2
- package/dist-cjs/commands/DetectPiiEntitiesCommand.js +2 -2
- package/dist-cjs/commands/DetectSentimentCommand.js +2 -2
- package/dist-cjs/commands/DetectSyntaxCommand.js +2 -2
- package/dist-cjs/commands/ImportModelCommand.js +2 -2
- package/dist-cjs/commands/ListDocumentClassificationJobsCommand.js +2 -2
- package/dist-cjs/commands/ListDocumentClassifierSummariesCommand.js +2 -2
- package/dist-cjs/commands/ListDocumentClassifiersCommand.js +2 -2
- package/dist-cjs/commands/ListDominantLanguageDetectionJobsCommand.js +2 -2
- package/dist-cjs/commands/ListEndpointsCommand.js +2 -2
- package/dist-cjs/commands/ListEntitiesDetectionJobsCommand.js +2 -2
- package/dist-cjs/commands/ListEntityRecognizerSummariesCommand.js +2 -2
- package/dist-cjs/commands/ListEntityRecognizersCommand.js +2 -2
- package/dist-cjs/commands/ListEventsDetectionJobsCommand.js +2 -2
- package/dist-cjs/commands/ListKeyPhrasesDetectionJobsCommand.js +2 -2
- package/dist-cjs/commands/ListPiiEntitiesDetectionJobsCommand.js +2 -2
- package/dist-cjs/commands/ListSentimentDetectionJobsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/ListTargetedSentimentDetectionJobsCommand.js +2 -2
- package/dist-cjs/commands/ListTopicsDetectionJobsCommand.js +2 -2
- package/dist-cjs/commands/PutResourcePolicyCommand.js +2 -2
- package/dist-cjs/commands/StartDocumentClassificationJobCommand.js +2 -2
- package/dist-cjs/commands/StartDominantLanguageDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/StartEntitiesDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/StartEventsDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/StartKeyPhrasesDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/StartPiiEntitiesDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/StartSentimentDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/StartTargetedSentimentDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/StartTopicsDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/StopDominantLanguageDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/StopEntitiesDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/StopEventsDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/StopKeyPhrasesDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/StopPiiEntitiesDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/StopSentimentDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +2 -2
- package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +2 -2
- package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateEndpointCommand.js +2 -2
- package/dist-cjs/models/models_0.js +850 -1260
- package/dist-cjs/protocols/Aws_json1_1.js +3 -0
- package/dist-es/commands/BatchDetectDominantLanguageCommand.js +3 -3
- package/dist-es/commands/BatchDetectEntitiesCommand.js +3 -3
- package/dist-es/commands/BatchDetectKeyPhrasesCommand.js +3 -3
- package/dist-es/commands/BatchDetectSentimentCommand.js +3 -3
- package/dist-es/commands/BatchDetectSyntaxCommand.js +3 -3
- package/dist-es/commands/ClassifyDocumentCommand.js +3 -3
- package/dist-es/commands/ContainsPiiEntitiesCommand.js +3 -3
- package/dist-es/commands/CreateDocumentClassifierCommand.js +3 -3
- package/dist-es/commands/CreateEndpointCommand.js +3 -3
- package/dist-es/commands/CreateEntityRecognizerCommand.js +3 -3
- package/dist-es/commands/DeleteDocumentClassifierCommand.js +3 -3
- package/dist-es/commands/DeleteEndpointCommand.js +3 -3
- package/dist-es/commands/DeleteEntityRecognizerCommand.js +3 -3
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist-es/commands/DescribeDocumentClassificationJobCommand.js +3 -3
- package/dist-es/commands/DescribeDocumentClassifierCommand.js +3 -3
- package/dist-es/commands/DescribeDominantLanguageDetectionJobCommand.js +3 -3
- package/dist-es/commands/DescribeEndpointCommand.js +3 -3
- package/dist-es/commands/DescribeEntitiesDetectionJobCommand.js +3 -3
- package/dist-es/commands/DescribeEntityRecognizerCommand.js +3 -3
- package/dist-es/commands/DescribeEventsDetectionJobCommand.js +3 -3
- package/dist-es/commands/DescribeKeyPhrasesDetectionJobCommand.js +3 -3
- package/dist-es/commands/DescribePiiEntitiesDetectionJobCommand.js +3 -3
- package/dist-es/commands/DescribeResourcePolicyCommand.js +3 -3
- package/dist-es/commands/DescribeSentimentDetectionJobCommand.js +3 -3
- package/dist-es/commands/DescribeTargetedSentimentDetectionJobCommand.js +3 -3
- package/dist-es/commands/DescribeTopicsDetectionJobCommand.js +3 -3
- package/dist-es/commands/DetectDominantLanguageCommand.js +3 -3
- package/dist-es/commands/DetectEntitiesCommand.js +3 -3
- package/dist-es/commands/DetectKeyPhrasesCommand.js +3 -3
- package/dist-es/commands/DetectPiiEntitiesCommand.js +3 -3
- package/dist-es/commands/DetectSentimentCommand.js +3 -3
- package/dist-es/commands/DetectSyntaxCommand.js +3 -3
- package/dist-es/commands/ImportModelCommand.js +3 -3
- package/dist-es/commands/ListDocumentClassificationJobsCommand.js +3 -3
- package/dist-es/commands/ListDocumentClassifierSummariesCommand.js +3 -3
- package/dist-es/commands/ListDocumentClassifiersCommand.js +3 -3
- package/dist-es/commands/ListDominantLanguageDetectionJobsCommand.js +3 -3
- package/dist-es/commands/ListEndpointsCommand.js +3 -3
- package/dist-es/commands/ListEntitiesDetectionJobsCommand.js +3 -3
- package/dist-es/commands/ListEntityRecognizerSummariesCommand.js +3 -3
- package/dist-es/commands/ListEntityRecognizersCommand.js +3 -3
- package/dist-es/commands/ListEventsDetectionJobsCommand.js +3 -3
- package/dist-es/commands/ListKeyPhrasesDetectionJobsCommand.js +3 -3
- package/dist-es/commands/ListPiiEntitiesDetectionJobsCommand.js +3 -3
- package/dist-es/commands/ListSentimentDetectionJobsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ListTargetedSentimentDetectionJobsCommand.js +3 -3
- package/dist-es/commands/ListTopicsDetectionJobsCommand.js +3 -3
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -3
- package/dist-es/commands/StartDocumentClassificationJobCommand.js +3 -3
- package/dist-es/commands/StartDominantLanguageDetectionJobCommand.js +3 -3
- package/dist-es/commands/StartEntitiesDetectionJobCommand.js +3 -3
- package/dist-es/commands/StartEventsDetectionJobCommand.js +3 -3
- package/dist-es/commands/StartKeyPhrasesDetectionJobCommand.js +3 -3
- package/dist-es/commands/StartPiiEntitiesDetectionJobCommand.js +3 -3
- package/dist-es/commands/StartSentimentDetectionJobCommand.js +3 -3
- package/dist-es/commands/StartTargetedSentimentDetectionJobCommand.js +3 -3
- package/dist-es/commands/StartTopicsDetectionJobCommand.js +3 -3
- package/dist-es/commands/StopDominantLanguageDetectionJobCommand.js +3 -3
- package/dist-es/commands/StopEntitiesDetectionJobCommand.js +3 -3
- package/dist-es/commands/StopEventsDetectionJobCommand.js +3 -3
- package/dist-es/commands/StopKeyPhrasesDetectionJobCommand.js +3 -3
- package/dist-es/commands/StopPiiEntitiesDetectionJobCommand.js +3 -3
- package/dist-es/commands/StopSentimentDetectionJobCommand.js +3 -3
- package/dist-es/commands/StopTargetedSentimentDetectionJobCommand.js +3 -3
- package/dist-es/commands/StopTrainingDocumentClassifierCommand.js +3 -3
- package/dist-es/commands/StopTrainingEntityRecognizerCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateEndpointCommand.js +3 -3
- package/dist-es/models/models_0.js +217 -832
- package/dist-es/protocols/Aws_json1_1.js +3 -0
- package/dist-types/models/models_0.d.ts +820 -1230
- package/dist-types/ts3.4/models/models_0.d.ts +410 -820
- package/package.json +9 -9
|
@@ -7616,6 +7616,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
7616
7616
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
7617
7617
|
var sanitizeErrorCode = function (rawValue) {
|
|
7618
7618
|
var cleanValue = rawValue;
|
|
7619
|
+
if (typeof cleanValue === "number") {
|
|
7620
|
+
cleanValue = cleanValue.toString();
|
|
7621
|
+
}
|
|
7619
7622
|
if (cleanValue.indexOf(":") >= 0) {
|
|
7620
7623
|
cleanValue = cleanValue.split(":")[0];
|
|
7621
7624
|
}
|