AWS Security ChangesHomeSearch

AWS comprehend documentation change

Service: comprehend · 2026-01-25 · Documentation low

File: comprehend/latest/dg/example_comprehend_StartTopicsDetectionJob_section.md

Summary

Added SAP ABAP SDK code example for StartTopicsDetectionJob API with error handling

Security assessment

Routine documentation update with code samples. Includes KMS error handling but no evidence of addressing security vulnerabilities or documenting new security features.

Diff

diff --git a/comprehend/latest/dg/example_comprehend_StartTopicsDetectionJob_section.md b/comprehend/latest/dg/example_comprehend_StartTopicsDetectionJob_section.md
index 379936497..3fccf39f0 100644
--- a//comprehend/latest/dg/example_comprehend_StartTopicsDetectionJob_section.md
+++ b//comprehend/latest/dg/example_comprehend_StartTopicsDetectionJob_section.md
@@ -220,0 +221,45 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+
+
+
+
+SAP ABAP
+    
+
+**SDK for SAP ABAP**
+    
+
+###### Note
+
+There's more on GitHub. Find the complete example and learn how to set up and run in the [AWS Code Examples Repository](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/sap-abap/services/cpd#code-examples). 
+    
+    
+        TRY.
+            oo_result = lo_cpd->starttopicsdetectionjob(
+              iv_jobname = iv_job_name
+              io_inputdataconfig = NEW /aws1/cl_cpdinputdataconfig(
+                iv_s3uri = iv_input_s3_uri
+                iv_inputformat = iv_input_format
+              )
+              io_outputdataconfig = NEW /aws1/cl_cpdoutputdataconfig(
+                iv_s3uri = iv_output_s3_uri
+              )
+              iv_dataaccessrolearn = iv_data_access_role_arn
+            ).
+            MESSAGE 'Topics detection job started.' TYPE 'I'.
+          CATCH /aws1/cx_cpdinvalidrequestex.
+            MESSAGE 'Invalid request.' TYPE 'E'.
+          CATCH /aws1/cx_cpdtoomanyrequestsex.
+            MESSAGE 'Too many requests.' TYPE 'E'.
+          CATCH /aws1/cx_cpdkmskeyvalidationex.
+            MESSAGE 'KMS key validation error.' TYPE 'E'.
+          CATCH /aws1/cx_cpdtoomanytagsex.
+            MESSAGE 'Too many tags.' TYPE 'E'.
+          CATCH /aws1/cx_cpdresrclimitexcdex.
+            MESSAGE 'Resource limit exceeded.' TYPE 'E'.
+          CATCH /aws1/cx_cpdinternalserverex.
+            MESSAGE 'Internal server error occurred.' TYPE 'E'.
+        ENDTRY.
+    
+    
+
+  * For API details, see [StartTopicsDetectionJob](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_.