AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added SAP ABAP code example for UntagResource operation including error handling

Security assessment

Change demonstrates resource untagging operations. No security vulnerabilities or security features are referenced in the added content.

Diff

diff --git a/code-library/latest/ug/healthlake_example_healthlake_UntagResource_section.md b/code-library/latest/ug/healthlake_example_healthlake_UntagResource_section.md
index ba6a592c0..83f335d44 100644
--- a//code-library/latest/ug/healthlake_example_healthlake_UntagResource_section.md
+++ b//code-library/latest/ug/healthlake_example_healthlake_UntagResource_section.md
@@ -83,0 +84,35 @@ 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_resource_arn = 'arn:aws:healthlake:us-east-1:123456789012:datastore/fhir/a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6'
+            lo_hll->untagresource(
+              iv_resourcearn = iv_resource_arn
+              it_tagkeys = it_tag_keys
+            ).
+            MESSAGE 'Resource untagged successfully.' TYPE 'I'.
+          CATCH /aws1/cx_hllvalidationex INTO DATA(lo_validation_ex).
+            DATA(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.
+          CATCH /aws1/cx_hllresourcenotfoundex INTO DATA(lo_notfound_ex).
+            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.
+        ENDTRY.
+    
+    
+
+  * For API details, see [UntagResource](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. 
+
+
+
+