Learn R Programming

paws.database (version 0.7.0)

neptunedata: Amazon NeptuneData

Description

Neptune Data API

The Amazon Neptune data API provides SDK support for more than 40 of Neptune's data operations, including data loading, query execution, data inquiry, and machine learning. It supports the Gremlin and openCypher query languages, and is available in all SDK languages. It automatically signs API requests and greatly simplifies integrating Neptune into your applications.

Usage

neptunedata(
  config = list(),
  credentials = list(),
  endpoint = NULL,
  region = NULL
)

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

  • credentials:

    • creds:

      • access_key_id: AWS access key ID

      • secret_access_key: AWS secret access key

      • session_token: AWS temporary session token

    • profile: The name of a profile to use. If not given, then the default profile is used.

    • anonymous: Set anonymous credentials.

  • endpoint: The complete URL to use for the constructed client.

  • region: The AWS Region used in instantiating the client.

  • close_connection: Immediately close all HTTP connections.

  • timeout: The time in seconds till a timeout exception is thrown when attempting to make a connection. The default is 60 seconds.

  • s3_force_path_style: Set this to true to force the request to use path-style addressing, i.e. http://s3.amazonaws.com/BUCKET/KEY.

  • sts_regional_endpoint: Set sts regional endpoint resolver to regional or legacy https://docs.aws.amazon.com/sdkref/latest/guide/feature-sts-regionalized-endpoints.html

credentials

Optional credentials shorthand for the config parameter

  • creds:

    • access_key_id: AWS access key ID

    • secret_access_key: AWS secret access key

    • session_token: AWS temporary session token

  • profile: The name of a profile to use. If not given, then the default profile is used.

  • anonymous: Set anonymous credentials.

endpoint

Optional shorthand for complete URL to use for the constructed client.

region

Optional shorthand for AWS Region used in instantiating the client.

Service syntax

svc <- neptunedata(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string",
      anonymous = "logical"
    ),
    endpoint = "string",
    region = "string",
    close_connection = "logical",
    timeout = "numeric",
    s3_force_path_style = "logical",
    sts_regional_endpoint = "string"
  ),
  credentials = list(
    creds = list(
      access_key_id = "string",
      secret_access_key = "string",
      session_token = "string"
    ),
    profile = "string",
    anonymous = "logical"
  ),
  endpoint = "string",
  region = "string"
)

Operations

cancel_gremlin_queryCancels a Gremlin query
cancel_loader_jobCancels a specified load job
cancel_ml_data_processing_jobCancels a Neptune ML data processing job
cancel_ml_model_training_jobCancels a Neptune ML model training job
cancel_ml_model_transform_jobCancels a specified model transform job
cancel_open_cypher_queryCancels a specified openCypher query
create_ml_endpointCreates a new Neptune ML inference endpoint that lets you query one specific model that the model-training process constructed
delete_ml_endpointCancels the creation of a Neptune ML inference endpoint
delete_propertygraph_statisticsDeletes statistics for Gremlin and openCypher (property graph) data
delete_sparql_statisticsDeletes SPARQL statistics
execute_fast_resetThe fast reset REST API lets you reset a Neptune graph quicky and easily, removing all of its data
execute_gremlin_explain_queryExecutes a Gremlin Explain query
execute_gremlin_profile_queryExecutes a Gremlin Profile query, which runs a specified traversal, collects various metrics about the run, and produces a profile report as output
execute_gremlin_queryThis commands executes a Gremlin query
execute_open_cypher_explain_queryExecutes an openCypher explain request
execute_open_cypher_queryExecutes an openCypher query
get_engine_statusRetrieves the status of the graph database on the host
get_gremlin_query_statusGets the status of a specified Gremlin query
get_loader_job_statusGets status information about a specified load job
get_ml_data_processing_jobRetrieves information about a specified data processing job
get_ml_endpointRetrieves details about an inference endpoint
get_ml_model_training_jobRetrieves information about a Neptune ML model training job
get_ml_model_transform_jobGets information about a specified model transform job
get_open_cypher_query_statusRetrieves the status of a specified openCypher query
get_propertygraph_statisticsGets property graph statistics (Gremlin and openCypher)
get_propertygraph_streamGets a stream for a property graph
get_propertygraph_summaryGets a graph summary for a property graph
get_rdf_graph_summaryGets a graph summary for an RDF graph
get_sparql_statisticsGets RDF statistics (SPARQL)
get_sparql_streamGets a stream for an RDF graph
list_gremlin_queriesLists active Gremlin queries
list_loader_jobsRetrieves a list of the loadIds for all active loader jobs
list_ml_data_processing_jobsReturns a list of Neptune ML data processing jobs
list_ml_endpointsLists existing inference endpoints
list_ml_model_training_jobsLists Neptune ML model-training jobs
list_ml_model_transform_jobsReturns a list of model transform job IDs
list_open_cypher_queriesLists active openCypher queries
manage_propertygraph_statisticsManages the generation and use of property graph statistics
manage_sparql_statisticsManages the generation and use of RDF graph statistics
start_loader_jobStarts a Neptune bulk loader job to load data from an Amazon S3 bucket into a Neptune DB instance
start_ml_data_processing_jobCreates a new Neptune ML data processing job for processing the graph data exported from Neptune for training
start_ml_model_training_jobCreates a new Neptune ML model training job
start_ml_model_transform_jobCreates a new model transform job

Examples

Run this code
if (FALSE) {
svc <- neptunedata()
svc$cancel_gremlin_query(
  Foo = 123
)
}

Run the code above in your browser using DataLab