AWS comprehend documentation change
Summary
Added SAP ABAP SDK code example for DescribeTopicsDetectionJob API with error handling
Security assessment
Routine documentation update for job description API with no security context or protective measures demonstrated.
Diff
diff --git a/comprehend/latest/dg/example_comprehend_DescribeTopicsDetectionJob_section.md b/comprehend/latest/dg/example_comprehend_DescribeTopicsDetectionJob_section.md index 19247707f..1ece5a592 100644 --- a//comprehend/latest/dg/example_comprehend_DescribeTopicsDetectionJob_section.md +++ b//comprehend/latest/dg/example_comprehend_DescribeTopicsDetectionJob_section.md @@ -103,0 +104,33 @@ 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->describetopicsdetectionjob( + iv_jobid = iv_job_id + ). + MESSAGE 'Topics detection job described.' TYPE 'I'. + CATCH /aws1/cx_cpdinvalidrequestex. + MESSAGE 'Invalid request.' TYPE 'E'. + CATCH /aws1/cx_cpdjobnotfoundex. + MESSAGE 'Job not found.' TYPE 'E'. + CATCH /aws1/cx_cpdtoomanyrequestsex. + MESSAGE 'Too many requests.' TYPE 'E'. + CATCH /aws1/cx_cpdinternalserverex. + MESSAGE 'Internal server error occurred.' TYPE 'E'. + ENDTRY. + + + + * For API details, see [DescribeTopicsDetectionJob](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_.