import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListDocumentClassifiersRequest, ListDocumentClassifiersResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListDocumentClassifiersCommand}. */ export interface ListDocumentClassifiersCommandInput extends ListDocumentClassifiersRequest { } /** * @public * * The output of {@link ListDocumentClassifiersCommand}. */ export interface ListDocumentClassifiersCommandOutput extends ListDocumentClassifiersResponse, __MetadataBearer { } declare const ListDocumentClassifiersCommand_base: { new (input: ListDocumentClassifiersCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListDocumentClassifiersCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets a list of the document classifiers that you have created.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ComprehendClient, ListDocumentClassifiersCommand } from "@aws-sdk/client-comprehend"; // ES Modules import * // const { ComprehendClient, ListDocumentClassifiersCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import * // import type { ComprehendClientConfig } from "@aws-sdk/client-comprehend"; * const config = {}; // type is ComprehendClientConfig * const client = new ComprehendClient(config); * const input = { // ListDocumentClassifiersRequest * Filter: { // DocumentClassifierFilter * Status: "SUBMITTED" || "TRAINING" || "DELETING" || "STOP_REQUESTED" || "STOPPED" || "IN_ERROR" || "TRAINED" || "TRAINED_WITH_WARNING", * DocumentClassifierName: "STRING_VALUE", * SubmitTimeBefore: new Date("TIMESTAMP"), * SubmitTimeAfter: new Date("TIMESTAMP"), * }, * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListDocumentClassifiersCommand(input); * const response = await client.send(command); * // { // ListDocumentClassifiersResponse * // DocumentClassifierPropertiesList: [ // DocumentClassifierPropertiesList * // { // DocumentClassifierProperties * // DocumentClassifierArn: "STRING_VALUE", * // LanguageCode: "en" || "es" || "fr" || "de" || "it" || "pt" || "ar" || "hi" || "ja" || "ko" || "zh" || "zh-TW", * // Status: "SUBMITTED" || "TRAINING" || "DELETING" || "STOP_REQUESTED" || "STOPPED" || "IN_ERROR" || "TRAINED" || "TRAINED_WITH_WARNING", * // Message: "STRING_VALUE", * // SubmitTime: new Date("TIMESTAMP"), * // EndTime: new Date("TIMESTAMP"), * // TrainingStartTime: new Date("TIMESTAMP"), * // TrainingEndTime: new Date("TIMESTAMP"), * // InputDataConfig: { // DocumentClassifierInputDataConfig * // DataFormat: "COMPREHEND_CSV" || "AUGMENTED_MANIFEST", * // S3Uri: "STRING_VALUE", * // TestS3Uri: "STRING_VALUE", * // LabelDelimiter: "STRING_VALUE", * // AugmentedManifests: [ // DocumentClassifierAugmentedManifestsList * // { // AugmentedManifestsListItem * // S3Uri: "STRING_VALUE", // required * // Split: "TRAIN" || "TEST", * // AttributeNames: [ // AttributeNamesList // required * // "STRING_VALUE", * // ], * // AnnotationDataS3Uri: "STRING_VALUE", * // SourceDocumentsS3Uri: "STRING_VALUE", * // DocumentType: "PLAIN_TEXT_DOCUMENT" || "SEMI_STRUCTURED_DOCUMENT", * // }, * // ], * // DocumentType: "PLAIN_TEXT_DOCUMENT" || "SEMI_STRUCTURED_DOCUMENT", * // Documents: { // DocumentClassifierDocuments * // S3Uri: "STRING_VALUE", // required * // TestS3Uri: "STRING_VALUE", * // }, * // DocumentReaderConfig: { // DocumentReaderConfig * // DocumentReadAction: "TEXTRACT_DETECT_DOCUMENT_TEXT" || "TEXTRACT_ANALYZE_DOCUMENT", // required * // DocumentReadMode: "SERVICE_DEFAULT" || "FORCE_DOCUMENT_READ_ACTION", * // FeatureTypes: [ // ListOfDocumentReadFeatureTypes * // "TABLES" || "FORMS", * // ], * // }, * // }, * // OutputDataConfig: { // DocumentClassifierOutputDataConfig * // S3Uri: "STRING_VALUE", * // KmsKeyId: "STRING_VALUE", * // FlywheelStatsS3Prefix: "STRING_VALUE", * // }, * // ClassifierMetadata: { // ClassifierMetadata * // NumberOfLabels: Number("int"), * // NumberOfTrainedDocuments: Number("int"), * // NumberOfTestDocuments: Number("int"), * // EvaluationMetrics: { // ClassifierEvaluationMetrics * // Accuracy: Number("double"), * // Precision: Number("double"), * // Recall: Number("double"), * // F1Score: Number("double"), * // MicroPrecision: Number("double"), * // MicroRecall: Number("double"), * // MicroF1Score: Number("double"), * // HammingLoss: Number("double"), * // }, * // }, * // DataAccessRoleArn: "STRING_VALUE", * // VolumeKmsKeyId: "STRING_VALUE", * // VpcConfig: { // VpcConfig * // SecurityGroupIds: [ // SecurityGroupIds // required * // "STRING_VALUE", * // ], * // Subnets: [ // Subnets // required * // "STRING_VALUE", * // ], * // }, * // Mode: "MULTI_CLASS" || "MULTI_LABEL", * // ModelKmsKeyId: "STRING_VALUE", * // VersionName: "STRING_VALUE", * // SourceModelArn: "STRING_VALUE", * // FlywheelArn: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListDocumentClassifiersCommandInput - {@link ListDocumentClassifiersCommandInput} * @returns {@link ListDocumentClassifiersCommandOutput} * @see {@link ListDocumentClassifiersCommandInput} for command's `input` shape. * @see {@link ListDocumentClassifiersCommandOutput} for command's `response` shape. * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

An internal server error occurred. Retry your request.

* * @throws {@link InvalidFilterException} (client fault) *

The filter specified for the operation is invalid. Specify a different * filter.

* * @throws {@link InvalidRequestException} (client fault) *

The request is invalid.

* * @throws {@link TooManyRequestsException} (client fault) *

The number of requests exceeds the limit. Resubmit your request later.

* * @throws {@link ComprehendServiceException} *

Base exception class for all service exceptions from Comprehend service.

* * * @public */ export declare class ListDocumentClassifiersCommand extends ListDocumentClassifiersCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListDocumentClassifiersRequest; output: ListDocumentClassifiersResponse; }; sdk: { input: ListDocumentClassifiersCommandInput; output: ListDocumentClassifiersCommandOutput; }; }; }