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.
410 411 412 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 410 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.
450 451 452 453 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 450 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..
489 490 491 492 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 489 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.
539 540 541 542 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 539 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.
589 590 591 592 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 589 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.
639 640 641 642 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 639 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.
685 686 687 688 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 685 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.
779 780 781 782 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 779 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.
829 830 831 832 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 829 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.
862 863 864 865 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 862 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.
895 896 897 898 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 895 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.
953 954 955 956 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 953 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).
1018 1019 1020 1021 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1018 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).
1092 1093 1094 1095 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1092 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).
1174 1175 1176 1177 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1174 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).
1229 1230 1231 1232 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1229 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).
1303 1304 1305 1306 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1303 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.
1357 1358 1359 1360 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1357 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).
1407 1408 1409 1410 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1407 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..
1474 1475 1476 1477 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1474 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.
1529 1530 1531 1532 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1529 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.
1586 1587 1588 1589 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1586 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.
1659 1660 1661 1662 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1659 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.
1725 1726 1727 1728 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1725 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).
1776 1777 1778 1779 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1776 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.
1813 1814 1815 1816 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1813 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).
1941 1942 1943 1944 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1941 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.
2010 2011 2012 2013 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2010 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.
2064 2065 2066 2067 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2064 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).
2092 2093 2094 2095 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2092 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).
2206 2207 2208 2209 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2206 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).
2262 2263 2264 2265 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2262 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..
2309 2310 2311 2312 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2309 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.
2356 2357 2358 2359 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2356 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.
2403 2404 2405 2406 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2403 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.
2451 2452 2453 2454 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2451 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.
2498 2499 2500 2501 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2498 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).
2555 2556 2557 2558 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2555 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.
2596 2597 2598 2599 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2596 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.
2637 2638 2639 2640 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2637 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.
2956 2957 2958 2959 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2956 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.
3081 3082 3083 3084 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 3081 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.
3224 3225 3226 3227 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 3224 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.
3344 3345 3346 3347 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 3344 def start_ml_model_transform_job(params = {}, = {}) req = build_request(:start_ml_model_transform_job, params) req.send_request() end |