AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added SAP ABAP code example for RequestCertificate API

Security assessment

The change documents certificate provisioning, which is a security feature. However, it doesn't address specific vulnerabilities but rather demonstrates standard usage.

Diff

diff --git a/code-library/latest/ug/acm_example_acm_RequestCertificate_section.md b/code-library/latest/ug/acm_example_acm_RequestCertificate_section.md
index 9ecaaaf57..36b2e360a 100644
--- a//code-library/latest/ug/acm_example_acm_RequestCertificate_section.md
+++ b//code-library/latest/ug/acm_example_acm_RequestCertificate_section.md
@@ -328,0 +329,37 @@ 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/acm#code-examples). 
+    
+    
+        TRY.
+            " iv_domain_name = 'example.com'
+            " iv_validation_method = 'DNS' or 'EMAIL'
+            DATA(lo_result) = lo_acm->requestcertificate(
+              iv_domainname = iv_domain_name
+              it_subjectalternativenames = COND #( WHEN it_alternate_domains IS NOT INITIAL 
+                                                    THEN it_alternate_domains )
+              iv_validationmethod = iv_validation_method
+            ).
+            ov_certificate_arn = lo_result->get_certificatearn( ).
+            MESSAGE 'Certificate requested successfully.' TYPE 'I'.
+          CATCH /aws1/cx_acminvalidparameterex.
+            MESSAGE 'Invalid parameter provided.' TYPE 'I'.
+          CATCH /aws1/cx_acmlimitexceededex.
+            MESSAGE 'Certificate limit exceeded.' TYPE 'I'.
+          CATCH /aws1/cx_acminvdomvationoptsex.
+            MESSAGE 'Invalid domain validation options.' TYPE 'I'.
+        ENDTRY.
+    
+    
+
+  * For API details, see [RequestCertificate](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. 
+
+
+
+