AWS code-library documentation change
Summary
Fixed parameters in Comprehend CLI examples: corrected role ARN flag and added input data config
Security assessment
Changes correct syntax errors without security implications. No evidence of security vulnerability fixes.
Diff
diff --git a/code-library/latest/ug/cli_2_comprehend_code_examples.md b/code-library/latest/ug/cli_2_comprehend_code_examples.md index 7882cd9e8..2a9a94a0b 100644 --- a//code-library/latest/ug/cli_2_comprehend_code_examples.md +++ b//code-library/latest/ug/cli_2_comprehend_code_examples.md @@ -964 +964,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/" \ @@ -1461 +1462 @@ The following `describe-entity-recognizer` example gets the properties of a cust - entity-recognizer-arn arn:aws:comprehend:us-west-2:111122223333:entity-recognizer/business-recongizer-1/version/1 + --entity-recognizer-arn arn:aws:comprehend:us-west-2:111122223333:entity-recognizer/business-recongizer-1/version/1