Introduction to using Amazon Neptune APIs
The Amazon Neptune management APIs provide SDK support for creating, managing and deleting Neptune DB clusters and instances, while the Neptune data APIs provide SDK support for loading data into your graph, running queries, getting information about the data in your graph, and running machine-learning operations. These APIs are available in all SDK languages. By automatically signing API requests, they greatly simply integrating Neptune into applications.
This page provides information about how to use these APIs.
IAM Actions with different names than their Neptune data API SDK counterparts
When you're calling a Neptune API methods on a cluster that has IAM authentication enabled, you have to have an IAM policy attached to the user or role making the calls that provides permissions for the actions you want to make. You set those permissions in the policy using corresponding IAM Actions. You can also restrict the actions that can be taken using IAM Condition keys.
Most IAM actions have the same name as the API methods that they correspond to, but some methods in the data API have different names, because some are shared by more than one method. The table below lists data methods and their corresponding IAM actions:
Data API operation name | IAM correspondences | |
---|---|---|
CancelGremlinQuery (cancel_gremlin_query) |
Action: |
|
CancelLoaderJob (cancel_loader_job) |
Action: |
|
CancelMLDataProcessingJob (cancel_ml_data_processing_job) |
Action: |
|
CancelMLModelTrainingJob (cancel_ml_model_training_job) |
Action: |
|
CancelOpenCypherQuery (cancel_open_cypher_query) |
Action: |
|
CreateMLEndpoint (create_ml_endpoint) |
Action: |
|
DeleteMLEndpoint (delete_ml_endpoint) |
Action: |
|
DeletePropertygraphStatistics (delete_propertygraph_statistics) |
Action: |
|
DeleteSparqlStatistics (delete_sparql_statistics) |
Action: |
|
ExecuteFastReset execute_fast_reset() |
Action: |
|
ExecuteGremlinExplainQuery (execute_gremlin_explain_query) |
Actions:
Condition key: |
|
ExecuteGremlinProfileQuery (execute_gremlin_profile_query) |
Action: Condition key: |
|
ExecuteGremlinQuery (execute_gremlin_query) |
Actions:
Condition key: |
|
ExecuteOpenCypherExplainQuery (execute_open_cypher_explain_query) |
Action: Condition key: |
|
ExecuteOpenCypherQuery (execute_open_cypher_query) |
Actions:
Condition key: |
|
GetEngineStatus (get_engine_status) |
Action: |
|
GetGremlinQueryStatus (get_gremlin_query_status) |
Action: Condition key: |
|
GetLoaderJobStatus (get_loader_job_status) |
Action: |
|
GetMLDataProcessingJob (get_ml_data_processing_job) |
Action: |
|
GetMLEndpoint (get_ml_endpoint) |
Action: |
|
GetMLModelTrainingJob (get_ml_model_training_job) |
Action: |
|
GetMLModelTransformJob (get_ml_model_transform_job) |
Action: |
|
GetOpenCypherQueryStatus (get_open_cypher_query_status) |
Action: Condition key: |
|
GetPropertygraphStatistics (get_propertygraph_statistics) |
Action: |
|
GetPropertygraphStream (get_propertygraph_stream) |
Action: Condition keys:
|
|
GetPropertygraphSummary (get_propertygraph_summary) |
Action: |
|
GetRDFGraphSummary (get_rdf_graph_summary) |
Action: |
|
GetSparqlStatistics (get_sparql_statistics) |
Action: |
|
GetSparqlStream (get_sparql_stream) |
Action: Condition key: |
|
ListGremlinQueries (list_gremlin_queries) |
Action: Condition key: |
|
ListMLEndpoints (list_ml_endpoints) |
Action: |
|
ListMLModelTrainingJobs (list_ml_model_training_jobs) |
Action: |
|
ListMLModelTransformJobs (list_ml_model_transform_jobs) |
Action: |
|
ListOpenCypherQueries (list_open_cypher_queries) |
Action: Condition key: |
|
ManagePropertygraphStatistics (manage_propertygraph_statistics) |
Action: |
|
ManageSparqlStatistics (manage_sparql_statistics) |
Action: |
|
StartLoaderJob (start_loader_job) |
Action: |
|
StartMLModelDataProcessingJob (start_ml_data_processing_job) |
Action: |
|
StartMLModelTrainingJob (start_ml_model_training_job) |
Action: |
|
StartMLModelTransformJob (start_ml_model_transform_job) |
Action: |