{ "$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": "
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.
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\"
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\"