AWS comprehend documentation change
Summary
Added SAP ABAP SDK code example for ListTopicsDetectionJobs API with error handling
Security assessment
Standard documentation update for job listing functionality without security implications or protective measures.
Diff
diff --git a/comprehend/latest/dg/example_comprehend_ListTopicsDetectionJobs_section.md b/comprehend/latest/dg/example_comprehend_ListTopicsDetectionJobs_section.md index a05893777..bab356e21 100644 --- a//comprehend/latest/dg/example_comprehend_ListTopicsDetectionJobs_section.md +++ b//comprehend/latest/dg/example_comprehend_ListTopicsDetectionJobs_section.md @@ -140,0 +141,31 @@ 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->listtopicsdetectionjobs( ). + MESSAGE 'Topics detection jobs listed.' TYPE 'I'. + CATCH /aws1/cx_cpdinvalidrequestex. + MESSAGE 'Invalid request.' TYPE 'E'. + CATCH /aws1/cx_cpdtoomanyrequestsex. + MESSAGE 'Too many requests.' TYPE 'E'. + CATCH /aws1/cx_cpdinvalidfilterex. + MESSAGE 'Invalid filter.' TYPE 'E'. + CATCH /aws1/cx_cpdinternalserverex. + MESSAGE 'Internal server error occurred.' TYPE 'E'. + ENDTRY. + + + + * For API details, see [ListTopicsDetectionJobs](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. + + + +