import { HostHeaderInputConfig, HostHeaderResolvedConfig, UserAgentInputConfig, UserAgentResolvedConfig, } from "@aws-sdk/core/client"; import { DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client, } from "@smithy/core/client"; import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config"; import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints"; import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols"; import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry"; import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent, } from "@smithy/types"; import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig, } from "./auth/httpAuthSchemeProvider"; import { BatchDetectDominantLanguageCommandInput, BatchDetectDominantLanguageCommandOutput, } from "./commands/BatchDetectDominantLanguageCommand"; import { BatchDetectEntitiesCommandInput, BatchDetectEntitiesCommandOutput, } from "./commands/BatchDetectEntitiesCommand"; import { BatchDetectKeyPhrasesCommandInput, BatchDetectKeyPhrasesCommandOutput, } from "./commands/BatchDetectKeyPhrasesCommand"; import { BatchDetectSentimentCommandInput, BatchDetectSentimentCommandOutput, } from "./commands/BatchDetectSentimentCommand"; import { BatchDetectSyntaxCommandInput, BatchDetectSyntaxCommandOutput, } from "./commands/BatchDetectSyntaxCommand"; import { BatchDetectTargetedSentimentCommandInput, BatchDetectTargetedSentimentCommandOutput, } from "./commands/BatchDetectTargetedSentimentCommand"; import { ClassifyDocumentCommandInput, ClassifyDocumentCommandOutput, } from "./commands/ClassifyDocumentCommand"; import { ContainsPiiEntitiesCommandInput, ContainsPiiEntitiesCommandOutput, } from "./commands/ContainsPiiEntitiesCommand"; import { CreateDatasetCommandInput, CreateDatasetCommandOutput, } from "./commands/CreateDatasetCommand"; import { CreateDocumentClassifierCommandInput, CreateDocumentClassifierCommandOutput, } from "./commands/CreateDocumentClassifierCommand"; import { CreateEndpointCommandInput, CreateEndpointCommandOutput, } from "./commands/CreateEndpointCommand"; import { CreateEntityRecognizerCommandInput, CreateEntityRecognizerCommandOutput, } from "./commands/CreateEntityRecognizerCommand"; import { CreateFlywheelCommandInput, CreateFlywheelCommandOutput, } from "./commands/CreateFlywheelCommand"; import { DeleteDocumentClassifierCommandInput, DeleteDocumentClassifierCommandOutput, } from "./commands/DeleteDocumentClassifierCommand"; import { DeleteEndpointCommandInput, DeleteEndpointCommandOutput, } from "./commands/DeleteEndpointCommand"; import { DeleteEntityRecognizerCommandInput, DeleteEntityRecognizerCommandOutput, } from "./commands/DeleteEntityRecognizerCommand"; import { DeleteFlywheelCommandInput, DeleteFlywheelCommandOutput, } from "./commands/DeleteFlywheelCommand"; import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, } from "./commands/DeleteResourcePolicyCommand"; import { DescribeDatasetCommandInput, DescribeDatasetCommandOutput, } from "./commands/DescribeDatasetCommand"; import { DescribeDocumentClassificationJobCommandInput, DescribeDocumentClassificationJobCommandOutput, } from "./commands/DescribeDocumentClassificationJobCommand"; import { DescribeDocumentClassifierCommandInput, DescribeDocumentClassifierCommandOutput, } from "./commands/DescribeDocumentClassifierCommand"; import { DescribeDominantLanguageDetectionJobCommandInput, DescribeDominantLanguageDetectionJobCommandOutput, } from "./commands/DescribeDominantLanguageDetectionJobCommand"; import { DescribeEndpointCommandInput, DescribeEndpointCommandOutput, } from "./commands/DescribeEndpointCommand"; import { DescribeEntitiesDetectionJobCommandInput, DescribeEntitiesDetectionJobCommandOutput, } from "./commands/DescribeEntitiesDetectionJobCommand"; import { DescribeEntityRecognizerCommandInput, DescribeEntityRecognizerCommandOutput, } from "./commands/DescribeEntityRecognizerCommand"; import { DescribeEventsDetectionJobCommandInput, DescribeEventsDetectionJobCommandOutput, } from "./commands/DescribeEventsDetectionJobCommand"; import { DescribeFlywheelCommandInput, DescribeFlywheelCommandOutput, } from "./commands/DescribeFlywheelCommand"; import { DescribeFlywheelIterationCommandInput, DescribeFlywheelIterationCommandOutput, } from "./commands/DescribeFlywheelIterationCommand"; import { DescribeKeyPhrasesDetectionJobCommandInput, DescribeKeyPhrasesDetectionJobCommandOutput, } from "./commands/DescribeKeyPhrasesDetectionJobCommand"; import { DescribePiiEntitiesDetectionJobCommandInput, DescribePiiEntitiesDetectionJobCommandOutput, } from "./commands/DescribePiiEntitiesDetectionJobCommand"; import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput, } from "./commands/DescribeResourcePolicyCommand"; import { DescribeSentimentDetectionJobCommandInput, DescribeSentimentDetectionJobCommandOutput, } from "./commands/DescribeSentimentDetectionJobCommand"; import { DescribeTargetedSentimentDetectionJobCommandInput, DescribeTargetedSentimentDetectionJobCommandOutput, } from "./commands/DescribeTargetedSentimentDetectionJobCommand"; import { DescribeTopicsDetectionJobCommandInput, DescribeTopicsDetectionJobCommandOutput, } from "./commands/DescribeTopicsDetectionJobCommand"; import { DetectDominantLanguageCommandInput, DetectDominantLanguageCommandOutput, } from "./commands/DetectDominantLanguageCommand"; import { DetectEntitiesCommandInput, DetectEntitiesCommandOutput, } from "./commands/DetectEntitiesCommand"; import { DetectKeyPhrasesCommandInput, DetectKeyPhrasesCommandOutput, } from "./commands/DetectKeyPhrasesCommand"; import { DetectPiiEntitiesCommandInput, DetectPiiEntitiesCommandOutput, } from "./commands/DetectPiiEntitiesCommand"; import { DetectSentimentCommandInput, DetectSentimentCommandOutput, } from "./commands/DetectSentimentCommand"; import { DetectSyntaxCommandInput, DetectSyntaxCommandOutput, } from "./commands/DetectSyntaxCommand"; import { DetectTargetedSentimentCommandInput, DetectTargetedSentimentCommandOutput, } from "./commands/DetectTargetedSentimentCommand"; import { DetectToxicContentCommandInput, DetectToxicContentCommandOutput, } from "./commands/DetectToxicContentCommand"; import { ImportModelCommandInput, ImportModelCommandOutput } from "./commands/ImportModelCommand"; import { ListDatasetsCommandInput, ListDatasetsCommandOutput, } from "./commands/ListDatasetsCommand"; import { ListDocumentClassificationJobsCommandInput, ListDocumentClassificationJobsCommandOutput, } from "./commands/ListDocumentClassificationJobsCommand"; import { ListDocumentClassifiersCommandInput, ListDocumentClassifiersCommandOutput, } from "./commands/ListDocumentClassifiersCommand"; import { ListDocumentClassifierSummariesCommandInput, ListDocumentClassifierSummariesCommandOutput, } from "./commands/ListDocumentClassifierSummariesCommand"; import { ListDominantLanguageDetectionJobsCommandInput, ListDominantLanguageDetectionJobsCommandOutput, } from "./commands/ListDominantLanguageDetectionJobsCommand"; import { ListEndpointsCommandInput, ListEndpointsCommandOutput, } from "./commands/ListEndpointsCommand"; import { ListEntitiesDetectionJobsCommandInput, ListEntitiesDetectionJobsCommandOutput, } from "./commands/ListEntitiesDetectionJobsCommand"; import { ListEntityRecognizersCommandInput, ListEntityRecognizersCommandOutput, } from "./commands/ListEntityRecognizersCommand"; import { ListEntityRecognizerSummariesCommandInput, ListEntityRecognizerSummariesCommandOutput, } from "./commands/ListEntityRecognizerSummariesCommand"; import { ListEventsDetectionJobsCommandInput, ListEventsDetectionJobsCommandOutput, } from "./commands/ListEventsDetectionJobsCommand"; import { ListFlywheelIterationHistoryCommandInput, ListFlywheelIterationHistoryCommandOutput, } from "./commands/ListFlywheelIterationHistoryCommand"; import { ListFlywheelsCommandInput, ListFlywheelsCommandOutput, } from "./commands/ListFlywheelsCommand"; import { ListKeyPhrasesDetectionJobsCommandInput, ListKeyPhrasesDetectionJobsCommandOutput, } from "./commands/ListKeyPhrasesDetectionJobsCommand"; import { ListPiiEntitiesDetectionJobsCommandInput, ListPiiEntitiesDetectionJobsCommandOutput, } from "./commands/ListPiiEntitiesDetectionJobsCommand"; import { ListSentimentDetectionJobsCommandInput, ListSentimentDetectionJobsCommandOutput, } from "./commands/ListSentimentDetectionJobsCommand"; import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, } from "./commands/ListTagsForResourceCommand"; import { ListTargetedSentimentDetectionJobsCommandInput, ListTargetedSentimentDetectionJobsCommandOutput, } from "./commands/ListTargetedSentimentDetectionJobsCommand"; import { ListTopicsDetectionJobsCommandInput, ListTopicsDetectionJobsCommandOutput, } from "./commands/ListTopicsDetectionJobsCommand"; import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, } from "./commands/PutResourcePolicyCommand"; import { StartDocumentClassificationJobCommandInput, StartDocumentClassificationJobCommandOutput, } from "./commands/StartDocumentClassificationJobCommand"; import { StartDominantLanguageDetectionJobCommandInput, StartDominantLanguageDetectionJobCommandOutput, } from "./commands/StartDominantLanguageDetectionJobCommand"; import { StartEntitiesDetectionJobCommandInput, StartEntitiesDetectionJobCommandOutput, } from "./commands/StartEntitiesDetectionJobCommand"; import { StartEventsDetectionJobCommandInput, StartEventsDetectionJobCommandOutput, } from "./commands/StartEventsDetectionJobCommand"; import { StartFlywheelIterationCommandInput, StartFlywheelIterationCommandOutput, } from "./commands/StartFlywheelIterationCommand"; import { StartKeyPhrasesDetectionJobCommandInput, StartKeyPhrasesDetectionJobCommandOutput, } from "./commands/StartKeyPhrasesDetectionJobCommand"; import { StartPiiEntitiesDetectionJobCommandInput, StartPiiEntitiesDetectionJobCommandOutput, } from "./commands/StartPiiEntitiesDetectionJobCommand"; import { StartSentimentDetectionJobCommandInput, StartSentimentDetectionJobCommandOutput, } from "./commands/StartSentimentDetectionJobCommand"; import { StartTargetedSentimentDetectionJobCommandInput, StartTargetedSentimentDetectionJobCommandOutput, } from "./commands/StartTargetedSentimentDetectionJobCommand"; import { StartTopicsDetectionJobCommandInput, StartTopicsDetectionJobCommandOutput, } from "./commands/StartTopicsDetectionJobCommand"; import { StopDominantLanguageDetectionJobCommandInput, StopDominantLanguageDetectionJobCommandOutput, } from "./commands/StopDominantLanguageDetectionJobCommand"; import { StopEntitiesDetectionJobCommandInput, StopEntitiesDetectionJobCommandOutput, } from "./commands/StopEntitiesDetectionJobCommand"; import { StopEventsDetectionJobCommandInput, StopEventsDetectionJobCommandOutput, } from "./commands/StopEventsDetectionJobCommand"; import { StopKeyPhrasesDetectionJobCommandInput, StopKeyPhrasesDetectionJobCommandOutput, } from "./commands/StopKeyPhrasesDetectionJobCommand"; import { StopPiiEntitiesDetectionJobCommandInput, StopPiiEntitiesDetectionJobCommandOutput, } from "./commands/StopPiiEntitiesDetectionJobCommand"; import { StopSentimentDetectionJobCommandInput, StopSentimentDetectionJobCommandOutput, } from "./commands/StopSentimentDetectionJobCommand"; import { StopTargetedSentimentDetectionJobCommandInput, StopTargetedSentimentDetectionJobCommandOutput, } from "./commands/StopTargetedSentimentDetectionJobCommand"; import { StopTrainingDocumentClassifierCommandInput, StopTrainingDocumentClassifierCommandOutput, } from "./commands/StopTrainingDocumentClassifierCommand"; import { StopTrainingEntityRecognizerCommandInput, StopTrainingEntityRecognizerCommandOutput, } from "./commands/StopTrainingEntityRecognizerCommand"; import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput, } from "./commands/UntagResourceCommand"; import { UpdateEndpointCommandInput, UpdateEndpointCommandOutput, } from "./commands/UpdateEndpointCommand"; import { UpdateFlywheelCommandInput, UpdateFlywheelCommandOutput, } from "./commands/UpdateFlywheelCommand"; import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters, } from "./endpoint/EndpointParameters"; import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions"; export { __Client }; export type ServiceInputTypes = | BatchDetectDominantLanguageCommandInput | BatchDetectEntitiesCommandInput | BatchDetectKeyPhrasesCommandInput | BatchDetectSentimentCommandInput | BatchDetectSyntaxCommandInput | BatchDetectTargetedSentimentCommandInput | ClassifyDocumentCommandInput | ContainsPiiEntitiesCommandInput | CreateDatasetCommandInput | CreateDocumentClassifierCommandInput | CreateEndpointCommandInput | CreateEntityRecognizerCommandInput | CreateFlywheelCommandInput | DeleteDocumentClassifierCommandInput | DeleteEndpointCommandInput | DeleteEntityRecognizerCommandInput | DeleteFlywheelCommandInput | DeleteResourcePolicyCommandInput | DescribeDatasetCommandInput | DescribeDocumentClassificationJobCommandInput | DescribeDocumentClassifierCommandInput | DescribeDominantLanguageDetectionJobCommandInput | DescribeEndpointCommandInput | DescribeEntitiesDetectionJobCommandInput | DescribeEntityRecognizerCommandInput | DescribeEventsDetectionJobCommandInput | DescribeFlywheelCommandInput | DescribeFlywheelIterationCommandInput | DescribeKeyPhrasesDetectionJobCommandInput | DescribePiiEntitiesDetectionJobCommandInput | DescribeResourcePolicyCommandInput | DescribeSentimentDetectionJobCommandInput | DescribeTargetedSentimentDetectionJobCommandInput | DescribeTopicsDetectionJobCommandInput | DetectDominantLanguageCommandInput | DetectEntitiesCommandInput | DetectKeyPhrasesCommandInput | DetectPiiEntitiesCommandInput | DetectSentimentCommandInput | DetectSyntaxCommandInput | DetectTargetedSentimentCommandInput | DetectToxicContentCommandInput | ImportModelCommandInput | ListDatasetsCommandInput | ListDocumentClassificationJobsCommandInput | ListDocumentClassifierSummariesCommandInput | ListDocumentClassifiersCommandInput | ListDominantLanguageDetectionJobsCommandInput | ListEndpointsCommandInput | ListEntitiesDetectionJobsCommandInput | ListEntityRecognizerSummariesCommandInput | ListEntityRecognizersCommandInput | ListEventsDetectionJobsCommandInput | ListFlywheelIterationHistoryCommandInput | ListFlywheelsCommandInput | ListKeyPhrasesDetectionJobsCommandInput | ListPiiEntitiesDetectionJobsCommandInput | ListSentimentDetectionJobsCommandInput | ListTagsForResourceCommandInput | ListTargetedSentimentDetectionJobsCommandInput | ListTopicsDetectionJobsCommandInput | PutResourcePolicyCommandInput | StartDocumentClassificationJobCommandInput | StartDominantLanguageDetectionJobCommandInput | StartEntitiesDetectionJobCommandInput | StartEventsDetectionJobCommandInput | StartFlywheelIterationCommandInput | StartKeyPhrasesDetectionJobCommandInput | StartPiiEntitiesDetectionJobCommandInput | StartSentimentDetectionJobCommandInput | StartTargetedSentimentDetectionJobCommandInput | StartTopicsDetectionJobCommandInput | StopDominantLanguageDetectionJobCommandInput | StopEntitiesDetectionJobCommandInput | StopEventsDetectionJobCommandInput | StopKeyPhrasesDetectionJobCommandInput | StopPiiEntitiesDetectionJobCommandInput | StopSentimentDetectionJobCommandInput | StopTargetedSentimentDetectionJobCommandInput | StopTrainingDocumentClassifierCommandInput | StopTrainingEntityRecognizerCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEndpointCommandInput | UpdateFlywheelCommandInput; export type ServiceOutputTypes = | BatchDetectDominantLanguageCommandOutput | BatchDetectEntitiesCommandOutput | BatchDetectKeyPhrasesCommandOutput | BatchDetectSentimentCommandOutput | BatchDetectSyntaxCommandOutput | BatchDetectTargetedSentimentCommandOutput | ClassifyDocumentCommandOutput | ContainsPiiEntitiesCommandOutput | CreateDatasetCommandOutput | CreateDocumentClassifierCommandOutput | CreateEndpointCommandOutput | CreateEntityRecognizerCommandOutput | CreateFlywheelCommandOutput | DeleteDocumentClassifierCommandOutput | DeleteEndpointCommandOutput | DeleteEntityRecognizerCommandOutput | DeleteFlywheelCommandOutput | DeleteResourcePolicyCommandOutput | DescribeDatasetCommandOutput | DescribeDocumentClassificationJobCommandOutput | DescribeDocumentClassifierCommandOutput | DescribeDominantLanguageDetectionJobCommandOutput | DescribeEndpointCommandOutput | DescribeEntitiesDetectionJobCommandOutput | DescribeEntityRecognizerCommandOutput | DescribeEventsDetectionJobCommandOutput | DescribeFlywheelCommandOutput | DescribeFlywheelIterationCommandOutput | DescribeKeyPhrasesDetectionJobCommandOutput | DescribePiiEntitiesDetectionJobCommandOutput | DescribeResourcePolicyCommandOutput | DescribeSentimentDetectionJobCommandOutput | DescribeTargetedSentimentDetectionJobCommandOutput | DescribeTopicsDetectionJobCommandOutput | DetectDominantLanguageCommandOutput | DetectEntitiesCommandOutput | DetectKeyPhrasesCommandOutput | DetectPiiEntitiesCommandOutput | DetectSentimentCommandOutput | DetectSyntaxCommandOutput | DetectTargetedSentimentCommandOutput | DetectToxicContentCommandOutput | ImportModelCommandOutput | ListDatasetsCommandOutput | ListDocumentClassificationJobsCommandOutput | ListDocumentClassifierSummariesCommandOutput | ListDocumentClassifiersCommandOutput | ListDominantLanguageDetectionJobsCommandOutput | ListEndpointsCommandOutput | ListEntitiesDetectionJobsCommandOutput | ListEntityRecognizerSummariesCommandOutput | ListEntityRecognizersCommandOutput | ListEventsDetectionJobsCommandOutput | ListFlywheelIterationHistoryCommandOutput | ListFlywheelsCommandOutput | ListKeyPhrasesDetectionJobsCommandOutput | ListPiiEntitiesDetectionJobsCommandOutput | ListSentimentDetectionJobsCommandOutput | ListTagsForResourceCommandOutput | ListTargetedSentimentDetectionJobsCommandOutput | ListTopicsDetectionJobsCommandOutput | PutResourcePolicyCommandOutput | StartDocumentClassificationJobCommandOutput | StartDominantLanguageDetectionJobCommandOutput | StartEntitiesDetectionJobCommandOutput | StartEventsDetectionJobCommandOutput | StartFlywheelIterationCommandOutput | StartKeyPhrasesDetectionJobCommandOutput | StartPiiEntitiesDetectionJobCommandOutput | StartSentimentDetectionJobCommandOutput | StartTargetedSentimentDetectionJobCommandOutput | StartTopicsDetectionJobCommandOutput | StopDominantLanguageDetectionJobCommandOutput | StopEntitiesDetectionJobCommandOutput | StopEventsDetectionJobCommandOutput | StopKeyPhrasesDetectionJobCommandOutput | StopPiiEntitiesDetectionJobCommandOutput | StopSentimentDetectionJobCommandOutput | StopTargetedSentimentDetectionJobCommandOutput | StopTrainingDocumentClassifierCommandOutput | StopTrainingEntityRecognizerCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEndpointCommandOutput | UpdateFlywheelCommandOutput; export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { requestHandler?: __HttpHandlerUserInput; sha256?: __ChecksumConstructor | __HashConstructor; urlParser?: __UrlParser; bodyLengthChecker?: __BodyLengthCalculator; streamCollector?: __StreamCollector; base64Decoder?: __Decoder; base64Encoder?: __Encoder; utf8Decoder?: __Decoder; utf8Encoder?: __Encoder; runtime?: string; disableHostPrefix?: boolean; serviceId?: string; useDualstackEndpoint?: boolean | __Provider; useFipsEndpoint?: boolean | __Provider; region?: string | __Provider; profile?: string; defaultUserAgentProvider?: __Provider<__UserAgent>; credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; maxAttempts?: number | __Provider; retryMode?: string | __Provider; logger?: __Logger; extensions?: RuntimeExtension[]; defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; } export type ComprehendClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters; export interface ComprehendClientConfig extends ComprehendClientConfigType {} export type ComprehendClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters; export interface ComprehendClientResolvedConfig extends ComprehendClientResolvedConfigType {} export declare class ComprehendClient extends __Client< __HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ComprehendClientResolvedConfig > { readonly config: ComprehendClientResolvedConfig; constructor(...[configuration]: __CheckOptionalClientConfig); destroy(): void; }