AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2026-01-25 · Documentation low

File: code-library/latest/ug/healthlake_example_healthlake_DescribeFHIRImportJob_section.md

Summary

Added SAP ABAP code example for DescribeFHIRImportJob API with resource not found and validation error handling

Security assessment

Change demonstrates standard import job status checking. The added exceptions relate to normal operational errors, not security weaknesses or security feature implementations.

Diff

diff --git a/code-library/latest/ug/healthlake_example_healthlake_DescribeFHIRImportJob_section.md b/code-library/latest/ug/healthlake_example_healthlake_DescribeFHIRImportJob_section.md
index 59717a3d8..22eb9e198 100644
--- a//code-library/latest/ug/healthlake_example_healthlake_DescribeFHIRImportJob_section.md
+++ b//code-library/latest/ug/healthlake_example_healthlake_DescribeFHIRImportJob_section.md
@@ -103,0 +104,40 @@ 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/hll#code-examples). 
+    
+    
+        TRY.
+            " iv_datastore_id = 'a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6'
+            " iv_job_id = 'a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6'
+            oo_result = lo_hll->describefhirimportjob(
+              iv_datastoreid = iv_datastore_id
+              iv_jobid = iv_job_id
+            ).
+            DATA(lo_import_job_properties) = oo_result->get_importjobproperties( ).
+            IF lo_import_job_properties IS BOUND.
+              DATA(lv_job_status) = lo_import_job_properties->get_jobstatus( ).
+              MESSAGE |Import job status: { lv_job_status }.| TYPE 'I'.
+            ENDIF.
+          CATCH /aws1/cx_hllresourcenotfoundex INTO DATA(lo_notfound_ex).
+            DATA(lv_error) = |Resource not found: { lo_notfound_ex->av_err_code }-{ lo_notfound_ex->av_err_msg }|.
+            MESSAGE lv_error TYPE 'I'.
+            RAISE EXCEPTION lo_notfound_ex.
+          CATCH /aws1/cx_hllvalidationex INTO DATA(lo_validation_ex).
+            lv_error = |Validation error: { lo_validation_ex->av_err_code }-{ lo_validation_ex->av_err_msg }|.
+            MESSAGE lv_error TYPE 'I'.
+            RAISE EXCEPTION lo_validation_ex.
+        ENDTRY.
+    
+    
+
+  * For API details, see [DescribeFHIRImportJob](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. 
+
+
+
+