Skip to main content

document_classifier

Gets an individual document_classifier resource

Overview

Namedocument_classifier
TypeResource
Descriptiondocument_classifier
Idawscc.comprehend.document_classifier

Fields

NameDatatypeDescription
data_access_role_arnstring
input_data_configobject
output_data_configobject
language_codestring
model_kms_key_idstring
model_policystring
document_classifier_namestring
modestring
tagsarray
version_namestring
volume_kms_key_idstring
vpc_configobject
arnstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
data_access_role_arn,
input_data_config,
output_data_config,
language_code,
model_kms_key_id,
model_policy,
document_classifier_name,
mode,
tags,
version_name,
volume_kms_key_id,
vpc_config,
arn
FROM awscc.comprehend.document_classifier
WHERE data__Identifier = '<Arn>';

Permissions

To operate on the document_classifier resource, the following permissions are required:

Read

comprehend:DescribeDocumentClassifier,
comprehend:DescribeResourcePolicy,
comprehend:ListTagsForResource

Update

iam:PassRole,
comprehend:PutResourcePolicy,
comprehend:DeleteResourcePolicy,
comprehend:DescribeResourcePolicy,
comprehend:DescribeDocumentClassifier,
comprehend:ListTagsForResource,
comprehend:TagResource,
comprehend:UntagResource

Delete

comprehend:DescribeDocumentClassifier,
comprehend:DeleteDocumentClassifier