File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-comprehend/dist-cjs

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

index.js64.0 KB · 1706 lines
'use strict'; var client$1 = require('@aws-sdk/core/client');var core = require('@smithy/core');var client = require('@smithy/core/client');var config = require('@smithy/core/config');var endpoints = require('@smithy/core/endpoints');var protocols = require('@smithy/core/protocols');var retry = require('@smithy/core/retry');var schema = require('@smithy/core/schema');var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');var runtimeConfig = require('./runtimeConfig');var schemas_0 = require('./schemas/schemas_0');var errors = require('./models/errors');var ComprehendServiceException = require('./models/ComprehendServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "comprehend",    });};const commonParams = {    UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },    Endpoint: { type: "builtInParams", name: "endpoint" },    Region: { type: "builtInParams", name: "region" },    UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; const getHttpAuthExtensionConfiguration = (runtimeConfig) => {    const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;    let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;    let _credentials = runtimeConfig.credentials;    return {        setHttpAuthScheme(httpAuthScheme) {            const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);            if (index === -1) {                _httpAuthSchemes.push(httpAuthScheme);            }            else {                _httpAuthSchemes.splice(index, 1, httpAuthScheme);            }        },        httpAuthSchemes() {            return _httpAuthSchemes;        },        setHttpAuthSchemeProvider(httpAuthSchemeProvider) {            _httpAuthSchemeProvider = httpAuthSchemeProvider;        },        httpAuthSchemeProvider() {            return _httpAuthSchemeProvider;        },        setCredentials(credentials) {            _credentials = credentials;        },        credentials() {            return _credentials;        },    };};const resolveHttpAuthRuntimeConfig = (config) => {    return {        httpAuthSchemes: config.httpAuthSchemes(),        httpAuthSchemeProvider: config.httpAuthSchemeProvider(),        credentials: config.credentials(),    };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => {    const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));    extensions.forEach((extension) => extension.configure(extensionConfiguration));    return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class ComprehendClient extends client.Client {    config;    constructor(...[configuration]) {        const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});        super(_config_0);        this.initConfig = _config_0;        const _config_1 = resolveClientEndpointParameters(_config_0);        const _config_2 = client$1.resolveUserAgentConfig(_config_1);        const _config_3 = retry.resolveRetryConfig(_config_2);        const _config_4 = config.resolveRegionConfig(_config_3);        const _config_5 = client$1.resolveHostHeaderConfig(_config_4);        const _config_6 = endpoints.resolveEndpointConfig(_config_5);        const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);        const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);        this.config = _config_8;        this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));        this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));        this.middlewareStack.use(retry.getRetryPlugin(this.config));        this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));        this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));        this.middlewareStack.use(client$1.getLoggerPlugin(this.config));        this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));        this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {            httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultComprehendHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class BatchDetectDominantLanguageCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "BatchDetectDominantLanguage", {})    .n("ComprehendClient", "BatchDetectDominantLanguageCommand")    .sc(schemas_0.BatchDetectDominantLanguage$)    .build() {} class BatchDetectEntitiesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "BatchDetectEntities", {})    .n("ComprehendClient", "BatchDetectEntitiesCommand")    .sc(schemas_0.BatchDetectEntities$)    .build() {} class BatchDetectKeyPhrasesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "BatchDetectKeyPhrases", {})    .n("ComprehendClient", "BatchDetectKeyPhrasesCommand")    .sc(schemas_0.BatchDetectKeyPhrases$)    .build() {} class BatchDetectSentimentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "BatchDetectSentiment", {})    .n("ComprehendClient", "BatchDetectSentimentCommand")    .sc(schemas_0.BatchDetectSentiment$)    .build() {} class BatchDetectSyntaxCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "BatchDetectSyntax", {})    .n("ComprehendClient", "BatchDetectSyntaxCommand")    .sc(schemas_0.BatchDetectSyntax$)    .build() {} class BatchDetectTargetedSentimentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "BatchDetectTargetedSentiment", {})    .n("ComprehendClient", "BatchDetectTargetedSentimentCommand")    .sc(schemas_0.BatchDetectTargetedSentiment$)    .build() {} class ClassifyDocumentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ClassifyDocument", {})    .n("ComprehendClient", "ClassifyDocumentCommand")    .sc(schemas_0.ClassifyDocument$)    .build() {} class ContainsPiiEntitiesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ContainsPiiEntities", {})    .n("ComprehendClient", "ContainsPiiEntitiesCommand")    .sc(schemas_0.ContainsPiiEntities$)    .build() {} class CreateDatasetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "CreateDataset", {})    .n("ComprehendClient", "CreateDatasetCommand")    .sc(schemas_0.CreateDataset$)    .build() {} class CreateDocumentClassifierCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "CreateDocumentClassifier", {})    .n("ComprehendClient", "CreateDocumentClassifierCommand")    .sc(schemas_0.CreateDocumentClassifier$)    .build() {} class CreateEndpointCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "CreateEndpoint", {})    .n("ComprehendClient", "CreateEndpointCommand")    .sc(schemas_0.CreateEndpoint$)    .build() {} class CreateEntityRecognizerCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "CreateEntityRecognizer", {})    .n("ComprehendClient", "CreateEntityRecognizerCommand")    .sc(schemas_0.CreateEntityRecognizer$)    .build() {} class CreateFlywheelCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "CreateFlywheel", {})    .n("ComprehendClient", "CreateFlywheelCommand")    .sc(schemas_0.CreateFlywheel$)    .build() {} class DeleteDocumentClassifierCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DeleteDocumentClassifier", {})    .n("ComprehendClient", "DeleteDocumentClassifierCommand")    .sc(schemas_0.DeleteDocumentClassifier$)    .build() {} class DeleteEndpointCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DeleteEndpoint", {})    .n("ComprehendClient", "DeleteEndpointCommand")    .sc(schemas_0.DeleteEndpoint$)    .build() {} class DeleteEntityRecognizerCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DeleteEntityRecognizer", {})    .n("ComprehendClient", "DeleteEntityRecognizerCommand")    .sc(schemas_0.DeleteEntityRecognizer$)    .build() {} class DeleteFlywheelCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DeleteFlywheel", {})    .n("ComprehendClient", "DeleteFlywheelCommand")    .sc(schemas_0.DeleteFlywheel$)    .build() {} class DeleteResourcePolicyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DeleteResourcePolicy", {})    .n("ComprehendClient", "DeleteResourcePolicyCommand")    .sc(schemas_0.DeleteResourcePolicy$)    .build() {} class DescribeDatasetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DescribeDataset", {})    .n("ComprehendClient", "DescribeDatasetCommand")    .sc(schemas_0.DescribeDataset$)    .build() {} class DescribeDocumentClassificationJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DescribeDocumentClassificationJob", {})    .n("ComprehendClient", "DescribeDocumentClassificationJobCommand")    .sc(schemas_0.DescribeDocumentClassificationJob$)    .build() {} class DescribeDocumentClassifierCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DescribeDocumentClassifier", {})    .n("ComprehendClient", "DescribeDocumentClassifierCommand")    .sc(schemas_0.DescribeDocumentClassifier$)    .build() {} class DescribeDominantLanguageDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DescribeDominantLanguageDetectionJob", {})    .n("ComprehendClient", "DescribeDominantLanguageDetectionJobCommand")    .sc(schemas_0.DescribeDominantLanguageDetectionJob$)    .build() {} class DescribeEndpointCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DescribeEndpoint", {})    .n("ComprehendClient", "DescribeEndpointCommand")    .sc(schemas_0.DescribeEndpoint$)    .build() {} class DescribeEntitiesDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DescribeEntitiesDetectionJob", {})    .n("ComprehendClient", "DescribeEntitiesDetectionJobCommand")    .sc(schemas_0.DescribeEntitiesDetectionJob$)    .build() {} class DescribeEntityRecognizerCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DescribeEntityRecognizer", {})    .n("ComprehendClient", "DescribeEntityRecognizerCommand")    .sc(schemas_0.DescribeEntityRecognizer$)    .build() {} class DescribeEventsDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DescribeEventsDetectionJob", {})    .n("ComprehendClient", "DescribeEventsDetectionJobCommand")    .sc(schemas_0.DescribeEventsDetectionJob$)    .build() {} class DescribeFlywheelCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DescribeFlywheel", {})    .n("ComprehendClient", "DescribeFlywheelCommand")    .sc(schemas_0.DescribeFlywheel$)    .build() {} class DescribeFlywheelIterationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DescribeFlywheelIteration", {})    .n("ComprehendClient", "DescribeFlywheelIterationCommand")    .sc(schemas_0.DescribeFlywheelIteration$)    .build() {} class DescribeKeyPhrasesDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DescribeKeyPhrasesDetectionJob", {})    .n("ComprehendClient", "DescribeKeyPhrasesDetectionJobCommand")    .sc(schemas_0.DescribeKeyPhrasesDetectionJob$)    .build() {} class DescribePiiEntitiesDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DescribePiiEntitiesDetectionJob", {})    .n("ComprehendClient", "DescribePiiEntitiesDetectionJobCommand")    .sc(schemas_0.DescribePiiEntitiesDetectionJob$)    .build() {} class DescribeResourcePolicyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DescribeResourcePolicy", {})    .n("ComprehendClient", "DescribeResourcePolicyCommand")    .sc(schemas_0.DescribeResourcePolicy$)    .build() {} class DescribeSentimentDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DescribeSentimentDetectionJob", {})    .n("ComprehendClient", "DescribeSentimentDetectionJobCommand")    .sc(schemas_0.DescribeSentimentDetectionJob$)    .build() {} class DescribeTargetedSentimentDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DescribeTargetedSentimentDetectionJob", {})    .n("ComprehendClient", "DescribeTargetedSentimentDetectionJobCommand")    .sc(schemas_0.DescribeTargetedSentimentDetectionJob$)    .build() {} class DescribeTopicsDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DescribeTopicsDetectionJob", {})    .n("ComprehendClient", "DescribeTopicsDetectionJobCommand")    .sc(schemas_0.DescribeTopicsDetectionJob$)    .build() {} class DetectDominantLanguageCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DetectDominantLanguage", {})    .n("ComprehendClient", "DetectDominantLanguageCommand")    .sc(schemas_0.DetectDominantLanguage$)    .build() {} class DetectEntitiesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DetectEntities", {})    .n("ComprehendClient", "DetectEntitiesCommand")    .sc(schemas_0.DetectEntities$)    .build() {} class DetectKeyPhrasesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DetectKeyPhrases", {})    .n("ComprehendClient", "DetectKeyPhrasesCommand")    .sc(schemas_0.DetectKeyPhrases$)    .build() {} class DetectPiiEntitiesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DetectPiiEntities", {})    .n("ComprehendClient", "DetectPiiEntitiesCommand")    .sc(schemas_0.DetectPiiEntities$)    .build() {} class DetectSentimentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DetectSentiment", {})    .n("ComprehendClient", "DetectSentimentCommand")    .sc(schemas_0.DetectSentiment$)    .build() {} class DetectSyntaxCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DetectSyntax", {})    .n("ComprehendClient", "DetectSyntaxCommand")    .sc(schemas_0.DetectSyntax$)    .build() {} class DetectTargetedSentimentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DetectTargetedSentiment", {})    .n("ComprehendClient", "DetectTargetedSentimentCommand")    .sc(schemas_0.DetectTargetedSentiment$)    .build() {} class DetectToxicContentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "DetectToxicContent", {})    .n("ComprehendClient", "DetectToxicContentCommand")    .sc(schemas_0.DetectToxicContent$)    .build() {} class ImportModelCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ImportModel", {})    .n("ComprehendClient", "ImportModelCommand")    .sc(schemas_0.ImportModel$)    .build() {} class ListDatasetsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ListDatasets", {})    .n("ComprehendClient", "ListDatasetsCommand")    .sc(schemas_0.ListDatasets$)    .build() {} class ListDocumentClassificationJobsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ListDocumentClassificationJobs", {})    .n("ComprehendClient", "ListDocumentClassificationJobsCommand")    .sc(schemas_0.ListDocumentClassificationJobs$)    .build() {} class ListDocumentClassifiersCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ListDocumentClassifiers", {})    .n("ComprehendClient", "ListDocumentClassifiersCommand")    .sc(schemas_0.ListDocumentClassifiers$)    .build() {} class ListDocumentClassifierSummariesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ListDocumentClassifierSummaries", {})    .n("ComprehendClient", "ListDocumentClassifierSummariesCommand")    .sc(schemas_0.ListDocumentClassifierSummaries$)    .build() {} class ListDominantLanguageDetectionJobsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ListDominantLanguageDetectionJobs", {})    .n("ComprehendClient", "ListDominantLanguageDetectionJobsCommand")    .sc(schemas_0.ListDominantLanguageDetectionJobs$)    .build() {} class ListEndpointsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ListEndpoints", {})    .n("ComprehendClient", "ListEndpointsCommand")    .sc(schemas_0.ListEndpoints$)    .build() {} class ListEntitiesDetectionJobsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ListEntitiesDetectionJobs", {})    .n("ComprehendClient", "ListEntitiesDetectionJobsCommand")    .sc(schemas_0.ListEntitiesDetectionJobs$)    .build() {} class ListEntityRecognizersCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ListEntityRecognizers", {})    .n("ComprehendClient", "ListEntityRecognizersCommand")    .sc(schemas_0.ListEntityRecognizers$)    .build() {} class ListEntityRecognizerSummariesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ListEntityRecognizerSummaries", {})    .n("ComprehendClient", "ListEntityRecognizerSummariesCommand")    .sc(schemas_0.ListEntityRecognizerSummaries$)    .build() {} class ListEventsDetectionJobsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ListEventsDetectionJobs", {})    .n("ComprehendClient", "ListEventsDetectionJobsCommand")    .sc(schemas_0.ListEventsDetectionJobs$)    .build() {} class ListFlywheelIterationHistoryCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ListFlywheelIterationHistory", {})    .n("ComprehendClient", "ListFlywheelIterationHistoryCommand")    .sc(schemas_0.ListFlywheelIterationHistory$)    .build() {} class ListFlywheelsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ListFlywheels", {})    .n("ComprehendClient", "ListFlywheelsCommand")    .sc(schemas_0.ListFlywheels$)    .build() {} class ListKeyPhrasesDetectionJobsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ListKeyPhrasesDetectionJobs", {})    .n("ComprehendClient", "ListKeyPhrasesDetectionJobsCommand")    .sc(schemas_0.ListKeyPhrasesDetectionJobs$)    .build() {} class ListPiiEntitiesDetectionJobsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ListPiiEntitiesDetectionJobs", {})    .n("ComprehendClient", "ListPiiEntitiesDetectionJobsCommand")    .sc(schemas_0.ListPiiEntitiesDetectionJobs$)    .build() {} class ListSentimentDetectionJobsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ListSentimentDetectionJobs", {})    .n("ComprehendClient", "ListSentimentDetectionJobsCommand")    .sc(schemas_0.ListSentimentDetectionJobs$)    .build() {} class ListTagsForResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ListTagsForResource", {})    .n("ComprehendClient", "ListTagsForResourceCommand")    .sc(schemas_0.ListTagsForResource$)    .build() {} class ListTargetedSentimentDetectionJobsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ListTargetedSentimentDetectionJobs", {})    .n("ComprehendClient", "ListTargetedSentimentDetectionJobsCommand")    .sc(schemas_0.ListTargetedSentimentDetectionJobs$)    .build() {} class ListTopicsDetectionJobsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "ListTopicsDetectionJobs", {})    .n("ComprehendClient", "ListTopicsDetectionJobsCommand")    .sc(schemas_0.ListTopicsDetectionJobs$)    .build() {} class PutResourcePolicyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "PutResourcePolicy", {})    .n("ComprehendClient", "PutResourcePolicyCommand")    .sc(schemas_0.PutResourcePolicy$)    .build() {} class StartDocumentClassificationJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "StartDocumentClassificationJob", {})    .n("ComprehendClient", "StartDocumentClassificationJobCommand")    .sc(schemas_0.StartDocumentClassificationJob$)    .build() {} class StartDominantLanguageDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "StartDominantLanguageDetectionJob", {})    .n("ComprehendClient", "StartDominantLanguageDetectionJobCommand")    .sc(schemas_0.StartDominantLanguageDetectionJob$)    .build() {} class StartEntitiesDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "StartEntitiesDetectionJob", {})    .n("ComprehendClient", "StartEntitiesDetectionJobCommand")    .sc(schemas_0.StartEntitiesDetectionJob$)    .build() {} class StartEventsDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "StartEventsDetectionJob", {})    .n("ComprehendClient", "StartEventsDetectionJobCommand")    .sc(schemas_0.StartEventsDetectionJob$)    .build() {} class StartFlywheelIterationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "StartFlywheelIteration", {})    .n("ComprehendClient", "StartFlywheelIterationCommand")    .sc(schemas_0.StartFlywheelIteration$)    .build() {} class StartKeyPhrasesDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "StartKeyPhrasesDetectionJob", {})    .n("ComprehendClient", "StartKeyPhrasesDetectionJobCommand")    .sc(schemas_0.StartKeyPhrasesDetectionJob$)    .build() {} class StartPiiEntitiesDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "StartPiiEntitiesDetectionJob", {})    .n("ComprehendClient", "StartPiiEntitiesDetectionJobCommand")    .sc(schemas_0.StartPiiEntitiesDetectionJob$)    .build() {} class StartSentimentDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "StartSentimentDetectionJob", {})    .n("ComprehendClient", "StartSentimentDetectionJobCommand")    .sc(schemas_0.StartSentimentDetectionJob$)    .build() {} class StartTargetedSentimentDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "StartTargetedSentimentDetectionJob", {})    .n("ComprehendClient", "StartTargetedSentimentDetectionJobCommand")    .sc(schemas_0.StartTargetedSentimentDetectionJob$)    .build() {} class StartTopicsDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "StartTopicsDetectionJob", {})    .n("ComprehendClient", "StartTopicsDetectionJobCommand")    .sc(schemas_0.StartTopicsDetectionJob$)    .build() {} class StopDominantLanguageDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "StopDominantLanguageDetectionJob", {})    .n("ComprehendClient", "StopDominantLanguageDetectionJobCommand")    .sc(schemas_0.StopDominantLanguageDetectionJob$)    .build() {} class StopEntitiesDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "StopEntitiesDetectionJob", {})    .n("ComprehendClient", "StopEntitiesDetectionJobCommand")    .sc(schemas_0.StopEntitiesDetectionJob$)    .build() {} class StopEventsDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "StopEventsDetectionJob", {})    .n("ComprehendClient", "StopEventsDetectionJobCommand")    .sc(schemas_0.StopEventsDetectionJob$)    .build() {} class StopKeyPhrasesDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "StopKeyPhrasesDetectionJob", {})    .n("ComprehendClient", "StopKeyPhrasesDetectionJobCommand")    .sc(schemas_0.StopKeyPhrasesDetectionJob$)    .build() {} class StopPiiEntitiesDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "StopPiiEntitiesDetectionJob", {})    .n("ComprehendClient", "StopPiiEntitiesDetectionJobCommand")    .sc(schemas_0.StopPiiEntitiesDetectionJob$)    .build() {} class StopSentimentDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "StopSentimentDetectionJob", {})    .n("ComprehendClient", "StopSentimentDetectionJobCommand")    .sc(schemas_0.StopSentimentDetectionJob$)    .build() {} class StopTargetedSentimentDetectionJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "StopTargetedSentimentDetectionJob", {})    .n("ComprehendClient", "StopTargetedSentimentDetectionJobCommand")    .sc(schemas_0.StopTargetedSentimentDetectionJob$)    .build() {} class StopTrainingDocumentClassifierCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "StopTrainingDocumentClassifier", {})    .n("ComprehendClient", "StopTrainingDocumentClassifierCommand")    .sc(schemas_0.StopTrainingDocumentClassifier$)    .build() {} class StopTrainingEntityRecognizerCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "StopTrainingEntityRecognizer", {})    .n("ComprehendClient", "StopTrainingEntityRecognizerCommand")    .sc(schemas_0.StopTrainingEntityRecognizer$)    .build() {} class TagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "TagResource", {})    .n("ComprehendClient", "TagResourceCommand")    .sc(schemas_0.TagResource$)    .build() {} class UntagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "UntagResource", {})    .n("ComprehendClient", "UntagResourceCommand")    .sc(schemas_0.UntagResource$)    .build() {} class UpdateEndpointCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "UpdateEndpoint", {})    .n("ComprehendClient", "UpdateEndpointCommand")    .sc(schemas_0.UpdateEndpoint$)    .build() {} class UpdateFlywheelCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("Comprehend_20171127", "UpdateFlywheel", {})    .n("ComprehendClient", "UpdateFlywheelCommand")    .sc(schemas_0.UpdateFlywheel$)    .build() {} const paginateListDatasets = core.createPaginator(ComprehendClient, ListDatasetsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListDocumentClassificationJobs = core.createPaginator(ComprehendClient, ListDocumentClassificationJobsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListDocumentClassifiers = core.createPaginator(ComprehendClient, ListDocumentClassifiersCommand, "NextToken", "NextToken", "MaxResults"); const paginateListDocumentClassifierSummaries = core.createPaginator(ComprehendClient, ListDocumentClassifierSummariesCommand, "NextToken", "NextToken", "MaxResults"); const paginateListDominantLanguageDetectionJobs = core.createPaginator(ComprehendClient, ListDominantLanguageDetectionJobsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListEndpoints = core.createPaginator(ComprehendClient, ListEndpointsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListEntitiesDetectionJobs = core.createPaginator(ComprehendClient, ListEntitiesDetectionJobsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListEntityRecognizers = core.createPaginator(ComprehendClient, ListEntityRecognizersCommand, "NextToken", "NextToken", "MaxResults"); const paginateListEntityRecognizerSummaries = core.createPaginator(ComprehendClient, ListEntityRecognizerSummariesCommand, "NextToken", "NextToken", "MaxResults"); const paginateListEventsDetectionJobs = core.createPaginator(ComprehendClient, ListEventsDetectionJobsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListFlywheelIterationHistory = core.createPaginator(ComprehendClient, ListFlywheelIterationHistoryCommand, "NextToken", "NextToken", "MaxResults"); const paginateListFlywheels = core.createPaginator(ComprehendClient, ListFlywheelsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListKeyPhrasesDetectionJobs = core.createPaginator(ComprehendClient, ListKeyPhrasesDetectionJobsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListPiiEntitiesDetectionJobs = core.createPaginator(ComprehendClient, ListPiiEntitiesDetectionJobsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListSentimentDetectionJobs = core.createPaginator(ComprehendClient, ListSentimentDetectionJobsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListTargetedSentimentDetectionJobs = core.createPaginator(ComprehendClient, ListTargetedSentimentDetectionJobsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListTopicsDetectionJobs = core.createPaginator(ComprehendClient, ListTopicsDetectionJobsCommand, "NextToken", "NextToken", "MaxResults"); const commands = {    BatchDetectDominantLanguageCommand,    BatchDetectEntitiesCommand,    BatchDetectKeyPhrasesCommand,    BatchDetectSentimentCommand,    BatchDetectSyntaxCommand,    BatchDetectTargetedSentimentCommand,    ClassifyDocumentCommand,    ContainsPiiEntitiesCommand,    CreateDatasetCommand,    CreateDocumentClassifierCommand,    CreateEndpointCommand,    CreateEntityRecognizerCommand,    CreateFlywheelCommand,    DeleteDocumentClassifierCommand,    DeleteEndpointCommand,    DeleteEntityRecognizerCommand,    DeleteFlywheelCommand,    DeleteResourcePolicyCommand,    DescribeDatasetCommand,    DescribeDocumentClassificationJobCommand,    DescribeDocumentClassifierCommand,    DescribeDominantLanguageDetectionJobCommand,    DescribeEndpointCommand,    DescribeEntitiesDetectionJobCommand,    DescribeEntityRecognizerCommand,    DescribeEventsDetectionJobCommand,    DescribeFlywheelCommand,    DescribeFlywheelIterationCommand,    DescribeKeyPhrasesDetectionJobCommand,    DescribePiiEntitiesDetectionJobCommand,    DescribeResourcePolicyCommand,    DescribeSentimentDetectionJobCommand,    DescribeTargetedSentimentDetectionJobCommand,    DescribeTopicsDetectionJobCommand,    DetectDominantLanguageCommand,    DetectEntitiesCommand,    DetectKeyPhrasesCommand,    DetectPiiEntitiesCommand,    DetectSentimentCommand,    DetectSyntaxCommand,    DetectTargetedSentimentCommand,    DetectToxicContentCommand,    ImportModelCommand,    ListDatasetsCommand,    ListDocumentClassificationJobsCommand,    ListDocumentClassifiersCommand,    ListDocumentClassifierSummariesCommand,    ListDominantLanguageDetectionJobsCommand,    ListEndpointsCommand,    ListEntitiesDetectionJobsCommand,    ListEntityRecognizersCommand,    ListEntityRecognizerSummariesCommand,    ListEventsDetectionJobsCommand,    ListFlywheelIterationHistoryCommand,    ListFlywheelsCommand,    ListKeyPhrasesDetectionJobsCommand,    ListPiiEntitiesDetectionJobsCommand,    ListSentimentDetectionJobsCommand,    ListTagsForResourceCommand,    ListTargetedSentimentDetectionJobsCommand,    ListTopicsDetectionJobsCommand,    PutResourcePolicyCommand,    StartDocumentClassificationJobCommand,    StartDominantLanguageDetectionJobCommand,    StartEntitiesDetectionJobCommand,    StartEventsDetectionJobCommand,    StartFlywheelIterationCommand,    StartKeyPhrasesDetectionJobCommand,    StartPiiEntitiesDetectionJobCommand,    StartSentimentDetectionJobCommand,    StartTargetedSentimentDetectionJobCommand,    StartTopicsDetectionJobCommand,    StopDominantLanguageDetectionJobCommand,    StopEntitiesDetectionJobCommand,    StopEventsDetectionJobCommand,    StopKeyPhrasesDetectionJobCommand,    StopPiiEntitiesDetectionJobCommand,    StopSentimentDetectionJobCommand,    StopTargetedSentimentDetectionJobCommand,    StopTrainingDocumentClassifierCommand,    StopTrainingEntityRecognizerCommand,    TagResourceCommand,    UntagResourceCommand,    UpdateEndpointCommand,    UpdateFlywheelCommand,};const paginators = {    paginateListDatasets,    paginateListDocumentClassificationJobs,    paginateListDocumentClassifiers,    paginateListDocumentClassifierSummaries,    paginateListDominantLanguageDetectionJobs,    paginateListEndpoints,    paginateListEntitiesDetectionJobs,    paginateListEntityRecognizers,    paginateListEntityRecognizerSummaries,    paginateListEventsDetectionJobs,    paginateListFlywheelIterationHistory,    paginateListFlywheels,    paginateListKeyPhrasesDetectionJobs,    paginateListPiiEntitiesDetectionJobs,    paginateListSentimentDetectionJobs,    paginateListTargetedSentimentDetectionJobs,    paginateListTopicsDetectionJobs,};class Comprehend extends ComprehendClient {}client.createAggregatedClient(commands, Comprehend, { paginators }); const AugmentedManifestsDocumentTypeFormat = {    PLAIN_TEXT_DOCUMENT: "PLAIN_TEXT_DOCUMENT",    SEMI_STRUCTURED_DOCUMENT: "SEMI_STRUCTURED_DOCUMENT",};const Split = {    TEST: "TEST",    TRAIN: "TRAIN",};const InvalidRequestDetailReason = {    DOCUMENT_SIZE_EXCEEDED: "DOCUMENT_SIZE_EXCEEDED",    PAGE_LIMIT_EXCEEDED: "PAGE_LIMIT_EXCEEDED",    TEXTRACT_ACCESS_DENIED: "TEXTRACT_ACCESS_DENIED",    UNSUPPORTED_DOC_TYPE: "UNSUPPORTED_DOC_TYPE",};const InvalidRequestReason = {    INVALID_DOCUMENT: "INVALID_DOCUMENT",};const LanguageCode = {    AR: "ar",    DE: "de",    EN: "en",    ES: "es",    FR: "fr",    HI: "hi",    IT: "it",    JA: "ja",    KO: "ko",    PT: "pt",    ZH: "zh",    ZH_TW: "zh-TW",};const EntityType = {    COMMERCIAL_ITEM: "COMMERCIAL_ITEM",    DATE: "DATE",    EVENT: "EVENT",    LOCATION: "LOCATION",    ORGANIZATION: "ORGANIZATION",    OTHER: "OTHER",    PERSON: "PERSON",    QUANTITY: "QUANTITY",    TITLE: "TITLE",};const SentimentType = {    MIXED: "MIXED",    NEGATIVE: "NEGATIVE",    NEUTRAL: "NEUTRAL",    POSITIVE: "POSITIVE",};const SyntaxLanguageCode = {    DE: "de",    EN: "en",    ES: "es",    FR: "fr",    IT: "it",    PT: "pt",};const PartOfSpeechTagType = {    ADJ: "ADJ",    ADP: "ADP",    ADV: "ADV",    AUX: "AUX",    CCONJ: "CCONJ",    CONJ: "CONJ",    DET: "DET",    INTJ: "INTJ",    NOUN: "NOUN",    NUM: "NUM",    O: "O",    PART: "PART",    PRON: "PRON",    PROPN: "PROPN",    PUNCT: "PUNCT",    SCONJ: "SCONJ",    SYM: "SYM",    VERB: "VERB",};const TargetedSentimentEntityType = {    ATTRIBUTE: "ATTRIBUTE",    BOOK: "BOOK",    BRAND: "BRAND",    COMMERCIAL_ITEM: "COMMERCIAL_ITEM",    DATE: "DATE",    EVENT: "EVENT",    FACILITY: "FACILITY",    GAME: "GAME",    LOCATION: "LOCATION",    MOVIE: "MOVIE",    MUSIC: "MUSIC",    ORGANIZATION: "ORGANIZATION",    OTHER: "OTHER",    PERSON: "PERSON",    PERSONAL_TITLE: "PERSONAL_TITLE",    QUANTITY: "QUANTITY",    SOFTWARE: "SOFTWARE",};const BlockType = {    LINE: "LINE",    WORD: "WORD",};const RelationshipType = {    CHILD: "CHILD",};const DocumentReadAction = {    TEXTRACT_ANALYZE_DOCUMENT: "TEXTRACT_ANALYZE_DOCUMENT",    TEXTRACT_DETECT_DOCUMENT_TEXT: "TEXTRACT_DETECT_DOCUMENT_TEXT",};const DocumentReadMode = {    FORCE_DOCUMENT_READ_ACTION: "FORCE_DOCUMENT_READ_ACTION",    SERVICE_DEFAULT: "SERVICE_DEFAULT",};const DocumentReadFeatureTypes = {    FORMS: "FORMS",    TABLES: "TABLES",};const DocumentType = {    IMAGE: "IMAGE",    MS_WORD: "MS_WORD",    NATIVE_PDF: "NATIVE_PDF",    PLAIN_TEXT: "PLAIN_TEXT",    SCANNED_PDF: "SCANNED_PDF",    TEXTRACT_ANALYZE_DOCUMENT_JSON: "TEXTRACT_ANALYZE_DOCUMENT_JSON",    TEXTRACT_DETECT_DOCUMENT_TEXT_JSON: "TEXTRACT_DETECT_DOCUMENT_TEXT_JSON",};const PageBasedErrorCode = {    INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",    PAGE_CHARACTERS_EXCEEDED: "PAGE_CHARACTERS_EXCEEDED",    PAGE_SIZE_EXCEEDED: "PAGE_SIZE_EXCEEDED",    TEXTRACT_BAD_PAGE: "TEXTRACT_BAD_PAGE",    TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED: "TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED",};const PageBasedWarningCode = {    INFERENCING_NATIVE_DOCUMENT_WITH_PLAINTEXT_TRAINED_MODEL: "INFERENCING_NATIVE_DOCUMENT_WITH_PLAINTEXT_TRAINED_MODEL",    INFERENCING_PLAINTEXT_WITH_NATIVE_TRAINED_MODEL: "INFERENCING_PLAINTEXT_WITH_NATIVE_TRAINED_MODEL",};const PiiEntityType = {    ADDRESS: "ADDRESS",    AGE: "AGE",    ALL: "ALL",    AWS_ACCESS_KEY: "AWS_ACCESS_KEY",    AWS_SECRET_KEY: "AWS_SECRET_KEY",    BANK_ACCOUNT_NUMBER: "BANK_ACCOUNT_NUMBER",    BANK_ROUTING: "BANK_ROUTING",    CA_HEALTH_NUMBER: "CA_HEALTH_NUMBER",    CA_SOCIAL_INSURANCE_NUMBER: "CA_SOCIAL_INSURANCE_NUMBER",    CREDIT_DEBIT_CVV: "CREDIT_DEBIT_CVV",    CREDIT_DEBIT_EXPIRY: "CREDIT_DEBIT_EXPIRY",    CREDIT_DEBIT_NUMBER: "CREDIT_DEBIT_NUMBER",    DATE_TIME: "DATE_TIME",    DRIVER_ID: "DRIVER_ID",    EMAIL: "EMAIL",    INTERNATIONAL_BANK_ACCOUNT_NUMBER: "INTERNATIONAL_BANK_ACCOUNT_NUMBER",    IN_AADHAAR: "IN_AADHAAR",    IN_NREGA: "IN_NREGA",    IN_PERMANENT_ACCOUNT_NUMBER: "IN_PERMANENT_ACCOUNT_NUMBER",    IN_VOTER_NUMBER: "IN_VOTER_NUMBER",    IP_ADDRESS: "IP_ADDRESS",    LICENSE_PLATE: "LICENSE_PLATE",    MAC_ADDRESS: "MAC_ADDRESS",    NAME: "NAME",    PASSPORT_NUMBER: "PASSPORT_NUMBER",    PASSWORD: "PASSWORD",    PHONE: "PHONE",    PIN: "PIN",    SSN: "SSN",    SWIFT_CODE: "SWIFT_CODE",    UK_NATIONAL_HEALTH_SERVICE_NUMBER: "UK_NATIONAL_HEALTH_SERVICE_NUMBER",    UK_NATIONAL_INSURANCE_NUMBER: "UK_NATIONAL_INSURANCE_NUMBER",    UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER: "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER",    URL: "URL",    USERNAME: "USERNAME",    US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER: "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",    VEHICLE_IDENTIFICATION_NUMBER: "VEHICLE_IDENTIFICATION_NUMBER",};const DatasetType = {    TEST: "TEST",    TRAIN: "TRAIN",};const DatasetDataFormat = {    AUGMENTED_MANIFEST: "AUGMENTED_MANIFEST",    COMPREHEND_CSV: "COMPREHEND_CSV",};const InputFormat = {    ONE_DOC_PER_FILE: "ONE_DOC_PER_FILE",    ONE_DOC_PER_LINE: "ONE_DOC_PER_LINE",};const DocumentClassifierDataFormat = {    AUGMENTED_MANIFEST: "AUGMENTED_MANIFEST",    COMPREHEND_CSV: "COMPREHEND_CSV",};const DocumentClassifierDocumentTypeFormat = {    PLAIN_TEXT_DOCUMENT: "PLAIN_TEXT_DOCUMENT",    SEMI_STRUCTURED_DOCUMENT: "SEMI_STRUCTURED_DOCUMENT",};const DocumentClassifierMode = {    MULTI_CLASS: "MULTI_CLASS",    MULTI_LABEL: "MULTI_LABEL",};const EntityRecognizerDataFormat = {    AUGMENTED_MANIFEST: "AUGMENTED_MANIFEST",    COMPREHEND_CSV: "COMPREHEND_CSV",};const ModelType = {    DOCUMENT_CLASSIFIER: "DOCUMENT_CLASSIFIER",    ENTITY_RECOGNIZER: "ENTITY_RECOGNIZER",};const DatasetStatus = {    COMPLETED: "COMPLETED",    CREATING: "CREATING",    FAILED: "FAILED",};const JobStatus = {    COMPLETED: "COMPLETED",    FAILED: "FAILED",    IN_PROGRESS: "IN_PROGRESS",    STOPPED: "STOPPED",    STOP_REQUESTED: "STOP_REQUESTED",    SUBMITTED: "SUBMITTED",};const ModelStatus = {    DELETING: "DELETING",    IN_ERROR: "IN_ERROR",    STOPPED: "STOPPED",    STOP_REQUESTED: "STOP_REQUESTED",    SUBMITTED: "SUBMITTED",    TRAINED: "TRAINED",    TRAINED_WITH_WARNING: "TRAINED_WITH_WARNING",    TRAINING: "TRAINING",};const EndpointStatus = {    CREATING: "CREATING",    DELETING: "DELETING",    FAILED: "FAILED",    IN_SERVICE: "IN_SERVICE",    UPDATING: "UPDATING",};const FlywheelStatus = {    ACTIVE: "ACTIVE",    CREATING: "CREATING",    DELETING: "DELETING",    FAILED: "FAILED",    UPDATING: "UPDATING",};const FlywheelIterationStatus = {    COMPLETED: "COMPLETED",    EVALUATING: "EVALUATING",    FAILED: "FAILED",    STOPPED: "STOPPED",    STOP_REQUESTED: "STOP_REQUESTED",    TRAINING: "TRAINING",};const PiiEntitiesDetectionMode = {    ONLY_OFFSETS: "ONLY_OFFSETS",    ONLY_REDACTION: "ONLY_REDACTION",};const PiiEntitiesDetectionMaskMode = {    MASK: "MASK",    REPLACE_WITH_PII_ENTITY_TYPE: "REPLACE_WITH_PII_ENTITY_TYPE",};const ToxicContentType = {    GRAPHIC: "GRAPHIC",    HARASSMENT_OR_ABUSE: "HARASSMENT_OR_ABUSE",    HATE_SPEECH: "HATE_SPEECH",    INSULT: "INSULT",    PROFANITY: "PROFANITY",    SEXUAL: "SEXUAL",    VIOLENCE_OR_THREAT: "VIOLENCE_OR_THREAT",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.ComprehendServiceException = ComprehendServiceException.ComprehendServiceException;exports.AugmentedManifestsDocumentTypeFormat = AugmentedManifestsDocumentTypeFormat;exports.BatchDetectDominantLanguageCommand = BatchDetectDominantLanguageCommand;exports.BatchDetectEntitiesCommand = BatchDetectEntitiesCommand;exports.BatchDetectKeyPhrasesCommand = BatchDetectKeyPhrasesCommand;exports.BatchDetectSentimentCommand = BatchDetectSentimentCommand;exports.BatchDetectSyntaxCommand = BatchDetectSyntaxCommand;exports.BatchDetectTargetedSentimentCommand = BatchDetectTargetedSentimentCommand;exports.BlockType = BlockType;exports.ClassifyDocumentCommand = ClassifyDocumentCommand;exports.Comprehend = Comprehend;exports.ComprehendClient = ComprehendClient;exports.ContainsPiiEntitiesCommand = ContainsPiiEntitiesCommand;exports.CreateDatasetCommand = CreateDatasetCommand;exports.CreateDocumentClassifierCommand = CreateDocumentClassifierCommand;exports.CreateEndpointCommand = CreateEndpointCommand;exports.CreateEntityRecognizerCommand = CreateEntityRecognizerCommand;exports.CreateFlywheelCommand = CreateFlywheelCommand;exports.DatasetDataFormat = DatasetDataFormat;exports.DatasetStatus = DatasetStatus;exports.DatasetType = DatasetType;exports.DeleteDocumentClassifierCommand = DeleteDocumentClassifierCommand;exports.DeleteEndpointCommand = DeleteEndpointCommand;exports.DeleteEntityRecognizerCommand = DeleteEntityRecognizerCommand;exports.DeleteFlywheelCommand = DeleteFlywheelCommand;exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;exports.DescribeDatasetCommand = DescribeDatasetCommand;exports.DescribeDocumentClassificationJobCommand = DescribeDocumentClassificationJobCommand;exports.DescribeDocumentClassifierCommand = DescribeDocumentClassifierCommand;exports.DescribeDominantLanguageDetectionJobCommand = DescribeDominantLanguageDetectionJobCommand;exports.DescribeEndpointCommand = DescribeEndpointCommand;exports.DescribeEntitiesDetectionJobCommand = DescribeEntitiesDetectionJobCommand;exports.DescribeEntityRecognizerCommand = DescribeEntityRecognizerCommand;exports.DescribeEventsDetectionJobCommand = DescribeEventsDetectionJobCommand;exports.DescribeFlywheelCommand = DescribeFlywheelCommand;exports.DescribeFlywheelIterationCommand = DescribeFlywheelIterationCommand;exports.DescribeKeyPhrasesDetectionJobCommand = DescribeKeyPhrasesDetectionJobCommand;exports.DescribePiiEntitiesDetectionJobCommand = DescribePiiEntitiesDetectionJobCommand;exports.DescribeResourcePolicyCommand = DescribeResourcePolicyCommand;exports.DescribeSentimentDetectionJobCommand = DescribeSentimentDetectionJobCommand;exports.DescribeTargetedSentimentDetectionJobCommand = DescribeTargetedSentimentDetectionJobCommand;exports.DescribeTopicsDetectionJobCommand = DescribeTopicsDetectionJobCommand;exports.DetectDominantLanguageCommand = DetectDominantLanguageCommand;exports.DetectEntitiesCommand = DetectEntitiesCommand;exports.DetectKeyPhrasesCommand = DetectKeyPhrasesCommand;exports.DetectPiiEntitiesCommand = DetectPiiEntitiesCommand;exports.DetectSentimentCommand = DetectSentimentCommand;exports.DetectSyntaxCommand = DetectSyntaxCommand;exports.DetectTargetedSentimentCommand = DetectTargetedSentimentCommand;exports.DetectToxicContentCommand = DetectToxicContentCommand;exports.DocumentClassifierDataFormat = DocumentClassifierDataFormat;exports.DocumentClassifierDocumentTypeFormat = DocumentClassifierDocumentTypeFormat;exports.DocumentClassifierMode = DocumentClassifierMode;exports.DocumentReadAction = DocumentReadAction;exports.DocumentReadFeatureTypes = DocumentReadFeatureTypes;exports.DocumentReadMode = DocumentReadMode;exports.DocumentType = DocumentType;exports.EndpointStatus = EndpointStatus;exports.EntityRecognizerDataFormat = EntityRecognizerDataFormat;exports.EntityType = EntityType;exports.FlywheelIterationStatus = FlywheelIterationStatus;exports.FlywheelStatus = FlywheelStatus;exports.ImportModelCommand = ImportModelCommand;exports.InputFormat = InputFormat;exports.InvalidRequestDetailReason = InvalidRequestDetailReason;exports.InvalidRequestReason = InvalidRequestReason;exports.JobStatus = JobStatus;exports.LanguageCode = LanguageCode;exports.ListDatasetsCommand = ListDatasetsCommand;exports.ListDocumentClassificationJobsCommand = ListDocumentClassificationJobsCommand;exports.ListDocumentClassifierSummariesCommand = ListDocumentClassifierSummariesCommand;exports.ListDocumentClassifiersCommand = ListDocumentClassifiersCommand;exports.ListDominantLanguageDetectionJobsCommand = ListDominantLanguageDetectionJobsCommand;exports.ListEndpointsCommand = ListEndpointsCommand;exports.ListEntitiesDetectionJobsCommand = ListEntitiesDetectionJobsCommand;exports.ListEntityRecognizerSummariesCommand = ListEntityRecognizerSummariesCommand;exports.ListEntityRecognizersCommand = ListEntityRecognizersCommand;exports.ListEventsDetectionJobsCommand = ListEventsDetectionJobsCommand;exports.ListFlywheelIterationHistoryCommand = ListFlywheelIterationHistoryCommand;exports.ListFlywheelsCommand = ListFlywheelsCommand;exports.ListKeyPhrasesDetectionJobsCommand = ListKeyPhrasesDetectionJobsCommand;exports.ListPiiEntitiesDetectionJobsCommand = ListPiiEntitiesDetectionJobsCommand;exports.ListSentimentDetectionJobsCommand = ListSentimentDetectionJobsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListTargetedSentimentDetectionJobsCommand = ListTargetedSentimentDetectionJobsCommand;exports.ListTopicsDetectionJobsCommand = ListTopicsDetectionJobsCommand;exports.ModelStatus = ModelStatus;exports.ModelType = ModelType;exports.PageBasedErrorCode = PageBasedErrorCode;exports.PageBasedWarningCode = PageBasedWarningCode;exports.PartOfSpeechTagType = PartOfSpeechTagType;exports.PiiEntitiesDetectionMaskMode = PiiEntitiesDetectionMaskMode;exports.PiiEntitiesDetectionMode = PiiEntitiesDetectionMode;exports.PiiEntityType = PiiEntityType;exports.PutResourcePolicyCommand = PutResourcePolicyCommand;exports.RelationshipType = RelationshipType;exports.SentimentType = SentimentType;exports.Split = Split;exports.StartDocumentClassificationJobCommand = StartDocumentClassificationJobCommand;exports.StartDominantLanguageDetectionJobCommand = StartDominantLanguageDetectionJobCommand;exports.StartEntitiesDetectionJobCommand = StartEntitiesDetectionJobCommand;exports.StartEventsDetectionJobCommand = StartEventsDetectionJobCommand;exports.StartFlywheelIterationCommand = StartFlywheelIterationCommand;exports.StartKeyPhrasesDetectionJobCommand = StartKeyPhrasesDetectionJobCommand;exports.StartPiiEntitiesDetectionJobCommand = StartPiiEntitiesDetectionJobCommand;exports.StartSentimentDetectionJobCommand = StartSentimentDetectionJobCommand;exports.StartTargetedSentimentDetectionJobCommand = StartTargetedSentimentDetectionJobCommand;exports.StartTopicsDetectionJobCommand = StartTopicsDetectionJobCommand;exports.StopDominantLanguageDetectionJobCommand = StopDominantLanguageDetectionJobCommand;exports.StopEntitiesDetectionJobCommand = StopEntitiesDetectionJobCommand;exports.StopEventsDetectionJobCommand = StopEventsDetectionJobCommand;exports.StopKeyPhrasesDetectionJobCommand = StopKeyPhrasesDetectionJobCommand;exports.StopPiiEntitiesDetectionJobCommand = StopPiiEntitiesDetectionJobCommand;exports.StopSentimentDetectionJobCommand = StopSentimentDetectionJobCommand;exports.StopTargetedSentimentDetectionJobCommand = StopTargetedSentimentDetectionJobCommand;exports.StopTrainingDocumentClassifierCommand = StopTrainingDocumentClassifierCommand;exports.StopTrainingEntityRecognizerCommand = StopTrainingEntityRecognizerCommand;exports.SyntaxLanguageCode = SyntaxLanguageCode;exports.TagResourceCommand = TagResourceCommand;exports.TargetedSentimentEntityType = TargetedSentimentEntityType;exports.ToxicContentType = ToxicContentType;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateEndpointCommand = UpdateEndpointCommand;exports.UpdateFlywheelCommand = UpdateFlywheelCommand;exports.paginateListDatasets = paginateListDatasets;exports.paginateListDocumentClassificationJobs = paginateListDocumentClassificationJobs;exports.paginateListDocumentClassifierSummaries = paginateListDocumentClassifierSummaries;exports.paginateListDocumentClassifiers = paginateListDocumentClassifiers;exports.paginateListDominantLanguageDetectionJobs = paginateListDominantLanguageDetectionJobs;exports.paginateListEndpoints = paginateListEndpoints;exports.paginateListEntitiesDetectionJobs = paginateListEntitiesDetectionJobs;exports.paginateListEntityRecognizerSummaries = paginateListEntityRecognizerSummaries;exports.paginateListEntityRecognizers = paginateListEntityRecognizers;exports.paginateListEventsDetectionJobs = paginateListEventsDetectionJobs;exports.paginateListFlywheelIterationHistory = paginateListFlywheelIterationHistory;exports.paginateListFlywheels = paginateListFlywheels;exports.paginateListKeyPhrasesDetectionJobs = paginateListKeyPhrasesDetectionJobs;exports.paginateListPiiEntitiesDetectionJobs = paginateListPiiEntitiesDetectionJobs;exports.paginateListSentimentDetectionJobs = paginateListSentimentDetectionJobs;exports.paginateListTargetedSentimentDetectionJobs = paginateListTargetedSentimentDetectionJobs;exports.paginateListTopicsDetectionJobs = paginateListTopicsDetectionJobs;Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&    !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&    Object.defineProperty(exports, '__proto__', {        enumerable: true,        value: schemas_0['__proto__']    }); Object.keys(schemas_0).forEach(function (k) {    if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];});Object.prototype.hasOwnProperty.call(errors, '__proto__') &&    !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&    Object.defineProperty(exports, '__proto__', {        enumerable: true,        value: errors['__proto__']    }); Object.keys(errors).forEach(function (k) {    if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];});