Amazon Comprehend · JSON Structure
Openapi.Yml Document Classifier Properties Structure
Provides information about a document classifier.
Type: object
Properties: 19
Machine LearningNatural Language ProcessingNLPText Analysis
DocumentClassifierProperties is a JSON Structure definition published by Amazon Comprehend, describing 19 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
DocumentClassifierArn
LanguageCode
Status
Message
SubmitTime
EndTime
TrainingStartTime
TrainingEndTime
InputDataConfig
OutputDataConfig
ClassifierMetadata
DataAccessRoleArn
VolumeKmsKeyId
VpcConfig
Mode
ModelKmsKeyId
VersionName
SourceModelArn
FlywheelArn
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-structure/openapi.yml-document-classifier-properties-structure.json",
"name": "DocumentClassifierProperties",
"description": "Provides information about a document classifier.",
"type": "object",
"properties": {
"DocumentClassifierArn": {
"allOf": [
{
"$ref": "#/components/schemas/DocumentClassifierArn"
},
{
"description": "The Amazon Resource Name (ARN) that identifies the document classifier."
}
]
},
"LanguageCode": {
"allOf": [
{
"$ref": "#/components/schemas/LanguageCode"
},
{
"description": "The language code for the language of the documents that the classifier was trained on."
}
]
},
"Status": {
"allOf": [
{
"$ref": "#/components/schemas/ModelStatus"
},
{
"description": "<p>The status of the document classifier. If the status is <code>TRAINED</code> the classifier is ready to use. If the status is <code>TRAINED_WITH_WARNINGS</code> the classifier training succeeded, but you should review the warnings returned in the <code>CreateDocumentClassifier</code> response.</p> <p> If the status is <code>FAILED</code> you can see additional information about why the classifier wasn't trained in the <code>Message</code> field.</p>"
}
]
},
"Message": {
"allOf": [
{
"$ref": "#/components/schemas/AnyLengthString"
},
{
"description": "Additional information about the status of the classifier."
}
]
},
"SubmitTime": {
"allOf": [
{
"$ref": "#/components/schemas/Timestamp"
},
{
"description": "The time that the document classifier was submitted for training."
}
]
},
"EndTime": {
"allOf": [
{
"$ref": "#/components/schemas/Timestamp"
},
{
"description": "The time that training the document classifier completed."
}
]
},
"TrainingStartTime": {
"allOf": [
{
"$ref": "#/components/schemas/Timestamp"
},
{
"description": "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. "
}
]
},
"TrainingEndTime": {
"allOf": [
{
"$ref": "#/components/schemas/Timestamp"
},
{
"description": "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."
}
]
},
"InputDataConfig": {
"allOf": [
{
"$ref": "#/components/schemas/DocumentClassifierInputDataConfig"
},
{
"description": "The input data configuration that you supplied when you created the document classifier for training."
}
]
},
"OutputDataConfig": {
"allOf": [
{
"$ref": "#/components/schemas/DocumentClassifierOutputDataConfig"
},
{
"description": " Provides output results configuration parameters for custom classifier jobs."
}
]
},
"ClassifierMetadata": {
"allOf": [
{
"$ref": "#/components/schemas/ClassifierMetadata"
},
{
"description": "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."
}
]
},
"DataAccessRoleArn": {
"allOf": [
{
"$ref": "#/components/schemas/IamRoleArn"
},
{
"description": "The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data."
}
]
},
"VolumeKmsKeyId": {
"allOf": [
{
"$ref": "#/components/schemas/KmsKeyId"
},
{
"description": "<p>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:</p> <ul> <li> <p>KMS Key ID: <code>\"1234abcd-12ab-34cd-56ef-1234567890ab\"</code> </p> </li> <li> <p>Amazon Resource Name (ARN) of a KMS Key: <code>\"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab\"</code> </p> </li> </ul>"
}
]
},
"VpcConfig": {
"allOf": [
{
"$ref": "#/components/schemas/VpcConfig"
},
{
"description": " Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your custom classifier. For more information, see <a href=\"https://docs.aws.amazon.com/vppc/latest/userguide/what-is-amazon-vpc.html\">Amazon VPC</a>. "
}
]
},
"Mode": {
"allOf": [
{
"$ref": "#/components/schemas/DocumentClassifierMode"
},
{
"description": "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."
}
]
},
"ModelKmsKeyId": {
"allOf": [
{
"$ref": "#/components/schemas/KmsKeyId"
},
{
"description": "<p>ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:</p> <ul> <li> <p>KMS Key ID: <code>\"1234abcd-12ab-34cd-56ef-1234567890ab\"</code> </p> </li> <li> <p>Amazon Resource Name (ARN) of a KMS Key: <code>\"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab\"</code> </p> </li> </ul>"
}
]
},
"VersionName": {
"allOf": [
{
"$ref": "#/components/schemas/VersionName"
},
{
"description": "The version name that you assigned to the document classifier."
}
]
},
"SourceModelArn": {
"allOf": [
{
"$ref": "#/components/schemas/DocumentClassifierArn"
},
{
"description": "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."
}
]
},
"FlywheelArn": {
"allOf": [
{
"$ref": "#/components/schemas/ComprehendFlywheelArn"
},
{
"description": "The Amazon Resource Number (ARN) of the flywheel"
}
]
}
}
}