Class: Aws::Neptunedata::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Neptunedata::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb
Overview
An API client for Neptunedata. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::Neptunedata::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#cancel_gremlin_query(params = {}) ⇒ Types::CancelGremlinQueryOutput
Cancels a Gremlin query.
-
#cancel_loader_job(params = {}) ⇒ Types::CancelLoaderJobOutput
Cancels a specified load job.
-
#cancel_ml_data_processing_job(params = {}) ⇒ Types::CancelMLDataProcessingJobOutput
Cancels a Neptune ML data processing job.
-
#cancel_ml_model_training_job(params = {}) ⇒ Types::CancelMLModelTrainingJobOutput
Cancels a Neptune ML model training job.
-
#cancel_ml_model_transform_job(params = {}) ⇒ Types::CancelMLModelTransformJobOutput
Cancels a specified model transform job.
-
#cancel_open_cypher_query(params = {}) ⇒ Types::CancelOpenCypherQueryOutput
Cancels a specified openCypher query.
-
#create_ml_endpoint(params = {}) ⇒ Types::CreateMLEndpointOutput
Creates a new Neptune ML inference endpoint that lets you query one specific model that the model-training process constructed.
-
#delete_ml_endpoint(params = {}) ⇒ Types::DeleteMLEndpointOutput
Cancels the creation of a Neptune ML inference endpoint.
-
#delete_propertygraph_statistics(params = {}) ⇒ Types::DeletePropertygraphStatisticsOutput
Deletes statistics for Gremlin and openCypher (property graph) data.
-
#delete_sparql_statistics(params = {}) ⇒ Types::DeleteSparqlStatisticsOutput
Deletes SPARQL statistics.
-
#execute_fast_reset(params = {}) ⇒ Types::ExecuteFastResetOutput
The fast reset REST API lets you reset a Neptune graph quicky and easily, removing all of its data.
-
#execute_gremlin_explain_query(params = {}) ⇒ Types::ExecuteGremlinExplainQueryOutput
Executes a Gremlin Explain query.
-
#execute_gremlin_profile_query(params = {}) ⇒ Types::ExecuteGremlinProfileQueryOutput
Executes a Gremlin Profile query, which runs a specified traversal, collects various metrics about the run, and produces a profile report as output.
-
#execute_gremlin_query(params = {}) ⇒ Types::ExecuteGremlinQueryOutput
This commands executes a Gremlin query.
-
#execute_open_cypher_explain_query(params = {}) ⇒ Types::ExecuteOpenCypherExplainQueryOutput
Executes an openCypher
explain
request. -
#execute_open_cypher_query(params = {}) ⇒ Types::ExecuteOpenCypherQueryOutput
Executes an openCypher query.
-
#get_engine_status(params = {}) ⇒ Types::GetEngineStatusOutput
Retrieves the status of the graph database on the host.
-
#get_gremlin_query_status(params = {}) ⇒ Types::GetGremlinQueryStatusOutput
Gets the status of a specified Gremlin query.
-
#get_loader_job_status(params = {}) ⇒ Types::GetLoaderJobStatusOutput
Gets status information about a specified load job.
-
#get_ml_data_processing_job(params = {}) ⇒ Types::GetMLDataProcessingJobOutput
Retrieves information about a specified data processing job.
-
#get_ml_endpoint(params = {}) ⇒ Types::GetMLEndpointOutput
Retrieves details about an inference endpoint.
-
#get_ml_model_training_job(params = {}) ⇒ Types::GetMLModelTrainingJobOutput
Retrieves information about a Neptune ML model training job.
-
#get_ml_model_transform_job(params = {}) ⇒ Types::GetMLModelTransformJobOutput
Gets information about a specified model transform job.
-
#get_open_cypher_query_status(params = {}) ⇒ Types::GetOpenCypherQueryStatusOutput
Retrieves the status of a specified openCypher query.
-
#get_propertygraph_statistics(params = {}) ⇒ Types::GetPropertygraphStatisticsOutput
Gets property graph statistics (Gremlin and openCypher).
-
#get_propertygraph_stream(params = {}) ⇒ Types::GetPropertygraphStreamOutput
Gets a stream for a property graph.
-
#get_propertygraph_summary(params = {}) ⇒ Types::GetPropertygraphSummaryOutput
Gets a graph summary for a property graph.
-
#get_rdf_graph_summary(params = {}) ⇒ Types::GetRDFGraphSummaryOutput
Gets a graph summary for an RDF graph.
-
#get_sparql_statistics(params = {}) ⇒ Types::GetSparqlStatisticsOutput
Gets RDF statistics (SPARQL).
-
#get_sparql_stream(params = {}) ⇒ Types::GetSparqlStreamOutput
Gets a stream for an RDF graph.
-
#list_gremlin_queries(params = {}) ⇒ Types::ListGremlinQueriesOutput
Lists active Gremlin queries.
-
#list_loader_jobs(params = {}) ⇒ Types::ListLoaderJobsOutput
Retrieves a list of the
loadIds
for all active loader jobs. -
#list_ml_data_processing_jobs(params = {}) ⇒ Types::ListMLDataProcessingJobsOutput
Returns a list of Neptune ML data processing jobs.
-
#list_ml_endpoints(params = {}) ⇒ Types::ListMLEndpointsOutput
Lists existing inference endpoints.
-
#list_ml_model_training_jobs(params = {}) ⇒ Types::ListMLModelTrainingJobsOutput
Lists Neptune ML model-training jobs.
-
#list_ml_model_transform_jobs(params = {}) ⇒ Types::ListMLModelTransformJobsOutput
Returns a list of model transform job IDs.
-
#list_open_cypher_queries(params = {}) ⇒ Types::ListOpenCypherQueriesOutput
Lists active openCypher queries.
-
#manage_propertygraph_statistics(params = {}) ⇒ Types::ManagePropertygraphStatisticsOutput
Manages the generation and use of property graph statistics.
-
#manage_sparql_statistics(params = {}) ⇒ Types::ManageSparqlStatisticsOutput
Manages the generation and use of RDF graph statistics.
-
#start_loader_job(params = {}) ⇒ Types::StartLoaderJobOutput
Starts a Neptune bulk loader job to load data from an Amazon S3 bucket into a Neptune DB instance.
-
#start_ml_data_processing_job(params = {}) ⇒ Types::StartMLDataProcessingJobOutput
Creates a new Neptune ML data processing job for processing the graph data exported from Neptune for training.
-
#start_ml_model_training_job(params = {}) ⇒ Types::StartMLModelTrainingJobOutput
Creates a new Neptune ML model training job.
-
#start_ml_model_transform_job(params = {}) ⇒ Types::StartMLModelTransformJobOutput
Creates a new model transform job.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
466 467 468 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 466 def initialize(*args) super end |
Instance Method Details
#cancel_gremlin_query(params = {}) ⇒ Types::CancelGremlinQueryOutput
Cancels a Gremlin query. See Gremlin query cancellation for more information.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:CancelQuery IAM action in that cluster.
506 507 508 509 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 506 def cancel_gremlin_query(params = {}, = {}) req = build_request(:cancel_gremlin_query, params) req.send_request() end |
#cancel_loader_job(params = {}) ⇒ Types::CancelLoaderJobOutput
Cancels a specified load job. This is an HTTP DELETE
request. See
Neptune Loader Get-Status API for more information.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:CancelLoaderJob IAM action in that cluster..
545 546 547 548 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 545 def cancel_loader_job(params = {}, = {}) req = build_request(:cancel_loader_job, params) req.send_request() end |
#cancel_ml_data_processing_job(params = {}) ⇒ Types::CancelMLDataProcessingJobOutput
Cancels a Neptune ML data processing job. See The dataprocessing
command.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:CancelMLDataProcessingJob IAM action in that cluster.
595 596 597 598 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 595 def cancel_ml_data_processing_job(params = {}, = {}) req = build_request(:cancel_ml_data_processing_job, params) req.send_request() end |
#cancel_ml_model_training_job(params = {}) ⇒ Types::CancelMLModelTrainingJobOutput
Cancels a Neptune ML model training job. See Model training using the
modeltraining
command.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:CancelMLModelTrainingJob IAM action in that cluster.
645 646 647 648 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 645 def cancel_ml_model_training_job(params = {}, = {}) req = build_request(:cancel_ml_model_training_job, params) req.send_request() end |
#cancel_ml_model_transform_job(params = {}) ⇒ Types::CancelMLModelTransformJobOutput
Cancels a specified model transform job. See Use a trained model to generate new model artifacts.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:CancelMLModelTransformJob IAM action in that cluster.
695 696 697 698 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 695 def cancel_ml_model_transform_job(params = {}, = {}) req = build_request(:cancel_ml_model_transform_job, params) req.send_request() end |
#cancel_open_cypher_query(params = {}) ⇒ Types::CancelOpenCypherQueryOutput
Cancels a specified openCypher query. See Neptune openCypher status endpoint for more information.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:CancelQuery IAM action in that cluster.
741 742 743 744 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 741 def cancel_open_cypher_query(params = {}, = {}) req = build_request(:cancel_open_cypher_query, params) req.send_request() end |
#create_ml_endpoint(params = {}) ⇒ Types::CreateMLEndpointOutput
Creates a new Neptune ML inference endpoint that lets you query one specific model that the model-training process constructed. See Managing inference endpoints using the endpoints command.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:CreateMLEndpoint IAM action in that cluster.
835 836 837 838 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 835 def create_ml_endpoint(params = {}, = {}) req = build_request(:create_ml_endpoint, params) req.send_request() end |
#delete_ml_endpoint(params = {}) ⇒ Types::DeleteMLEndpointOutput
Cancels the creation of a Neptune ML inference endpoint. See Managing inference endpoints using the endpoints command.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:DeleteMLEndpoint IAM action in that cluster.
885 886 887 888 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 885 def delete_ml_endpoint(params = {}, = {}) req = build_request(:delete_ml_endpoint, params) req.send_request() end |
#delete_propertygraph_statistics(params = {}) ⇒ Types::DeletePropertygraphStatisticsOutput
Deletes statistics for Gremlin and openCypher (property graph) data.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:DeleteStatistics IAM action in that cluster.
918 919 920 921 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 918 def delete_propertygraph_statistics(params = {}, = {}) req = build_request(:delete_propertygraph_statistics, params) req.send_request() end |
#delete_sparql_statistics(params = {}) ⇒ Types::DeleteSparqlStatisticsOutput
Deletes SPARQL statistics
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:DeleteStatistics IAM action in that cluster.
951 952 953 954 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 951 def delete_sparql_statistics(params = {}, = {}) req = build_request(:delete_sparql_statistics, params) req.send_request() end |
#execute_fast_reset(params = {}) ⇒ Types::ExecuteFastResetOutput
The fast reset REST API lets you reset a Neptune graph quicky and easily, removing all of its data.
Neptune fast reset is a two-step process. First you call
ExecuteFastReset
with action
set to initiateDatabaseReset
. This
returns a UUID token which you then include when calling
ExecuteFastReset
again with action
set to performDatabaseReset
.
See Empty an Amazon Neptune DB cluster using the fast reset API.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ResetDatabase IAM action in that cluster.
1009 1010 1011 1012 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1009 def execute_fast_reset(params = {}, = {}) req = build_request(:execute_fast_reset, params) req.send_request() end |
#execute_gremlin_explain_query(params = {}) ⇒ Types::ExecuteGremlinExplainQueryOutput
Executes a Gremlin Explain query.
Amazon Neptune has added a Gremlin feature named explain
that
provides is a self-service tool for understanding the execution
approach being taken by the Neptune engine for the query. You invoke
it by adding an explain
parameter to an HTTP call that submits a
Gremlin query.
The explain feature provides information about the logical structure of query execution plans. You can use this information to identify potential evaluation and execution bottlenecks and to tune your query, as explained in Tuning Gremlin queries. You can also use query hints to improve query execution plans.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows one of the following IAM actions in that cluster, depending on the query:
Note that the neptune-db:QueryLanguage:Gremlin IAM condition key can be used in the policy document to restrict the use of Gremlin queries (see Condition keys available in Neptune IAM data-access policy statements).
1074 1075 1076 1077 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1074 def execute_gremlin_explain_query(params = {}, = {}) req = build_request(:execute_gremlin_explain_query, params) req.send_request() end |
#execute_gremlin_profile_query(params = {}) ⇒ Types::ExecuteGremlinProfileQueryOutput
Executes a Gremlin Profile query, which runs a specified traversal, collects various metrics about the run, and produces a profile report as output. See Gremlin profile API in Neptune for details.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ReadDataViaQuery IAM action in that cluster.
Note that the neptune-db:QueryLanguage:Gremlin IAM condition key can be used in the policy document to restrict the use of Gremlin queries (see Condition keys available in Neptune IAM data-access policy statements).
1148 1149 1150 1151 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1148 def execute_gremlin_profile_query(params = {}, = {}) req = build_request(:execute_gremlin_profile_query, params) req.send_request() end |
#execute_gremlin_query(params = {}) ⇒ Types::ExecuteGremlinQueryOutput
This commands executes a Gremlin query. Amazon Neptune is compatible with Apache TinkerPop3 and Gremlin, so you can use the Gremlin traversal language to query the graph, as described under The Graph in the Apache TinkerPop3 documentation. More details can also be found in Accessing a Neptune graph with Gremlin.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that enables one of the following IAM actions in that cluster, depending on the query:
Note that the neptune-db:QueryLanguage:Gremlin IAM condition key can be used in the policy document to restrict the use of Gremlin queries (see Condition keys available in Neptune IAM data-access policy statements).
1230 1231 1232 1233 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1230 def execute_gremlin_query(params = {}, = {}) req = build_request(:execute_gremlin_query, params) req.send_request() end |
#execute_open_cypher_explain_query(params = {}) ⇒ Types::ExecuteOpenCypherExplainQueryOutput
Executes an openCypher explain
request. See The openCypher explain
feature for more information.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ReadDataViaQuery IAM action in that cluster.
Note that the neptune-db:QueryLanguage:OpenCypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).
1285 1286 1287 1288 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1285 def execute_open_cypher_explain_query(params = {}, = {}) req = build_request(:execute_open_cypher_explain_query, params) req.send_request() end |
#execute_open_cypher_query(params = {}) ⇒ Types::ExecuteOpenCypherQueryOutput
Executes an openCypher query. See Accessing the Neptune Graph with openCypher for more information.
Neptune supports building graph applications using openCypher, which is currently one of the most popular query languages among developers working with graph databases. Developers, business analysts, and data scientists like openCypher's declarative, SQL-inspired syntax because it provides a familiar structure in which to querying property graphs.
The openCypher language was originally developed by Neo4j, then open-sourced in 2015 and contributed to the openCypher project under an Apache 2 open-source license.
Note that when invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows one of the following IAM actions in that cluster, depending on the query:
Note also that the neptune-db:QueryLanguage:OpenCypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).
1359 1360 1361 1362 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1359 def execute_open_cypher_query(params = {}, = {}) req = build_request(:execute_open_cypher_query, params) req.send_request() end |
#get_engine_status(params = {}) ⇒ Types::GetEngineStatusOutput
Retrieves the status of the graph database on the host.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetEngineStatus IAM action in that cluster.
1413 1414 1415 1416 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1413 def get_engine_status(params = {}, = {}) req = build_request(:get_engine_status, params) req.send_request() end |
#get_gremlin_query_status(params = {}) ⇒ Types::GetGremlinQueryStatusOutput
Gets the status of a specified Gremlin query.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster.
Note that the neptune-db:QueryLanguage:Gremlin IAM condition key can be used in the policy document to restrict the use of Gremlin queries (see Condition keys available in Neptune IAM data-access policy statements).
1463 1464 1465 1466 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1463 def get_gremlin_query_status(params = {}, = {}) req = build_request(:get_gremlin_query_status, params) req.send_request() end |
#get_loader_job_status(params = {}) ⇒ Types::GetLoaderJobStatusOutput
Gets status information about a specified load job. Neptune keeps track of the most recent 1,024 bulk load jobs, and stores the last 10,000 error details per job.
See Neptune Loader Get-Status API for more information.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetLoaderJobStatus IAM action in that cluster..
1530 1531 1532 1533 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1530 def get_loader_job_status(params = {}, = {}) req = build_request(:get_loader_job_status, params) req.send_request() end |
#get_ml_data_processing_job(params = {}) ⇒ Types::GetMLDataProcessingJobOutput
Retrieves information about a specified data processing job. See The
dataprocessing
command.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:neptune-db:GetMLDataProcessingJobStatus IAM action in that cluster.
1585 1586 1587 1588 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1585 def get_ml_data_processing_job(params = {}, = {}) req = build_request(:get_ml_data_processing_job, params) req.send_request() end |
#get_ml_endpoint(params = {}) ⇒ Types::GetMLEndpointOutput
Retrieves details about an inference endpoint. See Managing inference endpoints using the endpoints command.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetMLEndpointStatus IAM action in that cluster.
1642 1643 1644 1645 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1642 def get_ml_endpoint(params = {}, = {}) req = build_request(:get_ml_endpoint, params) req.send_request() end |
#get_ml_model_training_job(params = {}) ⇒ Types::GetMLModelTrainingJobOutput
Retrieves information about a Neptune ML model training job. See
Model training using the modeltraining
command.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetMLModelTrainingJobStatus IAM action in that cluster.
1715 1716 1717 1718 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1715 def get_ml_model_training_job(params = {}, = {}) req = build_request(:get_ml_model_training_job, params) req.send_request() end |
#get_ml_model_transform_job(params = {}) ⇒ Types::GetMLModelTransformJobOutput
Gets information about a specified model transform job. See Use a trained model to generate new model artifacts.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetMLModelTransformJobStatus IAM action in that cluster.
1781 1782 1783 1784 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1781 def get_ml_model_transform_job(params = {}, = {}) req = build_request(:get_ml_model_transform_job, params) req.send_request() end |
#get_open_cypher_query_status(params = {}) ⇒ Types::GetOpenCypherQueryStatusOutput
Retrieves the status of a specified openCypher query.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster.
Note that the neptune-db:QueryLanguage:OpenCypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).
1832 1833 1834 1835 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1832 def get_open_cypher_query_status(params = {}, = {}) req = build_request(:get_open_cypher_query_status, params) req.send_request() end |
#get_propertygraph_statistics(params = {}) ⇒ Types::GetPropertygraphStatisticsOutput
Gets property graph statistics (Gremlin and openCypher).
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetStatisticsStatus IAM action in that cluster.
1869 1870 1871 1872 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1869 def get_propertygraph_statistics(params = {}, = {}) req = build_request(:get_propertygraph_statistics, params) req.send_request() end |
#get_propertygraph_stream(params = {}) ⇒ Types::GetPropertygraphStreamOutput
Gets a stream for a property graph.
With the Neptune Streams feature, you can generate a complete sequence
of change-log entries that record every change made to your graph data
as it happens. GetPropertygraphStream
lets you collect these
change-log entries for a property graph.
The Neptune streams feature needs to be enabled on your Neptune
DBcluster. To enable streams, set the neptune_streams DB cluster
parameter to 1
.
See Capturing graph changes in real time using Neptune streams.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetStreamRecords IAM action in that cluster.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that enables one of the following IAM actions, depending on the query:
Note that you can restrict property-graph queries using the following IAM context keys:
See Condition keys available in Neptune IAM data-access policy statements).
1997 1998 1999 2000 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1997 def get_propertygraph_stream(params = {}, = {}) req = build_request(:get_propertygraph_stream, params) req.send_request() end |
#get_propertygraph_summary(params = {}) ⇒ Types::GetPropertygraphSummaryOutput
Gets a graph summary for a property graph.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetGraphSummary IAM action in that cluster.
2066 2067 2068 2069 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2066 def get_propertygraph_summary(params = {}, = {}) req = build_request(:get_propertygraph_summary, params) req.send_request() end |
#get_rdf_graph_summary(params = {}) ⇒ Types::GetRDFGraphSummaryOutput
Gets a graph summary for an RDF graph.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetGraphSummary IAM action in that cluster.
2120 2121 2122 2123 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2120 def get_rdf_graph_summary(params = {}, = {}) req = build_request(:get_rdf_graph_summary, params) req.send_request() end |
#get_sparql_statistics(params = {}) ⇒ Types::GetSparqlStatisticsOutput
Gets RDF statistics (SPARQL).
2148 2149 2150 2151 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2148 def get_sparql_statistics(params = {}, = {}) req = build_request(:get_sparql_statistics, params) req.send_request() end |
#get_sparql_stream(params = {}) ⇒ Types::GetSparqlStreamOutput
Gets a stream for an RDF graph.
With the Neptune Streams feature, you can generate a complete sequence
of change-log entries that record every change made to your graph data
as it happens. GetSparqlStream
lets you collect these change-log
entries for an RDF graph.
The Neptune streams feature needs to be enabled on your Neptune
DBcluster. To enable streams, set the neptune_streams DB cluster
parameter to 1
.
See Capturing graph changes in real time using Neptune streams.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetStreamRecords IAM action in that cluster.
Note that the neptune-db:QueryLanguage:Sparql IAM condition key can be used in the policy document to restrict the use of SPARQL queries (see Condition keys available in Neptune IAM data-access policy statements).
2262 2263 2264 2265 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2262 def get_sparql_stream(params = {}, = {}) req = build_request(:get_sparql_stream, params) req.send_request() end |
#list_gremlin_queries(params = {}) ⇒ Types::ListGremlinQueriesOutput
Lists active Gremlin queries. See Gremlin query status API for details about the output.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster.
Note that the neptune-db:QueryLanguage:Gremlin IAM condition key can be used in the policy document to restrict the use of Gremlin queries (see Condition keys available in Neptune IAM data-access policy statements).
2318 2319 2320 2321 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2318 def list_gremlin_queries(params = {}, = {}) req = build_request(:list_gremlin_queries, params) req.send_request() end |
#list_loader_jobs(params = {}) ⇒ Types::ListLoaderJobsOutput
Retrieves a list of the loadIds
for all active loader jobs.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ListLoaderJobs IAM action in that cluster..
2365 2366 2367 2368 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2365 def list_loader_jobs(params = {}, = {}) req = build_request(:list_loader_jobs, params) req.send_request() end |
#list_ml_data_processing_jobs(params = {}) ⇒ Types::ListMLDataProcessingJobsOutput
Returns a list of Neptune ML data processing jobs. See Listing active data-processing jobs using the Neptune ML dataprocessing command.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ListMLDataProcessingJobs IAM action in that cluster.
2412 2413 2414 2415 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2412 def list_ml_data_processing_jobs(params = {}, = {}) req = build_request(:list_ml_data_processing_jobs, params) req.send_request() end |
#list_ml_endpoints(params = {}) ⇒ Types::ListMLEndpointsOutput
Lists existing inference endpoints. See Managing inference endpoints using the endpoints command.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ListMLEndpoints IAM action in that cluster.
2459 2460 2461 2462 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2459 def list_ml_endpoints(params = {}, = {}) req = build_request(:list_ml_endpoints, params) req.send_request() end |
#list_ml_model_training_jobs(params = {}) ⇒ Types::ListMLModelTrainingJobsOutput
Lists Neptune ML model-training jobs. See Model training using the
modeltraining
command.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:neptune-db:ListMLModelTrainingJobs IAM action in that cluster.
2507 2508 2509 2510 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2507 def list_ml_model_training_jobs(params = {}, = {}) req = build_request(:list_ml_model_training_jobs, params) req.send_request() end |
#list_ml_model_transform_jobs(params = {}) ⇒ Types::ListMLModelTransformJobsOutput
Returns a list of model transform job IDs. See Use a trained model to generate new model artifacts.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ListMLModelTransformJobs IAM action in that cluster.
2554 2555 2556 2557 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2554 def list_ml_model_transform_jobs(params = {}, = {}) req = build_request(:list_ml_model_transform_jobs, params) req.send_request() end |
#list_open_cypher_queries(params = {}) ⇒ Types::ListOpenCypherQueriesOutput
Lists active openCypher queries. See Neptune openCypher status endpoint for more information.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster.
Note that the neptune-db:QueryLanguage:OpenCypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).
2611 2612 2613 2614 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2611 def list_open_cypher_queries(params = {}, = {}) req = build_request(:list_open_cypher_queries, params) req.send_request() end |
#manage_propertygraph_statistics(params = {}) ⇒ Types::ManagePropertygraphStatisticsOutput
Manages the generation and use of property graph statistics.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ManageStatistics IAM action in that cluster.
2652 2653 2654 2655 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2652 def manage_propertygraph_statistics(params = {}, = {}) req = build_request(:manage_propertygraph_statistics, params) req.send_request() end |
#manage_sparql_statistics(params = {}) ⇒ Types::ManageSparqlStatisticsOutput
Manages the generation and use of RDF graph statistics.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ManageStatistics IAM action in that cluster.
2693 2694 2695 2696 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2693 def manage_sparql_statistics(params = {}, = {}) req = build_request(:manage_sparql_statistics, params) req.send_request() end |
#start_loader_job(params = {}) ⇒ Types::StartLoaderJobOutput
Starts a Neptune bulk loader job to load data from an Amazon S3 bucket into a Neptune DB instance. See Using the Amazon Neptune Bulk Loader to Ingest Data.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:StartLoaderJob IAM action in that cluster.
3012 3013 3014 3015 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 3012 def start_loader_job(params = {}, = {}) req = build_request(:start_loader_job, params) req.send_request() end |
#start_ml_data_processing_job(params = {}) ⇒ Types::StartMLDataProcessingJobOutput
Creates a new Neptune ML data processing job for processing the graph
data exported from Neptune for training. See The dataprocessing
command.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:StartMLModelDataProcessingJob IAM action in that cluster.
3137 3138 3139 3140 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 3137 def start_ml_data_processing_job(params = {}, = {}) req = build_request(:start_ml_data_processing_job, params) req.send_request() end |
#start_ml_model_training_job(params = {}) ⇒ Types::StartMLModelTrainingJobOutput
Creates a new Neptune ML model training job. See Model training using
the modeltraining
command.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:StartMLModelTrainingJob IAM action in that cluster.
3280 3281 3282 3283 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 3280 def start_ml_model_training_job(params = {}, = {}) req = build_request(:start_ml_model_training_job, params) req.send_request() end |
#start_ml_model_transform_job(params = {}) ⇒ Types::StartMLModelTransformJobOutput
Creates a new model transform job. See Use a trained model to generate new model artifacts.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:StartMLModelTransformJob IAM action in that cluster.
3400 3401 3402 3403 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 3400 def start_ml_model_transform_job(params = {}, = {}) req = build_request(:start_ml_model_transform_job, params) req.send_request() end |