AWS code-library documentation change
Summary
Added SAP ABAP code example for ListTopicsDetectionJobs operation
Security assessment
Change documents a job listing feature without security implications. Error handling covers routine operational issues, not security vulnerabilities.
Diff
diff --git a/code-library/latest/ug/comprehend_example_comprehend_ListTopicsDetectionJobs_section.md b/code-library/latest/ug/comprehend_example_comprehend_ListTopicsDetectionJobs_section.md index 092bf49cc..1b1776c5e 100644 --- a//code-library/latest/ug/comprehend_example_comprehend_ListTopicsDetectionJobs_section.md +++ b//code-library/latest/ug/comprehend_example_comprehend_ListTopicsDetectionJobs_section.md @@ -142,0 +143,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_. + + + +