Openapi.Yml Document Classifier Output Data Config Structure
Provide the location for output data from a custom classifier job. This field is mandatory if you are training a native classifier model.
Type: objectProperties: 3
Machine-LearningNatural Language ProcessingNLPText Analysis
DocumentClassifierOutputDataConfig is a JSON Structure definition published by Amazon Comprehend, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$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-output-data-config-structure.json",
"name": "DocumentClassifierOutputDataConfig",
"description": "Provide the location for output data from a custom classifier job. This field is mandatory if you are training a native classifier model.",
"type": "object",
"properties": {
"S3Uri": {
"allOf": [
{
"$ref": "#/components/schemas/S3Uri"
},
{
"description": "<p>When you use the <code>OutputDataConfig</code> object while creating a custom classifier, you specify the Amazon S3 location where you want to write the confusion matrix and other output files. The URI must be in the same Region as the API endpoint that you are calling. The location is used as the prefix for the actual location of this output file.</p> <p>When the custom classifier job is finished, the service creates the output file in a directory specific to the job. The <code>S3Uri</code> field contains the location of the output file, called <code>output.tar.gz</code>. It is a compressed archive that contains the confusion matrix.</p>"
}
]
},
"KmsKeyId": {
"allOf": [
{
"$ref": "#/components/schemas/KmsKeyId"
},
{
"description": "<p>ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job. The KmsKeyId can be one 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> <li> <p>KMS Key Alias: <code>\"alias/ExampleAlias\"</code> </p> </li> <li> <p>ARN of a KMS Key Alias: <code>\"arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias\"</code> </p> </li> </ul>"
}
]
},
"FlywheelStatsS3Prefix": {
"allOf": [
{
"$ref": "#/components/schemas/S3Uri"
},
{
"description": "The Amazon S3 prefix for the data lake location of the flywheel statistics."
}
]
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.