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.
444 445 446 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 444 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.
484 485 486 487 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 484 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..
523 524 525 526 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 523 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.
573 574 575 576 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 573 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.
623 624 625 626 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 623 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.
673 674 675 676 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 673 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.
719 720 721 722 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 719 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.
813 814 815 816 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 813 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.
863 864 865 866 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 863 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.
896 897 898 899 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 896 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.
929 930 931 932 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 929 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.
987 988 989 990 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 987 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).
1052 1053 1054 1055 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1052 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).
1126 1127 1128 1129 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1126 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).
1208 1209 1210 1211 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1208 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).
1263 1264 1265 1266 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1263 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).
1337 1338 1339 1340 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1337 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.
1391 1392 1393 1394 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1391 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).
1441 1442 1443 1444 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1441 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..
1508 1509 1510 1511 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1508 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.
1563 1564 1565 1566 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1563 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.
1620 1621 1622 1623 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1620 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.
1693 1694 1695 1696 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1693 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.
1759 1760 1761 1762 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1759 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).
1810 1811 1812 1813 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1810 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.
1847 1848 1849 1850 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1847 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).
1975 1976 1977 1978 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1975 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.
2044 2045 2046 2047 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2044 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.
2098 2099 2100 2101 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2098 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).
2126 2127 2128 2129 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2126 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).
2240 2241 2242 2243 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2240 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).
2296 2297 2298 2299 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2296 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..
2343 2344 2345 2346 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2343 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.
2390 2391 2392 2393 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2390 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.
2437 2438 2439 2440 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2437 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.
2485 2486 2487 2488 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2485 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.
2532 2533 2534 2535 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2532 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).
2589 2590 2591 2592 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2589 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.
2630 2631 2632 2633 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2630 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.
2671 2672 2673 2674 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2671 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.
2990 2991 2992 2993 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2990 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.
3115 3116 3117 3118 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 3115 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.
3258 3259 3260 3261 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 3258 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.
3378 3379 3380 3381 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 3378 def start_ml_model_transform_job(params = {}, = {}) req = build_request(:start_ml_model_transform_job, params) req.send_request() end |