AWS Security ChangesHomeSearch

AWS neptune documentation change

Service: neptune · 2026-04-10 · Documentation low

File: neptune/latest/userguide/machine-learning-export-examples.md

Summary

Added awscurl examples and curl examples for exporting property-graph and RDF training data for Neptune ML, including detailed command structures and configuration notes.

Security assessment

This change adds new examples of using awscurl and curl commands for data export operations. While it includes a note about AWS credentials being configured in the environment, this is standard operational guidance rather than addressing a specific security vulnerability or weakness. The change appears to be routine documentation enhancement for better user experience.

Diff

diff --git a/neptune/latest/userguide/machine-learning-export-examples.md b/neptune/latest/userguide/machine-learning-export-examples.md
index 4de361a8e..fe79f25c0 100644
--- a//neptune/latest/userguide/machine-learning-export-examples.md
+++ b//neptune/latest/userguide/machine-learning-export-examples.md
@@ -8,0 +9,3 @@ This request exports property-graph training data for a node classification task
+curl
+    
+    
@@ -34,0 +38,34 @@ This request exports property-graph training data for a node classification task
+awscurl
+    
+    
+    
+    awscurl (your NeptuneExportApiUri) \
+      --region us-east-1 \
+      --service execute-api \
+      -X POST \
+      -H 'Content-Type: application/json' \
+      -d '{
+            "command": "export-pg",
+            "outputS3Path": "s3://(your Amazon S3 bucket)/neptune-export",
+            "params": {
+              "endpoint": "(your Neptune endpoint DNS name)",
+              "profile": "neptune_ml"
+            },
+            "additionalParams": {
+              "neptune_ml": {
+                "version": "v2.0",
+                "targets": [
+                  {
+                    "node": "Movie",
+                    "property": "genre",
+                    "type": "classification"
+                  }
+                ]
+              }
+            }
+          }'
+
+###### Note
+
+This example assumes that your AWS credentials are configured in your environment. Replace `us-east-1` with the Region of your Neptune cluster.
+
@@ -36,0 +74,3 @@ This request exports RDF training data for a node classification task:
+curl
+    
+    
@@ -62,0 +103,34 @@ This request exports RDF training data for a node classification task:
+awscurl
+    
+    
+    
+    awscurl (your NeptuneExportApiUri) \
+      --region us-east-1 \
+      --service execute-api \
+      -X POST \
+      -H 'Content-Type: application/json' \
+      -d '{
+            "command": "export-rdf",
+            "outputS3Path": "s3://(your Amazon S3 bucket)/neptune-export",
+            "params": {
+              "endpoint": "(your Neptune endpoint DNS name)",
+              "profile": "neptune_ml"
+            },
+            "additionalParams": {
+              "neptune_ml": {
+                "version": "v2.0",
+                "targets": [
+                  {
+                    "node": "http://aws.amazon.com/neptune/csv2rdf/class/Movie",
+                    "predicate": "http://aws.amazon.com/neptune/csv2rdf/datatypeProperty/genre",
+                    "type": "classification"
+                  }
+                ]
+              }
+            }
+          }'
+
+###### Note
+
+This example assumes that your AWS credentials are configured in your environment. Replace `us-east-1` with the Region of your Neptune cluster.
+