AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2026-05-22 · Documentation low

File: code-library/latest/ug/comprehend_example_comprehend_CreateDocumentClassifier_section.md

Summary

Fixed parameters in document classifier creation example (role ARN and input config)

Security assessment

Syntax correction without security implications. No evidence of security context.

Diff

diff --git a/code-library/latest/ug/comprehend_example_comprehend_CreateDocumentClassifier_section.md b/code-library/latest/ug/comprehend_example_comprehend_CreateDocumentClassifier_section.md
index 87b40467c..90ef48b59 100644
--- a//code-library/latest/ug/comprehend_example_comprehend_CreateDocumentClassifier_section.md
+++ b//code-library/latest/ug/comprehend_example_comprehend_CreateDocumentClassifier_section.md
@@ -33 +33,2 @@ The following `create-document-classifier` example begins the training process f
-        --data-access-arn arn:aws:comprehend:us-west-2:111122223333:pii-entities-detection-job/123456abcdeb0e11022f22a11EXAMPLE \
+        --data-access-role-arn arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role \
+        --input-data-config "S3Uri=s3://amzn-s3-demo-bucket/" \