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.
467 468 469 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 467 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.
507 508 509 510 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 507 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..
546 547 548 549 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 546 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.
596 597 598 599 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 596 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.
646 647 648 649 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 646 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.
696 697 698 699 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 696 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.
742 743 744 745 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 742 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.
836 837 838 839 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 836 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.
886 887 888 889 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 886 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.
919 920 921 922 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 919 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.
952 953 954 955 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 952 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.
1010 1011 1012 1013 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1010 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).
1075 1076 1077 1078 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1075 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).
1149 1150 1151 1152 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1149 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).
1231 1232 1233 1234 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1231 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).
1286 1287 1288 1289 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1286 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).
1360 1361 1362 1363 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1360 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.
1414 1415 1416 1417 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1414 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).
1464 1465 1466 1467 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1464 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..
1531 1532 1533 1534 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1531 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.
1586 1587 1588 1589 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1586 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.
1643 1644 1645 1646 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1643 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.
1716 1717 1718 1719 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1716 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.
1782 1783 1784 1785 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1782 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).
1833 1834 1835 1836 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1833 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.
1870 1871 1872 1873 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1870 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).
1998 1999 2000 2001 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 1998 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.
2067 2068 2069 2070 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2067 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.
2121 2122 2123 2124 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2121 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).
2149 2150 2151 2152 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2149 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).
2263 2264 2265 2266 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2263 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).
2319 2320 2321 2322 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2319 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..
2366 2367 2368 2369 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2366 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.
2413 2414 2415 2416 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2413 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.
2460 2461 2462 2463 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2460 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.
2508 2509 2510 2511 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2508 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.
2555 2556 2557 2558 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2555 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).
2612 2613 2614 2615 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2612 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.
2653 2654 2655 2656 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2653 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.
2694 2695 2696 2697 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 2694 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.
3013 3014 3015 3016 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 3013 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.
3138 3139 3140 3141 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 3138 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.
3281 3282 3283 3284 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 3281 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.
3401 3402 3403 3404 |
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb', line 3401 def start_ml_model_transform_job(params = {}, = {}) req = build_request(:start_ml_model_transform_job, params) req.send_request() end |