@aws-sdk/client-comprehend 3.1044.0 → 3.1046.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/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +186 -187
- package/dist-cjs/models/ComprehendServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/Comprehend.js +1 -1
- package/dist-es/ComprehendClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/BatchDetectDominantLanguageCommand.js +2 -2
- package/dist-es/commands/BatchDetectEntitiesCommand.js +2 -2
- package/dist-es/commands/BatchDetectKeyPhrasesCommand.js +2 -2
- package/dist-es/commands/BatchDetectSentimentCommand.js +2 -2
- package/dist-es/commands/BatchDetectSyntaxCommand.js +2 -2
- package/dist-es/commands/BatchDetectTargetedSentimentCommand.js +2 -2
- package/dist-es/commands/ClassifyDocumentCommand.js +2 -2
- package/dist-es/commands/ContainsPiiEntitiesCommand.js +2 -2
- package/dist-es/commands/CreateDatasetCommand.js +2 -2
- package/dist-es/commands/CreateDocumentClassifierCommand.js +2 -2
- package/dist-es/commands/CreateEndpointCommand.js +2 -2
- package/dist-es/commands/CreateEntityRecognizerCommand.js +2 -2
- package/dist-es/commands/CreateFlywheelCommand.js +2 -2
- package/dist-es/commands/DeleteDocumentClassifierCommand.js +2 -2
- package/dist-es/commands/DeleteEndpointCommand.js +2 -2
- package/dist-es/commands/DeleteEntityRecognizerCommand.js +2 -2
- package/dist-es/commands/DeleteFlywheelCommand.js +2 -2
- package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
- package/dist-es/commands/DescribeDatasetCommand.js +2 -2
- package/dist-es/commands/DescribeDocumentClassificationJobCommand.js +2 -2
- package/dist-es/commands/DescribeDocumentClassifierCommand.js +2 -2
- package/dist-es/commands/DescribeDominantLanguageDetectionJobCommand.js +2 -2
- package/dist-es/commands/DescribeEndpointCommand.js +2 -2
- package/dist-es/commands/DescribeEntitiesDetectionJobCommand.js +2 -2
- package/dist-es/commands/DescribeEntityRecognizerCommand.js +2 -2
- package/dist-es/commands/DescribeEventsDetectionJobCommand.js +2 -2
- package/dist-es/commands/DescribeFlywheelCommand.js +2 -2
- package/dist-es/commands/DescribeFlywheelIterationCommand.js +2 -2
- package/dist-es/commands/DescribeKeyPhrasesDetectionJobCommand.js +2 -2
- package/dist-es/commands/DescribePiiEntitiesDetectionJobCommand.js +2 -2
- package/dist-es/commands/DescribeResourcePolicyCommand.js +2 -2
- package/dist-es/commands/DescribeSentimentDetectionJobCommand.js +2 -2
- package/dist-es/commands/DescribeTargetedSentimentDetectionJobCommand.js +2 -2
- package/dist-es/commands/DescribeTopicsDetectionJobCommand.js +2 -2
- package/dist-es/commands/DetectDominantLanguageCommand.js +2 -2
- package/dist-es/commands/DetectEntitiesCommand.js +2 -2
- package/dist-es/commands/DetectKeyPhrasesCommand.js +2 -2
- package/dist-es/commands/DetectPiiEntitiesCommand.js +2 -2
- package/dist-es/commands/DetectSentimentCommand.js +2 -2
- package/dist-es/commands/DetectSyntaxCommand.js +2 -2
- package/dist-es/commands/DetectTargetedSentimentCommand.js +2 -2
- package/dist-es/commands/DetectToxicContentCommand.js +2 -2
- package/dist-es/commands/ImportModelCommand.js +2 -2
- package/dist-es/commands/ListDatasetsCommand.js +2 -2
- package/dist-es/commands/ListDocumentClassificationJobsCommand.js +2 -2
- package/dist-es/commands/ListDocumentClassifierSummariesCommand.js +2 -2
- package/dist-es/commands/ListDocumentClassifiersCommand.js +2 -2
- package/dist-es/commands/ListDominantLanguageDetectionJobsCommand.js +2 -2
- package/dist-es/commands/ListEndpointsCommand.js +2 -2
- package/dist-es/commands/ListEntitiesDetectionJobsCommand.js +2 -2
- package/dist-es/commands/ListEntityRecognizerSummariesCommand.js +2 -2
- package/dist-es/commands/ListEntityRecognizersCommand.js +2 -2
- package/dist-es/commands/ListEventsDetectionJobsCommand.js +2 -2
- package/dist-es/commands/ListFlywheelIterationHistoryCommand.js +2 -2
- package/dist-es/commands/ListFlywheelsCommand.js +2 -2
- package/dist-es/commands/ListKeyPhrasesDetectionJobsCommand.js +2 -2
- package/dist-es/commands/ListPiiEntitiesDetectionJobsCommand.js +2 -2
- package/dist-es/commands/ListSentimentDetectionJobsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListTargetedSentimentDetectionJobsCommand.js +2 -2
- package/dist-es/commands/ListTopicsDetectionJobsCommand.js +2 -2
- package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
- package/dist-es/commands/StartDocumentClassificationJobCommand.js +2 -2
- package/dist-es/commands/StartDominantLanguageDetectionJobCommand.js +2 -2
- package/dist-es/commands/StartEntitiesDetectionJobCommand.js +2 -2
- package/dist-es/commands/StartEventsDetectionJobCommand.js +2 -2
- package/dist-es/commands/StartFlywheelIterationCommand.js +2 -2
- package/dist-es/commands/StartKeyPhrasesDetectionJobCommand.js +2 -2
- package/dist-es/commands/StartPiiEntitiesDetectionJobCommand.js +2 -2
- package/dist-es/commands/StartSentimentDetectionJobCommand.js +2 -2
- package/dist-es/commands/StartTargetedSentimentDetectionJobCommand.js +2 -2
- package/dist-es/commands/StartTopicsDetectionJobCommand.js +2 -2
- package/dist-es/commands/StopDominantLanguageDetectionJobCommand.js +2 -2
- package/dist-es/commands/StopEntitiesDetectionJobCommand.js +2 -2
- package/dist-es/commands/StopEventsDetectionJobCommand.js +2 -2
- package/dist-es/commands/StopKeyPhrasesDetectionJobCommand.js +2 -2
- package/dist-es/commands/StopPiiEntitiesDetectionJobCommand.js +2 -2
- package/dist-es/commands/StopSentimentDetectionJobCommand.js +2 -2
- package/dist-es/commands/StopTargetedSentimentDetectionJobCommand.js +2 -2
- package/dist-es/commands/StopTrainingDocumentClassifierCommand.js +2 -2
- package/dist-es/commands/StopTrainingEntityRecognizerCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateEndpointCommand.js +2 -2
- package/dist-es/commands/UpdateFlywheelCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/ComprehendServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-types/ComprehendClient.d.ts +5 -5
- package/dist-types/commands/BatchDetectDominantLanguageCommand.d.ts +6 -4
- package/dist-types/commands/BatchDetectEntitiesCommand.d.ts +6 -4
- package/dist-types/commands/BatchDetectKeyPhrasesCommand.d.ts +6 -4
- package/dist-types/commands/BatchDetectSentimentCommand.d.ts +6 -4
- package/dist-types/commands/BatchDetectSyntaxCommand.d.ts +6 -4
- package/dist-types/commands/BatchDetectTargetedSentimentCommand.d.ts +6 -4
- package/dist-types/commands/ClassifyDocumentCommand.d.ts +6 -4
- package/dist-types/commands/ContainsPiiEntitiesCommand.d.ts +6 -4
- package/dist-types/commands/CreateDatasetCommand.d.ts +6 -4
- package/dist-types/commands/CreateDocumentClassifierCommand.d.ts +6 -4
- package/dist-types/commands/CreateEndpointCommand.d.ts +6 -4
- package/dist-types/commands/CreateEntityRecognizerCommand.d.ts +6 -4
- package/dist-types/commands/CreateFlywheelCommand.d.ts +6 -4
- package/dist-types/commands/DeleteDocumentClassifierCommand.d.ts +6 -4
- package/dist-types/commands/DeleteEndpointCommand.d.ts +6 -4
- package/dist-types/commands/DeleteEntityRecognizerCommand.d.ts +6 -4
- package/dist-types/commands/DeleteFlywheelCommand.d.ts +6 -4
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDatasetCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDocumentClassificationJobCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDocumentClassifierCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/DescribeEndpointCommand.d.ts +6 -4
- package/dist-types/commands/DescribeEntitiesDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/DescribeEntityRecognizerCommand.d.ts +6 -4
- package/dist-types/commands/DescribeEventsDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/DescribeFlywheelCommand.d.ts +6 -4
- package/dist-types/commands/DescribeFlywheelIterationCommand.d.ts +6 -4
- package/dist-types/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +6 -4
- package/dist-types/commands/DescribeSentimentDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/DescribeTopicsDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/DetectDominantLanguageCommand.d.ts +6 -4
- package/dist-types/commands/DetectEntitiesCommand.d.ts +6 -4
- package/dist-types/commands/DetectKeyPhrasesCommand.d.ts +6 -4
- package/dist-types/commands/DetectPiiEntitiesCommand.d.ts +6 -4
- package/dist-types/commands/DetectSentimentCommand.d.ts +6 -4
- package/dist-types/commands/DetectSyntaxCommand.d.ts +6 -4
- package/dist-types/commands/DetectTargetedSentimentCommand.d.ts +6 -4
- package/dist-types/commands/DetectToxicContentCommand.d.ts +6 -4
- package/dist-types/commands/ImportModelCommand.d.ts +6 -4
- package/dist-types/commands/ListDatasetsCommand.d.ts +6 -4
- package/dist-types/commands/ListDocumentClassificationJobsCommand.d.ts +6 -4
- package/dist-types/commands/ListDocumentClassifierSummariesCommand.d.ts +6 -4
- package/dist-types/commands/ListDocumentClassifiersCommand.d.ts +6 -4
- package/dist-types/commands/ListDominantLanguageDetectionJobsCommand.d.ts +6 -4
- package/dist-types/commands/ListEndpointsCommand.d.ts +6 -4
- package/dist-types/commands/ListEntitiesDetectionJobsCommand.d.ts +6 -4
- package/dist-types/commands/ListEntityRecognizerSummariesCommand.d.ts +6 -4
- package/dist-types/commands/ListEntityRecognizersCommand.d.ts +6 -4
- package/dist-types/commands/ListEventsDetectionJobsCommand.d.ts +6 -4
- package/dist-types/commands/ListFlywheelIterationHistoryCommand.d.ts +6 -4
- package/dist-types/commands/ListFlywheelsCommand.d.ts +6 -4
- package/dist-types/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +6 -4
- package/dist-types/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +6 -4
- package/dist-types/commands/ListSentimentDetectionJobsCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +6 -4
- package/dist-types/commands/ListTopicsDetectionJobsCommand.d.ts +6 -4
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -4
- package/dist-types/commands/StartDocumentClassificationJobCommand.d.ts +6 -4
- package/dist-types/commands/StartDominantLanguageDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/StartEntitiesDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/StartEventsDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/StartFlywheelIterationCommand.d.ts +6 -4
- package/dist-types/commands/StartKeyPhrasesDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/StartPiiEntitiesDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/StartTargetedSentimentDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/StartTopicsDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/StopDominantLanguageDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/StopEntitiesDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/StopEventsDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/StopKeyPhrasesDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/StopPiiEntitiesDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/StopSentimentDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +6 -4
- package/dist-types/commands/StopTrainingDocumentClassifierCommand.d.ts +6 -4
- package/dist-types/commands/StopTrainingEntityRecognizerCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateEndpointCommand.d.ts +6 -4
- package/dist-types/commands/UpdateFlywheelCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/ComprehendServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/ComprehendClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/BatchDetectDominantLanguageCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchDetectEntitiesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchDetectKeyPhrasesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchDetectSentimentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchDetectSyntaxCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchDetectTargetedSentimentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ClassifyDocumentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ContainsPiiEntitiesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateDocumentClassifierCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateEntityRecognizerCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateFlywheelCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteDocumentClassifierCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteEntityRecognizerCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteFlywheelCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDocumentClassificationJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDocumentClassifierCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeEntitiesDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeEntityRecognizerCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeEventsDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeFlywheelCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeFlywheelIterationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeSentimentDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeTopicsDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DetectDominantLanguageCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DetectEntitiesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DetectKeyPhrasesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DetectPiiEntitiesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DetectSentimentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DetectSyntaxCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DetectTargetedSentimentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DetectToxicContentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ImportModelCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDocumentClassificationJobsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDocumentClassifierSummariesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDocumentClassifiersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDominantLanguageDetectionJobsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListEntitiesDetectionJobsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListEntityRecognizerSummariesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListEntityRecognizersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListEventsDetectionJobsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListFlywheelIterationHistoryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListFlywheelsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListSentimentDetectionJobsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTopicsDetectionJobsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartDocumentClassificationJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartDominantLanguageDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartEntitiesDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartEventsDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartFlywheelIterationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartKeyPhrasesDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartPiiEntitiesDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartSentimentDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartTargetedSentimentDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartTopicsDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopDominantLanguageDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopEntitiesDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopEventsDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopKeyPhrasesDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopPiiEntitiesDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopSentimentDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopTargetedSentimentDetectionJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopTrainingDocumentClassifierCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopTrainingEntityRecognizerCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateFlywheelCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/ComprehendServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +13 -34
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultComprehendHttpAuthSchemeProvider = exports.defaultComprehendHttpAuthSchemeParametersProvider = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
-
const
|
|
5
|
+
const client_1 = require("@smithy/core/client");
|
|
6
6
|
const defaultComprehendHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
|
-
operation: (0,
|
|
9
|
-
region: await (0,
|
|
8
|
+
operation: (0, client_1.getSmithyContext)(context).operation,
|
|
9
|
+
region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
|
|
10
10
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
11
|
})(),
|
|
12
12
|
};
|
|
@@ -40,7 +40,7 @@ exports.defaultComprehendHttpAuthSchemeProvider = defaultComprehendHttpAuthSchem
|
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
41
|
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
|
-
authSchemePreference: (0,
|
|
43
|
+
authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
46
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bdd = void 0;
|
|
4
|
-
const
|
|
4
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
5
5
|
const k = "ref";
|
|
6
6
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
7
7
|
const _data = {
|
|
@@ -46,4 +46,4 @@ const nodes = new Int32Array([
|
|
|
46
46
|
3, r + 1, 13,
|
|
47
47
|
4, r + 2, r + 3,
|
|
48
48
|
]);
|
|
49
|
-
exports.bdd =
|
|
49
|
+
exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
-
const
|
|
5
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new
|
|
7
|
+
const cache = new endpoints_1.EndpointCache({
|
|
8
8
|
size: 50,
|
|
9
9
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
10
|
});
|
|
11
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
|
-
return cache.get(endpointParams, () => (0,
|
|
12
|
+
return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
|
|
13
13
|
endpointParams: endpointParams,
|
|
14
14
|
logger: context.logger,
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
-
|
|
18
|
+
endpoints_1.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|