document_classifier
Gets an individual document_classifier
resource
Overview
Name | document_classifier |
Type | Resource |
Description | document_classifier |
Id | awscc.comprehend.document_classifier |
Fields
Name | Datatype | Description |
---|---|---|
data_access_role_arn | string | |
input_data_config | object | |
output_data_config | object | |
language_code | string | |
model_kms_key_id | string | |
model_policy | string | |
document_classifier_name | string | |
mode | string | |
tags | array | |
version_name | string | |
volume_kms_key_id | string | |
vpc_config | object | |
arn | string | |
region | string | AWS 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