# Source: https://docs.datadoghq.com/ddsql_reference/data_directory/aws/aws.comprehend_document_classifier.dataset.md

---
title: Comprehend Document Classifier Properties
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > DDSQL Reference > Data Directory > Comprehend Document Classifier
  Properties
---

# Comprehend Document Classifier Properties

Comprehend Document Classifier Properties in AWS describe the details of a custom document classifier created in Amazon Comprehend. It includes information such as the classifier's status, training start and end times, input data configuration, language code, and the Amazon Resource Name (ARN). This resource helps track and manage the lifecycle and performance of a document classifier used for categorizing text into user-defined labels.

```
aws.comprehend_document_classifier
```

## Fields

| Title                   | ID   | Type       | Data Type                                                                                                                                                                                                                                                                                                                                                                                                                                    | Description |
| ----------------------- | ---- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                    | core | string     |
| account_id              | core | string     |
| classifier_metadata     | core | json       | Information about the document classifier, including the number of documents used for training the classifier, the number of documents used for test the classifier, and an accuracy rating.                                                                                                                                                                                                                                                 |
| data_access_role_arn    | core | string     | The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.                                                                                                                                                                                                                                                                                                                                 |
| document_classifier_arn | core | string     | The Amazon Resource Name (ARN) that identifies the document classifier.                                                                                                                                                                                                                                                                                                                                                                      |
| end_time                | core | timestamp  | The time that training the document classifier completed.                                                                                                                                                                                                                                                                                                                                                                                    |
| flywheel_arn            | core | string     | The Amazon Resource Number (ARN) of the flywheel                                                                                                                                                                                                                                                                                                                                                                                             |
| input_data_config       | core | json       | The input data configuration that you supplied when you created the document classifier for training.                                                                                                                                                                                                                                                                                                                                        |
| language_code           | core | string     | The language code for the language of the documents that the classifier was trained on.                                                                                                                                                                                                                                                                                                                                                      |
| message                 | core | string     | Additional information about the status of the classifier.                                                                                                                                                                                                                                                                                                                                                                                   |
| mode                    | core | string     | Indicates the mode in which the specific classifier was trained. This also indicates the format of input documents and the format of the confusion matrix. Each classifier can only be trained in one mode and this cannot be changed once the classifier is trained.                                                                                                                                                                        |
| model_kms_key_id        | core | string     | ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats: KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"                                                                                                                         |
| output_data_config      | core | json       | Provides output results configuration parameters for custom classifier jobs.                                                                                                                                                                                                                                                                                                                                                                 |
| source_model_arn        | core | string     | The Amazon Resource Name (ARN) of the source model. This model was imported from a different Amazon Web Services account to create the document classifier model in your Amazon Web Services account.                                                                                                                                                                                                                                        |
| status                  | core | string     | The status of the document classifier. If the status is TRAINED the classifier is ready to use. If the status is TRAINED_WITH_WARNINGS the classifier training succeeded, but you should review the warnings returned in the CreateDocumentClassifier response. If the status is FAILED you can see additional information about why the classifier wasn't trained in the Message field.                                                     |
| submit_time             | core | timestamp  | The time that the document classifier was submitted for training.                                                                                                                                                                                                                                                                                                                                                                            |
| tags                    | core | hstore_csv |
| training_end_time       | core | timestamp  | The time that training of the document classifier was completed. Indicates the time when the training completes on documentation classifiers. You are billed for the time interval between this time and the value of TrainingStartTime.                                                                                                                                                                                                     |
| training_start_time     | core | timestamp  | Indicates the time when the training starts on documentation classifiers. You are billed for the time interval between this time and the value of TrainingEndTime.                                                                                                                                                                                                                                                                           |
| version_name            | core | string     | The version name that you assigned to the document classifier.                                                                                                                                                                                                                                                                                                                                                                               |
| volume_kms_key_id       | core | string     | ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats: KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" |
| vpc_config              | core | json       | Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your custom classifier. For more information, see Amazon VPC.                                                                                                                                                                                                                                                                  |