@aws-sdk/client-comprehend 3.477.0 → 3.481.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/commands/BatchDetectDominantLanguageCommand.js +18 -41
- package/dist-cjs/commands/BatchDetectEntitiesCommand.js +18 -41
- package/dist-cjs/commands/BatchDetectKeyPhrasesCommand.js +18 -41
- package/dist-cjs/commands/BatchDetectSentimentCommand.js +18 -41
- package/dist-cjs/commands/BatchDetectSyntaxCommand.js +18 -41
- package/dist-cjs/commands/BatchDetectTargetedSentimentCommand.js +18 -41
- package/dist-cjs/commands/ClassifyDocumentCommand.js +18 -41
- package/dist-cjs/commands/ContainsPiiEntitiesCommand.js +18 -41
- package/dist-cjs/commands/CreateDatasetCommand.js +18 -41
- package/dist-cjs/commands/CreateDocumentClassifierCommand.js +18 -41
- package/dist-cjs/commands/CreateEndpointCommand.js +18 -41
- package/dist-cjs/commands/CreateEntityRecognizerCommand.js +18 -41
- package/dist-cjs/commands/CreateFlywheelCommand.js +18 -41
- package/dist-cjs/commands/DeleteDocumentClassifierCommand.js +18 -41
- package/dist-cjs/commands/DeleteEndpointCommand.js +18 -41
- package/dist-cjs/commands/DeleteEntityRecognizerCommand.js +18 -41
- package/dist-cjs/commands/DeleteFlywheelCommand.js +18 -41
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/DescribeDatasetCommand.js +18 -41
- package/dist-cjs/commands/DescribeDocumentClassificationJobCommand.js +18 -41
- package/dist-cjs/commands/DescribeDocumentClassifierCommand.js +18 -41
- package/dist-cjs/commands/DescribeDominantLanguageDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/DescribeEndpointCommand.js +18 -41
- package/dist-cjs/commands/DescribeEntitiesDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/DescribeEntityRecognizerCommand.js +18 -41
- package/dist-cjs/commands/DescribeEventsDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/DescribeFlywheelCommand.js +18 -41
- package/dist-cjs/commands/DescribeFlywheelIterationCommand.js +18 -41
- package/dist-cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/DescribePiiEntitiesDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/DescribeResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/DescribeSentimentDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/DescribeTargetedSentimentDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/DescribeTopicsDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/DetectDominantLanguageCommand.js +18 -41
- package/dist-cjs/commands/DetectEntitiesCommand.js +18 -41
- package/dist-cjs/commands/DetectKeyPhrasesCommand.js +18 -41
- package/dist-cjs/commands/DetectPiiEntitiesCommand.js +18 -41
- package/dist-cjs/commands/DetectSentimentCommand.js +18 -41
- package/dist-cjs/commands/DetectSyntaxCommand.js +18 -41
- package/dist-cjs/commands/DetectTargetedSentimentCommand.js +18 -41
- package/dist-cjs/commands/DetectToxicContentCommand.js +18 -41
- package/dist-cjs/commands/ImportModelCommand.js +18 -41
- package/dist-cjs/commands/ListDatasetsCommand.js +18 -41
- package/dist-cjs/commands/ListDocumentClassificationJobsCommand.js +18 -41
- package/dist-cjs/commands/ListDocumentClassifierSummariesCommand.js +18 -41
- package/dist-cjs/commands/ListDocumentClassifiersCommand.js +18 -41
- package/dist-cjs/commands/ListDominantLanguageDetectionJobsCommand.js +18 -41
- package/dist-cjs/commands/ListEndpointsCommand.js +18 -41
- package/dist-cjs/commands/ListEntitiesDetectionJobsCommand.js +18 -41
- package/dist-cjs/commands/ListEntityRecognizerSummariesCommand.js +18 -41
- package/dist-cjs/commands/ListEntityRecognizersCommand.js +18 -41
- package/dist-cjs/commands/ListEventsDetectionJobsCommand.js +18 -41
- package/dist-cjs/commands/ListFlywheelIterationHistoryCommand.js +18 -41
- package/dist-cjs/commands/ListFlywheelsCommand.js +18 -41
- package/dist-cjs/commands/ListKeyPhrasesDetectionJobsCommand.js +18 -41
- package/dist-cjs/commands/ListPiiEntitiesDetectionJobsCommand.js +18 -41
- package/dist-cjs/commands/ListSentimentDetectionJobsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListTargetedSentimentDetectionJobsCommand.js +18 -41
- package/dist-cjs/commands/ListTopicsDetectionJobsCommand.js +18 -41
- package/dist-cjs/commands/PutResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/StartDocumentClassificationJobCommand.js +18 -41
- package/dist-cjs/commands/StartDominantLanguageDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/StartEntitiesDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/StartEventsDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/StartFlywheelIterationCommand.js +18 -41
- package/dist-cjs/commands/StartKeyPhrasesDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/StartPiiEntitiesDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/StartSentimentDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/StartTargetedSentimentDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/StartTopicsDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/StopDominantLanguageDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/StopEntitiesDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/StopEventsDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/StopKeyPhrasesDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/StopPiiEntitiesDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/StopSentimentDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +18 -41
- package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +18 -41
- package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateEndpointCommand.js +18 -41
- package/dist-cjs/commands/UpdateFlywheelCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListDatasetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDocumentClassificationJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDocumentClassifierSummariesPaginator.js +2 -24
- package/dist-cjs/pagination/ListDocumentClassifiersPaginator.js +2 -24
- package/dist-cjs/pagination/ListDominantLanguageDetectionJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEndpointsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEntitiesDetectionJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEntityRecognizerSummariesPaginator.js +2 -24
- package/dist-cjs/pagination/ListEntityRecognizersPaginator.js +2 -24
- package/dist-cjs/pagination/ListEventsDetectionJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFlywheelIterationHistoryPaginator.js +2 -24
- package/dist-cjs/pagination/ListFlywheelsPaginator.js +2 -24
- package/dist-cjs/pagination/ListKeyPhrasesDetectionJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPiiEntitiesDetectionJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSentimentDetectionJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTargetedSentimentDetectionJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTopicsDetectionJobsPaginator.js +2 -24
- package/dist-es/commands/BatchDetectDominantLanguageCommand.js +18 -41
- package/dist-es/commands/BatchDetectEntitiesCommand.js +18 -41
- package/dist-es/commands/BatchDetectKeyPhrasesCommand.js +18 -41
- package/dist-es/commands/BatchDetectSentimentCommand.js +18 -41
- package/dist-es/commands/BatchDetectSyntaxCommand.js +18 -41
- package/dist-es/commands/BatchDetectTargetedSentimentCommand.js +18 -41
- package/dist-es/commands/ClassifyDocumentCommand.js +18 -41
- package/dist-es/commands/ContainsPiiEntitiesCommand.js +18 -41
- package/dist-es/commands/CreateDatasetCommand.js +18 -41
- package/dist-es/commands/CreateDocumentClassifierCommand.js +18 -41
- package/dist-es/commands/CreateEndpointCommand.js +18 -41
- package/dist-es/commands/CreateEntityRecognizerCommand.js +18 -41
- package/dist-es/commands/CreateFlywheelCommand.js +18 -41
- package/dist-es/commands/DeleteDocumentClassifierCommand.js +18 -41
- package/dist-es/commands/DeleteEndpointCommand.js +18 -41
- package/dist-es/commands/DeleteEntityRecognizerCommand.js +18 -41
- package/dist-es/commands/DeleteFlywheelCommand.js +18 -41
- package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-es/commands/DescribeDatasetCommand.js +18 -41
- package/dist-es/commands/DescribeDocumentClassificationJobCommand.js +18 -41
- package/dist-es/commands/DescribeDocumentClassifierCommand.js +18 -41
- package/dist-es/commands/DescribeDominantLanguageDetectionJobCommand.js +18 -41
- package/dist-es/commands/DescribeEndpointCommand.js +18 -41
- package/dist-es/commands/DescribeEntitiesDetectionJobCommand.js +18 -41
- package/dist-es/commands/DescribeEntityRecognizerCommand.js +18 -41
- package/dist-es/commands/DescribeEventsDetectionJobCommand.js +18 -41
- package/dist-es/commands/DescribeFlywheelCommand.js +18 -41
- package/dist-es/commands/DescribeFlywheelIterationCommand.js +18 -41
- package/dist-es/commands/DescribeKeyPhrasesDetectionJobCommand.js +18 -41
- package/dist-es/commands/DescribePiiEntitiesDetectionJobCommand.js +18 -41
- package/dist-es/commands/DescribeResourcePolicyCommand.js +18 -41
- package/dist-es/commands/DescribeSentimentDetectionJobCommand.js +18 -41
- package/dist-es/commands/DescribeTargetedSentimentDetectionJobCommand.js +18 -41
- package/dist-es/commands/DescribeTopicsDetectionJobCommand.js +18 -41
- package/dist-es/commands/DetectDominantLanguageCommand.js +18 -41
- package/dist-es/commands/DetectEntitiesCommand.js +18 -41
- package/dist-es/commands/DetectKeyPhrasesCommand.js +18 -41
- package/dist-es/commands/DetectPiiEntitiesCommand.js +18 -41
- package/dist-es/commands/DetectSentimentCommand.js +18 -41
- package/dist-es/commands/DetectSyntaxCommand.js +18 -41
- package/dist-es/commands/DetectTargetedSentimentCommand.js +18 -41
- package/dist-es/commands/DetectToxicContentCommand.js +18 -41
- package/dist-es/commands/ImportModelCommand.js +18 -41
- package/dist-es/commands/ListDatasetsCommand.js +18 -41
- package/dist-es/commands/ListDocumentClassificationJobsCommand.js +18 -41
- package/dist-es/commands/ListDocumentClassifierSummariesCommand.js +18 -41
- package/dist-es/commands/ListDocumentClassifiersCommand.js +18 -41
- package/dist-es/commands/ListDominantLanguageDetectionJobsCommand.js +18 -41
- package/dist-es/commands/ListEndpointsCommand.js +18 -41
- package/dist-es/commands/ListEntitiesDetectionJobsCommand.js +18 -41
- package/dist-es/commands/ListEntityRecognizerSummariesCommand.js +18 -41
- package/dist-es/commands/ListEntityRecognizersCommand.js +18 -41
- package/dist-es/commands/ListEventsDetectionJobsCommand.js +18 -41
- package/dist-es/commands/ListFlywheelIterationHistoryCommand.js +18 -41
- package/dist-es/commands/ListFlywheelsCommand.js +18 -41
- package/dist-es/commands/ListKeyPhrasesDetectionJobsCommand.js +18 -41
- package/dist-es/commands/ListPiiEntitiesDetectionJobsCommand.js +18 -41
- package/dist-es/commands/ListSentimentDetectionJobsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListTargetedSentimentDetectionJobsCommand.js +18 -41
- package/dist-es/commands/ListTopicsDetectionJobsCommand.js +18 -41
- package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
- package/dist-es/commands/StartDocumentClassificationJobCommand.js +18 -41
- package/dist-es/commands/StartDominantLanguageDetectionJobCommand.js +18 -41
- package/dist-es/commands/StartEntitiesDetectionJobCommand.js +18 -41
- package/dist-es/commands/StartEventsDetectionJobCommand.js +18 -41
- package/dist-es/commands/StartFlywheelIterationCommand.js +18 -41
- package/dist-es/commands/StartKeyPhrasesDetectionJobCommand.js +18 -41
- package/dist-es/commands/StartPiiEntitiesDetectionJobCommand.js +18 -41
- package/dist-es/commands/StartSentimentDetectionJobCommand.js +18 -41
- package/dist-es/commands/StartTargetedSentimentDetectionJobCommand.js +18 -41
- package/dist-es/commands/StartTopicsDetectionJobCommand.js +18 -41
- package/dist-es/commands/StopDominantLanguageDetectionJobCommand.js +18 -41
- package/dist-es/commands/StopEntitiesDetectionJobCommand.js +18 -41
- package/dist-es/commands/StopEventsDetectionJobCommand.js +18 -41
- package/dist-es/commands/StopKeyPhrasesDetectionJobCommand.js +18 -41
- package/dist-es/commands/StopPiiEntitiesDetectionJobCommand.js +18 -41
- package/dist-es/commands/StopSentimentDetectionJobCommand.js +18 -41
- package/dist-es/commands/StopTargetedSentimentDetectionJobCommand.js +18 -41
- package/dist-es/commands/StopTrainingDocumentClassifierCommand.js +18 -41
- package/dist-es/commands/StopTrainingEntityRecognizerCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateEndpointCommand.js +18 -41
- package/dist-es/commands/UpdateFlywheelCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListDatasetsPaginator.js +2 -23
- package/dist-es/pagination/ListDocumentClassificationJobsPaginator.js +2 -23
- package/dist-es/pagination/ListDocumentClassifierSummariesPaginator.js +2 -23
- package/dist-es/pagination/ListDocumentClassifiersPaginator.js +2 -23
- package/dist-es/pagination/ListDominantLanguageDetectionJobsPaginator.js +2 -23
- package/dist-es/pagination/ListEndpointsPaginator.js +2 -23
- package/dist-es/pagination/ListEntitiesDetectionJobsPaginator.js +2 -23
- package/dist-es/pagination/ListEntityRecognizerSummariesPaginator.js +2 -23
- package/dist-es/pagination/ListEntityRecognizersPaginator.js +2 -23
- package/dist-es/pagination/ListEventsDetectionJobsPaginator.js +2 -23
- package/dist-es/pagination/ListFlywheelIterationHistoryPaginator.js +2 -23
- package/dist-es/pagination/ListFlywheelsPaginator.js +2 -23
- package/dist-es/pagination/ListKeyPhrasesDetectionJobsPaginator.js +2 -23
- package/dist-es/pagination/ListPiiEntitiesDetectionJobsPaginator.js +2 -23
- package/dist-es/pagination/ListSentimentDetectionJobsPaginator.js +2 -23
- package/dist-es/pagination/ListTargetedSentimentDetectionJobsPaginator.js +2 -23
- package/dist-es/pagination/ListTopicsDetectionJobsPaginator.js +2 -23
- package/dist-types/commands/BatchDetectDominantLanguageCommand.d.ts +6 -21
- package/dist-types/commands/BatchDetectEntitiesCommand.d.ts +6 -21
- package/dist-types/commands/BatchDetectKeyPhrasesCommand.d.ts +6 -21
- package/dist-types/commands/BatchDetectSentimentCommand.d.ts +6 -21
- package/dist-types/commands/BatchDetectSyntaxCommand.d.ts +6 -21
- package/dist-types/commands/BatchDetectTargetedSentimentCommand.d.ts +6 -21
- package/dist-types/commands/ClassifyDocumentCommand.d.ts +6 -21
- package/dist-types/commands/ContainsPiiEntitiesCommand.d.ts +6 -21
- package/dist-types/commands/CreateDatasetCommand.d.ts +6 -21
- package/dist-types/commands/CreateDocumentClassifierCommand.d.ts +6 -21
- package/dist-types/commands/CreateEndpointCommand.d.ts +6 -21
- package/dist-types/commands/CreateEntityRecognizerCommand.d.ts +6 -21
- package/dist-types/commands/CreateFlywheelCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDocumentClassifierCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEndpointCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEntityRecognizerCommand.d.ts +6 -21
- package/dist-types/commands/DeleteFlywheelCommand.d.ts +6 -21
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDatasetCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDocumentClassificationJobCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDocumentClassifierCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEndpointCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEntitiesDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEntityRecognizerCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEventsDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/DescribeFlywheelCommand.d.ts +6 -21
- package/dist-types/commands/DescribeFlywheelIterationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DescribeSentimentDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/DescribeTopicsDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/DetectDominantLanguageCommand.d.ts +6 -21
- package/dist-types/commands/DetectEntitiesCommand.d.ts +6 -21
- package/dist-types/commands/DetectKeyPhrasesCommand.d.ts +6 -21
- package/dist-types/commands/DetectPiiEntitiesCommand.d.ts +6 -21
- package/dist-types/commands/DetectSentimentCommand.d.ts +6 -21
- package/dist-types/commands/DetectSyntaxCommand.d.ts +6 -21
- package/dist-types/commands/DetectTargetedSentimentCommand.d.ts +6 -21
- package/dist-types/commands/DetectToxicContentCommand.d.ts +6 -21
- package/dist-types/commands/ImportModelCommand.d.ts +6 -21
- package/dist-types/commands/ListDatasetsCommand.d.ts +6 -21
- package/dist-types/commands/ListDocumentClassificationJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListDocumentClassifierSummariesCommand.d.ts +6 -21
- package/dist-types/commands/ListDocumentClassifiersCommand.d.ts +6 -21
- package/dist-types/commands/ListDominantLanguageDetectionJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListEndpointsCommand.d.ts +6 -21
- package/dist-types/commands/ListEntitiesDetectionJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListEntityRecognizerSummariesCommand.d.ts +6 -21
- package/dist-types/commands/ListEntityRecognizersCommand.d.ts +6 -21
- package/dist-types/commands/ListEventsDetectionJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListFlywheelIterationHistoryCommand.d.ts +6 -21
- package/dist-types/commands/ListFlywheelsCommand.d.ts +6 -21
- package/dist-types/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListSentimentDetectionJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListTopicsDetectionJobsCommand.d.ts +6 -21
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/StartDocumentClassificationJobCommand.d.ts +6 -21
- package/dist-types/commands/StartDominantLanguageDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/StartEntitiesDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/StartEventsDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/StartFlywheelIterationCommand.d.ts +6 -21
- package/dist-types/commands/StartKeyPhrasesDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/StartPiiEntitiesDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/StartTargetedSentimentDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/StartTopicsDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/StopDominantLanguageDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/StopEntitiesDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/StopEventsDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/StopKeyPhrasesDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/StopPiiEntitiesDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/StopSentimentDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +6 -21
- package/dist-types/commands/StopTrainingDocumentClassifierCommand.d.ts +6 -21
- package/dist-types/commands/StopTrainingEntityRecognizerCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateEndpointCommand.d.ts +6 -21
- package/dist-types/commands/UpdateFlywheelCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListDatasetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDocumentClassificationJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDocumentClassifierSummariesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDocumentClassifiersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDominantLanguageDetectionJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEndpointsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEntitiesDetectionJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEntityRecognizerSummariesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEntityRecognizersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEventsDetectionJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFlywheelIterationHistoryPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFlywheelsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListKeyPhrasesDetectionJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPiiEntitiesDetectionJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSentimentDetectionJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTargetedSentimentDetectionJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTopicsDetectionJobsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchDetectDominantLanguageCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchDetectEntitiesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/BatchDetectKeyPhrasesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchDetectSentimentCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchDetectSyntaxCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/BatchDetectTargetedSentimentCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ClassifyDocumentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ContainsPiiEntitiesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateDocumentClassifierCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateEntityRecognizerCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateFlywheelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteDocumentClassifierCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteEntityRecognizerCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteFlywheelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeDocumentClassificationJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeDocumentClassifierCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeEntitiesDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEntityRecognizerCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEventsDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeFlywheelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeFlywheelIterationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeSentimentDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeTopicsDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DetectDominantLanguageCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DetectEntitiesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DetectKeyPhrasesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DetectPiiEntitiesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DetectSentimentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DetectSyntaxCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DetectTargetedSentimentCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DetectToxicContentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ImportModelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListDocumentClassificationJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDocumentClassifierSummariesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDocumentClassifiersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDominantLanguageDetectionJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListEntitiesDetectionJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListEntityRecognizerSummariesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListEntityRecognizersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListEventsDetectionJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListFlywheelIterationHistoryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListFlywheelsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListSentimentDetectionJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTopicsDetectionJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartDocumentClassificationJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartDominantLanguageDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartEntitiesDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartEventsDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartFlywheelIterationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartKeyPhrasesDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartPiiEntitiesDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartSentimentDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartTargetedSentimentDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartTopicsDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopDominantLanguageDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopEntitiesDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopEventsDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopKeyPhrasesDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopPiiEntitiesDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopSentimentDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopTargetedSentimentDetectionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopTrainingDocumentClassifierCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopTrainingEntityRecognizerCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateFlywheelCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListDatasetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDocumentClassificationJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDocumentClassifierSummariesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDocumentClassifiersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDominantLanguageDetectionJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEndpointsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEntitiesDetectionJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEntityRecognizerSummariesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEntityRecognizersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEventsDetectionJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFlywheelIterationHistoryPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFlywheelsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListKeyPhrasesDetectionJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPiiEntitiesDetectionJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSentimentDetectionJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTargetedSentimentDetectionJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTopicsDetectionJobsPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class TagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ComprehendClient";
|
|
29
|
-
const commandName = "TagResourceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Comprehend_20171127",
|
|
38
|
-
operation: "TagResource",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_TagResourceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_TagResourceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class TagResourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Comprehend_20171127", "TagResource", {})
|
|
22
|
+
.n("ComprehendClient", "TagResourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_TagResourceCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_TagResourceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ComprehendClient";
|
|
29
|
-
const commandName = "UntagResourceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Comprehend_20171127",
|
|
38
|
-
operation: "UntagResource",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UntagResourceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UntagResourceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Comprehend_20171127", "UntagResource", {})
|
|
22
|
+
.n("ComprehendClient", "UntagResourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UntagResourceCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UntagResourceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateEndpointCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ComprehendClient";
|
|
29
|
-
const commandName = "UpdateEndpointCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Comprehend_20171127",
|
|
38
|
-
operation: "UpdateEndpoint",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateEndpointCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateEndpointCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateEndpointCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Comprehend_20171127", "UpdateEndpoint", {})
|
|
22
|
+
.n("ComprehendClient", "UpdateEndpointCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateEndpointCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateEndpointCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateEndpointCommand = UpdateEndpointCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateFlywheelCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ComprehendClient";
|
|
29
|
-
const commandName = "UpdateFlywheelCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Comprehend_20171127",
|
|
38
|
-
operation: "UpdateFlywheel",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateFlywheelCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateFlywheelCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateFlywheelCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Comprehend_20171127", "UpdateFlywheel", {})
|
|
22
|
+
.n("ComprehendClient", "UpdateFlywheelCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateFlywheelCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateFlywheelCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateFlywheelCommand = UpdateFlywheelCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDatasets = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDatasetsCommand_1 = require("../commands/ListDatasetsCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDatasetsCommand_1.ListDatasetsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDatasets(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListDatasets = paginateListDatasets;
|
|
7
|
+
exports.paginateListDatasets = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListDatasetsCommand_1.ListDatasetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDocumentClassificationJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDocumentClassificationJobsCommand_1 = require("../commands/ListDocumentClassificationJobsCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDocumentClassificationJobsCommand_1.ListDocumentClassificationJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDocumentClassificationJobs(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListDocumentClassificationJobs = paginateListDocumentClassificationJobs;
|
|
7
|
+
exports.paginateListDocumentClassificationJobs = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListDocumentClassificationJobsCommand_1.ListDocumentClassificationJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDocumentClassifierSummaries = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDocumentClassifierSummariesCommand_1 = require("../commands/ListDocumentClassifierSummariesCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDocumentClassifierSummariesCommand_1.ListDocumentClassifierSummariesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDocumentClassifierSummaries(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListDocumentClassifierSummaries = paginateListDocumentClassifierSummaries;
|
|
7
|
+
exports.paginateListDocumentClassifierSummaries = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListDocumentClassifierSummariesCommand_1.ListDocumentClassifierSummariesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDocumentClassifiers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDocumentClassifiersCommand_1 = require("../commands/ListDocumentClassifiersCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDocumentClassifiersCommand_1.ListDocumentClassifiersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDocumentClassifiers(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListDocumentClassifiers = paginateListDocumentClassifiers;
|
|
7
|
+
exports.paginateListDocumentClassifiers = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListDocumentClassifiersCommand_1.ListDocumentClassifiersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDominantLanguageDetectionJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDominantLanguageDetectionJobsCommand_1 = require("../commands/ListDominantLanguageDetectionJobsCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDominantLanguageDetectionJobsCommand_1.ListDominantLanguageDetectionJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDominantLanguageDetectionJobs(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListDominantLanguageDetectionJobs = paginateListDominantLanguageDetectionJobs;
|
|
7
|
+
exports.paginateListDominantLanguageDetectionJobs = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListDominantLanguageDetectionJobsCommand_1.ListDominantLanguageDetectionJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEndpoints = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListEndpointsCommand_1 = require("../commands/ListEndpointsCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEndpointsCommand_1.ListEndpointsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEndpoints(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListEndpoints = paginateListEndpoints;
|
|
7
|
+
exports.paginateListEndpoints = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListEndpointsCommand_1.ListEndpointsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEntitiesDetectionJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListEntitiesDetectionJobsCommand_1 = require("../commands/ListEntitiesDetectionJobsCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEntitiesDetectionJobsCommand_1.ListEntitiesDetectionJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEntitiesDetectionJobs(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListEntitiesDetectionJobs = paginateListEntitiesDetectionJobs;
|
|
7
|
+
exports.paginateListEntitiesDetectionJobs = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListEntitiesDetectionJobsCommand_1.ListEntitiesDetectionJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEntityRecognizerSummaries = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListEntityRecognizerSummariesCommand_1 = require("../commands/ListEntityRecognizerSummariesCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEntityRecognizerSummariesCommand_1.ListEntityRecognizerSummariesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEntityRecognizerSummaries(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListEntityRecognizerSummaries = paginateListEntityRecognizerSummaries;
|
|
7
|
+
exports.paginateListEntityRecognizerSummaries = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListEntityRecognizerSummariesCommand_1.ListEntityRecognizerSummariesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEntityRecognizers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListEntityRecognizersCommand_1 = require("../commands/ListEntityRecognizersCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEntityRecognizersCommand_1.ListEntityRecognizersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEntityRecognizers(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListEntityRecognizers = paginateListEntityRecognizers;
|
|
7
|
+
exports.paginateListEntityRecognizers = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListEntityRecognizersCommand_1.ListEntityRecognizersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEventsDetectionJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListEventsDetectionJobsCommand_1 = require("../commands/ListEventsDetectionJobsCommand");
|
|
5
6
|
const ComprehendClient_1 = require("../ComprehendClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEventsDetectionJobsCommand_1.ListEventsDetectionJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEventsDetectionJobs(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ComprehendClient_1.ComprehendClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Comprehend | ComprehendClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListEventsDetectionJobs = paginateListEventsDetectionJobs;
|
|
7
|
+
exports.paginateListEventsDetectionJobs = (0, core_1.createPaginator)(ComprehendClient_1.ComprehendClient, ListEventsDetectionJobsCommand_1.ListEventsDetectionJobsCommand, "NextToken", "NextToken", "MaxResults");
|