AWS Security ChangesHomeSearch

AWS glue documentation change

Service: glue · 2026-01-25 · Documentation low

File: glue/latest/dg/example_glue_CreateJob_section.md

Summary

Added SAP ABAP SDK code example for CreateJob API, including error handling for job creation operations

Security assessment

This adds a standard code sample for job creation. No references to security policies, access controls, or vulnerability mitigations are present. The IAM role ARN parameter is a standard feature reference, not a security-specific change.

Diff

diff --git a/glue/latest/dg/example_glue_CreateJob_section.md b/glue/latest/dg/example_glue_CreateJob_section.md
index d6c2a300c..b249dc73f 100644
--- a//glue/latest/dg/example_glue_CreateJob_section.md
+++ b//glue/latest/dg/example_glue_CreateJob_section.md
@@ -592,0 +593,52 @@ 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/glu#code-examples). 
+    
+    
+        TRY.
+            " iv_job_name = 'my-etl-job'
+            " iv_description = 'ETL job for data transformation'
+            " iv_role_arn = 'arn:aws:iam::123456789012:role/AWSGlueServiceRole-Test'
+            " iv_script_location = 's3://example-bucket/scripts/my-script.py'
+    
+            DATA(lo_command) = NEW /aws1/cl_glujobcommand(
+              iv_name = 'glueetl'
+              iv_scriptlocation = iv_script_location
+              iv_pythonversion = '3' ).
+    
+            lo_glu->createjob(
+              iv_name = iv_job_name
+              iv_description = iv_description
+              iv_role = iv_role_arn
+              io_command = lo_command
+              iv_glueversion = '3.0' ).
+            MESSAGE 'Job created successfully.' TYPE 'I'.
+          CATCH /aws1/cx_glualreadyexistsex.
+            MESSAGE 'Job already exists.' TYPE 'E'.
+          CATCH /aws1/cx_gluinvalidinputex INTO DATA(lo_invalid_ex).
+            DATA(lv_invalid_error) = lo_invalid_ex->if_message~get_longtext( ).
+            MESSAGE lv_invalid_error TYPE 'E'.
+          CATCH /aws1/cx_gluinternalserviceex INTO DATA(lo_internal_ex).
+            DATA(lv_internal_error) = lo_internal_ex->if_message~get_longtext( ).
+            MESSAGE lv_internal_error TYPE 'E'.
+          CATCH /aws1/cx_gluoperationtimeoutex INTO DATA(lo_timeout_ex).
+            DATA(lv_timeout_error) = lo_timeout_ex->if_message~get_longtext( ).
+            MESSAGE lv_timeout_error TYPE 'E'.
+          CATCH /aws1/cx_gluresrcnumlmtexcdex INTO DATA(lo_limit_ex).
+            DATA(lv_limit_error) = lo_limit_ex->if_message~get_longtext( ).
+            MESSAGE lv_limit_error TYPE 'E'.
+        ENDTRY.
+    
+    
+
+  * For API details, see [CreateJob](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. 
+
+
+
+